{
  "amendment": 1,
  "amends_protocol_sha256": "913ce16ae35b4582326349f2c03c5f7e64819ef8acb144f20dc1ae806f0ab5a4",
  "declared_at": "2026-10-22T23:18:57.887641+00:00",
  "trigger": "During the final collection, one claude-haiku-5-5 run (Q45, sql arm, run index 1) sent run_sql a statement with an unterminated string. Round 1's sandbox parser raised a tokenizer error, which is not a ValueError, so the tool backend did not catch it and the collector stopped before writing that run.",
  "change": "The tool backend returns {\"error\": \"Query refused: SQL could not be tokenized\"} for any SQL parser library error, the same agent-visible outcome as a parse rejection. In scoring, a final answer whose SQL raises the same error is scored query_denied, the status round 1 gives a parse rejection; round 1's code is not edited, score_run3.py catches it.",
  "effect_on_collected_runs": "None. Every run written before the amendment completed without reaching this path: any run that reached it would have stopped the collector. Cache keys are unchanged (they hash the unchanged protocol).",
  "the_stopped_run": {
    "cache_key": "fe21a1138ff422e1d04d8a18bf0637171e8f7c0189bb74ab6464c7ec3b0fdc8a",
    "question": "Q45",
    "arm": "sql",
    "model": "claude-haiku-5-5",
    "run": 1,
    "handling": "Collected again under its own key after this amendment. Its first attempt left no cache entry; its usage was not returned, so its cost is counted at the US$0.03 reservation, an upper bound."
  },
  "file_sha256": {
    "agents.py": "e0de2d5e8950c326b0fc5d426356b867714862c57b50426ea1b2e213314a4220"
  },
  "private_file_sha256": {
    "_private/tools/claude_agents.py": "38a002faa86eb82e9e27be57eb42ebef6cb8e847d5c16608579c937c6d3b481a"
  }
}
