Skip to content

Add canonical session owner contract#197

Merged
chubes4 merged 1 commit into
mainfrom
fix/session-owner-chat-contract
May 20, 2026
Merged

Add canonical session owner contract#197
chubes4 merged 1 commit into
mainfrom
fix/session-owner-chat-contract

Conversation

@chubes4
Copy link
Copy Markdown
Contributor

@chubes4 chubes4 commented May 20, 2026

Summary

  • add session_owner to the canonical agents/chat input schema
  • allow conversation session abilities to use an explicit isolating session_owner when the access principal has no owner
  • reject shared public audience owners and keep explicit user owners bound to the authenticated user principal
  • add smoke coverage for schema exposure and explicit owner handling

Testing

  • php tests/agents-chat-ability-smoke.php
  • php tests/agents-conversation-session-abilities-smoke.php
  • homeboy lint --path /Users/chubes/Developer/agents-api@fix-session-owner-chat-contract --extension wordpress

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (openai/gpt-5.5)
  • Used for: Drafted the implementation and smoke coverage; Chris remains responsible for review and validation.

@chubes4 chubes4 merged commit 848e175 into main May 20, 2026
2 checks passed
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