@fractalsynapse/dsh-chapters 0.2.50 → 0.2.52

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 CHANGED
@@ -28,7 +28,7 @@ run that produced it, and which run that was is part of the record.
28
28
 
29
29
  <!-- versions:begin -->
30
30
 
31
- > Regenerated from the verdicts of the host-matrix GitHub Actions workflow on 2026-11-24 06:32 UTC — real test-suite legs per version with the whole hat family re-resolved. Verdicts from REAL runs, not compose probes.
31
+ > Regenerated from the verdicts of the host-matrix GitHub Actions workflow on 2026-11-24 15:05 UTC — real test-suite legs per version with the whole hat family re-resolved. Verdicts from REAL runs, not compose probes.
32
32
 
33
33
  | DSH host version | Verdict | Real-leg results | Last run (UTC) |
34
34
  |---|---|---|---|
package/cordis.patch.yml CHANGED
@@ -252,12 +252,14 @@
252
252
  maxBytes: 65536
253
253
  - id: time-context
254
254
  name: '@deepseek-ai/dsh-time-context'
255
+ # #537: NO `disabled: !!js` here. Platform eligibility for these two rows is decided in
256
+ # code (preset.ts PLATFORM_ELIGIBLE) and dropped-and-named at boot — JS-in-YAML executed
257
+ # arbitrary expressions at config load and made this file unparseable to standard YAML
258
+ # tooling (measured: PyYAML refused the tag the same day the host-matrix read it).
255
259
  - id: tool-bash
256
260
  name: '@deepseek-ai/dsh-tool-bash'
257
- disabled: !!js process.platform === 'win32'
258
261
  - id: tool-pwsh
259
262
  name: '@deepseek-ai/dsh-tool-pwsh'
260
- disabled: !!js process.platform !== 'win32'
261
263
  - id: tool-fs
262
264
  name: '@deepseek-ai/dsh-tool-fs'
263
265
  - id: tool-fs-search
@@ -345,8 +347,12 @@
345
347
  config:
346
348
  - id: tool-subagent-control
347
349
  name: '@deepseek-ai/dsh-tool-subagent-control'
348
- - id: tool-subagent-list-agents
349
- name: '@deepseek-ai/dsh-tool-subagent-control/list-agents'
350
+ # #526: the ./list-agents SUBPATH row is deliberately NOT declared here. The host's
351
+ # composition loader imports static row specifiers at profile load — before any
352
+ # chapters code runs — so a subpath a host version retires (0.2.2-rc.5 removed it)
353
+ # marks the WHOLE preset BROKEN no matter what our pruning predicate decides.
354
+ # Version-dependent rows are appended by preset.ts's ensureVersionedRows, gated on
355
+ # the host's own exports map, the only place the keep/drop call can be made correctly.
350
356
  - id: tool-subagent
351
357
  name: '@deepseek-ai/dsh-tool-subagent'
352
358
  config:
@@ -961,15 +961,22 @@ Rules that follow, in the order they bite:
961
961
  manifest file that contributes no tokens fails its own row, so a silently-dead extraction rule cannot masquerade as
962
962
  protection.
963
963
 
964
- 1a. **A file belongs in the anchor only while it contains literals that reach the model (#362).** `src/preset.ts` was
965
- listed on the stated premise that it *is* the persona; it is not — the persona is `cordis.patch.yml`'s
966
- `prefix`/`suffix`, already covered — and the whole-file extraction it used matched `'([^'\n]*)'`, so two apostrophes
967
- on one line of ordinary JSDoc manufactured a token out of comment prose. All 77 of its "model-facing bytes" were
968
- artifacts of that rule, and editing a comment moved `promptAnchor`: a green corpus was declared stale and the tool
969
- demanded a full re-record of every project. It is removed from `PROMPT_SURFACE`, with a tripwire row that fails if
970
- persona literals ever appear in that file, so the removal cannot quietly become a hole. The general shape to guard
971
- against is the one the item above already names for the opposite case: a rule that measures more than the model
972
- sees trains people to route around it, exactly like a rule that measures nothing.
964
+ 1a. **A file belongs in the anchor only while it contains literals that reach the model (#362, amended by #526).**
965
+ `src/preset.ts` was listed on the stated premise that it *is* the persona; it is not — the persona is
966
+ `cordis.patch.yml`'s `prefix`/`suffix`, already covered — and the whole-file extraction it used matched
967
+ `'([^'\n]*)'`, so two apostrophes on one line of ordinary JSDoc manufactured a token out of comment prose. All 77
968
+ of its "model-facing bytes" were artifacts of that rule, and editing a comment moved `promptAnchor`: a green
969
+ corpus was declared stale and the tool demanded a full re-record of every project. It was removed from
970
+ `PROMPT_SURFACE`, with a tripwire row so the removal could not quietly become a hole. #526 then moved a real
971
+ model-facing byte INTO that file — the `tool-subagent-list-agents` row left the patch's static YAML (where
972
+ `yamlScalars` covered its `name:`) and became a row the code appends, and a tool name reaches the model in its
973
+ tool list whatever file composes it. So the file returned **with the rule narrowed to the `VERSIONED_ROWS` name
974
+ literals**: comment prose, ids and persona types cannot move the anchor (the legitimate half of #362 stands,
975
+ tested), a renamed row must (tested the other way), and the token shape matches the YAML rule (`name='…'`) so
976
+ the move reads as a relocation, not an invention. The general shape guards both directions: a rule that measures
977
+ more than the model sees trains people to route around it, exactly like a rule that measures nothing — and an
978
+ anchor that covers the bytes a file used to carry while ignoring the code that replaced them is the quiet escape
979
+ the #362 tripwire itself named.
973
980
  2. **`PROVENANCE.md` per leg is necessary, not sufficient.** It records the host and regime; it cannot
974
981
  say "this leg predates three plugin commits". The stamp is what says that, and #156's split is what stops the stamp from
975
982
  crying wolf on every rebuild.
@@ -1425,3 +1425,27 @@ plan on record): SAIP self-driving journey — end-state file drafted with the a
1425
1425
  three models swapped live at runtime, autorun uncapped; durable-log watching names every stop by
1426
1426
  mechanism. Open: #491/#462 await the still-undelivered scheduled cycle (cron ~10h late, past
1427
1427
  pattern — dispatch fallback decided for tomorrow if absent); #456 Tier B remains the campaign day.
1428
+
1429
+ ## 0.2.52 cut (2026-11-25): the self-driving audit closes at the roots; the support floor is enforced by composition
1430
+
1431
+ **Shipped:** #532 (autorun survives its own fired prompts — the human-lane move of 0.2.51 made the
1432
+ loop's own message look like human input, so every run died at the first boundary), #529 (backlog
1433
+ chase: every archive moment drains the whole enrichment queue in capped passes; failure stops the
1434
+ chase — measured starvation HOURS on the live SAIP session), #530 (goal objectives title machine-
1435
+ prose spans), #531 (retrieval counters in /chapters-status), #537 (no JS executes at config load;
1436
+ platform eligibility rides PLATFORM_ELIGIBLE drop-and-name, drift-guarded), #526 (the retired
1437
+ list-agents subpath leaves the STATIC composition — it marked the whole preset broken on 0.2.2-rc.5+
1438
+ hosts before any plugin code ran — and returns as a predicate-gated dynamic append; the anchor rule
1439
+ gained versionedRowNames so the relocated bytes stay scanned; twelve legs replay the re-anchored
1440
+ build), #540 (+#462 groups via #538: every typing hint mirrors its handler — /chapters-prompt
1441
+ advertised 3 of 10 verbs, /chapters-save advertised a ghost — with a CI guard both directions; the
1442
+ promptAnchor now measures exactly the model-visible text; all 30 site pages re-verified). Maintainer
1443
+ authority: 'fix the remaining issues in this release… cut a new release and get SAIP back on track
1444
+ with your monitoring'.
1445
+
1446
+ ## 0.2.51 cut (2026-11-25): prompts in the human lane, marked; the ghost bar dies
1447
+
1448
+ **Shipped:** #523 (auto lane + [auto] marker, maintainer delegation, tape re-recorded green) and
1449
+ #519 (run-consumption immediate mirror + persisted cache). Live SAIP self-driving session drove the
1450
+ findings; #520/#521 filed for the host team. Rounds stay uncapped, models stay live-swappable, and
1451
+ the next self-driving session sees every machine-written prompt in its own timeline.
package/lib/client.js CHANGED
@@ -936,6 +936,18 @@ window.__ModuleLoader__.load({
936
936
  t: "running",
937
937
  running: true
938
938
  });
939
+ if (sessionId !== void 0) {
940
+ const runEntry = {
941
+ ev: {
942
+ t: "polled",
943
+ status: "off"
944
+ },
945
+ autorun: null,
946
+ at: Date.now()
947
+ };
948
+ stateCache.set(sessionId, runEntry);
949
+ writePersisted(sessionId, runEntry);
950
+ }
939
951
  }).catch((error) => {
940
952
  console.warn(`[client:prompt] run failed: ${String(error?.message ?? error).slice(0, 160)}`);
941
953
  }).finally(() => {