brain_session_bind
Bind an open operator session to one focus slot from an explicit user command. Once per session, this makes session end write that slot only, not the project base.
Instructions
Bind an open operator session to one focus slot, from an explicit user command.
Once per session; binding the same slot again is a replay. From then on the
session's end writes that slot only, never the project base:
expected_focus_revision is the slot revision returned here. Refusals:
session_not_open, session_is_agent_trace, session_already_bound,
slot_not_found, slot_closed, slot_project_mismatch, slot_busy.
An agent tracer is the only session the server opens or closes on its own; no hook and no auto-close may invoke this lifecycle boundary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot_id | Yes | ||
| session_id | Yes | ||
| expected_client_key | Yes | Client identity expected for the addressed session UUID. The pair must match before any session mutation. This is an isolation guard, not authentication. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot_id | Yes | ||
| slot_body | Yes | ||
| session_id | Yes | ||
| slot_revision | Yes |