Skip to content

Add agent access abilities#164

Merged
chubes4 merged 2 commits into
mainfrom
agent-access-abilities
May 12, 2026
Merged

Add agent access abilities#164
chubes4 merged 2 commits into
mainfrom
agent-access-abilities

Conversation

@chubes4
Copy link
Copy Markdown
Contributor

@chubes4 chubes4 commented May 12, 2026

Summary

  • Adds a host-store discovery seam for WP_Agent_Access_Store via wp_agent_access_store.
  • Adds current-principal access helpers plus agents/can-access-agent and agents/list-accessible-agents Abilities API registrations.
  • Adds pure-PHP smoke coverage and includes it in composer test.

Fixes #160.

Testing

  • php -l src/Auth/class-wp-agent-access.php
  • php -l src/Auth/register-agent-access-abilities.php
  • php -l tests/agents-access-ability-smoke.php
  • php tests/agents-access-ability-smoke.php
  • composer test
  • homeboy lint --path /Users/chubes/Developer/agents-api@agent-access-abilities --extension wordpress --errors-only
  • homeboy test --path /Users/chubes/Developer/agents-api@agent-access-abilities --extension wordpress

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Drafted the access helper/ability implementation and smoke tests; Chris remains responsible for review and merge decisions.

@chubes4 chubes4 merged commit f972efb into main May 12, 2026
2 checks passed
@chubes4 chubes4 deleted the agent-access-abilities branch May 12, 2026 23:39
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.

Add frontend-facing agent access resolution abilities

1 participant