Skip to main content

Module verify

Module verify 

Source
Expand description

Explicitly operator-approved external post-condition verification.

Commands are discovered only from PLAN.md YAML frontmatter. Because those files are agent-writable, execution additionally requires the parent process’s TRUST_EXTERNAL_VERIFY_ENV authorization.

Constants§

TRUST_EXTERNAL_VERIFY_ENV
Explicit operator-owned approval for executing PLAN-declared shell.

Functions§

external_verification_approval
Return the exact command bytes approved by the operator.
external_verify_commands
Return external verification commands declared by this phase’s plans.
phase_has_blocking_human_checkpoint
Return true if any plan declared for phase carries a task with the human-blocking checkpoint gate attribute.
phase_has_human_only_checkpoint
Return true if any plan declared for phase DECLARES a checkpoint task that GSD will not auto-approve in any mode.
phase_plan_files
Discover a phase’s declared plan files: .planning/phases/{NN}-*/{NN}-*-PLAN.md, sorted. Returns an empty vec if the phase directory is missing or unreadable — never panics, never errors.
run_external_verification
Run one explicitly operator-approved external verification command.