Skip to content

Add pending action observer contract#193

Merged
chubes4 merged 1 commit into
mainfrom
feat/pending-action-observer-contract
May 20, 2026
Merged

Add pending action observer contract#193
chubes4 merged 1 commit into
mainfrom
feat/pending-action-observer-contract

Conversation

@chubes4
Copy link
Copy Markdown
Contributor

@chubes4 chubes4 commented May 20, 2026

Closes #128

Summary

  • Adds WP_Agent_Pending_Action_Observer for pending action lifecycle events.
  • Loads the new interface from the package bootstrap and lists it in the public surface.
  • Documents that stores own observer registration/invocation and should isolate observer failures from durable approval transitions.

Verification

  • php tests/pending-action-store-contract-smoke.php
  • php tests/bootstrap-smoke.php
  • composer test
  • homeboy lint --path /Users/chubes/Developer/agents-api@feat-pending-action-observer-contract --extension wordpress --changed-since origin/main
  • git diff --check

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Implemented the small observer interface, docs, and smoke-test updates; Chris remains responsible for review and merge.

@chubes4 chubes4 merged commit 42f9702 into main May 20, 2026
2 checks passed
@chubes4 chubes4 deleted the feat/pending-action-observer-contract branch May 20, 2026 01:05
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.

Approvals: WP_Agent_Pending_Action_Observer contract for lifecycle events

1 participant