@fractalsynapse/dsh-chapters 0.2.30 → 0.2.32
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/cordis.patch.yml +26 -4
- package/docs/backlog.md +17 -0
- package/docs/contract.md +35 -3
- package/docs/development.md +17 -4
- package/docs/project-state.md +127 -0
- package/lib/arrival.js +6 -1
- package/lib/arrival.js.map +1 -1
- package/lib/continue-core.js +19 -8
- package/lib/continue-core.js.map +1 -1
- package/lib/engine-core.js +7 -2
- package/lib/engine-core.js.map +1 -1
- package/lib/index.d.ts +5 -1
- package/lib/index.js +13 -10
- package/lib/index.js.map +1 -1
- package/lib/notice.d.ts +6 -0
- package/lib/notice.js +14 -2
- package/lib/notice.js.map +1 -1
- package/lib/render.d.ts +9 -0
- package/lib/render.js +16 -6
- package/lib/render.js.map +1 -1
- package/lib/store.js +14 -4
- package/lib/store.js.map +1 -1
- package/lib/tools-row.d.ts +180 -0
- package/lib/tools-row.js +118 -0
- package/lib/tools-row.js.map +1 -0
- package/lib/tools.d.ts +17 -0
- package/lib/tools.js +164 -43
- package/lib/tools.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +4 -3
package/cordis.patch.yml
CHANGED
|
@@ -9,10 +9,18 @@
|
|
|
9
9
|
#
|
|
10
10
|
# Two planes, two surfaces:
|
|
11
11
|
# HOST PLANE — the `config:` block below (defaults shown commented; set any
|
|
12
|
-
# under your profile's plugin entry).
|
|
13
|
-
#
|
|
14
|
-
#
|
|
15
|
-
#
|
|
12
|
+
# under your profile's plugin entry). Registers NOTHING model-visible:
|
|
13
|
+
# no tools, no door commands (#330 — a host-plane tool registration
|
|
14
|
+
# rides every session's request whatever preset composes; measured in
|
|
15
|
+
# the #319 diagnostics as `chapters_*` schemas inside `standard`-preset
|
|
16
|
+
# headers).
|
|
17
|
+
# REALM PLANE — the rows inside the preset's composition (the `preset-chapters` row
|
|
18
|
+
# at the foot of this file): the compaction ENGINE row and the
|
|
19
|
+
# `chapters-tools` row (the seven `chapters_*` tools + the three
|
|
20
|
+
# continuation door commands, #330; repair/restore stay operator-side
|
|
21
|
+
# on the host plane). Shared names behave per plane; a profile that
|
|
22
|
+
# overrides a shared tunable sets it in both places. Design record:
|
|
23
|
+
# docs/knowledge-repo.md §12.
|
|
16
24
|
#
|
|
17
25
|
# PRESET DELIVERY — the preset is a DECLARATION ROW, exactly like the host's own presets.
|
|
18
26
|
# `preset-chapters` (the id is the host convention `preset-<id>`) is inserted by this
|
|
@@ -238,6 +246,20 @@
|
|
|
238
246
|
sampleOverCapGlobResults: false
|
|
239
247
|
- id: tool-jobs
|
|
240
248
|
name: '@deepseek-ai/dsh-tool-jobs'
|
|
249
|
+
# OURS (#330): the seven `chapters_*` tools + the three continuation door
|
|
250
|
+
# commands, mounted IN-REALM so only a chapters session composes them. A
|
|
251
|
+
# host-plane `ctx.tools.register` rides EVERY session's request whatever
|
|
252
|
+
# preset composes (measured: `chapters_*` schemas in `standard` headers) — that
|
|
253
|
+
# is the leak this row closes. Repair/restore stay host-plane (operator reach
|
|
254
|
+
# into a broken archive). src/tools-row.ts.
|
|
255
|
+
- id: chapters-tools
|
|
256
|
+
name: '@fractalsynapse/dsh-chapters/tools-row'
|
|
257
|
+
config:
|
|
258
|
+
# The rig rewrites THIS line per boot (tests/e2e/rig-preset-pin.ts), the
|
|
259
|
+
# same way it pins the engine row's `artifactStoreRoot` — a profile that
|
|
260
|
+
# retunes any other row key sets it beside this one; every unset key
|
|
261
|
+
# keeps the default declared in src/tools-row.ts.
|
|
262
|
+
artifactStoreRoot: '.dsh-chapters'
|
|
241
263
|
- id: tool-schedule
|
|
242
264
|
name: '@deepseek-ai/dsh-tool-schedule'
|
|
243
265
|
- id: skill-filesystem
|
package/docs/backlog.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Open items — 2026-10-23 (host 0.2.0-rc.2)
|
|
2
2
|
|
|
3
|
+
- **#330 — chapters tools in-realm + the model never measures its own context (2026-11-14, LANDED — released in 0.2.32).**
|
|
4
|
+
Two shipped changes: the seven `chapters_*` tools and the three continuation doors mount through a
|
|
5
|
+
`chapters-tools` row INSIDE the preset composition (the host-plane registration rode every preset's request —
|
|
6
|
+
the #319 e2e logs measured `chapters_*` schemas inside `standard` headers), and the model-visible prose lost its
|
|
7
|
+
context gauges (per-result byte/token dumps, `budgetHint`, the arrival stub's `≈ N tok`/`NOT elsewhere in this
|
|
8
|
+
context`, TOC bullets' `(N est tokens)`, window arithmetic in refusal reasons); a new doctrine gate
|
|
9
|
+
(`tests/unit/no-pressure-language.test.ts`) reads the prompt-anchor surface plus the runtime templates and refuses
|
|
10
|
+
their return. The eager realm acquire also exposed a real race in `acquireChapterStore` (reserved-but-uncommitted
|
|
11
|
+
window) — now adopted with a bounded retry. The full 11-leg corpus re-distill is green (locally and on CI,
|
|
12
|
+
`corpus:stamp` re-anchored), and the PR integrated to staging; #331 tracks the `enrich` annotate-title
|
|
13
|
+
nondeterminism the re-anchor surfaced. Follow-ups deliberately NOT in this issue:
|
|
14
|
+
(1) the client *Fork/Continue with chapters* buttons still render on non-chapters sessions and now surface the
|
|
15
|
+
host's unknown-command note — gate them on the session preset if the note proves unfriendly;
|
|
16
|
+
(2) the model-proxy `(N est tokens)` mask is dead for new recordings — retire it once the corpus anchor moves;
|
|
17
|
+
(3) a live negative leg (a standard-preset boot dumping its tool header) would prove cross-preset absence on a
|
|
18
|
+
real host instead of by construction + row tests.
|
|
19
|
+
|
|
3
20
|
- **A live run must not have its tree changed under it — measured against myself (#143).** While a `heavy` live run was in
|
|
4
21
|
flight I stashed its spec change and switched branches to send a docs PR. Playwright loads a spec at worker start, so the
|
|
5
22
|
run in flight may have executed either version, and nothing in its output distinguishes them (the report header label was
|
package/docs/contract.md
CHANGED
|
@@ -171,7 +171,7 @@ const chaptersContinue = defineTool({
|
|
|
171
171
|
+ 'table of contents. This session is left untouched. Supply event ranges, not text.',
|
|
172
172
|
parameters: {
|
|
173
173
|
title: { type: 'string', required: true, description: 'Name for the continued session.' },
|
|
174
|
-
handoffNote: { type: 'string', required: true, description: 'State of play: what was in progress, decisions held, next step.
|
|
174
|
+
handoffNote: { type: 'string', required: true, description: 'State of play: what was in progress, decisions held, next step. It reaches the child whole — never clipped.' },
|
|
175
175
|
chapters: {
|
|
176
176
|
type: 'array', required: true,
|
|
177
177
|
description: 'Ranges ascending by startSeq, non-overlapping, all <= archiveCeiling, covering every event below the ceiling.',
|
|
@@ -184,8 +184,23 @@ const chaptersContinue = defineTool({
|
|
|
184
184
|
})
|
|
185
185
|
```
|
|
186
186
|
|
|
187
|
-
Register
|
|
188
|
-
`
|
|
187
|
+
Register **in-realm** (#330, 0.2.32): the seven chapters tools and the three continuation door commands
|
|
188
|
+
(`/chapters-fork`, `/chapters-continue`, `/chapters-save`) mount through a `chapters-tools` row
|
|
189
|
+
(`@fractalsynapse/dsh-chapters/tools`) inside the `preset-chapters` composition — the same seam the host's
|
|
190
|
+
own `dsh-tool-fs` and `dsh-tool-subagent` rows use — and the host plane registers none of them.
|
|
191
|
+
`/chapters-repair` and `/chapters-restore` stay on the host plane: they are operator surfaces that must
|
|
192
|
+
reach a broken chapters archive from any session, and human command text is not model-visible. The measured
|
|
193
|
+
host fact that forced the move: a tool registered on the **host plane** rides EVERY session's request
|
|
194
|
+
whatever preset it composes (the #319 diagnostics found the `chapters_*` schemas in `agentPreset: "standard"`
|
|
195
|
+
headers while the chapters persona suffix was absent). The old call-site precedent
|
|
196
|
+
(`dsh-session-fork/src/index.ts:786`, host-side `ctx.tools.register`) predates that measurement and is NOT
|
|
197
|
+
the model for per-preset tools.
|
|
198
|
+
|
|
199
|
+
Prose rule (#330, per AGENTS § The Model Never Measures Its Context): a tool/parameter description
|
|
200
|
+
is agent-visible text in every session that mounts it — it states what the tool does to the archive,
|
|
201
|
+
never a quantity about the model's own context. No `description` may name the model's context window,
|
|
202
|
+
its fill, or token estimates of the live session; `scripts/prompt-anchor.mjs` treats these literals as
|
|
203
|
+
prompt bytes, and `tests/unit/no-pressure-language.test.ts` refuses pressure vocabulary in them.
|
|
189
204
|
|
|
190
205
|
## LLM Calls
|
|
191
206
|
|
|
@@ -679,6 +694,23 @@ load-bearing, not historical:
|
|
|
679
694
|
`mutate(id, () => snapshot)` is a stale `put` with better branding (fixed once already in `repair-run.ts`
|
|
680
695
|
for the hollow-payload supersede).
|
|
681
696
|
|
|
697
|
+
## Birth authoring — the child's first turn (measured 2026-11-07, host 0.2.0-rc.2, #319 part 2)
|
|
698
|
+
|
|
699
|
+
The empty-seed child gets its TOC by AUTHORING, and the seams are these, measured on the rig:
|
|
700
|
+
`agents.create` returns a minimal handle (no `followup`); `ctx.agents.get(id)` answers ONLY
|
|
701
|
+
while an agent is warm; `agents.resume` takes ONE object — `{ resumeSessionId, agentOptions?,
|
|
702
|
+
setup? }` — and its handle wraps the callable agent at `handle.agent` (installed dsh-agent
|
|
703
|
+
`lib/index.js:1499` destructures `{sessionId, resumeSessionId, ...rest}`; `followup` is a
|
|
704
|
+
prototype method of the agent-loop's `ReactLoopAgent`, `runtime-types.ts:222`). The lease
|
|
705
|
+
lifecycle has no safe mid-process release point for a handle a browser view may be bound to:
|
|
706
|
+
dispose-at-authoring starves the queued turn (a durable child with ZERO user messages — the
|
|
707
|
+
silent unbirth), dispose-at-turn-end kills the agent under the view the UI already attached
|
|
708
|
+
(composer never returns; 240s and 420s stalls measured). The SDK server's own `prompt()`
|
|
709
|
+
holds `handle` in its sessions map for the process lifetime with no release path
|
|
710
|
+
(`packages/sdk/server/src/server.ts` `getOrCreateSession`); the plugin mirrors it. A host
|
|
711
|
+
without any seam that can author answers LOUD — a refusal naming both registries — never a
|
|
712
|
+
child that silently missed its archive.
|
|
713
|
+
|
|
682
714
|
## Suggested Next Step bar
|
|
683
715
|
|
|
684
716
|
> **Host fact, measured 2026-10-28 (the draft gesture's limit, and where it actually lives).** The composer surface a
|
package/docs/development.md
CHANGED
|
@@ -104,10 +104,10 @@ across sessions.
|
|
|
104
104
|
|
|
105
105
|
### The `docs/superpowers/` plan directory
|
|
106
106
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
107
|
+
For substantial work, this project keeps tracked design and delivery records under
|
|
108
|
+
`docs/superpowers/specs/` and `docs/superpowers/plans/`. The shared Scaffold skills
|
|
109
|
+
use the project's chosen location. Routine edits can use the existing issue record.
|
|
110
|
+
Later sessions can refer to these records for the rationale behind an implementation. Two rules keep them honest:
|
|
111
111
|
|
|
112
112
|
1. A plan is stamped with a `**Status:**` header when its work lands (implemented → commit refs +
|
|
113
113
|
pointers to the shipped code/tests/site docs), so nobody executes a spent to-do list.
|
|
@@ -202,6 +202,19 @@ Re-record discipline (learned the hard way 2026-09-22/23):
|
|
|
202
202
|
before the verifying REPLAY, so both sides saw the same boot world. Hosted CI is inherently
|
|
203
203
|
pristine: a locally-distilled tape that passes only on an accumulated home is a red flag,
|
|
204
204
|
not a pass.
|
|
205
|
+
- **Harness identity is part of the context too** (measured 2026-11-07, #319's record pass).
|
|
206
|
+
The runner's ephemeral harness namespace (`runnervmwuk1x` vs `dev2` here) rides the
|
|
207
|
+
continuation NOTICE in two spellings — `[ns/001]` display ids and `rules/<uuid>/ns/001-….md`
|
|
208
|
+
hint paths — and both now fold (`RULENS-BLIND` in `tests/e2e/model-proxy.ts`) after the
|
|
209
|
+
runner's own byte diff proved it. Same saga, two more portability facts: **(1)** child-turn
|
|
210
|
+
traffic only exists in a tape if the RECORDING run waited for that round-trip — a journal
|
|
211
|
+
captures what fired, not what the journey could fire, so verify the entry SHAPE (message
|
|
212
|
+
count post-fold), not just the color; **(2)** when CI misses while every local replay is
|
|
213
|
+
green, the acceptance job's uploaded `e2e-replay-diagnostics` artifact already contains the
|
|
214
|
+
runner's normalized `incoming` and `storedCandidates` (`gh run download <id> --dir …` —
|
|
215
|
+
diff them offline against `normalizeStoredPrefix(entry.prefix)` and the divergence prints
|
|
216
|
+
its own byte offset). One cycle per truth, no guessing; `E2E_PREFIX_TRACE=1` shows prefix
|
|
217
|
+
shapes at journaling time when you need it before a miss ever happens.
|
|
205
218
|
- **Ports are parameterized end to end**: the model proxy derives `E2E_PROXY_PORT = boot port
|
|
206
219
|
+ 1000` (a hard-coded 41799 turned one killed run's orphan into EADDRINUSE for every later
|
|
207
220
|
boot), and `boot.ts` fails FAST with a named-port message when the boot port is already
|
package/docs/project-state.md
CHANGED
|
@@ -11,6 +11,46 @@ history of a decision, not before every task.** The rules that lived inside it a
|
|
|
11
11
|
---
|
|
12
12
|
|
|
13
13
|
## Start Here
|
|
14
|
+
## 2026-11-14 — #330: the tools go where the user pointed, and the agent stops reading gauges (shipped in 0.2.32)
|
|
15
|
+
|
|
16
|
+
**The defect, measured.** The `chapters_*` tools registered on the HOST plane, and a host-plane tool
|
|
17
|
+
rides EVERY session's request whatever preset composes — the #319 diagnostics' own logs showed the
|
|
18
|
+
`chapters_*` schemas inside `standard`-preset headers with the chapters persona absent. Agents on
|
|
19
|
+
presets that never chose chapters read an archive/context vocabulary in every prompt, obeyed the
|
|
20
|
+
`chapters_rules` "run me before every task" description, and talked about their context window.
|
|
21
|
+
Independently, the prose handed every chapters agent fuel gauges it cannot verify (arrival stub
|
|
22
|
+
`≈ N tok … NOT elsewhere in this context`, per-result `estimatedTokens`/`budgetHint`, TOC bullets'
|
|
23
|
+
`(N est tokens)`, `window × ratio − header` in refusal reasons) — and they steered by the guess.
|
|
24
|
+
|
|
25
|
+
**The change.** (1) A `chapters-tools` realm row (`src/tools-row.ts`, export `./tools-row`) mounts
|
|
26
|
+
the seven tools and the three continuation doors inside the `preset-chapters` composition — the host's
|
|
27
|
+
own `dsh-tool-fs`/`dsh-tool-subagent` pattern; the host plane keeps only operator reach
|
|
28
|
+
(`/chapters-repair`, `/chapters-restore`, commands/prompt-bar/settlement), because a poisoned child may
|
|
29
|
+
not compose its realm (#319's way in must exist). Maintainer ruling: other presets lose the doors too.
|
|
30
|
+
(2) The prose purge, now doctrine (AGENTS § The Model Never Measures Its Context) with a gate row that
|
|
31
|
+
fails the build if the gauges return (`tests/unit/no-pressure-language.test.ts`): one shared predicate
|
|
32
|
+
`defersAtArchive()` replaces per-result size dumps with a boolean, the stub cites the file not the
|
|
33
|
+
cost, TOC summaries count messages, and the model-visible budget receipt shrinks to the notice's own
|
|
34
|
+
size against its allowance — refuse-with-numbers survives because it sizes the artifact being written.
|
|
35
|
+
|
|
36
|
+
**Found by the boot, not the unit.** The eager realm acquire raced `apply()`'s domain open — the
|
|
37
|
+
facility reserves a name before awaiting the backend and commits it after, so the second opener saw
|
|
38
|
+
`already-open` with nothing adoptable and the preset came back **DECLARED BUT BROKEN — chapters-tools**
|
|
39
|
+
(first fork distill, 2026-11-14). `acquireChapterStore` now retries the adoption window bounded and
|
|
40
|
+
re-raises the original error if the reservation never resolves; `acquire.test.ts` pins all arms.
|
|
41
|
+
|
|
42
|
+
**Evidence, by class.** Deterministic: typecheck/build green, `ci-gate.sh` green (1491 tests, 0 fail —
|
|
43
|
+
1 standing expected TODO; coverage 91.6/85.11/86.82/91.6) on the sealed tree. Pinned-host tape: full
|
|
44
|
+
11-leg re-distill and a **chain-replay 11/11 green both locally and on GitHub runners**, each leg under
|
|
45
|
+
its own boot; stamped `promptAnchor d3757708405049ee` / `lib 1e6ba9b1cdb4cdac`, CORPUS_HOST re-anchored
|
|
46
|
+
2026-11-14. Integrated to staging as #332 (head `f3e7a78`). The re-anchor surfaced the `enrich`
|
|
47
|
+
annotate-title nondeterminism — the annotate prompt embeds the async-renamed session title, so record
|
|
48
|
+
and replay diverge by construction; masked per the HOSTPORT/MSGCOUNT family, deeper fix stays open as
|
|
49
|
+
#331. A rig incident, recorded honestly: a symlink mistake of mine while building a control worktree
|
|
50
|
+
clobbered `var/ms-playwright` mid-session (two apparent enrich failures were that, not the product);
|
|
51
|
+
browsers were reinstalled via the documented path and every affected leg re-run. Installed-package
|
|
52
|
+
smoke and live-host verification of 0.2.32 stay OPEN claims until the tag ships.
|
|
53
|
+
|
|
14
54
|
## 2026-10-22/23 — the host 0.2.0-rc.2 acceptance sweep (#56)
|
|
15
55
|
|
|
16
56
|
**What actually happened, in order.** The pinned host moved to 0.2.x; the tape corpus stayed at
|
|
@@ -640,3 +680,90 @@ a long job launched with a shell `&` died with its tool shell and looked like it
|
|
|
640
680
|
carried a **fabricated CI run id** (`40810272330`), amended to the read value (`40803763620`) with the invention left
|
|
641
681
|
visible in the correction. Every one was caught by a gate, a re-read, or an exit code that someone bothered to check —
|
|
642
682
|
which is the entire argument for this repository's design.
|
|
683
|
+
|
|
684
|
+
## Historical browser and release observations moved from AGENTS.md
|
|
685
|
+
|
|
686
|
+
This snapshot came from the pre-migration root at `bffa698`. Its dated results and
|
|
687
|
+
test counts are historical. Use the current candidate and verification record for
|
|
688
|
+
delivery decisions. The original root remains available in Git.
|
|
689
|
+
|
|
690
|
+
**Shipped and CI-green on the real model:** the engine, tools, preset, all seven archive moments, the
|
|
691
|
+
knowledge layer (P1–P3c), the repair engine (#60), and `/chapters-prompt` as a deliberate command with a readable block output (#71, rewritten by #113/#114). The composer GHOST surface that shipped under #71 was REMOVED in #114 at the maintainer's decision — four defects, none fixable by restyling; what replaces it is the docked Suggested Next Step bar (site §28), verified in a browser on 2026-10-26 — see the next paragraph. **Browser plane — re-anchored and partly
|
|
692
|
+
verified (2026-10-26, host 0.2.0-rc.2 on the maintainer's provider route):** every leg that was failing at a
|
|
693
|
+
missing assistant row was failing because the tape proxy joined its upstream base and the request path into a
|
|
694
|
+
doubled `/v1/v1` — no model answer, so no door, no plan card, no markers. Fixed, and `rules`, `explore-dev`,
|
|
695
|
+
`fork`, `arrival`, `fanout`, `enrich`, `plans`, `suite` and `heavy` then recorded green; the Suggested Next Step
|
|
696
|
+
bar has its own legs (`prompt`, and `prompt-off` for the switch's other half) and **passes in Chromium in both
|
|
697
|
+
record and replay**. **Measured later on 2026-10-27, superseding the paragraph above on three points:** (1) the
|
|
698
|
+
chain's shape was itself a defect — `globalSetup` boots ONE server from the setup process's environment while
|
|
699
|
+
Playwright gives a project's `env` only to workers, so nine legs replayed in the first leg's realm and home (#129);
|
|
700
|
+
`npm run test:e2e:replay` now runs **one boot per journey** (`scripts/chain-replay.sh`), the shape the corpus is
|
|
701
|
+
recorded in, and against that runner the current corpus captured ten-for-ten (`D2=0`) and replayed **green twice**
|
|
702
|
+
(`K1=0`, `K2=0`), with `CORPUS_HOST` re-stamped (`lib=b5e15a0de600f6dd`). (2) `coverage:e2e` is **green on this corpus** —
|
|
703
|
+
ten legs, `COVPJ5=0`, All files **77.97%** — after two runs where `prompt` instead timed out on a sidebar row that
|
|
704
|
+
never became actionable. The armed diagnostic settled what that looked like (`rows (0)`, `current session: null`,
|
|
705
|
+
no browser crash, `MemAvailable` flat at ~66.8 GB across all ten boots), and a third consecutive full run passed
|
|
706
|
+
without the diagnostic ever firing: so it is an intermittent view failure under instrumentation, filed as such, and
|
|
707
|
+
deliberately not treated by raising a timeout. The older 77.94% belongs to the previous corpus. (3) CI's **acceptance** job no longer
|
|
708
|
+
fails on `MOUNT FAULT`: the 7-vs-34 tool asymmetry was root-caused (the preset's rows name 28 `@deepseek-ai/*`
|
|
709
|
+
packages, **none a dependency of this repo**, so a runner resolved nothing and our preset silently pruned them) and
|
|
710
|
+
closed by `linkPinnedToolPackages()` running **before** the spawn; the runner now assembles 34 tools and gets far
|
|
711
|
+
deeper, failing on conversation content (its first assistant turn carries a different tool call than the capture,
|
|
712
|
+
`glob` where the tape has `read`) after two machine-identity folds (the harness checkout path, already blind via
|
|
713
|
+
`<DSH-CHECKOUT>`, and both spellings of the runtime time zone). Acceptance moved a full layer deeper that day and the cause is now **identified by outcome, not theory**: the remaining misses are legs whose **turn count is the model's choice** — a bounded journey (`fanout`: one decisive oversized read per child instead of six ranges sitting on the deferral floor; `arrival`: one read plus at most two artifact queries) **passed on the runner**, and the failing set shrank to `heavy` alone. That leg is bounded the same way (exactly three reads with named offsets; 36 → 9 requests), so the tape's shape is a property of the spec. Relief timing, the 7-vs-34 tool gap, and machine-identity bytes were all real and are all closed; none of them was the last story. Evidence and eliminated classes: docs/backlog.md, #129/#131/#132.
|
|
714
|
+
|
|
715
|
+
**Then it went green.** Run 40676609079: deterministic ✅ · preset-rows probe ✅ · **acceptance ✅ — all ten legs `ok`, one boot each**
|
|
716
|
+
(`suite heavy arrival enrich fanout rules fork plans prompt prompt-off`). Strict replay locally green twice, `coverage:e2e` exit 0 at **78.34%**, corpus stamped
|
|
717
|
+
`lib=b67e373defcad83a` with `corpus:check` agreeing. Merged to `staging` as `45dd4ac` (PR #127, which closes #56 and carries the accounting).
|
|
718
|
+
Say the trigger honestly, because it is easy to over-claim: CI runs on `pull_request` and on push to `main`, **not** on push to `staging` — so "green on staging"
|
|
719
|
+
means the content that landed is what passed its acceptance checks, not a separate staging push run. Still open there: **a dock cannot write the composer, and it is not the reason I first gave**. A dock does receive the
|
|
720
|
+
verbs — `insertText`, `setDraft`, `submit` are present and callable — and the programmatic write throws
|
|
721
|
+
`Cannot read properties of undefined (reading 'draftRev')` with the composer left empty, **identically on `0.2.0-rc.2`
|
|
722
|
+
and `0.2.1-rc.4`** (`var/e2e-prompt-draft-dump.json`; #126, #162). The earlier wording here — "`setDraft` mirrors only at
|
|
723
|
+
mount" — was an inference from reading the wrong module: `draftRev` appears nowhere in `ui-conversation/src`, in either tag;
|
|
724
|
+
the identifier lives in `ui-commands/src/client/popup.ts`. So the bar shows an explanation and Run submits, and upgrading the
|
|
725
|
+
host is **not** a path to closing #126 — measured, after I argued the opposite from a `.d.ts` diff (#150). **Autorun displacing a goal's continuation is now observed in Chromium** (2026-10-28): with a goal armed the host
|
|
726
|
+
offers `Pause goal`; clicking the bar's Autorun leaves `Autorun off` in place after the server round-trip, the host
|
|
727
|
+
flips to `Resume goal`, and `Pause goal` disappears. Recorded alone under the real provider and replayed model-free
|
|
728
|
+
twice (5 passed each) — **but the leg that carries it is portable only by luck, and that is now known (#138)**: a goal
|
|
729
|
+
round is itself a turn, so rounds cascade at 256-budget by default, and how many exist when the leg acts is machine
|
|
730
|
+
latency. Evidence is a docs-only PR (#137, zero non-docs delta) turning acceptance red with `MISS tape=prompt entries=23
|
|
731
|
+
storedCandidates: []` while the runner's history held `Round: 1/256`…`Round: 4/256` where the capture had none — run
|
|
732
|
+
40676609079 (all ten legs `ok`) agreed only because the runner's latency reproduced my round count. The displacement
|
|
733
|
+
*behavior* was observed in Chromium and stands; the *replay* of it is not dependable until the goal is created with a
|
|
734
|
+
bounded budget, and the bound was not what I assumed. Built and measured it: `ctx.goals.create(agent, { objective,
|
|
735
|
+
maxGoalRounds: 1 })` is plugin-callable (upstream's own fixture does exactly this) and it WORKED — a 17-entry tape with
|
|
736
|
+
`Round: 1/` and no second round — while the leg still failed, because spending the budget calls
|
|
737
|
+
`ctx.goals.block(…, 'round-limit')` and `GoalBar.tsx:85-86` renders no strip for a blocked goal. **An armed goal has no
|
|
738
|
+
rest state**: budget 256 floods it, budget 1 ends it. Facts and line numbers: docs/contract.md, #138.
|
|
739
|
+
|
|
740
|
+
`heavy` is live-class as well, by the maintainer's decision on six captures' evidence (#141): relief auto-continues a
|
|
741
|
+
model-written turn and the child then does unrequested marker work, measured at 5/7/12/23/24 tape entries for ONE commit
|
|
742
|
+
across four designs, with CI's widened miss diff naming the extra `bash` turn. `oversized-turn.spec.ts` therefore skips
|
|
743
|
+
under `E2E_MODEL === 'replay'` with the reason in the skip message and is absent from `chain-replay.sh`'s list, which is now
|
|
744
|
+
**nine** model-free legs; relief timing stays covered without a browser or a model in `tests/unit/engine-lifecycle.test.ts`
|
|
745
|
+
(#140's rows). Two release facts belong here too. `0.2.2-dev.1` is a **dead tag**: the bump commit moved `package.json`
|
|
746
|
+
only and `tests/unit/loudness.test.ts:123` (`PLUGIN_VERSION === pkg.version`) failed the publish blocker — a pushed tag is
|
|
747
|
+
immutable, so `0.2.2-dev.2` bumps all three version-bearing files (`package.json`, `src/version.ts`, lock root) together.
|
|
748
|
+
And `@deepseek-ai/dsh-compaction-basic@0.1.5-rc.2` has **zero** occurrences of `headroomTokens` (verified in its tarball),
|
|
749
|
+
which is why the #140 realm key and the #128 alignment must ship as one change. Finally, my own live-leg guard had shipped
|
|
750
|
+
inverted — `test.skip(process.env.E2E_MODEL !== 'replay', …)` runs a live spec only against a tape — corrected to
|
|
751
|
+
`=== 'replay'` and proven by `2 skipped` plus exit 0 on a replay invocation.
|
|
752
|
+
|
|
753
|
+
**Live-class does not mean live-green, and here it is red.** The `heavy` leg's live run failed on its own bound —
|
|
754
|
+
`expect(summaries.length).toBeLessThanOrEqual(30)` (`var/heavy-live.log`, exit 1) — so NO browser-level claim about relief
|
|
755
|
+
converging on the pinned 32K window is being made: what is proven is that relief neither throws nor crashes there (#140's rows),
|
|
756
|
+
and the nine model-free legs are green on CI. The convergence failure is its own issue (#143) and its first criterion is
|
|
757
|
+
per-pass numbers, not a raised bound.
|
|
758
|
+
|
|
759
|
+
So both goal claims are verified **live**, in a class that can say so honestly. `tests/e2e/prompt-goal-live.spec.ts`
|
|
760
|
+
runs them against the real provider under a 420 s ceiling and both passed (**2 passed**): arming Autorun takes the
|
|
761
|
+
continuation from an active goal (`Pause goal` → `Resume goal`, Pause gone — after the inert-control fix in
|
|
762
|
+
`prompt-dock-autorun-write.test.ts`, which is what made the click refuse itself), and after `/goal clear` the bar still
|
|
763
|
+
produces a real suggestion on the next turn (#135's second half, browser-observed at last). The spec refuses to run on a
|
|
764
|
+
tape and `chain-replay.sh` omits the project — the model-free acceptance job does NOT cover these two, a live run does,
|
|
765
|
+
and that is stated wherever the claim is made. What the tape leg keeps is everything goal-free: dock order 30, Analyzing
|
|
766
|
+
→ suggestion, expand, Run as a human-authored turn, and `prompt-off`.
|
|
767
|
+
|
|
768
|
+
Full chronology, measurements and which round proved what: **`docs/project-state.md`**.
|
|
769
|
+
Next things to pick up: **`docs/backlog.md`**. Verification checklist: **`docs/verify.md`**.
|
package/lib/arrival.js
CHANGED
|
@@ -92,7 +92,12 @@ export async function applyArrivalStubs(session, opts) {
|
|
|
92
92
|
// disk problem must never eat the conversation (loud via detail).
|
|
93
93
|
return { stubbed, detail: `artifact write failed (${String(error?.message ?? error)}); ${stubbed} node(s) stubbed before the failure` };
|
|
94
94
|
}
|
|
95
|
-
|
|
95
|
+
// #330: the reference line states where the bytes ARE, never a token estimate of
|
|
96
|
+
// what was taken out — "≈ N tok … NOT elsewhere in this context" was the single
|
|
97
|
+
// most-seen fuel-gauge string on the surface, stamped at every large result. The KB
|
|
98
|
+
// figure is a property of the FILE (deciding to reload it); the token count of the
|
|
99
|
+
// session was never the model's to read.
|
|
100
|
+
const stub = `${ARRIVAL_MARKER} ${hash.slice(0, 12)}] ${kb(text.length)} stored at ${rel} — query it with chapters_artifact (path '${rel}' or the sha): action 'toc' for the heading map with line numbers, 'search' for term hits as small blocks, 'read' for exact line ranges. The file holds the complete text; nothing else repeats it, and re-running the original tool only regenerates it.`;
|
|
96
101
|
// the stub goes back in the shape it arrived: nested wrappers keep their `content` blocks,
|
|
97
102
|
// flattened v4 blocks keep their own `text` and their `type: 'text'` — a replacement that
|
|
98
103
|
// changed the block type would be a new shape assumption on the read side.
|
package/lib/arrival.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"arrival.js","sourceRoot":"","sources":["../src/arrival.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAClD,OAAO,EAAE,MAAM,kBAAkB,CAAA;AACjC,OAAO,IAAI,MAAM,WAAW,CAAA;AAC5B,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAQ7C,MAAM,CAAC,MAAM,cAAc,GAAG,eAAe,CAAA;AAe7C,MAAM,EAAE,GAAG,CAAC,CAAS,EAAU,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC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renderChapter, validateRanges } from "./render.js";
|
|
3
3
|
import { attemptKey, coverage, verifyChapter, writeArchive } from "./archive.js";
|
|
4
4
|
import { appendChapters, freshSession, isActiveChapter, linkChild, reserve, reservePlan as reservePlanNumber } from "./registry.js";
|
|
5
|
-
import { buildTocNotice } from "./notice.js";
|
|
5
|
+
import { buildTocNotice, noticeAuthoredText } from "./notice.js";
|
|
6
6
|
import { deriveIdentity } from "./engine-core.js";
|
|
7
7
|
import { buildPlansSection, detectPlans, PLAN_MODE_EVENT } from "./plans.js";
|
|
8
8
|
export class Refusal extends Error {
|
|
@@ -128,9 +128,13 @@ export async function runContinue(ports, args, config) {
|
|
|
128
128
|
...(config.callArgArtifactTokens !== undefined ? { callArgArtifactTokens: config.callArgArtifactTokens } : {}),
|
|
129
129
|
};
|
|
130
130
|
const rendered = args.chapters.map((range) => renderChapter(below, range, renderConfig, args.toolResultOverrides, chapterTopics(below, range.startSeq, range.endSeq)));
|
|
131
|
+
// #330: the over-target warning names the CHAPTER (the artifact just written), never a
|
|
132
|
+
// token figure of the session — the model's lever here is "propose more ranges next
|
|
133
|
+
// time", and the chapter's identity is enough to act on. The size itself is the
|
|
134
|
+
// plugin's measurement, kept for the human door text and the stats.
|
|
131
135
|
warnings.push(...rendered
|
|
132
136
|
.filter((r) => r.stats.overTarget)
|
|
133
|
-
.map((r) => `chapter "${r.range.title}"
|
|
137
|
+
.map((r) => `chapter "${r.range.title}" came out larger than its target — split it across more chapters at the next continuation, never clipped`));
|
|
134
138
|
// Same hard ceiling as the save door (#59), same ordering: refuse before anything is reserved.
|
|
135
139
|
const oversize = oversizeRanges(rendered, config.chapterTokenTarget, config.chapterOversizeFactor ?? 2);
|
|
136
140
|
// A single indivisible event is not a refusal: it is delivered as a warning so the human can see the
|
|
@@ -195,15 +199,17 @@ export async function continueFromRestored(ports, config, targetSessionId) {
|
|
|
195
199
|
storeRoot: config.artifactStoreRoot,
|
|
196
200
|
retrievalHints: config.retrievalHints !== false,
|
|
197
201
|
});
|
|
202
|
+
// The event is BUILT before it is MEASURED: the gate counts exactly the bytes the child's
|
|
203
|
+
// first turn will carry — including the authored tail. (P5: no measurement exemption.)
|
|
204
|
+
const noticeEvent = buildTocNotice(noticeText, { newId: ports.newId, time: ports.now() });
|
|
198
205
|
const budget = preflight({
|
|
199
|
-
noticeTokens: estimateTokens(
|
|
206
|
+
noticeTokens: estimateTokens(noticeAuthoredText(noticeEvent)),
|
|
200
207
|
budget: await ports.budgetProbe(),
|
|
201
208
|
ratio: config.continuationBudgetRatio,
|
|
202
209
|
});
|
|
203
210
|
if (!budget.ok) {
|
|
204
211
|
return { ok: false, reason: `restore continuation over budget: notice ~${String(budget.budget.usedTokens)} > allowance ${String(budget.budget.allowanceTokens)} tokens. The archive is REPAIRED regardless — continuing from a root session of the same lineage carries the same records with a caller context to measure against.`, warnings };
|
|
205
212
|
}
|
|
206
|
-
const noticeEvent = buildTocNotice(noticeText, { newId: ports.newId, time: ports.now() });
|
|
207
213
|
const childId = `ch-${ports.newId()}`;
|
|
208
214
|
try {
|
|
209
215
|
const created = await ports.createChild({ sessionId: childId, noticeEvent, modeEvents: [], presetId: config.fallbackPreset, title });
|
|
@@ -329,23 +335,28 @@ async function finishChild(ports, config, args, callerState, bundle, warnings, c
|
|
|
329
335
|
...(plansSection !== '' ? { plansSection } : {}),
|
|
330
336
|
retrievalHints: config.retrievalHints !== false,
|
|
331
337
|
});
|
|
338
|
+
// Built-then-measured, as above: the budget gate sees the authored bytes, not a draft.
|
|
339
|
+
const noticeEvent = buildTocNotice(noticeText, { newId: ports.newId, time: ports.now() });
|
|
332
340
|
const budget = preflight({
|
|
333
|
-
noticeTokens: estimateTokens(
|
|
341
|
+
noticeTokens: estimateTokens(noticeAuthoredText(noticeEvent)),
|
|
334
342
|
budget: await ports.budgetProbe(),
|
|
335
343
|
ratio: config.continuationBudgetRatio,
|
|
336
344
|
});
|
|
337
345
|
if (!budget.ok) {
|
|
346
|
+
// #330: refusal-with-numbers stays (AGENTS Data Flow) — but the numbers size THE
|
|
347
|
+
// NOTICE, the artifact being written. The admission inputs (window, header bound)
|
|
348
|
+
// measure the live session and stay in `budget.budget` for the human door text and
|
|
349
|
+
// the logs; the agent is never shown a gauge it cannot read for itself.
|
|
338
350
|
throw new Refusal({
|
|
339
351
|
ok: false,
|
|
340
352
|
reason: budget.budget.windowTokens === null
|
|
341
|
-
?
|
|
342
|
-
: `continuation over budget: notice ~${budget.budget.usedTokens} tokens
|
|
353
|
+
? `continuation cannot be admitted: no model route for this caller to size the notice against — retry once, and if it persists ask the human to check the session's model selection (nothing was created)`
|
|
354
|
+
: `continuation over budget: the notice is ~${budget.budget.usedTokens} tokens against an allowance of ${budget.budget.allowanceTokens} for this route — shorten the handoff note or split the archive.`,
|
|
343
355
|
budget: budget.budget,
|
|
344
356
|
warnings,
|
|
345
357
|
});
|
|
346
358
|
}
|
|
347
359
|
// ---- Create the child (one synthetic event at seq 0 — invariant 2), then commit.
|
|
348
|
-
const noticeEvent = buildTocNotice(noticeText, { newId: ports.newId, time: ports.now() });
|
|
349
360
|
const childId = `ch-${ports.newId()}`;
|
|
350
361
|
const presetId = args.callerPreset ?? config.fallbackPreset;
|
|
351
362
|
try {
|
package/lib/continue-core.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"continue-core.js","sourceRoot":"","sources":["../src/continue-core.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAC9C,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAC3F,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAEhF,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,eAAe,EAAE,SAAS,EAAE,OAAO,EAAE,WAAW,IAAI,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAEnI,OAAO,EAAE,c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ACtE,MAAM,UAAU,aAAa,CAAC,KAAc;IAC1C,OAAO,KAAK,YAAY,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAA;AACvD,CAAC"}
|
package/lib/engine-core.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { chapterTopics } from "./signature.js";
|
|
2
|
-
import {
|
|
2
|
+
import { noticeIndexSection, renderChapter } from "./render.js";
|
|
3
3
|
import { isInjectedProse } from "./injections.js";
|
|
4
4
|
import { lineageOf } from "./types.js";
|
|
5
5
|
import { slugify, toStoredPath } from "./archive.js";
|
|
@@ -175,7 +175,12 @@ planTitle) {
|
|
|
175
175
|
: hasCheckpoint ? 'Earlier history' : 'Conversation span';
|
|
176
176
|
return {
|
|
177
177
|
title,
|
|
178
|
-
|
|
178
|
+
// #330: message counts are archive facts; the "(N est tokens)" this used to append
|
|
179
|
+
// rode EVERY TOC bullet and read to the child as a fuel gauge for a window it cannot
|
|
180
|
+
// measure. The plugin keeps its own size math (render stats, admission probes) and
|
|
181
|
+
// never shows the session a number of its own making. The tape mask for the retired
|
|
182
|
+
// shape was removed with it at the re-distill.
|
|
183
|
+
summary: `${userCount} user / ${assistantCount} assistant messages`,
|
|
179
184
|
};
|
|
180
185
|
}
|
|
181
186
|
/** Workspace-relative chapter path for a reserved number. */
|