Skip to content

Recognise the agent_instance room - #38

Merged
vitramir merged 1 commit into
mainfrom
fix-agent-instance-room
Aug 2, 2026
Merged

Recognise the agent_instance room#38
vitramir merged 1 commit into
mainfrom
fix-agent-instance-room

Conversation

@vitramir

@vitramir vitramir commented Aug 2, 2026

Copy link
Copy Markdown
Contributor
subscriber: stream recv for agent instance b4c8eaf3-...: PermissionDenied: permission denied

Agents publishes instance.updated to agent_instance:<id> and the Orchestrator subscribes to it for every instance it reconciles — but the room was never added to rooms.go. It fell through to the deny-by-default branch, so every one of those subscriptions was refused: a paused, resumed or terminated instance reached nobody.

Gated like the agent:{id} room it mirrors — member on the owning organization. That also admits the instance itself, whose identity satisfies member through its own org relation (authz.md). Spec table updated in a matching architecture commit.

agents publishes instance.updated to agent_instance:<id> and the
Orchestrator subscribes to it for every instance it reconciles, but the
room was never added here. It fell through to the deny-by-default branch,
so every one of those subscriptions was refused and a paused, resumed or
terminated instance reached nobody.

Gated like the agent room it mirrors: member on the owning organization.
That also admits the instance itself, whose identity satisfies member
through its own org relation.
@vitramir
vitramir merged commit 18b9c88 into main Aug 2, 2026
1 check passed
@vitramir
vitramir deleted the fix-agent-instance-room branch August 2, 2026 23:15
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