Preserve delegation topology in moved-holder oracle fixtures #642

Merged
erikinkinen merged 1 commit from phase2/bug-641-moved-oracle-fixture-indexes into main 2026-10-20 22:00:51 +02:00
Owner

Task

Closes #641.

Summary

The moved-holder oracle fixture rebuilt core edge records without delegation indexes. That silently weakened the eager-resolver scenarios even though actual-use conformance still passed. Use the now-merged production mover and assert preservation of incoming/delegation indexes, validity markers and every capability field except the holder.

Scope

Correct the regression test and its documentation only. Add hand-derived structural/usable residue and effective-access sets for all seven withdrawal mechanisms. Preserve existing role-binding, empty-destination, policy-cohort and oracle-isolation checks. Production code is unchanged.

Design intent

A fixture must preserve the state it claims to preserve. Independent expected mechanism outcomes ensure oracle/UseCap agreement cannot hide a damaged resolver topology.

Phase discipline

This fixture defect was found during #98 snapshot-restoration review. It has its own issue, branch and PR. P2-08-B component work remains on its separate branch; there are no campaign or protocol changes.

Verification

At baseline 6f395749f9dae392173d04153f43c71a824b90ce, the preserved assertion patch makes the test fail with movement fixture erased delegation indexes. The corrected test passes. All 65 CTests pass at signed source 9f4cbd40fbd142f34a5a57d45644ef940b263f54 in Debug, Release and Clang ASan/UBSan, including original legacy fixtures and actual operation replay. All eight repository hooks pass.

Reproduction patch, before/after logs, full JUnit and toolchains. All eight final-head Forgejo checks must pass before the three checklist items are checked once and the PR merges.

## Task Closes #641. ## Summary The moved-holder oracle fixture rebuilt core edge records without delegation indexes. That silently weakened the eager-resolver scenarios even though actual-use conformance still passed. Use the now-merged production mover and assert preservation of incoming/delegation indexes, validity markers and every capability field except the holder. ## Scope Correct the regression test and its documentation only. Add hand-derived structural/usable residue and effective-access sets for all seven withdrawal mechanisms. Preserve existing role-binding, empty-destination, policy-cohort and oracle-isolation checks. Production code is unchanged. ## Design intent A fixture must preserve the state it claims to preserve. Independent expected mechanism outcomes ensure oracle/UseCap agreement cannot hide a damaged resolver topology. ## Phase discipline This fixture defect was found during #98 snapshot-restoration review. It has its own issue, branch and PR. P2-08-B component work remains on its separate branch; there are no campaign or protocol changes. ## Verification At baseline `6f395749f9dae392173d04153f43c71a824b90ce`, the preserved assertion patch makes the test fail with `movement fixture erased delegation indexes`. The corrected test passes. All 65 CTests pass at signed source `9f4cbd40fbd142f34a5a57d45644ef940b263f54` in Debug, Release and Clang ASan/UBSan, including original legacy fixtures and actual operation replay. All eight repository hooks pass. [Reproduction patch, before/after logs, full JUnit and toolchains](https://git.erikinkinen.fi/attachments/1aeefae0-26d1-4c8d-928d-c45a2e0005ca). All eight final-head Forgejo checks must pass before the three checklist items are checked once and the PR merges.
erikinkinen added this to the Phase 2 milestone 2026-10-20 21:54:41 +02:00
Phase 2: preserve topology in moved-holder oracle fixtures (#641)
All checks were successful
markdownlint / markdown-lint (pull_request) Successful in 21s
clang-format / check-format (pull_request) Successful in 33s
ci / smoke (pull_request) Successful in 5m3s
ci / sanitizers (pull_request) Successful in 5m7s
markdownlint / markdown-lint (push) Successful in 14s
clang-format / check-format (push) Successful in 24s
ci / smoke (push) Successful in 3m8s
ci / sanitizers (push) Successful in 3m22s
9f4cbd40fb
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!642
No description provided.