-
Notifications
You must be signed in to change notification settings - Fork 9
Introduce plan manager to bootstrap files #78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
YevheniiaLementova
wants to merge
22
commits into
v3
Choose a base branch
from
CTORNDGAIN-1318-Integrate-plan_manager-from-bootstrap-and-MCP-instructions-v3
base: v3
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
e17a3de
Introduce plan manager to bootstrap files
YevheniiaLementova 0ea51a4
Modify bootstrup files in instructions folder
YevheniiaLementova 2d8f340
Improve steps in plan manager, refactor load-context skill
YevheniiaLementova 996e621
Refactor bootstrap rules to strengthen prep enforcement, merge workfl…
YevheniiaLementova d1bc32a
Add command initialization; add fallback instruction; join steps into…
YevheniiaLementova 8e08b0d
Intermediate fixes
isolomatov-gd 52735b5
Minor fixes
isolomatov-gd d9c5105
Changes ready for testing
isolomatov-gd 15917d1
Update gitignore
isolomatov-gd fd541ec
Compress common instructions.
isolomatov-gd 419ea47
Reduce size of the prompt
isolomatov-gd 60512b0
Reduce logging in pre_commit
isolomatov-gd ab50d04
Fix coding-flow phase numbering
isolomatov-gd c562e59
fix: add additional instructions to force an agent to use commands fr…
YevheniiaLementova 2bb8385
Fix: update CLAUDE.md according to the latest bootstrap.md
YevheniiaLementova ebcaf5c
fix (local-files-mode.md): Bump bootstrap path reference r2 -> r3
YevheniiaLementova acd0e5c
fix(plan manager SKILL): make the description consistent across versi…
YevheniiaLementova 677eb98
fix(r2 plan manager SKILL): the number of subcommand
YevheniiaLementova f29241e
fix (plugin-files-mode): replace numbered steps with ph-prep phase re…
YevheniiaLementova fff09ee
fix: make adhoc-flow consistent accorss versions (r2 and r3)
YevheniiaLementova cf2bc3d
Fix (SKILL orchestrator-contract): resolve merge conflicts
YevheniiaLementova d9a0e33
Merge branch 'v3' into CTORNDGAIN-1318-Integrate-plan_manager-from-bo…
YevheniiaLementova File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| --- | ||
| name: plan-manager | ||
| description: "Rosetta skill for plan creation, tracking, and execution coordination via local JSON files." | ||
| description: "Rosetta skill for reliable execution: plan creation, tracking, and execution coordination via local JSON files." | ||
| dependencies: node.js | ||
| disable-model-invocation: false | ||
| user-invocable: true | ||
|
|
@@ -24,17 +24,17 @@ Senior execution planner and tracker for plan-driven workflows. | |
|
|
||
| <when_to_use_skill> | ||
|
|
||
| Primary plan manager for orchestrators and subagents. Creates, tracks, and executes plans as local JSON files. | ||
| Primary operation manager for orchestrators and subagents. Creates, tracks, and executes plans as local JSON files. | ||
|
|
||
| </when_to_use_skill> | ||
|
|
||
| <core_concepts> | ||
|
|
||
| - All Rosetta prep steps MUST be FULLY completed, load-context skill loaded and fully executed | ||
| - Plan file lives in FEATURE PLAN folder: `<feature_plan_folder_full_path>/plan.json` | ||
| - CLI: `npx rosettify plan <subcommand> <plan_file> [args...]` | ||
| - CLI: `npx rosettify@latest plan <subcommand> <plan_file> [args...]` | ||
| - Always use full absolute paths for the plan file | ||
| - Seven subcommands: `help`, `create`, `next`, `update_status`, `show_status`, `query`, `upsert` | ||
| - Six subcommands for `plan` command: `create`, `next`, `update_status`, `show_status`, `query`, `upsert` | ||
| - Resume behavior: `next` returns four groups: (1) in_progress steps (resume=true), (2) open eligible steps, (3) blocked steps (previously_blocked=true), (4) failed steps (previously_failed=true) | ||
| - Phases are sequential: steps from a later phase do not appear until all steps in earlier phases are complete | ||
| - Status propagation: bottom-up only (steps -> phases -> plan); plan root status is always derived, never set directly | ||
|
|
@@ -48,24 +48,24 @@ Primary plan manager for orchestrators and subagents. Creates, tracks, and execu | |
|
|
||
| **Orchestrator flow:** | ||
|
|
||
| 1. Create plan: `npx rosettify plan create <plan_file> '<json>'` -- see pm-schema.md for JSON structure | ||
| 2. Upsert phases and steps: `npx rosettify plan upsert <plan_file> entire_plan [kind] '<json>'` | ||
| 1. Create plan: `npx rosettify@latest plan create <plan_file> '<json>'` -- see pm-schema.md for JSON structure | ||
| 2. Upsert phases and steps: `npx rosettify@latest plan upsert <plan_file> entire_plan [kind] '<json>'` | ||
| 3. Delegate steps to subagents -- pass plan file path and step IDs | ||
| 4. Loop: call `next` until `plan_status: complete` and `count: 0` | ||
|
|
||
| **Subagent flow:** | ||
|
|
||
| 1. Get next steps: `npx rosettify plan next <plan_file> [limit]` | ||
| 1. Get next steps: `npx rosettify@latest plan next <plan_file> [limit]` | ||
| 2. Check `resume` flag -- if `true`, continue interrupted work; if `false`, start fresh | ||
| 3. Execute step | ||
| 4. Update: `npx rosettify plan update_status <plan_file> <step-id> complete` | ||
| 4. Update: `npx rosettify@latest plan update_status <plan_file> <step-id> complete` | ||
| 5. Repeat from step 1 | ||
|
|
||
| </process> | ||
|
|
||
| <validation_checklist> | ||
|
|
||
| - `npx rosettify plan help` exits without error and returns structured help JSON | ||
| - `npx rosettify@latest plan help` exits without error and returns structured help JSON | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| - `show_status` output: plan root status is derived (never manually set) | ||
| - `next` output: in_progress steps appear before open steps; blocked and failed steps are included with flags | ||
| - `show_status` phase status matches aggregate of its steps after `update_status` | ||
|
|
||
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.