Skip to content

[codex] Configure team state owner#199

Merged
yibeichan merged 2 commits into
mainfrom
codex/issue-195-team-owner-config
Jun 11, 2026
Merged

[codex] Configure team state owner#199
yibeichan merged 2 commits into
mainfrom
codex/issue-195-team-owner-config

Conversation

@yibeichan

Copy link
Copy Markdown
Owner

Summary

  • replace the hardcoded team.* state owner with SCHIST_TEAM_OWNER
  • update MCP tool and CLI descriptions to remove deployment-specific owner names
  • document SCHIST_TEAM_OWNER and add regression coverage for configured, missing, and mismatched team owners

Root cause

agent_state namespace validation hardcoded owner=eleven for team.* keys. That made the shared team namespace unusable for deployments whose coordinator agent has a different identity and leaked a deployment-specific name through public tool descriptions.

Validation

  • npm run build
  • npm test -- --testPathPatterns=memory.test.ts memory-cli.test.ts
  • npm test

Closes #195

@yibeichan yibeichan marked this pull request as ready for review June 11, 2026 14:34
@yibeichan yibeichan merged commit b84a9b7 into main Jun 11, 2026
6 of 7 checks passed
@yibeichan yibeichan deleted the codex/issue-195-team-owner-config branch June 11, 2026 23:33
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.

bug: assertKeyPrefix hardcodes owner="eleven" for team.* agent state — breaks any other deployment

1 participant