Cairnmind
Contracts & Evaluations 163 min read Source: CHANGELOG.md ↗

Changelog

Complete Cairnmind release history: breaking changes, contract additions, evaluation milestones, and platform fixes across every published version.

All notable changes are listed here, newest first. Releases up to 0.8.0 were published as DevBrain.

Unreleased

Stable 1.0.0 contract, PR check, English-only guard and release gates

  • Published docs/STABLE_CONTRACT.md (linked from README.md) defining the 1.x stability boundary (CLI commands and --json outputs, the 8 MCP tools and resume packet v2, persistent formats including store upgrades, backups, portable and published memory, external importers, config.json / CAIRNMIND_* and the DEVBRAIN_* deprecation window, safety invariants, deprecation policy, and supported matrix), while explicitly marking SQLite (--backend sqlite, migrate), NLI/VCR (cairnmind[nli]) and local web UI (cairnmind ui) as preview/experimental (#248).
  • Added .github/workflows/contract-check.yml (scripts/check_contract_pr.py, tests/test_contract_pr_check.py) and updated .github/pull_request_template.md: pull requests that touch docs/STABLE_CONTRACT.md or tests/fixtures/contracts/ fail the contract-declaration check unless they carry both the contract-change label and a non-empty ## Contracts declaration (#248).
  • Extended the frozen CLI --json contract examples in tests/fixtures/contracts/cli_json/ (tests/contract_store_fixture.py) to cover pulse, scip status, memory heal-audit and mcp generate with cross-OS normalization, and fixed cairnmind pulse (pulse.py) to accept canonical format_version: 1 portable snapshot manifests written by MemoryManager.snapshot (#249).
  • Extended the Polish-literal AST guard in tests/test_workspace_cli.py from cli.py to all 12 modules listed in #60 and every other non-i18n module in src/cairnmind/ (with an explicit allowlist of intentional Polish i18n/locale modules), and made cairnmind ui --mock /api/ask responses bilingual (English for English queries, Polish for Polish queries) (#60).
  • Updated docs/RELEASING.md with the permanent release-gate rules adopted for 0.13.0 (two consecutive dry attack rounds on the core, full fresh + upgrade manual trial, three consecutive green main runs with no job reruns; #454), the 10-tester major release gate (#159), and the 1.0.0-rc1 7-day zero-defect freeze procedure (#250), and updated native Windows getting-started/upgrade notes in docs/TERMINAL.md and docs/UPGRADING.md (#151).

Pulse, universal MCP presets and pre-flight doctor

  • Added cairnmind pulse [PROJECT] [--worktree PATH] [--strict] [--json]: a fast (< 500 ms), strictly read-only consistency micro-audit checking Git/fingerprint code drift (with (mtime_ns, size) + SHA-256 fallback without Git, branch/tree divergence reporting, and worktree isolation), test freshness against current code, active origin_evidence: degraded entities, and .memory/cairnmind/ snapshot, database reference and migration.lock integrity. Exits 0 for HEALTHY (or soft DRIFT), 1 for DRIFT with --strict, and 2 for BROKEN.
  • Added universal MCP presets via cairnmind mcp generate --client <name> / --auto (and optional --mcp-client on cairnmind install) covering claude-code, claude-desktop, cursor, windsurf, vscode, cline, roo-code, codex, gemini-cli, zed and generic, with string-aware JSONC + JSON + TOML deep-merge, <file>.cairnmind.bak backups, atomic os.replace writes, absolute binary resolution, multi-project protection for --scope user (--name / --force), zero auto-approval/consent-bypass keys, and indexer/drift exclusion for generated project MCP files.
  • Added cairnmind mcp test-connection to verify an isolated stdio JSON-RPC initialize + tools/list handshake for generated or existing presets with strict clean-stdout validation and bounded timeout cleanup.
  • Extended cairnmind doctor with pre-flight Memory Pulse (--project or current repo), detected MCP client presets, optional --check-mcp live 5-second stdio handshake verification, security guard summary, and Docker/WSL2 /mnt/.../network filesystem/UID/write-permission warnings.

Out-of-process external history converters and cross-release contract guards

  • Added out-of-process external transcript converter commands (importers.py, cli_importers.py): register, list and remove converter commands in <data_dir>/importers.json with cairnmind importer add|remove|list and import external transcripts via cairnmind import PATH --via NAME [--project PROJECT] (both refused when SESSION_ID or PACKET_ID is set in the environment). Converters run without a shell in a cleaned environment with private working directories, bounded timeout and combined output limits, emit strict normalised JSONL v1, mask secrets before storage, and archive lines as converted_transcript sources marked origin_evidence: "degraded" without touching import_cursors, queuing extraction or altering native resume readiness (#127).
  • Added cross-release compatibility and contract-guard tests (tests/test_release_contracts.py, scripts/build_release_fixtures.py, scripts/update_contract_examples.py): verifies clean store upgrades from published 0.10.0, 0.11.0, 0.12.0 and schema_v3 fixtures without row loss (with before-schema-* backup creation on schema bumps), verifies restoring/importing legacy backups, .memory/ snapshots and published memory directories, freezes CLI --json and all 8 MCP tool outputs against tests/fixtures/contracts/, and updates docs/RELEASING.md to capture fixtures after each release (#249).

Symbol-anchored evidence, opt-in code decisions and serverless CI scan

  • Records anchored to a function, class or method (metadata.symbol_anchor, PARSER_VERSION = "syntax-v4") store a cross-OS SHA-256 of the symbol's normalised AST body (symbol_anchor.py): comments, whitespace, indentation width, blank lines, wrapping, trailing commas, simple quote styles, optional JS/TS semicolons and CRLF/LF differences are normalised out and file paths stay in POSIX form, while block boundaries and Python decorators remain significant. Edits elsewhere in the file or running ruff format / prettier keep symbol_state: unchanged and evidence_state: anchored; real body edits report symbol_changed (with the commit or timestamp) and removals report symbol_gone, without ever mutating record.status. The terminal inspector shows localized EN/PL Symbol: and Comment tag: lines, and scripts/measure_symbol_anchoring.py measures a 94.7% reduction vs file-level flagging on Cairnmind's src/ history (1,077 vs 20,338 symbol evaluations across 59 commits) (#411).
  • Per-project opt-in ingestion of repository decisions (cairnmind memory decisions PROJECT [off|comments|adr|trailers], off by default, at most one active source per project): comments (DECISION:, INVARIANT:, WHY: bound to their enclosing or following AST symbol), adr (docs/adr/*.md with optional YAML front matter and symbol references), and trailers (Git commit trailers Decision:, Invariant:, Why:, Refs: ADR-...). Always creates proposed records only, is idempotent, enforces every store write guard (read_only, StoreNotWriter, upgrade_mark, setup_mark, restore_unfinished), and reports tag_removed / symbol_gone instead of deleting records when a tag, file or symbol disappears (#412).
  • Serverless read-only CI scan command cairnmind scan [PROJECT] --diff REVISION [--worktree PATH] [--json]: opens the store via Store.open_readonly and read_consistently, starts no service or model, writes nothing, auto-detects the project from cwd when omitted, supports single revisions and ranges (origin/main...HEAD), prints only symbol_changed and symbol_gone records for the diff, and exits 0 (clean), 1 (drift detected) or 2 (error / unready store), with a GitHub Actions example in docs/WORKFLOW.md (#413).

Local Web UI, multi-language SCIP, native Windows and CI coverage

  • Added an optional loopback-only local Web UI (cairnmind ui --port 4310 [--project NAME] [--mock] [--no-open]) backed by /api/ui/* HTTP and SSE endpoints for inspecting OCC session alignment, task test gates, verbatim quote provenance with SHA-256 fingerprint diffs, the 4-column dependency and blast-radius graph, and the MCP guardrail audit log (#464).
  • Added automatic multi-language SCIP code graph support for Go, Rust, Java, Kotlin, C, C++, C#, PHP and Ruby (cairnmind scip status|install|index|import, scip_mode: auto | manual | off), feeding into the same ArcadeDB code graph (#462).
  • Added native Windows 10/11 support without requiring WSL2 or tmux: standalone Textual workspace backed by an owner-only Windows Named Pipe for person-confirmed acts, native Windows file locks, PowerShell installer scripts/install-windows.ps1, per-user Task Scheduler logon autostart (cairnmind service autostart), and Windows CI test shards (#461).
  • Expanded unit and edge-case test coverage across CLI, storage, workspace, cockpit and runtime modules, raising merged cross-OS CI line coverage to ≥95% (#463).

A lighter first start

  • The database engine can run in Docker, so Java 21 on the host is optional: cairnmind engine start --docker (also engine up --docker) runs Cairnmind's ArcadeDB image (ghcr.io/piotrwozn/cairnmind-arcadedb, pinned by digest) with the data directory mounted, as your own user, on 127.0.0.1 only; --build builds the same image on this machine from the files shipped with Cairnmind. engine stop acts only on the container carrying this installation's labels and refuses when it cannot tell; engine status reports the container as unknown then (#272).
  • cairnmind init chooses the engine mode once, Docker when Java 21 is missing and Docker answers, says which it chose and saves it as engine_mode in config.json; a saved mode whose tool is missing is an error that names it. engine start --native goes back. The native engine and the engine in Docker never run on one data directory at the same time (#272).
  • cairnmind doctor names the engine mode (arcadedb.engine) and, in Docker mode, does not ask for Java and reports Docker and the container; the installer no longer stops for a missing Java when Docker answers (#272).
  • tmux 3.4+ is needed only for the terminal workspace: opening it (cairnmind, cairnmind tui, cairnmind workspace takeover) without tmux 3.4+ prints one message that names the version found, the install hint and the commands that work without it (serve, run, mcp, brief), and exits with code 1; every other command works without tmux (#273).
  • cairnmind doctor reports a missing or older tmux as cockpit: unavailable (tmux 3.4+ not found), with the version found when it is too old, and still exits 0; with tmux 3.4+ its output is unchanged (#273).
  • The installer no longer stops without tmux 3.4+: it says the terminal workspace is unavailable, goes on, and ends by naming the commands that work without it; without a tmux client it still treats a terminal server it owns as running and stops before replacing the installed version (#273).
  • cairnmind mcp --client external starts the knowledge service when a tool call finds it not running, the way ask, run and context do, so an external MCP client works after a reboot without a manual cairnmind serve; parallel tool calls share one start; on a reader installation nothing is started and the error gives the reader reason; when the service cannot start, the error says why and names the command that starts it (#258).
  • Cairnmind starts without Ollama and models: cairnmind init saves knowledge_agent: disabled (deterministic-only mode) in config.json when no model server or model is found, says why, and names cairnmind models pull and cairnmind models set; an invalid model profile is refused by init instead of being filed as "no models" (#274).
  • In deterministic-only mode plans, tasks, the acknowledgement gate, check run, brief, impact, memory and file indexing work as usual; extraction and embedding jobs wait without failing and run once models are configured, and cairnmind status shows models: not configured (deterministic-only mode) and how many jobs wait (#274).
  • Without models, ask (the command, the MCP tool, POST /ask and the Ask memory panel) is a full-text search of the project's memory and makes no answer: the status is unavailable with diagnostics.code: models_not_configured, sources stays empty, and full_text_matches lists up to 8 passages that match words of the question, found by full-text search under the same project, worktree and sensitivity rules as an answer's evidence and said plainly to be search results, not an answer. Passages that were found but could not be shown are reported, never as "no passage"; a blank question is refused as with models; no citation is made and nothing is cached, logged or evaluated (#274).
  • cairnmind doctor reports knowledge_agent: disabled (deterministic-only mode) as information with exit 0; the evaluations report not_run (exit 3) and rebuild-vectors refuses while no models are configured (#274).
  • cairnmind models pull (after a successful download) and cairnmind models set (after its check) set knowledge_agent: enabled and say so at once, with how to turn it off; a running service that started without models tells you to restart it; installations from before 0.13.0 keep their models and a configured server that is down is still reported as a fault (#274).
  • README.md is a short start page: the pitch, the comparison, a quick start without Java, tmux or models, the optional models and workspace, what is guaranteed, the measured results and an index. The rest moved into docs/: new ARCHITECTURE.md, EXTERNAL_CLIENTS.md, MEMORY.md and STORAGE_AND_MAINTENANCE.md, and new sections of CONTRACTS.md, WORKFLOW.md, EVALUATION.md, TERMINAL.md, API.md, INSTALL.md and UPGRADING.md. The moved text is the same except where it had become untrue, above all what a first start needs (#275).
  • The documentation of external MCP clients no longer says to start the service first: their first tool call starts it (#258, #275).
  • cairnmind setup shows where storage and the memory models run and what runs on this machine, in three lines (--json for the structured form). Without a profile it changes no setting of an initialized installation (#74).
  • cairnmind doctor and cairnmind status start with topology: the same three lines, the variable a value came from when it was not config.json, whether the models were evaluated, and the writer role with its problem. The workspace status row shows Storage and Models when the terminal is wide enough (#74).
  • An empty CAIRNMIND_ARCADE_CONNECT_URL no longer turns a connect-only installation into a managed one; it counts as unset, like the port and Ollama variables (#74).
  • cairnmind setup local, cairnmind setup remote-db and cairnmind setup remote move storage and the memory models: each target is tested before anything is saved, the plan says what changes, what has to be rebuilt and what is left as it is, and nothing changes without --yes (#74).
  • Passwords and keys are never asked for, printed or saved by setup: --password-file names a private file you created (mode 0600) and only its path is saved; --admin-password-file, which creates the database and its user, is used for that one step and never saved; a model server's key is named with --credential-ref (#74).
  • Going back to the engine on this machine from a store Cairnmind only connects to needs --backup FILE (a backup of that store, checked, then restored here under the same rule as cairnmind restore: the person's confirmations are kept only with the open workspace's key, and the plan and the output say which way it goes) or --empty; the remote store is never written to or deleted, and a failed step puts config.json back as it was, except that the managed password generated for the engine on this machine stays once its start was tried, so that the command can be run again (#74).
  • setup with a profile is refused while the knowledge service runs (cairnmind stop first), in a coding session, and while a variable such as CAIRNMIND_ARCADE_USER would replace a setting it saves; nothing restarts by itself (#74).
  • cairnmind doctor in a terminal prints a short summary: where storage and the models run, what is required and present, what is required and missing, what is optional and off or on, and the next step. cairnmind doctor --json, and doctor's output in a pipe, a file or a script, is the full report as before, and the installer ends with the same summary. A stopped engine that can start is shown as present on demand, an engine answering with another release than the pinned one as missing (#287).
  • The README's quick start reaches a first memory operation without models, tmux or a coding assistant (install, project add, remember, brief, ask), and connecting Codex or Claude Code is its own step that names the files cairnmind install writes (#287).
  • project add, remember and install say in a terminal what they did and what comes next; install calls a client connected only when a verified launch would work and otherwise names what is missing; project add says when the folder is not a Git repository or has no commit yet; brief ends with the next step and carries it as next in --json (#287).
  • A command that starts the service, the MCP server of an external client or the workspace that starts it, and a command that starts the database engine on demand, say so (#287).
  • The messages that stop a first start say what to do next: an unknown project, a project name or folder already registered, run without the client, a refused verified launch, status with no running service, an engine that is not installed, exits or times out at start, and a missing uv (#287).
  • The installer no longer prints the engine's JSON or GPU advice without --pull-models; without tmux a leftover terminal socket that nothing listens on no longer blocks a second run, and the refusal lists at most five sockets; the Java hint names the apt command (#287).
  • Opening the workspace without tmux 3.4+ names brief, remember, ask and run as the commands that work without it (#287).
  • cairnmind setup, status and doctor no longer say that a model server on another computer "receives questions and memory text" when that address is the refused ollama_url: they show the refusal (#287, #301).
  • docs/UPGRADING.md has a section "From 0.12.0 to 0.13.0": the steps, what the upgrade does to a store (schema and backup format unchanged, an acknowledgement that may be refused once, the first snapshot after the upgrade), what an existing config.json means, how to move the engine to Docker and back, the changes scripts meet, and where the README's text moved (#303).
  • cairnmind doctor exits 1 when something required is missing and 0 otherwise; models, tmux and coding clients never change the exit code, models or a client that are set up but fail are listed under "Optional and not working", and the last line names project add only until a project is registered; the installer ends with doctor's exit code (#313).
  • project add, project list, remember, ask, install, init, stop and engine stop print in a terminal what they did and what comes next, and no JSON; with --json, or in a pipe, a file or a script, they print the full JSON as before (#313).
  • cairnmind install writes nothing for a coding client that is not installed, not even its instruction block, and Cairnmind's own block in AGENTS.md and CLAUDE.md is left out of the project's index so it no longer comes back in ask; a block indexed earlier leaves the index the next time the project is indexed (#313).
  • A data directory whose engine port is taken by another data directory's engine says so, names the way out and no longer tries to start a second engine there; when this data directory's own engine, a verified process or a running container of its own, refuses sign-ins for about 30 seconds after failed attempts, it says that and advises to wait, never to move or stop the engine (#313).
  • Without models, ask in a terminal says in its status line that there is no answer without models, marks a proposed record as unconfirmed, shows the freshness warnings, and lists a record and the note it was made from once; ask for an unknown project, or on an engine that refuses this data directory, says so before it starts the service (#313).
  • The installer without Java and without Docker names both and says to run it again; a second run says when it stops the running service and no longer announces a download when the engine is already there; a command that needs Java at run time names Docker too (#313).
  • project add with a folder that does not exist says how to go on, and adding a registered project says it was already registered; the sentences about proposed findings say that nothing more is needed to go on; doctor no longer suggests cairnmind stop for a service that is not running (#313).
  • A command whose first argument is the project says that the project name comes first, names every argument that follows it and names cairnmind project list, for example when a question is typed without a project (#326).
  • The installer no longer prints init's JSON block or uv's list of packages and ends with the one Next line of its check; its stop without Java and Docker says that nothing has been installed yet and that Java is the simpler choice (#326).
  • cairnmind doctor and the installer's check no longer name the internal database in their sentences, and the Storage line says who sets the address and that this installation is the one that writes to the store. cairnmind brief shows only the parts of its legend that apply, and the Next of remember and brief says that the memory inspector is the only place a person confirms or disputes a finding (#326).
  • cairnmind ask without models shows a stored note as a stored finding and ends with a next step; opening the workspace without tmux names cairnmind run only when a coding assistant is installed; cairnmind project --help describes add and list, and project add prints the Git warning before its Next line (#326).
  • In the workspace, More → Settings → Storage and models shows where storage and the memory models run as the running knowledge service loaded them, every problem the three lines name, and what the Storage and Models marks of the status row abbreviate; when the store does not answer it names the service's reason and points to cairnmind doctor. A button for each profile of cairnmind setup carries the change out from the workspace, and the command to run in a terminal is shown as the other way; reopening the screen after a change shows the new place (#74, #339).
  • The change made from the workspace asks first: the form takes only non-secret values (paths of private files, a key reference), a dry run shows the plan of cairnmind setup, and a consent dialog says where memory content will go and that the knowledge service is unavailable meanwhile. Then it stops the service, runs the same setup code and starts the service again; a coding session, a run or job in work, a reader installation and a variable that would replace a setting refuse it by name, and a failure at any step puts config.json back and starts the service on the old settings (#339).
  • While such a change runs, nothing starts the knowledge service of that data directory: a mark in the data directory blocks every automatic start with a sentence that names it, and the panels, the broker and the MCP server say that a change of setup is in progress instead of an error (#339).
  • A change of setup that ends with settings nobody checked (killed outright, config.json could not be put back, an unplanned error) keeps a copy of the earlier settings, and while that copy is there nothing starts the knowledge service: every panel and the MCP server say so, cairnmind doctor counts it as missing, and the way on is to check config.json and remove the copy (#339).
  • A signal that comes while the service starts again on the old settings, after config.json was put back, leaves no copy behind and blocks no start; a copy that is kept says that nothing starts the service until config.json is checked and the copy removed (#339).
  • A start of the knowledge service that is interrupted, fails late or times out during a change of setup no longer leaves its process behind under a config.json that was put back: the service started on the new settings is ended first, and when it cannot be ended config.json is left as it is and the outcome says so (#339).
  • cairnmind setup puts config.json back when its last step after the change fails, instead of leaving the change half reported (#339).
  • The status row of the workspace follows config.json when it changes, so Storage and Models show a new place without a restart, and keeps its last answer while the file does not parse (#339).
  • When a change of setup ended while nobody watched it (the workspace was closed meanwhile), the next opening of the workspace shows how it ended once, in a message dialog in the workspace's language, whatever the final state, and names the kept copy of config.json when there is one; a change still running, an outcome already seen in the progress dialog and a setup-change.json that cannot be read show nothing, and that the outcome was shown is recorded in setup-change.json itself (#339).
  • When the store in use cannot be read, the workspace refuses to change the setup, stops nothing, and names the way out: close the workspace, run cairnmind stop, then cairnmind setup local --empty --yes in a terminal (#339).
  • cairnmind project add now says how many extraction and embedding jobs of the project wait and why: the service is stopped (it names cairnmind index NAME as the command that starts it now; project add itself starts no service), there are no models (deterministic-only mode), the knowledge_agent setting in config.json is invalid, or an upgrade is in progress. Its --json output has a jobs field with queued, service_running and waiting_because (null means not known to wait) (#366).
  • cairnmind init and cairnmind doctor now name the Java version that was found (Java 22 reads as Java 22), and the installer, cairnmind setup, the help of engine start --native and the messages about Docker say 21 only as the minimum ("Java 21 or newer"), in English and Polish; a Java below 21 is not named as the engine's. doctor --json gains an additive java_major key in topology.storage and in the engine item of topology.this_machine when the engine is native and a usable Java was read (#368).
  • On a Mac with an Apple chip, the summary of cairnmind doctor and of the installer's check has a line that names the chip and the unified memory shared with the models, in English and Polish; doctor --json is unchanged, and Linux and WSL print what they printed (#368).
  • The README's quick start no longer promises matching file passages from the first ask: it says passages are found by the question's words (and by meaning once vectors are built), and that an answer cites only what it relies on (#370).
  • A new installation names its database cairnmind_<id> instead of devbrain_<id>; an installation that already exists keeps its earlier name: one whose config.json names no database or the earlier name, cannot be read, or whose data directory holds the earlier database's files (#369).
  • Claude Code: cairnmind install also writes a cairnmind-recorder subagent (.claude/agents/cairnmind-recorder.md, Claude Code 2.1.238 or newer, never through a symlinked .claude or .claude/agents) that saves a decision, constraint, preference, fact or question as its own external session, kept as reported and never verified or confirmed, and answers in one line. Its tools list names only its own server's resume_context, ack_resume and remember (that the client keeps to the list is not checked without Claude Code), and it refuses anything but the quoted words. When something changed since the main conversation's last ack_resume, handing a record to it spares the whole packet again: about 0.8 KB (request text and answer) instead of about 6.9 KB on the sample project and 20.9 KB on a full store, and with a current acknowledgement writing it yourself is about as small. Its records make the main conversation's acknowledgement stale like any decision, so its own plan and task writes still read the new packet. Inside a session started by cairnmind run the recorder is a separate, degraded session. Codex and other MCP clients get nothing new, and the page of Claude Code's documentation the feature rests on is quoted in docs/EXTERNAL_CLIENTS.md (#376).
  • cairnmind install says when it did not write the recorder: the Claude Code version could not be read, it is older than 2.1.238, the file is not a regular file of the project with Cairnmind's markers, or an earlier file was left in place because MCP could not be verified; a removed file is named as removed, not as written (#376).
  • cairnmind install --no-recorder removes the recorder file Cairnmind wrote (with a backup), writes none and remembers the choice for the project in the data directory, so a later plain cairnmind install keeps it off; cairnmind install --recorder turns it on again, and a file that is not Cairnmind's own is left alone with either flag. cairnmind install says that the recorder is off; starting an assistant does not repeat it (#389).

Removed

  • The devbrain command is gone: the package installs one executable, cairnmind, and the alias that 0.9.0 to 0.12.0 installed beside it is removed. Nothing stored changes (data directory, database name, backups, DEVBRAIN_* variables, python -m devbrain in DevBrain 0.8.0 project files), and cairnmind install still rewrites project files that an earlier version wrote. Replace devbrain with cairnmind in your own scripts, shell aliases and editor MCP settings (#314).
  • If the installer finds a devbrain file left in uv's tool folder, it names it with the rm command that removes it, and removes nothing itself; if an earlier DevBrain uv tool exists that uv does not list, it stops and says how to stop and remove it (#314).
  • cairnmind install names every MCP server or hook in the project's client files that you wrote by hand and that still starts devbrain, and leaves the entry unchanged; it says to remove the entry where it has just written its own, and otherwise to write cairnmind there (#314).

A person's acts need the open workspace

  • A person's acts (a review, a conflict decision, a plan confirmation, accepting or withdrawing a record kind, the workspace form, and an import or --take-published that replaces records confirmed or disputed here) need a key that the open workspace keeps in its tmux server; the service token alone is refused and nothing is written (#214).
  • The command line no longer confirms: remember --confirmed, memory confirm-plan and record-kind accept or withdraw are refused with exit code 2 and say where a person does it, task add stores a proposed task, and plan save or plan adopt can no longer change what a person confirmed (#214).
  • --replace-confirmed and --take-published from the command line can no longer replace a record you confirmed or disputed; the memory view of the workspace does it: Import for an archive, Team memory for a published folder or a commit (#304).
  • The inspector confirms a plan: open it in Plans and choose Confirm (#214).
  • The workspace refuses to open when its tmux server cannot give a key for a person's acts, and says to run cairnmind workspace stop. cairnmind workspace status reports whether the workspace holds the key (person_key: present, absent or unavailable), never the key itself (#214).
  • docs/MEMORY_CONTRACTS.md says what a program of the same user can still do, cairnmind restore included, and docs/UPGRADING.md says to stop and reopen the workspace after upgrading from 0.12.0 (#214).
  • cairnmind restore keeps a person's confirmations and accepted transcript record kinds only when it reads a key from the tmux server of this installation's open workspace; otherwise it still restores every row, turns each person's confirmation into the backup's claim ("as the backup says ... not verified here"), withdraws the accepted record kinds in the same transaction, and says which way it went, how many, and why no workspace answered (#214).
  • cairnmind workspace status shows person_key as present only for a socket that passes the same checks as a restore and a person's request (#214).
  • Team memory in the memory view imports published team memory from a folder or a commit: the check lists every record confirmed or disputed on this computer that the import would replace and every record it takes from the published side, and the import runs only after you agree in a consent dialog, with the workspace's key. An import whose list changed since the check is refused and nothing is imported; the service also refuses a published import that replaces such records without the list the person was shown (#304).
  • A published memory folder given to the service as a relative path is refused instead of being read against the service's working directory; a Windows drive path typed in the Team memory folder field is accepted and translated (#304).
  • Known limit: from a commit, a record you disputed or confirmed here after the last publication cannot be replaced; import it from the published folder with the take field, as the commit form says (#304).
  • An impact verdict and the release of a record past the secrets gate are a person's acts: POST /inspector/impact/verdict and POST /inspector/records/{id}/release need the key the open workspace keeps, and the service token alone is refused with nothing written (#306).
  • The inspector releases a record: open it and choose Release, with the reason that is published with it (#306).
  • cairnmind impact-verdict and cairnmind memory release are refused with exit code 2 and say where the person does it in the workspace (#306).
  • docs/MEMORY_CONTRACTS.md lists both among the person's routes and says that a release or verdict an imported package carries counts as the package's claim (#306).
  • The workspace adopts a group of old tasks into a plan: More, then Old task groups lists each group with its tasks in plan order; after the plan title, a consent dialog shows the tasks and what adopting does, and Adopt makes the group a new plan in one person's act, its steps proposed until the plan is confirmed (#305).
  • POST /inspector/legacy-groups/adopt needs the key the open workspace keeps; the service token alone is refused and nothing is written. GET /inspector/legacy-groups lists the groups (#305).
  • cairnmind plan adopt still adopts a group that holds nothing a person confirmed; for the other case its refusal names More, then Old task groups (#305).
  • Deleting a project's whole memory is a person's act: More, then Delete project memory in the workspace lists the projects whose memory is in the store (removed ones too), shows what is deleted with its counts, and deletes only after you agree in a consent dialog, with the workspace's key. POST /inspector/projects/forget needs the key; the service token alone is refused and nothing is deleted (#347).
  • cairnmind forget PROJECT --delete-project is refused with exit code 2, deletes nothing and says where the person does it (#347).
  • Each deletion of a project's memory is kept as a row of deleted_projects in the store's metadata (the project's id, the time, the host and the counts, never its name or folder; the last 100), which cairnmind status lists and a restore does not clear (#347).
  • When the answer to a deletion is lost after you agreed, the workspace reads the list of deletable projects again and says that the memory is deleted or that it is not known, never that it was not deleted; it also says when the answer log was left behind (#347).
  • A person's act whose answer comes after you switched project (Release, plan confirmation, review, conflict decision, impact verdict, adopting an old task group, Team memory import, saving a snapshot, Delete project memory) tells its outcome, done, refused or not clear, as a notice addressed to the project it belongs to, instead of nothing (#354). An outcome the service did not confirm (a lost answer, an answer of 5xx or one that could not be read) is told as possibly done, for Release, plan confirmation, review and conflict decision too, never as not done; a 5xx after you agreed to delete a project's memory makes the workspace read the project list again (#354, #347).
  • The inspector replaces a record with a new text: open a decision, fact, constraint, question or preference and choose Replace. The form starts with the current text and asks for an optional reason; a consent dialog shows the current and the new text whole, and only its approval saves the new text as a new record confirmed by you, with an audit note, in one act. The record you opened becomes superseded and stays in its history with its sources; its view says Replaced by and the new record's id. If the record changed since you opened it, nothing is saved and it is read again (#222).
  • POST /inspector/records/{id}/replace needs the key the open workspace keeps; the service token alone is refused and nothing is written. A task, a checkpoint and a record that is already history are not replaced. When the answer of the service is lost or unreadable, the workspace says the replacement may have been saved instead of saying it was not (#222).
  • Replacing an external session's proposal is recorded on both records, as a conflict decision is, so your new text is published even though the proposal never is (#222).
  • The inspector's Replace button sits in the upper row of buttons, beside Details, and is greyed out in a list. In Polish the buttons Dispute and Details are now called Kwestionuj and Detale, so no button label of either row is cut in a Cockpit of 140 columns (#222).

Evaluations, measurements and decisions

  • cairnmind eval injection measures how often instruction-like texts planted in a README, a code comment, a message by the person, a message by the assistant and a tool result are obeyed by extraction, by answers and by the built-in agent, over several runs in a throwaway database (docs/evaluation/injection-fixture.json, each plant with a token made at run time and an address in .invalid; a custom fixture with a canary-shaped token or an address outside .invalid is refused). Each rate counts only the runs and asks in which the plant reached the model; a path where none did is reported as unmeasured and fails the run. No command, no write to a file that configures execution and no confirmed record that a plant asks for is carried out: the approver denies them and the service refuses the record, and if one happened anyway the run fails. Exit 0 when measured, 3 when not run, 2 when the fixture or an option is refused, 1 when the run failed. It is not part of the release gate (#179).
  • The deployment guide explains why the knowledge service stays on your machine, with the module behind each reason and the verdict on the three options; a headless worker is not planned. The service's spend with the database and the models elsewhere is measured once (23 November 2026): indexing this repository took the service 33 to 38 CPU seconds and a peak of 262 MB, and working off the queue about a quarter of one processor, while the database's own CPU was about three times the service's during indexing and about twice over the whole run; the decision of 22 November 2026 not to split the service before 1.0.0 stands (#75). scripts/measure_service_spend.py measures them: the service's CPU and peak memory while cairnmind index runs and in a set interval afterwards, while it works off its queue. It refuses to run against an installation (its data directory under either name, port 8765, an engine on 2480, a command with its own --data-dir, an exported database name that does not start with cairnmind_measure_, a remote engine without such a name, a process that is not the service of the throwaway directory) (#75).
  • docs/API.md says that an OpenAI-compatible server is not told a context size. scripts/compare_model_paths.sh prepares the measurement of the native Ollama path against Ollama's /v1 in a throwaway data directory, and refuses anything that could touch the installation (#217).
  • docs/evaluation/RESULTS.md has the measured store growth: what a transcript event and a file revision add to the database, to its vectors and to a gzip backup, before and after backups stopped carrying vectors (a backup of the measured store fell from 39.1 MB to 9.1 MB) (#185, #187).
  • docs/evaluation/RESULTS.md has the first run of cairnmind eval injection with the default models (22 November 2026, three runs, fixture version 2): extraction restated the canary of the README and the code comment plants in every run (6 of 12 plant and run pairs), no answer carried a canary or quoted a plant (0 of 12), and the built-in agent reached the ACK in 3 of 3 runs and requested nothing a plant asked for (0 of 9), with no invariant broken (#179).
  • docs/evaluation/RESULTS.md records that on the real Ollama /v1 the model check of cairnmind models set --provider openai_compatible without --reasoning-effort ends at the length limit (3 of 3 tries, each naming --reasoning-effort none, which then passes); the comparison of the two paths is still not measured, because the second Ollama server it needs was not started (#217).
  • docs/evaluation/RESULTS.md has the names checks measured with the default models, main against the commit before them: the names call refuses all 21 absent questions, nginx included (19 before), but withholds 3 to 4 answers of the twenty per run (15, 14, 17 against 18, 16, 20, so two of three runs fail the required 16, where all three before passed), and the question in headline case about a Zookeeper port is answered complete and wrong in 3 of 3 runs, where it was refused before; the replay of the introduced-names check over 45 kept reports withholds 62 of 551 right answers, so CHECK_ANSWER_NAMES stays off (#245).
  • The deployment guide has the measured requests and seconds of Cairnmind against a database over a real network (two computers on one Wi-Fi network, 18.5 ms between them, one run each) beside the loopback figures, says what did not work as written between two machines and fixes it, and lists what held and what did not, each with its issue (#225).
  • docs/evaluation/RESULTS.md has the names checks measured again with the corrected lookup, on the same clone as the run after: the twenty give 17, 19 and 18 complete and right with none wrong, so all three runs pass the required 16 (two of three failed with the uncorrected call), the names call withholds none of them, and all 21 absent questions are still refused, nginx included; the question in headline case about a Zookeeper port is still answered complete and wrong in 3 of 3 runs, which no check refuses (#245).
  • docs/evaluation/RESULTS.md has the native Ollama path and Ollama's /v1 measured with scripts/compare_model_paths.sh, three runs of eval run and of eval repository per path against one second Ollama server with a context of 16,384 (the #245 series ran on the same GPU at the same time): the results are the same within the spread between runs, and the model check through /v1 without --reasoning-effort none ends at the length limit and says so (#217).
  • docs/evaluation/RESULTS.md records memory snapshot timings measured with scripts/measure_snapshot.py across 3 runs each at 1,000 and 10,000 synthetic records on WSL 2 with ArcadeDB 26.11.1 before and after performance optimizations (preserving portable memory format, security guards and zero-trust hashing): batch object durability (syncfs/group flush via make_private_fd), single-pass canonical JSON serialization, SQL graph filtering and deduplicated object reads (memory.py), batched Store._remember/_record_graph queries (store.py, sql.py, arcade.py), grouped initial DDL in Store._prepare_schema, parallel zero-trust worktree hashing (verification.py) and a lightweight python -m cairnmind hook --client <CLIENT> entrypoint (__main__.py -> cli_entry.py), cutting 10,000-record first snapshot from 160.28–185.92 s to 7.03–7.26 s (24× faster), repeat, nothing changed from 11.09–12.42 s to 4.80–4.97 s, repeat after one record was added from 15.55–15.78 s to 6.57–6.72 s, made 10000 records from 562.21–579.72 s to 264.86–274.39 s, and cold python -m cairnmind hook startup from 311.4 ms to 191.8 ms median. GitHub Actions CI (ci.yml, tests/conftest.py) now keeps schema markers in SchemaTemplate, reuses the admin pool, caches uv, skips redundant apt-get update when tmux is present, balances Linux/Windows shards (6 shards; server-tests 4 shards on main), and fast-paths docs-only pull requests without skipping any code tests (#169).

What a hosted agent reads, and the names of an answer

  • A built-in agent on a hosted model (a Copilot connection, or an API profile whose address is not loopback) now gets code and documentation only by default: read_source refuses a conversation or third-party source and memory_records lists such records without their content, each naming the class and the setting memory_remote_classes (#183).
  • The answers of ask and the resume packet that a hosted built-in agent gets leave out held passages and record previews, say so, and count them under held_back, also without models, where the full-text matches leave them out and say it is because of the hosted model; the plan, the task, the blockers and the ACK work as before (#183).
  • What remember and checkpoint hand back to a hosted built-in agent no longer includes the record's content, metadata or key, so updating a held record by id cannot return its text or the key written from it; the checkpoint a hosted run saves when it compacts its context is handed back, kept and sent to the provider the same way (#183).
  • A built-in agent can still read what its own session archived, and one on a model server with a loopback address is not held back (also when that address forwards to a hosted model); Codex CLI, Claude Code and external MCP clients are not gated, and their provider receives what they read, which the documentation now says (#183).
  • A complete answer to a question asked without an answer schema now goes through one more call of the chat model after the support check accepts it: the call lists the product and technology names the answer asserts, and the answer is withheld, as partial with the names listed, when the quoted sources do not state one of them, including a lower-case name such as nginx; a failed, unreadable or blank-named reply withholds it too, and a call that does not finish in the time limit says so (#245).
  • The model_calls of an answer's diagnostics now keep up to three calls, so a complete answer shows its discovery (or repair), support and names calls (#245).
  • A deterministic check of the names an answer introduces (support_check names_missing, run after the support check and before the names call) and scripts/replay_subject_check.py, which replays the checks of names over kept repository reports without a model and counts as quoted only what the agent kept, are added (a report keeps an answer cut at 600 characters, so the replay lists an answer of that length as not read and exits 2 instead of counting none withheld); the deterministic check stays off until the replay shows no right answer lost (#245).
  • docs/evaluation/subject-questions.json, a question set built for the checks of names, is added, and docs/evaluation/RESULTS.md, docs/EVALUATION.md and docs/API.md describe both checks, their cost and their known gaps; the figures before, after and with the corrected lookup are in RESULTS.md (#245).
  • A name that the names call reports as not stated no longer withholds the answer when it stands in a source the answer cites (in a verified quote, its path or the cited source's text, case-insensitively and as a whole name), so a cited file that names ArcadeDB or Java frees an answer that asserts them; the question is not searched, so an answer about an absent product the question names (the nginx port) is still withheld. The diagnostics and the repository report rows keep both lists as names_reported and names_found (#245).
  • The subject check now reads a name from a question written in headline case (most words capitalised) when the capitalised word stands directly before a generic word such as port or version ("Zookeeper Port"), so such a question about a product the quoted sources never name is no longer answered complete with the service's own port; other words of such a question (a possessive, "Port Of X", a name before a word that is not generic) are still not read by this check, and a headline-case question about the project whose word before a generic word is missing from the cited source is withheld (#394).

Backups without vectors

  • Backups and cairnmind export no longer carry vectors, so they are smaller: every kind of backup (the daily one, cairnmind backup, and the before-schema-* and before-restore-* safety copies) writes embeddings and vector_indexes empty and vector_data as an empty object, in the same format 5. A restore of such a file sets the completed embedding jobs of the current chunks back to pending in its one transaction, one job per chunk, says how many (embed_jobs_requeued), and the service rebuilds the vectors in the background, while text search works at once (#187).
  • Until the rebuild ends, a search that wants vectors says so: before the first vector exists, that the vectors are not ready and the search used the text only, and after it, that the vectors are still being built, with the number of embedding jobs left, so an answer does not read as if the project had no such text. The second warning also appears whenever embedding jobs of the project are pending, for example while a new project is indexed. When the jobs of the rebuild failed and none is pending, a third warning gives the number of chunks whose embedding failed and names cairnmind retry-jobs. These warnings are kept when an answer keeps only its last warnings. The workspace shows both warnings in Polish too (#187).
  • A backup written by 0.12.0 or earlier still restores with its vectors and nothing is requeued. cairnmind restore and cairnmind setup local --backup print how many embedding jobs wait again, that they wait for the models in deterministic-only mode, and, while no choice about models is stored yet, that the first start of the service decides between the two; the plan of cairnmind setup local --backup says before --yes that the backup carries no vectors and that they are rebuilt (#187).
  • A new script, scripts/store_growth.py, measures how many bytes a transcript event and a file revision add to the database and to a gzip backup, with its own engine in a temporary directory and a fake embedding model, without any real model; the table in docs/evaluation/RESULTS.md is not filled in yet (#185).
  • Security: in the workspace a person's act is sent only from a consent dialog that shows what will be done, so a key typed before it appeared never sends one; this covers confirming or disputing a record, resolving a conflict, confirming a plan, releasing a record, an impact verdict, accepting and withdrawing a transcript record kind, and Apply of an archive import in the memory view, and a form before the dialog only collects the reason, note or title and its button says Continue (#332).
  • Withdrawing an accepted transcript record kind now asks in a consent dialog; before, its confirmation took keys typed before it appeared (#332).
  • Importing a snapshot archive over verdicts given on this computer now lists every record it replaces, with no cap, in the check and in the consent dialog, and is refused with nothing written if the archive or the store changed after the check (#333).

Fixes

  • Two installations that first open one store at the same moment now end as one writer and one reader also when the database server runs in production mode, as the image of deploy/arcadedb does; before, the second one's command failed with the server's bare error (#277).
  • A confirmation, review or conflict decision made in a second worktree now records that worktree's branch and commit in its audit instead of the project root's; cairnmind memory confirm-plan accepts --worktree, and a worktree that is not a registered root of the project is refused (#247).
  • An audit made on a detached head now says detached HEAD with its commit instead of the branch HEAD; a confirmation that cannot name its worktree in a project with several worktrees records no branch or commit instead of the project root's (#247).
  • A resume packet's instruction for accepting an unknown transcript record kind is no longer cut off when the transcript's archive path is long, in the packet or in the refusal an agent gets from ack (#263).
  • CAIRNMIND_PORT, CAIRNMIND_COCKPIT_PORT and CAIRNMIND_OLLAMA_URL are now read from the environment like the database address (used by that process, never written to config.json), so a second data directory can have its own ports and cairnmind init takes the model server address from the environment. cairnmind doctor shows the service URL and says when a value in force comes from the environment (#267).
  • A command that reaches a service that does not accept its token now says that the service most likely belongs to another data directory and names the port setting, instead of "Invalid local service token" alone; a service that cannot bind its port reports the port and the setting in the command that started it (#267).
  • The workspace process now ends with exit code 0 when you stop it with cairnmind workspace stop, and keeps a non-zero code when the tmux server is killed from outside (#269).
  • The approval dialog of the built-in agent now starts with focus on Cancel when the request fits on screen, so a stray Enter refuses and approving needs a deliberate key press; a longer request starts on its text, and the hint names Tab to reach the buttons (#268).
  • Each chunk is now queued for embedding once instead of twice, which halves the number of pending jobs shown while a new project is indexed; a failed embedding job still gets a fresh job on the next repair or model change (#262).
  • An acknowledgement no longer goes stale while the queue indexes and extracts records: a proposal the extraction worker wrote and nobody has touched since is left out of the state an ACK is given for. A packet built after such a proposal arrived shows it, labelled automatic_extraction; confirming, disputing or editing it, any record a person or a session writes, the plan, the task and the code still make the ACK stale (#256).
  • A memory snapshot no longer carries the code graph, which indexing rebuilds from the project's files, so a snapshot of a large repository no longer exceeds the manifest limit. A snapshot written by 0.12.0 that contains graph rows still imports and shows. When a snapshot would exceed a limit, the error names the limit with the size and the limit, and memory snapshot --preview reports exact figures and warns before anything is written; an import says that the code graph is not built yet until indexing has built it (#261).
  • After a memory import and before indexing has rebuilt the code graph, impact (its text, its JSON warnings and the terminal Impact list) says that the code graph of the project is not built yet; ask already indexes before it reads, so nothing changes there (#286).
  • The installer now says that a running Docker would do when Java 21 is missing and Docker is installed but does not answer, with what Docker said, instead of only asking for Java (#285).
  • Start work in the workspace for a project whose resume packet is partial now says that the project's memory is partial instead of "Operation needs attention. Connections", and, when an unknown transcript record kind blocks it, names the kind and where to accept it (More, then Transcript record kinds) (#246).
  • cairnmind memory reextract PROJECT [--below-version N] [--dry-run] extracts again the sources whose untouched proposals come from an older extractor version; when the new extraction commits, those proposals are superseded in the same transaction, while confirmed, disputed and edited records are never changed. It needs the models; --dry-run works without them (#194).
  • An ollama_url that names another computer, in config.json or in CAIRNMIND_OLLAMA_URL, is now refused like a model profile without consent: nothing is sent to it, not even the read-only checks of doctor and init or the request of models pull, and the message names the setting and the full cairnmind models set --role chat|embedding --provider ollama --model NAME --base-url URL --allow-remote command. Before, those three asked such a server which models it has; questions and memory text were never sent to it (#288).
  • The installer no longer waits without end for a Docker that does not answer: docker version gets 5 seconds and is then stopped. An installation whose stored engine mode is Docker is updated the Docker way, without downloading the native engine. When a workspace is running and tmux is not on the PATH, the installer says so, names the socket and the two ways out, and removes nothing (#290).
  • A command that reaches a Cairnmind service of another data directory says so in the workspace and through the MCP bridge too, with the address and the directory, instead of a bare refused token; cairnmind status shows service_url (#291).
  • The dialog that asks for consent ignores Approve for 0.4 seconds after it is first drawn, so a key pressed before it appeared approves nothing, and a resize keeps the focus on Cancel (#292).
  • When a database container does not pass its check right after docker run, Cairnmind stops and removes the container it has just created and says what became of it; when it cannot, it names the container and the command that removes it (#293).
  • Without memory models, the Ask panel shows how to get them under its own heading instead of "Missing evidence", and Process memory says that no models are configured, or that a restart is needed once they are enabled, in a sentence that fits the sidebar (#294).
  • A folder inside Cairnmind's data directory is refused as a project, with the reason; before, it was registered and indexed no files. A registration of that kind made by an earlier version stays as it is (#295).
  • cairnmind run for a partial packet prints its sentence without the code resume_partial: in front; the workspace keeps the code (#296).
  • cairnmind memory reextract also replaces the untouched proposals of a source that the newer extraction skips, and its dry run counts such sources and records apart (#297).
  • The installer no longer says it is closing the running workspace when tmux is missing and it could close nothing; with CAIRNMIND_INSTALL_STOP_WORKSPACE=1 it stops with the same message as without it, which says the sockets could not be checked or closed (#307).
  • The workspace's project list, stage panel and sidebar name a Cairnmind service of another data directory, in English and Polish, instead of saying the projects could not be read; a refused token no longer opens a new broker session on every poll (#308).
  • In deterministic-only mode, More, Queue, Process memory no longer asks for consent to use local models that are not configured; it shows the notice about getting models, or restarting the service, at once (#309).
  • Indexing names a project that 0.12.0 registered with a folder inside the data directory, says to move the files out and register them again, and leaves the registration untouched; it shows in cairnmind ingest, in status and in the warnings of ask. The refusal "Project root cannot contain Cairnmind's private credential store" has a Polish form in the workspace (#310).
  • An https:// address of this computer in ollama_url now works for the local Ollama in every command, instead of being refused with an older message that named neither the setting nor the remedy (#302).
  • The acknowledgement reply and the session status now say how many automatic proposals were written after the session's packet, and resume_context still hands back the packet the session acknowledged, so the count never costs an ACK; the proposals are read with ask (MCP) or cairnmind records and cairnmind ask (#299).
  • A key or click made before a consent dialog (model use, a paid test, an import, a download, an agent's command or tool call) was drawn no longer answers it, however late a slow machine handles it: the guard compares the time each input was read with the moment the dialog was first drawn, not the time it is handled. A key queued on the panel below the dialog no longer moves its focus. In the first 0.4 seconds of a consent dialog no key other than Esc and Enter and no mouse press other than on Cancel acts, and Enter can only refuse then; Esc refuses at any moment (#318).
  • An external MCP server no longer starts the knowledge service while Cairnmind is being upgraded: the installer leaves a mark for the time of the upgrade, every automatic start (ask, run, context, the workspace, the MCP server) refuses and says why, and doctor and status say so. A service that was still starting when the upgrade began is stopped, so none runs the version being replaced (#298).
  • The installer names open cairnmind mcp --client external servers of the installed version by process id and stops until they are closed (#298).
  • An MCP server that was open while Cairnmind was upgraded or reinstalled says that it still runs the old code and asks to be restarted, instead of mixing old and new code (#298).
  • A command that uses the knowledge service, the workspace or an MCP server that reaches a knowledge service of another version now sends it nothing, names both versions and gives the command that stops it; a program on the port that does not answer is named as such and not called the service; cairnmind stop and cairnmind doctor still work against an old service, and doctor lists it under Required and missing and exits 1 for it (#319).
  • The installer now says when cairnmind stop, cairnmind cockpit stop or the workspace stop of the installed version fails, with the last line it printed, and says that it stopped the service only once no service of the installed version is left; if the knowledge service of the replaced version still runs after the new version has asked it to stop, the installer ends before it writes the store, names its process and asks to end it and run the installer again (#319).
  • The installer names by process id the knowledge services of the installed version that still run in other data directories, and stops none of them (#319).
  • The installer names open coding sessions started as cairnmind run ... of the installed version by process id and stops until they are closed; other spellings are listed in docs/UPGRADING.md (#319).
  • No workspace, cairnmind run session or interface broker starts while the installer replaces Cairnmind, even beside a running service; a service the workspace started at that moment is stopped with its broker, and its start is not announced (#319).
  • In Sessions, Esc in Session actions goes back to the list of sessions; Show / attach on a session that has ended says that it ended (and offers to resume it only when it belongs to a project); Connections names a connection the way Plan stages does, for example "Codex" or "Claude (Claude Code)", instead of "Codex · codex" (#161).
  • The Activity popup title names the folder only when it differs from the project name, and the command menu's description of Run next stage says that it shows the project and moves to that button (#161).
  • The 0.10.0 line about the command menu at 80x24 was wrong: in its popup (72x20 cells with the border, 70x18 inside) the list still scrolls, and the chosen command stays in view with its whole description (#161).
  • The built-in agent's read_file no longer marks a slice that reaches the last line of the file as truncated, and its check_status with a task id that names no task of the project gives a named refusal that says null, not the text "None", means no task (#161).
  • The MCP server refuses a tool call that carries an argument the tool does not declare, names it and lists the tool's arguments, so for example remember with state beside record saves nothing instead of saving the task as todo; the arguments are read from each tool's own declaration, so a new parameter needs no other change (#161).
  • In a terminal, cairnmind stop says when the interface broker keeps running and that cairnmind cockpit stop stops it; after workspace stop the terminal that was attached says that the workspace was stopped, after tmux's own line (#161).
  • The pane of a coding session that ended says "Session ended (exit status N). Resume it from Sessions." instead of tmux's "Pane is dead", in the language the interface had when that session started; a sign-in pane says only "Session ended (exit status N)." (#161).
  • The installer's refusal about running terminal servers names the data directory of each socket it shows, read from the server's first pane, so a real session can be told from a leftover; a socket it cannot ask is listed as before (#161).
  • cairnmind project remove PROJECT removes a project from the registry and deletes nothing: without --yes it says what would stop, what stays in the store and in the folder, and how to bring it back; with --yes the project leaves project list, the workspace and indexing, and no new session or command can name it; it is refused inside a coding session, while the project has a session in the workspace (or that cannot be ruled out) or a job in work, and on an installation that only reads the store (#327).
  • cairnmind project add with the same name and folder brings a removed project back with all its memory and says so, in the terminal and in the workspace's Add folder, with the extra folders it did not add back; any other name or folder is a new project, and both say that the removed one keeps its memory. The workspace's choice of a new identity for a removed project's name and folder is refused with a sentence instead of bringing the old project back (#327).
  • cairnmind project remove PROJECT --root FOLDER removes one extra folder of a project; the main folder cannot be removed this way (#327).
  • cairnmind project list --removed lists removed projects with the command that brings each back; cairnmind forget ID --delete-project also deletes a removed project, by its id, and forget by name says to use the id; cairnmind status counts removed_projects (#327).
  • A command, a session, a workspace action (old task groups and team memory among them) or a memory package that names a removed project is refused with a sentence that says it was removed and how to bring it back, in English and Polish (#327).
  • A removed project whose folder lies inside the data directory cannot be brought back by project add; the dry run, project list --removed and every later refusal say so and name the delete step (#327).
  • The indexing message about a folder inside the data directory now names cairnmind project remove instead of registering the files again (#327).
  • Hook events of a folder that is not registered no longer use up the 100-event drain limit, and each is read again only after a project is added or removed, so they cannot delay or slow down the events of registered projects (#327).
  • Through MCP, resume_context answers in a few hundred bytes (that the packet is unchanged and still acknowledged, its id and hash, and the count of newer automatic proposals) while the session's acknowledged packet is current; full_packet: true returns the whole packet, and a new, changed or unacknowledged packet always comes whole. The acknowledgement gate is unchanged: the short answer acknowledges nothing and extends nothing (#325).
  • Through MCP, remember and checkpoint answer with the stored record's id, version, status, kind, key, its source ids and what the service set or did not keep (the origin mark, a supersede, possible conflicts, the keys sent that were not stored as sent, and the stored keys the write removed) instead of repeating the whole record; save_plan no longer repeats the plan's title. The command line, the hooks and the built-in agent get what they got before (#325).
  • Importing published memory no longer fails when a record and the record that replaced it share one kind and key and the replacement's file is read first (#222).
  • When the test call of a chat model ends at its length limit before the answer is complete, cairnmind models set and cairnmind setup local, remote-db and remote (when they move a role) now say so, in English and Polish, instead of saying that the model returned no structured JSON output. For an OpenAI-compatible chat role without --reasoning-effort none, models set also says that a reasoning model can spend the limit on its reasoning, and to run it again with the options given and --reasoning-effort none added. setup has no such option and says only that the reply was cut at the length limit (#217).
  • docs/TERMINAL.md named the problem mark of the status row invalid; it is error (#74).
  • The upgrade check reads a process's command line again before calling an upgrade mark stale, so a living process that cannot be read once is not called finished (#348).
  • A workspace stop that arrives while the terminal is still attaching ends the attached terminal with exit code 0, instead of sometimes 1 (#343).
  • A session that ended cleanly is no longer recorded as failed, and its pane no longer misses the Session ended line, when tmux 3.4 misses the exit of its client (#349).
  • cairnmind doctor no longer exits 1 on an installation that only reads a store another installation writes; it exits 0 and says so. A moved or copied data directory of the writer itself still exits 1, with the copy explained (#373).
  • The writer row's since and its history's at come from the database server's clock, so the history does not go backwards in the order of commits when the installations' clocks differ; the deployment guide describes two takeovers made at the same moment and how to see who writes (#372).
  • When the view cannot be reloaded after a review, plan confirmation, conflict decision or team memory import that was saved, the workspace says the act was saved and that the view could not be reloaded, instead of saying it was not saved or may have been (#359).
  • The sidebar's memory import says the memory was imported when only the refresh afterwards failed, and tells a refused or unclear import as not done or maybe done; accepting or withdrawing a transcript record kind does the same for a refused or unclear request; an unclear impact verdict no longer says the list was reloaded when its reload failed (#359).
  • A running knowledge service no longer sends a burst of requests to the database every minute and a half: the check that every passage without a vector has an embedding job reads jobs in groups of 500 and writes only those that need a change, so for this repository's 2,978 passages it costs 9 requests instead of 32,706 on the test engine, and grows by one request per 500 passages (#363).
  • Following transcripts no longer costs 4 database requests per file every 10 seconds: a file whose cursor stands at its end, and whose last look read, repaired and reported nothing, is not read again until it grows or changes; a file with errors or records to repair is looked at every time, as before; the JSON that cairnmind import prints and POST /import returns gains a repaired count. A secret registry that cannot be opened is still reported for every followed file (#363).
  • cairnmind index with nothing changed, in a service that just started, sends about a quarter of the requests it sent (3,485 instead of 14,810 on the test engine for this repository): the embedding jobs of an unchanged file are checked in one request per file instead of four requests per passage (#363).
  • docs/DEPLOYMENT.md gives what a running service costs over a connection: measured on the test engine over loopback and through a relay adding 20 ms per request, with the idle figures between two machines before this change; the figures after it over a real network are not measured yet (#363).
  • cairnmind setup remote-db with --admin-password-file and without --yes now tests the server as the administrator and prints the plan, saying whether the user and the database will be created, instead of failing with 'did not accept the user' when the user does not exist yet; nothing is created or saved. The dry run refuses what --yes would refuse before signing in (a bad user name or password), and a user request that fails without an answer is reported as a failure, not as a sign-in. A user with rights on a database that does not exist yet is planned as needing only the database, as --yes handles it, and --yes then says it created the database, not the user (#365).
  • cairnmind setup remote with the models and the model server the installation already uses now says that nothing changes and saves nothing, instead of planning a change from X to X, also when the knowledge agent is off. localhost, 127.0.0.1 and ::1 with the same scheme, port and path count as one place, so no change or vector rebuild is announced for them, and setup and cairnmind models set save the Ollama of ollama_url named by its other loopback name as no profile (#367).
  • After cairnmind setup remote or cairnmind models set, the step that says answers are labelled unevaluated is shown only for a pair of models that is neither the release's nor one that passed both evaluations, so it no longer contradicts cairnmind setup saying the models are evaluated for this release. cairnmind setup remote decides it once after the models are saved, so it is also given when the knowledge agent is turned on for a pair that was not moved again (#367).
  • A model server on another computer is no longer called the local runtime or a local model in errors: not when it does not answer, and not when it answers without the model (#367).
  • The refusals of cairnmind setup put a full stop after the error they quote, before the sentence that follows ("... cannot be used: ... runtime. Nothing was saved."), in English and Polish (#367).
  • cairnmind restore and cairnmind setup local --backup no longer run the database engine out of memory on its default 1 GB heap: a restore deletes and writes in transactions of at most 5,000 rows, 8 MiB of text or 5 seconds, whatever the size of the store, holds the writer lock from its mark to the end, and no request of it waits near the client's 30 s (the commits of a restore and of its undo are waited for 120 s; every other command still waits 30 s for a commit). Over a connection the trial's restore of a 26 MB backup had failed with the client's read timeout while the server worked on one commit (#362).
  • A restore that fails puts the store back from its before-restore-* copy and says so, and says what becomes of the vectors as the knowledge agent setting decides. One that is cut off or killed, or whose undo failed too, leaves a mark in the store: every command of every installation refuses the store, naming the backup and the copy, cairnmind doctor shows restore_unfinished, and a backup or an export of it is refused, until a restore finishes. The refusal also names the way out when the installation that started the restore is gone: cairnmind store takeover --yes on another installation, then cairnmind restore FILE with any valid backup. A mark that cannot be read keeps the store refused through a failed restore, and a restore that fails before it changed any row says so and is not undone (#362).
  • cairnmind store prune-backups no longer deletes the before-restore-* copy that the mark of an unfinished restore names, the one way back to the rows from before it: it says it kept that file and why, in English and Polish, and when it cannot read the mark (the engine does not answer, or the mark is unreadable) it keeps every before-restore-* copy and says so (#362).
  • When the engine runs out of memory or stops answering during a restore, the message says so (or that it may have) and names where its heap is set for a server; for the engine Cairnmind starts it says the heap is fixed at 1 GB in this release, so there is still no setting for the native engine or Docker (#362).
  • An installation that cannot read a project's folder (it is on another machine, missing, or not permitted) no longer empties the project's code graph or marks its files deleted: the graph follows the project's current file sources, and every surface names the folder and the reason (cairnmind index exits 1 and prints it, status gains unavailable_folders, doctor gains project_folders, the scan and the workspace say it) (#371).
  • A project's folder belongs to the machine that registered it: another machine does not index it, even at the same path, and cairnmind project root PROJECT FOLDER moves it to the machine that runs it and prints moved_from. A machine known only by its host name neither claims nor refuses a folder. A project whose indexing fails no longer stops the scan round for the projects after it (#371).
  • A project whose code graph is larger than about 120,000 vertices is now indexed on the default engine memory: the graph is written in transactions of at most 20,000 rows instead of one that ran the engine out of memory, and a graph of 330,660 vertices and 412,830 edges is indexed and backed up (#377).
  • While a large graph is being written, the project's code graph is reported as not built (impact, memory status and the inspector's graph, groups and neighbors carry the notice), and a write that stops half way leaves it so until the next indexing replaces the whole graph (#377).
  • Indexing waits, for up to a minute and with an error that names the count, for the engine's index on graph vertices to find the vertices it has just committed, instead of failing to store their edges (#377).
  • A prefix key typed while a workspace shortcut was still running (for example Ctrl+B 1, a few letters, then Ctrl+B 2) could reach the assistant as the text Ctrl+B and 2 instead of switching panes; the workspace now turns off tmux's paste detection. A paste from a terminal that brackets pastes still goes to the assistant whole; in a terminal that does not, a pasted raw Ctrl+B now acts as the prefix (#356).
  • An extraction job has one bound, a budget of 180 seconds (120 before) for the first model call and its single repair: each call waits as long as the budget has left, whatever ask_timeout holds, so a cut answer and its repair of about a minute each complete on a slow model. A model that never answers ends the job at 180 seconds as a timeout, a server that cannot be reached still fails it at once, and a hung model holds the extraction worker, and the questions behind it, for up to 3 minutes. Measured on an Apple M3 Pro: 33 of 33 extraction jobs completed, the longest in 107.4 s (#266).
  • A restore of a project with a very large code graph now passes too, on the default engine memory (a backup of 330,660 vertices and 412,830 edges was restored; every vertex and edge found again by a scan and by the index), and it commits its vertices and waits once, with no transaction open, for the engine's index to find them before its edges; a group that still misses one is retried once (#362, #377, #396).
  • The workspace's graph view and its group picker now say, in English and Polish, that a code graph is still being written while the answer carries that warning, and drop the sentence once it is built (#386).
  • With the root password file given in the workspace's form, the consent dialog shows the plan of cairnmind setup remote-db for it (that the user and database will be created), a refused administrator or a user without rights on the database is refused on the form before any dialog and without stopping the service, and the check that the plan is still the one agreed to also compares what will be created, so a user created by someone else in between refuses the change with config.json untouched; models and a place that are already as the profile says end as nothing to change (#339).
  • cairnmind project add names a change of setup in progress as the reason the jobs wait, with waiting_because: setup_in_progress, and does not advise cairnmind index then (#339).
  • A change of setup carried out from the workspace is refused as no longer the plan agreed to when a database or a user appeared on the server after the consent (the plan said to create both and now only one is missing, or the other way round, or the user now signs in), before anything is created and with config.json untouched; the refusal names what the server shows now (#390).
  • Indexing a large project in a new service process no longer fails when it writes a code graph of 40,000 edges or more over the stored one: edges that are already stored correctly stay, an edge whose ends, kind or source were changed is replaced, and only the edges that went are deleted (#385).
  • A second write of the same large code graph now takes about half the time of the first; a delete that removes fewer rows than asked, or whose count the database does not report, fails the write, and the graph stays reported as not built (#385).
  • A replaced code graph's old vertices are removed in groups of a transaction's rows, the count of each delete checked, instead of 250 to a request (#402).
  • When Java 21 is missing but Docker answers, the installer now opens with one sentence saying Docker will run the engine (Java 21 was not found), and still prints the macOS link command or JAVA_HOME note when they apply, instead of opening with a Java error (#399).
  • The install guide and cairnmind engine stop --help now say that stopping a Docker engine removes its container, keeps your data, and that cairnmind engine start brings it back on the same data; the README gives the size of the image a first start pulls, and the install guide says how to remove it (#399).
  • A restore without the workspace says "nothing to keep" only when no person's or before-the-rule confirmation was turned, revision snapshots included, and advises redoing with the workspace otherwise; on an installation without tmux it names tmux (#399).
  • A restore of a large project no longer commits and waits before every group of 250 edges: it waits once for the index to find all its vertices, so the usual project restores in 3,968 requests instead of 8,182 on the test engine through a relay adding 20 ms (#396).
  • A group of edges that still misses a vertex after that wait is committed, waited for and written once more, and fails by name and is put back if it misses again; an error of the engine itself (out of memory, a timeout) is never retried and reaches the person with its own text and memory hint (#396).
  • A command that asks the running service (ask, context and the others) no longer loads the service and its web framework, and asks /health once instead of two or three times: ask takes about 0.4 s less in its own process (#405).
  • The service now keeps one HTTP client per model server for its whole life and closes it when it stops: about 30 ms less per model request, which a new HTTP client for every request cost (#407).
  • The MCP bridge now keeps one connection client to the service for its whole life instead of opening a new one for every request, which makes each tool call about 45 to 55 ms faster; it drops its own idle connections after 4 s, before the service's 5 s keep-alive, so reusing one never gives a false "service is unavailable" (#415).
  • A client for a plain http address (a command, the identity check of the service, the broker, the cockpit, a model server on this machine) no longer builds a TLS certificate store it never used: commands such as ask and status are about 65 to 75 ms faster. An https address is verified as before, each place is tested for it, a diagnostic client that cannot read a model server's profile verifies, and a guard test rejects any HTTP client written without a stated verify (#415).
  • After one file changes, indexing computes the code graph of that file and of the files that import its changed symbols instead of every file, so the first pass after an edit takes about 2 s instead of 5.6 s on a project of 586 files (#409).
  • A pass of the indexer walks the project tree once instead of three times, unless it had to wait for another indexing of the project, in which case it walks again under the lock (#409).
  • A change to one file no longer leaves an import pointing at the old target when a symlink it goes through was retargeted at the same time (#409).
  • A pass after one file changed counts the stored code graph nodes instead of reading every node id, and deletes the edges that went by their ids instead of scanning the project's index, which takes about 420 ms less on a project of 88,000 nodes (#426).
  • A code graph node added behind a running indexer is now noticed and the stored graph is compared row by row before the next incremental write; a vertex kept because a knowledge record's relationship names it is counted, so such a link does not make every later pass write the whole graph (#426).
  • Indexing no longer fails when a directory of many files is renamed and then renamed back: if the engine's index of vertex ids still holds the ids the earlier pass deleted and refuses the write (a duplicated key, or edges that find no endpoint), the pass waits 5 seconds and writes the code graph once more; the result of such a pass says graph_written_again. If it is refused again, indexing fails with an error that names the refusal and says whether the code graph is marked not built or the previous graph is kept, and the next indexing writes it (#433).
  • A running indexer now notices a symbolic link that is retargeted, added or removed on its own, whatever its name, and writes the imports that moved, at no measurable cost to a scan round in which nothing changed (#451).
  • A loop of symbolic links, or a link replaced while the indexer walks, no longer fails an indexing pass; an import that leads into a loop stays unresolved (#451).
  • With the database in Docker or on a server (production mode), a directory renamed and renamed back is indexed again after one wait, as with the engine the product starts itself, instead of failing with 'Found duplicate key in index' (#455).

Development and CI

  • A workflow run by hand from main builds the database image of deploy/arcadedb for linux/amd64 and linux/arm64 and publishes it to ghcr.io/piotrwozn/cairnmind-arcadedb, tagged with the pinned ArcadeDB version; its summary gives the digest (#218).
  • The engine tests can run against an ArcadeDB server you already have, through connect-only mode (CAIRNMIND_TEST_ARCADE_SERVER_URL and CAIRNMIND_TEST_ARCADE_SERVER_PASSWORD_FILE); a CI job that is not required, server-tests, does it on pushes to main and by hand against the published database image at its pinned digest, and lists each test it leaves out with the reason (#218).
  • Tests no longer reach a Cairnmind service or an Ollama running on the default ports of the machine that runs them; a test engine request that gets no answer for more than 5 s prints the statement, the wait, the load and the engine log; the stand-in pane process of the focus-column test no longer logs an older size after a newer one (#221).
  • A fast test checks that every internal link of README.md and docs/ names a file that exists and, with an anchor, a heading that exists (#275).
  • The test engine client records, while a request is still waiting after 20 seconds, the request (without values), the sockets on the engine's port with their queues, the end of the engine log and the engine's thread dump, and reports a late answer as a slow request (#221).
  • scripts/measure_snapshot.py N times a first memory snapshot, an unchanged repeat and a repeat after one added record on a synthetic project of N records, with its own temporary local engine, and removes its temporary folder after that engine has exited; Linux or WSL only (#161).
  • The tests of the installer no longer read the tmux sockets in the machine's own /private/tmp folder, so a Mac that holds sockets of an earlier workspace no longer fails them; a test that cuts the installer's functions out itself, passes the machine's socket folder, or leaves TMPDIR unset now fails with a sentence (#364).
  • The relay of the network tests records how long each request waited, tests/test_restore_network.py cuts a restore in the middle and finishes it from the same installation and from another one, and the size test of a restore now also runs it through a relay that delays each request by 20 ms and prints the longest request. That test takes minutes, so it is marked slow_size, is left out of every plain pytest run and of the CI jobs that run the suite, and runs in a job of its own, restore-size, on pushes to main and by hand, with pytest -m slow_size tests/test_restore_size.py (#362).
  • The activity panel's throttle test opens its window itself and lists the requests made, with their times, when it fails, so a slow first load no longer fails it; a new test checks that a trigger during a refresh gets one more refresh, not one per trigger (#378).
  • The tests of the question budget run on a simulated clock instead of real sleeps, so a slow or loaded machine can no longer make a second-look test fail (#383).
  • A test holds the second look of an answer inside the time the question has left: it fails when the second look is given no time limit (#397).
  • scripts/measure_service_spend.py prints no row, and exits with code 3, for an index that read and changed no file, because the row would then hold the service's own scan; --allow-unchanged keeps it (#420).
  • Tests replace the clock of the module under test instead of time.sleep for the whole process, the tests that hide vertices count only the waits their own hidden answers cause, and a guard test over every test file and helper keeps it so; the release gate says to read every job of main's last run, server-tests included (#417).
  • The test of a refused or lost request of the workspace's acts no longer fails when the sidebar's own refresh error lands next to the act's sentence, and it still catches a raw broker error told by the act itself (#418).
  • A test's fake client writes its capture file whole, and the tests that read it wait, bounded, for a complete JSON document; the terminal-reading threads of two workspace tests are stopped before their descriptor is closed, so a reused descriptor number can no longer read state.json away from its reader (#419).
  • The release gate and the pull request guide say that a branch touching the store, the engine's errors or the graph write gets server-tests and restore-size started on it by hand by a maintainer, and green, before its pull request is merged (#455).

0.12.0

macOS on Apple silicon

  • macOS on Apple silicon is supported: README says so and the package lists macOS among its operating systems (#237).
  • The installer runs on macOS with the bash that macOS ships. It finds Java 21 through JAVA_HOME, /usr/libexec/java_home or PATH, says when the java of macOS has no JDK behind it, and gives Homebrew hints, including the link that lets macOS find Homebrew's openjdk@21 (#232).
  • On macOS the engine looks for Java in JAVA_HOME before PATH; a java_executable in config.json still comes first. On Linux and WSL the engine and the installer use java on PATH as before, whatever JAVA_HOME says (#232).
  • docs/INSTALL.md describes installing on macOS with Homebrew, including how to put Homebrew on the shell's PATH, without which tmux is installed but not found (#232).
  • On a Mac, doctor names the Apple chip and its unified memory (for example Apple M3 Pro, 36 GiB) from two sysctl reads instead of an nvidia-smi and WSL note, and keeps a short note when a read fails or the Mac has an Intel processor; install hints for tmux, Java and the AI clients name Homebrew, in English and Polish; Linux and WSL keep their wording unchanged (#233).
  • On macOS, an installation is identified by the Mac's hardware UUID (IOPlatformUUID) rather than its host name, so a change of network or host name no longer makes the installation a reader of its own store (#234).
  • On macOS the workspace and coding-session sockets live in one short private folder per user under /tmp, so a workspace started in a terminal app is found from an ssh session or launchd, and socket paths stay well under the system limit. Linux and WSL keep the earlier place (#235).
  • On macOS, memory packages, a published-memory checkout and the preview's data directory can be under /tmp or /var, which are links of the system; any other symbolic link on the way is still refused (#229).
  • Portable recall no longer loses a project's files when one path was recorded as /var/folders/... and another as /private/var/folders/... on macOS (#229).

Processes and stopping

  • On macOS, Cairnmind identifies its own processes (the cockpit broker, native runs, the database engine and its Java, check runs, agent commands and MCP servers) without /proc, so it can find and stop them there as on Linux (#226).
  • A stop or signal is still refused when a process id now belongs to another process, or when the process's identity cannot be read (#226).
  • engine stop clears the record of a process that has already exited, instead of failing with a missing /proc file (#226).
  • The built-in agent's approved commands start in their verified directory without relying on /proc, so they run on macOS, and the shell no longer inherits the directory's descriptor (#227).
  • Stopping the last coding-session run also stops its private terminal server, which was left running with no sessions after workspace stop --clients (#105).

Answers on a slower or more limited model server

  • On a model server that refuses structured output (Ollama with an MLX build on Apple silicon), answers, their correction, the support check and extraction ask again without a response format and validate the JSON themselves, so ask no longer ends partial with the model reported as unavailable (#231).
  • cairnmind doctor shows "structured output: unavailable on this server" for the chat model once the service has seen that refusal (#231). A later successful request does not clear the note; it stays until models.capabilities.json is removed from the data directory.
  • On macOS a new installation gives each question 120 seconds instead of 60, so an answer from a slow local model on Apple silicon can finish its citation and support checks. Linux keeps 60, and a value already in config.json is kept (#231).
  • Codex waits for a Cairnmind tool for the question budget plus 15 seconds, never less than the earlier 75; cairnmind install writes this as tool_timeout_sec in .codex/config.toml, so Codex no longer cuts a longer question on macOS (#231).
  • A question no longer starts a second reading of whole passages when the time left is shorter than the calls that reading repeats (the answer, its repair and the support check). It ends sooner instead of holding the model for a pass that cannot finish (#231).

Development and CI

  • The development environment is pinned to Python 3.12 with a .python-version file, so uv sync --locked --extra dev no longer picks a newer Python that lacks wheels for some dependencies (#228).
  • Every test has a time limit (300 s by default, set per test with @pytest.mark.time_limit or for the run with CAIRNMIND_TEST_TIME_LIMIT), so a hanging test fails instead of blocking the whole run, also under pytest-xdist at the exclusive-test gate (#236).
  • After each test, the child processes, tmux servers and test engines it started and left running are stopped (SIGTERM, then SIGKILL) and reported as a LeftRunning warning, without touching anything the test did not start (#236).
  • The test suite no longer assumes Linux in its process checks, socket paths, terminal state comparisons, test certificates and file system expectations, and no longer fails on macOS where temporary paths are long, /tmp is /private/tmp, CoreFoundation adds an environment variable, a pty keeps a written mark or is revoked, and tmux 3.8 shows no pid for a dead pane (#236).
  • A test run removes the socket directories it left in the per-user socket folder, and keeps any whose server still answers or that another run has just made (#236).
  • CI runs the fast test tier on an Apple silicon macOS runner (macos-fast-tests, macos-15) for every pull request and push to main, with a 30 minute limit, and keeps the pytest output and JUnit report as an artifact. The job fails the workflow like the Linux tiers and is a required check (#237).

0.11.0

Confirmation: only a person confirms

  • Only a person can store a record as confirmed. A coding session, an MCP client, the built-in agent and a session's finding that ask for the status confirmed are refused with a message that says what to do: store the record as proposed and confirm it in the inspector (#177).
  • A coding session, an MCP client, the built-in agent and POST /remember can no longer change, replace (supersedes) or set another status on a record a person confirmed, and records confirmed before 0.11.0 are kept the same way, because nothing says a person did not confirm them. The write is refused with HTTP 400, stores nothing, names what would differ and tells the caller to store a new proposed record that names the confirmed one in metadata.possible_conflicts, so the person decides in the conflict inbox. Writing under the key of a confirmed record gets the same refusal. Any other key clash names the record that holds the key, and cairnmind remember says to use another key or to dispute or decide that record in the inspector (#177, #238).
  • A write that changes nothing of what a person confirmed only adds the sources it cites and does not put an external session's origin mark on the record (#177).
  • Progress on a confirmed task and a new checkpoint are stored as before; a confirmation a package brought can still lapse when a session changes the record, and a disputed record can still be changed by a session (#177).
  • A plan save that changes or removes a step a person confirmed is refused and names the step and the field; so is a session's save that changes the title, goal or constraints of a plan while a step still carries the confirmation given with the plan. A save that adds steps or changes unconfirmed steps is stored, and cairnmind plan save or cairnmind plan adopt typed in a person's own terminal can change them (#177).
  • A plan and all its steps can be confirmed in one act, with cairnmind memory confirm-plan or the inspector API (#170).
  • cairnmind remember --confirmed and cairnmind memory confirm-plan work only in your own terminal, outside a coding session; anywhere else they are refused. cairnmind task add adds a confirmed task in your own terminal and a proposed one anywhere else, and prints which. This check does not stop a program that runs as you and fakes a terminal; docs/MEMORY_CONTRACTS.md says exactly what it does not cover.
  • The refusals of remember --confirmed, record-kind accept/withdraw, memory confirm-plan, task add, store prune-backups and the plan save refusals for a confirmed plan or step say when input or output that is piped or redirected is the reason they do not count as a person (#239).
  • cairnmind plan adopt on tasks a person confirmed, or tasks added with task add up to 0.10.0, works only in the person's own terminal and says so when refused elsewhere; the refusal names the task by its text, and the refusal for a confirmed checkpoint record points to the checkpoint tool (#177, #239).
  • At the upgrade to 0.11.0, a record that was confirmed before only a person could confirm is marked as confirmed by a person when a review audit or workspace form written on this computer covers it and the record still says what the confirmed version said. A 0.10.0 audit holds no name, so such a record shows "the local user". cairnmind init reports how many records were marked and how many stay before the rule, and cairnmind restore runs the same step over the records that a backup made before 0.11.0 brings back (#215).
  • The other records confirmed before this version keep their status and are shown as confirmed before only a person could confirm, with no claim about who confirmed them. You can confirm such a record in the inspector to make it yours.
  • The inspector's record view, its conflict view and its lists, memory show, record lists, the search hits the ask model reads and the resume packet say who confirmed a record (new field confirmed_by).
  • Reviews, conflict decisions and typed findings now record the person's Git name, branch and commit, and hash the record's kind, key and the record it replaces. Reviews, conflict decisions and plan confirmations also record a hash of the passage the record quotes, so a quote changed by hand in a published file is refused. A confirmed record that no person's act covers can be confirmed again in the inspector (#170, #172).
  • Confirming a record already confirmed here, or disputing one already disputed, now says so instead of reporting a version conflict, in English and Polish (#239).
  • Fixed: the inspector treated a record as covered by a person's workspace form when any client had sent metadata.origin: workspace_form.

Team memory

  • Confirmed knowledge can be published with a branch as one readable file per record or plan under .memory/cairnmind-published/, with cairnmind memory publish. --preview shows what would be written (#170).
  • cairnmind memory import-published imports a merged published directory. New records are added and known ones fast-forwarded. Diverged ones are refused with their paths, or taken with --take-published. A file can never attach this machine's own sources to a record, and nothing imported is shown as verified (#170).
  • cairnmind memory import-commit REVISION --project P imports the published memory of a commit, such as the main branch after a merge, and checks every quoted passage against that commit's code. A passage still there anchors its record; one that is gone leaves it orphaned in the output and the inspector. Only a passage that a person's review recorded is compared. A repeat import changes nothing, and nothing imported is shown as verified (#172).
  • cairnmind memory diff BASE HEAD summarizes how the published team memory differs between two commits, read from Git with no store or model. It lists decisions, constraints and facts added, changed, disputed, superseded, reverted or withdrawn, tasks opened and closed, and plans redefined, each with its text and quoted source. --markdown gives a bounded pull request comment in which record text cannot add markup, mentions or links (#172).
  • A Team memory workflow posts that summary as one pull request comment and updates it on every push. It fails when the published memory directory would not import, and needs only the default token (#172).
  • cairnmind memory check-published checks a published directory without a store or service. It refuses conflict markers, hand-merged or hand-edited files, contradicting revisions and supersessions that nothing replaces, and names each path. It exits 2 when the path is not a directory, and names an empty file, an invalid kind, an invalid id or a created_at without a time zone separately (#170, #239).
  • cairnmind memory show-published reads a published directory as text (#170).
  • Publishing team memory refuses, before writing anything, a record or quoted passage that holds a secret registered with Cairnmind, the values behind the env: references of the saved connection and memory model profiles, a private key block, a well-known key or token shape, a bearer token, a password in a connection string or a long random string, even when an invisible character splits it. It names the file, the field and the kind of hit and prints nothing of the secret, so cairnmind memory publish no longer needs CAIRNMIND_ENABLE_PUBLICATION (#171, #182).
  • E-mail addresses, phone numbers and a project's own patterns can be kept out of published memory with .cairnmind/publication.toml; they are off by default. A teammate's file that trips them is reported by memory publish, never rewritten and never a reason to refuse (#171).
  • cairnmind memory release PROJECT RECORD --reason TEXT lets a person publish a record whose hits are false alarms; the reason is published in the record's file and covers only the exact values it names. A registered secret is never released, and the publish refusal for one no longer advises memory release but says what to do instead (#171, #239).
  • cairnmind memory check-published and memory import-published refuse published files that hold such a value, so a CI job can fail a pull request that adds one by hand, and check-published lists every release for the reviewer; an example workflow is in docs/examples/published-memory-check.yml (#171).
  • An imported record keeps that it was confirmed and is shown as confirmed elsewhere, with who the package says confirmed it and where it came from; it is never shown as your own confirmation and is not verification. The dry runs of memory import, memory import-published and memory import-commit, and the import dialog, say how many such records a package brings.
  • A memory import is run only by a person: inside a coding session memory import, memory import-published and memory import-commit are refused, except their dry run.
  • An import that would replace a record you confirmed or disputed on this computer with another text or status is refused and lists those records; the new option --replace-confirmed applies it, and the import dialog states the number before you apply. An import that only moves such a record on (task progress) keeps your confirmation.
  • After a person keeps one finding of a pair in the conflict inbox, published memory carries the rejected finding, with its text and cited sources, as superseded by that decision instead of leaving it confirmed or holding both. This also applies when the person keeps the confirmed finding against a session's proposal, and when the kept finding is held back. A rejected finding of external origin is still never published (#239).
  • A decision a person keeps in the conflict inbox is now published when the other proposal can never be published (it came from an external session, cites a source an external session wrote, or has a non-canonical ID); the supersession is recorded on both records, and the proposal stays unpublished (#239).
  • Importing published memory into an empty store no longer fails when a replacement's ID sorts before the record it replaces; the supersession is kept whatever the order of the two IDs (#239).
  • The publish preview says why a replacement a person kept in a conflict decision is still held, lists records published as superseded while their replacement is held, and names an external session's record as such when a record that names it is held. memory publish tells a record confirmed in a terminal from a proposal in the held list, and shows each held record's key and the start of its text, cleaned for the terminal; both are left out when they hold a value the secrets gate refuses (#239).
  • memory publish writes again a published file that went missing instead of refusing, and a remaining refusal names git checkout -- <path> (#239).
  • memory diff and memory import-commit name an unknown revision instead of printing 'no message' (#239).
  • memory import of the store's own latest snapshot is unchanged, and its refusal now tells a diverged history from local knowledge that changed (#239).
  • Each project can choose where its published memory goes with cairnmind memory carrier PROJECT --repository | --checkout PATH: its own repository (the default) or a checkout of a separate memory repository, which receives the same package under the project's identity. Cairnmind still never stages, commits or pushes (#173).
  • Changing the carrier moves nothing: the command says where the earlier package is, how many files it has and what to do with it. cairnmind memory status shows where the published memory is and whose it is, the carrier, any package left in the repository, and what the previous carrier still holds (#170, #173).
  • A checkout path must be a plain, real absolute directory in a Git checkout. These are refused: a symbolic link anywhere on the path, control characters, and a path inside Cairnmind's data, a registered project's files or any project's memory. So is a path that contains a registered project or shares its Git repository. The path is checked again at every publish (#173).
  • Publishing into a checkout that already holds other packages is refused for a project that has none yet. It must first import its package, or start a new one with cairnmind memory publish --new-package, which also works with --preview (#173).
  • A project registered at a subdirectory of a repository now has its own code state, checks and scope, covering only the files below it: an uncommitted edit outside that directory does not make its checks stale until the next commit. A subdirectory the repository ignores, or one with no file Git lists, stays unknown (#174).
  • The memory directories of projects registered below another project are left out of its indexing, code fingerprint, scope and impact checks, in every worktree of the repository, so writing one project's memory no longer makes another project's checks or acknowledgements stale (#174).
  • cairnmind memory import-published refuses the published directory of another project in the same repository, also through a symbolic link or a differently cased name: each project imports only its own, and the refusal names the directory as the reason, with or without --bind (#174, #239).
  • docs/MEMORY_CONTRACTS.md describes one memory directory per project in a repository, what a subdirectory project's checks do not see, and a CODEOWNERS pattern so each team reviews its own memory (#174).

A database on another host

  • Connect-only installations: with arcade_connect_url (CAIRNMIND_ARCADE_CONNECT_URL) set, or a database address that is https or on another host, Cairnmind only connects to a database that runs in a container, on a server or in Kubernetes; it never installs, starts or stops an engine, never creates a database, generates no database password and needs no Java. It never writes that host's password into the data directory, and when the server cannot be reached, it says so (#68, #72).
  • The first command that runs with CAIRNMIND_ARCADE_CONNECT_URL set saves the address in config.json and says so, so a command started later without the variable stays connect-only instead of starting a local engine; remove arcade_connect_url from config.json to go back to the managed engine (#68).
  • A database on another host must be reached over https with the certificate verified, against a private authority named by arcade_ca_file or the system's authorities (which SSL_CERT_FILE and SSL_CERT_DIR replace when set); plain http is refused there, and verification cannot be turned off (#72).
  • The user root and a password stored in config.json are refused for a database on another host, and the message says which rule was broken (#72).
  • The database password can come from CAIRNMIND_ARCADE_PASSWORD or a private file (mode 0600) named by arcade_password_file, and a password, URL or user taken from the environment or a file is no longer written to config.json (#72).
  • A database password file mounted from a Kubernetes Secret is read. Its links are followed only in the kubelet's exact layout, to a regular file of your user that group and others cannot read. Every other link is still refused with a message naming the rule, a password file that cannot be opened says why, and an arcade_password_file that names a folder is refused with the setting and the rule, instead of "[Errno 21] Is a directory" (#211, #242).
  • New command cairnmind db create-user --admin-password-file FILE signs in as root once to create the database and a user with rights on that database only. It can be run again for the same user and database and reports that nothing was created. It creates the missing database of a user that exists without one. For a user that already exists and cannot use the new database, it stops with what to do and leaves no empty database behind (#72, #242).
  • A store has one writer, the installation that first opened it, named in the database; another installation that points at the same database reads it only, and a command that writes stops with one line naming the writer (#70).
  • An installation is identified by installation.json in its data directory, so a copy of that directory on another machine or under another path gets an identity of its own instead of writing as the original (#70).
  • cairnmind store takeover --yes [--note TEXT] lets a person move writing to this installation; the change is recorded in the store, the previous writer's running jobs go back to the queue, and the previous writer stops at its next write. It also works when this release cannot read the store as a reader, for example when its schema belongs to another release (#70).
  • cairnmind store writer, doctor (store_writer) and status (writer) show which installation writes the store and whether this one is the writer, a reader, or has lost the role; store writer and doctor also show the note given with store takeover --note, as inert text. status shows that block only from the running service. On an installation that only reads the store, status, jobs list, jobs show and memory status say so and name cairnmind store writer and cairnmind doctor, instead of telling it to run cairnmind serve (#70, #242, #244).
  • The service does not start on an installation that only reads the store. A running service pauses its background work when another installation takes over and resumes on its own once writing is taken back. Starting a service that exits at once now reports its last log line instead of waiting a minute (#70).
  • On an installation that only reads the store, a refused write says its reason once instead of twice, backup and export no longer print the refusal-like notice, and cairnmind retry-jobs is refused even when nothing failed (#244).
  • cairnmind store takeover without --yes suggests what fits the role: nothing on the writer, starting the engine when the role cannot be read (#244).
  • Two installations that open a new database, take over writing a store or claim a new one at the same moment now always end as one writer and one reader: the second is refused as a whole and told to run cairnmind store takeover --yes again, instead of failing with the engine's 'Concurrent modification' message or sometimes leaving the writer row and the journal head naming different installations. A takeover that overlaps a write of the current writer is refused the same way, with a message that says so (#68, #70).
  • cairnmind store writer, doctor and the service status report a store whose writer row and journal head name different installations; until the next cairnmind store takeover --yes repairs it, the installation the row names is refused every write and runs no schema statement or upgrade (#70).
  • Two installations that create one store at the same moment no longer leave two schema_version or lookup_indexes rows in it (#68).
  • On a connect-only installation cairnmind engine install, start and stop do nothing and say so in one sentence (exit status 2), whether or not the knowledge service runs; engine status shows the mode, host, user, encryption and the server's version without looking for Java (#68).
  • A server whose ArcadeDB version this release does not support is refused by every command, cairnmind db create-user included, before anything is read or written, with the supported version named; engine status exits with status 1 and doctor reports it (#68).
  • When the database or its user does not exist yet, or the server does not answer, a connect-only installation says where it looked and names cairnmind db create-user, instead of starting a local engine or showing a bare HTTP error. When the database cannot be found, the message also names the other cause, a user with no rights on it (#68, #242).
  • A refused sign-in to a database Cairnmind only connects to also says that ArcadeDB refuses a user for about 30 seconds after several failed sign-ins, even with the right password. docs/DEPLOYMENT.md and SECURITY.md say the same, and that each database gets its own user from cairnmind db create-user (#242).
  • cairnmind engine status started without the database password is refused (exit 1, "available": null, nothing sent), and cairnmind doctor gives arcadedb.available as null in the same case instead of reporting a server that does not answer. The message also names arcade_user left at root and an unset arcade_database, on every command and not only the first, and what would be used in their place. On a host other than this machine, the refusal of root also names the missing password and database. docs/DEPLOYMENT.md says the same (#242).
  • cairnmind doctor shows where storage runs (mode, host, address, supported versions), the database user, whether the connection is encrypted and where the password comes from, and notes when it is stored in config.json; it no longer runs Java on a connect-only installation. cairnmind status has a new field storage, and store size says that the database files are on the server. An existing local installation keeps working unchanged (#68, #72).
  • A database address that carries a user, a password, a query or a fragment is refused as before, and is no longer repeated in messages, engine status, doctor, status or store size; the refusal names arcade_connect_url when that setting supplied the address (#68).
  • The installer skips the Java check and the ArcadeDB download when CAIRNMIND_ARCADE_CONNECT_URL is set (#68).
  • cairnmind eval run, eval memory and eval repository are refused on a connect-only installation, because they create and drop databases (#68).
  • A container image for the pinned ArcadeDB release and a Compose file to run the database on a server or a laptop, with the root password read from a file and the port kept on loopback (#73).
  • The database image of deploy/arcadedb runs ArcadeDB in production mode: no Studio, error details only in the server log, the write-ahead log flushed on commit. It leaves out the MCP plugin, so /api/v1/mcp does not exist. docs/DEPLOYMENT.md says what the server exposes and to whom. The local engine is unchanged (#211).
  • Plain Kubernetes manifests for the database in deploy/kubernetes: a StatefulSet with its volume, a headless Service on the server's own TLS port, a NetworkPolicy, probes from the image's health check and a Secret template with no value in it. docs/DEPLOYMENT.md documents them with TLS, the dedicated user, and backup and restore (#211).
  • New guide docs/DEPLOYMENT.md: running the database in a container, connecting Cairnmind to it, logical backups and volume snapshots and what each leaves out, and what to do when the pinned ArcadeDB version changes. A section leads from nothing to a working connect-only installation for the Compose server, for Kubernetes through a port-forward and for a client inside the cluster, and says which installation writes, where backups go and what a dropped connection leaves behind (#68, #73).
  • Measured for a database reached over a connection, with client and server on one machine: indexing Cairnmind's own source (128 files) takes 2,313 database requests the first time and 8,101 after every file changed; with 20 ms added to every request that is 65 s and 229 s instead of 17 s and 64 s through the same TLS endpoint (#68, #167).
  • New CI jobs that are not required checks: deployment-image builds the database image, moves a backup between two copies of the Compose file and checks a volume snapshot; kubernetes-manifests checks the manifests against a kind cluster's schemas, applies them, verifies that the NetworkPolicy lets labelled pods reach only the TLS port and keeps every other pod out, and runs the connection check, a logical backup and restore, and a volume snapshot restore. Both run as connect-only installations with the dedicated database user, and the Kubernetes check indexes from inside the cluster and takes over writing from the workstation (#68, #73, #211).

Models and where memory goes

  • The knowledge agent can use another model or model server: cairnmind models set chooses the chat model (answers, extraction) and the embedding model separately, each on the local Ollama, another Ollama, or any server with the OpenAI-compatible API such as LM Studio, vLLM or llama.cpp, after one test call to it; it changes only that role in the settings (#67).
  • A model server on another computer needs HTTPS and your explicit --allow-remote, because it receives memory content; keys are named with --credential-ref env:NAME or profile:ID and are never stored in the settings or in memory (#67).
  • Every source and record has a sensitivity class (project, conversation or third_party), derived from its kind and origin mark and stored nowhere. A record takes the highest class of the sources it or any earlier version cited, so an update never lowers it. The inspector, read_source, memory_records, the terminal detail view, cairnmind memory show and memory show --sources show it (#180, #241).
  • A memory model server on another computer receives only the sensitivity classes listed in the new setting memory_remote_classes, by default project only. Extraction leaves other sources pending (remote_not_allowed), embedding leaves their chunks to full-text search, and ask leaves them out of its context and counts them under held_back. Held extractions and embeddings run once a class is added to memory_remote_classes and the service is restarted, without importing anything again (#181).
  • With the local Ollama, extraction, embedding and ask send exactly what they sent before (#181).
  • cairnmind doctor shows, under memory_models, which server and model each role uses, whether it answers, where its content is sent, which sensitivity classes it receives and which stay on this computer, and whether this pair of models has passed the evaluations; cairnmind models set shows the classes too, and doctor reports an invalid memory_remote_classes (#67, #181).
  • A passing cairnmind eval run, eval memory or eval repository is recorded for the exact pair of models and setup (servers, context window, reasoning effort) it ran with; answers given with models other than the release's carry model_evaluation: unevaluated in their diagnostics until recall and memory have both passed (#67).
  • After a change of embedding model, cairnmind models set says that vectors must be rebuilt with cairnmind rebuild-vectors; vectors of different models are kept apart (#67).
  • An embedding model on an OpenAI-compatible server, which reports no digest, is checked with one fixed sentence when the service starts and before rebuild-vectors. If other weights are served under the same name, doctor reports it (also while the server is down), no new vectors are made and search uses text only, until rebuild-vectors accepts the new weights under a new vector namespace (#67, #212).
  • When chat and embeddings run on different servers, one that is down no longer holds back the other's background work (#67).
  • cairnmind models pull downloads only the models that run on the local Ollama (#67).
  • The recall evaluation was run with the embedding role on a server the product treats as remote. With the default memory_remote_classes, 21 of the fixture's 22 chunks (all conversation) were not embedded, and recall stayed at 20 of 20 in eight of nine runs (19 in one). The fixture's questions use words from their answers, so it cannot show what vectors add (docs/evaluation/RESULTS.md) (#181).

Answers about a repository

  • ask no longer gives a complete answer about a product or setting that the quoted sources never name: a check that asks no model looks for every name the question uses for its subject (a capitalised name, an identifier, a word in backticks) in the quotes, their paths and their sources, and withholds the answer with answer_unsupported, listing the names, when one is missing. A name that is only context (an operating system, a person) withholds the answer too when no quoted source has it. Not read by this check: a name written in lower case without backticks, a word in capitals, a question in headline case; not caught: a name the quoted file has elsewhere than beside the quoted value (#245).
  • On Cairnmind's own repository the twenty questions give 19, 19 and 20 of 20 complete and right in three runs with the default models, and 20 in the run of the release gate, with none complete and wrong, against 13 in the worst run before this work; of twenty-one questions about things the repository does not have, 20 are refused, and the one left, which names its subject in lower case, is answered complete and wrong. The default chat model stays qwen3.5:9b (#104, #245).
  • cairnmind eval repository accepts questions about things a repository does not have ("answer": {"absent": true}), which are right only when they are refused; an ask that broke (timeout, unavailable model, invalid JSON) is counted as absent_failed, not as a refusal. Cairnmind's own set of twenty-one is docs/evaluation/absent-questions.json (#245).
  • A citation is accepted when the model copied the words of a passage but not its layout (joined lines, other spacing beside punctuation, a code span without its backticks, lines of the source left out between quoted lines); every line of the quote must be in the source, a space between two words or numbers is still compared, and the quote recorded and shown is always the source's own text (#104).
  • A cited quote may now be as long as the 900-character passage shown to the model, so an answer about a setting whose value sits at the end of the passage is no longer left unverified (#241).
  • A quote written under the ID of another shown passage, or under the ID a search hit was shown with, is recorded for the shown source that holds it; after the one repair, citations that still fail are left out when another citation of the answer verified, and the result then says so in freshness.warnings and counts them in diagnostics.citations_dropped (#104).
  • When the first pass of a question finds no answer and a passage was shown only in part, the best passages are read whole once more, without tools and inside the same time limit; the diagnostics say second_look, and for a remote chat server that pass holds back the same memory as the first (#104).
  • Definitions are shown to the model before the search hits, so the line that states a value comes before the passages that use it (#104).
  • Keys of TOML files (pyproject.toml and others, not lock files) are definitions, so a question about the required Python version or the project version is shown the line that states it. A TOML file nested too deeply to be read is reported as invalid and does not stop indexing. cairnmind impact compares a changed TOML file key by key instead of treating it as a file it cannot compare (#104).
  • Parameter defaults of Python functions are definitions, shown when the question names the parameter or spells its name in the question's words. cairnmind impact compares a parameter by its own text, so a change to its neighbour or to the decorator does not mark it as changed (#104).
  • A setting whose name shares one word with the question is shown when its file or class shares another word with it, such as a timeout constant in journal.py for a question about the journal timeout (#104).
  • The definition of a setting is found when its name has a unit or joining word the question does not use (per, seconds, bytes, tokens) or a product name the question writes joined; among equal candidates a value comes before a function or class, and a name that is only a filler word such as DEFAULT is no longer taken for the setting asked about (#104).
  • cairnmind eval repository accepts a value in megabytes written in whole gigabytes where a question lists the form {gb}, and docs/EVALUATION.md says how to measure another chat model or a larger context window (#104).
  • cairnmind ask --log, or "answer_log": true in config.json, keeps each answer with its question, citations (source id, sha256, quote), commit, status, model digest and timings in a private per-project log outside the database, so a logged answer is never evidence (#15).
  • cairnmind answers list, answers show and answers prune read and trim the answer log; it is capped at 8 MiB per project and deleted by forget --delete-project (#15).
  • cairnmind eval replay PROJECT asks the logged questions again for the scope they were logged with and reports answers that are no longer complete or no longer cite a source they cited, comparing evidence, not wording (#15).

Extraction

  • Memory extraction no longer turns the protocol of a session into proposed records. The launcher's first message, Codex's environment block and a client's tool calls are left out, and conversation messages are told that requests to the assistant, one-off questions and the assistant's narration of its own actions are not project knowledge. On the new evaluation set the share of proposals a person would reject fell from 65% to 29%, with no kept record lost (#160).
  • Automatic extraction no longer reads the block that cairnmind install writes into AGENTS.md and CLAUDE.md, also in a file saved with a byte order mark, so the client protocol no longer becomes proposed tasks and constraints; records extracted from now on carry extractor version 2 (#241).
  • A model that returns depends_on: null no longer makes the whole extraction of a message fail; null is stored as no dependencies (#238).
  • Every record that automatic extraction writes now carries metadata.extractor: the extractor version, a hash of the prompt and schema, and the model as name@digest (name@unknown when the model server gives no digest or does not answer in time). Clients can read it but cannot set or change it. Portable memory carries it, keeping only a well-formed stamp on an extracted record. Extracted records without it count as version 0 (#192).
  • cairnmind memory extraction-stats PROJECT [--json] and GET /inspector/extraction-stats show, for each extractor version, how many automatically extracted records are still proposed, confirmed by a person here, disputed or superseded, and the share confirmed of those reviewed, read from record revisions without a model (#193).
  • New command cairnmind eval extraction measures, with the local model, what extraction proposes from built-in agent, Claude Code and Codex conversations against the records a person would keep. Its report contains the same extractor stamp, so an evaluation result can be matched with records in real projects. The evaluation runs on the configured chat model server, as extraction does, also with a model profile (#160, #192).
  • cairnmind proposed PROJECT --days N lists the proposed findings not written for N days or more (30 by default), oldest first, with their id, kind, number of sources and newest evidence time; --worktree narrows it and --json prints it. It only reads. The memory service answers the same list at GET /inspector/proposed (#189).
  • The memory inspector has a Proposed view, last in its view menu, with the same list for the open project and worktree; Filters sets the number of days, and Enter opens the record so Confirm or Dispute records your review as before (#189).

Project context and resume packets

  • Project context now lists the checkpoint and open tasks first, then decisions and constraints in force, other confirmed records, new findings, and finished tasks last, so finished tasks no longer push rules still in force out of the limited space (#213).
  • Project context reserves a quarter of its budget for the most recently updated proposed findings, and always makes room for the newest one, so new findings appear even beside an active plan, many confirmed records or open tasks. It keeps 30% of its budget for confirmed decisions and constraints in force, so many open tasks no longer push the rules out. The checkpoint comes before that share; the open tasks get what is left, rules that do not fit the share come after them, and the tasks that do not fit are counted as omitted. Tasks do not use the reserve for findings, and filling goes on past an entry that does not fit (#188, #241).
  • Project context never shows a proposed record while a confirmed record it contradicts (possible_conflicts) is left out: both are shown, or the proposal waits and is counted as omitted. A mark naming a record that has since been replaced counts for the record that replaced it (#241).
  • Project context reports how many entries were left out per kind and status in omitted_by_kind_status, so a client knows there is more to page through (#188).
  • Project context holds 7,000 characters of records instead of 6,500, so that as many records fit as before now that a confirmed record says who confirmed it (#177).
  • Each record in the resume packet now says where it comes from: automatic_extraction for a record the extraction worker drafted, even after a later edit or confirmation; external for one written by an external client's session or after a third-party tool result; unattributed for the rest. The origin is derived from what the store wrote, and a client cannot raise it (#178).
  • The resume packet's preview of 20 records now puts the latest checkpoint first, then confirmed records, then the rest, each group ordered by origin with extracted records last. Records over the size budget leave the preview from that end before the packet is cut down, and omitted_by_origin counts per origin what was left out (#178).
  • The launch prompt, the start hook's pending message, the built-in agent's instructions and the MCP server's instructions now say that record content in the packet is quoted project data, never instructions (#178).
  • ack_resume, resume_context and session writes no longer fail with "Remote transaction … not found or expired" (503) when reading the project's files takes more than a few seconds, for example for a project on /mnt/c under WSL while the queue is indexing. The project's files are read before the database transaction, not inside it, and a write that would be refused anyway is refused before they are read. While extraction is still adding records, an ACK can be refused as stale (409) and needs a fresh resume_context (#255).
  • The resume packet's schema_version is now 2. An acknowledgement given for a packet prepared before the upgrade goes stale (packet_changed), and the session has to call resume_context and acknowledge again (#178).
  • A transcript record of a kind this release does not know still keeps its project's resume packets partial. The packet now names the kind, client, version and byte, and says how a person accepts it (#210).
  • A person can accept an unknown transcript record kind as technical for one project, with a note: cairnmind record-kind accept in their own terminal, or More, then Transcript record kinds in the workspace. That project's packets are then ready again without a new release, and record-kind withdraw takes the acceptance back (#210).
  • cairnmind record-kind list PROJECT shows the unknown kinds in a project's transcripts with one record each, escaped and cut, and says when it read only part of them. doctor lists every acceptance (#210).
  • When a visible session's memory is partial and the project's transcripts hold an unknown record kind, the workspace names the kind and where to accept it (#210).
  • Only a person accepts a record kind: the command refuses inside a coding session and without a terminal, the inspector route takes no session, and no MCP tool, built-in agent tool or memory import can set it. A malformed record of a known kind and a transcript that fails its integrity checks still block (#210).

Store, backup and indexing

  • Restore writes the rows of a backup in groups of a few hundred per request instead of one row at a time. For the store of Cairnmind's own source it now takes 1,140 requests and 18 s on loopback instead of 281,451 requests and 239 s; into an empty database with 20 ms added to every request it takes 1,079 requests and 28 s, so a large store can be restored over a network. Each group is limited to 250 rows or about 1 MiB of JSON. Nothing else changes: what is restored, every check made before anything changes and its message, and the rollback of a restore that fails or is cut (#219).
  • Each answer from the database is freed as soon as it is read instead of waiting for Python's garbage collector, which keeps the memory of restore bounded now that it sends larger requests (#219).
  • Restore reads a backup in pieces instead of loading it whole: it checks the checksum and every cross reference in two passes over the file before it changes anything, so its memory no longer grows with the size of the rows; a small index of ids (about 100 MiB per million sources, records or graph nodes) remains. The file format is unchanged (#196).
  • The whole-database backup (the daily backup, cairnmind backup and the safety copies made before a restore or a schema change) is written as a stream, so its memory no longer grows with the store. The file format is unchanged and earlier versions restore it (#196).
  • A backup file appears only after the backup's transaction has committed; the store size view counts temporary files left by an interrupted backup, and the service removes them after a day (#196).
  • Restore refuses a backup file that changes while it is being restored, and the store stays as it was; the refusal says that the file changed while it was being read, instead of calling the file corrupt or reporting a checksum mismatch (#196, #238).
  • cairnmind restore refuses a missing path or a folder before anything starts, instead of calling it a corrupt backup (#244).
  • cairnmind backup DIR/ with a trailing slash creates the folder (readable by you only) and writes a dated file in it, instead of a file named DIR. A backup into a folder that cannot be created or written says 'Cannot write a backup into : ' instead of a raw error naming a temporary file (#238, #244).
  • cairnmind store size [PROJECT] [--json] reports how large the store is: rows and approximate bytes per collection and vector type, sources and their chunks by kind (current against replaced), vector rows per namespace, jobs per state, and the disk use of the database, backups, agent journals and engine log. For the whole store, bytes above 1,000 rows are estimated from 256 rows spread over each collection; one project's rows are summed exactly. It is read-only, starts nothing and prints no record or source text (#184).
  • store size lists each before-schema and before-restore safety backup with its size and time, and counts the rotated engine.log copies. It shows a vector type left empty by a restore as 'unregistered, empty (left by a restore)' instead of the namespace '(none)' (#190, #238).
  • cairnmind store prune-backups --keep K deletes all but the newest K safety backups of each kind, after showing them and asking, and only for a person in their own terminal (#190).
  • Once a day, after the daily backup, completed jobs that last changed more than job_history_days ago (default 30, 0 keeps everything) lose their attempt history; every job row, its key and its counts stay (#190).
  • At each engine start an engine.log that has reached engine_log_bytes (default 10 MiB) is moved to engine.log.1, keeping engine_log_copies old logs (default 3); if the filesystem refuses the move, the engine starts anyway and appends (#190).
  • engine.log is created private (mode 0600) whatever the umask, and when it is rotated the old copies are made readable only by their owner too; a copy the owner cannot open or change is still rotated as before (#238).
  • An engine_log_bytes or engine_log_copies in config.json that is replaced by its default is reported on standard error and in engine.log when the engine starts, and cairnmind doctor lists it among its environment notes (#238).
  • When a file is edited or deleted, the chunks and vectors of its earlier version are deleted in the same transaction. The earlier version keeps its full text and hash, so evidence that cites it can still be read and checked. A portable memory import no longer creates chunks for source versions that are not current. So cairnmind status counts fewer chunks and indexed sources (#186).
  • New command cairnmind store drop-replaced-chunks removes the chunks that earlier releases kept for replaced sources. It covers every project in the store, works in short resumable transactions of at most --batch rows, and reports how many rows it removed (#186).
  • Indexing writes the code graph 250 rows per database request instead of one statement per row, so indexing this repository's own source again after every file changed took about 7,000 requests instead of 57,000 in the measurement made for this change, which is not the 128-file measurement of the deployment guide (#167).
  • Indexing also removes graph nodes that no longer exist in groups, so indexing this repository's own source again after half of every file's functions were deleted takes about 5,400 database requests and 27 seconds instead of 67,500 and 75 seconds (#167).
  • Indexing files that replace a current source, and files that were deleted, now counts first what the old source leaves behind and writes each file in one transaction, up to eight small files together. The journal events of a transaction are stored in one statement. After every file of a project changed, indexing again needs about half the database requests and time on real code (Cairnmind's own source: 47% of the requests, 50% of the time), and about a quarter to a third on trees of very small files (#102).
  • cairnmind memory status checks only the newest manifest, so it answers quickly for a large project; its latest reads manifest_valid with objects_checked: false, and memory inspect and import still check every object (#161).
  • memory status now shows the size of the portable package, its rows, bytes (UTF-8, as a snapshot counts them), manifest bytes and largest object, against each publication limit and warns from 70% of any of them, before publishing stops (#191).
  • Jobs that the model runtime refused or did not answer in time are labelled model_context_length, model_timeout or model_runtime_error instead of legacy_job_error, and the catch-all label is now job_error (#238).

Security

  • Known secrets are replaced by [REDACTED] before conversation and session text is indexed or given to extraction: the service token, the ArcadeDB password, saved API keys, the values behind env: references of saved profiles, credential variables, private key blocks and well-known key shapes. This covers imported transcripts, archived agent events, remember notes, session findings, checkpoints and tasks. The raw archived text is kept as received, a changed view is marked with metadata.masked, and a transcript record without a readable view is read through its masked metadata.indexed_text (#182).
  • A transcript import, an agent archive, a remember note, a finding, a checkpoint or a task stops with the reason when the saved keys or profiles cannot be read, instead of indexing unchecked text. Extraction of a masked source fails and is retried instead of being skipped (#182).
  • Excluded directories such as .ssh, .aws, .codex and .git, and the reserved .memory directories (including those of a nested project registered with other letter case), are left out of indexing in any letter case (#230).

Built-in agent

  • The built-in agent's approval dialog for a command or a third-party tool call now lists the files the agent created, changed or deleted since your last approval, at most 20 with a count of the rest, in English and Polish. Line breaks and control characters in a file name are shown as escapes, so a name cannot pass itself off as the app's own text. When a write recorded in the agent journal cannot be read back, the dialog says the list may be incomplete instead of leaving the write out without notice (#176, #230).
  • A change by the built-in agent to a file that configures execution now needs the same one-use approval as a command. This covers a coding client's settings or hooks, MCP files, repository instruction files such as AGENTS.md, AGENTS.override.md and CLAUDE.md, CI workflows, editor tasks, dev containers, .envrc and Git hook managers. The dialog shows the path and a bounded diff whose lines are shown whole or not at all, with a count of the lines not shown (#176).
  • The built-in agent can no longer write to Git's internals or managed memory through another letter case (.GIT/hooks) or a short Windows alias (GIT~1) on a file system that ignores case, such as a Windows drive in WSL; a short alias also no longer passes the approval for files that configure execution (#230).
  • The built-in agent's file tools read each path part the way Windows does (split at a backslash, cut at a colon, drop trailing dots and spaces, fold case) before comparing it with Git internals and managed memory. So .git., .git , .GIT\hooks and .git::$INDEX_ALLOCATION are refused, while ordinary names such as notes. or a:b keep working (#230).
  • A third-party MCP server whose program or arguments name the worktree with other letter case, or by a short Windows alias inside a shell command, is refused like one spelled exactly, and a project root that holds the data directory under another spelling is refused as before (#230).
  • The built-in agent no longer has to read and acknowledge its resume packet again when memory proposed from its own conversation is extracted while it works. A record that is confirmed, edited, written by anyone else or brought in by a memory package, and a code change, still make the acknowledgement stale (#168).
  • On an Ollama profile the built-in agent asks for a checkpoint when its request nears the model's context window. It counts only what a checkpoint can shorten, so a large tool catalogue alone does not withdraw its file tools. A resume packet read again replaces the earlier copy in the model's context; a failed read again does not (#240).
  • The built-in agent hands its model the reason when a write is refused: when only a person confirms a record (confirmation_refused, with what to do instead), a fixed hint when a record key already exists (key_exists, saying to set record.id and record.expected_version), and what a record looks like when it saves one the service does not accept (a field it does not read, an unknown kind or status, a missing content or key, metadata that is not an object). When it reads a made-up, session or malformed source id, it is told the id is unknown. Before, these came back as tool_failed, a bare tool failure or a misleading state_conflict (#240).
  • A refused tool call of the built-in agent now names the argument, the schema rule it broke and a fixed hint, for built-in and third-party MCP tools, without echoing the value; only the built-in file tools get the read_file hash advice (#240).
  • The built-in agent's instructions, and a ready resume packet that is not acknowledged yet, tell the model that file, command and third-party tools are offered only after its exact ack_resume (#240).
  • A third-party MCP server of the built-in agent that does not start is now reported on the sidebar: one notice per server per run, naming the server and the reason, on the notice line for the project shown and in Notices under the project of the run. The agent pane shows the reason in words, in English and Polish, instead of the raw code such as start_failed, and a program that does not exist or cannot be run has its own reason (program_unavailable) (#209, #240).

Workspace

  • The workspace keys are shown again, on the right of the active view's top border in the panels' language: all of them where the pane is wide enough, C-b ?: help at 80 columns, and Read only · C-b d: detach on a read-only terminal; the two status rows are unchanged (#161).
  • The words on a pane's border now follow the interface language and change with it without a restart: the view, who has control, how a finished run ended, and the memory state with the reason it went stale. The badge colour still turns green only for an acknowledged memory (#208).
  • The memory badge on an assistant's pane border says why an acknowledged packet no longer holds, for example stale: project changed after ACK, which covers memory changed after a tool result or checkpoint and a code change alike (#161, #243).
  • In the default Focus layout the activity column now sits beside the focused view from 160 columns. The other views keep running out of sight in the same window at the same size, so switching views no longer resizes an assistant you are not looking at (#149).
  • More -> Settings -> Activity column shows or hides that column; the choice is remembered and is on by default (#149).
  • The key of the view in focus (for example Ctrl+B 1) now moves the keyboard back from the activity column, in Focus and in Cockpit (#149).
  • When another project is shown, from the sidebar or from anywhere else, a notice about the earlier project that was on the line before the switch leaves the notice line; it stays in Notices under its project and the mark counts it. A notice written after the switch, such as "Project changed. Run next stage was not carried out", stays on the line. The memory inspector's import confirmation belongs to the project it imported into and stays on the line (#161).
  • The Memory panel shows the size of the portable package, the warning and the age of the figure, in English and Polish; a large project is measured in the background and the panel says so instead of timing out (#191).
  • After Confirm or Dispute in the inspector the notice reads in the interface language (it was always Polish), and the Dispute dialog's button and Ctrl+S hint say Save dispute instead of Confirm review (#243).
  • Switching the language redraws what the inspector already shows in the new language, without reading it again: an open entry and its hint, a saved version, a check or queue entry, and the Snapshot view. An import check or preview stays on screen with Apply still available (#243).
  • The inspector's record view shows its status word in the interface language, as the list does, and a fact or decision that extraction gave a task state shows its status instead of that state (#243).
  • The inspector's item count and its usage hints stay on the notice line but no longer fill Notices or the activity feed, and the count reads 1 item / 1 wpis, 2 wpisy, 5 wpisów. The Snapshot view no longer shows the item count of the list viewed before it (#243).
  • Two memory inspector texts that showed in Polish in an English panel, the source view's raw record choice and the refusal to review a historical version, are now translated (#161).
  • The read-only line an observing terminal gets reads in the interface language (#243).
  • In the dialog shown when the workspace is open in another terminal, the arrow keys move between Observe, Take control and Return to shell, and a hint names the keys (#243).
  • Start work and Check connection for an API connection whose key is missing, invalid or cannot be read say which of these it is and that the key is set in Connections, Set API key. Check connection shows only that sentence; the bare code stays under Technical details. Start work, opening a project or Run next stage with a connection that has no key records the notice once per press, not on every refresh or twice (#243).
  • When a launch refuses the API key, Run next stage says what to do after the code (#243).
  • An advanced connection limit out of range is refused with its field name and allowed range, on that field (#243).
  • A test stage mapped to a check profile that does not exist reports, in the interface language, that the check could not run. It names the profile and lists the declared ones, instead of saying the check did not pass. cairnmind stage next and Run next stage no longer offer a check run for a check profile the folder does not declare; they name the declared profiles and point to More → Plan stages (#243).
  • The notice of a started stage begins with the stage and its assistant on one line, so they stay visible when the notice line is cut (#243).
  • A notice of several rows no longer scrolls the focused button of the project page out of view (#243).
  • cairnmind workspace stop --clients lists a run the client service no longer knows under clients_unknown and forgets it, instead of reporting client_stop_unavailable; the broker answers 404 for such a run, and an assistant pane whose run it no longer knows now ends with "The session changed." instead of showing offline and retrying. It also clears the finished tmux pane of a client run that had already ended; the run is still listed under clients_already_ended (#161, #243).
  • The panels' labels and messages, the stale workspace message and the synthetic preview's answers are written in English and translated to Polish; nothing displayed changed (#161).
  • The keyboard help and docs/TERMINAL.md describe the Ctrl+B Space menu as the main commands and name Ctrl+B a for the activity panel (#244).

Command line

  • A project name that matches no project is now an error that names it, instead of acting on the project of the working directory (yours or the service's). A path is accepted only when it is written as a path and exists, and the service refuses a relative path. The command line sends a path as an absolute one, but a registered project name that looks like a local folder (such as web/api) is sent as the name. cairnmind mcp --client external --project app treats a bare name as a project name the same way; a folder is used only when the value is written as a path such as ./app or packages/api (#238).
  • A project name is limited to 256 characters on the command line too, as it already was in the service (#238).
  • A folder that is not registered for a project is refused with the folder, the project and the cairnmind project root command that registers it, also for a very long path, with --data-dir when the refusing installation is not the default one; this covers memory publish, checks, plans, the inspector, history discovery and cairnmind run --worktree (#244).
  • Refusals that are not about the command line, such as running cairnmind without a terminal, a service that stops at start, or restore and engine stop while the service runs, are now one Error line without Click's usage block (#244).
  • A question, transcript, plan, checkpoint, readback or evidence file with the wrong content, or one that is not JSON, is refused in one line that names the problem, without the usage block and 'Invalid value'. cairnmind eval repository --questions refuses a missing file, a folder, or a file holding a JSON list or string in a sentence instead of an Errno text or a traceback (#244).
  • An unknown task, plan, source, session or logged answer is refused the same way, as 'Cairnmind: ...' with exit code 1, whether the store or the service finds it missing, and names its kind instead of 'Record does not exist'; impact-verdict on a record that is not in the list no longer prints the usage block (#244).
  • An operating-system error about a path is printed as a sentence with long paths shortened (#244).
  • cairnmind retry-jobs prints what it retried (retried, count and job_ids) instead of always saying retried: true (#244).
  • cairnmind stage next prints --data-dir in its command for an installation that is not the default one, also when a wrapper or CAIRNMIND_HOME chose the data directory, because the command is pasted into a shell where that variable is not set; it adds the mapping remedy the workspace gives when the stage has no usable assistant (#244).
  • cairnmind engine status of a stopped engine says to start it with cairnmind engine start instead of suggesting engine status. An engine that times out or answers badly is called not reachable, with the cause, instead of stopped (#238).
  • Every top-level command now has a description in --help, every argument has an upper-case name and a short description, plan save and remember explain their arguments, including how to keep text that begins with a dash, and the later paragraphs of command help no longer break mid-sentence (#244).
  • The installer prints only what needs attention from cairnmind doctor (one line per cause, so a stopped Ollama is not repeated for each model, and a slow first Java start is not called missing), or that nothing does, instead of the whole JSON report; when it gets a JSON object that is not a full doctor report, such as the output of cairnmind init, it says the report could not be read instead of 'Nothing needs attention.'. doctor's ollama block now names the address it asked (#244).

Documentation and tooling

  • docs/API.md lists the paths that need approval and their limits, and says that no such list can be complete, so the list of changed files is the general protection (#176).
  • Docs: UPGRADING.md has one 0.10.0 to 0.11.0 section with upgrade steps and a way back; the README covers team memory and which commands start nothing; the secrets gate, the Proposed view in a narrow pane, where an unknown secret ends up and the supported versions are corrected; the command is cairnmind task add (#244).
  • Tooling: CI runs the suite in four parts at the same time, each on a runner of its own (pytest --shard I/4 picks a part by test id; the parts are disjoint and together are the whole suite). The required check is still named full-tests and passes only when every part passed; coverage combines the coverage data of the four parts.
  • Tooling: the fast test tier in CI runs with four processes, now that a stopped agent command waits for its process group. The time-sensitive tests found by running the whole suite repeatedly on a loaded four-core machine wait for a state instead of a moment (#175).

0.10.0

  • When the Copilot agent starts a new session, for example after its tool list changes, it must read and acknowledge memory again and read a file whole again before it can replace or delete that file. Before, the engine still counted what the earlier session had read (#157).
  • A file too large to be read whole in one context, or with a line longer than one tool result, is refused with a plain message that points to apply_patch, instead of advice to read it in slices that could never succeed. A file read that was cut to fit the context reports the last line it delivered whole (#157).
  • A memory snapshot that reuses objects left by an interrupted attempt makes them durable before it publishes the manifest that names them (#158).
  • cairnmind memory show marks a plan step whose task was written by an external client's session or after a third-party tool result as never verified (#158).
  • In Polish, an acknowledged memory reads "Pamięć potwierdzona" in both the Sessions list and the agent pane (#153).
  • Ctrl+Q in a Cairnmind view (projects, memory, graph or activity) now detaches the terminal that pressed it, like Ctrl+B d, and the workspace keeps running. Before, it ended that view and tmux left a dead pane. In an assistant pane the key still goes to the assistant. The built-in API agent no longer ends on Ctrl+Q; it says that Ctrl+B, then d leaves and Ctrl+C interrupts a turn. Ctrl+C in a view names the keys that leave instead of Textual's "press ctrl+q to quit", and this hint is not kept in Notices (#152).
  • A view whose process ended starts again when you ask for it with Ctrl+B p, i, g, Tab or the command menu, and the command that asked for it (for example Projects or Ask memory) is carried out. There is no need to detach and run cairnmind again (#152).
  • The command menu lists commands whose name matches the typed text first, so typing "Ask" and pressing Enter opens Ask memory, not Memory (#152).
  • The graph's key footer fits 80 columns in English and Polish. Open, Groups, Pause and Back stay on their buttons, and the keyboard help names a (all memory or the project), r (reset camera) and Backspace (#152).
  • A focused primary button in a stacked button list or a narrow dialog, such as Add folder in the sidebar, is now clearly marked and no longer looks like the selected project row (#152).
  • A routine confirmation such as "Remove from layout?" opens with Cancel focused, so Enter cancels and the focus is visible. A consent request still opens on its text. A command chosen in the menu while that view has a dialog open is no longer run behind the dialog; a message says to finish or close the dialog first (#152).
  • After a message sent with the agent's Send button, typing goes to the prompt again instead of nowhere. In the project list opened from the menu, Down moves from the search field into the list (#152).
  • Ask memory shows its status and the memory agent's fixed messages (the "could not be verified" answer, citation, support, budget and timeout gaps) in the UI language; they were Polish in an English workspace. cairnmind ask returns them in English, and the validation errors sent back to the model in a repair are English too. A model's own text is never translated (#153).
  • The built-in agent panel shows provider and Copilot errors, such as the Ollama context limit, and the engine's own blockers in the UI language; they were Polish-only. The Copilot sign-in terminal prints its prompts and errors in the UI language (#153).
  • Changing the language while the workspace runs now switches the memory inspector completely: its view selector, column headings, count line, title and rows, the impact list included, and the chosen row stays chosen. Buttons sized by their label, such as the graph's, are measured again, so a longer translated label is no longer cut ("Otwó") until the next resize (#153).
  • Stored kinds, states and outcomes are shown in the UI language where a panel displays them: inspector cells, the graph's selection line, the finding form's choices, a plan step in Run next stage and a check result. The stored values are unchanged (#153).
  • The command menu no longer cuts descriptions without a sign: with room, a long description wraps onto a second line; in a small terminal such as 80x24, the chosen command shows its whole description and the others end in "…", so every command stays on screen with no scrollbar, in English and in Polish (#153).
  • Messages from the local broker, the memory graph and the checks of profiles, keys, settings and workspace state are written in English and translated in a Polish workspace, also when the broker relays a check, for example "Broker 400: Wybrane katalogi muszą istnieć i być unikalne." A notice such as "Broker 503: ..." no longer shows Polish in an English workspace, also when an older broker is still running (#153).
  • Stopping a session whose process has already ended, or opening one whose tmux session is gone while other sessions are running, no longer fails with "Native terminal identity does not match its registry". tmux answers a question about a missing session with empty fields, and that was read as another process. Such a run is now shown as ended. Stopping it is not an error, and it keeps its own end instead of reading as stopped by a person (#154).
  • Sessions on this computer names each session with its short id, its state in words and its start time, so two sessions of one folder no longer look the same. An ended session is no longer offered Take control, Interrupt or Stop process, and stopping a running session says "The session was stopped." (#154).
  • cairnmind usage --help shows [usage] again in the --warn-over help. The help is drawn through Rich, which read the brackets as a style tag and dropped them (#154).
  • When the service is stopped, not configured, or answers with an error, cairnmind status, cairnmind jobs and the other service commands print one Error: line instead of the command's usage and "Invalid value", because no argument was wrong. The exit code stays 2 (#154).
  • cairnmind stage next names the project in the command it prints (cairnmind run demo codex ...) instead of the project's id, whenever that name names exactly this project (#154).
  • Plan stages, Run next stage and cairnmind stage next name an assistant by its label and what it runs, for example "Local (Ollama · qwen3.5:9b)" or "Claude (Claude Code)", instead of an internal slot id such as "slot-cb68a6d447a4". A word that only repeats the label is not said twice. An assistant that is no longer configured reads "Unknown assistant ()" (#154).
  • cairnmind workspace stop --clients no longer reports an error for each session that had already ended. Those are listed under clients_already_ended and are not asked to stop. The saved workspace state no longer says a stopped assistant is running, and stopped sessions are no longer kept in its list of adopted runs (#154).
  • A Claude Code transcript that holds a last-prompt record without its prompt copy (written by Claude Code 2.1.325) no longer leaves every later resume packet of the project partial; records already archived that way are repaired the next time a packet is prepared (#155).
  • Resume session keeps the other running session on screen instead of closing its pane, so a session that is still running no longer disappears from the workspace when the resumed one ends (#155).
  • Acknowledging the exact current packet while it is partial or unavailable now names that status and what is missing, instead of saying the ACK does not match (#155).
  • A check started with Run next stage is no longer lost when you open another project while it runs: its result is listed in Notices under the project it ran for, and it goes on the notice line only if that project is still shown when the result arrives (#156).
  • The notice for a check that keeps running names its profile inside the sentence and says the result will appear in Notices (#156).
  • Run next stage in a folder without an active plan now says how to activate or save a plan, naming the command arguments, instead of pointing to Plan stages; a finished or blocked plan gets no mapping hint (#156).
  • The form opened by Add connection is titled Add connection, and the language, layout and reduce-motion pickers are titled after the setting instead of Settings (#156).
  • docs/TERMINAL.md now says Plan stages can map any assistant: Codex, Claude Code, the built-in API agent or GitHub Copilot (#156).
  • The built-in agent no longer refuses small steps on an Ollama profile with the default 32768-token window. The check before a request counted every byte of the prompt as a token, which was 2.5 to 3.8 times too high, so a one-line change after the resume ACK (about 11.5k real tokens) ended in a context limit. It now estimates half the UTF-8 bytes plus a small framing allowance. Ollama is still asked to refuse rather than truncate, and its refusal is reported as a context limit (#157).
  • The built-in agent can no longer replace or delete an existing file it has seen only in part. A read of a file longer than one tool result reached the model cut to 4000 characters but marked as complete. write_file accepted that part written back, and in a trial this shrank a 400-line README to 42 lines; delete_file followed by a new create did the same. Replacing or deleting an existing file now needs every line of that exact version to have reached the model whole and unmasked in the current conversation (one read, or slices that each arrive whole), or the model to have written that version itself. Otherwise the call is refused with the lines not yet read and a pointer to apply_patch. A cut read now says it is truncated, and read_file reports the last line it delivered whole (#157).
  • The agent pane keeps a third-party MCP server that did not start named on its own row for the whole run, instead of in a status line that the next status replaced at once. Every status update, the memory ACK and the end states of a turn included, is shown as a translated word such as Working or Memory acknowledged instead of raw JSON or an internal code. Saving an MCP server whose program does not exist or cannot be run on this computer now shows a warning (#157).
  • When the model reads the same resume packet again after its ACK, the turn keeps the ACK the service still holds. Before, it ended with resume_required while the header, the status bar and Sessions showed the ACK. A changed packet, or one refused because it holds credential material, still needs a new ACK (#157).
  • remember refuses a field put beside the record instead of in it and names it (a task's state belongs in metadata.state); before, the record got a new version and kept its old state (#158).
  • An external MCP session can save a fact right after its ACK without citing a source: the reported text becomes the record's own source with the same external mark, so it is never shown as verified. The refusal after a session's own checkpoint now says to call resume_context and acknowledge the new packet (#158).
  • cairnmind memory show marks records, plans and sources written by an external client's session or after a third-party tool result as never verified, as the inspector and ask do (#158).
  • A published memory snapshot under .memory/cairnmind is no longer listed and hashed at every code-state capture, session status and scope check, which made a large snapshot crawl and loaded the service; cairnmind impact no longer counts it as a changed file (#158).
  • cairnmind memory snapshot waits up to 30 minutes, writes its objects with one directory sync instead of one per object, no longer re-reads every object of the kept history when pruning it, and when it stops waiting says that the snapshot goes on in the service and how to see it finish (#158).
  • cairnmind impact links a record to a definition with a plain-word name such as current or status only when the record's evidence writes it as code, by the rule documentation mentions already follow; compound names such as load_rows or a field Settings.port count anywhere (#158).
  • The terminal workspace has an activity panel, a 32-column column on the right of the Cockpit layout from 213 columns, where it does not narrow a coding pane; the Focus layout still zooms the focused view and has no column. For the selected project it shows the started sessions and the stage of the next step, the active plan with its steps done of total and plans finished recently, tasks grouped by state, and the latest notices of all panels with their kind as a word. It follows a project switch and updates on memory changes and new notices without a key. Ctrl+B a focuses it, or opens it over the workspace where the column does not exist (a, q or Esc closes it); at 80x24 the layout is as before. It only reads (GET /api/inspector/tasks, /api/inspector/plans, /api/stage, the event stream); Enter on a task or plan opens it in the memory inspector. So that it can show them, the sidebar, inspector and graph also keep their newest 30 notices as an option of their own pane on the workspace's private tmux server, never on disk. No key, command or menu order changed (#144).
  • The --ui-command option of the workspace command line takes every command the menu can send: ask, brief, next_stage and notices were refused there although they worked from the menu. Both now use one list (#146).
  • Tooling: the test client of FastAPI and Starlette now runs on httpx2 (a dev dependency, the package Starlette's own test group and documentation name) instead of the deprecated fallback to httpx, so the warning filter in pyproject.toml is gone. Runtime use of httpx is unchanged (#61).
  • The terminal workspace has one calm look. Every panel, dialog, the command menu, the finding form, the agent pane, the graph and the tmux status line and pane borders use one palette (terminal_theme.py) whose colours stay greys and one blue on a 256-colour terminal. Buttons, inputs and selects take one row, so at 80x24 the memory list shows about twice as many rows, the project page all its buttons and a long form its Save button. Every dialog has the same frame, a key hint and a size that follows its content; a dialog that asks for consent (approving a command or a third-party tool call, a paid model test, a download, loading memory) has a heavy yellow frame and a routine confirmation the ordinary one, and at 80x24 an approval shows the whole request and its note at once. A state keeps its word and is never told by colour alone, an evidence state is never green, and text from memory, a model or a third-party tool keeps the plain text colour. The command menu says when nothing matches, the agent's status line is coloured by what happened (working, needs attention, failed) and its history sets each speaker apart. Buttons stacked one per row have no fill until they are focused, the assistant selector on the project page looks like a selector, and lists no longer scroll sideways. No key, command or menu order changed and no text was reworded. Choice lists no longer repeat an "Open" column header, a Sessions row names the memory state before the folder, a form's key hint names its own action ("Ctrl+S: Ask"), a dialog with nothing to scroll does not mention PgUp/PgDn, the graph's zoom keys read "Zoom in" / "Zoom out", and the command menu's keys, the open list of a select and the "Task or queue state" filter are now translated.
  • Internal: the SQL helpers that store.py shared with eleven other modules under private names (_json, _one, _now, _clean, _insert, _set and others) now live in src/cairnmind/sql.py under public names. No change in behaviour (#136).
  • Tooling: four CLI tests no longer fail in a narrow terminal (COLUMNS=60) with forced colour, where Typer and Rich wrap an error message across lines and box borders. They now compare the message after colour codes, box characters and line breaks are removed, through one shared helper, plain_words in tests/conftest.py. No change in behaviour (#113).
  • Documentation: docs/RELEASING.md writes down the release gate (green lint, fast-tests and full-tests, evaluation results for a release that changes the knowledge agent, retrieval or extraction, the hand-off pilot) and the release steps.
  • Tooling: a new CI job, coverage, runs the suite with test coverage (pytest-cov, branch coverage of src/cairnmind, including the Python processes the tests start) beside the required full-tests, which runs without it. Its job summary shows the total and, on a pull request, the coverage of the changed lines (diff-cover against the merge base). It is not a required check, nothing fails on a number yet, and nothing is sent to a coverage service; the README badge reads a JSON file that CI writes to the badges branch after a push to main, and only while that push is still the tip of main. uv run pytest -n 4 --cov --cov-report=xml && uv run python scripts/coverage_summary.py prints the same numbers locally; plain uv run pytest measures nothing.
  • Tooling: the test suite is faster. uv run pytest -n 4 runs it in four processes that share one ArcadeDB engine (pytest-xdist is a dev dependency), and a test database now gets its schema as a copy of one built by the real schema code once per process, instead of some 200 schema statements each time. On the maintainer's WSL machine the full suite took 53 minutes; it now takes 12 minutes with plain uv run pytest and under 4 minutes with -n 4. The same tests run; CI's full job uses -n 4.
  • The built-in API agent can use the tools of up to four stdio MCP servers per project. A person adds or removes them under More → MCP servers in the workspace; the list is kept in the local cockpit preferences (project_mcp_servers), applies from the next agent run of that project and is not given to other projects, Copilot runs or native clients. Tools appear as mcp_<server>_<tool> only after the resume ACK, and every call needs a one-use approval that shows the server, the tool and the exact arguments, also for tools a server marks read-only. The dialog always shows the whole request; a call too long to show is refused. A server gets no secrets (literal, non-secret environment values only) and no variable that changes which code it loads (PATH, HOME, LD_*, PYTHONPATH, NODE_OPTIONS and others), is not started when its program, an argument or a value names a path in the worktree, runs with a minimal environment, a private working directory, no stderr and its own process group, and is stopped when the run ends, also when a turn is interrupted while it starts or stops; a server that does not start is reported by a fixed code and the agent works on. Tool schemas are admitted only within a subset every provider accepts, and a provider that still refuses the request, and accepts it without them, costs the third-party tools for that run, not the turn. Descriptions, schemas, results and timeouts are bounded, results are marked as untrusted third-party text also when shortened for the model, journaled, and archived as degraded sources that never anchor a record and are never indexed for search; after a third-party result nothing the agent says or does in that session is searchable or evidence, and its memory writes are marked unverified. Only tools over stdio are used. A stdio server is a program you run under your own account and Cairnmind is not a sandbox for it, and its text can steer the agent into editing worktree files without an approval, as repository text can (#126).
  • The README says in its first paragraph and in a short "How it compares" table how Cairnmind differs from an instruction file, an assistant's built-in memory and a memory plugin, and has a "Built with" section that names, in one place, the projects it is built on. Documentation only.
  • cairnmind eval repository ROOT asks questions with known answers about a real repository with the local models: it indexes a copy of the files Git tracks in ROOT (never docs/evaluation/, where the questions and results are) into a throwaway data directory and database, asks each question of docs/evaluation/repository-questions.json (or --questions FILE) and writes a report with, per question, the status, the diagnostic code, whether an accepted value is in the answer, the citations, the model calls and the seconds. A changing value (a default, a version, a limit) is read from the code at run time. It counts complete, complete and right, and complete and wrong; it passes when 80% of the questions are complete and right. It needs Ollama and a running engine, checks both before copying anything and exits 3 without them; it drops its database at the end, also after Ctrl+C, and fails and names the database when it cannot (#104).
  • An answer that passed citation validation is returned as complete only if one more call to the local model, without tools and constrained to {"reason", "supported"}, finds that its quotes state it. The check sees the question, the answer and each quote with its path, lines and whether the file is a test, lock or minified file. A "no" gives answer_unsupported, an unreadable reply, a failed call or a check that runs out of the question's time gives support_unverified; in both cases the answer is withheld, the verified quotes are kept and the reason is listed under unknowns. Answers that are not complete are not checked. Measured on 20 questions about Cairnmind's own repository, it rejects values quoted from tests, lock files and comments that only mention a number, and lets through a neighbouring setting or a display limit; every complete answer costs one more model call (#104).
  • A question starts from ten search hits instead of five, and a chunk longer than 900 characters is shown as the run of whole lines that holds most of the question's search terms instead of its first 1,600 characters; line_start and line_end describe what is shown. The search tool shows its hits the same way. 900 characters keep room for one search round within the context guard. A repair of the answer's format now sees every passage the model was shown, top hits first, instead of the first 600 characters of one passage per source (#104).
  • Search ranks a chunk of a test, lock or minified file five places lower in the full-text and in the vector ranking before they are merged, so that a definition is not buried under tests that repeat its name. It is a preference, not a filter. Prose (Markdown, reStructuredText, plain text) is never treated as a test, a data or configuration file (JSON, YAML, TOML and the like) only inside a test or tests directory, and a .spec. or .test. name marks only code files (#104).
  • A citation whose passage is given as quote_excerpt, the name the citation catalog uses, is checked like one given as quote (#104).
  • A question is shown, before the first model call, the definitions of the names it and its first hits use, because search finds where a setting is used more easily than where it is defined. A name counts when it is written as code in the hits or the question and a constant, class field, function or class of the project has it, or when the question's words name a constant or field (one word, or two joined by _, also in capitals: "schema version" finds SCHEMA_VERSION). A constant or field whose snake_case name is made only of question words and max, min, default or num, in any order, is found too (words compare by a light stem, and common words such as "please" or "many" are not used), so "How many tokens may an answer have?" finds answer_tokens and "How many files does a drift report list at most?" finds MAX_REPORTED. A name of at least two question words ranks first after one the question writes as code, and a test never outranks a project file with the same kind of match. Definitions whose name shares no word with the question are left out, and a name defined in a project file is never shown from a test. Up to four take the places of the lowest-ranked hits, so the model still gets ten excerpts; each is the definition with the neighbouring lines of its scope (a field with the fields around it), labelled with its path and lines, and can be quoted like any hit. No extra model call. The lookup costs 3 to 8 database queries, and each definition checked for freshness about 12 more; at most 8 are checked, so a question costs about 55 queries more when four definitions are shown and at most about 130 when the files of the candidates changed since the last indexing (#104).
  • The code graph knows Python module constants and class fields: an assignment to one name directly in a module or directly in a class body, annotated or not, with the lines of the whole statement. A field is named Class.name. The first indexing after the upgrade analyses every Python file again in place and rewrites the graph once; it adds no sources, chunks or embedding jobs. On Cairnmind's own repository (217 files) that adds 593 definitions and takes 8 s and about 8,900 database requests, once. cairnmind impact lists a changed constant or field as a changed definition of its own, links a record whose evidence names a constant through that definition rather than only through its file, and lists pages that mention a changed constant; fields are not looked up in pages (#104).
  • The sidebar of the workspace keeps the notices it showed, so a result that another notice replaced can be read again. More → Notices, and Notices in the Ctrl+B Space menu (both last), open them newest first, each with its time and, when it is not the project now shown, the project it was shown for. A notice shown twice in a row is one line with a count. A mark [Notices: N] under the notice line says N notices were replaced since you last opened the list, and opening it clears the mark; the notice text itself is unchanged. The history holds at most 200 notices and a bounded total size, lives in memory for as long as the sidebar runs, and is never written to disk, to the workspace state or to a log (#130).
  • A plan stage can be mapped to the built-in API agent (OpenAI, Anthropic, an OpenAI-compatible server, Ollama) or to GitHub Copilot, not only to Codex or Claude Code. Run next stage starts it exactly as Start work does: in a panel of the workspace, with the profile's own key and limits, nothing sent to the model until you write to it, and a resume packet the agent must read and acknowledge before it changes a file or saves anything; it moves a step on only through the same acknowledged write as by hand. A stage whose profile has no key (or one that cannot be read, or an env: key whose text the launcher would refuse; such a key is now also shown as credential_invalid in the profile's status instead of configured), or whose Copilot runtime is not prepared, says so and starts nothing; whether the key works or the Copilot account is signed in shows at the first request. Nothing is mapped by default and no other assistant, paid or not, is ever started in place of the mapped one: Plan stages now saves a stage with the profile and client its slot named (for the API agent or Copilot also its provider, model and address), and when the slot later names another profile (Replace connection, changed default assistants) or that profile's provider, model or address is edited in place, the stage says its assistant changed and what changed, and starts nothing until it is saved again. A map saved earlier keeps following a Codex or Claude Code slot; a stage whose slot now holds the API agent or Copilot must be saved once. cairnmind stage next and GET /api/stage name the profile's provider and model and print no command for such a stage (command_reason agent_client), since cairnmind run starts only Codex and Claude Code. No real provider or Copilot account was used in the tests (#125).
  • A written decision on how Cairnmind can and cannot be extended, in docs/CONTRACTS.md: it loads no third-party code into its own processes. For another check (.cairnmind/checks.toml), a reaction to events (GET /events), another MCP client (--client external) and another model for the built-in agent it names the way that exists today, and it lists what is planned (#126, #127) and what is not supported (workspace views, in-process plugins). Documentation only (#127).
  • Choosing Ask memory or Brief in the workspace menu (Ctrl+B Space) no longer fails with "Invalid workspace command": the workspace state now allows both, and they open what the same buttons on the project page open, for the project that is shown. With no project shown, the sidebar says so instead of doing nothing (#118).
  • A stage router for plan steps. More → Plan stages in the workspace maps, per project, the implement stage (tasks in todo or in_progress) and the review stage (needs_review) to one of the project's Codex or Claude Code assistants, and the test stage (needs_test) to a check profile; the map is kept in the cockpit preferences on this machine. Run next stage on the project screen (the Ctrl+B Space menu only shows the project and its button) reads the next step and does what is mapped to its state: it starts that one assistant exactly as Start work does, with its own resume packet to acknowledge, or it runs cairnmind check run for that profile and task and shows the result. If the mapped assistant is already running in that folder, nothing is restarted and the message says it received no new packet. A missing mapping, or an assistant that is not configured or cannot be launched for a step, is shown and nothing else is started in its place; a result that arrives after you open another project is not shown as that project's. The router never changes a task, a plan or an acknowledgement: moving a step on stays an explicit action. cairnmind stage next PROJECT shows the same decision and starts nothing; it prints cairnmind check run … for a check, and cairnmind run … only when that launches exactly the mapped assistant (no model in its profile, the only assistant of that client, the active plan), otherwise it says to start the stage with Run next stage (#10).
  • Cursor, Cline, Zed and any other MCP client can use project memory with cairnmind mcp --client external --project PATH. The first resume_context prepares an external session whose packet says history: unarchived and evidence: degraded: Cairnmind cannot read that conversation, so there is nothing to quote or verify. The ACK is required as for Codex and Claude Code, unarchived or unknown native transcripts in the worktree still keep the packet partial, and the command refuses to start where the launcher set the session variables. What the session writes (records, checkpoints, plans and tasks) carries an origin_* mark set by the service, which no client can set or remove and which stays when the record is edited later (the checkpoint record's mark follows the latest checkpoint, and a plan save marks only the steps it changes); an external plan or task is marked in native resume packets too. Writes made by running the cairnmind command in the editor's shell carry no session and are not marked. Its evidence state is degraded, never anchored, wherever evidence is shown, and a source it wrote cannot anchor another record. Codex, Claude Code, API and Copilot sessions are unchanged. No real Cursor, Cline or Zed was connected in the tests (#12).
  • The memory inspector of the workspace (Ctrl+B i) has an Impact view: the records cairnmind impact lists for the open project and worktree, compared with a commit you type (HEAD by default), each with its links, its checked: line and a detail of every link, and a filter for the entries without a verdict. Verdict on an open entry saves still valid, needs update (a note is required) or not related for the entry exactly as shown; when the code or the record changed in the meantime nothing is saved, the view says so and reads the list again, and nothing is ever retried on its own. The list comes from the new read-only GET /inspector/impact of the memory service (also through the workspace broker), which takes the parameters of impact and answers what impact --json prints. The view writes nothing but the verdict, through the same broker session as Confirm and Dispute; no record, status or task changes (#8).
  • Commands that only read the store no longer start the database engine, create the data directory, configuration or database, or upgrade the schema: project list, records, source, task list, plan list, plan show, plan next, plan contract without --write, check profiles, memory orphans, impact and usage. When the engine is stopped, the store was never created or its schema needs an upgrade, they stop at once with one line saying what to run (cairnmind engine start or cairnmind init) instead of starting Java. brief, check list, export, backup and the commands that write prepare the store as before (#25).
  • A person can give each record listed by cairnmind impact a verdict: still_valid, needs_update (a note is required) or not_related, with cairnmind impact-verdict PROJECT RECORD_ID --fingerprint F --verdict V [--note TEXT] --since COMMIT or POST /inspector/impact/verdict of the memory service (also through the workspace broker). The verdict is stored as an audit note review://impact/… that is never evidence and never chunked or searched, and that travels with the project memory; the record, its revisions, its status and a task's state are not touched, and no task is created. impact shows checked: <verdict> (<date>) under a reviewed entry and --pending lists only the others; the JSON gets fingerprint and verdict per record. A verdict holds for the entry as listed: it expires when the linked definition or file (any file, also one too large or not text), the record's content, or the links (another base commit) change. Refused when the entry changed since it was shown, when the record is not in the list, and inside a coding session; an agent has no tool for it (#8).
  • cairnmind usage --by week groups the usage by ISO week in UTC (2026-W46) instead of by day; the text says that weeks are ISO weeks in UTC. Every JSON row has a period next to the day of day rows (week rows have no day), and the JSON has by. The 60-row limit, the lower bounds and the totals are unchanged. usage also reports Codex (rows have a client, api or codex): its token counts are read from the transcript lines that history import stored for the project (so the project is the one import attributed each event to, and a moved rollout changes nothing), each response counted once; Codex records still waiting in the ingestion inbox make the report partial, and no cost is ever computed for Codex. Claude Code is not covered. --warn-over TOKENS, or warn_over_tokens under [usage] in .cairnmind/checks.toml (a tracked file, so changing it makes check evidence stale), adds a WARNING: line (JSON: warning) when the period's input plus output tokens pass it, saying "at least" for a lower bound; nothing is blocked. If the default threshold cannot be read, the report is still printed with a Warning threshold not read line (#9).
  • cairnmind memory show prints more of what a snapshot holds. --sources prints the text of each record's sources under it, up to 1,200 characters per source and 60,000 in all with a note of what was left out; a source whose text is empty or binary is named and not printed, and a source that supports several records is printed under each. --grep also searches the criteria and check names shown for tasks, and with --sources the source text shown. Always shown now: a task's acceptance criteria with the check each is linked to (or "no check"), and replaces: / replaced by: for a record that replaced another or was replaced. Output without --sources changes only by those lines. Source text is untrusted and printed with control characters and terminal escapes made visible; still no engine, model or service, and nothing is written (#107).
  • cairnmind engine start waits up to 30 seconds, twice, for Java to answer -version (it was 5 seconds, once), so a first JVM start on a cold or busy machine no longer fails. When Java still does not answer, or cannot be run, the command says so in one line instead of showing a traceback (#112).
  • Ctrl+B n in the workspace opens a small form to save a finding without leaving it: text, kind (decision, fact, constraint, question or preference) and status (proposed or confirmed). Ctrl+S saves and the status line confirms; Esc closes without saving, and a failed save keeps what you typed. Saving again after an unclear answer never stores the finding twice. The record belongs to the whole project and is written by the memory service with a source of its own, workspace://finding/… with the time and the origin workspace_form, instead of an anonymous manual:// note. Nothing is read from a terminal pane (#14).
  • cairnmind usage PROJECT --since 7d sums the tokens used by the built-in API agent per UTC day, profile and model, from the session journals. Only the last report of each turn counts. A counter nobody reported stays unknown; a row or total with a turn that did not report full usage is marked incomplete and shows its sums as lower bounds ("at least N"). A cost is shown only as an estimate, never an invoice, and only where every turn was complete and priced by the profile's rates; a report built on an unreadable run registry or with skipped sessions is marked partial. Asks no model, starts no service and writes nothing to the journals or the memory; it opens the store to resolve the project name. Built-in API agent only (#9).
  • cairnmind impact also lists documentation pages (.md, .mdx, .rst, .txt) that mention a definition the parser knows (in Python, JavaScript and TypeScript files: functions, classes and methods; in JavaScript and TypeScript also interfaces, type aliases, enums and variables holding a function) whose text changed or that was removed, with up to 3 line numbers each and at most 50 pages. Added and moved definitions are not looked up, nor are names under 4 characters; a plain word that is not distinctive counts only when written as code. A mention means "worth checking", not that the page is wrong. Read-only, as before; the JSON gets a documentation object with documents and counters of what was left out (#8).
  • A sample project memory in examples/sample-project/: decisions with their sources, one of them replaced by a later one, a plan with three steps and a check run. cairnmind memory show and memory inspect read it with only Python and uv installed, on Linux or WSL2. The walkthrough says what that view shows and what it leaves out (#36).
  • First indexing sends about 13 database requests per file instead of 47: source, chunks and jobs of new files are written together, up to eight files in one transaction, and the code graph reads once what it used to look up row by row. Measured on 5,000 files: 43 s instead of 257 s, and 391 s with 5 ms added to every request, as for a database on another machine. What is stored and what the journal records is unchanged (#71).
  • Faster database access: the connection to the database is kept open between requests instead of being opened for every statement, and lookups by source, file path, edge end, task and session have indexes. Measured on a project of 5,000 files: first indexing 257 s to 182 s, indexing again after every file changed 532 s to 334 s. The indexes are created when a database is first opened by this version; the schema version is unchanged (#71).
  • A plan step can declare scope, the path patterns it means to touch. Once the task is in_progress, cairnmind plan next, cairnmind plan contract, cairnmind brief, check_status and next_task warn about files changed outside it since the task started, by name. A finished task keeps the answer it had when it was done. A warning only: nothing is blocked, and the note of the starting state never leaves the machine (#11).
  • An acceptance criterion can name the check that proves it: write it as {"text": ..., "check": PROFILE}. check_status, cairnmind plan next and the new cairnmind plan contract PROJECT list each criterion as machine_fresh, machine_stale, machine_missing, machine_unknown, manual_pending or manual_reported. plan contract --write CODE adds check profiles from commands proposed with the criteria; the code is printed with the diff and names exactly the proposal that was shown. It runs nothing and never changes a declared profile (#13).
  • The names of running processes are cairnmind now: terminal sessions and their sockets, the identity the service and the broker announce, cookies and temporary files. Whole-database backups are written as .cairnmind.json.gz; .devbrain.json.gz files are still restored. Because a new version does not find a workspace started by an earlier one, the installer stops the broker and the service of the installed version and refuses to continue while a workspace is running (#40).
  • The names a project shares are cairnmind now. The MCP server in .mcp.json and .codex/config.toml, the markers in AGENTS.md and CLAUDE.md, snapshots in .memory/cairnmind/ with the format name cairnmind-portable-memory, and check profiles in .cairnmind/checks.toml. cairnmind install converts what an earlier version wrote where it stands, keeping tool approvals; snapshots in .memory/devbrain/ and profiles in .devbrain/checks.toml are still read. Versions up to 0.9.0 do not read the new names, so everyone who shares a repository upgrades together; see docs/UPGRADING.md (#40).
  • Environment variables are spelled CAIRNMIND_*. The earlier DEVBRAIN_* spelling is still read; for a configuration variable the new one wins when both are set, and cairnmind doctor reports a pair that disagrees. A new installation keeps its data in ~/.local/share/cairnmind; an existing ~/.local/share/devbrain is used where it is and is never moved or copied. The launcher gives coding clients both spellings of the session variables, so project files written by earlier versions keep working (#40).
  • cairnmind impact PROJECT --since COMMIT lists the decisions, facts and tasks linked to the files and symbols changed since a commit, each with the reason for the link: the record's evidence names the changed file or definition, or the record cites a snapshot of the changed file. It is read-only and asks no model (#8).
  • After an edit, indexing opens only the files whose size, times or inode changed since this process last indexed them, and writes only the graph rows that differ instead of replacing the whole graph. On a project with 5,000 files the indexing part of the first question after editing one file fell from 159 s to about 1 s. The first indexing after the service starts still reads every file (#62).

0.9.0

The first release under the name Cairnmind.

  • The Python module is cairnmind; devbrain remains as an import alias for one release, so hooks and MCP entries that start python -m devbrain keep working wherever the Python they name is still installed. After the installer has replaced the earlier devbrain uv tool, run cairnmind install <project> for each project as the installer lists them; that also rewrites the entries to the new module name. Environment variables, the data directory and the portable memory format keep their devbrain names for now (#40).
  • The code fingerprint behind acknowledgements, questions and check evidence no longer resolves the path of every file: whether a directory lies inside the worktree is decided once per directory. On 5,000 files it fell from 0.45 s to 0.18 s, and from 0.91 s to 0.57 s when the files are 100 KB each. File content is still always read, so any edit changes the fingerprint; the README documents the cost for large worktrees (#24).
  • A question no longer re-indexes an unchanged project: the tree is compared by file sizes and times without opening the indexed files, and the answer cache stamp is a change counter instead of a scan of seven collections. On a project with 5,000 files the indexing part of a question fell from 52 s to 0.05 s. The background scan of the service skips unchanged projects the same way. A question still hashes the worktree once for its code identity (#24), and after any edit the whole project is indexed again (#62). A directory that cannot be listed is now reported instead of having its files deactivated (#23).
  • The help page of every command and the messages written in the command line module are in English. Messages raised by the workspace, cockpit and service modules are still Polish (#37).
  • cairnmind doctor --contract --format text prints one aligned line per client and check: ok or failed, with the evidence line or with what was needed and found, and a verified_resume line per client. A failed check now also records what it found (the line that says otherwise, or the exit code of the command), in JSON as well. JSON stays the default (#38).
  • The mcp capability check no longer accepts the flag example --debug='!hooks,!mcp' in a client's help text as the mcp command.
  • Conflicts view in the memory inspector: pairs of facts or decisions that extraction marked as possibly contradictory are shown side by side with evidence times, scope and sources. You resolve a pair by letting one finding supersede the other, by keeping both for different scopes, or by dismissing the alarm; every decision is saved with an audit note and no source is removed (#7).
  • The audit note of a review or of a conflict decision no longer counts as evidence time. A record gets the corrected time the next time it is written; the Conflicts view reads the times from the sources directly.
  • The memory inspector shows when a record's evidence was stated or observed, and warns when a record replaced a finding with newer evidence (#39).
  • Records have a derived evidence state: anchored, evidence_replaced (with whether a verified quoted passage survives), orphaned, or unverified for imported file evidence before local indexing. The memory inspector shows it, a newly prepared resume packet warns about orphaned and changed records without blocking the resume, and cairnmind memory orphans PROJECT lists them. The state is computed when read and is not stored, so snapshots and the portable state hash do not change (#6).
  • cairnmind brief PROJECT and Brief in the command palette show where work stopped in at most 40 lines: checkpoint and its age, next task and blockers, check evidence of tasks in progress, commits dated after the checkpoint and proposed findings. No model is asked and the command does not start the service; every line below the title and the legend is marked machine or reported (#3).
  • cairnmind memory show PATH prints a portable snapshot's records and plans with their source addresses as text, with --kind, --status and --grep filters. It needs no Java, engine, model or service and writes nothing; inside a coding session the running service authorizes the package first (#2).
  • A step-by-step installation guide is in docs/INSTALL.md, and the installer's messages and help are in English. When it replaces DevBrain, the installer stops the earlier knowledge service and interface broker before it removes the earlier tool.
  • The package moved to the repository root: after cloning, run the installer and the tests from the top-level directory. The contract documents are in docs/.
  • Renamed to Cairnmind. The repository moved to piotrwozn/cairnmind, the package is cairnmind and the command is cairnmind; devbrain remains an alias for a transition period. The installer removes an earlier devbrain uv tool, keeps your memory, and lists the cairnmind install <project> commands that reconnect existing projects. Data paths, environment variables and the portable memory format keep their devbrain names until a compatible migration (#40).
  • Records carry the time of their evidence (evidence_earliest, evidence_latest, evidence_basis) and a warning when older stated evidence supersedes newer (#4).
  • Search ranks records by status: at similar relevance a confirmed finding comes before proposed and disputed ones (#5).

0.8.0

  • Focus view is now the default: one view across the full terminal width. The multi-pane Cockpit layout remains available as an option.
  • English is the default interface language; More → Settings → Language → Polski switches to Polish.
  • Searchable command palette: Ctrl+B, then Space. Ctrl+B, then ?, shows keyboard shortcuts.
  • Ask memory in the command palette: query the project memory and get cited sources, missing evidence and citation coverage of the answer, without writing anything.
  • A citation must be at least 12 characters long.
  • Findings are linked to code symbols, not only to files.
  • The answer-format repair step no longer drops verified citations.
  • The knowledge agent explicitly answers "unknown" when the project does not contain the requested information.
  • devbrain doctor --contract shows each Codex and Claude compatibility check together with the output line that confirmed it.
  • Removed the old tui.py interface, the browser cockpit and the devbrain cockpit open command. The local API broker remains and serves the terminal panels.

0.7.2

  • Fixed GitHub Copilot account login in WSL: consent to store credentials locally is passed in the format the runtime requires.
  • The Copilot profile ignores inherited BYOK and offline-mode settings.
  • Runtime integrity is checked by file content.
  • The memory acknowledgement tool has an exact schema for plan and task fields, so the model does not have to guess the ACK format.
  • Fixed the native Codex test configuration, diagnostics for extraction write errors, and the build-tool dependencies of the optional web cockpit.

0.7.1

  • Fixed a graph display bug.
  • Added lit 3D ASCII nodes with perspective and surface occlusion. The real memory graph rotates, much like the classic terminal donut; it is not demo data.
  • Added an updater from 0.7.0 that checks the files it changes, backs up sources and the database, and preserves data, models, API keys, credentials and native permissions. It makes no paid requests and does not download models or the Copilot runtime.

0.7

  • Added DevBrain's own coding agent for OpenAI Responses, Anthropic Messages, OpenAI-compatible APIs and local Ollama, plus a separate adapter for the official GitHub Copilot SDK.
  • Profiles and panels are selected in the terminal.
  • The new engines use shared memory, a real model ACK, an action log and one-time command approvals. See docs/API.md.

0.6

  • Brought the 0.5 foundations directly into the terminal. devbrain and devbrain tui open the same tmux/Textual layout: a projects and settings panel, up to two visible clients, the inspector and a true XYZ projection of the graph.
  • Codex and Claude keep their own interfaces, logins and approvals. See docs/TERMINAL.md.

0.5

  • Introduced managed client sessions, profiles, project search, the inspector and a local browser cockpit (the browser cockpit was removed in 0.8.0).

0.3.10

  • Extraction generation is limited to the source under examination; earlier records are not included in the model input.
  • The generation schema restricts citations to verbatim fragments of that source; independent validation still rejects citations that do not exist.
  • The report separates the reasons why proposals were omitted.
  • The explicit jobs retry --include-omissions flag allows retrying a completed extraction when all proposals were rejected and nothing was saved.

0.3.9

  • Limited the context of a single ask answer repair.
  • Added a schema and a single repair attempt for extraction, and atomic saving of its proposals.
  • Diagnostics keep error causes and distinguish the history of failed attempts from the confirmed archive range.
  • Jobs can be read and retried individually within a project, with attempt version control and a preserved audit trail.

0.3.8

  • A failed first attempt to read the history size is resolved when a later event in the same session supplies a valid range that passes full archive verification.
  • The original error is kept on record; measured, conflicting or unverified ranges still block resume.

0.3.7

  • Recognizes 11 additional auxiliary entry types from Claude Code 2.1.318, including session mode, attachment metadata and API request metadata.
  • Archives their full raw content and fixes the classification of previously saved entries without changing identifiers or hashes.
  • Invalid schemas and provenance conflicts still block readiness.

0.3.6

  • Preserves MCP tool approvals saved by the native client and the permissions of existing configuration files.
  • A restart updates only the managed DevBrain connection fields.
  • When Codex saves a new persistent approval, it still changes the configuration and may require a package refresh and a new ACK.

0.3.5

  • The history range is fixed for a given resume. Retrying the package read does not move that range past current tool calls.
  • The startup hook reads the exact launcher package without substituting another one; a code change still requires a refresh and a new ACK.

0.3.4

  • Recognizes the technical world_state and token_usage_record entries from Codex 0.166 history.
  • Verified resume and the importer can re-recognize such entries saved by an older parser, preserving their original content, identifiers and hashes.
  • Unknown or corrupted entries still mark the history range as incomplete.

0.3.3

  • Fixed passing session identifiers from the launcher to MCP.
  • Fixed the permissions of the four tools of the temporary Codex test server.
  • Added an explicit Claude skip when the account quota is unavailable. The skipped stage stays not_run.

0.3.2

  • Extends the bounded answer repair from 0.3.1 with an optional answer_schema contract: required keys and data types are checked before a result is accepted.
  • The evaluation report includes diagnostics for model answers and Ollama errors.
  • The pass threshold and source requirements are unchanged.

0.3

  • Added verified session resume, atomic plans, execution of named test profiles and recall measurement on isolated data.