Phase 2: generate legal deleted-bridge paired tapes (#104) #657

Merged
erikinkinen merged 6 commits from phase2/p2-11-b-deleted-bridge into main 2026-10-21 06:40:17 +02:00
Owner

Task

Closes #104 (P2-11-B).

Summary

Generate the protocol's deleted-bridge pairs as complete sealed tapes before
execution. Arm B delegates each target leaf through a unique temporary capability,
then legally deletes that capability and its holder. The executed cuts have the
same live authority and access as A, with complete historical evidence retained.

Scope

Prospective actor roles, exact assignment/rights draws, sizes 8/32/128 and the
common 128-epoch continuation. Tests cover all seven frozen mechanisms, 84 smoke
cells, 14 zero/all-target boundary cells, invalid sizes and an independent Python
reference for complete tapes and role mappings. A_clone and saved minimum witnesses
remain #105.

Design intent

Every bridge creation and teardown is an actual legal event. Resolve logical
handles through the executor's physical bindings; the arms need not share numeric
edge IDs or cut times. Preserve root origins, immutable ancestry and deletion
records. The independent Read policy excludes extinct bridges from denominators.
The generator has no runtime-state or outcome input and never resamples a seed.

Phase discipline

Protocol 2.2 / backlog 2.2.1; prerequisites #100 and #101 are closed. Fixtures use
development seeds and establish correctness. No campaign, statistical conclusion
or recovery result is supplied by this leaf. Complete csaI still includes the
requested Phase 5 supplement.

Verification

  • Signed implementation 165e4e734e4f7eda1463bb5d9eeb7391e29afdc5 passed all 192 tests without skips
    in GCC Debug (400.31 s), GCC Release (42.76 s) and Clang Debug ASan/UBSan with
    -g -O1 and one test worker (603.73 s).
  • Each build checks 98 paired cells, 196 arm executions and 25,088 actual uses,
    including legal prefixes, exact projections/access, full event/source bindings,
    policy targets, origins/depths/deletions and immutable cuts.
  • The separate Python reference compares 30 complete tapes, 12,184 records and
    2,784 variates; both earlier replay reference fingerprints remain unchanged.
  • All eight local hooks and frozen workspace/PDF scope checks pass.
  • Complete source validation, SHA-256
    ffc0e7f6a9f525566596b18ced333df52198116f8da6987f4e383e4cbefb1692. Records are under artifacts/backlog/2.2.1/P2-11-B/.
  • Integration onto the accepted current main and all eight exact-head remote checks
    are required before the one-step issue checklist update and merge.

Integration validation

Accepted lineage-swap main aef917b9396e4368ad86e4946a9b9aa6a29f39b4 is merged at source eb2c796b2f676fa08bb2de3405fc3d204cd22fe7.
All original deleted-bridge implementation bytes are unchanged. The two CMake
files retain both complete families: the exact union of the original192-test
inventories, with92 common tests, is292 tests. Every integrated Release test
passes without skips. Both accepted CI fixes #653 and #655 are included.

Integration evidence has SHA-256 ee9c899ce775dd4bd92439dcb568a2afd5daf5469667d344efec9d063e0c848b.
Original source-bound receipts remain intact; integration.json identifies
the two superseded build-file hashes. All eight final-head remote checks remain
mandatory before checking #104 once and merging this PR.

Smoke profile correction after the failed remote integration

The previous head 3b13d6ccb61d9277374dbd5b707e64e69674cb14 hit both
90-minute smoke deadlines after 190/189 passing tests. Both sanitizer suites
passed; neither incomplete smoke attempt is accepted. Separate bug #661 adds
explicit -g -O1 to the GCC Debug smoke configuration. No test, scientific source,
compiler/container, sanitizer setting, worker count or timeout is changed.

Source d01ec511de58981c91f18b1b0425e4fa8687f76b integrates that fix and
passes the complete unchanged 292-test inventory locally with one worker
(225.02 seconds), no failures and no skips. All 124 C++ translation units retain
-g, select -O1 and omit NDEBUG. All hooks and the frozen PDF scope pass.
The original source-bound receipts remain unchanged; the new
integration-bug-661.json records the corrected profile and failed attempts.

Failure and corrected-profile evidence, SHA-256 77f25e389dea0edaf4291b1d635c2f03dcd56be252eb831fe4fc73e526ad5257.

Native prerequisite #661 is now attached. Require all eight final-head contexts
on both the fix and this consumer before merging the fix. Then require the
closed prerequisites and this PR's own complete checks before checking #104
once and merging. Later stacked PRs must reconcile this new predecessor head.

# Task Closes #104 (P2-11-B). ## Summary Generate the protocol's deleted-bridge pairs as complete sealed tapes before execution. Arm B delegates each target leaf through a unique temporary capability, then legally deletes that capability and its holder. The executed cuts have the same live authority and access as A, with complete historical evidence retained. ## Scope Prospective actor roles, exact assignment/rights draws, sizes 8/32/128 and the common 128-epoch continuation. Tests cover all seven frozen mechanisms, 84 smoke cells, 14 zero/all-target boundary cells, invalid sizes and an independent Python reference for complete tapes and role mappings. A_clone and saved minimum witnesses remain #105. ## Design intent Every bridge creation and teardown is an actual legal event. Resolve logical handles through the executor's physical bindings; the arms need not share numeric edge IDs or cut times. Preserve root origins, immutable ancestry and deletion records. The independent Read policy excludes extinct bridges from denominators. The generator has no runtime-state or outcome input and never resamples a seed. ## Phase discipline Protocol 2.2 / backlog 2.2.1; prerequisites #100 and #101 are closed. Fixtures use development seeds and establish correctness. No campaign, statistical conclusion or recovery result is supplied by this leaf. Complete csaI still includes the requested Phase 5 supplement. ## Verification - Signed implementation `165e4e734e4f7eda1463bb5d9eeb7391e29afdc5` passed all 192 tests without skips in GCC Debug (400.31 s), GCC Release (42.76 s) and Clang Debug ASan/UBSan with `-g -O1` and one test worker (603.73 s). - Each build checks 98 paired cells, 196 arm executions and 25,088 actual uses, including legal prefixes, exact projections/access, full event/source bindings, policy targets, origins/depths/deletions and immutable cuts. - The separate Python reference compares 30 complete tapes, 12,184 records and 2,784 variates; both earlier replay reference fingerprints remain unchanged. - All eight local hooks and frozen workspace/PDF scope checks pass. - [Complete source validation](https://git.erikinkinen.fi/attachments/25c81d8d-5cd9-4d87-9690-6959495a3495), SHA-256 `ffc0e7f6a9f525566596b18ced333df52198116f8da6987f4e383e4cbefb1692`. Records are under `artifacts/backlog/2.2.1/P2-11-B/`. - Integration onto the accepted current main and all eight exact-head remote checks are required before the one-step issue checklist update and merge. ## Integration validation Accepted lineage-swap main `aef917b9396e4368ad86e4946a9b9aa6a29f39b4` is merged at source `eb2c796b2f676fa08bb2de3405fc3d204cd22fe7`. All original deleted-bridge implementation bytes are unchanged. The two CMake files retain both complete families: the exact union of the original192-test inventories, with92 common tests, is292 tests. Every integrated Release test passes without skips. Both accepted CI fixes #653 and #655 are included. [Integration evidence](https://git.erikinkinen.fi/attachments/195837dd-3022-4e99-8fec-03772a7954ca) has SHA-256 `ee9c899ce775dd4bd92439dcb568a2afd5daf5469667d344efec9d063e0c848b`. Original source-bound receipts remain intact; `integration.json` identifies the two superseded build-file hashes. All eight final-head remote checks remain mandatory before checking #104 once and merging this PR. ## Smoke profile correction after the failed remote integration The previous head `3b13d6ccb61d9277374dbd5b707e64e69674cb14` hit both 90-minute smoke deadlines after 190/189 passing tests. Both sanitizer suites passed; neither incomplete smoke attempt is accepted. Separate bug #661 adds explicit `-g -O1` to the GCC Debug smoke configuration. No test, scientific source, compiler/container, sanitizer setting, worker count or timeout is changed. Source `d01ec511de58981c91f18b1b0425e4fa8687f76b` integrates that fix and passes the complete unchanged 292-test inventory locally with one worker (225.02 seconds), no failures and no skips. All 124 C++ translation units retain `-g`, select `-O1` and omit `NDEBUG`. All hooks and the frozen PDF scope pass. The original source-bound receipts remain unchanged; the new `integration-bug-661.json` records the corrected profile and failed attempts. [Failure and corrected-profile evidence](https://git.erikinkinen.fi/attachments/9299fdf0-c4f0-4015-9b59-db69b34291c1), SHA-256 `77f25e389dea0edaf4291b1d635c2f03dcd56be252eb831fe4fc73e526ad5257`. Native prerequisite #661 is now attached. Require all eight final-head contexts on both the fix and this consumer before merging the fix. Then require the closed prerequisites and this PR's own complete checks before checking #104 once and merging. Later stacked PRs must reconcile this new predecessor head.
erikinkinen added this to the Phase 2 milestone 2026-10-21 04:18:24 +02:00
Phase 2: record complete paired workload integration evidence (#104)
Some checks failed
markdownlint / markdown-lint (push) Successful in 26s
markdownlint / markdown-lint (pull_request) Successful in 25s
clang-format / check-format (push) Successful in 40s
clang-format / check-format (pull_request) Successful in 42s
ci / sanitizers (push) Successful in 53m13s
ci / sanitizers (pull_request) Successful in 53m29s
ci / smoke (push) Failing after 1h30m2s
ci / smoke (pull_request) Failing after 1h30m2s
3b13d6ccb6
CI: use assertion-enabled optimized Debug for the complete smoke suite (#661)
Some checks failed
markdownlint / markdown-lint (pull_request) Successful in 19s
clang-format / check-format (pull_request) Successful in 35s
ci / smoke (pull_request) Successful in 15m8s
ci / sanitizers (pull_request) Successful in 28m45s
ci / smoke (push) Has been cancelled
markdownlint / markdown-lint (push) Has been cancelled
ci / sanitizers (push) Has been cancelled
clang-format / check-format (push) Has been cancelled
b58a4bf422
Phase 2: retain smoke deadline evidence and corrected Debug profile validation (#104)
All checks were successful
markdownlint / markdown-lint (pull_request) Successful in 30s
clang-format / check-format (pull_request) Successful in 1m0s
ci / smoke (pull_request) Successful in 19m31s
ci / sanitizers (pull_request) Successful in 39m22s
markdownlint / markdown-lint (push) Successful in 13s
clang-format / check-format (push) Successful in 33s
ci / smoke (push) Successful in 16m24s
ci / sanitizers (push) Successful in 36m29s
19b16dbabc
Sign in to join this conversation.
No reviewers
No milestone
No project
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!657
No description provided.