fix(opencode): require relative paths in subagents #256
No reviewers
Labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Slipstream/auto_review!256
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/issue-249-subagent-relative-paths"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why:
What:
.opencode/rules/*.mdfile..opencode/rules/path-policy.mdwith the project-local relative path guidance all agents read.Validation:
The PR addresses issue #249 by enforcing the use of project-local relative paths in subagent prompts to avoid permission issues. It includes updates to multiple subagent prompt files and adds a test to ensure compliance. The changes appear safe to merge.
Walkthrough
auto-review-subagent-paths.test.tschecks that all subagent prompts include the required policy on relative paths, ensuring future compliance.New commits pushed, approval review dismissed automatically according to repository settings
The PR centralizes the path policy for subagents into a single shared rule file, removing duplicated instructions from individual subagent prompts. This change should improve maintainability and consistency across subagents.
Walkthrough
Δ since
244f325:.opencode/rules/path-policy.mdto house the path policy.