Repository navigation
Description
Parent
#945 — PR-sized roadmap.
Horizon A acceptance node. Depends on containment #946/#893/#947, revision authority #948–#951, TaskLedger #952–#957 plus #961, and shadow outcome #958–#960.
Purpose
Horizon A has several pure contracts and shadow adapters. They can all pass focused tests while the complete packet still has two revision identities, an unexplained process, a receipt not represented in the ledger, a projection that disagrees with the ledger, or a finalized outcome that cannot be recomputed.
This issue is the bounded integration proof that the repository has one coherent account of one current run before #860/#861 begin merging and controlling work.
Product invariant
one immutable reviewed revision
→ every proposed/executed task represented in one append-only TaskLedger
→ every terminal execution has one explicit disposition and receipt/failure
→ all compatibility projections reconcile or report a typed disagreement
→ delivery is prepared/confirmed/failed honestly
→ FinalizedOutcome is independently recomputable
No scheduler or selection optimization is required here.
Scope
- Build one frozen end-to-end model-off current-format packet exercising:
- candidate-head and merge-result identity semantics;
- fast and late sensors;
- configured proof;
- impact/focused proof;
- one unsupported/refused task;
- one timeout or setup failure;
- resource release on all admitted terminal paths;
- prepared and confirmed/not-needed delivery states;
- shadow FinalizedOutcome.
- Replay and verify the packet entirely offline.
- Compare all compatibility projections against TaskLedger and the finalized outcome.
- Run the fixtures(authority): preserve the #915 #916 and #921 production contradictions as a minimal replay corpus #961 incident corpus through the verifier and prove each historical contradiction is detected rather than normalized away.
- Record one
authority_integration_receipt.json(name may vary) listing source digests, verifier result, expected incident violations, and current coherent packet result. - Keep all new authority shadow-only; legacy scheduling and gate enforcement remain unchanged.
Acceptance
- Every process execution in the coherent packet has exactly one TaskLedger lifecycle.
- Every terminal receipt/failure maps to exactly one task and immutable revision.
- Every admitted terminal path releases resources.
- Queue, portfolio, lease, sensor/proof/worker counts, required-consumer state, delivery, and outcome reconcile with the ledger.
- Replaying the same packet produces identical authoritative snapshots/outcome.
- A forged revision, missing task, orphan receipt, duplicate terminal, missing release, false confirmed delivery, and false PASS each fail independently with stable reason tokens.
- Historical fix(unsafe-review): ingest typed comment-plan envelope #915/fix(proof): publish the broker candidate catalog in the portfolio artifact #916/fix(policy): fail closed on a malformed ripr suppression ledger #921 contradictions remain detected through fixtures(authority): preserve the #915 #916 and #921 production contradictions as a minimal replay corpus #961.
- Model-off produces a complete coherent packet and outcome.
- No live scheduling, deduplication, Required selection, branch protection, or gate enforcement changes occur.
Proof
- Current-format coherent packet golden and replay.
- One mutation per authority invariant with exact expected failure.
- fixtures(authority): preserve the #915 #916 and #921 production contradictions as a minimal replay corpus #961 incident-corpus verifier suite.
- Shadow Action smoke proving artifacts upload on a real exact head.
- Workspace/fmt/Clippy/policy/verifier/diff hygiene.
Non-goals
- No canonical cross-source execution merge (scheduler: give executable work one canonical identity and explicit subsumption rules #860).
- No live scheduler (scheduler: enforce one live resource authority across baseline, sensors, and proof #861).
- No Required-first portfolio (proof: compile one required-first evidence portfolio with explicit required detective and advisory semantics #928).
- No reviewer-with-a-lab T1–T8 proof (integration: prove an LLM-requested test runs during primary analysis and changes the final review #869).
- No claim that the candidate self-gate is independently trusted.
Completion
Horizon A may close only when this integration receipt is retained and #945 can answer, from one artifact chain:
what exact revision was reviewed?
what work existed?
what actually ran?
why did every task terminate?
what was delivered?
what would the truthful terminal result be?
Rollback
Keep the coherent packet and negative corpus even if shadow production adapters are temporarily disabled. Do not begin live scheduler migration without equivalent integration proof.
Activity