Skip to content

feat(guardian): distributed execution authority consumption - #62

Merged
aeonmatrixcommand-debug merged 5 commits into
mainfrom
feature/distributed-authority-consumption
Aug 20, 2026
Merged

feat(guardian): distributed execution authority consumption#62
aeonmatrixcommand-debug merged 5 commits into
mainfrom
feature/distributed-authority-consumption

Conversation

@aeonmatrixcommand-debug

Copy link
Copy Markdown
Owner

Summary

Adds distributed, persistent consumption semantics for Guardian execution authority.

Changes

  • enforce single-use execution authority
  • abstract authorization consumption storage
  • delegate atomicity to the storage backend
  • add Google Cloud Datastore implementation
  • use deterministic authorization entity keys
  • add bounded retry handling for Datastore transaction contention
  • repair the Guardian runtime demo publisher contract
  • add replay, shared-store, cross-instance, concurrency, atomicity, and Datastore tests

Validation

  • Guardian suite: 71 passed
  • Python compilation: PASS
  • diff validation: PASS
  • Datastore sequential live contract: PASS
  • Datastore concurrent retry contract: PASS
  • concurrent result: exactly 1 winner, 7 rejected claims, 0 errors
  • live probe cleanup: PASS
  • local/remote commit SHA verified

Security invariant

An execution authorization may be consumed successfully at most once across competing Guardian instances.

Datastore transaction contention is retried with a bounded retry policy. Losing claimants observe the persisted consumption marker and return false.

Notes

Existing datetime.utcnow() deprecation warnings are outside the scope of this change.

@aeonmatrixcommand-debug
aeonmatrixcommand-debug merged commit 60bd070 into main Aug 20, 2026
11 checks passed
@aeonmatrixcommand-debug
aeonmatrixcommand-debug deleted the feature/distributed-authority-consumption branch August 20, 2026 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant