Skip to content

The deployment guide shows how to run Loom for memory only - #208

Merged
zlareb1 merged 21 commits into
mainfrom
docs/memory-only-install
Nov 3, 2026
Merged

zlareb1 merged 21 commits into
mainfrom
docs/memory-only-install

Conversation

@zlareb1

@zlareb1 zlareb1 commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

Related: #211

Changelog category (leave one):

  • Documentation (changelog entry is not required)

Changelog entry (one or two sentences a user of Loom can read without the diff; the release pull request collects these into the release notes):

The deployment guide shows how to run Loom for memory, documents and conversations without the code index.

Why

A deployment that wants only memory had no page saying how. LOOM_CODE_INTEL_ENABLED appeared only as a rollback step for the code index (docs/operations/code-index-operations.md).

The section describes what was measured on a fresh ClickHouse with LOOM_CODE_INTEL_ENABLED=false, workers in a child process, auth off and fake providers:

  • Boot applied every migration and was ready (/v1/health/ready, every check ok) 95 s after start, on a loaded host.
  • These answered 200: memory.set, memory.search, knowledge.add, knowledge.search, context.pack and search.query.
  • code.symbol answered 409 PRECONDITION_FAILED. The code.repo.* administration ops did not check the switch; The code.repo ops that register or change a repository refuse when code intelligence is off #211 (merged) makes every one but code.repo.remove refuse too; a retirement only deletes, so it stays served.
  • After 3.5 minutes, loom.worker_status held no pass with an error. The code and tracker workers ran 1 to 2 passes each, at 12 to 18 ms of ClickHouse time per worker in total (system.query_log grouped by worker.<name>).

The mirror, sandbox and toolset lines in the section come from the code paths and plugin files that decide them:

  • mirrors.start_warmup starts the warm-up and host loop only with code_intel_enabled (and local history);
  • boot.probe_sandbox runs only with code_ingest_enabled or code_sandbox_required;
  • the Claude Code plugin's toolset defaults to coding (integrations/claude-code-plugin/.claude-plugin/plugin.json), and the Codex plugin's MCP entry asks for core,coding,tracker,tasks (integrations/codex-plugin/.mcp.json). The rosters in server/operations/toolsets.py (_MCP_CODING_OPS, _MCP_TRACKER_OPS) list code.* tools for either.

A setting that drops whole op groups from the registry would also take the code and tracker ops out of /v1/operations. That is all it would add over this switch, so this PR documents the switch instead.

Scope and risk

One new subsection in docs/operations/deployment.md. No code.

Compatibility, rollout and rollback

  • Wire: none.
  • Operator steps: none.
  • Rollback: revert.

Tests

  • tests/unit/test_doc_links.py and tests/unit/test_public_copy.py pass.
  • Prettier check on the page passes.
  • The boot described under Why.

AI assistance in the code (leave one; writing this description with AI is fine):

  • AI-generated (an agent wrote most of the diff): Claude Code. Each claim in the section was checked against a boot on a fresh ClickHouse or against the code path that decides it.

  • I can explain every line of this diff and how it interacts with the rest of Loom.

Checklist

  • make format-check, make lint, make typecheck and make test-unit pass; the integration suite passes if server behaviour changed (docs only).
  • Generated files are regenerated in this PR, not by hand (none change).
  • A new migration is additive and numbered after the latest on main; no merged migration is edited (none).
  • A behaviour change to any file a plugin ships bumps both plugin manifests' version (none).
  • The frontend builds and its tests pass, if frontend/ changed (unchanged).
  • Docs under docs/ describe the system as it now is, and this description names any operator steps and wire changes.
  • Repository text has no dates, people, host names, internal namespaces, ticket or decision numbers.
  • Commits are signed off (git commit -s).

🤖 Generated with Claude Code

@zlareb1
zlareb1 force-pushed the docs/memory-only-install branch 6 times, most recently from 022b3e4 to cb6f4db Compare November 3, 2026 13:41
zlareb1 and others added 13 commits November 3, 2026 13:43
…e primer's code line

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…switch stops no worker

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…verage workers are named right

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…; reflowed

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…that purges rows

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…P is read

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…mirror is; the host loop

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…oves which mirror, loom install toolsets

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
@zlareb1
zlareb1 force-pushed the docs/memory-only-install branch from cb6f4db to 427b0f1 Compare November 3, 2026 13:43
zlareb1 and others added 8 commits November 3, 2026 13:50
…p running

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…oom up and loom init connect lines; reflowed

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…nnect paths; names the self-service settings

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
@zlareb1
zlareb1 merged commit 32415dc into main Nov 3, 2026
17 of 18 checks passed
@zlareb1
zlareb1 deleted the docs/memory-only-install branch November 3, 2026 14:49
@pufit pufit mentioned this pull request Nov 4, 2026
9 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant