@reference/retrieval-contract.md @reference/cycle-handoff-preamble.md
{{command_prefix}}timeline
Generates a narrative retrospective across one or more completed cycles by reading .design/archive/cycle-N/EXPERIENCE.md files and correlating with git log.
Steps
-
Parse argument: accepted forms:
cycle-NorN- single cycleN-M- inclusive rangeallor no argument - all archived cycles
-
Discover archives: glob
.design/archive/cycle-*/EXPERIENCE.md. Sort by cycle number. Filter to requested range. -
For each cycle archive: a. Read
EXPERIENCE.md- extract sections: Goal, Decisions made, Learnings graduated, What died, Handoff to next cycle. b. ReadDESIGN-SUMMARY.md(if present) for shipped artifacts list. c. Run:bashgit log --oneline --after="<cycle start date>" --before="<cycle end date>" -- .design/ 2>/dev/null | head -10to correlate with commits. Use dates from
EXPERIENCE.mdOpened/Ended headers if present. -
Print timeline in this shape:
## Timeline: Cycle 1 → Cycle 3 --- ### Cycle 1 — <goal headline> **Opened with**: <first meaningful action> **Key decisions**: <D-XX summary>, <D-XX summary> **Surprises**: <what was unexpected> **What we'd do differently**: <retrospective note> **Shipped**: <artifact list or "see DESIGN-SUMMARY.md"> --- ### Cycle 2 — <goal headline> ... -
No archives found: print
No archived cycles found in .design/archive/. Complete a cycle first with {{command_prefix}}complete-cycle.
Do Not
- Do not modify any file.
- Do not run git commands that write or stage (only
git logfor read).


