forked from bai/curriculum-project-hub
3f9b60f692
The spec/ Lean semantic master had no conformance gate, no codegen, and no CI tie to implementations — alignment was carried entirely by human review, the same mechanism that carries the ADRs. In practice the ADRs plus greppable code comments were already the load-bearing artifacts, so spec/ was the most expensive kind of stale documentation. - delete spec/ and the spec-check CI workflow - README: constitution rewritten around ADRs as decision truth - AGENTS.md/CLAUDE.md: discipline re-anchored (new decisions -> new ADR, never rewrite ADR history; supersede instead) - code comments: re-anchor 'Mirrors Spec.X' invariants to ADR numbers (cph-diag, cph-check, cph-model, hub runner/capacity/org, prisma) - leave ADR bodies and .scratch audit snapshots untouched (history); fix live references in open readiness tickets
17 lines
699 B
Markdown
17 lines
699 B
Markdown
# Reconcile the audit and run-history contract
|
|
|
|
Type: grilling
|
|
Status: open
|
|
Blocked by: 04
|
|
|
|
## Question
|
|
|
|
Separate or unify run-bound audit entries, pre-run security/permission events,
|
|
structured messages, and operational recovery events without weakening
|
|
the pinned AuditEntry-to-run relation. Decide durability,
|
|
failure, retention, and query semantics; then enforce referential integrity and
|
|
observable/recoverable writes instead of silently swallowing lost evidence.
|
|
Do not merge these customer Project/Run records with ADR-0023's already-decided
|
|
separate, append-only, fail-closed Platform Audit; decide only any shared
|
|
retention/export infrastructure without weakening either semantic boundary.
|