Change Mode
Change the execution mode of an in-flight intent. Use when:
- The mode chosen at start no longer fits (e.g.
discreteis too heavy for a small change, orcontinuousis too autonomous for high-risk work). - A teammate picked up an intent and wants different review semantics than the original owner.
- An intent was created with the wrong mode and you need to correct it before too much state accumulates.
Process
- Resolve the intent. If no slug is in scope (current branch isn't a
haiku/<slug>/...branch), ask which intent to change. Otherwise infer from the branch.
- Call
haiku_select_modewith the intent slug. The tool elicits a mode value from the user. It will automatically:
- Hide
quickfrom the picker if the intent has already started a stage (you cannot enter or leavequickmid-flight — it's single-stage by definition). - Hide all options except the current mode if the intent is in
quickand has started (no transition out is allowed). - For non-quick destinations: write
modeto intent.md and setstagesto the studio's full stage list (idempotent — restoring the full list is safe even if it was already there).
- Drive forward. After the mode is picked, call
haiku_run_next { intent: "<slug>" }. The workflow engine continues from wherever the intent currently is — mode changes don't reset stage progress.
Constraints
- No
quicktransitions mid-flight. Quick mode is single-stage and chosen at intent creation only. Switching into quick would amputate the rest of the workflow; switching out would suddenly add stages the user never reviewed. The engine refuses both. - Cannot change mode pre-studio. If
studioisn't set yet, the intent hasn't reached mode selection — use/haiku:haiku-startto drive the initial elicitation chain instead of this skill.
Notes
- This skill never accepts a free-form mode value as an argument. Mode is engine-managed; the only way to set it is through
haiku_select_mode's elicitation. discrete-hybridis a derived mode, not directly selectable. The engine computes it fromcontinuous+ per-stage external gates.