You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: dreamer.inject_docs=false now actually omits project docs
When the <project-docs> block moved from the system prompt into the m[0]
baseline, the dreamer.inject_docs gate stayed behind on the retired
system-prompt path: the flag was still computed and passed to the
system-prompt handler, which never used it, while the m[0] compose read
ARCHITECTURE.md and STRUCTURE.md unconditionally on both harnesses. The
flag silently did nothing.
Thread the flag through OpenCode and Pi m[0] injection instead, with
flag-only semantics independent of dreamer runnable state (docs exist on
disk and are hand-authored regardless of whether the dreamer maintains
them). Every docs read site routes through one gated helper per harness
that returns the rendered block and the docs hash together as the stable
empty pair when disabled, so execute, defer, fallback, and snapshot-marker
paths all agree byte-for-byte. Flipping the flag mid-session does not
force a materialization on its own; like docs content edits, it folds in
on the next natural hard bust. The dead system-prompt plumbing is removed
and the schema description now says what the flag actually gates.
Fixes#210
|`dreamer.tasks.refresh-primers.thinking_level`|`"off"`\\|`"minimal"`\\|`"low"`\\|`"medium"`\\|`"high"`\\|`"xhigh"`| — | Pi only: per-task thinking level |
201
201
|`dreamer.tasks.refresh-primers.timeout_minutes`| number (5–) |`20`| Minutes allowed for this task before it is aborted |
202
-
|`dreamer.inject_docs`| boolean |`true`| Inject ARCHITECTURE.md and STRUCTURE.md into system prompt|
202
+
|`dreamer.inject_docs`| boolean |`true`| Inject ARCHITECTURE.md and STRUCTURE.md into the m[0]`<project-docs>` block (default true)|
203
203
|`dreamer.thinking_level`|`"off"`\\|`"minimal"`\\|`"low"`\\|`"medium"`\\|`"high"`\\|`"xhigh"`| — | Pi only: default thinking level for dreamer subagent invocations. See historian.thinking_level. |
0 commit comments