cyberneticlibrary

Gate selection and candidate filtering

triagecommandsetup L21
mocchalera/video-os-v2
What it does

Gate 4: consume analysis and emit candidate selection

Best for

Filtering and ranking candidate solutions at the gating step when analysis is complete.

Inputs
  • · project state
  • · analysis artifacts
  • · creative brief
Outputs
  • · selects_candidates.yaml file
  • · project state updated
  • · progress.json incremented
Requires
  • · runTriage()
  • · project_state.yaml
  • · creative_brief.yaml
Preconditions
  • · analysis_gate ready or partial_override
  • · 01_intent/creative_brief.yaml exists
  • · project_state.yaml writable
Failure modes
  • · analysis_gate not ready → refuse to continue
  • · missing creative_brief.yaml → stop with error
  • · project_state.yaml locked → report and wait
Trust signals
  • · Gate 4 only (enforced phase)
  • · analysis_gate readiness check
  • · contract validation (artifact presence)
  • · state.yaml update on success