Static copy
Copied from docs/en/governance/m8-exit-gate.md in https://github.com/poppy-team/prumo (MIT). Pinned to revision e91694d3959be1ed92757b34063efe0b2191821f, blob e77e173dd8f841937559f075ce3731489b2533b5. The source repository remains canonical; this copy is refreshed through a sync pull request, not live.
Status: COMPLETE (M8 Exit Gate Passed)
Milestone M8 exit gate (per docs/development/phases.md): Any code change is traceable to a decision and goal; the implementation journal is queryable; experiments, rejections, and technical debt are tracked; the typed traceability graph links requirements, decisions, goals, code, tests, documentation, and evidence.
internal/traceability/graph.go: req, dec, goal, code, test, doc, evidence, experiment, rejection, debt.satisfies, derives_from, implements, verifies, documents, evidenced_by, rejects, incurs_debt.TracePath) resolves full upstream lineages (decisions, requirements) and downstream lineages (tests, evidence, documentation).schemas/trace-graph.schema.json.internal/traceability/journal.go: schemas/journal-entry.schema.json.internal/traceability/registers.go: low, medium, high, critical), impacted contracts, and concrete remediation plans.prumo-agent trace and prumo-agent journal) cmd/prumo/trace_commands.go: prumo-agent trace <ref>: Traces any goal, decision, code file, or requirement, returning structured upstream/downstream lineages in human terminal format or JSON envelope.prumo-agent journal [--goal <goal>] [--decision <decision>] [--file <file>]: Queries implementation history.cmd/prumo/trace_commands_test.go.go test -race ./... — 100% pass across all packages.go vet ./... — clean.gofmt -l . — clean.python -m pytest -q — 136 pass (Python oracle preserved).internal/traceability): all tests passing (100%).cmd/prumo): all tests passing (100%).Milestone M8 (History + Traceability) is COMPLETE. All criteria and exit gate invariants are satisfied.