4 Commits
Author SHA1 Message Date
NotExpectedYet 387f7c3510 fix: override the shipped standard preset in the compaction overlay
Release / release (push) Successful in 9s
`presets/standard-compaction.patch.yml` inserted a second `preset-standard`
declaration. It happened to take effect because it applied last, but which of
the two declarations mounted was decided by the loader's duplicate-id handling,
and the composed tree carried two rows with the same id.

The file now overrides the shipped row by id, so the intent is explicit and only
one declaration exists. `test/presets.test.js` composes the shipped declaration
and the overlay through the harness's own patch engine and asserts one row, no
skipped patch, and the compaction budget applied — which the old insert form no
longer satisfies.
2026-11-09 08:30:11 +00:00
NotExpectedYet 616cad75ce fix: rebuild both shipped presets from the harness standard
On dsh 0.2.2-rc.1 the harness folded `list_agents` into
`@deepseek-ai/dsh-tool-subagent-control` and stopped exporting its
`./list-agents` subpath. Both files under `presets/` are frozen copies of the
shipped `standard` composition, and the copy still named that row. A preset
declaration mounts every row it lists, so the row that could never start broke
the whole declaration: `facet` appeared on the roster with a `broken`
diagnostic and no session could compose it, which is why facet sessions stopped
resuming.

Both files are re-copied from the current `standard` patch and the three
documented changes are re-applied — the guard, the compaction budget, and the
persona's model-only prefix. The drift that came with the stale copy is fixed
with them: `time-context`, `tool-schedule` and `tool-plugin-market` are back,
`tool-subagent` uses the keys the harness reads (`modelSelection`,
`modelDiscovery`) instead of the retired `modelSelectionSettings`/`backgroundMode`,
`tool-fs` keeps `applyPatch: false`, and the plugin-manager row uses the shipped
`profileContext` condition.

The README now names this failure mode and why one dead row is fatal.
2026-11-06 07:20:32 +00:00
NotExpectedYet 4bc4296494 fix: stop the facet preset naming a prompt variable the harness dropped
The preset's persona row copied the deployment's suffix, "Your working directory
is {{cwd}}". The harness substitutes only registered prompt variables and throws
on an unregistered one during prompt assembly — so when a harness release stopped
registering `cwd` (only `provider` and `model` remain), every session on this
preset failed its first turn with

  unknown prompt variable "{{cwd}}" in section "deployment:persona-suffix"

and chat was dead rather than degraded. The row now carries the prefix only.

The folder is stated where it can follow the session instead: the facet binding
already names the facet, and now names the session folder as well when the two
differ — which is every conversation that started higher up and was narrowed, and
exactly the case where relative tool paths need saying out loud.

`test/presets.test.js` makes this class of failure impossible to reintroduce
silently: it scans every shipped preset for a variable reference and requires the
name to be one the harness registers, and holds this bundle's own rule and
binding text to no references at all. Restoring the old suffix fails it.
2026-10-19 09:56:26 +01:00
NotExpectedYet 0858862cda init 2026-09-26 06:45:50 +01:00