Submit Adaptations
submit_adaptationsSubmit multiple code adaptations in one call, validating each independently and applying only accepted items in a single atomic update to changes.yaml.
Instructions
Submit several adaptations in one call, with per-item accept/reject.
Each item: {"kind": "prompt"|"file", "source_path", "content", "rationale", "changes"?, "new_file"?, "unchanged"?, "allow_restructure"?, "guidance_dispositions"?, "annotated_changes"?, "default_disposition"?, "default_disposition_note"?} — the same rules as the single-submission tools. Items validate independently (never all-or-nothing) and the accepted subset is applied in one locked, atomic write to changes.yaml.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"run_dir": "<run_dir>",
"submissions": "<submissions>"
},
"name": "submit_adaptations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| now | No | ||
| run_dir | Yes | ||
| submissions | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||