Submit Adapted Prompt
submit_adapted_promptSubmit a reviewed prompt adaptation for the target model: validate changes with evidence, or confirm the original unchanged, rejecting cosmetic-only edits.
Instructions
Validate and store one refined prompt for the target model.
Adapt minimally: keep the original wording and structure except where a
listed model difference or evidence-linked guidance item requires a
change, and cite that evidence in changes. Validation runs on the
DECODED runtime prompt values, and a submission whose decoded values
equal the original's — or differ only by whitespace or letter case — is
rejected: serialization tricks, escapes, quoting and cosmetic edits are
never an adaptation. If the prompt needs no change, pass unchanged=true
with an EMPTY adapted_prompt (combining it with content is an error)
to record a reviewed no-change deliverable; the claim is refused when the
prompt's decoded values still reference the source model. Blockers are
rejected, and a submission that drops the original's structural sections
(XML-like tags or prompt components) is rejected unless
allow_restructure is true and the justification is recorded in
changes. Accepted prompts are written beneath <run>/output/prompts/
mirroring the application layout, and the rationale/changes appear
verbatim in the final migration report.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changes | No | ||
| run_dir | Yes | ||
| rationale | Yes | ||
| unchanged | No | ||
| source_path | Yes | ||
| adapted_prompt | Yes | ||
| allow_restructure | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||