cyberneticlibrary

Compare options with scored table

compare-optionsworkflowsetup L21
samarthpatel24/workflow-pack
What it does

Compare Options

Best for

Head-to-head option comparison: parallel research + impartial scoring.

Inputs
  • · options array (strings or parsed)
Outputs
  • · verdict string (PASS/WARN/FAIL or yes/partial/no)
  • · findings array with evidence + root causes
  • · markdown comparison table
Requires
  • · agent-orchestration-engine
  • · parallel-execution-runtime
  • · schema-validation (zod or JSON-schema)
  • · phase-tracking-system
Preconditions
  • · workflow must export meta={name, description, phases}
  • · args may be JSON-stringified; parse defensively
  • · multi-phase execution context available
Failure modes
  • · null/undefined agent results filtered; total < expected → synthesis data-starvation
  • · agent output fails schema validation → workflow errors or graceful downgrade
Trust signals
  • · Structured schemas with required fields and enums
  • · Explicit null-filtering on agent results