Skip to content

Require signed pending-action authorization receipts - #2942

Merged
chubes4 merged 2 commits into
mainfrom
feat/2934-authorization-receipts-v2
Jul 21, 2026
Merged

Require signed pending-action authorization receipts#2942
chubes4 merged 2 commits into
mainfrom
feat/2934-authorization-receipts-v2

Conversation

@chubes4

@chubes4 chubes4 commented Jul 21, 2026

Copy link
Copy Markdown
Member

Summary

  • atomically claim pending actions before handler execution
  • issue signed, expiring receipts bound to kind, operation, target, input, subject, workspace, resolver, and nonce
  • reject wrong-kind, expired, consumed, rejected, or mismatched receipts
  • retain durable and transient resolution audit fields after receipt consumption

Compatibility

Legacy handlers remain callable and receive the receipt as an additive third argument. Existing resolver response shapes remain unchanged.

How to test

  1. Run php tests/signed-pending-action-resolution-smoke.php.
  2. Run php tests/pending-action-resolver-contract-smoke.php.
  3. Run php tests/pending-actions-agents-api-contract-smoke.php.
  4. Run php tests/pending-action-store-durable-required-smoke.php.

Closes #2934

@chubes4
chubes4 merged commit cf503d9 into main Jul 21, 2026
2 checks passed
@chubes4
chubes4 deleted the feat/2934-authorization-receipts-v2 branch July 21, 2026 13:36
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.

Make pending-action approval an atomic single-use authorization receipt

1 participant