From cc0c8662640379a76d89d9de3d4f29951ea3ec0f Mon Sep 17 00:00:00 2001 From: zlareb1 Date: Tue, 10 Nov 2026 20:16:54 +0000 Subject: [PATCH 01/29] The quickstart and connect guide describe what a fresh install does MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Quickstart step 4's curl sent `Authorization: Bearer $LOOM_API_KEY` with the variable unset on a single-user install, which the server refuses as `authorization header must be Bearer `; the example sends no header and says when to add one. - Multi-user mode opens on the sign-in page, which has a Sign up tab. - Connect: transcripts are kept only while the namespace's Recording is on, which is off by default; Cursor and other MCP clients take their entry from Settings → Tokens → Connect, with the CLI as the alternative. Co-Authored-By: Claude Opus 5.5 Signed-off-by: zlareb1 --- .../getting-started/connect-a-coding-agent.md | 26 ++++++++++++------- docs/getting-started/quickstart.md | 23 ++++++++-------- 2 files changed, 28 insertions(+), 21 deletions(-) diff --git a/docs/getting-started/connect-a-coding-agent.md b/docs/getting-started/connect-a-coding-agent.md index 54c3711b1c..15ee4286f4 100644 --- a/docs/getting-started/connect-a-coding-agent.md +++ b/docs/getting-started/connect-a-coding-agent.md @@ -2,11 +2,15 @@ This page connects Claude Code, Codex, Cursor or another MCP client to a running Loom server. Install the plugin (or wire the MCP entry), point it at the server, and work as -usual. Loom captures each session, and the next session starts with what the last one -saved. To run a server yourself, start with the [quickstart](quickstart.md); to have your agent -install a pinned release and prove it works, give it the latest release's -`https://github.com/ClickHouse/loom/releases/latest/download/agent-setup.txt` -([Set up Loom with your coding agent](agent-setup.md)). +usual. What the agent saves, the next session starts with; the session's transcript is +kept once the namespace's owner turns on **Recording** on the dashboard's Conversations +page +([recording](../features/conversations-and-sessions.md#recording-is-the-owners-choice)), +which is off by default. To run a server yourself, start with the +[quickstart](quickstart.md); to have your agent install a pinned release and prove it +works, give it the latest release's +`https://github.com/ClickHouse/loom/releases/latest/download/agent-setup.txt` ([Set up +Loom with your coding agent](agent-setup.md)). ## What you need @@ -33,7 +37,8 @@ claude plugin install loom@loom \ Both `--config` values are optional; without them Claude Code asks once. Start a new session. Loom's session primer arrives at the top, and from then on: -- the hooks capture the conversation and tool observations into Loom; +- the hooks capture tool observations into Loom, and the conversation while the + namespace's Recording is on; - the `loom-memory`, `loom-code`, `loom-session` and other skills tell Claude when to save a fact, when to search, and how to use the code index; - `loom_search`, `loom_memory_set` and the code tools are available as MCP tools. @@ -61,7 +66,10 @@ the plugin installed: an entry with the same name replaces the plugin's. ## Cursor and other MCP clients -With the `loom` CLI installed (`pip install -e .` from a clone of the repository): +In the dashboard, **Settings → Tokens → Create token**, then choose the client under +**Connect**: the dialog shows the entry for its config file, with the token in it. With the +`loom` CLI installed (`pip install -e .` from a clone of the repository), one command writes +the entry instead: ```bash loom install --client cursor --server-url https://loom.example.com --token "$LOOM_API_KEY" @@ -81,8 +89,8 @@ command writes. reached the server. 2. Tell the agent something durable, for example "our deploy window is Tuesday and Thursday only". In a new session, ask "when can we deploy?". The answer comes from Loom. -3. Open the dashboard (`/`). The session's conversation and the saved fact are there, and you can - correct or delete either. +3. Open the dashboard (`/`). The saved fact is there, and the session's + conversation too while Recording is on; you can correct or delete either. `loom doctor --client` adds the local wiring checks when you have the CLI. diff --git a/docs/getting-started/quickstart.md b/docs/getting-started/quickstart.md index bffb28af9c..b02e9b74b7 100644 --- a/docs/getting-started/quickstart.md +++ b/docs/getting-started/quickstart.md @@ -270,13 +270,13 @@ docker compose --project-directory "$HOME/.loom" up -d --force-recreate loom docker compose --env-file .env -f compose.yaml -f dev/docker-compose.dev.yml --profile bundled up -d --force-recreate loom ``` -The dashboard then opens on **Sign up**, and every SDK and MCP call needs a token. The identity -modes are in [Identities and namespaces](../concepts/identities-and-namespaces.md#identity-modes). -Naming `trust-network` is also what lets a non-loopback `LOOM_BIND_HOST` start with -sign-up open, so anyone who reaches the port can then sign up. Before making the server -reachable by a team, follow the -[deployment guide](../operations/deployment.md#identity-modes) for operator access and -[TLS](../operations/deployment.md#proxy-and-tls). +The dashboard then opens on its sign-in page, which has a **Sign up** tab, and every SDK +and MCP call needs a token. The identity modes are in [Identities and +namespaces](../concepts/identities-and-namespaces.md#identity-modes). Naming +`trust-network` is also what lets a non-loopback `LOOM_BIND_HOST` start with sign-up open, +so anyone who reaches the port can then sign up. Before making the server reachable by a +team, follow the [deployment guide](../operations/deployment.md#identity-modes) for +operator access and [TLS](../operations/deployment.md#proxy-and-tls). ## 3. Get a token @@ -319,18 +319,17 @@ Every operation is a `POST /v1/` with a JSON body that names the identity `(org, namespace, agent)`: ```bash -curl -sX POST http://localhost:7777/v1/memory.set \ - -H "Authorization: Bearer $LOOM_API_KEY" -H 'Content-Type: application/json' \ +curl -sX POST http://localhost:7777/v1/memory.set -H 'Content-Type: application/json' \ -d '{"org":"dev","namespace":"local","agent":"quickstart", "memory_key":"deploy_window","value":"Tue and Thu only; never Friday."}' -curl -sX POST http://localhost:7777/v1/memory.search \ - -H "Authorization: Bearer $LOOM_API_KEY" -H 'Content-Type: application/json' \ +curl -sX POST http://localhost:7777/v1/memory.search -H 'Content-Type: application/json' \ -d '{"org":"dev","namespace":"local","query":"when can we deploy?"}' \ | jq '.results[0].content_excerpt' ``` -In single-user mode, leave out the `Authorization` header. The `memory.set` response +With auth on, add `-H "Authorization: Bearer $LOOM_API_KEY"` and use your account's org +and namespace; a header with an empty token is refused. The `memory.set` response carries `memory_id`, `content_sha256` and `status`. The search response carries `results` and `abstain`, which says whether the best hit is strong enough to answer from. Search reads every agent's memories in the namespace, including those added in the From 6f3dcf22876c6477ea51da16cdb10fe7b58b01b3 Mon Sep 17 00:00:00 2001 From: zlareb1 Date: Tue, 10 Nov 2026 20:22:43 +0000 Subject: [PATCH 02/29] Quickstart step 6 connects a single-user install without a token claude mcp add with -H "Authorization: Bearer $LOOM_API_KEY" and the variable unset registered an entry every call of which is refused; both commands now take the team-server flags only with auth on. Co-Authored-By: Claude Opus 5.5 Signed-off-by: zlareb1 --- docs/getting-started/connect-a-coding-agent.md | 9 ++++----- docs/getting-started/quickstart.md | 11 ++++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/getting-started/connect-a-coding-agent.md b/docs/getting-started/connect-a-coding-agent.md index 15ee4286f4..1bf71af5a4 100644 --- a/docs/getting-started/connect-a-coding-agent.md +++ b/docs/getting-started/connect-a-coding-agent.md @@ -2,9 +2,8 @@ This page connects Claude Code, Codex, Cursor or another MCP client to a running Loom server. Install the plugin (or wire the MCP entry), point it at the server, and work as -usual. What the agent saves, the next session starts with; the session's transcript is -kept once the namespace's owner turns on **Recording** on the dashboard's Conversations -page +usual. The next session starts with what the agent saved; the session's transcript is kept +once the namespace's owner turns on **Recording** on the dashboard's Conversations page ([recording](../features/conversations-and-sessions.md#recording-is-the-owners-choice)), which is off by default. To run a server yourself, start with the [quickstart](quickstart.md); to have your agent install a pinned release and prove it @@ -66,8 +65,8 @@ the plugin installed: an entry with the same name replaces the plugin's. ## Cursor and other MCP clients -In the dashboard, **Settings → Tokens → Create token**, then choose the client under -**Connect**: the dialog shows the entry for its config file, with the token in it. With the +In the dashboard, **Settings → Tokens → New token**, fill in the form and press **Create +token**, then choose the client under **Connect**: the dialog shows the entry for its config file, with the token in it. With the `loom` CLI installed (`pip install -e .` from a clone of the repository), one command writes the entry instead: diff --git a/docs/getting-started/quickstart.md b/docs/getting-started/quickstart.md index b02e9b74b7..c8b72cc595 100644 --- a/docs/getting-started/quickstart.md +++ b/docs/getting-started/quickstart.md @@ -382,18 +382,19 @@ capture at the end) and skills on top of the MCP tools: ```bash claude plugin marketplace add ClickHouse/loom -claude plugin install loom@loom \ - --config server_url=http://localhost:7777 \ - --config token="$LOOM_API_KEY" +claude plugin install loom@loom ``` Without the plugin, add the MCP entry directly: ```bash -claude mcp add --transport http loom "http://localhost:7777/mcp?toolset=coding" \ - -H "Authorization: Bearer $LOOM_API_KEY" -s user +claude mcp add --transport http loom "http://localhost:7777/mcp?toolset=coding" -s user ``` +Both reach a single-user server on this machine with no token. With auth on, pass +`--config server_url= --config token="$LOOM_API_KEY"` to `claude plugin install`, +or add `-H "Authorization: Bearer $LOOM_API_KEY"` to `claude mcp add`. + `loom install --client ` writes the MCP entry for Claude Desktop, Claude Code, Codex, Cursor, VS Code, Cline, Windsurf and Zed; with no flag it wires every client it finds. [Connect a coding agent](connect-a-coding-agent.md) covers Codex and Cursor. From a35d80aec367be81cbfa2cd15e8e741cfee1ba4a Mon Sep 17 00:00:00 2001 From: zlareb1 Date: Tue, 10 Nov 2026 20:26:04 +0000 Subject: [PATCH 03/29] Say what to answer at the plugin's setup prompt on a single-user install Co-Authored-By: Claude Opus 5.5 Signed-off-by: zlareb1 --- docs/getting-started/connect-a-coding-agent.md | 6 +++--- docs/getting-started/quickstart.md | 7 ++++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/getting-started/connect-a-coding-agent.md b/docs/getting-started/connect-a-coding-agent.md index 1bf71af5a4..ef9cee7c25 100644 --- a/docs/getting-started/connect-a-coding-agent.md +++ b/docs/getting-started/connect-a-coding-agent.md @@ -66,9 +66,9 @@ the plugin installed: an entry with the same name replaces the plugin's. ## Cursor and other MCP clients In the dashboard, **Settings → Tokens → New token**, fill in the form and press **Create -token**, then choose the client under **Connect**: the dialog shows the entry for its config file, with the token in it. With the -`loom` CLI installed (`pip install -e .` from a clone of the repository), one command writes -the entry instead: +token**, then choose the client under **Connect**: the dialog shows the entry for its +config file, with the token in it. With the `loom` CLI installed (`pip install -e .` from +a clone of the repository), one command writes the entry instead: ```bash loom install --client cursor --server-url https://loom.example.com --token "$LOOM_API_KEY" diff --git a/docs/getting-started/quickstart.md b/docs/getting-started/quickstart.md index c8b72cc595..438354c265 100644 --- a/docs/getting-started/quickstart.md +++ b/docs/getting-started/quickstart.md @@ -391,9 +391,10 @@ Without the plugin, add the MCP entry directly: claude mcp add --transport http loom "http://localhost:7777/mcp?toolset=coding" -s user ``` -Both reach a single-user server on this machine with no token. With auth on, pass -`--config server_url= --config token="$LOOM_API_KEY"` to `claude plugin install`, -or add `-H "Authorization: Bearer $LOOM_API_KEY"` to `claude mcp add`. +Both reach a single-user server on this machine with no token: when Claude Code asks for +the plugin's settings, keep the default server URL and leave the token empty. With auth +on, pass `--config server_url= --config token="$LOOM_API_KEY"` to `claude plugin +install`, or add `-H "Authorization: Bearer $LOOM_API_KEY"` to `claude mcp add`. `loom install --client ` writes the MCP entry for Claude Desktop, Claude Code, Codex, Cursor, VS Code, Cline, Windsurf and Zed; with no flag it wires every client it From d78ee8db2df1c874c61f6dc4ead333779df22fd7 Mon Sep 17 00:00:00 2001 From: zlareb1 Date: Tue, 10 Nov 2026 20:32:37 +0000 Subject: [PATCH 04/29] Reword the connect guide's Recording sentence Co-Authored-By: Claude Opus 5.5 Signed-off-by: zlareb1 --- docs/getting-started/connect-a-coding-agent.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/getting-started/connect-a-coding-agent.md b/docs/getting-started/connect-a-coding-agent.md index ef9cee7c25..e8d59a1828 100644 --- a/docs/getting-started/connect-a-coding-agent.md +++ b/docs/getting-started/connect-a-coding-agent.md @@ -2,12 +2,12 @@ This page connects Claude Code, Codex, Cursor or another MCP client to a running Loom server. Install the plugin (or wire the MCP entry), point it at the server, and work as -usual. The next session starts with what the agent saved; the session's transcript is kept -once the namespace's owner turns on **Recording** on the dashboard's Conversations page -([recording](../features/conversations-and-sessions.md#recording-is-the-owners-choice)), -which is off by default. To run a server yourself, start with the -[quickstart](quickstart.md); to have your agent install a pinned release and prove it -works, give it the latest release's +usual. The next session starts with what the agent saved. Recording, which keeps the +session's transcript, is off by default; the namespace's owner turns it on from the +dashboard's Conversations page +([recording](../features/conversations-and-sessions.md#recording-is-the-owners-choice)). +To run a server yourself, start with the [quickstart](quickstart.md); to have your agent +install a pinned release and prove it works, give it the latest release's `https://github.com/ClickHouse/loom/releases/latest/download/agent-setup.txt` ([Set up Loom with your coding agent](agent-setup.md)). From de6f05c7a2205b8b63966d3b5e7d6f7d75449fec Mon Sep 17 00:00:00 2001 From: zlareb1 Date: Tue, 10 Nov 2026 20:41:39 +0000 Subject: [PATCH 05/29] With auth on, the plugin reads the saved token; only another machine needs server_url Co-Authored-By: Claude Opus 5.5 Signed-off-by: zlareb1 --- docs/getting-started/quickstart.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/getting-started/quickstart.md b/docs/getting-started/quickstart.md index 438354c265..91e9b67a61 100644 --- a/docs/getting-started/quickstart.md +++ b/docs/getting-started/quickstart.md @@ -393,8 +393,9 @@ claude mcp add --transport http loom "http://localhost:7777/mcp?toolset=coding" Both reach a single-user server on this machine with no token: when Claude Code asks for the plugin's settings, keep the default server URL and leave the token empty. With auth -on, pass `--config server_url= --config token="$LOOM_API_KEY"` to `claude plugin -install`, or add `-H "Authorization: Bearer $LOOM_API_KEY"` to `claude mcp add`. +on, the plugin reads the token step 3 saved, and `claude mcp add` needs `-H +"Authorization: Bearer $LOOM_API_KEY"`; for a server on another machine, pass `--config +server_url=` to `claude plugin install`. `loom install --client ` writes the MCP entry for Claude Desktop, Claude Code, Codex, Cursor, VS Code, Cline, Windsurf and Zed; with no flag it wires every client it From 24b70b9248ff89ae6aa39d837f63cfa4829bab94 Mon Sep 17 00:00:00 2001 From: zlareb1 Date: Tue, 10 Nov 2026 20:50:01 +0000 Subject: [PATCH 06/29] Step 6 links the plugin's token order instead of naming one file Co-Authored-By: Claude Opus 5.5 Signed-off-by: zlareb1 --- docs/getting-started/quickstart.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/getting-started/quickstart.md b/docs/getting-started/quickstart.md index 91e9b67a61..6f95bf4b2e 100644 --- a/docs/getting-started/quickstart.md +++ b/docs/getting-started/quickstart.md @@ -391,11 +391,13 @@ Without the plugin, add the MCP entry directly: claude mcp add --transport http loom "http://localhost:7777/mcp?toolset=coding" -s user ``` -Both reach a single-user server on this machine with no token: when Claude Code asks for -the plugin's settings, keep the default server URL and leave the token empty. With auth -on, the plugin reads the token step 3 saved, and `claude mcp add` needs `-H -"Authorization: Bearer $LOOM_API_KEY"`; for a server on another machine, pass `--config -server_url=` to `claude plugin install`. +Both reach a single-user server on this machine without a token of yours: when Claude Code +asks for the plugin's settings, keep the default server URL and leave the token empty. +With auth on, the plugin takes its token from the first of `LOOM_API_KEY`, its token +option, `~/.loom/config.json` and `~/.loom/token` +([configuration](../features/integrations/claude-code.md#configuration)), and `claude mcp +add` needs `-H "Authorization: Bearer $LOOM_API_KEY"`; for a server on another machine, +pass `--config server_url=` to `claude plugin install`. `loom install --client ` writes the MCP entry for Claude Desktop, Claude Code, Codex, Cursor, VS Code, Cline, Windsurf and Zed; with no flag it wires every client it From 50dbc3324dfe766e92e0e9b08e14bfc7aa5aaa31 Mon Sep 17 00:00:00 2001 From: zlareb1 Date: Tue, 10 Nov 2026 21:00:58 +0000 Subject: [PATCH 07/29] Split step 6's auth-on sentence into three Co-Authored-By: Claude Opus 5.5 Signed-off-by: zlareb1 --- docs/getting-started/quickstart.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/getting-started/quickstart.md b/docs/getting-started/quickstart.md index 6f95bf4b2e..416ac10f3d 100644 --- a/docs/getting-started/quickstart.md +++ b/docs/getting-started/quickstart.md @@ -395,9 +395,9 @@ Both reach a single-user server on this machine without a token of yours: when C asks for the plugin's settings, keep the default server URL and leave the token empty. With auth on, the plugin takes its token from the first of `LOOM_API_KEY`, its token option, `~/.loom/config.json` and `~/.loom/token` -([configuration](../features/integrations/claude-code.md#configuration)), and `claude mcp -add` needs `-H "Authorization: Bearer $LOOM_API_KEY"`; for a server on another machine, -pass `--config server_url=` to `claude plugin install`. +([configuration](../features/integrations/claude-code.md#configuration)). The MCP entry +needs `-H "Authorization: Bearer $LOOM_API_KEY"`. For a server on another machine, pass +`--config server_url=` to `claude plugin install`. `loom install --client ` writes the MCP entry for Claude Desktop, Claude Code, Codex, Cursor, VS Code, Cline, Windsurf and Zed; with no flag it wires every client it From a6711587f391599bce357eeafa361e2e841be16a Mon Sep 17 00:00:00 2001 From: zlareb1 Date: Tue, 10 Nov 2026 21:16:02 +0000 Subject: [PATCH 08/29] Say to clear the single-user identity the plugin saved before turning auth on Co-Authored-By: Claude Opus 5.5 Signed-off-by: zlareb1 --- docs/getting-started/quickstart.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/getting-started/quickstart.md b/docs/getting-started/quickstart.md index 416ac10f3d..7b37a38bfd 100644 --- a/docs/getting-started/quickstart.md +++ b/docs/getting-started/quickstart.md @@ -397,7 +397,9 @@ With auth on, the plugin takes its token from the first of `LOOM_API_KEY`, its t option, `~/.loom/config.json` and `~/.loom/token` ([configuration](../features/integrations/claude-code.md#configuration)). The MCP entry needs `-H "Authorization: Bearer $LOOM_API_KEY"`. For a server on another machine, pass -`--config server_url=` to `claude plugin install`. +`--config server_url=` to `claude plugin install`. A session that ran while the +server was single-user saved that identity in `~/.loom/config.json`; after turning auth +on, delete its `token`, `org` and `namespace`. `loom install --client ` writes the MCP entry for Claude Desktop, Claude Code, Codex, Cursor, VS Code, Cline, Windsurf and Zed; with no flag it wires every client it From 70c79a8f980d1b647fa56b78a3af2920dbac2fba Mon Sep 17 00:00:00 2001 From: zlareb1 Date: Tue, 10 Nov 2026 21:29:34 +0000 Subject: [PATCH 09/29] Step 6 with auth on: save the token in config.json, as the dashboard shows Deleting three keys left the saved url, so the MCP header helper signed up on its own while the hooks used the token option. The page now gives the one file the dashboard's Claude Code setup writes. Co-Authored-By: Claude Opus 5.5 Signed-off-by: zlareb1 --- docs/getting-started/quickstart.md | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/docs/getting-started/quickstart.md b/docs/getting-started/quickstart.md index 7b37a38bfd..03e6f5a3da 100644 --- a/docs/getting-started/quickstart.md +++ b/docs/getting-started/quickstart.md @@ -392,14 +392,18 @@ claude mcp add --transport http loom "http://localhost:7777/mcp?toolset=coding" ``` Both reach a single-user server on this machine without a token of yours: when Claude Code -asks for the plugin's settings, keep the default server URL and leave the token empty. -With auth on, the plugin takes its token from the first of `LOOM_API_KEY`, its token -option, `~/.loom/config.json` and `~/.loom/token` -([configuration](../features/integrations/claude-code.md#configuration)). The MCP entry -needs `-H "Authorization: Bearer $LOOM_API_KEY"`. For a server on another machine, pass -`--config server_url=` to `claude plugin install`. A session that ran while the -server was single-user saved that identity in `~/.loom/config.json`; after turning auth -on, delete its `token`, `org` and `namespace`. +asks for the plugin's settings, keep the default server URL and leave the token empty. The +first session saves that single-user identity in `~/.loom/config.json`. + +With auth on: + +- Save your token where the plugin reads it, as **Settings → Tokens** shows for Claude Code: + `~/.loom/config.json` holding `{"url": "http://localhost:7777", "token": ""}` + (mode 600). It replaces the single-user identity an earlier session saved there; left in + place, the plugin keeps writing to `dev/local` as that identity + ([configuration](../features/integrations/claude-code.md#configuration)). +- A `claude mcp add` entry needs `-H "Authorization: Bearer $LOOM_API_KEY"`. +- For a server on another machine, the file's `url` names it. `loom install --client ` writes the MCP entry for Claude Desktop, Claude Code, Codex, Cursor, VS Code, Cline, Windsurf and Zed; with no flag it wires every client it From b88d441f46e5f5b67dba03f98db1baed428b31b0 Mon Sep 17 00:00:00 2001 From: zlareb1 Date: Tue, 10 Nov 2026 21:34:33 +0000 Subject: [PATCH 10/29] Step 6 with auth on follows the dashboard's Claude Code setup The connect guide's token steps name the New token form as a first visit shows it. Co-Authored-By: Claude Opus 5.5 Signed-off-by: zlareb1 --- docs/getting-started/connect-a-coding-agent.md | 9 +++++---- docs/getting-started/quickstart.md | 18 ++++++------------ 2 files changed, 11 insertions(+), 16 deletions(-) diff --git a/docs/getting-started/connect-a-coding-agent.md b/docs/getting-started/connect-a-coding-agent.md index e8d59a1828..a2854828ff 100644 --- a/docs/getting-started/connect-a-coding-agent.md +++ b/docs/getting-started/connect-a-coding-agent.md @@ -65,10 +65,11 @@ the plugin installed: an entry with the same name replaces the plugin's. ## Cursor and other MCP clients -In the dashboard, **Settings → Tokens → New token**, fill in the form and press **Create -token**, then choose the client under **Connect**: the dialog shows the entry for its -config file, with the token in it. With the `loom` CLI installed (`pip install -e .` from -a clone of the repository), one command writes the entry instead: +In the dashboard, open **Settings → Tokens**, fill in the **New token** form (press **New +token** first if a token exists) and press **Create token**, then choose the client under +**Connect**: the dialog shows the entry for its config file, with the token in it. With +the `loom` CLI installed (`pip install -e .` from a clone of the repository), one command +writes the entry instead: ```bash loom install --client cursor --server-url https://loom.example.com --token "$LOOM_API_KEY" diff --git a/docs/getting-started/quickstart.md b/docs/getting-started/quickstart.md index 03e6f5a3da..e65979ae7d 100644 --- a/docs/getting-started/quickstart.md +++ b/docs/getting-started/quickstart.md @@ -392,18 +392,12 @@ claude mcp add --transport http loom "http://localhost:7777/mcp?toolset=coding" ``` Both reach a single-user server on this machine without a token of yours: when Claude Code -asks for the plugin's settings, keep the default server URL and leave the token empty. The -first session saves that single-user identity in `~/.loom/config.json`. - -With auth on: - -- Save your token where the plugin reads it, as **Settings → Tokens** shows for Claude Code: - `~/.loom/config.json` holding `{"url": "http://localhost:7777", "token": ""}` - (mode 600). It replaces the single-user identity an earlier session saved there; left in - place, the plugin keeps writing to `dev/local` as that identity - ([configuration](../features/integrations/claude-code.md#configuration)). -- A `claude mcp add` entry needs `-H "Authorization: Bearer $LOOM_API_KEY"`. -- For a server on another machine, the file's `url` names it. +asks for the plugin's settings, keep the default server URL and leave the token empty. + +With auth on, create a token in **Settings → Tokens** and choose **Claude Code** under +**Connect**: the dialog shows the setup for the plugin and for a `claude mcp add` entry, +with the token in it. Its `~/.loom/config.json` replaces the single-user identity the +plugin's first session saved there. `loom install --client ` writes the MCP entry for Claude Desktop, Claude Code, Codex, Cursor, VS Code, Cline, Windsurf and Zed; with no flag it wires every client it From 12fb89a9969a1517e4da587decf48ad42f42f1ea Mon Sep 17 00:00:00 2001 From: zlareb1 Date: Tue, 10 Nov 2026 21:47:22 +0000 Subject: [PATCH 11/29] Step 6 states the plugin's token order; Connect lists its clients Co-Authored-By: Claude Opus 5.5 Signed-off-by: zlareb1 --- docs/getting-started/connect-a-coding-agent.md | 10 ++++++---- docs/getting-started/quickstart.md | 6 ++++-- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/docs/getting-started/connect-a-coding-agent.md b/docs/getting-started/connect-a-coding-agent.md index a2854828ff..8502f883da 100644 --- a/docs/getting-started/connect-a-coding-agent.md +++ b/docs/getting-started/connect-a-coding-agent.md @@ -66,10 +66,12 @@ the plugin installed: an entry with the same name replaces the plugin's. ## Cursor and other MCP clients In the dashboard, open **Settings → Tokens**, fill in the **New token** form (press **New -token** first if a token exists) and press **Create token**, then choose the client under -**Connect**: the dialog shows the entry for its config file, with the token in it. With -the `loom` CLI installed (`pip install -e .` from a clone of the repository), one command -writes the entry instead: +token** first if a token exists) and press **Create token**, then choose your client +(Cursor, VS Code, Cline, Windsurf, Zed or Claude Desktop) under **Connect**: the dialog +shows the entry for its config file, with the token in it; other clients take the entry +[MCP clients](../features/integrations/mcp-clients.md) shows. With the `loom` CLI +installed (`pip install -e .` from a clone of the repository), one command writes the +entry instead: ```bash loom install --client cursor --server-url https://loom.example.com --token "$LOOM_API_KEY" diff --git a/docs/getting-started/quickstart.md b/docs/getting-started/quickstart.md index e65979ae7d..4df7b461d2 100644 --- a/docs/getting-started/quickstart.md +++ b/docs/getting-started/quickstart.md @@ -396,8 +396,10 @@ asks for the plugin's settings, keep the default server URL and leave the token With auth on, create a token in **Settings → Tokens** and choose **Claude Code** under **Connect**: the dialog shows the setup for the plugin and for a `claude mcp add` entry, -with the token in it. Its `~/.loom/config.json` replaces the single-user identity the -plugin's first session saved there. +with the token in it. Its `~/.loom/config.json` replaces any single-user identity a plugin +session saved there; the plugin reads `LOOM_API_KEY` before that file +([configuration](../features/integrations/claude-code.md#configuration)), so a +`LOOM_API_KEY` in Claude Code's environment must hold the new token or be unset. `loom install --client ` writes the MCP entry for Claude Desktop, Claude Code, Codex, Cursor, VS Code, Cline, Windsurf and Zed; with no flag it wires every client it From 6cf08d0f2b7ae30a6c4cbd9285c05c20ae1298e5 Mon Sep 17 00:00:00 2001 From: zlareb1 Date: Tue, 10 Nov 2026 21:55:01 +0000 Subject: [PATCH 12/29] The connect guide says exactly what reaches Loom with recording off The plugin sends tool observations and the session's last turns for extraction whatever the switch says; only the transcript waits for Record conversations. Step 6 says to remove a tokenless claude mcp add entry first, since the command refuses a name that exists. Co-Authored-By: Claude Opus 5.5 Signed-off-by: zlareb1 --- docs/getting-started/connect-a-coding-agent.md | 14 ++++++++------ docs/getting-started/quickstart.md | 4 +++- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/docs/getting-started/connect-a-coding-agent.md b/docs/getting-started/connect-a-coding-agent.md index 8502f883da..91ba465598 100644 --- a/docs/getting-started/connect-a-coding-agent.md +++ b/docs/getting-started/connect-a-coding-agent.md @@ -2,9 +2,10 @@ This page connects Claude Code, Codex, Cursor or another MCP client to a running Loom server. Install the plugin (or wire the MCP entry), point it at the server, and work as -usual. The next session starts with what the agent saved. Recording, which keeps the -session's transcript, is off by default; the namespace's owner turns it on from the -dashboard's Conversations page +usual. The next session starts with what the agent saved. What the plugin sends to Loom is +listed in [data handling](../features/integrations/claude-code.md#data-handling); the +session's transcript is kept only while the namespace's **Record conversations** switch on +the dashboard's Conversations page is on, which it is not by default ([recording](../features/conversations-and-sessions.md#recording-is-the-owners-choice)). To run a server yourself, start with the [quickstart](quickstart.md); to have your agent install a pinned release and prove it works, give it the latest release's @@ -36,8 +37,9 @@ claude plugin install loom@loom \ Both `--config` values are optional; without them Claude Code asks once. Start a new session. Loom's session primer arrives at the top, and from then on: -- the hooks capture tool observations into Loom, and the conversation while the - namespace's Recording is on; +- the hooks send what [data handling](../features/integrations/claude-code.md#data-handling) + lists, among it tool observations and the session's last turns for extraction, and the + transcript while **Record conversations** is on; - the `loom-memory`, `loom-code`, `loom-session` and other skills tell Claude when to save a fact, when to search, and how to use the code index; - `loom_search`, `loom_memory_set` and the code tools are available as MCP tools. @@ -92,7 +94,7 @@ command writes. 2. Tell the agent something durable, for example "our deploy window is Tuesday and Thursday only". In a new session, ask "when can we deploy?". The answer comes from Loom. 3. Open the dashboard (`/`). The saved fact is there, and the session's - conversation too while Recording is on; you can correct or delete either. + conversation too while **Record conversations** is on; you can correct or delete either. `loom doctor --client` adds the local wiring checks when you have the CLI. diff --git a/docs/getting-started/quickstart.md b/docs/getting-started/quickstart.md index 4df7b461d2..7251b5bbc1 100644 --- a/docs/getting-started/quickstart.md +++ b/docs/getting-started/quickstart.md @@ -399,7 +399,9 @@ With auth on, create a token in **Settings → Tokens** and choose **Claude Code with the token in it. Its `~/.loom/config.json` replaces any single-user identity a plugin session saved there; the plugin reads `LOOM_API_KEY` before that file ([configuration](../features/integrations/claude-code.md#configuration)), so a -`LOOM_API_KEY` in Claude Code's environment must hold the new token or be unset. +`LOOM_API_KEY` in Claude Code's environment must hold the new token or be unset. Remove a +`claude mcp add` entry made without a token (`claude mcp remove loom -s user`) before +running the dialog's command, which refuses a name that exists. `loom install --client ` writes the MCP entry for Claude Desktop, Claude Code, Codex, Cursor, VS Code, Cline, Windsurf and Zed; with no flag it wires every client it From 7e2ffd559c8e668b1b219dc410ebfa32538b3a23 Mon Sep 17 00:00:00 2001 From: zlareb1 Date: Tue, 10 Nov 2026 21:59:03 +0000 Subject: [PATCH 13/29] The connect guide links the plugin's data-handling list instead of summarising it Step 6 says to overwrite config.json with the dialog's contents and names the token option beside LOOM_API_KEY. Co-Authored-By: Claude Opus 5.5 Signed-off-by: zlareb1 --- .../getting-started/connect-a-coding-agent.md | 19 ++++++++----------- docs/getting-started/quickstart.md | 13 +++++++------ 2 files changed, 15 insertions(+), 17 deletions(-) diff --git a/docs/getting-started/connect-a-coding-agent.md b/docs/getting-started/connect-a-coding-agent.md index 91ba465598..5e82c69595 100644 --- a/docs/getting-started/connect-a-coding-agent.md +++ b/docs/getting-started/connect-a-coding-agent.md @@ -2,13 +2,11 @@ This page connects Claude Code, Codex, Cursor or another MCP client to a running Loom server. Install the plugin (or wire the MCP entry), point it at the server, and work as -usual. The next session starts with what the agent saved. What the plugin sends to Loom is -listed in [data handling](../features/integrations/claude-code.md#data-handling); the -session's transcript is kept only while the namespace's **Record conversations** switch on -the dashboard's Conversations page is on, which it is not by default -([recording](../features/conversations-and-sessions.md#recording-is-the-owners-choice)). -To run a server yourself, start with the [quickstart](quickstart.md); to have your agent -install a pinned release and prove it works, give it the latest release's +usual. The next session starts with what the agent saved. What the plugin sends to Loom, +and what the namespace's conversation recording (off by default) changes, is in [data +handling](../features/integrations/claude-code.md#data-handling). To run a server +yourself, start with the [quickstart](quickstart.md); to have your agent install a pinned +release and prove it works, give it the latest release's `https://github.com/ClickHouse/loom/releases/latest/download/agent-setup.txt` ([Set up Loom with your coding agent](agent-setup.md)). @@ -37,9 +35,8 @@ claude plugin install loom@loom \ Both `--config` values are optional; without them Claude Code asks once. Start a new session. Loom's session primer arrives at the top, and from then on: -- the hooks send what [data handling](../features/integrations/claude-code.md#data-handling) - lists, among it tool observations and the session's last turns for extraction, and the - transcript while **Record conversations** is on; +- the hooks send Loom what [data handling](../features/integrations/claude-code.md#data-handling) + lists; - the `loom-memory`, `loom-code`, `loom-session` and other skills tell Claude when to save a fact, when to search, and how to use the code index; - `loom_search`, `loom_memory_set` and the code tools are available as MCP tools. @@ -94,7 +91,7 @@ command writes. 2. Tell the agent something durable, for example "our deploy window is Tuesday and Thursday only". In a new session, ask "when can we deploy?". The answer comes from Loom. 3. Open the dashboard (`/`). The saved fact is there, and the session's - conversation too while **Record conversations** is on; you can correct or delete either. + conversation too while conversation recording is on; you can correct or delete either. `loom doctor --client` adds the local wiring checks when you have the CLI. diff --git a/docs/getting-started/quickstart.md b/docs/getting-started/quickstart.md index 7251b5bbc1..e2844c4fb8 100644 --- a/docs/getting-started/quickstart.md +++ b/docs/getting-started/quickstart.md @@ -396,12 +396,13 @@ asks for the plugin's settings, keep the default server URL and leave the token With auth on, create a token in **Settings → Tokens** and choose **Claude Code** under **Connect**: the dialog shows the setup for the plugin and for a `claude mcp add` entry, -with the token in it. Its `~/.loom/config.json` replaces any single-user identity a plugin -session saved there; the plugin reads `LOOM_API_KEY` before that file -([configuration](../features/integrations/claude-code.md#configuration)), so a -`LOOM_API_KEY` in Claude Code's environment must hold the new token or be unset. Remove a -`claude mcp add` entry made without a token (`claude mcp remove loom -s user`) before -running the dialog's command, which refuses a name that exists. +with the token in it. Overwrite `~/.loom/config.json` with the dialog's contents: an `org` +or `namespace` a single-user session left in it outranks the token. The plugin reads +`LOOM_API_KEY` and its `token` option before that file +([configuration](../features/integrations/claude-code.md#configuration)), so both must +hold the new token or be empty. Remove a `claude mcp add` entry made without a token +(`claude mcp remove loom -s user`) before running the dialog's command, which refuses a +name that exists. `loom install --client ` writes the MCP entry for Claude Desktop, Claude Code, Codex, Cursor, VS Code, Cline, Windsurf and Zed; with no flag it wires every client it From 9d5473e2efd1781d62c9ea8c7e5ace7ecc406561 Mon Sep 17 00:00:00 2001 From: zlareb1 Date: Tue, 10 Nov 2026 22:08:45 +0000 Subject: [PATCH 14/29] Name the config.json block and the Recording switch as the dashboard shows them Co-Authored-By: Claude Opus 5.5 Signed-off-by: zlareb1 --- docs/getting-started/connect-a-coding-agent.md | 3 ++- docs/getting-started/quickstart.md | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/getting-started/connect-a-coding-agent.md b/docs/getting-started/connect-a-coding-agent.md index 5e82c69595..03d556d23f 100644 --- a/docs/getting-started/connect-a-coding-agent.md +++ b/docs/getting-started/connect-a-coding-agent.md @@ -3,7 +3,8 @@ This page connects Claude Code, Codex, Cursor or another MCP client to a running Loom server. Install the plugin (or wire the MCP entry), point it at the server, and work as usual. The next session starts with what the agent saved. What the plugin sends to Loom, -and what the namespace's conversation recording (off by default) changes, is in [data +and what conversation recording (the Conversations page's **Recording** switch, +`conversation.set_logging`; off by default) changes, is in [data handling](../features/integrations/claude-code.md#data-handling). To run a server yourself, start with the [quickstart](quickstart.md); to have your agent install a pinned release and prove it works, give it the latest release's diff --git a/docs/getting-started/quickstart.md b/docs/getting-started/quickstart.md index e2844c4fb8..1a237f6eac 100644 --- a/docs/getting-started/quickstart.md +++ b/docs/getting-started/quickstart.md @@ -396,9 +396,10 @@ asks for the plugin's settings, keep the default server URL and leave the token With auth on, create a token in **Settings → Tokens** and choose **Claude Code** under **Connect**: the dialog shows the setup for the plugin and for a `claude mcp add` entry, -with the token in it. Overwrite `~/.loom/config.json` with the dialog's contents: an `org` -or `namespace` a single-user session left in it outranks the token. The plugin reads -`LOOM_API_KEY` and its `token` option before that file +with the token in it. Overwrite `~/.loom/config.json` with the dialog's `config.json` +block (adding back a `code_repo` you had set): an `org` or `namespace` a single-user +session left in it outranks the token. The plugin reads `LOOM_API_KEY` and its `token` +option before that file ([configuration](../features/integrations/claude-code.md#configuration)), so both must hold the new token or be empty. Remove a `claude mcp add` entry made without a token (`claude mcp remove loom -s user`) before running the dialog's command, which refuses a From 434924a9a7fa1dc3f86d68cc84686d7ff733c9c5 Mon Sep 17 00:00:00 2001 From: zlareb1 Date: Tue, 10 Nov 2026 22:17:01 +0000 Subject: [PATCH 15/29] Name the switch Record conversations, as the dashboard labels it Co-Authored-By: Claude Opus 5.5 Signed-off-by: zlareb1 --- docs/getting-started/connect-a-coding-agent.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/getting-started/connect-a-coding-agent.md b/docs/getting-started/connect-a-coding-agent.md index 03d556d23f..b740693423 100644 --- a/docs/getting-started/connect-a-coding-agent.md +++ b/docs/getting-started/connect-a-coding-agent.md @@ -3,8 +3,8 @@ This page connects Claude Code, Codex, Cursor or another MCP client to a running Loom server. Install the plugin (or wire the MCP entry), point it at the server, and work as usual. The next session starts with what the agent saved. What the plugin sends to Loom, -and what conversation recording (the Conversations page's **Recording** switch, -`conversation.set_logging`; off by default) changes, is in [data +and what conversation recording (the namespace owner's **Record conversations** switch on +the Conversations page, `conversation.set_logging`; off by default) changes, is in [data handling](../features/integrations/claude-code.md#data-handling). To run a server yourself, start with the [quickstart](quickstart.md); to have your agent install a pinned release and prove it works, give it the latest release's From 22ba0954a8d78744444caa591936a92bac210aa7 Mon Sep 17 00:00:00 2001 From: zlareb1 Date: Tue, 10 Nov 2026 22:21:54 +0000 Subject: [PATCH 16/29] One name for the Record conversations switch; shorter connect sentences Co-Authored-By: Claude Opus 5.5 Signed-off-by: zlareb1 --- docs/features/conversations-and-sessions.md | 2 +- docs/getting-started/connect-a-coding-agent.md | 16 ++++++++-------- docs/getting-started/quickstart.md | 6 +++--- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/features/conversations-and-sessions.md b/docs/features/conversations-and-sessions.md index f7d2194409..fd2c19696a 100644 --- a/docs/features/conversations-and-sessions.md +++ b/docs/features/conversations-and-sessions.md @@ -20,7 +20,7 @@ extracted memory, and a brief never competes with facts in recall. on. The switch (`conversation_logging_enabled` on `loom.namespaces`) is off by default and fails closed: a namespace with no row is not recorded. The owner turns it on with `conversation.set_logging(enabled=true)` (admin) or -the Recording toggle on the dashboard's Conversations page. +the **Record conversations** switch on the dashboard's Conversations page. When logging is off the append is accepted and nothing is kept: the response says `stored: false, reason: "logging_disabled"`. A client cannot override the owner's choice. diff --git a/docs/getting-started/connect-a-coding-agent.md b/docs/getting-started/connect-a-coding-agent.md index b740693423..720d5c70b1 100644 --- a/docs/getting-started/connect-a-coding-agent.md +++ b/docs/getting-started/connect-a-coding-agent.md @@ -2,12 +2,12 @@ This page connects Claude Code, Codex, Cursor or another MCP client to a running Loom server. Install the plugin (or wire the MCP entry), point it at the server, and work as -usual. The next session starts with what the agent saved. What the plugin sends to Loom, -and what conversation recording (the namespace owner's **Record conversations** switch on -the Conversations page, `conversation.set_logging`; off by default) changes, is in [data -handling](../features/integrations/claude-code.md#data-handling). To run a server -yourself, start with the [quickstart](quickstart.md); to have your agent install a pinned -release and prove it works, give it the latest release's +usual. The next session starts with what the agent saved. What the plugin sends to Loom is +in [data handling](../features/integrations/claude-code.md#data-handling). Conversation +recording is off by default; the namespace owner turns it on with the **Record +conversations** switch on the Conversations page (`conversation.set_logging`). To run a +server yourself, start with the [quickstart](quickstart.md); to have your agent install a +pinned release and prove it works, give it the latest release's `https://github.com/ClickHouse/loom/releases/latest/download/agent-setup.txt` ([Set up Loom with your coding agent](agent-setup.md)). @@ -68,8 +68,8 @@ the plugin installed: an entry with the same name replaces the plugin's. In the dashboard, open **Settings → Tokens**, fill in the **New token** form (press **New token** first if a token exists) and press **Create token**, then choose your client (Cursor, VS Code, Cline, Windsurf, Zed or Claude Desktop) under **Connect**: the dialog -shows the entry for its config file, with the token in it; other clients take the entry -[MCP clients](../features/integrations/mcp-clients.md) shows. With the `loom` CLI +shows the entry for its config file, with the token in it. For any other MCP client, copy +the entry from [MCP clients](../features/integrations/mcp-clients.md). With the `loom` CLI installed (`pip install -e .` from a clone of the repository), one command writes the entry instead: diff --git a/docs/getting-started/quickstart.md b/docs/getting-started/quickstart.md index 1a237f6eac..b3f49724ce 100644 --- a/docs/getting-started/quickstart.md +++ b/docs/getting-started/quickstart.md @@ -397,9 +397,9 @@ asks for the plugin's settings, keep the default server URL and leave the token With auth on, create a token in **Settings → Tokens** and choose **Claude Code** under **Connect**: the dialog shows the setup for the plugin and for a `claude mcp add` entry, with the token in it. Overwrite `~/.loom/config.json` with the dialog's `config.json` -block (adding back a `code_repo` you had set): an `org` or `namespace` a single-user -session left in it outranks the token. The plugin reads `LOOM_API_KEY` and its `token` -option before that file +block (adding back any `code_repo` or `agent` you had set): an `org` or `namespace` a +single-user session left in it outranks the token. The plugin reads `LOOM_API_KEY` and its +`token` option before that file ([configuration](../features/integrations/claude-code.md#configuration)), so both must hold the new token or be empty. Remove a `claude mcp add` entry made without a token (`claude mcp remove loom -s user`) before running the dialog's command, which refuses a From cf1e0cd0f3c9d83f24ea2d55d17b59dc57c5ab66 Mon Sep 17 00:00:00 2001 From: zlareb1 Date: Tue, 10 Nov 2026 22:31:24 +0000 Subject: [PATCH 17/29] Step 6's auth-on switch is three numbered steps Co-Authored-By: Claude Opus 5.5 Signed-off-by: zlareb1 --- docs/getting-started/quickstart.md | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/docs/getting-started/quickstart.md b/docs/getting-started/quickstart.md index b3f49724ce..2dba02af32 100644 --- a/docs/getting-started/quickstart.md +++ b/docs/getting-started/quickstart.md @@ -396,14 +396,16 @@ asks for the plugin's settings, keep the default server URL and leave the token With auth on, create a token in **Settings → Tokens** and choose **Claude Code** under **Connect**: the dialog shows the setup for the plugin and for a `claude mcp add` entry, -with the token in it. Overwrite `~/.loom/config.json` with the dialog's `config.json` -block (adding back any `code_repo` or `agent` you had set): an `org` or `namespace` a -single-user session left in it outranks the token. The plugin reads `LOOM_API_KEY` and its -`token` option before that file -([configuration](../features/integrations/claude-code.md#configuration)), so both must -hold the new token or be empty. Remove a `claude mcp add` entry made without a token -(`claude mcp remove loom -s user`) before running the dialog's command, which refuses a -name that exists. +with the token in it. Then: + +1. Overwrite `~/.loom/config.json` with the dialog's `config.json` block, adding back any + `code_repo` or `agent` you had set: an `org` or `namespace` a single-user session left + in the file outranks the token. +2. Leave `LOOM_API_KEY` and the plugin's `token` option empty or set to the new token: the + plugin reads both before that file + ([configuration](../features/integrations/claude-code.md#configuration)). +3. Remove a `claude mcp add` entry made without a token (`claude mcp remove loom -s user`) + before running the dialog's command, which refuses a name that exists. `loom install --client ` writes the MCP entry for Claude Desktop, Claude Code, Codex, Cursor, VS Code, Cline, Windsurf and Zed; with no flag it wires every client it From 4e202f7bbeba652f95d0c4b8a4999b2a7e8eff92 Mon Sep 17 00:00:00 2001 From: zlareb1 Date: Tue, 10 Nov 2026 22:37:30 +0000 Subject: [PATCH 18/29] The Cursor pages name the Record conversations switch too Co-Authored-By: Claude Opus 5.5 Signed-off-by: zlareb1 --- docs/features/integrations/cursor.md | 2 +- integrations/cursor/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/features/integrations/cursor.md b/docs/features/integrations/cursor.md index dd8531fc1d..883c456fa3 100644 --- a/docs/features/integrations/cursor.md +++ b/docs/features/integrations/cursor.md @@ -53,7 +53,7 @@ Turns are stored only when the namespace has conversation logging on. exec "$HOME/.cursor/hooks/cursor-session-hook.sh" "$@" ``` -5. Turn on conversation logging for the namespace (the dashboard's Recording toggle or +5. Turn on conversation logging for the namespace (the dashboard's **Record conversations** switch or `conversation.set_logging`). Until then the server accepts the turns and stores none. | Variable | Default | Meaning | diff --git a/integrations/cursor/README.md b/integrations/cursor/README.md index 19f750b8c5..ef9aa08bb2 100644 --- a/integrations/cursor/README.md +++ b/integrations/cursor/README.md @@ -38,7 +38,7 @@ the two are independent. exec "$HOME/.cursor/hooks/cursor-session-hook.sh" "$@" ``` -5. Turn on conversation logging for the namespace (the dashboard's Recording toggle or +5. Turn on conversation logging for the namespace (the dashboard's **Record conversations** switch or `conversation.set_logging`). Until then the server accepts the turns and stores none. From 3b7c258c83ffb42850a9449b6921ea5ef71c81eb Mon Sep 17 00:00:00 2001 From: zlareb1 Date: Tue, 10 Nov 2026 22:44:22 +0000 Subject: [PATCH 19/29] The integrations index and the titler setting name the Record conversations switch Co-Authored-By: Claude Opus 5.5 Signed-off-by: zlareb1 --- docs/reference/configuration.md | 2 +- integrations/README.md | 2 +- loom.example.yaml | 3 ++- schemas/loom-settings.schema.json | 2 +- server/settings/catalog.py | 4 ++-- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/reference/configuration.md b/docs/reference/configuration.md index 28eaaf866c..1c61afcf24 100644 --- a/docs/reference/configuration.md +++ b/docs/reference/configuration.md @@ -851,7 +851,7 @@ Knowledge documents and conversations: chunking, search floor, thread titles. | --- | --- | --- | --- | --- | | `LOOM_CONVERSATION_SEARCH_MIN_SIMILARITY` | `float` | `0.3` | live | conversation.search cosine floor; without it the top_k nearest threads return however far. Stricter than memory recall: chat excerpts are noisy. | | `LOOM_CONVERSATION_SEARCH_EXCERPT_CHARS` | `int` | `240` | live | Characters of a turn a conversation search hit or a saved-message listing shows; it changes no stored row. At most 2048, the most an embedding row stores (EMBEDDED_EXCERPT_CHARS), so the vector path can always fill it. A saved-message listing reads this many characters and a fixed margin past them, and checks them all for a high shape before it cuts the excerpt. | -| `LOOM_CONVERSATION_TITLER_ENABLED` | `bool` | `True` | | LLM-title untitled threads in namespaces with conversation_logging_enabled (the Sessions "Recording" toggle is the off-switch). Skipped with the fake LLM. | +| `LOOM_CONVERSATION_TITLER_ENABLED` | `bool` | `True` | | LLM-title untitled threads in namespaces with conversation_logging_enabled (the Conversations page's Record conversations switch is the off-switch). Skipped with the fake LLM. | | `LOOM_CONVERSATION_TITLER_INTERVAL_SECONDS` | `int` | `1800` | | Seconds between titler passes. | | `LOOM_CONVERSATION_TITLER_WINDOW_HOURS` | `int` | `168` | | Only threads with a turn in the last this-many hours are titled. | | `LOOM_CONVERSATION_TITLER_MAX_THREADS_PER_PASS` | `int` | `10` | | Threads one pass titles at most. | diff --git a/integrations/README.md b/integrations/README.md index 3925d0f3db..95f9486ff6 100644 --- a/integrations/README.md +++ b/integrations/README.md @@ -32,7 +32,7 @@ ground, and an SDK or HTTP agent fetches the guide with the experimental `mentor The plugins and the transcript scripts write chat turns to the conversation plane (`conversation.append`), one thread per session, deduplicated by `msg_id`. A namespace stores them only when its conversation logging is on -(`conversation.set_logging`, or the dashboard's Recording toggle). Stored turns are not mined +(`conversation.set_logging`, or the **Record conversations** switch on the dashboard's Conversations page). Stored turns are not mined for memories; the plugins write memories through their own hooks. `LOOM_CAPTURE_CONVERSATIONS=false` turns capture off in the plugins and the Cursor hook. diff --git a/loom.example.yaml b/loom.example.yaml index 487b2128cb..dd9540ad7c 100644 --- a/loom.example.yaml +++ b/loom.example.yaml @@ -2534,7 +2534,8 @@ settings: # conversation_search_excerpt_chars: 240 # LLM-title untitled threads in namespaces with conversation_logging_enabled (the - # Sessions "Recording" toggle is the off-switch). Skipped with the fake LLM. [restart] + # Conversations page's Record conversations switch is the off-switch). Skipped with + # the fake LLM. [restart] # conversation_titler_enabled: true # Seconds between titler passes. [restart] diff --git a/schemas/loom-settings.schema.json b/schemas/loom-settings.schema.json index 96388dbe78..42e705af4e 100644 --- a/schemas/loom-settings.schema.json +++ b/schemas/loom-settings.schema.json @@ -2258,7 +2258,7 @@ "conversation_titler_enabled": { "default": true, "type": "boolean", - "description": "LLM-title untitled threads in namespaces with conversation_logging_enabled (the Sessions \"Recording\" toggle is the off-switch). Skipped with the fake LLM." + "description": "LLM-title untitled threads in namespaces with conversation_logging_enabled (the Conversations page's Record conversations switch is the off-switch). Skipped with the fake LLM." }, "conversation_titler_interval_seconds": { "default": 1800, diff --git a/server/settings/catalog.py b/server/settings/catalog.py index e6f12aa219..bbaac823f5 100644 --- a/server/settings/catalog.py +++ b/server/settings/catalog.py @@ -2084,8 +2084,8 @@ class KnowledgeSettings(BaseModel): conversation_search_excerpt_chars: Annotated[int, LIVE] = Field(default=240, ge=1, le=2048) # LLM-title untitled threads in namespaces with conversation_logging_enabled - # (the Sessions "Recording" toggle is the off-switch). Skipped with the fake - # LLM. + # (the Conversations page's Record conversations switch is the off-switch). + # Skipped with the fake LLM. conversation_titler_enabled: bool = True # Seconds between titler passes. conversation_titler_interval_seconds: int = 1800 From 24847484b78e47d5cff074e6a406f2c03fd35c6d Mon Sep 17 00:00:00 2001 From: zlareb1 Date: Tue, 10 Nov 2026 22:50:58 +0000 Subject: [PATCH 20/29] Every page, message and comment outside the plugins names the Record conversations switch loom doctor --client, the Claude Code and Codex pages, the titler and the conversation store now call it what the dashboard labels it, and the Conversations page by its name. Co-Authored-By: Claude Opus 5.5 Signed-off-by: zlareb1 --- docs/features/integrations/claude-code.md | 2 +- docs/features/integrations/codex.md | 4 ++-- server/cli/doctor_client.py | 10 +++++----- server/knowledge/api/models_conversations.py | 2 +- server/knowledge/app/conversations.py | 2 +- server/knowledge/store/conversations.py | 2 +- server/knowledge/workers/conversation_titler.py | 2 +- server/memory/app/session_brief.py | 7 ++++--- tests/integration/test_session_briefs.py | 2 +- tests/unit/test_mcp_toolset.py | 2 +- 10 files changed, 18 insertions(+), 17 deletions(-) diff --git a/docs/features/integrations/claude-code.md b/docs/features/integrations/claude-code.md index 597bec229e..3e93f1c894 100644 --- a/docs/features/integrations/claude-code.md +++ b/docs/features/integrations/claude-code.md @@ -381,7 +381,7 @@ instead. | MCP server "needs authentication" | no Node for the header helper, or no token found | the `loom-status` skill names which | | no primer, nothing captured | server unreachable, or no token found | `loom-status`; check `~/.loom/config.json` | | tools answer, captures do not | the token is viewer-only on the write namespace | mint a writer token | -| Sessions view empty | conversation logging is off for the namespace | turn it on in the dashboard or with `conversation.set_logging` | +| Conversations page empty | conversation logging is off for the namespace | the **Record conversations** switch on the Conversations page, or `conversation.set_logging` | | a hook added in a new release never fires | the installed plugin is older than the server | `claude plugin update loom@loom` | | every tool listed twice | a user-scope `loom` MCP entry beside the plugin | `claude mcp remove loom` | | reads denied in a repo you work on locally | the checkout is indexed and the file is unmodified | `--config local_first=true` or `LOOM_CODE_LOCAL_FIRST=on` | diff --git a/docs/features/integrations/codex.md b/docs/features/integrations/codex.md index 6a21fab017..3d65f6e4e3 100644 --- a/docs/features/integrations/codex.md +++ b/docs/features/integrations/codex.md @@ -157,7 +157,7 @@ smaller tool listing ([MCP reference](../../reference/mcp.md)). The - `codex mcp list` shows `loom`; the first tool call turns the token's row green on the dashboard's **Settings → Tokens** tab. -- After one session: the dashboard's Sessions view shows the conversation (when logging +- After one session: the dashboard's Conversations page shows the conversation (when logging is on for the namespace), `run.get` on `cx-` shows the run's observations, and the next primer starts from the working-memory note. - Nothing arrives: run the `loom-status` skill. It checks the Node runtime and runs @@ -176,7 +176,7 @@ smaller tool listing ([MCP reference](../../reference/mcp.md)). The | `node: not found` from a hook | the installed plugin predates its Node launcher | `codex plugin marketplace upgrade loom` | | a hook prints a `loom:` line about Node.js 18+ | the launcher found no Node 18+, or only an old one | `LOOM_NODE=/path/to/node` where Codex starts (macOS, Linux), or `$loom-status` | | hooks write nothing | viewer token, or the hooks read a different `url` | writer token; check `~/.loom/config.json` and `LOOM_BASE_URL` | -| Sessions view empty | conversation logging is off for the namespace | turn it on in the dashboard or with `conversation.set_logging` | +| Conversations page empty | conversation logging is off for the namespace | the **Record conversations** switch, or `conversation.set_logging` | ## Related diff --git a/server/cli/doctor_client.py b/server/cli/doctor_client.py index 6b7841eed4..20b461384f 100644 --- a/server/cli/doctor_client.py +++ b/server/cli/doctor_client.py @@ -371,7 +371,7 @@ def recording_check( auth_ok: bool, ) -> Check: """Whether the namespace the hooks write to keeps the - conversation turns they send. The owner's Recording switch in the dashboard + conversation turns they send. The owner's Record conversations switch in the dashboard (`conversation_logging_enabled`) decides; with it off every append is accepted and nothing is kept, which the hooks alone would never notice.""" name = "client:recording" @@ -385,15 +385,15 @@ def recording_check( return ( name, WARN, - f"could not read the Recording switch for {namespace!r} (HTTP {status})", + f"could not read the Record conversations switch for {namespace!r} (HTTP {status})", ) if body.get("conversation_logging_enabled") is False: return ( name, WARN, - f"conversation recording is off for {namespace!r} (the owner's Recording switch " - "in the dashboard): the hooks send no turns and none are kept. Turn it on there if " - "you want transcripts.", + f"conversation recording is off for {namespace!r} (the owner's Record conversations " + "switch in the dashboard): the hooks send no turns and none are kept. Turn it on " + "there if you want transcripts.", ) return (name, PASS, f"conversation recording is on for {namespace!r}") diff --git a/server/knowledge/api/models_conversations.py b/server/knowledge/api/models_conversations.py index 2a4810949f..27f3d6aeae 100644 --- a/server/knowledge/api/models_conversations.py +++ b/server/knowledge/api/models_conversations.py @@ -463,7 +463,7 @@ class ConversationListSavedMessagesOutput(BaseModel): # conversation.threads — recent thread list (grouped over loom.conversations), -# for the Sessions view's no-query "what threads exist" entry point. +# for the Conversations page's no-query "what threads exist" entry point. class ConversationThreadsInput(BaseModel): org: str namespace: str diff --git a/server/knowledge/app/conversations.py b/server/knowledge/app/conversations.py index 41068780cc..e6d8a69953 100644 --- a/server/knowledge/app/conversations.py +++ b/server/knowledge/app/conversations.py @@ -1232,7 +1232,7 @@ async def handle_conversation_threads(input: ConversationThreadsInput) -> Conver Group by thread_id, aggregate message count + first/last seen, project the most recent message's role + content excerpt so the - Sessions view has something to click without typing a query. + Conversations page has something to click without typing a query. """ from server.knowledge.store import conversations as conversation_repo diff --git a/server/knowledge/store/conversations.py b/server/knowledge/store/conversations.py index 6dfcca7276..d52af0df22 100644 --- a/server/knowledge/store/conversations.py +++ b/server/knowledge/store/conversations.py @@ -750,7 +750,7 @@ async def namespace_logging_enabled( keep transcripts for a namespace whose owner never answered the question. Turn it on per namespace with `conversation.set_logging` or the Sessions - "Recording" toggle in the dashboard. + Record conversations switch in the dashboard. """ ch = ch or _default_client() r = await ch.query_one( diff --git a/server/knowledge/workers/conversation_titler.py b/server/knowledge/workers/conversation_titler.py index 2e7e8be596..8ad3194725 100644 --- a/server/knowledge/workers/conversation_titler.py +++ b/server/knowledge/workers/conversation_titler.py @@ -8,7 +8,7 @@ On by default (`conversation_titler_enabled`), gated per-namespace by `conversation_logging_enabled` — any namespace that records conversations gets -readable titles, and the Sessions "Recording" toggle doubles as the off-switch. +readable titles, and the Conversations page's Record conversations switch doubles as the off-switch. Makes one LLM call per untitled thread; no-ops when the LLM is the fake dev provider, so on-by-default is safe out of the box. """ diff --git a/server/memory/app/session_brief.py b/server/memory/app/session_brief.py index 6c0f343e28..6afba38b9f 100644 --- a/server/memory/app/session_brief.py +++ b/server/memory/app/session_brief.py @@ -262,9 +262,10 @@ def _conflict(stored: int, wanted: int) -> HTTPException: ) -# Saves the client makes on its own. They follow the namespace owner's Recording switch: a -# brief is condensed from the transcript, so with recording off an automatic save stores -# nothing. A save the person asked for ("save this session") is their own act, like memory.set. +# Saves the client makes on its own. They follow the namespace owner's Record +# conversations switch: a brief is condensed from the transcript, so with recording off an +# automatic save stores nothing. A save the person asked for ("save this session") is +# their own act, like memory.set. _AUTOMATIC_TRIGGERS = frozenset({"precompact", "session_end", "stop"}) diff --git a/tests/integration/test_session_briefs.py b/tests/integration/test_session_briefs.py index 868f0ebe24..4d76669c12 100644 --- a/tests/integration/test_session_briefs.py +++ b/tests/integration/test_session_briefs.py @@ -51,7 +51,7 @@ async def test_a_brief_carries_one_line_of_work_across_sessions( owner = mint_test_token(org=org, namespaces=[ns], roles=["admin"], subject="alice") async with httpx.AsyncClient(base_url=control_plane_url, timeout=60) as c: - # Revision 1: an automatic save follows the Recording switch, which a + # Revision 1: an automatic save follows the Record conversations switch, which a # fresh namespace has off (fail closed) — nothing is stored. off = await _call( c, diff --git a/tests/unit/test_mcp_toolset.py b/tests/unit/test_mcp_toolset.py index baf2673a51..60c5f61b6a 100644 --- a/tests/unit/test_mcp_toolset.py +++ b/tests/unit/test_mcp_toolset.py @@ -78,7 +78,7 @@ def test_core_surface_is_small_and_focused(): assert demoted not in names, demoted # Conversation capture is in-band: MCP is pull-based, so the transcript # only lands if the model can see + call these. Without them, the - # Sessions view stays empty for MCP clients. + # Conversations page stays empty for MCP clients. assert "loom_conversation_create" in names assert "loom_conversation_append" in names # Comfortably under the ~30-50 tool-selection degradation knee. From 4f5024ea3907d31650bf5ad669490968e678d065 Mon Sep 17 00:00:00 2001 From: zlareb1 Date: Tue, 10 Nov 2026 22:56:23 +0000 Subject: [PATCH 21/29] The store docstring names the switch and page; wrapped lines Co-Authored-By: Claude Opus 5.5 Signed-off-by: zlareb1 --- docs/features/integrations/cursor.md | 4 ++-- integrations/README.md | 5 +++-- integrations/cursor/README.md | 4 ++-- server/knowledge/store/conversations.py | 4 ++-- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/docs/features/integrations/cursor.md b/docs/features/integrations/cursor.md index 883c456fa3..24f2ffa188 100644 --- a/docs/features/integrations/cursor.md +++ b/docs/features/integrations/cursor.md @@ -53,8 +53,8 @@ Turns are stored only when the namespace has conversation logging on. exec "$HOME/.cursor/hooks/cursor-session-hook.sh" "$@" ``` -5. Turn on conversation logging for the namespace (the dashboard's **Record conversations** switch or - `conversation.set_logging`). Until then the server accepts the turns and stores none. +5. Turn on conversation logging for the namespace (the dashboard's **Record + conversations** switch or `conversation.set_logging`). Until then the server accepts the turns and stores none. | Variable | Default | Meaning | | ---------------------------- | ----------------------- | ----------------------------------------------------------------------------------------------- | diff --git a/integrations/README.md b/integrations/README.md index 95f9486ff6..76f96744c3 100644 --- a/integrations/README.md +++ b/integrations/README.md @@ -32,7 +32,8 @@ ground, and an SDK or HTTP agent fetches the guide with the experimental `mentor The plugins and the transcript scripts write chat turns to the conversation plane (`conversation.append`), one thread per session, deduplicated by `msg_id`. A namespace stores them only when its conversation logging is on -(`conversation.set_logging`, or the **Record conversations** switch on the dashboard's Conversations page). Stored turns are not mined -for memories; the plugins write memories through their own hooks. +(`conversation.set_logging`, or the **Record conversations** switch on the +dashboard's Conversations page). Stored turns are not mined for memories; +the plugins write memories through their own hooks. `LOOM_CAPTURE_CONVERSATIONS=false` turns capture off in the plugins and the Cursor hook. diff --git a/integrations/cursor/README.md b/integrations/cursor/README.md index ef9aa08bb2..77c567547a 100644 --- a/integrations/cursor/README.md +++ b/integrations/cursor/README.md @@ -38,8 +38,8 @@ the two are independent. exec "$HOME/.cursor/hooks/cursor-session-hook.sh" "$@" ``` -5. Turn on conversation logging for the namespace (the dashboard's **Record conversations** switch or - `conversation.set_logging`). Until then the server accepts the turns and +5. Turn on conversation logging for the namespace (the dashboard's **Record + conversations** switch or `conversation.set_logging`). Until then the server accepts the turns and stores none. | Variable | Default | Meaning | diff --git a/server/knowledge/store/conversations.py b/server/knowledge/store/conversations.py index d52af0df22..9adb1466bb 100644 --- a/server/knowledge/store/conversations.py +++ b/server/knowledge/store/conversations.py @@ -749,8 +749,8 @@ async def namespace_logging_enabled( are both "nobody has expressed a preference": defaulting those to on would keep transcripts for a namespace whose owner never answered the question. - Turn it on per namespace with `conversation.set_logging` or the Sessions - Record conversations switch in the dashboard. + Turn it on per namespace with `conversation.set_logging` or the Record + conversations switch on the dashboard's Conversations page. """ ch = ch or _default_client() r = await ch.query_one( From 110b95da8da81b6205a9764886b95434cfcfce3a Mon Sep 17 00:00:00 2001 From: zlareb1 Date: Tue, 10 Nov 2026 23:03:17 +0000 Subject: [PATCH 22/29] One more server comment names the Record conversations switch Co-Authored-By: Claude Opus 5.5 Signed-off-by: zlareb1 --- server/identity/app/namespace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/identity/app/namespace.py b/server/identity/app/namespace.py index 70b0897c01..7e34706b85 100644 --- a/server/identity/app/namespace.py +++ b/server/identity/app/namespace.py @@ -574,7 +574,7 @@ async def handle_namespace_get(input: NamespaceGetInput) -> NamespaceGetOutput: conversation_logging_enabled=( # Absent column reads as off, matching the gate in # conversation_repo.namespace_logging_enabled — the settings view - # must not show "Recording on" for a namespace that isn't recording. + # must not show the Record conversations switch on for a namespace that isn't recording. False if row.get("conversation_logging_enabled") is None else bool(row["conversation_logging_enabled"]) From 952cdbded30438b226e6aac072713472fffee263 Mon Sep 17 00:00:00 2001 From: zlareb1 Date: Tue, 10 Nov 2026 23:16:36 +0000 Subject: [PATCH 23/29] Rewrap the lines the switch rename lengthened Co-Authored-By: Claude Opus 5.5 Signed-off-by: zlareb1 --- docs/features/integrations/cursor.md | 3 ++- integrations/cursor/README.md | 4 ++-- server/identity/app/namespace.py | 3 ++- server/knowledge/workers/conversation_titler.py | 3 ++- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/docs/features/integrations/cursor.md b/docs/features/integrations/cursor.md index 24f2ffa188..4814c83253 100644 --- a/docs/features/integrations/cursor.md +++ b/docs/features/integrations/cursor.md @@ -54,7 +54,8 @@ Turns are stored only when the namespace has conversation logging on. ``` 5. Turn on conversation logging for the namespace (the dashboard's **Record - conversations** switch or `conversation.set_logging`). Until then the server accepts the turns and stores none. + conversations** switch or `conversation.set_logging`). Until then the server accepts + the turns and stores none. | Variable | Default | Meaning | | ---------------------------- | ----------------------- | ----------------------------------------------------------------------------------------------- | diff --git a/integrations/cursor/README.md b/integrations/cursor/README.md index 77c567547a..f70048ff19 100644 --- a/integrations/cursor/README.md +++ b/integrations/cursor/README.md @@ -39,8 +39,8 @@ the two are independent. ``` 5. Turn on conversation logging for the namespace (the dashboard's **Record - conversations** switch or `conversation.set_logging`). Until then the server accepts the turns and - stores none. + conversations** switch or `conversation.set_logging`). Until then the server accepts + the turns and stores none. | Variable | Default | Meaning | | ---------------------------- | ----------------------- | ----------------------------------------------------------------------------------------------- | diff --git a/server/identity/app/namespace.py b/server/identity/app/namespace.py index 7e34706b85..5aa51e127c 100644 --- a/server/identity/app/namespace.py +++ b/server/identity/app/namespace.py @@ -574,7 +574,8 @@ async def handle_namespace_get(input: NamespaceGetInput) -> NamespaceGetOutput: conversation_logging_enabled=( # Absent column reads as off, matching the gate in # conversation_repo.namespace_logging_enabled — the settings view - # must not show the Record conversations switch on for a namespace that isn't recording. + # must not show the Record conversations switch on for a namespace + # that isn't recording. False if row.get("conversation_logging_enabled") is None else bool(row["conversation_logging_enabled"]) diff --git a/server/knowledge/workers/conversation_titler.py b/server/knowledge/workers/conversation_titler.py index 8ad3194725..9dd2e46d77 100644 --- a/server/knowledge/workers/conversation_titler.py +++ b/server/knowledge/workers/conversation_titler.py @@ -8,7 +8,8 @@ On by default (`conversation_titler_enabled`), gated per-namespace by `conversation_logging_enabled` — any namespace that records conversations gets -readable titles, and the Conversations page's Record conversations switch doubles as the off-switch. +readable titles, and the Conversations page's Record conversations switch +doubles as the off-switch. Makes one LLM call per untitled thread; no-ops when the LLM is the fake dev provider, so on-by-default is safe out of the box. """ From 2eca318aec17d1e91eb32d622497717fd1ed145a Mon Sep 17 00:00:00 2001 From: zlareb1 Date: Tue, 10 Nov 2026 23:24:13 +0000 Subject: [PATCH 24/29] Step 6's first item gives its reason first; the op is named beside the switch Co-Authored-By: Claude Opus 5.5 Signed-off-by: zlareb1 --- docs/getting-started/connect-a-coding-agent.md | 6 +++--- docs/getting-started/quickstart.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/getting-started/connect-a-coding-agent.md b/docs/getting-started/connect-a-coding-agent.md index 720d5c70b1..3398fcf36a 100644 --- a/docs/getting-started/connect-a-coding-agent.md +++ b/docs/getting-started/connect-a-coding-agent.md @@ -5,9 +5,9 @@ server. Install the plugin (or wire the MCP entry), point it at the server, and usual. The next session starts with what the agent saved. What the plugin sends to Loom is in [data handling](../features/integrations/claude-code.md#data-handling). Conversation recording is off by default; the namespace owner turns it on with the **Record -conversations** switch on the Conversations page (`conversation.set_logging`). To run a -server yourself, start with the [quickstart](quickstart.md); to have your agent install a -pinned release and prove it works, give it the latest release's +conversations** switch on the Conversations page, or with `conversation.set_logging`. To +run a server yourself, start with the [quickstart](quickstart.md); to have your agent +install a pinned release and prove it works, give it the latest release's `https://github.com/ClickHouse/loom/releases/latest/download/agent-setup.txt` ([Set up Loom with your coding agent](agent-setup.md)). diff --git a/docs/getting-started/quickstart.md b/docs/getting-started/quickstart.md index 2dba02af32..851fa693fd 100644 --- a/docs/getting-started/quickstart.md +++ b/docs/getting-started/quickstart.md @@ -398,9 +398,9 @@ With auth on, create a token in **Settings → Tokens** and choose **Claude Code **Connect**: the dialog shows the setup for the plugin and for a `claude mcp add` entry, with the token in it. Then: -1. Overwrite `~/.loom/config.json` with the dialog's `config.json` block, adding back any - `code_repo` or `agent` you had set: an `org` or `namespace` a single-user session left - in the file outranks the token. +1. Overwrite `~/.loom/config.json` with the dialog's `config.json` block: an `org` or + `namespace` a single-user session left in the file outranks the token. Add back any + `code_repo` or `agent` you had set. 2. Leave `LOOM_API_KEY` and the plugin's `token` option empty or set to the new token: the plugin reads both before that file ([configuration](../features/integrations/claude-code.md#configuration)). From 9afc5f70240cdef67dcffd507896a33359f5fd07 Mon Sep 17 00:00:00 2001 From: zlareb1 Date: Tue, 10 Nov 2026 23:30:13 +0000 Subject: [PATCH 25/29] The plugin's settings prompt is answered where step 6 meets it Co-Authored-By: Claude Opus 5.5 Signed-off-by: zlareb1 --- docs/getting-started/quickstart.md | 6 ++++-- server/identity/app/namespace.py | 6 +++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/getting-started/quickstart.md b/docs/getting-started/quickstart.md index 851fa693fd..18a71f8336 100644 --- a/docs/getting-started/quickstart.md +++ b/docs/getting-started/quickstart.md @@ -385,14 +385,16 @@ claude plugin marketplace add ClickHouse/loom claude plugin install loom@loom ``` +On a single-user server on this machine, keep the default server URL and leave the token +empty when Claude Code asks for the plugin's settings. + Without the plugin, add the MCP entry directly: ```bash claude mcp add --transport http loom "http://localhost:7777/mcp?toolset=coding" -s user ``` -Both reach a single-user server on this machine without a token of yours: when Claude Code -asks for the plugin's settings, keep the default server URL and leave the token empty. +Both reach a single-user server on this machine without a token of yours. With auth on, create a token in **Settings → Tokens** and choose **Claude Code** under **Connect**: the dialog shows the setup for the plugin and for a `claude mcp add` entry, diff --git a/server/identity/app/namespace.py b/server/identity/app/namespace.py index 5aa51e127c..b494d6e3b8 100644 --- a/server/identity/app/namespace.py +++ b/server/identity/app/namespace.py @@ -573,9 +573,9 @@ async def handle_namespace_get(input: NamespaceGetInput) -> NamespaceGetOutput: ), conversation_logging_enabled=( # Absent column reads as off, matching the gate in - # conversation_repo.namespace_logging_enabled — the settings view - # must not show the Record conversations switch on for a namespace - # that isn't recording. + # conversation_repo.namespace_logging_enabled — the Conversations + # page must not show the Record conversations switch on for a + # namespace that isn't recording. False if row.get("conversation_logging_enabled") is None else bool(row["conversation_logging_enabled"]) From d8a2e505c6167aa8d1c28ad03e483be821da5e13 Mon Sep 17 00:00:00 2001 From: zlareb1 Date: Tue, 10 Nov 2026 23:37:00 +0000 Subject: [PATCH 26/29] Step 6 names the namespace in config.json; the doctor docstring says what the hooks do Co-Authored-By: Claude Opus 5.5 Signed-off-by: zlareb1 --- docs/getting-started/connect-a-coding-agent.md | 13 +++++++------ docs/getting-started/quickstart.md | 7 ++++--- server/cli/doctor_client.py | 8 ++++---- 3 files changed, 15 insertions(+), 13 deletions(-) diff --git a/docs/getting-started/connect-a-coding-agent.md b/docs/getting-started/connect-a-coding-agent.md index 3398fcf36a..7b3ef4779e 100644 --- a/docs/getting-started/connect-a-coding-agent.md +++ b/docs/getting-started/connect-a-coding-agent.md @@ -2,12 +2,13 @@ This page connects Claude Code, Codex, Cursor or another MCP client to a running Loom server. Install the plugin (or wire the MCP entry), point it at the server, and work as -usual. The next session starts with what the agent saved. What the plugin sends to Loom is -in [data handling](../features/integrations/claude-code.md#data-handling). Conversation -recording is off by default; the namespace owner turns it on with the **Record -conversations** switch on the Conversations page, or with `conversation.set_logging`. To -run a server yourself, start with the [quickstart](quickstart.md); to have your agent -install a pinned release and prove it works, give it the latest release's +usual. The next session starts with what the agent saved. What the Claude Code and Codex +plugins send to Loom is in [data +handling](../features/integrations/claude-code.md#data-handling). Conversation recording +is off by default; the namespace owner turns it on with the **Record conversations** +switch on the Conversations page, or with `conversation.set_logging`. To run a server +yourself, start with the [quickstart](quickstart.md); to have your agent install a pinned +release and prove it works, give it the latest release's `https://github.com/ClickHouse/loom/releases/latest/download/agent-setup.txt` ([Set up Loom with your coding agent](agent-setup.md)). diff --git a/docs/getting-started/quickstart.md b/docs/getting-started/quickstart.md index 18a71f8336..292534362e 100644 --- a/docs/getting-started/quickstart.md +++ b/docs/getting-started/quickstart.md @@ -400,9 +400,10 @@ With auth on, create a token in **Settings → Tokens** and choose **Claude Code **Connect**: the dialog shows the setup for the plugin and for a `claude mcp add` entry, with the token in it. Then: -1. Overwrite `~/.loom/config.json` with the dialog's `config.json` block: an `org` or - `namespace` a single-user session left in the file outranks the token. Add back any - `code_repo` or `agent` you had set. +1. Overwrite `~/.loom/config.json` with the dialog's `config.json` block plus your + namespace (`"namespace": ""`): an `org` or `namespace` in the file + outranks the token, so one a single-user session left there would keep the plugin on + `dev/local`. Add back any `code_repo` or `agent` you had set. 2. Leave `LOOM_API_KEY` and the plugin's `token` option empty or set to the new token: the plugin reads both before that file ([configuration](../features/integrations/claude-code.md#configuration)). diff --git a/server/cli/doctor_client.py b/server/cli/doctor_client.py index 20b461384f..35716f0f36 100644 --- a/server/cli/doctor_client.py +++ b/server/cli/doctor_client.py @@ -370,10 +370,10 @@ def recording_check( post_json: PostJson, auth_ok: bool, ) -> Check: - """Whether the namespace the hooks write to keeps the - conversation turns they send. The owner's Record conversations switch in the dashboard - (`conversation_logging_enabled`) decides; with it off every append is - accepted and nothing is kept, which the hooks alone would never notice.""" + """Whether the namespace the hooks write to keeps the conversation turns + they send. The owner's Record conversations switch in the dashboard + (`conversation_logging_enabled`) decides; with it off the hooks send no + turns, and an append from any other client is accepted and dropped.""" name = "client:recording" if not token or not auth_ok: return (name, WARN, "skipped: check auth first") From c8861d6aae23ba3e4f51ff07f63130abcdd66533 Mon Sep 17 00:00:00 2001 From: zlareb1 Date: Tue, 10 Nov 2026 23:41:31 +0000 Subject: [PATCH 27/29] Step 6 says why config.json names the namespace Co-Authored-By: Claude Opus 5.5 Signed-off-by: zlareb1 --- docs/getting-started/quickstart.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/getting-started/quickstart.md b/docs/getting-started/quickstart.md index 292534362e..31836a0009 100644 --- a/docs/getting-started/quickstart.md +++ b/docs/getting-started/quickstart.md @@ -400,10 +400,11 @@ With auth on, create a token in **Settings → Tokens** and choose **Claude Code **Connect**: the dialog shows the setup for the plugin and for a `claude mcp add` entry, with the token in it. Then: -1. Overwrite `~/.loom/config.json` with the dialog's `config.json` block plus your - namespace (`"namespace": ""`): an `org` or `namespace` in the file - outranks the token, so one a single-user session left there would keep the plugin on - `dev/local`. Add back any `code_repo` or `agent` you had set. +1. Overwrite `~/.loom/config.json` with the dialog's `config.json` block plus the + namespace the token saves to (`"namespace": ""`): an `org` or `namespace` a + single-user session left in the file outranks the token, and without one the plugin + writes to the token's first listed namespace, or `coding`. Add back any `code_repo` or + `agent` you had set. 2. Leave `LOOM_API_KEY` and the plugin's `token` option empty or set to the new token: the plugin reads both before that file ([configuration](../features/integrations/claude-code.md#configuration)). From d8fd87c63d48cc6b9f9773ae7761a915707d50b5 Mon Sep 17 00:00:00 2001 From: zlareb1 Date: Tue, 10 Nov 2026 23:46:27 +0000 Subject: [PATCH 28/29] Step 6 names the non-wildcard namespace rule; the doctor docstring says soon Co-Authored-By: Claude Opus 5.5 Signed-off-by: zlareb1 --- docs/getting-started/quickstart.md | 4 ++-- server/cli/doctor_client.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/getting-started/quickstart.md b/docs/getting-started/quickstart.md index 31836a0009..7d61c532ad 100644 --- a/docs/getting-started/quickstart.md +++ b/docs/getting-started/quickstart.md @@ -403,8 +403,8 @@ with the token in it. Then: 1. Overwrite `~/.loom/config.json` with the dialog's `config.json` block plus the namespace the token saves to (`"namespace": ""`): an `org` or `namespace` a single-user session left in the file outranks the token, and without one the plugin - writes to the token's first listed namespace, or `coding`. Add back any `code_repo` or - `agent` you had set. + writes to the token's first namespace other than `*`, or `coding`. Add back any + `code_repo` or `agent` you had set. 2. Leave `LOOM_API_KEY` and the plugin's `token` option empty or set to the new token: the plugin reads both before that file ([configuration](../features/integrations/claude-code.md#configuration)). diff --git a/server/cli/doctor_client.py b/server/cli/doctor_client.py index 35716f0f36..bf0a6ed3cb 100644 --- a/server/cli/doctor_client.py +++ b/server/cli/doctor_client.py @@ -372,8 +372,8 @@ def recording_check( ) -> Check: """Whether the namespace the hooks write to keeps the conversation turns they send. The owner's Record conversations switch in the dashboard - (`conversation_logging_enabled`) decides; with it off the hooks send no - turns, and an append from any other client is accepted and dropped.""" + (`conversation_logging_enabled`) decides; with it off the hooks soon stop + sending turns, and every append is accepted and dropped.""" name = "client:recording" if not token or not auth_ok: return (name, WARN, "skipped: check auth first") From d65a31a9bd65bb77813110d48faa03a1297f26c7 Mon Sep 17 00:00:00 2001 From: zlareb1 Date: Tue, 10 Nov 2026 23:57:58 +0000 Subject: [PATCH 29/29] The store docstring and doctor warning match the switch and the hooks; step 6 names unset Co-Authored-By: Claude Opus 5.5 Signed-off-by: zlareb1 --- docs/getting-started/quickstart.md | 5 +++-- server/cli/doctor_client.py | 2 +- server/knowledge/store/conversations.py | 7 +++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/getting-started/quickstart.md b/docs/getting-started/quickstart.md index 7d61c532ad..d2ab42cd3b 100644 --- a/docs/getting-started/quickstart.md +++ b/docs/getting-started/quickstart.md @@ -405,8 +405,9 @@ with the token in it. Then: single-user session left in the file outranks the token, and without one the plugin writes to the token's first namespace other than `*`, or `coding`. Add back any `code_repo` or `agent` you had set. -2. Leave `LOOM_API_KEY` and the plugin's `token` option empty or set to the new token: the - plugin reads both before that file +2. Leave `LOOM_API_KEY` (step 3 may have exported one: `unset LOOM_API_KEY`) and the + plugin's `token` option empty, or set them to the new token: the plugin reads both + before that file ([configuration](../features/integrations/claude-code.md#configuration)). 3. Remove a `claude mcp add` entry made without a token (`claude mcp remove loom -s user`) before running the dialog's command, which refuses a name that exists. diff --git a/server/cli/doctor_client.py b/server/cli/doctor_client.py index bf0a6ed3cb..666066f65f 100644 --- a/server/cli/doctor_client.py +++ b/server/cli/doctor_client.py @@ -392,7 +392,7 @@ def recording_check( name, WARN, f"conversation recording is off for {namespace!r} (the owner's Record conversations " - "switch in the dashboard): the hooks send no turns and none are kept. Turn it on " + "switch in the dashboard): the hooks stop sending turns and none are kept. Turn it on " "there if you want transcripts.", ) return (name, PASS, f"conversation recording is on for {namespace!r}") diff --git a/server/knowledge/store/conversations.py b/server/knowledge/store/conversations.py index 9adb1466bb..2f18a43961 100644 --- a/server/knowledge/store/conversations.py +++ b/server/knowledge/store/conversations.py @@ -739,8 +739,8 @@ async def namespace_logging_enabled( *, ch: _CHClient | None = None, ) -> bool: - """Per-namespace conversation-logging switch (the dashboard's 'record my - conversations' toggle). + """Per-namespace conversation-logging switch (the Record conversations switch + on the dashboard's Conversations page). Fails CLOSED: an absent namespace row or a NULL column means "not recording". Storing someone's chat transcripts is the kind of thing that @@ -749,8 +749,7 @@ async def namespace_logging_enabled( are both "nobody has expressed a preference": defaulting those to on would keep transcripts for a namespace whose owner never answered the question. - Turn it on per namespace with `conversation.set_logging` or the Record - conversations switch on the dashboard's Conversations page. + Turn it on per namespace with `conversation.set_logging` or that switch. """ ch = ch or _default_client() r = await ch.query_one(