Boden Fuller
|
fefd1dd65e
|
feat(loop): record XP/BDD/TDD trace in evolve cycles
Evolve cycle history/report now carries the Olympus continuous-evolution
kernel as a structured `trace` object so a reviewer can reconstruct a
cycle without the transcript: goal hypothesis -> selected gap -> Gherkin
scenario (or explicit exemption) -> first failing proof -> red/green
evidence -> refactor note -> validation evidence -> ratchet action ->
goal reshape decision.
- ports: CycleTrace struct + CycleEntry.Trace (json:"trace,omitempty");
TraceCompleteness pure helper reports exemption / missing fields.
- adapters: rawCycleRecord + loopWriterRecord round-trip the trace;
trace-less entries stay byte-identical.
- ao loop append --trace-json <path|inline>; ao loop history emits it.
- evolve-log-cycle.sh --trace-json <path|json|-> validates the object
and records it; malformed/non-object payloads rejected.
- Trivial one-shot cycles record trace.exemption_reason instead of
false BDD/TDD ceremony. Completeness is advisory, never a gate.
- docs: skills/evolve + skills-codex/evolve cycle-history.md + Step 6.
Tests: TraceCompleteness table tests, adapter round-trip, loadCycleTrace,
bats trace + exemption + malformed. go test ./... green; bats 10/10.
Closes soc-y5vh.9
|
2026-05-16 10:25:08 -04:00 |
|