When authoring/editing CI-driven “step” scripts for automation, treat {auto_mode} as a strict, schema-driven contract:
{auto_mode}, avoid halting/asking. If the invocation (e.g., spec file or staged changes context) lets you infer intent, select the correct option automatically; only prompt if inference truly fails.status:) rather than human markdown headings.Example (schema-correct automation status instruction):
# Wrong (human-only wording):
# Update the "Status section" to done/in-progress
# Correct (schema-driven wording):
Update the spec's YAML frontmatter `status:` field to `done`/`in-progress`.
Example (intent inference to avoid blocking):
If invocation indicates “code-review staged changes”
→ auto-select the corresponding review option and proceed
instead of asking “What do you want to review?”