Preserve source identity and attribute moved authority to the current holder #639
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!639
Loading…
Reference in a new issue
No description provided.
Delete branch "phase2/bug-638-moved-holder-oracle"
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 #638.
Summary
A legal holder move preserved actual Read access but caused the authority oracle to reject the graph. Permit changed live holders while preserving immutable birth-role source atoms, and derive effective-access triples from the current holder's fixed role.
Scope
Add immutable, bijective holder-role registration for destinations that have no issuance. Existing issuance registration remains compatible; conflicting or missing bindings fail closed. Preserve object, ancestry, rights, deletion and validity checks. Document the adapter obligation to register empty destinations.
Design intent
Policy cohort identity follows the issuance. Effective access follows the current holder. Oracle computation remains independent of the actuator, unmetered and read-only.
Phase discipline
This bug was reproduced during #97 integration review. Its branch is based on main and excludes P2-08-A implementation. The regression reconstructs a valid moved state with existing test-only store insertion. The actual movement primitive will be rechecked when this fix is integrated into P2-08-A.
Verification
The actual movement probe failed at
0b9ac14despite graph validation and successful Read access. The independently constructed moved-state CTest also failed before the fix. Afterward the regression verifies birth/current-role separation, deduplication, all seven withdrawal mechanisms, frozen cohorts and denominators, moves before and after invalidation, empty destinations, binding failures, later issuance, attenuation and actual UseCap conformance.All 63 CTests pass in Debug, Release and Clang ASan/UBSan at signed source
1429d5536788c2ac5ee37eaddb8db81452f74bf4. All eight local hooks and the frozen scope/source check pass. Before/after logs, probe source, JUnit and toolchain evidence.All eight final-head Forgejo checks must pass before the three checklist items are checked once and this PR merges.