notesoup 0.52.7 → 0.53.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/README.md +3 -1
- package/dist/plugins/codex/src/cli.d.ts +2 -0
- package/dist/plugins/codex/src/cli.js +25 -0
- package/dist/plugins/codex/src/history.d.ts +8 -0
- package/dist/plugins/codex/src/history.js +238 -0
- package/dist/plugins/codex/src/hooks.d.ts +9 -0
- package/dist/plugins/codex/src/hooks.js +196 -0
- package/dist/plugins/codex/src/identity.d.ts +35 -0
- package/dist/plugins/codex/src/identity.js +134 -0
- package/dist/plugins/codex/src/mcp.d.ts +7 -0
- package/dist/plugins/codex/src/mcp.js +159 -0
- package/dist/plugins/codex/src/state.d.ts +23 -0
- package/dist/plugins/codex/src/state.js +92 -0
- package/dist/plugins/codex/src/text.d.ts +14 -0
- package/dist/plugins/codex/src/text.js +25 -0
- package/dist/plugins/codex/src/transcript.d.ts +39 -0
- package/dist/plugins/codex/src/transcript.js +313 -0
- package/dist/src/boot/render.js +13 -12
- package/dist/src/boot/text.d.ts +5 -5
- package/dist/src/boot/text.js +15 -28
- package/dist/src/budget/text.d.ts +1 -1
- package/dist/src/budget/text.js +1 -1
- package/dist/test/codex-history.test.d.ts +1 -0
- package/dist/test/codex-history.test.js +330 -0
- package/dist/test/codex-plugin.test.d.ts +1 -0
- package/dist/test/codex-plugin.test.js +365 -0
- package/dist/test/dependencies.test.js +8 -2
- package/dist/test/dsh.test.js +1 -1
- package/dist/test/helpers/dependency-graph.js +1 -1
- package/dist/test/model-facing-text.test.js +47 -26
- package/dist/test/notes.integration.test.js +3 -0
- package/docs/codex.md +91 -0
- package/docs/dsh.md +1 -1
- package/docs/reset-lifecycle.md +1 -1
- package/package.json +6 -3
- package/playbook.md +1 -1
- package/plugins/claude/.claude-plugin/plugin.json +1 -1
- package/plugins/claude/dist/claude/helper.js +27 -37
- package/plugins/claude/playbook.md +1 -1
- package/plugins/claude/skills/dream/SKILL.md +1 -1
- package/plugins/claude/skills/memory/SKILL.md +1 -1
- package/plugins/codex/README.md +43 -0
- package/plugins/codex/dist/codex/notesoup.js +27801 -0
- package/plugins/codex/hooks/hooks.json +41 -0
- package/plugins/codex/mcp.json +10 -0
- package/plugins/codex/plugin.json +6 -0
- package/plugins/codex/src/cli.ts +26 -0
- package/plugins/codex/src/history.ts +193 -0
- package/plugins/codex/src/hooks.ts +190 -0
- package/plugins/codex/src/identity.ts +147 -0
- package/plugins/codex/src/mcp.ts +171 -0
- package/plugins/codex/src/state.ts +102 -0
- package/plugins/codex/src/text.ts +31 -0
- package/plugins/codex/src/transcript.ts +275 -0
- package/skills/dream/SKILL.md +1 -1
- package/skills/memory/SKILL.md +1 -1
- package/src/boot/render.ts +13 -11
- package/src/boot/text.ts +17 -30
- package/src/budget/text.ts +1 -1
package/docs/dsh.md
CHANGED
|
@@ -10,7 +10,7 @@ On load and before requests, preflight probes `systemPrompt.section`, `tools.reg
|
|
|
10
10
|
|
|
11
11
|
## Notes, boot and history
|
|
12
12
|
|
|
13
|
-
`notesHome` defaults to `~/.agents/notes`; `agentName` defaults to `dsh`. The filesystem layout and addressing match Pi and Claude: bare paths are session notes, with `@project`, `@human`, `@self`, and `@model` durable homes. Project identity uses the shared `resolveProjectHome(cwd, notesHome)` resolver: readable slug homes with a `.project` marker, including repository/worktree and origin identity. Other marked projects are readable through `@projects/<name>/`; named-home reads do not update access metadata and named-home writes are refused. Receipts, boot protocol (including MAP
|
|
13
|
+
`notesHome` defaults to `~/.agents/notes`; `agentName` defaults to `dsh`. The filesystem layout and addressing match Pi and Claude: bare paths are session notes, with `@project`, `@human`, `@self`, and `@model` durable homes. Project identity uses the shared `resolveProjectHome(cwd, notesHome)` resolver: readable slug homes with a `.project` marker, including repository/worktree and origin identity. Other marked projects are readable through `@projects/<name>/`; named-home reads do not update access metadata and named-home writes are refused. Receipts, boot protocol (including separate CHEATSHEET.md and MAP.md pages), and bounds come from the shared modules, not dsh copies. A model change changes subsequent tools' `@model` identity; the boot remains frozen until reset.
|
|
14
14
|
|
|
15
15
|
The boot is a `systemPrompt.section` at order **2450**, with `interpolate: false`. Shared snapshot/render functions read the five homes once, using a captured timestamp. Rendering is deterministic for those inputs. A `plugin:notesoup/window` record stores the ordinal, id, timestamp, digest and exact boot text. `agent/created` adopts it before the first assembly. Notes written later appear in the next window's boot. Missing records reconstruct from the notesoup compact checkpoint, or from the marked root system section. Neither path rereads notes or regenerates a summary. Records are informational; checkpoints control the model surface.
|
|
16
16
|
|
package/docs/reset-lifecycle.md
CHANGED
|
@@ -61,7 +61,7 @@ After a manual safety reset, `context_with_system` checks the committed boundary
|
|
|
61
61
|
|
|
62
62
|
Budget reminders are staged once per window at reserve plus reminder margin, then reserve plus warning runway. Hard reserve remains independent. Budget and command warnings use different types. The final budget warning notifies at first provider injection, not durability; early guidance stays UI-silent. Budget drafts are instance-local and discarded on abort, failed turn, transition or window mismatch. Active-window usage and the exact public `SettingsManager` authority determine thresholds.
|
|
63
63
|
|
|
64
|
-
Pi and Claude use the same budget warning: budget timing, the handoff checklist, note maintenance (including updating and trimming MAP
|
|
64
|
+
Pi and Claude use the same budget warning: budget timing, the handoff checklist, note maintenance (including updating and trimming CHEATSHEET.md and MAP.md), a warning against large tool outputs, then `empty_brain` and the countdown. Pi's manual warnings replace the budget opening with the `/empty` notice inside `<notesoup:budget_notice>`. Optional command text sits after the closing tag in `<notesoup:next_window_prompt>`. The first-tier reminder reports the remaining room, explains that notes survive the wipe, asks for updated notes and offers an optional `empty_brain`, warning that it also clears what the model says to the human right before emptying. Pi's boot retains its existing pre-reset hints; warnings no longer repeat those or the tool's `last_word` description.
|
|
65
65
|
|
|
66
66
|
`context_with_system` selects the boot by durable window identity, using Pi's canonical checkpoint projection or legacy slicing. Missing boot aborts safely instead of exposing raw history. Usage estimates use the same projection decision. `/tree` summaries are suppressed when crossing reset branches because native branch summarization bypasses this projection.
|
|
67
67
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "notesoup",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.53.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/src/index.js",
|
|
6
6
|
"types": "./dist/src/index.d.ts",
|
|
@@ -23,13 +23,15 @@
|
|
|
23
23
|
"import": "./dist/plugins/dsh/engine.js"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
|
-
"description": "Host-neutral notes, history and context-window core, with plugins for Pi, Claude Code
|
|
26
|
+
"description": "Host-neutral notes, history and context-window core, with plugins for Pi, Claude Code, the DeepSeek Harness and Codex.",
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"keywords": [
|
|
29
29
|
"pi-package",
|
|
30
30
|
"pi-extension",
|
|
31
31
|
"agent-memory",
|
|
32
|
-
"notes"
|
|
32
|
+
"notes",
|
|
33
|
+
"codex",
|
|
34
|
+
"claude-code"
|
|
33
35
|
],
|
|
34
36
|
"repository": {
|
|
35
37
|
"type": "git",
|
|
@@ -137,6 +139,7 @@
|
|
|
137
139
|
"@earendil-works/pi-ai": "^1.0.0",
|
|
138
140
|
"@earendil-works/pi-coding-agent": "^1.0.0",
|
|
139
141
|
"@earendil-works/pi-tui": "1.0.0",
|
|
142
|
+
"@modelcontextprotocol/sdk": "^1.32.1",
|
|
140
143
|
"@types/node": "^22.19.19",
|
|
141
144
|
"esbuild": "^0.28.2",
|
|
142
145
|
"typebox": "1.3.27",
|
package/playbook.md
CHANGED
|
@@ -27,7 +27,7 @@ Durable notes hold decisions, constraints, and lessons that stay true after the
|
|
|
27
27
|
5. **Relocate misfiled notes.** When a standing ruling or the note's own MAP already names its proper home, move it there, preserving its metadata, and update both homes' maps. Do it, don't propose it. Propose only when the destination home itself is unclear.
|
|
28
28
|
6. **Preserve meaning and provenance.** Keep facts, conditions, exceptions, uncertainty, authorship, and sources. When promoting a finding, cite its source. Do not relabel agent-authored material as human-authored. If its destination or authority is unclear, propose the promotion instead.
|
|
29
29
|
7. **Keep notes manageable.** Aim below about 200 lines / 8KB per note. Split oversized notes by topic with one-line cross-links.
|
|
30
|
-
8. **Keep
|
|
30
|
+
8. **Keep wake-up pages useful.** Each writable home's `CHEATSHEET.md` holds standing reminders, kept to five lines. Its `MAP.md` holds only the note index: durable notes' addresses and short gists. Both load every window when present; do not create empty pages. Preserve standing rules, add promoted notes to the map, and drop entries that no longer hold. Maps follow the same size budget.
|
|
31
31
|
|
|
32
32
|
## Deleting
|
|
33
33
|
|
|
@@ -9919,6 +9919,7 @@ async function loadNotesSnapshot(identity2, openedAt, loadHome) {
|
|
|
9919
9919
|
|
|
9920
9920
|
// src/boot/text.ts
|
|
9921
9921
|
var SHELF_FRESH_LIMIT = 3;
|
|
9922
|
+
var CHEATSHEET_BOOT_MAX_CHARS = 2048;
|
|
9922
9923
|
var MAP_BOOT_MAX_CHARS = 4096;
|
|
9923
9924
|
var WINDOW_IDENTITY_OPEN_TAG = "<notesoup:window_identity>";
|
|
9924
9925
|
var WINDOW_IDENTITY_CLOSE_TAG = "</notesoup:window_identity>";
|
|
@@ -9959,32 +9960,19 @@ Still a tie? *shrugs* You've got a brain. Use it.
|
|
|
9959
9960
|
Any other @ address is fake. End of discussion. @ addresses are not file paths: never pass them to file tools like \`read\`, \`write\`, \`edit\`, or \`bash\`.
|
|
9960
9961
|
${NOTES_PROTOCOL_CLOSE_TAG}`;
|
|
9961
9962
|
var MAPS_BLOCK = `<notesoup:maps>
|
|
9962
|
-
Every home's root can hold
|
|
9963
|
-
|
|
9964
|
-
up next reads
|
|
9965
|
-
|
|
9966
|
-
|
|
9967
|
-
|
|
9968
|
-
|
|
9969
|
-
|
|
9970
|
-
|
|
9971
|
-
|
|
9972
|
-
|
|
9973
|
-
|
|
9974
|
-
|
|
9975
|
-
# CHEATSHEET
|
|
9976
|
-
- Read the repo before asking; run it before believing it
|
|
9977
|
-
- Report times in Beijing time
|
|
9978
|
-
|
|
9979
|
-
# INDEX
|
|
9980
|
-
- release-and-local-install.md \u2014 version bump, local override install, host load timing
|
|
9981
|
-
- history-api-v2-design.md \u2014 seq addressing; read before touching history
|
|
9982
|
-
- current-reset-and-dream-scope.md \u2014 reset scope, dream territory, session ownership
|
|
9983
|
-
\`\`\`
|
|
9984
|
-
|
|
9985
|
-
Every home gets one: \`@project\`, \`@human\`, \`@self\`, \`@model\`. New note, new line. New rule worth
|
|
9986
|
-
remembering, new Cheatsheet line. And when a line stops being true, kill it \u2014 every window after you
|
|
9987
|
-
reads that page as fact.
|
|
9963
|
+
Every home's root can hold two pages that never wait on a shelf: \`CHEATSHEET.md\` and \`MAP.md\`.
|
|
9964
|
+
Both get jammed straight into your brain the moment you wake up. No asking, no skipping. Whoever
|
|
9965
|
+
wakes up next reads them, and next is you. So keep them short, and keep them true.
|
|
9966
|
+
|
|
9967
|
+
- **\`CHEATSHEET.md\`** holds what you'll want next time \u2014 a rule, a warning, a grudge, a name,
|
|
9968
|
+
a phone number you'll regret losing. Nobody grades it. Keep it to five lines, or it grows fat
|
|
9969
|
+
and everybody pays for it.
|
|
9970
|
+
- **\`MAP.md\`** is only the note index. One line per durable note: the address, then a gist short
|
|
9971
|
+
enough to tell whether the thing is worth opening. Rules belong in \`CHEATSHEET.md\`, not here.
|
|
9972
|
+
|
|
9973
|
+
Each home keeps its own: \`@project\`, \`@human\`, \`@self\`, \`@model\`. Missing pages are skipped;
|
|
9974
|
+
no need to create empty ones. New note, new MAP line. New rule worth remembering, new Cheatsheet
|
|
9975
|
+
line. And when a line stops being true, kill it \u2014 every window after you reads that page as fact.
|
|
9988
9976
|
</notesoup:maps>`;
|
|
9989
9977
|
function renderProtocolBlock(tools) {
|
|
9990
9978
|
const names = {
|
|
@@ -10045,18 +10033,20 @@ function notesIndex(snapshot2, tools, agentName, modelName) {
|
|
|
10045
10033
|
continue;
|
|
10046
10034
|
}
|
|
10047
10035
|
const rows = (snapshot2.homes.get(home.scope) ?? []).filter((row) => row.meta.crumpledAt === void 0);
|
|
10048
|
-
const
|
|
10049
|
-
|
|
10036
|
+
const pinned = ["CHEATSHEET.md", "MAP.md"].flatMap((path) => {
|
|
10037
|
+
const row = rows.find((row2) => row2.path === path);
|
|
10038
|
+
return row?.body ? [row] : [];
|
|
10039
|
+
});
|
|
10040
|
+
const fresh = rows.filter((row) => row.path !== "MAP.md" && row.path !== "CHEATSHEET.md").slice(0, SHELF_FRESH_LIMIT).map((row) => {
|
|
10050
10041
|
const locator = `${row.address} \xB7 ${relativeTime(row.meta.updatedAt, snapshot2.openedAt)}`;
|
|
10051
10042
|
const title = feedTitle(row.body);
|
|
10052
10043
|
return title === void 0 ? ` ${locator}` : ` ${title}
|
|
10053
10044
|
${locator}`;
|
|
10054
10045
|
});
|
|
10055
|
-
if (
|
|
10056
|
-
const parts =
|
|
10057
|
-
if (map?.body) parts.push(`map
|
|
10046
|
+
if (pinned.length === 0 && fresh.length === 0) continue;
|
|
10047
|
+
const parts = pinned.map((row) => `${row.path === "MAP.md" ? "map" : "cheatsheet"}
|
|
10058
10048
|
|
|
10059
|
-
${indent(
|
|
10049
|
+
${indent(pinnedBodyForBoot(row.address, row.body, row.path === "MAP.md" ? MAP_BOOT_MAX_CHARS : CHEATSHEET_BOOT_MAX_CHARS))}`);
|
|
10060
10050
|
if (fresh.length > 0) parts.push(`recent
|
|
10061
10051
|
|
|
10062
10052
|
${fresh.join("\n\n")}`);
|
|
@@ -10064,11 +10054,11 @@ ${fresh.join("\n\n")}`);
|
|
|
10064
10054
|
}
|
|
10065
10055
|
return shelves.length > 0 ? ["YOUR NOTES\n\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500", ...shelves].join("\n\n\n") : "YOUR NOTES\n\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n\nNone yet. A blank slate is a fine place to start \u2014 just don't finish there.";
|
|
10066
10056
|
}
|
|
10067
|
-
function
|
|
10057
|
+
function pinnedBodyForBoot(address, body, maxChars) {
|
|
10068
10058
|
const chars = Array.from(body);
|
|
10069
|
-
if (chars.length <=
|
|
10070
|
-
return `${chars.slice(0,
|
|
10071
|
-
[truncated at ${
|
|
10059
|
+
if (chars.length <= maxChars) return body;
|
|
10060
|
+
return `${chars.slice(0, maxChars).join("")}
|
|
10061
|
+
[truncated at ${maxChars} chars; slim this page down, full body at \`${address}\`]`;
|
|
10072
10062
|
}
|
|
10073
10063
|
function renderBootBlock(data) {
|
|
10074
10064
|
const shown2 = /* @__PURE__ */ new Set([0, data.tree.windows.length - 2, data.tree.windows.length - 1]);
|
|
@@ -10107,7 +10097,7 @@ function selectContinuation(origin) {
|
|
|
10107
10097
|
return pool[Math.floor(Math.random() * pool.length)];
|
|
10108
10098
|
}
|
|
10109
10099
|
var WARNING_TIMING = "The reserve is nearly spent. The wipe lands at the end of whichever turn spends the last of it, possibly this one.";
|
|
10110
|
-
var WARNING_BODY = "Stop the task. Write down what git and history can't give back:\n- where you are, and how far you got\n- what the human decided, in their words\n- what's blocked or waiting\n- the next move\n- where the half-done work sits\n- what failed, and why\n- which skills, seqs, notes, or files to reopen\n- anything else worth noting\nThen leave the shelf current: replace what's stale, a whole note or a section inside one, and crumple the dead ones. Update and trim
|
|
10100
|
+
var WARNING_BODY = "Stop the task. Write down what git and history can't give back:\n- where you are, and how far you got\n- what the human decided, in their words\n- what's blocked or waiting\n- the next move\n- where the half-done work sits\n- what failed, and why\n- which skills, seqs, notes, or files to reopen\n- anything else worth noting\nThen leave the shelf current: replace what's stale, a whole note or a section inside one, and crumple the dead ones. Update and trim CHEATSHEET.md and MAP.md; every new window loads them. The next window gets whatever you leave, dead notes and dead sections alike.\nDon't call anything that might return a large output. One big read can spend the rest of the reserve before your notes are saved.";
|
|
10111
10101
|
var WARNING_CALL = "Then call `empty_brain`. Nothing in between.";
|
|
10112
10102
|
function warningPrompt() {
|
|
10113
10103
|
return `${WARNING_TIMING}
|
|
@@ -27,7 +27,7 @@ Durable notes hold decisions, constraints, and lessons that stay true after the
|
|
|
27
27
|
5. **Relocate misfiled notes.** When a standing ruling or the note's own MAP already names its proper home, move it there, preserving its metadata, and update both homes' maps. Do it, don't propose it. Propose only when the destination home itself is unclear.
|
|
28
28
|
6. **Preserve meaning and provenance.** Keep facts, conditions, exceptions, uncertainty, authorship, and sources. When promoting a finding, cite its source. Do not relabel agent-authored material as human-authored. If its destination or authority is unclear, propose the promotion instead.
|
|
29
29
|
7. **Keep notes manageable.** Aim below about 200 lines / 8KB per note. Split oversized notes by topic with one-line cross-links.
|
|
30
|
-
8. **Keep
|
|
30
|
+
8. **Keep wake-up pages useful.** Each writable home's `CHEATSHEET.md` holds standing reminders, kept to five lines. Its `MAP.md` holds only the note index: durable notes' addresses and short gists. Both load every window when present; do not create empty pages. Preserve standing rules, add promoted notes to the map, and drop entries that no longer hold. Maps follow the same size budget.
|
|
31
31
|
|
|
32
32
|
## Deleting
|
|
33
33
|
|
|
@@ -5,7 +5,7 @@ description: Review and consolidate durable notes using notesoup's shared dream
|
|
|
5
5
|
|
|
6
6
|
# Dream
|
|
7
7
|
|
|
8
|
-
Read `../../playbook.md` completely, resolving the path from this skill's directory. It is the shared guide to reviewing and organizing notes.
|
|
8
|
+
Read `../../playbook.md` completely, resolving the path from this skill's directory. It is the shared guide to reviewing and organizing notes. Standing reminders belong in a separate `CHEATSHEET.md` (five lines); `MAP.md` holds only the note index. Both load every window when present.
|
|
9
9
|
|
|
10
10
|
Dream in this agent's current session. Do not start another agent or model unless the human asks.
|
|
11
11
|
|
|
@@ -32,7 +32,7 @@ Any other `@` prefix is refused. A path is relative and `/`-separated, with no e
|
|
|
32
32
|
|
|
33
33
|
`@` addresses are not file paths: never pass them to file tools like `read`, `write`, `edit`, or `bash`. That creates a stray directory instead of a note.
|
|
34
34
|
|
|
35
|
-
`MAP.md` at the root of each `@` home
|
|
35
|
+
`CHEATSHEET.md` and `MAP.md` at the root of each `@` home are separate pages you wake up with; absent pages are skipped. Keep standing reminders in `CHEATSHEET.md`, to five lines. `MAP.md` holds only the note index: each durable note's address and gist, for lookup. Update it whenever you add, move or crumple a durable note. Do not create empty pages.
|
|
36
36
|
|
|
37
37
|
Write only what git and history cannot give back. Crumple notes that are no longer true; a stale note is worse than none.
|
|
38
38
|
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# notesoup for Codex
|
|
2
|
+
|
|
3
|
+
Native notes and history for Codex **0.160.1**. The plugin bundles one stdio MCP server with the five notes homes and three history tools, and one hook helper that injects the notes boot into each native context window. `new_context` and `get_context_remaining` stay Codex's own tools; notesoup does not replace Codex's reset or budget.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
Build the bundle, add this repository as a marketplace, install the plugin, and approve its hooks:
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npm ci && npm run build
|
|
11
|
+
codex plugin marketplace add /absolute/path/to/notesoup
|
|
12
|
+
codex plugin add notesoup@notesoup
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Then set the target native-mode configuration in `~/.codex/config.toml` (source-checked, not exercised against a live Codex config parser in this stage):
|
|
16
|
+
|
|
17
|
+
```toml
|
|
18
|
+
[features]
|
|
19
|
+
context_management = false
|
|
20
|
+
retain_client_developer_messages = false
|
|
21
|
+
|
|
22
|
+
[features.token_budget]
|
|
23
|
+
enabled = true
|
|
24
|
+
use_history_notes_extension = false
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Do not also set `token_budget = true`: the table above is the whole setting. Restart Codex or resume the thread after installing, so `SessionStart` can bind the thread.
|
|
28
|
+
|
|
29
|
+
## What it does
|
|
30
|
+
|
|
31
|
+
- The `SessionStart` hook reads the native rollout, binds thread identity from hook facts, and returns the notes boot for the current native window. A restart, resume or compact without an existing boot for that window gets one.
|
|
32
|
+
- `notes_*` uses `NOTESOUP_HOME` (default `~/.agents/notes`) and the current turn's model for `@model`.
|
|
33
|
+
- `history_*` reads the local rollout: root windows and a child's own ancestry. Window ids are `codex:<thread>:<native-window-uuid>`.
|
|
34
|
+
- Stale roots, missing windows, missing turn models and missing bindings are refusals. Resume or compact once to rebind.
|
|
35
|
+
- A child `PreCompact` is stopped with `continue: false`: Codex 0.160.1 has no child post-compact recovery hook. Save a handoff and start a fresh child.
|
|
36
|
+
|
|
37
|
+
Requires Node **>=22.15** for compressed `.jsonl.zst` rollouts.
|
|
38
|
+
|
|
39
|
+
## Limits
|
|
40
|
+
|
|
41
|
+
128 KiB boot cap (host spilling disabled), 32 KiB tool results, local rollout history only, no MCP reset or budget fallback, no dream backend, no notifications or commands. Codex versions other than 0.160.1 are refused.
|
|
42
|
+
|
|
43
|
+
This stage is validated with producer-shaped fixtures and the official MCP SDK client, not against a live Codex model loop. See [docs/codex.md](../../docs/codex.md) for setup, refusal codes, window identity and the validation scope.
|