Routes to the settings workflow which handles:
- Config existence ensuring
- Current settings reading and parsing
- Interactive prompt (model, mode, research, job_check, verifier, branching)
- Config merging and writing
- Confirmation display with quick command references
The workflow handles all logic including:
- Config file creation with defaults if missing
- Current config reading
- Interactive settings presentation with pre-selection
- Answer parsing and config merging
- File writing
- Confirmation display
Mode configuration — include a mode question presenting all three options:
AskUserQuestion({
question: "Execution mode?",
header: "Mode",
multiSelect: false,
options: [
{ label: "Interactive (Default)", description: "All checkpoints present to user" },
{ label: "Yolo", description: "Human-verify auto-approved, decisions auto-select first option (legacy)" },
{ label: "Autonomous", description: "Machine-verified checkpoints, parked decisions, auto-resume (mode: autonomous) — see unattended-operation runbook" }
]
})
Write the selected mode with:
node ~/.claude/devflow/bin/df-tools.cjs config-set mode <interactive|yolo|autonomous>
When the user selects Autonomous, display a pointer after saving:
Autonomous mode enabled. For overnight/headless setup see:
@~/.claude/devflow/references/unattended-operation.md