Skip to main content

Module mode

Module mode 

Source
Expand description

Execution mode and the mode-driven gate decision.

Mode is a per-session CLI flag on devflow start — there is no config file and no per-phase toggling.

  • Auto: Define and Plan run once. Code ↔ Validate auto-loop until clean. Then Ship. The only human gate is at Ship — unless Validate fails MAX_CONSECUTIVE_FAILURES times in a row, which forces a gate.
  • Supervise: Same pipeline, but Validate always fires a gate to Hermes → Human before advancing to Ship.

Structs§

ModeParseError
Error returned when parsing an unsupported mode name.

Enums§

Mode
How DevFlow drives the pipeline for a session.

Constants§

MAX_CONSECUTIVE_FAILURES
Number of consecutive Validate failures in Auto mode before a gate is forced.