Phase 2: validate paired historical controls and distinguishing witnesses #667
No reviewers
Labels
No labels
bug
cli
core
docs
event
experiment
figure
invariant
metrics
oracle
phase-0
phase-1
phase-2
phase-3
phase-4
phase-5
phase-6
provenance
revocation
tests
workload
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
erikinkinen/AES!667
Loading…
Reference in a new issue
No description provided.
Delete branch "phase2/p2-11-c-paired-controls"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Task
Closes #105
Summary
Implement label-invariant paired-history fingerprints, one-leaf two-root
distinguishing witnesses and zero-leaf identical controls for lineage-swap and
deleted-bridge workloads. Retain duplicate histories and complete paired/clone
execution evidence.
Scope
Included
Explicitly excluded
or novelty claims. Witness minimality is restricted to the stated construction.
Design intent
Remove labels, seed and variate receipts while preserving roles, rights, timing,
query operands and incidence. Full canonical-byte equality establishes control
identity; hashes are indexes. Native replay owns exact cost validation. The
finite Python interpreter independently checks witness semantics and tampering.
Phase discipline
P2-11-C completes the paired-control implementation under frozen protocol 2.2.
The diagnostic and recovery campaigns remain later gated work.
Verification
Source
da06ebb905947c7ef583baeb0208d128c3e7cffcpasses all 491 tests in Release, Debug-O1and Clang ASan/UBSan with no failures or skips. All three profiles produce the
same 151 witness files; independent reference checks include 24 semantic
negative cases, alongside four native negative cases. All eight hooks and the
frozen-scope check pass.
Original source evidence has SHA-256
c35e9e89e3e7554948c0172cc7443db3dfed72574d7f5ef48de972567c72c1e3.All 496 tests pass on integration source
13e970e271747e881dda2d463e043b8d3957b3fc. Current integrationda203fb5247790ae808be6d64610a645beb5b80bchanges onlyfour predecessor receipt JSON files, preserving all implementation, build and
fixture bytes. The inventory is the exact union of 491 original and 297
predecessor tests, with 292 common names.
Integration evidence has SHA-256
3bd29781fd005371bb2f170320225755fed1fbae5e0399bc1d1a3046c3235db6. Both final remote smoke/sanitizer suites andthe other six contexts are mandatory on this PR's final head.
Notes
This PR is queued behind PR #665 at
a0e85a1bc51f22ae57d8bfed04c45dc1aa242a36to overlap CI.Until it merges, the comparison with main includes the pending predecessor
stack. Require that predecessor's accepted exact-head CI and closed issue #148,
then all ten own exact-head contexts. Only afterward check #105 once and perform
the guarded signed fast-forward merge. Native prerequisites #103/#104 are closed.
CI capacity integration supplement
Current final consumer head:
623f8d8727500e6bb6ea44d9f70850636887e8e4. It integrates the signedCI fix
946b4c930bfc682892903786fd06c6c97636f351from #671. The original source-profile and initialintegration archives above remain immutable historical evidence. Relative to
ab30f63657c19db3613e74c89d104f2c511fd0a6, only the CI workflow, sanitizer documentation andtwo CI failure-evidence JSON files changed; the paired-control implementation,
fixtures and complete 496-test inventory are byte-identical.
The pinned Clang 19 Debug
-g -O1ASan/UBSan container passed all 496 testswithout failures or skips. All 132 compilation commands retain assertions and
instrumentation. Complete CI capacity evidence, SHA-256
2a24aa55e60b193c315a3ebe1c39fc34717cadbf4f67f2a1b5041be6962d93e1. Earlier aggregate-deadline attempts remain failures.This is correctness/CI qualification and supplies no scientific timing result.
Native prerequisite #670 must close, and all ten checks on this exact consumer
head must pass, before the single #105 checklist update and merge.
b25aa19d15' into phase2/p2-14-d-survival 496ecb397d496ecb397d' into phase2/p2-21-a-sel4-environment 4cfa5c84bc