Skip to content

V2 Claude Code: use the existing channel session and preserve native capabilities #43

Description

@pc-vigil

Outcome

Nunchi gates the persistent Claude Code session already serving the configured channel plugin. It must not replace that participant with a second, stripped subprocess.

This means the plugin-owned Discord, Telegram, or other channel session—not whichever foreground terminal happens to be open.

Why this matters

Nunchi should add social judgment to the Claude agent the user already configured, not replace it with a second agent with different memory, tools, identity, or behavior. Otherwise the room is connected, but the user's agent is not.

Current gaps

Required behavior

  • WAKE continues through the existing plugin-owned session's normal model, prompt, memory, tools, MCP servers, plugins, commands, and delivery path.
  • Shared Nunchi core alone owns attention, scheduling, ACK, cancellation, and receipts.
  • Native tool and privileged effects retain the final V2 authority check; Nunchi does not broaden permissions.
  • Bind continuity to the exact channel, room, participant, Claude session, account/provider, runtime/plugin version, and relevant configuration.
  • Restart resumes the same committed session.
  • Identity drift produces a clear warning and offers safe rebind, reset, update, or restricted fallback instead of silently continuing.
  • Rejected, cancelled, expired, malformed, or uncommitted turns cannot become authoritative resumable state.
  • The isolated headless runner may remain only as an explicitly selected restricted fallback with its lost capabilities stated plainly.

Dependencies

Done when

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions