Skip to content

Add principal-owned conversation sessions#175

Merged
chubes4 merged 1 commit into
mainfrom
fix/principal-owned-sessions
May 16, 2026
Merged

Add principal-owned conversation sessions#175
chubes4 merged 1 commit into
mainfrom
fix/principal-owned-sessions

Conversation

@chubes4
Copy link
Copy Markdown
Contributor

@chubes4 chubes4 commented May 15, 2026

Summary

  • Add a canonical conversation-owner shape to execution principals.
  • Introduce an optional principal-aware conversation store contract for non-user session owners.
  • Keep legacy user-owned conversation stores working for user principals.

Testing

  • php -l agents-api.php src/Runtime/class-wp-agent-execution-principal.php src/Transcripts/class-wp-agent-principal-conversation-store.php src/Transcripts/register-agents-conversation-session-abilities.php tests/agents-conversation-session-abilities-smoke.php tests/execution-principal-smoke.php
  • php tests/execution-principal-smoke.php
  • php tests/agents-conversation-session-abilities-smoke.php
  • composer test
  • homeboy lint --changed-only --force-hot
  • homeboy test --changed-only --force-hot

Related

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Drafting the implementation, tests, and PR description; Chris remains responsible for review and validation.

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.

Support principal-owned conversation sessions

1 participant