Skip to content

v0.3.1: JSON contract covers only the final response

Latest

Choose a tag to compare

@ckomiya ckomiya released this 27 Nov 12:32
· 3 commits to main since this release

v0.3.1: JSON contract covers only the final response

What changed

A clarification in the shared protocol, the engine's fixed invocation text and the runtime rules: the JSON array is the final response only; satellites use their tools before it.

Why: Atlas and York (Haiku) could read "answer with only the JSON array" as a ban on using tools (Atlas refused or wrote nothing; York did not open the deliverables).

How it was tested

Isolated test with frozen contexts from run P11, with success criteria and thresholds fixed before running.

Check (fixed in advance) Before After Fisher, one-sided Verdict
York, 5 attempts 0/5 4/5 p ≈ 0.024 passes
Atlas, first 5 attempts 2/5 2/5 p ≈ 0.74 does not pass
Atlas, 15 attempts 9/15 12/15 p ≈ 0.21 not demonstrated

Looked at after the results (not pre-set criteria):

  • Atlas wrote both files in 15/15 attempts after the change (9/15 before).
  • York opened both deliverables in 5/5 attempts (0/5 before).
  • No attempt after the change refused or cited the JSON rule.

Interactive attempts: all 8 succeeded. In the 4 with the engine's usual setup (Sonnet main session, auto permission mode), Atlas and York returned the array through Claude Code's subagent handback.

Smoke run in Standard mode (Pythagoras, Edison, Lilith, Shaka): completed, all drafts accepted, no retries, 2.1 M tokens, engine ≈ 90 % of tokens.

Known limitations

  1. A satellite can still wrap its final JSON in prose or a code fence; the script rejects it and the engine retries once. Seen in 4 of 20 isolated claude -p attempts after the fix, and in 0 of 8 interactive ones.
  2. Under Claude Code's subagent handback, satellites sometimes write the array as plain text before delivering it, or need the harness to remind them to deliver it. This already happened with v0.3.0 at a similar rate and costs extra output, but the delivered array is unaffected.
  3. The isolated test judged whether files were written and drafts were valid, not the quality of the files. The samples are small.

Other fixes

  • EngineError now keeps a string message intact (latent bug: the CLI already used the error list).
  • Documentation fixes: demo README note, iteration cost wording, P4 row, research_rounds spelling, prompts README.

Compatibility

No schema change: schema_version stays "0.3.0", so v0.3.0 missions remain readable. Specification version 0.3.1.