Skip to content

integration(authority): prove one coherent packet before any live scheduler migration #962

Open

Description

@EffortlessSteven

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

Proof

Non-goals

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

  1. added
    epic
    on Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    epic

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions