Claude Desktop Code tab

Shared Claude provider deployment, runtime surface evidence and verification limits

Claude Desktop Code tab

Prompt-first procedure: Describe the outcome you want in your agent conversation. The agent should select and load the appropriate AIWG assets, explain material changes, request any needed approval, and report verification evidence. Exact commands and flags appear only in the CLI reference.

First time using AIWG? Begin with Install, Connect, and Verify.

Claude Desktop's Code tab is a declared surface of the existing `claude` provider. Ask your agent to deploy your selected AIWG bundle for Claude. The provider selector remains `claude`; Desktop adds no counted integration.

Deployment and identity

For manual deployment, use the same command in CLI and Desktop sessions:

Use AIWG to complete this documented outcome: For manual deployment, use the same command in CLI and Desktop sessions
Have it inspect the current state, explain the plan, ask before material
changes, and report the result with verification evidence.

Both use the same Claude adapter: `.claude/agents`, `.claude/commands`, `.claude/rules`, `.claude/skills` (kernel), `.claude/.aiwg/skills` (indexed), `CLAUDE.md` and shared workspace context. Existing hook/settings behavior is unchanged. With positive Desktop detection, the adapter also writes a guarded `.claude/launch.json` and four local scheduled-task prompts. From a terminal, explicitly request these surfaces with:

AIWG_CLAUDE_SURFACE=desktop the agent-owned use operation sdlc the provider option claude

Preview configuration uses an existing package.json `dev`, `preview` or `start` script. Without one, the launch file has an empty configuration list and a diagnostic; add your server configuration in Desktop. New files default to `autoVerify: false`; review the command and port before launching.

Scheduled tasks cover issue audit, best-practices audit, cost reporting and lint gates. Their project-specific prompts live under `$CLAUDE_CONFIG_DIR/scheduled-tasks/<name>/SKILL.md` (default `~/.claude`). Support is degraded: in the Desktop UI, set each task's schedule, folder to the deployed project, model to your approved model, and enabled state to your intended on/off state. Prompt files cannot set or verify these four settings.

Unmanaged or invalid files are preserved with a diagnostic; only entries with both AIWG ownership markers are refreshed. `clean:providers` preserves launch files, task prompts, session worktrees and operator `.worktreeinclude` policy. AIWG does not emit `.worktreeinclude`; choose narrow include patterns yourself. See `$AIWG_ROOT/docs/generated-output-policy.md` for the rationale (not published on the docs site).

the agent-owned doctor operation reads user, project, local and managed settings without printing values. It reports `disableDesktopLocalSessions`, `browserExternalPageTools`, `disableBrowserExternalNavigation` and `managedMcpServers` controls and directs policy changes to the administrator. OS-delivered policy outside these on-disk settings and session-only overrides are not inspected.

The registry declares these surfaces:

SurfaceRelationshipDeployable
Claude Code CLI (`claude-code-cli`)Same providerYes, with `claude`
Desktop Code tab (`claude-desktop`; aliases `desktop`, `cc-desktop`)Same providerYes, with `claude`
Desktop chat / Cowork (`claude-desktop-chat`)Companion standardNo; MCP/MCPB integration only
Claude Code Web (`claude-code-web`)Future providerNo

Surface aliases are descriptive metadata, not additional provider selectors. Code-tab deployment does not configure Desktop chat MCP servers or MCPB.

Verify the detected surface

Ask your agent to report the active provider and surface. For manual inspection:

Use AIWG to complete this documented outcome: Ask your agent to report the active provider and surface. For manual inspection
Have it inspect the current state, explain the plan, ask before material
changes, and report the result with verification evidence.

With `CLAUDE_CODE_ENTRYPOINT=claude-desktop`, these report provider `claude` and surface `desktop`. `cli` identifies CLI; a Desktop app version is also Desktop evidence. Missing or conflicting evidence produces an unknown/null surface. Host session ids alone never identify a surface, and remote/web entrypoint mappings remain unverified. An explicit provider selection does not establish a surface without environment evidence.

Verification boundary

The assessment (`$AIWG_ROOT/docs/planning/claude-desktop-provider/assessment-and-issue-plan.md`, not published on the docs site) records a grissom Desktop Code-tab session on 2026-09-21 (Desktop 2.2553.1, Claude Code 2.1.275). Shared paths and its environment markers are recorded observations. This change verifies AIWG output with offline simulated environments; it does not constitute a new live Desktop verification.

Other Desktop releases, operating systems, cloud/SSH/WSL modes, runtime tool availability, native scheduled-task execution and chat MCP installation remain unverified here. Offline checks cover the generated files and preservation rules. Capability output uses the existing provider matrix; it is not a per-surface live tool probe. See the identity ADR for the decision, receipt hazards and criteria for revisiting it.