Skip to content

Releases

v0.3.7 — codeDiscipline graduates to native AGENTS.md injection

Choose a tag to compare

@782042369 782042369 released this 07 Sep 01:35

What changed

codeDiscipline: archived in favor of the native instruction pipeline

Investigation on live deployments revealed that the harness deep-freezes llm/stream request objects — every property AND the messages array. That closes all in-hook mutation channels: direct assignment, Object.defineProperty, and array splicing are all rejected by the runtime.

The discipline text now lives in ~/.dsh/AGENTS.md, injected natively into every system prompt:

  • effective on the next turn, no restart needed
  • immune to framework upgrades (official pipeline, no hook hacks)
  • codeDiscipline: "off" is the archived default in config

Unchanged (still working)

  • compaction maxTokens raise + cheapest reasoning effort
  • missing description autofill for tools/execute
  • doomed escalation strip

New diagnostics

  • load banner: compat-guard v0.3.7 loaded (codeDiscipline=...)
  • first-request probe (provider/model/purpose/tools/system shape) via journalctl -u dsh-web

Install: dsh plugin --profile web add github:782042369/dsh-model-compat-guard#v0.3.7