Skip to main content

Module prompt

Module prompt 

Source
Expand description

Stage-specific agent prompts.

Prompts are minimal: each stage hands the agent its GSD slash command (from Stage::gsd_command) and the DEVFLOW_RESULT completion contract. There is no long instruction template — the GSD command carries the process, and DevFlow only needs the structured completion marker back.

Enums§

FixType
A fix variant used when looping Code ↔ Validate.

Functions§

checkpoint_auto_decide_prompt
The synthesized instruction sent into a resumed Claude session when a confirmed human-blocking checkpoint has nobody available to answer it (D-03, 28-CONTEXT.md): DevFlow’s default, unconditional policy — no flag, no config toggle — is for the agent to resolve the checkpoint itself, using its own judgment, and record why.
fix_prompt
Build a fix prompt used on Code → Validate loop-backs.
stage_prompt
Build the prompt for a stage of a phase.
stage_prompt_for_project
Build a stage prompt with project-local configuration applied.