Phase 2: serialize primary and diagnostic decision ledgers #672
Open
erikinkinen
wants to merge 19 commits from
phase2/p2-14-e-decision-ledgers into main
pull from: phase2/p2-14-e-decision-ledgers
merge into: erikinkinen:main
erikinkinen:main
erikinkinen:phase2/p2-11-workload-acceptance
erikinkinen:fix/protocol-2.2-closed-enums
erikinkinen:phase2/p2-12-b-run-manifests
erikinkinen:phase2/p2-11-c-paired-controls
erikinkinen:fix/670-sanitizer-suite-budget
erikinkinen:phase2/p2-21-a-sel4-environment
erikinkinen:phase2/p2-14-d-survival
erikinkinen:phase2/p2-14-c-descriptive-statistics
erikinkinen:phase2/p2-14-b-cluster-resampling
erikinkinen:phase2/p2-12-a-protocol-dispatch
erikinkinen:phase2/p2-18-a-lean-types
erikinkinen:phase2/p2-11-b-deleted-bridge
erikinkinen:phase2/bug-661-optimized-debug-smoke
erikinkinen:phase2/p2-11-a-lineage-swap
erikinkinen:phase2/bug-655-ci-suite-budget
erikinkinen:phase2/bug-653-sanitizer-profile
erikinkinen:phase2/p2-14-a-analysis-environment
erikinkinen:phase2/p2-09-immutable-intent-tapes
erikinkinen:phase2/bug-649-sanitizer-job-budget
erikinkinen:phase2/bug-646-strict-schema-terminators
erikinkinen:phase2/p2-08-replay-acceptance
erikinkinen:phase2/p2-08-c-preserved-tamper-corpus
erikinkinen:phase2/p2-08-b-state-hash-resume
erikinkinen:phase2/bug-641-moved-oracle-fixture-indexes
erikinkinen:phase2/p2-08-a-operation-replay
erikinkinen:phase2/bug-638-moved-holder-oracle
erikinkinen:phase2/p2-07-event-codec-acceptance
erikinkinen:phase2/p2-07-b-v4-codec
erikinkinen:phase2/bug-635-formatter-version
erikinkinen:phase2/bug-632-jsonl-numeric-grammar
erikinkinen:phase2/p2-07-a-research-event-types
erikinkinen:phase2/bug-629-engine-overflow-guards
erikinkinen:phase2/p2-10-static-projection
erikinkinen:phase2/p2-06-instrumentation-acceptance
erikinkinen:phase2/p2-06-c-counter-conservation
erikinkinen:phase2/p2-06-b-access-delegation-counters
erikinkinen:phase2/p2-06-a-resolver-mutation-counters
erikinkinen:phase2/bug-621-atomic-revocation
erikinkinen:phase2/p2-05-operation-counters
erikinkinen:phase2/p2-04-usable-authority
erikinkinen:phase2/p2-03-external-policy
erikinkinen:phase2/bug-617-current-sanitizer-runtime
erikinkinen:phase2/bug-614-sanitizer-consumers
erikinkinen:phase2/p2-02-preserve-legacy
erikinkinen:phase2/bug-612-relative-figure-paths
erikinkinen:phase2/bug-610-rights-header
erikinkinen:phase2/bug-608-workload-family-regeneration
erikinkinen:phase2/p2-01-freeze-protocol
erikinkinen:phase2/bug-605-local-hooks
erikinkinen:1-experiment-hygiene-and-threats-to-validity-checks-39
erikinkinen:1-detect-and-surface-overlapping-identical-strategy-curves-80
erikinkinen:1-strategy-differentiating-revocation-artifacts-and-figure-pipeline
erikinkinen:1-plot-and-figure-generation-pipeline
erikinkinen:1-batch-runner-for-phase-1-sweeps
erikinkinen:1-revocation-outcome-metrics
erikinkinen:1-revocation-focused-workloads
erikinkinen:1-strategy-equivalence-and-sanity-checks
erikinkinen:1-strategy-d-epoch-indirection-revocation
erikinkinen:1-strategy-c-lineage-based-revocation-basic
erikinkinen:1-strategy-b-lazy-invalidate-on-use-revocation
erikinkinen:1-strategy-a-eager-traversal-revocation
erikinkinen:1-revocation-strategy-interface
erikinkinen:1-revocation-cost-accounting-framework
erikinkinen:1-ground-truth-revocation-oracle
erikinkinen:1-revocation-event-types-and-api
erikinkinen:1-capability-use-semantics
erikinkinen:1-phase1-specification-and-invariants
erikinkinen:0-phase0-documentation
erikinkinen:0-determinism-and-invariant-test-suite
erikinkinen:0-cli-simulate-and-export
erikinkinen:0-metrics-framework
erikinkinen:0-residual-authority-detection-baseline
erikinkinen:0-ground-truth-reachability-analysis
erikinkinen:0-snapshot-hashing-and-equality
erikinkinen:0-replay-and-snapshot-reconstruction
erikinkinen:0-event-log-format-v0
erikinkinen:0-workloads
erikinkinen:0-workload-generator-interface
erikinkinen:0-deterministic-simulation-engine
erikinkinen:0-graph-delta-format
erikinkinen:0-event-application-api
erikinkinen:0-event-taxonomy-v0
erikinkinen:0-graph-indexing-and-integrity
erikinkinen:0-capability-edge-representation
erikinkinen:0-subject-and-object-node-storage
erikinkinen:0-authority-model-specification
erikinkinen:0-fix-formatting
erikinkinen:0-stable-id-types-and-utilities
erikinkinen:0-repository-scaffold-and-conventions
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
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set
Reference
erikinkinen/AES!672
Loading…
Reference in a new issue
No description provided.
Delete branch "phase2/p2-14-e-decision-ledgers"
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 #120. Plan ID:
P2-14-E; scientific protocol 2.2, backlog 2.2.1.Summary
Add the common closed decision-table contract and separate primary/diagnostic
ledgers. Every analysis retains all eight C and fifteen V IDs, explicit
missingness, source/population/seed counts, ordinary and adjusted intervals,
qualification/invariant references, provenance, decisions and machine reasons.
C6b retains twelve component intervals and requires all six sources; its
recall and false-alarm rows have separate estimands and strict/inclusive margins.
Ordinary intervals never determine primary decisions.
The serializer classifies supplied evidence and verifies referenced file bytes.
It does not compute or mathematically qualify primary bounds, validate upstream
scientific estimands, collect production outcomes or certify novelty. P2-28 and
P2-24 retain their inference implementation and qualification obligations.
Scope and design intent
Preserve the frozen ID/margin/source registry, C3b strict noninferiority,
C4b invariant gate, C6a/c equal-source conditional AP means and eligibility,
and C6b six-source conjunction with onset minima and positive denominators.
Reject nonfinite/boolean estimates, missing seeds, unsupported populations,
incorrect interval supports, altered output conclusions and malformed schemas.
Untyped or unavailable evidence stays explicit and cannot become a favorable
result. Existing output files cannot be overwritten.
This PR is queued behind #669 at
128fb39b072ed39fdb5e517775089c8b230a963e. The selected predecessor must beaccepted, its signed merge and saved ten-context CI verified, and all ten own
final contexts passed before the single checklist update and guarded merge.
Native prerequisite #118 is closed. The pending integration does not imply
predecessor or issue acceptance.
Verification
cbac4273ae1d2b48d8feb9f515fee5cdb1d7979fpassed all 298 testswithout skips in Release, assertion-enabled Debug
-g -O1, and ClangASan/UBSan. The 36-row synthetic fixture and its complete validation report
are byte-identical across those profiles and the verified pinned analysis
image. Fixtures include 25 malformed-input cases, boundary/zero/tie cases,
all six source gates, evidence-file tampering and output recomputation.
SHA-256
7e8bbc4e6f8a9d5970210ee7d4f5c429abb64747a61be92b353931ece8ea8a92.f83efe331f127be462f3fba4f3428a10026ab5bdpassed the full498-test Release suite, with no failures or skips. The inventory is exactly
the union of 298 source tests and 497 predecessor tests. Owned source bytes
are unchanged; only the shared tests/CMakeLists.txt hash is superseded by
the explicit union. Every other predecessor file is retained identically.
SHA-256
61c0ba497062d8f714fe2794e2093375a5002d6676938a2578072efdad8ec50d.The upload response timed out; read-only lookup and download hashing verified
the already-created asset. No upload POST was repeated.
check passed. Only acceptance/integration JSON receipts changed after the
exact integration execution source; final remote tests run this PR head.
No local full-498 Debug/sanitizer run, production campaign, mathematical bound
qualification, independent scholarly review or journal-readiness claim is made.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.