Skip to main content

checkpoint_auto_decide_prompt

Function checkpoint_auto_decide_prompt 

Source
pub fn checkpoint_auto_decide_prompt(phase: PhaseId) -> String
Expand description

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.

Deliberately deterministic: no timestamp, no random content, no varying state. Two calls for the same phase produce byte-identical strings, so the checkpoint_auto_decided audit event (D-07, plan 28-03) can quote this exact instruction without churning on every resume. phase is included only for operator legibility in the captured stdout — the instruction’s meaning does not depend on it.