cyberneticlibrary

Fix bugs with test-driven regression gates

bugfixworkflowsetup L312
hivellm/rulebook
What it does

Research-first bug fix: root-cause the bug, write

Best for

Orchestrating multi-phase agent workflows with structured handoff and consensus-driven decision gates.

Inputs
  • · args object (workflow parameters)
  • · source document or file
Outputs
  • · structured result object
  • · formatted report or summary
  • · output files or modifications
Requires
  • · Claude agent runtime (Workflow)
  • · agentic subagents (multi-agent orchestration)
Preconditions
  • · structured output schema defined
  • · Claude agent runtime available
  • · file system access for read/write
Failure modes
  • · schema validation failure (invalid JSON or required fields missing)
  • · agent timeout or inference failure
  • · early termination signal (kill signal or max cycles hit)
Trust signals
  • · strict structured output schema enforces correctness
  • · claims traced to source citations
  • · independent verification phase double-checks results
  • · convergence logic (loop termination on stable state)