Documentation
¶
Overview ¶
Package pipelinegate refuses daemon startup when `dark-factory doctor` reports pipeline findings, naming the offending prompt numbers so a blocked queue cannot masquerade as an idle one.
Index ¶
Constants ¶
const DefaultEnabled = false
DefaultEnabled is the default for the gate's enabled control. The gate ships unarmed because arming it is an operational decision owned outside this spec; flipping this one constant arms it.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gate ¶
type Gate interface {
// Check returns nil when the gate is disabled, skipped, or doctor reports no
// findings. Returns a findings-naming error when the pipeline is dirty
// (the caller treats it as terminal).
Check(ctx context.Context) error
}
Gate refuses daemon startup when the pipeline is not clean.