Skip to content

fix: normalize owner_agent_id and release v1.13.4#33

Merged
amariichi merged 1 commit intomainfrom
fix/normalize-owner-agent-id
Mar 15, 2026
Merged

fix: normalize owner_agent_id and release v1.13.4#33
amariichi merged 1 commit intomainfrom
fix/normalize-owner-agent-id

Conversation

@amariichi
Copy link
Owner

Summary

  • Normalize owner_agent_id in both owner_inbox_state.js and agent_assignment_state.js so "operator" and "__operator__" resolve to the canonical __operator__ ID
  • Fixes stream owner mismatch errors when MCP-driven agent.assign uses a different alias than persisted state from earlier sessions
  • Adds dedicated normalization tests for both state modules (260 pass / 0 fail)
  • Syncs AGENT_RULES.md with resilience guidance from v1.13.3

Test plan

  • npm test passes (260/0)
  • Normalization test: submit with __operator__, query with "operator" — both resolve
  • Assignment normalization test: upsert with mixed aliases hits the same record

🤖 Generated with Claude Code

…lease v1.13.4 (#33)

Normalize "operator" and "__operator__" to a single canonical ID in both
owner_inbox_state and agent_assignment_state, preventing stream owner
mismatch errors when MCP-driven agent.assign uses a different alias than
persisted state. Adds dedicated normalization tests and syncs
AGENT_RULES.md resilience guidance.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@amariichi amariichi merged commit 014a4e1 into main Mar 15, 2026
1 check passed
@amariichi amariichi deleted the fix/normalize-owner-agent-id branch March 15, 2026 10:05
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