- feat(architect): mode router — greenfield vs revision by OKF/ROADMAP.md state - refactor(architect): plan-project body becomes greenfield.md, update-project becomes revise.md - refactor(architect): roadmap and glossary paths retargeted to OKF/ - chore(skills): delete plan-project and update-project
1.9 KiB
1.9 KiB
architect — revision loop
For a roadmap that exists and reality that moved. Formerly
update-project.
Process
- Read first.
OKF/ROADMAP.mdandOKF/CONTEXT.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. Ambiguous delta → grill, one question at a time.
- Apply, smallest edit per delta:
- Phase done → mark
✅ verified <how>on its verify line — never without naming the observable check that passed. - 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 (and mirror to
OKF/LEARNINGS.mdif project-wide): 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.
- Spec implemented (implement hand-back) → tick the phase item citing the spec number.
- Phase done → mark
- Sync vocabulary. New or shifted terms → one inline
OKF/CONTEXT.mdedit each. Roadmap and glossary 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 and why; structure must still match the skeleton in SKILL.md — sections stable, contents evolve.
Done
- Every applied delta traces to a stated fact (verify result, user answer, or source); superseded decisions visible; user saw a summary of every section touched.