Skip to main content

Barnum Repertoire

Each routine below is a self-contained workflow you can copy, adapt, and combine.

Quick Reference​

RoutineDescription
Linear PipelineStep-by-step processing (A → B → C)
BranchingConditional paths based on output
Fan-OutSplit one task into many parallel tasks
Fan-Out with FinallyParallel changes with commit on completion
Sequential ProcessingEnforce single-threaded task execution
Adversarial ReviewImplement → judge → revise loop
Branching RefactorRoute to specialized agents based on analysis
Error RecoveryCatch failures and route to recovery steps
Pre/Post/Finally HooksTransform data, aggregate results, cleanup
ValidationSchema validation for inputs and outputs
Local CommandsRun shell scripts instead of agents
Code ReviewParallel PR review with standards and security checks
Legal ReviewParallel contract analysis with final recommendation
Document VerificationExtract and fact-check claims from a document
Editing AssistantParallel writing analysis: thesis, logic, structure