Skip to content

v1.4.1

Choose a tag to compare

@github-actions github-actions released this 03 Dec 09:44
· 28 commits to main since this release
ef3f6b2

1.4.1 is the first release of the 1.4 line. The v1.4.0 tag stays, but its run published nothing: the image scan refused the npm that Node 22 bundles. 1.4.1 is v1.4.0 with that fix, so everything below is new since 1.3.0.

Before upgrading

  • Follow the upgrade guide. Drain older memory writers and let outstanding inserts settle before relying on the write fence. For governed write review, pause writes while applying the migration and resume after every writer enforces review.
  • If you use an OpenAI-compatible gateway with LOOM_LLM_PROVIDER=openai, it must serve /responses. Gateways that serve chat completions use LOOM_LLM_PROVIDER=local.
  • Configure the in-process assistant's provider and model before enabling assistant traffic. Follow the assistant setup and preserve its database volumes and backups during the cutover. The separate assistant service is gone: remove LOOM_ASSISTANT_LIBRECHAT_URL, LOOM_ASSISTANT_SERVICE_EMAIL and LOOM_ASSISTANT_SETUP_RETRY_S, and in the Helm chart replace assistant.enabled and the other assistant.* values with assistant.nativeEnabled.
  • LOOM_CH_ANALYSIS_OBSERVER_URLS is gone: Insights reads events through the analysis_ordinary_agent_events and analysis_agent_events views. Loom logs and ignores a LOOM_* variable it does not know, so a retired setting left in place has no effect.
  • Audit records no longer expire with a namespace's retention: only LOOM_RETENTION_AUDIT_LOG_DAYS deletes them, and its default, 0, keeps them.
  • With LOOM_CODE_PR_HISTORY_ENABLED=true, the PR-history worker walks a GitHub repository's merged PRs back through LOOM_CODE_PR_BACKFILL_MONTHS with the repository's token, up to LOOM_CODE_PR_BACKFILL_PRS_PER_HOUR (800) an hour; 0 stops the walk.
  • loom code backfill without --workers runs up to 8 worker processes, sized from the host; --workers 1 or LOOM_CODE_BACKFILL_WORKERS=1 keeps one.
  • Configured code repositories refresh every two minutes by default. For a deployment driven by CI refresh calls, set LOOM_CODE_INGEST_ENABLED=false. Run code.calibrate on code namespaces using cluster or scalar calibration. Revisit any custom retrieval risk thresholds.
  • 1.4.1 adds self-hosted adoption telemetry, on by default. Every 12 hours, and every five minutes for the current day, the server sends its Loom and ClickHouse versions, namespace and request counts, and the contact email domains of its users with their activity to https://loom.clickhouse.com/api/v1/adoption (what is sent), and the public adoption page lists each installation under its domain with its activity. To withhold them, set LOOM_ADOPTION_TELEMETRY_ENABLED=false on every server and worker replica before upgrading.
  • The first deploy re-derives the chunk, edge and guard stages of every indexed repository once, because the code-index extractor stamp moves. It also applies the chunk changes since 1.3.0: class source that was left out becomes readable, chunk contexts use the owning symbol's signature, and blank lines between class members are kept.
  • Preparing a later cell requires --upstream-url beside --probe-url.
  • Check LOOM_CODE_REPOS_JSON for entries with the same git_dir and different remotes, and give each remote its own clone directory: Loom reports the conflict and skips the later entry.
  • A code namespace erased before the upgrade keeps its cached code.ask answers, which loom erasure-re-verify does not reach: run loom code answers-purge --namespace <ns> --all --apply for each. An erasure after the upgrade deletes them.
  • The migration refuses while a namespace named crs- followed by 24 hex digits exists, a name now reserved for internal code stores, and names the first ten with a count of the rest: clear them with the build before this one, then migrate again.
  • A blue-green deployment prepares var/code_repos before starting the stack; one deployed from a separate checkout links it to the existing mirror directory.
  • When Loom uses the Anthropic provider without LOOM_LLM_MODEL (LOOM_LLM_PROVIDER=anthropic, or ANTHROPIC_API_KEY set and no OPENAI_API_KEY), model calls move from claude-haiku-4-5 to claude-sonnet-5-5, which costs more per call. Set LOOM_LLM_MODEL=claude-haiku-5-5 to keep a small model.
  • Code retrieval has no token cap by default: LOOM_CODE_ASK_TOKEN_BUDGET (was 4000), LOOM_MEMORY_ASK_CODE_SEARCH_TOKEN_BUDGET (1400), LOOM_MEMORY_ASK_CODE_SYMBOL_TOKEN_BUDGET (400), LOOM_CODE_RESULT_LESSONS_TOKENS (250) and LOOM_CODE_REVIEW_BRIEF_RATIONALE_TOKENS (250) default to 0. Set one to keep its cap. A client sends 0, or a value outside the earlier bounds, only once every replica is upgraded.
  • The model spend of a deferred memory.set_from_messages counts toward the namespace's and the user's daily caps. A namespace that defers many sessions a day may need its own daily_cost_cap_usd.
  • An index fed by compiler snapshots keeps the rows indexed before the upgrade until it gets a new one: resubmit the current snapshot, rebuilding a full one for Python. An index built with loom code backfill reruns it with --edges-second-pass (loom code backfill --org <org> --namespace <namespace> --edges-second-pass).
  • The Claude Code plugin's test gate no longer holds the end of a session that changed code and ran no test. To keep that hold, install with --config stop_test_gate=true or set LOOM_TEST_GATE=stop (the only way under Codex). A host torn down the moment the client exits sets LOOM_SESSION_END_WAIT=true, or the session's close is lost.

Highlights

  • Coding agents can call code.edit_context for the definition, related tests and linked lessons before editing. code.read can return several source ranges from one indexed revision.
  • Loom records the cause, changed definitions and successful test commands after a verified fix. Code links follow renames. Test-gate responses explain each test's link to an edited definition and list the edited file's matching tests first.
  • Session briefs can be shared and restored from a link pinned to the saved snapshot and Git commit. MCP clients that support the skills extension can load the memory and code skills from the server.
  • Python adds DSPy retrievers and TypeScript adds a LangGraph.js store. Rust 0.1.2 adds direct HTTP methods, retry classification and onboarding helpers, renews stored login profiles before they expire and accepts credentials from a CredentialProvider. The Go SDK exposes typed methods for the operation registry.
  • Code indexing supports Thrift symbols and embedding exclusions. Excluded files remain searchable through lexical retrieval. TypeScript indexing accepts pnpm workspaces with peer dependency override selectors.

Also in this release

  • Tracker feeds copy a Linear team's issues and comments. Code-index entries with "forge": "forgejo" read merged-PR history from Forgejo. The dashboard adds and edits Drive, Notion and Linear document sources, and collection admins set spend caps and a budget inbox (collection.budget_set). Delegated Workspace crawling of selected people and groups needs LOOM_KNOWLEDGE_MIRRORED_SOURCES_ENABLED and every replica at schema 119.
  • code.history pages back through a file's merged PRs (offset, up to 50 a call), and the PR-history worker fills the LOOM_CODE_PR_BACKFILL_MONTHS window by itself.
  • The Claude Code and Codex plugins hand a session each memory record once, and label a recalled memory or a file's notes only where the label tells the reader something to act on, so a one-record recall is a quarter smaller.
  • A new Claude Code or Codex session with prompt recall starts with a primer of pinned and newest memories and runs no search. In a checkout that configures pytest, the Claude Code plugin adds a digest of the result file to a test command whose output names no failure reason; LOOM_TEST_REPORT=off turns it off.
  • Context packs can return partial results within the caller's deadline. Coding plugins omit pre-fix diagnoses when the checkout already contains the fix. The deployment can disable model calls for session captures with LOOM_MEMORY_EXTRACT_SESSION_CAPTURES=false and still capture a fix record. Capture reads the edited definitions regardless of the user's Git diff settings.
  • The coding plugins suggest one test command when they can identify the edited file's test and the checkout configures its runner. The prompt can include that command alongside its code pointers.
  • LOOM_CODE_TIER_ENV_PASSTHROUGH names worker environment variables the compiler tiers pass to a configured repository's harness and dependency install, such as a private registry's NPM_TOKEN. It is empty by default.
  • Test-link lookups use LOOM_CODE_TEST_NEIGHBOR_ROWS to cap the neighboring test files examined. The default is 200.
  • code.test_gate and code.tests_for take at_commit, a commit the indexed head contains, and answer as of it. Capacity diagnostics report write-request rates and bounded counts for one authorized namespace, and loom doctor --capacity reads the same evidence. Code pointers above a prompt leave out test data unless the prompt asks for tests or names the file.
  • The server image runs npm 11.21.3 for a TypeScript repository's npm ci, in place of the npm 10 that Node 22 bundles.

Client compatibility

  • memory.proposal_decide requires an administrator other than the proposer, and an accept must send approved_sha256, each key's value hash as reviewed: without it the key is refused with "proposal content must match approved_sha256", while the call still answers. Read each key's outcome in results.
  • The coding-agent plugin mode is both, memory, or code. Move off the toolset plugin option and run the Loom setup command in each repository that should use code lookup. Prompt code pointers default to auto: they are added only where the Loom the session talks to indexes the checkout's own repository; LOOM_PROMPT_PACK=off turns them off.
  • code.test_gate distinguishes verified untested definitions from definitions with no linked test. code.search adds pick_confidence and reports retrieval confidence on the calibrated scale.
  • code.repo.add and tracker.source.add, tracker.source.set_mapping, tracker.source.rotate and tracker.source.remove need a token whose own role is writer. code.repo.add, code.repo.add_branch, code.repo.remote_branches and code.repo.set_access move to the hidden MCP tier.
  • Trace call counts move to loom.call.root=true: a query that counted root spans now sees two per call. An HTTP op's X-Trace-Id names the call's trace.
  • The Claude Code plugin's MCP entry no longer lists loom_activate, loom_context_pack and loom_working_memory_set, nor loom_tracker_duplicate_check where it runs both planes, since its hooks do that work. Each op still runs through loom_op. The entry declares no MCP resources, so Claude Code adds no resource tools for it.
  • LOOM_MCP_ALWAYS_LOAD_TOOLS defaults to auto, where 1.3.0 left it empty, so tools/list marks a few tools to load upfront: code.edit_context and code.grep, with code.search or code.symbol, for the coding toolset, and code.search, code.symbol, code.grep, search.query and loom_op for the others. A connection that asks for on-demand loading, as the coding-agent plugins do, gets none. Set LOOM_MCP_ALWAYS_LOAD_TOOLS= (empty) to leave loading to the host as 1.3.0 did.
  • The coding-agent plugins' instruction block is shorter and their connection loads no tool schema up front. Setup reports an existing block as outdated: run /loom:loom-setup (Codex: $loom-setup) in each repository to replace it.
  • code.test_gate labels each test's evidence in why; the value graph_hop is now static_call.
  • A fork named only as owner/name in LOOM_CODE_REPO, or cloned through an SSH host alias, no longer resolves to its parent's index. The plugins name a github.com remote with its host, so a GitHub fork they report still resolves; LOOM_CODE_FORK_UPSTREAM_LOOKUP_ENABLED=false turns the lookup off.
  • A context.pack that names its session_id returns the memories, decisions and procedures that earlier sessions of the same namespace and user wrote, where it returned only that session's. An app that keeps its end users apart by session alone sends read_scope: "own_session", which 1.3.0 also takes.
  • The Rust SDK 0.1.2 requires Rust 1.85; 0.1.1 built with 1.84.
  • The coding-agent plugins 1.2.158 say at session start that a server before 1.4.0 is older than the oldest they support, and to upgrade it.
  • memory.set_from_messages skips an extracted fact whose value its writer deleted and lists it in refused with the verdict forgotten, where it answered 422.

What changed for clients since v1.3.0

379 operations served (was 375); ops +4 −0; request fields +27 −0; response fields +36 −0.

New operations

  • code.edit_context — role VIEWER, budget 250 ms, MCP extended; request fields: agent, clues, consumer, include_lessons, include_related_source, lesson_namespaces, name, names, namespace, org, user_id
  • code.read — role VIEWER, budget 800 ms, MCP extended; request fields: agent, consumer, end_line, include_lessons, lesson_namespaces, namespace, org, path, ranges, start_line, user_id
  • collection.budget_set — role ADMIN, budget 80 ms, MCP extended; request fields: budget_alert_inbox, daily_cost_cap_usd, daily_user_cost_cap_usd, namespace, org
  • memory.append_batch — role WRITER, budget 300 ms, MCP hidden; request fields: agent, entries, namespace, org, run_id, session_id, user_id

Changed operations

  • code.calibrate: response +rerank_skip_above
  • code.enclosing: request +include_lessons, lesson_namespaces; response +lessons, lessons_left_out
  • code.grep: request +context_lines, include_body, include_dependencies, include_lessons, lesson_namespaces, prefer_complete_context, prioritize_patterns, related_on_miss, related_on_prefix; response +contexts, contexts_partial, definitions, definitions_note, definitions_partial, lessons, lessons_left_out, related
  • code.history: request +offset
  • code.repo.add: required_role VIEWER → WRITER; mcp_tier extended → hidden
  • code.repo.add_branch: mcp_tier extended → hidden
  • code.repo.remote_branches: mcp_tier extended → hidden
  • code.repo.set_access: mcp_tier extended → hidden
  • code.search: request +report; response +pick_confidence
  • code.symbol: request +example_context_lines, test_examples_only; response +edit_targets, lessons_left_out, read_sources, uses_skipped
  • code.test_gate: request +at_commit; response +at_commit, tests_unnamed, unlinked, unlinked_capped, unlinked_total
  • code.tests_for: request +at_commit; response +at_commit
  • conflicts.list: response +proposals
  • context.pack: request +deadline_ms; response +partial, partial_reason
  • knowledge.source.add: request +crawl_options; response +crawl_proof
  • knowledge.source.inspect: response +crawl_options, owned_by_caller
  • knowledge.source.list: response +self_service
  • knowledge.source.rotate: response +crawl_proof
  • knowledge.source.update: request +crawl_options; response +crawl_proof
  • memory.for_file: response +printed
  • memory.list: request +conflicted_only, pinned_only
  • memory.proposal_decide: request +approved_sha256; required_role WRITER → ADMIN
  • memory.proposals: request +count_only
  • memory.search: response +code_note
  • memory.set_from_messages: request +changed_files
  • procedure.revise: response +outcome
  • session.brief_get: request +snapshot_id; response +snapshot_id, snapshot_key
  • session.brief_save: request +checkout
  • tracker.source.add: required_role VIEWER → WRITER
  • tracker.source.remove: required_role VIEWER → WRITER
  • tracker.source.rotate: required_role VIEWER → WRITER
  • tracker.source.set_mapping: required_role VIEWER → WRITER

What's Changed

New Contributors

Full Changelog: v1.3.0...v1.4.1