@bastani/atomic 0.10.1-alpha.1 → 0.10.2-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +76 -0
- package/dist/builtin/intercom/CHANGELOG.md +6 -0
- package/dist/builtin/intercom/broker/watchdog.ts +4 -0
- package/dist/builtin/intercom/package.json +1 -1
- package/dist/builtin/mcp/package.json +1 -1
- package/dist/builtin/subagents/CHANGELOG.md +22 -0
- package/dist/builtin/subagents/README.md +2 -0
- package/dist/builtin/subagents/package.json +1 -1
- package/dist/builtin/subagents/skills/subagent/SKILL.md +3 -3
- package/dist/builtin/subagents/src/extension/index.bundle.mjs +269 -144
- package/dist/builtin/web-access/CHANGELOG.md +7 -0
- package/dist/builtin/web-access/index.bundle.mjs +9 -5
- package/dist/builtin/web-access/package.json +1 -1
- package/dist/cli/list-models.d.ts.map +1 -1
- package/dist/cli/list-models.js +1 -14
- package/dist/cli/list-models.js.map +1 -1
- package/dist/core/agent-session-export.d.ts.map +1 -1
- package/dist/core/agent-session-export.js +13 -9
- package/dist/core/agent-session-export.js.map +1 -1
- package/dist/core/agent-session-message-queue.d.ts.map +1 -1
- package/dist/core/agent-session-message-queue.js +6 -3
- package/dist/core/agent-session-message-queue.js.map +1 -1
- package/dist/core/agent-session-methods.d.ts +3 -0
- package/dist/core/agent-session-methods.d.ts.map +1 -1
- package/dist/core/agent-session-methods.js.map +1 -1
- package/dist/core/agent-session-nested-tools.d.ts.map +1 -1
- package/dist/core/agent-session-nested-tools.js +2 -1
- package/dist/core/agent-session-nested-tools.js.map +1 -1
- package/dist/core/agent-session-prompt.d.ts.map +1 -1
- package/dist/core/agent-session-prompt.js +12 -0
- package/dist/core/agent-session-prompt.js.map +1 -1
- package/dist/core/agent-session-state.d.ts +6 -0
- package/dist/core/agent-session-state.d.ts.map +1 -1
- package/dist/core/agent-session-state.js +71 -4
- package/dist/core/agent-session-state.js.map +1 -1
- package/dist/core/agent-session-tool-hooks.d.ts.map +1 -1
- package/dist/core/agent-session-tool-hooks.js +9 -1
- package/dist/core/agent-session-tool-hooks.js.map +1 -1
- package/dist/core/agent-session-types.d.ts +2 -0
- package/dist/core/agent-session-types.d.ts.map +1 -1
- package/dist/core/agent-session-types.js.map +1 -1
- package/dist/core/agent-session.d.ts +3 -0
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +7 -0
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/cache-stats.d.ts +15 -0
- package/dist/core/cache-stats.d.ts.map +1 -1
- package/dist/core/cache-stats.js +40 -2
- package/dist/core/cache-stats.js.map +1 -1
- package/dist/core/diagnostic-writer.d.ts.map +1 -1
- package/dist/core/diagnostic-writer.js +2 -1
- package/dist/core/diagnostic-writer.js.map +1 -1
- package/dist/core/export-html/template.js +14 -4
- package/dist/core/extensions/context-types.d.ts +6 -0
- package/dist/core/extensions/context-types.d.ts.map +1 -1
- package/dist/core/extensions/context-types.js.map +1 -1
- package/dist/core/extensions/loader-api.d.ts.map +1 -1
- package/dist/core/extensions/loader-api.js +5 -2
- package/dist/core/extensions/loader-api.js.map +1 -1
- package/dist/core/queued-message-delivery.d.ts +100 -7
- package/dist/core/queued-message-delivery.d.ts.map +1 -1
- package/dist/core/queued-message-delivery.js +194 -4
- package/dist/core/queued-message-delivery.js.map +1 -1
- package/dist/core/resume-cache-checkpoint.d.ts +32 -0
- package/dist/core/resume-cache-checkpoint.d.ts.map +1 -0
- package/dist/core/resume-cache-checkpoint.js +67 -0
- package/dist/core/resume-cache-checkpoint.js.map +1 -0
- package/dist/core/sdk-types.d.ts +37 -0
- package/dist/core/sdk-types.d.ts.map +1 -1
- package/dist/core/sdk-types.js.map +1 -1
- package/dist/core/sdk.d.ts.map +1 -1
- package/dist/core/sdk.js +57 -28
- package/dist/core/sdk.js.map +1 -1
- package/dist/core/session-manager-core.d.ts.map +1 -1
- package/dist/core/session-manager-core.js +12 -3
- package/dist/core/session-manager-core.js.map +1 -1
- package/dist/core/session-manager-entries.d.ts +13 -0
- package/dist/core/session-manager-entries.d.ts.map +1 -1
- package/dist/core/session-manager-entries.js +38 -6
- package/dist/core/session-manager-entries.js.map +1 -1
- package/dist/core/settings-lock-directory.d.ts.map +1 -1
- package/dist/core/settings-lock-directory.js +2 -1
- package/dist/core/settings-lock-directory.js.map +1 -1
- package/dist/core/storage/node-sqlite-file-gate.d.ts +173 -0
- package/dist/core/storage/node-sqlite-file-gate.d.ts.map +1 -0
- package/dist/core/storage/node-sqlite-file-gate.js +1033 -0
- package/dist/core/storage/node-sqlite-file-gate.js.map +1 -0
- package/dist/core/storage/node-sqlite-thread.d.ts +33 -6
- package/dist/core/storage/node-sqlite-thread.d.ts.map +1 -1
- package/dist/core/storage/node-sqlite-thread.js +72 -2
- package/dist/core/storage/node-sqlite-thread.js.map +1 -1
- package/dist/core/storage/node-sqlite.d.ts.map +1 -1
- package/dist/core/storage/node-sqlite.js +216 -15
- package/dist/core/storage/node-sqlite.js.map +1 -1
- package/dist/core/storage/session/entry-structure.d.ts.map +1 -1
- package/dist/core/storage/session/entry-structure.js +39 -2
- package/dist/core/storage/session/entry-structure.js.map +1 -1
- package/dist/core/storage/session/session-resume.d.ts.map +1 -1
- package/dist/core/storage/session/session-resume.js +1 -0
- package/dist/core/storage/session/session-resume.js.map +1 -1
- package/dist/core/storage/session/session-search-index.d.ts.map +1 -1
- package/dist/core/storage/session/session-search-index.js +56 -9
- package/dist/core/storage/session/session-search-index.js.map +1 -1
- package/dist/core/storage/statement-sequence.d.ts +36 -0
- package/dist/core/storage/statement-sequence.d.ts.map +1 -0
- package/dist/core/storage/statement-sequence.js +22 -0
- package/dist/core/storage/statement-sequence.js.map +1 -0
- package/dist/core/system-prompt.d.ts.map +1 -1
- package/dist/core/system-prompt.js +13 -4
- package/dist/core/system-prompt.js.map +1 -1
- package/dist/core/tasks/heartbeat-notice.d.ts.map +1 -1
- package/dist/core/tasks/heartbeat-notice.js +2 -1
- package/dist/core/tasks/heartbeat-notice.js.map +1 -1
- package/dist/core/tool-loadout.d.ts +4 -2
- package/dist/core/tool-loadout.d.ts.map +1 -1
- package/dist/core/tool-loadout.js +27 -5
- package/dist/core/tool-loadout.js.map +1 -1
- package/dist/core/tools/history-regex-worker.d.ts.map +1 -1
- package/dist/core/tools/history-regex-worker.js +2 -1
- package/dist/core/tools/history-regex-worker.js.map +1 -1
- package/dist/core/tools/powershell.d.ts +22 -22
- package/dist/core/tools/sqlite-selector-connection.d.ts.map +1 -1
- package/dist/core/tools/sqlite-selector-connection.js +7 -0
- package/dist/core/tools/sqlite-selector-connection.js.map +1 -1
- package/dist/core/transformed-system-prompt.d.ts +92 -0
- package/dist/core/transformed-system-prompt.d.ts.map +1 -0
- package/dist/core/transformed-system-prompt.js +240 -0
- package/dist/core/transformed-system-prompt.js.map +1 -0
- package/dist/extensions/codemode/execute.js +1 -1
- package/dist/extensions/codemode/execute.js.map +1 -1
- package/dist/extensions/codemode/tool.d.ts.map +1 -1
- package/dist/extensions/codemode/tool.js +16 -3
- package/dist/extensions/codemode/tool.js.map +1 -1
- package/dist/extensions/llama/ui.d.ts.map +1 -1
- package/dist/extensions/llama/ui.js +13 -8
- package/dist/extensions/llama/ui.js.map +1 -1
- package/dist/extensions/mcp/config.d.ts +2 -0
- package/dist/extensions/mcp/config.d.ts.map +1 -1
- package/dist/extensions/mcp/config.js +5 -0
- package/dist/extensions/mcp/config.js.map +1 -1
- package/dist/extensions/mcp/index.d.ts +4 -0
- package/dist/extensions/mcp/index.d.ts.map +1 -1
- package/dist/extensions/mcp/index.js +289 -64
- package/dist/extensions/mcp/index.js.map +1 -1
- package/dist/extensions/mcp/runtime.d.ts +1 -1
- package/dist/extensions/mcp/runtime.d.ts.map +1 -1
- package/dist/extensions/mcp/runtime.js +2 -2
- package/dist/extensions/mcp/runtime.js.map +1 -1
- package/dist/extensions/mcp/tool-records.d.ts +58 -0
- package/dist/extensions/mcp/tool-records.d.ts.map +1 -0
- package/dist/extensions/mcp/tool-records.js +129 -0
- package/dist/extensions/mcp/tool-records.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/modes/interactive/components/agent-panel.d.ts +2 -4
- package/dist/modes/interactive/components/agent-panel.d.ts.map +1 -1
- package/dist/modes/interactive/components/agent-panel.js +65 -80
- package/dist/modes/interactive/components/agent-panel.js.map +1 -1
- package/dist/modes/interactive/components/compaction-boundary-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/compaction-boundary-message.js +3 -3
- package/dist/modes/interactive/components/compaction-boundary-message.js.map +1 -1
- package/dist/modes/interactive/components/footer.d.ts.map +1 -1
- package/dist/modes/interactive/components/footer.js +35 -28
- package/dist/modes/interactive/components/footer.js.map +1 -1
- package/dist/modes/interactive/components/notice-line.d.ts +16 -0
- package/dist/modes/interactive/components/notice-line.d.ts.map +1 -1
- package/dist/modes/interactive/components/notice-line.js +7 -0
- package/dist/modes/interactive/components/notice-line.js.map +1 -1
- package/dist/modes/interactive/components/prompt-slot.d.ts +1 -0
- package/dist/modes/interactive/components/prompt-slot.d.ts.map +1 -1
- package/dist/modes/interactive/components/prompt-slot.js +8 -4
- package/dist/modes/interactive/components/prompt-slot.js.map +1 -1
- package/dist/modes/interactive/components/task-board.d.ts +0 -1
- package/dist/modes/interactive/components/task-board.d.ts.map +1 -1
- package/dist/modes/interactive/components/task-board.js +6 -14
- package/dist/modes/interactive/components/task-board.js.map +1 -1
- package/dist/modes/interactive/components/task-row.d.ts.map +1 -1
- package/dist/modes/interactive/components/task-row.js +7 -6
- package/dist/modes/interactive/components/task-row.js.map +1 -1
- package/dist/modes/interactive/components/token-segment.d.ts +2 -1
- package/dist/modes/interactive/components/token-segment.d.ts.map +1 -1
- package/dist/modes/interactive/components/token-segment.js +2 -4
- package/dist/modes/interactive/components/token-segment.js.map +1 -1
- package/dist/modes/interactive/components/tree-selector-content.d.ts.map +1 -1
- package/dist/modes/interactive/components/tree-selector-content.js +2 -2
- package/dist/modes/interactive/components/tree-selector-content.js.map +1 -1
- package/dist/modes/interactive/components/working-run-meter.d.ts +0 -1
- package/dist/modes/interactive/components/working-run-meter.d.ts.map +1 -1
- package/dist/modes/interactive/components/working-run-meter.js +0 -9
- package/dist/modes/interactive/components/working-run-meter.js.map +1 -1
- package/dist/modes/interactive/extension-command-hold.d.ts +25 -0
- package/dist/modes/interactive/extension-command-hold.d.ts.map +1 -0
- package/dist/modes/interactive/extension-command-hold.js +45 -0
- package/dist/modes/interactive/extension-command-hold.js.map +1 -0
- package/dist/modes/interactive/interactive-agent-events.js +2 -1
- package/dist/modes/interactive/interactive-agent-events.js.map +1 -1
- package/dist/modes/interactive/interactive-extension-context.js +18 -10
- package/dist/modes/interactive/interactive-extension-context.js.map +1 -1
- package/dist/modes/interactive/interactive-extension-custom-ui.js +3 -0
- package/dist/modes/interactive/interactive-extension-custom-ui.js.map +1 -1
- package/dist/modes/interactive/interactive-input-handling.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-input-handling.js +54 -13
- package/dist/modes/interactive/interactive-input-handling.js.map +1 -1
- package/dist/modes/interactive/interactive-model-routing.d.ts +6 -0
- package/dist/modes/interactive/interactive-model-routing.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-model-routing.js +15 -9
- package/dist/modes/interactive/interactive-model-routing.js.map +1 -1
- package/dist/modes/interactive/interactive-prompt-turn.js +4 -0
- package/dist/modes/interactive/interactive-prompt-turn.js.map +1 -1
- package/dist/modes/interactive/interactive-queueing.d.ts +7 -0
- package/dist/modes/interactive/interactive-queueing.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-queueing.js +47 -1
- package/dist/modes/interactive/interactive-queueing.js.map +1 -1
- package/dist/modes/interactive/interactive-session-routing.js +6 -0
- package/dist/modes/interactive/interactive-session-routing.js.map +1 -1
- package/dist/modes/interactive/interactive-slash-commands.js +165 -65
- package/dist/modes/interactive/interactive-slash-commands.js.map +1 -1
- package/dist/modes/interactive/screen-hold.d.ts +3 -0
- package/dist/modes/interactive/screen-hold.d.ts.map +1 -1
- package/dist/modes/interactive/screen-hold.js +9 -1
- package/dist/modes/interactive/screen-hold.js.map +1 -1
- package/dist/modes/interactive-engine/engine-health.d.ts +11 -3
- package/dist/modes/interactive-engine/engine-health.d.ts.map +1 -1
- package/dist/modes/interactive-engine/engine-health.js +5 -4
- package/dist/modes/interactive-engine/engine-health.js.map +1 -1
- package/dist/modes/interactive-engine/engine-quit-intent.d.ts +7 -0
- package/dist/modes/interactive-engine/engine-quit-intent.d.ts.map +1 -1
- package/dist/modes/interactive-engine/engine-quit-intent.js +19 -0
- package/dist/modes/interactive-engine/engine-quit-intent.js.map +1 -1
- package/dist/modes/interactive-engine/isolated-runtime.d.ts +18 -0
- package/dist/modes/interactive-engine/isolated-runtime.d.ts.map +1 -1
- package/dist/modes/interactive-engine/isolated-runtime.js +56 -4
- package/dist/modes/interactive-engine/isolated-runtime.js.map +1 -1
- package/dist/modes/interactive-engine/protocol.d.ts +7 -0
- package/dist/modes/interactive-engine/protocol.d.ts.map +1 -1
- package/dist/modes/interactive-engine/protocol.js +1 -0
- package/dist/modes/interactive-engine/protocol.js.map +1 -1
- package/dist/modes/rpc/agent-panel-bridge.d.ts.map +1 -1
- package/dist/modes/rpc/agent-panel-bridge.js +0 -13
- package/dist/modes/rpc/agent-panel-bridge.js.map +1 -1
- package/dist/modes/rpc/rpc-client-process.d.ts +14 -1
- package/dist/modes/rpc/rpc-client-process.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-client-process.js +74 -10
- package/dist/modes/rpc/rpc-client-process.js.map +1 -1
- package/dist/modes/rpc/rpc-client.d.ts +27 -1
- package/dist/modes/rpc/rpc-client.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-client.js +81 -5
- package/dist/modes/rpc/rpc-client.js.map +1 -1
- package/dist/modes/rpc/rpc-event-buffer.d.ts +2 -0
- package/dist/modes/rpc/rpc-event-buffer.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-event-buffer.js +9 -0
- package/dist/modes/rpc/rpc-event-buffer.js.map +1 -1
- package/dist/modes/rpc/rpc-mode.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-mode.js +16 -3
- package/dist/modes/rpc/rpc-mode.js.map +1 -1
- package/dist/modes/rpc/rpc-session-binding.d.ts +7 -1
- package/dist/modes/rpc/rpc-session-binding.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-session-binding.js +10 -2
- package/dist/modes/rpc/rpc-session-binding.js.map +1 -1
- package/dist/utils/image-resize.d.ts.map +1 -1
- package/dist/utils/image-resize.js +2 -1
- package/dist/utils/image-resize.js.map +1 -1
- package/dist/utils/interactive-engine-bootstrap.d.ts +2 -0
- package/dist/utils/interactive-engine-bootstrap.d.ts.map +1 -1
- package/dist/utils/interactive-engine-bootstrap.js +1 -0
- package/dist/utils/interactive-engine-bootstrap.js.map +1 -1
- package/dist/utils/interactive-engine-env.d.ts +2 -0
- package/dist/utils/interactive-engine-env.d.ts.map +1 -1
- package/dist/utils/interactive-engine-env.js +1 -0
- package/dist/utils/interactive-engine-env.js.map +1 -1
- package/dist/utils/shell.d.ts.map +1 -1
- package/dist/utils/shell.js +2 -0
- package/dist/utils/shell.js.map +1 -1
- package/dist/utils/token-count.d.ts +8 -0
- package/dist/utils/token-count.d.ts.map +1 -0
- package/dist/utils/token-count.js +25 -0
- package/dist/utils/token-count.js.map +1 -0
- package/dist/utils/worker-threads.d.ts +18 -0
- package/dist/utils/worker-threads.d.ts.map +1 -0
- package/dist/utils/worker-threads.js +28 -0
- package/dist/utils/worker-threads.js.map +1 -0
- package/docs/background-tasks.md +13 -12
- package/docs/compaction.md +2 -2
- package/docs/development.md +1 -1
- package/docs/extensions/api-reference.md +5 -3
- package/docs/extensions/events.md +2 -0
- package/docs/mcp-servers.md +1 -1
- package/docs/settings.md +2 -0
- package/docs/storage.md +3 -1
- package/docs/subagents.md +6 -2
- package/docs/usage.md +1 -1
- package/npm-shrinkwrap.json +49 -49
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,82 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.10.2-alpha.1] - 2026-11-20
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- New sessions put the system prompt's install-specific documentation paths after the `APPEND_SYSTEM.md` addendum, and the date after every other section, so less of a cached system prompt changes between days and installations ([#6092](https://github.com/bastani-inc/atomic/pull/6092)).
|
|
10
|
+
- The prompt-cache miss notice names more causes: tool definitions that changed between requests, as a newer version can change them, a thinking budget lowered or dropped to fit the context window, a thinking level change on the same model, and a subagent prompt sent again in full ([#3261](https://github.com/bastani-inc/atomic/issues/3261)).
|
|
11
|
+
- `pi.sendMessage()`, `pi.sendMessages()`, `pi.appendEntry()` and `pi.setLabel()` throw a `TypeError` instead of saving what the session could not read back: a `customType` that is not a string, message content that is neither a string nor an array of content blocks, or a label that is neither a string nor `undefined`. A message's `display` is saved as `true` or `false`, and a missing `display` as `false`, the way the chat shows it ([#6097](https://github.com/bastani-inc/atomic/issues/6097)).
|
|
12
|
+
- The agent panel marks a running subagent with an open circle `◯` instead of the animated `∀`, a finished one with a green `●` and a stopped one with a red `◯`. The agent you are viewing has a filled `●` and a bold row, and `main` shows a muted `◯` while you view a subagent. The selection cursor is `∀` instead of `❯`, and it is the only mark drawn before a row's status mark. The `/tasks` list and a chat's task rows use the same running, done and stopped marks. Other status marks are unchanged ([#6090](https://github.com/bastani-inc/atomic/pull/6090)).
|
|
13
|
+
- Token counts read the same in every view: the whole count below 1,000, then one decimal and a unit, as in `1.0k`, `248.6k`, `1.2M` and `1.0B`. Thousands use a lowercase `k`, and millions and larger an uppercase `M`, `B` or `T`, so a count no longer ends in an `m` that reads as minutes next to an elapsed time such as `4m`. A count that rounds to 1000.0 of a unit shows as 1.0 of the next, so 999,950 tokens is `1.0M`. This covers the working row under the prompt, the agent panel, `/tasks` and the chat's task rows, subagent rows, task heartbeat notices, the compaction line and `/tree`, the usage meter, the llama.cpp picker, `atomic --list-models` and HTML exports; subagent rows say `tokens` instead of `tok`. A usage meter too wide for the terminal now drops cache write, cache read, the cache hit rate, the cost, input and then output before it cuts the context usage at its end. In the llama.cpp picker, a long model id gives up columns so the model's status and context size stay whole. The exported `formatTokenCount` and `formatTokenSegment` helpers return the new format ([#6096](https://github.com/bastani-inc/atomic/pull/6096)).
|
|
14
|
+
|
|
15
|
+
### Fixed
|
|
16
|
+
|
|
17
|
+
- Fixed resumed sessions losing the provider's prompt cache. The first request after a resume marks where the restored history ends, so the cached conversation is found however much the resume adds, such as blueprint context or prompt updates. A resumed session keeps the thinking budget it used, even when the `thinkingBudgets` setting changed meanwhile. On providers without mid-conversation system messages, prompt changes such as the date, `AGENTS.md`, `SYSTEM.md` or a newer version's prompt are sent after the history instead of rewriting the system prompt. The `codemode` tool description no longer names the directory Atomic is installed in, so reinstalling Atomic elsewhere keeps the tool definitions unchanged ([#6092](https://github.com/bastani-inc/atomic/pull/6092)).
|
|
18
|
+
- Fixed the order of tools that extensions or MCP servers register depending on which registered first: tools a session has not declared yet are added built-in tools first and then extension and MCP tools in name order, and declared tools keep their order. The `codemode` tool lists its nested tools in name order too ([#6092](https://github.com/bastani-inc/atomic/pull/6092)).
|
|
19
|
+
- A resumed session keeps declaring the MCP tools it was using while their servers reconnect, so its first requests no longer drop and re-add them, which made the model provider read the whole conversation again uncached. A call to such a tool waits for its server and runs only if the server still offers the same tool; the tools of a server that fails to connect, needs a sign-in, is no longer configured, or changed them are removed or updated as before. A server's tools are declared in name order, whatever order the server lists them in ([#6094](https://github.com/bastani-inc/atomic/pull/6094)).
|
|
20
|
+
- Sessions that used `/curator`, `/google-account` or `/websearch` open again, with `--session`, `/resume` or in the interactive view, on the default SQLite store and in JSONL files. A saved extension message whose `display` is neither `true` nor `false` shows when it is set and stays hidden when it is missing, as before 0.9.38. An extension message or entry whose type is not text, an extension message whose content is neither text nor content blocks, and a label that is not text no longer make a session unreadable: such content stays hidden, and such a label reads as no label ([#6097](https://github.com/bastani-inc/atomic/issues/6097)).
|
|
21
|
+
- SDK: a `wrapNodeSqliteDatabase` handle that writes a file while an `openNodeSqliteDatabase` transaction on the same thread holds its write lock no longer stops your event loop for its busy timeout and fails with `SQLITE_BUSY`: the write waits off the event loop and runs once the lock is free, or fails with `SQLITE_BUSY` without effect at its busy timeout. Reads and writes of temporary tables still run at once. Statements whose retry could differ from a single run (ones that call your functions, an extension's collating sequences, virtual tables or the change counters, write another attached file, `VACUUM`, most `PRAGMA`s, and any inside a transaction you began on the connection) run as before. While such a transaction is open, an authorizer set with `setAuthorizer` sees the statements the handle uses to decide this (`EXPLAIN` of the statement, `PRAGMA busy_timeout`, `PRAGMA main.journal_mode` and `PRAGMA function_list`) ([#6081](https://github.com/bastani-inc/atomic/issues/6081)).
|
|
22
|
+
- Building the `history://` search index of a long session is fast again when the CPUs are busy, and still leaves typing and rendering free: each page of entries and its index merge reach the SQLite connection's thread as one request instead of one per statement, so the first `history://` search of a session without an index covers as many entries per call as before 0.10.1 ([#6082](https://github.com/bastani-inc/atomic/issues/6082)).
|
|
23
|
+
- Fixed SQLite selectors in the `read` tool failing in a Node process started with `--input-type=module`, for example an SDK script run with `node --input-type=module --eval`, and that process's `--import` and `--require` preloads running again for every selector. Diagnostic logs, settings locks, history search and the engine's child-process guardian had the same problem. Their worker threads now start without the process's command-line flags, except under Node's permission model, where they keep its restrictions. Image resizing in such a process now runs on its worker thread again instead of on the calling thread ([#6079](https://github.com/bastani-inc/atomic/issues/6079)).
|
|
24
|
+
- A queued message in the main chat no longer disappears for a frame when the session takes it. Its `Steering:` or `Follow-up:` row now stays until the message shows in the transcript, and goes in the same frame, also while an extension's `message_start` hook is still running and, in the default isolated mode, when the engine's updates reach the screen one at a time ([#6080](https://github.com/bastani-inc/atomic/issues/6080)).
|
|
25
|
+
- `/thinking` without a level, `/fork`, `/trust`, `/reload` and `/model` with a name that has to be looked up no longer flash an empty prompt before their view opens: the prompt stays on screen until the view can draw, as with `/model` alone ([#6077](https://github.com/bastani-inc/atomic/issues/6077)).
|
|
26
|
+
- Extension commands, such as `/agents`, no longer flash an empty prompt before their view opens: the typed command stays on screen until the command shows something or anything else appears on the screen, until it finishes or you press a key, and for at most 250 ms ([#6077](https://github.com/bastani-inc/atomic/issues/6077)).
|
|
27
|
+
- `/share` shows its progress as soon as you press Enter, and Esc cancels it at any step, also while it checks `gh` and exports the session ([#6077](https://github.com/bastani-inc/atomic/issues/6077)).
|
|
28
|
+
- `/share` no longer uploads another session when the session changes while it checks `gh`, for example after `/resume` or `/new`: it stops with "Share cancelled: the session changed" ([#6077](https://github.com/bastani-inc/atomic/issues/6077)).
|
|
29
|
+
- On Windows, quitting now gives the engine up to five seconds to shut down, as on Linux and macOS, so extensions' `session_shutdown` handlers run and the engine writes its `shutdown` record for `ATOMIC_EVENT_LOOP_BLOCK_MS`. Before, the engine was ended at once. A quit now waits for that shutdown work, up to the five seconds ([#6075](https://github.com/bastani-inc/atomic/issues/6075)).
|
|
30
|
+
- When Atomic stops its engine, to quit or to restart an unresponsive one, notifications and events the engine sends while it shuts down no longer reach the interface, and a message the engine had already taken is no longer treated as never sent ([#6075](https://github.com/bastani-inc/atomic/issues/6075)).
|
|
31
|
+
|
|
32
|
+
## [0.10.1] - 2026-11-20
|
|
33
|
+
|
|
34
|
+
Typing and rendering keep going while Atomic reads and writes its local SQLite files, and the chat screen no longer flashes blank or shifted frames.
|
|
35
|
+
|
|
36
|
+
**Storage off the interface**
|
|
37
|
+
|
|
38
|
+
- **SQLite no longer freezes the interface.** Each connection to a local SQLite file runs on a thread of its own, so typing, rendering and clicks keep working while a session store opens, waits for another process's write lock or commits, and while a long session loads. Opening a store takes up to about 25 ms longer while its thread starts ([#5376](https://github.com/bastani-inc/atomic/issues/5376), [#6059](https://github.com/bastani-inc/atomic/pull/6059))
|
|
39
|
+
- **The history index builds without pauses.** Building the `history://` search index of a long session no longer pauses typing and rendering on a slow disk. The build itself takes 6 to 12% longer on a lightly loaded machine and up to about twice as long when the CPUs are oversubscribed, so the first `history://` search of a long session that has no index yet covers fewer entries per call ([#5666](https://github.com/bastani-inc/atomic/issues/5666), [#6060](https://github.com/bastani-inc/atomic/pull/6060))
|
|
40
|
+
- **Open shared SQLite files with `openNodeSqliteDatabase`.** Its connections in one process now wait for each other's write lock instead of failing with `database is locked`. In SDK hosts, a `DatabaseSync` of your own or a `wrapNodeSqliteDatabase` handle that writes the file during such a transaction can now fail with `SQLITE_BUSY` ([#5376](https://github.com/bastani-inc/atomic/issues/5376))
|
|
41
|
+
|
|
42
|
+
**A steadier chat screen**
|
|
43
|
+
|
|
44
|
+
- **The chat stays still during a run.** The working row under the prompt stays on screen between a run's turns, and a message you send no longer vanishes for a frame as its run starts. Subagent chats keep their working row the same way, and their token count no longer dips for a frame ([#6054](https://github.com/bastani-inc/atomic/pull/6054))
|
|
45
|
+
- **Views and fullscreen open without a blank frame.** `/model`, `/scoped-models`, `/tree`, `/resume` and `/tasks` keep the prompt on screen until their view can draw. On most terminals, fullscreen keeps the previous screen until its first frame, at start and when you come back from an external editor, a subshell or a suspended session ([#6057](https://github.com/bastani-inc/atomic/pull/6057), [#6056](https://github.com/bastani-inc/atomic/pull/6056))
|
|
46
|
+
- **Subagents stay in place.** A subagent shown on the chat screen no longer jumps when the prompt or panel below it changes height, and Enter on a subagent in `/tasks` no longer flashes the main chat's prompt first. A steering or follow-up message stays listed until it shows in the subagent's transcript ([#6055](https://github.com/bastani-inc/atomic/pull/6055), [#6071](https://github.com/bastani-inc/atomic/pull/6071))
|
|
47
|
+
- **Task rows stay still.** A new subagent's row in `/tasks` and the agent panel no longer shifts twice as its model and then its reasoning level arrive, and the model column no longer narrows while the list stays open ([#6061](https://github.com/bastani-inc/atomic/pull/6061))
|
|
48
|
+
- **A click expands one block.** A click on a block's `(ctrl+o to expand)` hint opens or folds only that block, so tool blocks that stream in later no longer start expanded, and tool calls that join a group after a click are no longer hidden ([#6062](https://github.com/bastani-inc/atomic/pull/6062))
|
|
49
|
+
|
|
50
|
+
**Standalone binaries**
|
|
51
|
+
|
|
52
|
+
- **Bun 1.4.5 with its security fixes.** The standalone binaries now embed Bun 1.4.5, with its fixes for TLS, HTTP and DNS. They check custom CA certificates as the npm-installed `atomic` does, so a root certificate in `NODE_EXTRA_CA_CERTS` or a PostgreSQL `sslrootcert` that is not marked as a CA, or is limited to client authentication, is now refused ([#6066](https://github.com/bastani-inc/atomic/pull/6066))
|
|
53
|
+
|
|
54
|
+
**Diagnostics and skills**
|
|
55
|
+
|
|
56
|
+
- **Windows startup traces keep their last lines.** On Windows, `ATOMIC_STARTUP_TRACE` keeps the engine's last lines when you quit soon after they are recorded ([#6058](https://github.com/bastani-inc/atomic/pull/6058))
|
|
57
|
+
- **The tmux wait helper stops on interrupt.** The bundled tmux skill's `wait-for-text.sh` stops within a second of an interrupt on bash 5.2 and older, instead of waiting for a stalled capture or its timeout ([#6053](https://github.com/bastani-inc/atomic/pull/6053))
|
|
58
|
+
|
|
59
|
+
### Changed
|
|
60
|
+
|
|
61
|
+
- Local SQLite storage runs each connection to a file on a worker thread of its own, so opening a session store, waiting for another process's write lock and synced commits no longer freeze typing, rendering, streamed output or clicks in `/tasks`. Loading a long session no longer holds the interface for its whole read. In-memory databases and connections passed to `wrapNodeSqliteDatabase` still run on the calling thread ([#5376](https://github.com/bastani-inc/atomic/issues/5376)).
|
|
62
|
+
- SDK: in one process, a `DatabaseSync` of your own or a `wrapNodeSqliteDatabase` handle that writes a file while an `openNodeSqliteDatabase` transaction on it is open can now wait for its busy timeout on your thread and fail with `SQLITE_BUSY`, where before the write usually ran after the transaction. Open every handle that writes a shared file with `openNodeSqliteDatabase` ([#5376](https://github.com/bastani-inc/atomic/issues/5376)).
|
|
63
|
+
- The standalone `atomic` binaries are now built with Bun 1.4.5, which includes upstream security fixes for TLS, HTTP and DNS in the embedded runtime. They now check custom CA certificates, such as those in `NODE_EXTRA_CA_CERTS` or a PostgreSQL `sslrootcert`, the way Node.js and the npm-installed `atomic` already do: a root certificate that is not marked as a CA, or that is limited to client authentication, is refused with `INVALID_PURPOSE` ([#6066](https://github.com/bastani-inc/atomic/pull/6066)).
|
|
64
|
+
|
|
65
|
+
### Fixed
|
|
66
|
+
|
|
67
|
+
- A write outside a transaction no longer fails with `database is locked` while another connection of the same process holds the write lock across an await: it now waits on its own connection's thread until that transaction commits ([#5376](https://github.com/bastani-inc/atomic/issues/5376)).
|
|
68
|
+
- Building the `history://` search index of a long session no longer pauses typing and rendering while the index is written to a slow disk ([#5666](https://github.com/bastani-inc/atomic/issues/5666)).
|
|
69
|
+
- The working row under the prompt no longer disappears for a moment between two turns of a run (after a tool call, before the next request), so the chat above it no longer jumps down and back up; it stays still until the next turn starts. Subagent chats keep theirs the same way, and a subagent's working line no longer shows a smaller token count for a moment when an answer settles ([#6054](https://github.com/bastani-inc/atomic/pull/6054)).
|
|
70
|
+
- A sent message and the working row under it no longer vanish and reappear for a moment when the engine answers that it started the run before the run's first events arrive, which happened on most first prompts of a session and on some later ones ([#6054](https://github.com/bastani-inc/atomic/pull/6054)).
|
|
71
|
+
- `/model`, `/scoped-models`, `/tree`, `/resume` and `/tasks` open their view without first flashing an empty prompt or a blank panel, and the chat above no longer jumps down and back: the prompt stays on screen until the view has something to draw. A panel the engine opens in the prompt's place, such as `/tasks` from its key, waits for its first frame the same way ([#6057](https://github.com/bastani-inc/atomic/pull/6057)).
|
|
72
|
+
- Starting Atomic in fullscreen, or returning to it from an external editor, a subshell or a suspended session, no longer blanks the terminal before the first frame: the previous screen stays until the full interface replaces it in one screen update. WezTerm and Alacritty keep the previous behavior, because they hold back their answers to Atomic's startup terminal queries until that update ends ([#6056](https://github.com/bastani-inc/atomic/pull/6056)).
|
|
73
|
+
- A subagent shown on the chat screen no longer jumps when the prompt, autocomplete list or panel below it changes height: the rows already on screen stay where they are while its transcript redraws for the new size, and its notes and question form stay at the bottom ([#6055](https://github.com/bastani-inc/atomic/pull/6055)).
|
|
74
|
+
- Enter on a subagent in `/tasks` no longer shows the main chat's prompt for a moment before the subagent appears: the prompt, footer and panel stay as painted until the subagent is shown (or cannot be), while the transcript above keeps updating. Any key you press shows the screen as it is at once, as does a run starting or finishing ([#6055](https://github.com/bastani-inc/atomic/pull/6055), [#6057](https://github.com/bastani-inc/atomic/pull/6057)).
|
|
75
|
+
- A queued message to a subagent no longer disappears for a frame when the subagent takes it. Its `Steering:` or `Follow-up:` row now stays until the message itself shows in the subagent's transcript, and goes in the same frame, also while extensions handle the message first ([#6071](https://github.com/bastani-inc/atomic/pull/6071)).
|
|
76
|
+
- A new subagent's row in `/tasks` and the agent panel no longer shifts its task twice as its model and then its reasoning level arrive. The row shows its model together with its level, or alone if no level arrives within a second, and a model without reasoning levels at once. While `/tasks` or the panel stays open, the model column no longer narrows while it still fits, so rows do not move when the subagent with the longest model falls back or leaves ([#6061](https://github.com/bastani-inc/atomic/pull/6061)).
|
|
77
|
+
- A click on the `(ctrl+o to expand)` hint of a tool block, a grouped-call summary or another block that Ctrl+O expands now opens or folds that block alone, like a click anywhere else on it. It used to press Ctrl+O, which expanded every block in the chat, so every tool block that streamed in afterwards also opened expanded. Ctrl+O and the `ctrl+o expand` hint under the prompt still expand every block ([#6062](https://github.com/bastani-inc/atomic/pull/6062)).
|
|
78
|
+
- Tool calls that join a group after a click opened one of its calls now appear as their own folded blocks, and a click opens each one on its own. They used to be hidden until the group was folded again. Ctrl+O draws the whole group as one summary again ([#6062](https://github.com/bastani-inc/atomic/pull/6062)).
|
|
79
|
+
- On Windows, the startup trace (`ATOMIC_STARTUP_TRACE`) keeps the engine's last lines, such as `engine-resources-ready`, when you quit soon after they are recorded. Windows ends the engine as soon as the host has its quit acknowledgement, without running exit handlers, so the engine now writes any waiting lines before it acknowledges, as the event-loop diagnostic already does. This also holds in the standalone binary. The [event-loop diagnostic's docs](docs/development.md#finding-what-freezes-the-ui) now say which engine records Windows does not get ([#6058](https://github.com/bastani-inc/atomic/pull/6058)).
|
|
80
|
+
|
|
5
81
|
## [0.10.1-alpha.1] - 2026-11-20
|
|
6
82
|
|
|
7
83
|
Typing and rendering keep going while Atomic reads and writes its local SQLite files, and the chat screen no longer flashes blank or shifted frames.
|
|
@@ -4,6 +4,12 @@ All notable changes to the `pi-intercom` extension will be documented in this fi
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.10.2-alpha.1] - 2026-11-20
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- Fixed the broker watchdog not starting in a broker run with Node's `--input-type=module`, and a custom broker command's `--import` and `--require` preloads running again in it ([#6079](https://github.com/bastani-inc/atomic/issues/6079)).
|
|
12
|
+
|
|
7
13
|
## [0.10.0] - 2026-11-20
|
|
8
14
|
|
|
9
15
|
### Breaking Changes
|
|
@@ -87,6 +87,10 @@ export function startBrokerWatchdog(socketPath: string, instanceId: string, logP
|
|
|
87
87
|
try {
|
|
88
88
|
const worker = new Worker(WATCHDOG_SOURCE, {
|
|
89
89
|
eval: true,
|
|
90
|
+
// None of the process's flags: an `--input-type=module` would make this CommonJS source a module, and the
|
|
91
|
+
// process's preloads would run again in the watchdog. Under Node's permission model a worker is restricted
|
|
92
|
+
// only by the flags it starts with, so there it keeps them.
|
|
93
|
+
execArgv: process.permission === undefined ? [] : undefined,
|
|
90
94
|
workerData: {
|
|
91
95
|
socketPath,
|
|
92
96
|
instanceId,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bastani/intercom",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.2-alpha.1",
|
|
4
4
|
"private": true,
|
|
5
5
|
"description": "Atomic extension providing a private coordination channel between parent and child agent sessions. Fork of: https://github.com/nicobailon/pi-intercom",
|
|
6
6
|
"contributors": [
|
|
@@ -2,6 +2,28 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.10.2-alpha.1] - 2026-11-20
|
|
6
|
+
|
|
7
|
+
### Breaking Changes
|
|
8
|
+
|
|
9
|
+
- An agent's `inheritProjectContext` and `inheritSkills` no longer keep the parent's project context or skills out of a forked subagent: a fork continues the parent's conversation as the parent sent it, so these settings now shape fresh children only. To keep the project context and skills out, launch the agent with `context: "fresh"` ([#6093](https://github.com/bastani-inc/atomic/pull/6093)).
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- A forked subagent (`context: "fork"`) continues its parent's conversation exactly as the parent last sent it: the same system prompt, including the project context and skills the parent was sent, the same tools and the same messages, including the parent's earlier subagent calls. It adds a short note, its own role and its task after it, and keeps the parent's prompt-cache key, so on the parent's model and thinking level its first request is read from the parent's prompt cache. A fork can still call only its own tools: a call to another tool the parent declared fails with an error naming the tools it may call. When the parent has `codemode` and the agent does not, the fork can call that `codemode`, which reaches only the fork's own tools (no `models` API), so a tool only the fork has, such as `contact_supervisor`, is reached through it on providers that cannot add tools to the parent's tool list. The fork's task is sent as written, without the earlier fork preamble. The subagent tool, the `subagent` skill and the docs recommend `fork` when a child needs the parent's conversation and `fresh` for independent work ([#6093](https://github.com/bastani-inc/atomic/pull/6093), [#6099](https://github.com/bastani-inc/atomic/pull/6099)).
|
|
14
|
+
- Subagent result rows, progress stats and usage lines write token counts with one decimal and the word `tokens`, as in `12.3k tokens` instead of `12k tok`, like the rest of Atomic. Progress stats no longer say `token` for many tokens ([#6096](https://github.com/bastani-inc/atomic/pull/6096)).
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- A subagent reopened on another day or after Atomic was updated keeps the prompt its provider has cached. It is sent the system prompt it started with, and what changed since, such as the date, the model it falls back to or its skills, as updates after it, so the provider no longer processes its whole conversation again. A subagent last run by an earlier version is processed in full once more, on its first run after updating. A subagent whose agent now inherits differently, for example no longer the project context, starts over with its current prompt, and a session forked from a subagent's session uses a prompt of its own ([#6093](https://github.com/bastani-inc/atomic/pull/6093)).
|
|
19
|
+
- A subagent whose context was cleared or compacted while it ran, and that then finished, is reported done with its answer. It was reported failed with "Child ended without completing an assistant turn of its own." and its answer was missing. When its last turn has no text, the answer it wrote before the clear is reported. Turns from its earlier runs, or from the parent conversation a forked subagent starts with, still never count as its own ([#6098](https://github.com/bastani-inc/atomic/pull/6098)).
|
|
20
|
+
|
|
21
|
+
## [0.10.1] - 2026-11-20
|
|
22
|
+
|
|
23
|
+
### Fixed
|
|
24
|
+
|
|
25
|
+
- An interrupted `wait-for-text.sh` (bundled tmux skill) no longer waits for a stalled pane capture to finish or for its timeout. With bash 5.2 or older, an interrupt that arrived just as the helper began waiting for its worker was only acted on once the worker wrote again; it now stops within a second ([#5566](https://github.com/bastani-inc/atomic/issues/5566)).
|
|
26
|
+
|
|
5
27
|
## [0.10.1-alpha.1] - 2026-11-20
|
|
6
28
|
|
|
7
29
|
### Fixed
|
|
@@ -310,6 +310,8 @@ Use these fields when an agent should see more:
|
|
|
310
310
|
| `inheritSkills: true` | Let the child see Pi’s discovered skills catalog. |
|
|
311
311
|
| `defaultContext: fork` | Use forked session context when a launch omits `context`; explicit `context: "fresh"` still wins. |
|
|
312
312
|
|
|
313
|
+
`inheritProjectContext` and `inheritSkills` shape a fresh child's prompt. A forked child continues the parent's conversation as the parent sent it, project context and skills included, so its first request is read from the parent's prompt cache; it adds its own role and task after it and can still call only its own tools. To keep the project context and skills out of a child, launch it with `context: "fresh"`.
|
|
314
|
+
|
|
313
315
|
Builtin agents opt into project instruction inheritance by default so they follow repo-specific rules out of the box.
|
|
314
316
|
|
|
315
317
|
### Agent frontmatter
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bastani/subagents",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.2-alpha.1",
|
|
4
4
|
"private": true,
|
|
5
5
|
"description": "Atomic extension for delegating tasks to subagents with parallel execution. Fork of: https://github.com/nicobailon/pi-subagents",
|
|
6
6
|
"contributors": [
|
|
@@ -174,7 +174,7 @@ subagent({
|
|
|
174
174
|
})
|
|
175
175
|
```
|
|
176
176
|
|
|
177
|
-
`context: "fork"` creates a branched child session from the current persisted parent session. It does **not** create a fresh minimal review context or filter history down to only the relevant parts
|
|
177
|
+
`context: "fork"` creates a branched child session from the current persisted parent session. It does **not** create a fresh minimal review context or filter history down to only the relevant parts: the child continues the parent's conversation exactly as the parent sent it, with the parent's system prompt, project context, skills catalog and tools, and adds its own role and task after it. With the same model and thinking level, its first request is therefore read from the parent's prompt cache. Use it when the child needs the parent's conversation. Use fresh context for independent work, which sends a smaller context, and for adversarial review, so the specialist inspects the repo directly.
|
|
178
178
|
|
|
179
179
|
### Parallel execution
|
|
180
180
|
|
|
@@ -423,7 +423,7 @@ If a prompt-template extension is installed, additional user prompt templates ca
|
|
|
423
423
|
## Important Constraints
|
|
424
424
|
|
|
425
425
|
- **Forking requires a persisted parent session.** If the current session does not have a persisted session file, forked runs fail.
|
|
426
|
-
- **Forked runs inherit parent history.** They are branched threads, not fresh filtered contexts. Use fresh context for adversarial review unless the user explicitly asks for forked context.
|
|
426
|
+
- **Forked runs inherit parent history.** They are branched threads, not fresh filtered contexts: the agent's `inheritProjectContext` and `inheritSkills` apply to fresh children, not to what the parent already sent; launch with `context: "fresh"` to keep the project context and skills out. A forked child can still call only its own tools; a call to another tool the parent declared fails. Use fresh context for adversarial review unless the user explicitly asks for forked context.
|
|
427
427
|
- **Delegation is one level deep and not configurable.** A subagent cannot call `subagent`: every launch and run control (`pause`, `resume`, `quit`) from inside a child is refused. Only `list`, `get`, `status`, and `wait` stay available to a child.
|
|
428
428
|
- **Attention signals are not lifecycle state.** `needs_attention` means no activity has been observed past the configured threshold. `killed` means the child was cancelled for good by owner or batch cancellation (or, in older sessions, the removed kill action); it cannot be resumed and is not the same as `failed`. `paused` and `quit` children stay resumable.
|
|
429
429
|
- **Builtin coordination respects caller restrictions.** Every builtin agent declares `intercom`, but a parent that disables it prevents live coordination. Resolve decisions up front when running without coordination tools.
|
|
@@ -442,7 +442,7 @@ A strong pattern is one writer plus advisory/research/review specialists around
|
|
|
442
442
|
|
|
443
443
|
### Use fork for branched writer threads
|
|
444
444
|
|
|
445
|
-
Forked runs are useful when a writer should reason in a separate thread while still inheriting the parent's accumulated context. For adversarial review, prefer fresh-context specialists that inspect the repo and diff directly unless the user explicitly requests forked context.
|
|
445
|
+
Forked runs are useful when a writer should reason in a separate thread while still inheriting the parent's accumulated context. A fork on the parent's model and thinking level reads the parent's conversation from the prompt cache, so forking a long conversation costs little input; a fork on another model or provider reads nothing from it, and one on another thinking level may read only part of it, depending on the model. For adversarial review, prefer fresh-context specialists that inspect the repo and diff directly unless the user explicitly requests forked context.
|
|
446
446
|
|
|
447
447
|
### Prefer narrow tasks
|
|
448
448
|
|