Phase 2: Count access, delegation and full-observation work #625
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!625
Loading…
Reference in a new issue
No description provided.
Delete branch "phase2/p2-06-b-access-delegation-counters"
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 #91 (P2-06-B).
Summary
Measured access now charges every actual legacy ancestry lookup. Ordinary
issuance, delegation, attenuation and deletion charge their terminal record
operations. Explicit Phase 2 full-observation queries count manager reads.
Repeated or denied access retains the original authority behavior and costs.
Scope
Includes operation instrumentation, staged measured mutations, copied live
observation records, hand-derived fixtures and counting-point documentation.
P2-06-C owns shared conservation; P3-02 owns restricted ManagerView isolation.
The legacy entry points, estimated metrics and archived outputs remain intact.
Design intent
Nested helpers share one bucket meter. Cached fields incur no duplicate read;
separate parent-version queries use validity columns. Failed primitives do not
publish candidate graph state or accepted event work. The later intent wrapper
owns accepted denial identities.
Phase discipline
Full current observation is allowed in Phase 2. No analytical lineage, grants,
true depth or history is returned to the manager. Material carriers, recovery,
partial observation and Phase 3 retention are outside this change.
Verification
All 51 CTests pass at source commit
635c5c5b8bin Debug, Release and Clang ASan/UBSan.Hand-counted delegation/access/query vectors match traces; all seven post-
withdrawal mechanisms preserve access truth. Measured and legacy canonical
state, history, deltas and outcomes agree. All 31 archived compatibility cases
pass. Repository hooks and the Phase 2 documentation scope lock pass.
Exact-source logs, JUnit and toolchain evidence.
Acceptance records:
artifacts/backlog/2.2.1/P2-06-B/.All eight Forgejo contexts must pass on this final head before the issue's
single checklist step is checked once and the PR merged.