test(snapshots): reconcile scripted run_code fixtures with the required description

The scripted (non-recorded) fixtures' run_code calls predate the required
description parameter, so replay rejected them at validation before any
dispatch: patch the scripted programs' args (tool/call, message blocks,
and chunk deltas together) and refresh goldens keylessly. Also picks up
the v4-pro re-records of the code-mode scenario pair whose live model
drifted from the overlay pin, and drops tmp-path churn.
This commit is contained in:
Tianyi Cui
2026-07-26 08:58:04 +08:00
parent 7f8c3cc6b8
commit abfc7b7ed1
17 changed files with 145 additions and 137 deletions
@@ -168,10 +168,15 @@
"code": {
"type": "string",
"description": "The program: the body of an async TypeScript function."
},
"description": {
"type": "string",
"description": "Clear, concise description of what this program does in active voice, 5-10 words (shown in the UI). Examples: \"Count TODO markers across packages\"; \"Read failing test and its fixture\"; \"Rename config key in every cordis.yml\"."
}
},
"required": [
"code"
"code",
"description"
]
}
},