Skip to content

v3.38.8

Choose a tag to compare

@systematic-release systematic-release released this 29 Nov 19:02
· 17 commits to main since this release
Immutable release. Only release title and notes can be modified.
6198d16

What's new

Bug Fixes

Subagent sessions on OpenCode no longer get Systematic's bootstrap (#1576, c3d68d6). Before this fix, the bootstrap was added to every subagent session on OpenCode v1 and v2, no matter which agent ran there. The block is about 11,000 characters, roughly a third of a subagent's system message, and it tells the agent to load a skill before doing anything else. Its "skip this if you are a subagent" line didn't work. In runs recorded from 2026-11-26 to 11-28, 27 of 667 Systematic-owned subagent runs and 14 of 32 built-in general runs loaded a skill anyway, usually as their first action. Most of those loads were ce:review, loaded by the reviewers it had dispatched.

Now a session with a parent gets no bootstrap. On v2 the prompt hook reads the session record once and adds no instruction entry for a child session. On v1 the system-transform hook looks up the session through the client, with a 2-second deadline, and leaves a child's system message unchanged. The answer is cached per session. The check looks at the session's parent rather than the agent's mode, because an agent with mode: all can still run as a child. If the parent can't be read, the session keeps the bootstrap as before. Primary sessions, the title-agent skip and the bootstrap text are unchanged. Pi and Claude Code are not affected.

ce:review and document-review reviewers now get the closed values they must return (#1573, c027021). ce:review told the parent agent to dispatch each reviewer with a template that was "included below". That include was a literal @./references/subagent-template.md line, and nothing ever expanded it. The parent rarely opened the file and usually wrote its own short dispatch prompt, so reviewers had to guess the allowed values. About one reviewer return in ten failed schema validation the first time. Each skill's dispatch step now includes a short block that the parent copies into every reviewer prompt:

  • ce:review: severity, autofix_class, owner, the allowed pairings and the evidence shape
  • document-review: severity, autofix_class, finding_type, confidence and evidence

Each @./ include line is now an instruction to read a named file, and the skill says which stage reads it. A new contract test checks that neither skill has an @./ line, that every referenced file exists, and that every listed value matches the skill's schema.

Also in this release

Compare

v3.38.7...v3.38.8