capture-hooks status: "Claude Desktop: WIRED" is misleading, only Cowork has ambient hooks, Chat tab has none structurally
Summary
iai-mcp capture-hooks status reports Claude Desktop: ... WIRED and folds that into the overall status: ACTIVE line, which reads as "ambient capture works in Claude Desktop." It doesn't, for the surface most people mean when they say "Claude Desktop": the plain Chat tab. Verified live against a real install, not from reading the source.
What "WIRED" actually checks
capture-hooks status for the Desktop line only checks that iai-mcp is registered under mcpServers in claude_desktop_config.json. Confirmed by reading that file directly on a working install: it contains mcpServers (github, iai-mcp) and nothing else, no hooks key, no per-turn event config of any kind. That's correct and sufficient for MCP tools (memory_capture, episodes_recent, etc.) to be available for a model to call on request. It says nothing about whether anything captures automatically.
What was actually tested
Ran a full working session in Claude Desktop's Chat tab (capture-hooks status showing WIRED / ACTIVE the whole time), covering roughly two hours of substantive back-and-forth. Queried episodes_recent afterward: zero records from that conversation existed in the store. Only records from earlier, unrelated manual iai capture CLI calls were present. Chat tab has no hook surface to capture from, because Claude Desktop's config format (unlike Claude Code's settings.json) doesn't expose UserPromptSubmit/Stop-style events to local scripts at all — this isn't a missing wire, it's a surface that doesn't exist for that tab.
The nuance that makes this worth a precise fix, not just a caveat
Cowork (a different mode inside Claude Desktop) does have a real, separate hook mechanism, via the already-existing iai-mcp cowork install/status subcommand, which wires into each Cowork home's cowork_settings.json. Confirmed by running cowork install live: it correctly staged the plugin and reported no Cowork homes found because Cowork had never been opened on that machine, exactly the failure mode you'd want it to report. Once a Cowork session exists and install is rerun, that surface should genuinely get ambient capture, same reliability class as Claude Code's hooks.
So the current single Claude Desktop: ... WIRED line conflates three different things under one label:
- MCP tools available in Chat tab (true, and useful, but not ambient capture)
- MCP tools available in Cowork (same as above)
- Ambient hook capture in Cowork specifically (separate subcommand, separate state, can be INACTIVE even when Desktop's
WIREDline reads true)
Suggested fix
Split the Desktop line in capture-hooks status output into something like:
Claude Desktop MCP (tools, Chat + Cowork): WIRED
Claude Desktop Cowork hooks (ambient capture): ACTIVE / INACTIVE (see: iai-mcp cowork status)
and drop "Desktop also wired" from the summary status: ACTIVE line unless Cowork hooks are specifically active, since that's the only Desktop surface where "wired" implies the same thing it implies for Claude Code.
Happy to send a PR for the status-output wording if that's welcome, this doesn't require any behavior change, only making the existing INACTIVE/ACTIVE distinction (which the tool already computes correctly for cowork status) visible from the single combined capture-hooks status command too.
Yeah, you're right. That line only checks if iai-mcp is in mcpServers, then calls it ACTIVE, which reads like capture works there. It doesn't on the Chat tab, no event surface to hook. Cowork is the one Desktop surface where wired means what it does for Claude Code, and that's already its own cowork status. Splitting it the way you suggest is right.
Send the PR, just the wording, keep your own commits. Rebase on main.
I dont have a windows machine myself so this kind of live testing is genuinely worth a lot to me. three solid reports in a day, thank you.
Update: the scope of this issue is broader than originally reported
Confirmed with a live test, not inference. Opened a genuinely local Code session inside Claude Desktop (Code tab → "Local" → picked the actual folder on disk, C:\Users\...\iai-personal-memory-engine, not a remote/cloud environment), worked a couple of real turns in it (asked it to review branches and update main), then checked both episodes_recent and the raw hook log.
Result: zero new captures, and no log entry at all (~/.iai-mcp/logs/turn-capture-<today>.log didn't even exist for that day — not a failed attempt, no attempt). That distinction matters: if the hook command had fired and errored, it would still have written a line (the script logs before almost every early-exit path). A complete absence means ~/.claude/hooks/iai-mcp-turn-capture.sh was never invoked at all for this session, even though ~/.claude/settings.json on that exact machine has the hooks correctly wired (confirmed by reading the file directly) and the same hooks fire correctly from a standalone terminal claude session.
Why: the Code tab, even in Local mode, keeps its own isolated per-session storage under %APPDATA%\Claude\claude-code-sessions\<account>\<device>\, separate from both ~/.claude/ and Cowork's local-agent-mode-sessions\. That directory holds only session metadata (a local_<uuid>.json file), no hook or settings file of any kind. So this isn't a Local-vs-Cloud distinction — it's that the whole Desktop app's "Code" surface, local or remote, runs through an isolated session model that never reads ~/.claude/settings.json, the same architecture already documented for Cowork in _cowork.py's own module docstring ("Cowork sessions run with an isolated, per-session config dir, so hooks installed under ~/.claude/ never fire there") — turns out that applies to the Code tab too, not just Cowork.
So the real picture, confirmed end to end across every Desktop surface:
| Surface | Ambient capture |
|---|---|
| Chat tab | Never (no hook mechanism at all, confirmed earlier in this issue) |
| Cowork | Never on this app version (isolated session dir, see #119) |
| Code tab — Cloud/remote environment | Never (isolated session dir) |
| Code tab — Local (folder picker) | Never (isolated session dir, same as above — confirmed today) |
Standalone terminal claude (outside Desktop entirely) |
Works — this is the only confirmed-working path |
This isn't something the current fix (splitting the capture-hooks status Desktop line) fully captures — that fix correctly stopped overclaiming for the Chat tab, but "Claude Desktop ambient capture (Cowork)" as a label undersells how broad the gap actually is. Worth a follow-up doc pass (or a status line per Desktop surface) so nobody assumes "Local" mode in the Code tab is equivalent to a real terminal session, which is the natural assumption to make and the one that led to this test in the first place.
Not proposing a code fix here — same reasoning as #119, this is Desktop's session architecture, not something iai-mcp can hook into from outside. Documenting it so the README/troubleshooting section can be explicit: ambient capture requires a standalone terminal claude invocation; every Desktop-app surface (Chat, Cowork, Code tab regardless of Local/Cloud) is isolated from it.
Fixed in v3.0.8 (#155): the capture-hooks status line is relabelled to "Claude Desktop MCP tools:" so it no longer implies ambient/Cowork hooks are wired when the check only reflects MCP server registration. Thanks @oscampo for the precise report. Closing as resolved.