Skip to content

Add workspace scope contracts for memory and transcripts#67

Merged
chubes4 merged 1 commit into
mainfrom
chubes/workspace-scope
May 4, 2026
Merged

Add workspace scope contracts for memory and transcripts#67
chubes4 merged 1 commit into
mainfrom
chubes/workspace-scope

Conversation

@chubes4
Copy link
Copy Markdown
Contributor

@chubes4 chubes4 commented May 4, 2026

Summary

  • Adds AgentWorkspaceScope as the normalized workspace_type + workspace_id value object for generic workspace identity.
  • Updates memory scope identity to include workspace fields and transcript store contracts to stamp sessions/dedup by workspace.
  • Threads workspace scope through AgentConversationRequest so runtime transcript persisters can materialize workspace-stamped sessions.

Fixes #56.

Testing

  • php tests/workspace-scope-smoke.php
  • php tests/bootstrap-smoke.php
  • php tests/conversation-loop-transcript-persister-smoke.php
  • php tests/conversation-runner-contracts-smoke.php
  • composer test
  • git diff --check

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Source audit, contract implementation, tests, docs, and local verification. Chris reviewed and remains responsible for the change.

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 workspace scope first-class across memory and transcripts

1 participant