You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e6ed7e3
Browse filesBrowse the repository at this point in the historyBrowse files
"""{"type":"res","id":"$id","ok":false,"error":{"code":"INVALID_REQUEST","message":"session membership includes actor evidence this client cannot represent","details":{"code":"SESSION_MEMBER_ACTOR_EVIDENCE_UNSUPPORTED","recommendedMethod":"session.members.listEvidence"}}}""",
Copy file name to clipboardExpand all lines: docs/concepts/session-tool.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,21 @@ These tools are still subject to the active tool profile and allow/deny policy.
30
30
31
31
Group, provider, sandbox, and per-agent policies can still remove those tools after the profile stage. Use `/tools` from the affected session to inspect the effective tool list.
32
32
33
+
Session access denials are rendered from the same typed visibility decision
34
+
used by the enforcement boundary. When execution audit collection is enabled
35
+
for an admitted run, a private queued fact retains the evaluated policy inputs
36
+
and an installation-local opaque target reference, not the raw target session
37
+
key. Public inspection renders that generic fact as an unverified
38
+
`decision.record`; it does not claim a trusted reason or target display. A
39
+
successful session operation is not labeled `enforced` merely because its
40
+
mechanics succeeded.
41
+
42
+
For the same admitted run, create, fork, send, patch, reset, archive, restore,
43
+
and delete results can queue attribution-only generic facts. The private facts
44
+
distinguish committed or scheduled work from typed lifecycle conflicts and
45
+
definitive no-ops; their public display remains generic and unverified. Direct
46
+
Gateway sharing operations are outside this run-audit boundary.
47
+
33
48
## Listing and reading sessions
34
49
35
50
`sessions_list` returns focused discovery rows: session key, durable session ID, agent, kind, channel, label/title/preview fields, sidebar category, parent and child relationships, last update, archive/pin state, state version, model, context/total token counts, run status, and whether the last run aborted. Filter by `kinds` (array; accepted values: `main`, `group`, `cron`, `hook`, `node`, `other`), exact `label`, exact `agentId`, `search` text, or recency (`activeMinutes`). Active sessions are returned by default; pass `archived: true` to inspect archived sessions instead. Set `includeDerivedTitles`, `includeLastMessage`, or `messageLimit` (capped at 20) when you need mailbox-style triage: a visibility-scoped derived title, a last-message preview snippet, or bounded recent messages on each row. Use the returned `sessionId` as `expectedSessionId` when the `sessions` tool archives, restores, or deletes another session; this prevents a stale key from targeting a replacement. Delivery routing, other internal IDs, per-run timings/settings, cost estimates, and transcript paths remain omitted; use `session_status`, conversation tools, and `sessions_history` for those owner-specific details. Derived titles and previews are produced only for sessions the caller can already see under the configured session tool visibility policy, so unrelated sessions stay hidden. When visibility is restricted, `sessions_list` returns optional `visibility` metadata showing the effective mode and a warning that results may be scope-limited.
Copy file name to clipboardExpand all lines: docs/gateway/config-agents.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1291,7 +1291,7 @@ See [Multi-Agent Sandbox & Tools](/tools/multi-agent-sandbox-tools) for preceden
1291
1291
-`suggest`: allow `suggest`, where viewers can submit suggestions for the session owner or an `operator.admin` connection to send, queue, edit, or dismiss without granting direct access to send or manage the session.
1292
1292
-`drafts`: allow `draft`, which hides the session from non-admin, non-owner session lists and event broadcasts.
1293
1293
1294
-
Session visibility and membership are maintained as canonical sharing state. Structured `session.sharing`and `session.suggestion`change events refresh connected clients without adding administrative narration to conversation transcripts. These controls coordinate operators sharing one agent; they are not a security boundary between tenants. Use separate Gateways or agents when work requires isolation.
1294
+
Session visibility and membership are maintained as canonical sharing state. Structured `session.sharing`events carry an attributed actor; principal-less changes use the additive `session.sharing.evidence` event. Every sharing change also emits the existing `sessions.changed` row refresh, so clients that do not recognize the evidence event still refresh canonical state. These events and `session.suggestion` do not add administrative narration to conversation transcripts. These controls coordinate operators sharing one agent; they are not a security boundary between tenants. Use separate Gateways or agents when work requires isolation.
0 commit comments