Lukasz Boryn 7ec15a4e9d feat(loop): merge plan-project and update-project into architect
- 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
2026-07-19 23:16:49 +02:00

42 lines
1.9 KiB
Markdown

# architect — revision loop
For a roadmap that exists and reality that moved. Formerly
`update-project`.
## Process
1. **Read first.** `OKF/ROADMAP.md` and `OKF/CONTEXT.md` in full. Diff
reality against them: repo state, test results, session learnings.
2. **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.
3. **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.md` if project-wide): what was believed, what is
true, source.
- Decision overturned → strike nothing silently. Mark the old one
`~~…~~ superseded by N` and 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](../implement/SKILL.md) hand-back) →
tick the phase item citing the spec number.
4. **Sync vocabulary.** New or shifted terms → one inline
`OKF/CONTEXT.md` edit each. Roadmap and glossary keep matching
exactly.
5. **Re-check prior art only when asked**, or when a delta names a new
competing tool — then refresh the gap table with sources.
6. **Show the diff.** Summarize what changed and why; structure must
still match the skeleton in [SKILL.md](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.