3.5 KiB
3.5 KiB
name, description
| name | description |
|---|---|
| update-project | Revise an existing docs/Roadmap.md as the project teaches you things — mark phases verified, append learnings to risks/gotchas, supersede (never silently rewrite) locked decisions that new facts touched, and keep CONTEXT.md vocabulary in sync. Use when the user says "update project", "/update-project", "update the roadmap", "mark phase done", "we learned something — revise the plan", or a verify step / post-mortem produced facts the roadmap doesn't reflect yet. |
update-project
When to use
- User says "update project", "/update-project", "update the roadmap", "mark phase done", "we learned something — revise the plan".
- A phase's verify step just passed (or failed in an instructive way).
- A
/diagnosepost-mortem, dependency surprise, or prior-art change invalidates something the roadmap states. - Skip when no
docs/Roadmap.mdexists — useplan-projectto create one.
Process
- Read first.
docs/Roadmap.mdandCONTEXT.mdin full. Diff reality against them: repo state, test results, session learnings. - Collect the deltas. From the user and the session: phases verified or failed, decisions contradicted by new facts, fresh gotchas, scope changes. If a delta is ambiguous, grill — one question at a time, grill-with-docs style.
- Apply, smallest edit per delta:
- Phase done → mark
✅ verified <how>on its verify line. - Verify failed → record what failed under the phase; do not delete the phase. Re-plan it only if the user agrees.
- New gotcha/learning → append to Risks & gotchas. Keep the debunked-claim style: what was believed, what is true, source.
- Decision overturned → strike nothing silently. Mark the old one
~~…~~ superseded by Nand add the new decision with rationale. Decisions are append-only history, not a wiki page. - Scope change → move items between Phases and Out of scope explicitly, never delete.
- Phase done → mark
- Sync vocabulary. New or shifted terms → one inline
CONTEXT.mdedit each, pergrill-with-docs. Roadmap and glossary must keep matching exactly. - Re-check prior art only when asked or when a delta names a new competing tool — then refresh the gap table with sources.
- Show the diff. Summarize what changed in the roadmap and why;
the structure must still match the skeleton in
plan-project— sections are stable, contents evolve.
Output / done criteria
docs/Roadmap.mdreflects current reality; every applied delta traces to a stated fact (verify result, user answer, or source).- Superseded decisions remain visible with their replacement noted.
CONTEXT.mdand roadmap vocabulary still match exactly.- User saw a summary of every section touched.
Guardrails
- Never create
docs/Roadmap.mdhere — that is plan-project's job. - Never delete a phase, decision, or out-of-scope entry; supersede or move, keeping history readable.
- Never mark a phase verified without naming the observable check that passed.
- Never rewrite sections wholesale — smallest edit per delta.
See also
- plan-project — creates the roadmap and owns the section skeleton.
- grill-with-docs — vocabulary sync protocol.
- handoff — session wrap-up; an update-project pass right before a handoff keeps the roadmap honest.