docs(app-shell): record why a diagram's natural size is its viewBox Mermaid writes `width="100%"` for every diagram type except flowchart and sequence, so `parseFloat(width)` read 100 and the viewer drew the diagram at 100 px before magnifying it. The bullet names the measured sizes per type and the fallback order the fix uses.
docs(runtime): record the test-database leak audit A full-run tracer found thirteen suites opening the real `~/.kabmo/db.sqlite` through indirect `getDb()` callers, plus two opens left over from fire-and-forget writes that outlived `releaseDb`. Records the suites, the call-time path snapshot in `getDb()`, and the `[test] preload` fallback that keeps late work in a temp file, so the next suite that reaches a store is audited rather than re-discovered.
docs(app-shell): record the drawio viewer and the shared zoom/pan stage The editor's drawio viewer is now `@dskripchenko/drawio` behind a thin adapter, and its zoom/pan is `common/zoom-pan-stage` — the same surface an image gets. The entry names the measured reasons: the library's two page encodings, the three decisions the adapter owns, the 17.9 KB gzip cost against the GPL and maxgraph alternatives, and the two refit behaviours (stage resize while unzoomed, new content of the same size).
docs(editor): record the spreadsheet grid's interaction and save paths The grid is now a spreadsheet, and three decisions in it fail silently when re-broken: selection is anchor+focus (a single cell cannot express shift-click or a drag), CSV edits go through the text buffer while workbook edits go through bytes (a multipart text field corrupts a ZIP), and a workbook save is lossy in one direction (SheetJS writes values, formulas and number formats; styling, charts and images are not read). The entry also records why `.xls` needs SheetJS and what it costs.
docs(app-shell): record the backdrop-root cost of the glass plane and dialog The plane and the dialog tier each carried a `backdrop-filter` at window scale. Measured in Chromium at 1280x860 @2x: +211 MB for the plane, +209 MB for a 1280x810 dialog, +48 MB for a 400x300 popover, +325 MB for the set. Both window-sized filters were removed; the rendered frame differs by a mean of 2.58/255 and 0.97/255, so the material is unchanged. Also records that a WKWebView harness on the same page measured zero delta — a non-bundled binary never takes the accelerated path, so it is not a valid probe for backdrop cost.
docs(harnesses): record the jcode and grok ACP measurements Adds both agents to the transport and fork tables with what was measured rather than what the docs claim: - jcode 0.99.1 speaks ACP through `jcode acp` (loadSession plus sessionCapabilities resume/close, no fork) and its providers live in `~/.jcode/config.toml`. - grok 1.0.77 ships `grok agent stdio`: loadSession, list/resume/close, mcpCapabilities stdio+http+sse, and session/new returns standard configOptions plus a `models` block. The BYOK note is the useful part: a `[model.<name>]` table in `~/.grok/config.toml` with its own base_url/api_key runs without an xAI login, whereas GROK_MODELS_BASE_URL + XAI_API_KEY alone still answered "Not signed in". End-to-end on the kenari endpoint, grok answered `hello` on deepseek-v4-1-flash (11 787/3 tokens) and jcode answered `hello` (2 940/3).
docs(chat): record why a rail tick names the mounted row's id The jump rail listed the id omp committed for a turn before the client's optimistic bubble was reconciled to it, so a click on the turn just sent revealed nothing until a reload. Document the rule (committed index + mounted row id, bounded to entries newer than every mounted committed turn), the measured evidence from this install, and the reason the newer-than bound exists.
docs(chat): record how omp 18.18.9 delivers peer messages A message that ends a `wait` is no longer a result field: omp hands it to the session, which injects an `irc:incoming` turn, and the wait answers with `interrupted: true`. The turn's content is the `<irc>` prompt envelope, so the transcript mappers read `details.from`/`details.message` and the timeline draws `IrcNotice`; the wait card's `waited` block survives only for JSONL recorded on 18.17.0-18.18.6. Measured on a persisted entry: `details` is `{id, from, message}`.
docs: record the ask form-parser drift that put dialogs in the modal The question text is the claim key `splitAskFrames` matches a live dialog's title against, so the mirror of omp's `fieldQuestions` must match exactly. Measured on 1,725 real session files: 2 of 7 ask calls diverged and both rendered as a modal — a `<label>` wrapping a `<select>` absorbed the option labels, and an unclosed inline tag walked the rest of the form twice. Records the four parity fixes, the option-row claim fallback added to the routing, and the tests that pin each shape.
docs(releases): record the stranded-release recovery after a rejected notes push Releasing v0.28.0 stopped after semantic-release had already pushed `main` and the tag: the notes ref was rejected with `[remote rejected] (failed)`, which no repository rule explains (the only ruleset targets branches, and the same push succeeded by hand). The release was left with a tag, no npm publish and no GitHub release, and a re-run of the job repairs none of it because semantic-release sees the tag and exits without publishing. The bullet records the measured failure and the three-step repair that worked, including why an attach-only dispatch has nothing to download and what `version-code` the Android dispatch needs.
docs(e2e): record the terminal stream spec's measured Windows limit The platform-limit bullet warns that a skip must be reproduced against the real spawn and must name the exact cause, so the one skip that survived that test now carries its measurement: `cmd.exe` turns the POSIX stream loop into arguments to Git-for-Windows' `clear.exe` (screenshot in run 43112230252's artifact), and ghostty-web binds copy to `Meta+C` only. It also records the product gap the skip exposes: a Windows desktop has no keyboard copy in the terminal, because `TerminalKeyBar` renders only on touch.
docs: record why the browser suite is sharded and why `bun test --shard` is not The release gate was 87% of a 33-minute run, all of it the Windows browser leg. Sharding is the fix and `workers` is not: measured, `--workers=2` bought 12% and made two specs flake, because two servers and two browsers contend for one CPU. A shard is a separate machine, so it keeps the one-worker-per-machine property the config depends on. Also records the blocker found while sharding the unit gate: `bun test --shard` splits by file, and this suite is not shard-safe — 9 failures across the two shards against 0 in the unsharded run, caused by cross-file env leakage that makes `getDb()` seed workspace folders into a database the next file expects to be empty.
docs: document the panel plugin settings schema Records the settings-schema.json contract, the card's settings button, the disabled-plugin read path (pluginDirs vs the servable dirs), the write-only secret marker, and the legacy inline manifest key.
docs: document adding a harness - A harness is a `custom_harnesses` row plus a descriptor in the shared overlay; the ACP transport was already generic. - `HarnessId` is open, the complete tables are keyed by `BuiltinHarnessId`, and every fact has a fallback (MCP → acp, providers → none, updates → none, fork → none, transcript → false). - A removed harness keeps its id on old sessions, so resume refuses by name instead of rewriting the chat to `omp-rpc`.
docs(schedule): document per-task harness and ACP dispatch Record why a task stores its harness, how an ACP task is dispatched and resumed by the agent's own session id, and why the form reads the composer's model catalog instead of inventing a second one.
docs(fork): record the three-tier capability model and the Fork chat action forkCapability is message/tip/none; the row button follows canForkAt and the session menu's Fork chat covers every harness that advertises session/fork, probe-authoritative. The page also names the upstream gaps (opencode, minimax, kimi) so a future reader does not mistake them for a Kabmo bug.
docs: record plugin schedule persistence and service stop - The fire time is a `plugin_schedules` row claimed with a `-1` sentinel, so a restart keeps the countdown, a missed window runs once, and two instances cannot both fire it. - `service.stop` runs on disposal; it is not a disposer, so the loader calls it.
docs: document Kabmo plugin background and MCP surfaces - The schedule runner is the one consumer of `background.schedules`; the measured bug was that it did not exist, so the bundled 5m and 1h schedules were recorded and never fired. - MCP is one merged list with two deliveries: ACP sessions receive it on `session/new|load|resume|fork`, while `omp-rpc` reads its own `mcp.json`. The ACP spawn used to pass `mcpServers: []` hardcoded. - Plugins contribute servers with `api.mcp.register`; the host owns delivery.
docs(fork): record the per-harness fork point and the button's gating Standard ACP has no fork point; claude-agent-acp and codex-acp read the AIR _meta.jetbrains.air.fork extension, omp is cut on disk, and the rest fork the whole session. The page now carries the measured table (advertised fork, fork point, transcript store, Kabmo path) and the rule that canForkAt gates the row button, so a future reader does not re-add a control the send path refuses.
docs(panels): record the ACP session lease the Stats panel reads The panel named an ACP chat from argv, which only `omp acp` matched: the other 12 harnesses were drawn as a bare `npx` row inside Kabmo's group. The rule now lives in `session-lease.server.ts` and the plugin reader, and the measurement (12 of 13) is what a future reader needs to avoid re-deriving it from the launch table.
docs(desktop-integration): document platform notification switches and foreground delivery The Notifications page now splits delivery into Desktop and Mobile masters selected from the device class, and the client no longer suppresses a banner for a focused window. Record both rules and the Apple willPresent presentation that keeps a foreground banner visible, since the OS default would otherwise swallow it.
docs(harnesses): record the ACP prewarm and the pending chat's mode ladder The ACP pool warms a PROCESS and stops at `initialize`: measured, `omp-acp` writes its session JSONL at `session/new` and the sidebar scans that directory, so a warm child that nobody claimed showed up as an empty chat row. The page carries the split that decision rests on (spawn ~1 ms, `initialize` ~100 ms, `session/new` ~80–120 ms), the smoke numbers (cold 208 ms, warm claim 89 ms, zero session files), and the reason a warm ACP process can serve any pick while omp's cannot. Also records the pending chat's mode source: the harness probe's ladder, with an empty `currentValue` when neither the operator nor the probe named a mode.
docs(workspace-panels): record the terminal viewport hold during a stream ghostty-web's `writeInternal` ends with `viewportY !== 0 && scrollToBottom()`, so every PTY chunk re-anchored the terminal panel to the live end: a wheel-up during `tail -F` was undone by the next frame, and a two-row drag during a 100 lines/s stream copied twelve lines. The page now records the rule that fixes it, the three states that hold the view, why the hold is an absolute buffer row, and the re-measured numbers.
docs(editor): record the content-hash disk watcher and the Reload control The editor page listed the toolbars' rules but not how an open tab follows a file written from outside. Adds the one bullet that names the measurement and the two failures it replaces: an mtime-only probe reloading a tab over bytes that did not change, and a clean buffer never being checked at all.
docs(workspace-panels): record the terminal focus-on-open rule The terminal panel now takes focus when it becomes the visible view, and the request survives the async ghostty-web mount. The grid announcer no longer focuses on `onReady`, because that stole focus back from whatever the user clicked in the 120 ms before the grid settled.
docs(chat): record why a live run row must carry the model The docked indicator showed `Loading…` during a stream for two reasons, and both are now pinned: the client discarded known session metadata whenever the live row had no pair, and the row could genuinely lack one because the frame fold wrote the status alone.
docs(toasts): record the three tones and their icon mapping The toast card is no longer success/error only: the tone also picks the glyph and its tint, and `warning` carries partial outcomes that used to be forced into one of the other two. The entry names the mapping, the budget each tone pays, and the two call sites that had the tone wrong — a settings save announced as an error, and a failed worktree creation painted as a success.
docs(chat): record why a fork renders the history it continues The two halves of the fork transcript — the pending preview and the prefix prepended at adoption — exist because the timeline cannot read the branch on its own while the page's own run owns the rows. Naming the cut rule, the read-only row treatment and the measurement keeps a future reader from "simplifying" the preview back to an empty composer.
docs(terminal): record why the shell starts on open, not on mount The measured evidence (18 idle shells under the Kabmo pid, bursts of seven per two minutes, a minted terminal.id per visited session), the connect/persist decision table, and how `terminal.opened` keeps an opened shell for the rest of the session.
docs(notifications): document opt-in system notifications and click-through Records the three default-off preferences, the permission and focus rules, the failure reason persisted on session_stream_state, the two shell commands, and how a notification click reaches window.__kabmoOpenSession in each shell — including the cold-start queue.