Phase 1: Strategy C: lineage-based revocation (basic) #72
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!72
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "1-strategy-c-lineage-based-revocation-basic"
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 #32
Summary
This PR adds Strategy C (
lineage_basic) as a behavior-divergent, deterministic revocation strategy that revokes selected roots plus their ancestor chain (no depth limit), while keeping eager-delete enforcement.It introduces explicit parent-edge lineage metadata on capability edges, wires
lineage_basicthrough CLI and event-log v3 revoker metadata, and adds canonical comparison tests against eager traversal strategies.Included
CapabilityEdge::parent_edge(std::optional<EdgeId>)RevokerKind::LineageBasiclineage_basic_revoker()accessor--revoker lineage_basicrevokerparse/encode acceptslineage_basiclineage_basicvseager_bfsandeager_dfsNot Included
EagerDelete)Design Notes
lineage_basictarget semantics:sort + unique)InvalidArgumentNotFoundEdgeIdroot -> parent -> grandparent -> ...Verification
cmake --build _build --target aes_revocation_strategy_tests aes_apply_event_tests aes_engine_tests aes_edge_store_tests aes_graph_validation_tests aes_snapshot_tests aes_event_log_format_tests aes_event_log_reader_tests aes_event_log_replay_tests aes_cli_simulate_testsctest --test-dir _build --output-on-failure -R "aes_revocation_strategy_tests|aes_apply_event_tests|aes_engine_tests|aes_cli_simulate_tests"ctest --test-dir _build --output-on-failure -R "aes_event_log_format_tests|aes_event_log_reader_tests|aes_event_log_replay_tests|aes_revocation_oracle_tests|aes_invalid_event_determinism_tests"Review Focus
DelegateCap, remove, snapshot/validation)lineage_basic