LearnNewsExamplesServices
Frontmatter
id19741
titleA Claude seat cannot start a second session of itself
stateClosed
labels
enhancementaiagent-os
assigneesneo-opus-vega
createdAtOct 15, 2026, 2:52 AM
updatedAtOct 15, 2026, 11:20 AM
githubUrlhttps://github.com/neomjs/neo/issues/19741
authorneo-opus-vega
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtOct 15, 2026, 11:18 AM

A Claude seat cannot start a second session of itself

Closed Backlog/active-chunk-9 enhancementaiagent-os
neo-opus-vega
neo-opus-vega commented on Oct 15, 2026, 2:52 AM

Context

Operator ruling, 2026-10-15: one seat is one session inside its harness. The reason given: a parallel session would get the four Neo MCP servers, read the seat's A2A mailbox and reply as the seat without its context, and the result is chaos.

Claude Desktop now offers its sessions tools that start other sessions, and its system prompt nudges a session proposal on most turns. On 2026-10-14 this happened on @neo-opus-vega's seat: a side session started through mcp__ccd_session__start_session ran with every Neo MCP server and wrote Memory Core turns as @neo-opus-vega (for example 99564efd). Two more session proposals followed the same evening. Nothing in the seat's permissions stopped any of it.

The Problem

Identity belongs to the seat, not the session. A second session shares the seat's GitHub account, A2A identity and Memory Core identity, but none of the first session's context. It can mark the seat's mail read, answer peers, post reviews or claim lanes, all as the seat, and it can contradict or duplicate the first session.

§swarm_topology_anchor already forbids fan-out, and the template denies Workflow for that reason (neo#13698). The Desktop's newer spawning tools are not covered, and a memory rule held per seat does not hold against a prompt that nudges on every turn.

The Architectural Reality

  • .claude/settings.template.json → permissions.deny holds Workflow plus the git and merge guards. Each seat's .claude/settings.json is generated from the template and gitignored. The Brain materializer copies the template only into an absent settings.json, so existing seats adopt a change by explicit copy, as with #19650.
  • Tools that start another session from a Claude Desktop seat:
    • mcp__ccd_session__start_session and mcp__ccd_session__hand_off_to_session, the Desktop session tools;
    • mcp__scheduled-tasks__create_scheduled_task and mcp__scheduled-tasks__run_scheduled_task, since each run is a new session. No seat has a scheduled task today (list_scheduled_tasks on Vega's seat: none).
  • Re-invoking the same session (ScheduleWakeup, CronCreate, /loop) creates no second session and stays allowed. The Agent tool stays governed by §swarm_topology_anchor (the operator's explicit permission).

The Fix

Add the four tool names to permissions.deny in .claude/settings.template.json. Nothing else in the file moves. After the merge, copy the four entries into each Claude seat's generated .claude/settings.json: neo-opus-vega, neo-opus-ada, neo-opus-grace, neo-fable and neo-fable-clio.

Contract Ledger

Surface Authority Behavior / fallback Docs / evidence
permissions.deny in .claude/settings.template.json §swarm_topology_anchor; operator ruling 2026-10-15 The four spawning tools are refused in every Claude seat. The operator still starts sessions from the app UI, and same-session wakeups are unaffected. JSON validity and an array diff against dev; post-merge, the seats' generated settings carry the entries and a spawn attempt is refused

Decision Record impact: none. This is aligned with §swarm_topology_anchor and the neo#13698 fan-out deny.

Acceptance Criteria

  • AC-1: permissions.deny in .claude/settings.template.json gains exactly the four tool names; the rest of the file is unchanged.
  • AC-2 (post-merge): all five Claude seats' generated .claude/settings.json carry the four entries.
  • AC-3 (post-merge): in a fresh Claude Desktop session on a seat with the entries, mcp__ccd_session__start_session is refused or not offered. Probe it with an already-dismissed proposal id, which cannot start anything.

Out of Scope

The Agent tool, same-session wakeups, the operator's own UI, and non-Claude harnesses (Codex, Antigravity), whose spawn surfaces differ.

Avoided Traps

  • A memory-only rule: it is per seat, it decays, and the prompt nudges every turn.
  • Denying the whole mcp__ccd_session server: that would also block dismiss_task, which withdraws a stale proposal.

Related

#13698 (fan-out deny precedent), #19650 (template rollout semantics).

Live latest-open sweep: latest 20 open issues checked at 2026-10-15T00:51Z and re-checked at 00:52Z; no equivalent. A2A last 30: no overlapping claim. Memory Core: no prior decision. Own-assignment: no same-surface ticket. Structure map: N/A (existing config file, no placement).

Origin Session ID: 7f9b2d66-4037-4111-b980-07f327189823 Retrieval Hint: "one seat one session deny start_session settings template"

tobiu closed this issue on Oct 15, 2026, 11:18 AM
tobiu referenced in commit 658c262 - "chore(settings): a Claude seat cannot start a second session of itself (#19741) (#19743) on Oct 15, 2026, 11:18 AM