feat: planner scope management CLI commands#11
Open
alexzoo wants to merge 1 commit intoOzeroHAX:mainfrom
Open
Conversation
- Add CLI subcommands: planner-scope list|add|remove|reset - Add anchors in planner.md for in-place permission updates - Validate patterns: block absolute paths, .., and wide patterns - Add slash-command /planner-scope for build/dev agent - Update write_scope rule to reference configurable patterns - Add unit and integration tests (41 tests)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
assistagents planner-scope list|add|remove|reset.mdedit permissions without reinstallplanner.mdfor in-place permission updates/planner-scopefor build/dev agentChanges
New files
src/planner-scope.ts— core logic for scope managementtemplates/commands/planner-scope.md— slash-command templateModified files
src/cli.ts— CLI routing for planner-scope subcommandstemplates/agents/build/planner.md— anchors for managed permissionsTests
tests/planner-scope.test.ts— unit tests (14 tests)tests/planner-scope-cli.test.ts— integration tests (11 tests)tests/agent-placeholders.test.ts— anchor verification (1 test)Validation rules
docs/**.md**/*.md/tmp/x.md../x.mdTest plan
Documentation
ai-docs/dev-plans/2026-02-26-planner-scope-management.mdai-docs/reports/test-reports/2026-02-26-planner-scope-management.mdai-docs/reports/2026-02-26-planner-scope-code-review.md