Skip to main content
Version: 0.4

Repertoire

The Repertoire is a collection of real-world workflows that demonstrate what Barnum is for. Each entry describes a complete use case — the problem, the workflow structure, and the code.

For the underlying building blocks (loop, branch, race, etc.), see Patterns.

WorkflowDescription
Adversarial reviewImplement → judge → revise loop until approved
Identify and refactorFind refactoring opportunities, implement in worktrees, review with an LLM
Code reviewParallel multi-check review (standards, security, performance)
Document verificationExtract claims from a document, verify each independently
Legal reviewParallel specialist analysis + synthesis
Babysitting PRsMonitor CI, respond to reviewers, auto-fix issues
Codebase migrationConvert an entire codebase file by file (JS→TS, class→hooks)
Dependency updatesBump deps, fix breaking changes, verify tests
Test generationAnalyze code, generate tests, run them, iterate on failures
Security remediationScan for vulnerabilities, classify, patch, verify
Release managementAggregate changelogs, bump versions, tag, publish
Incident triageCollect logs, correlate events, classify severity, draft runbook
Onboarding automationAnalyze repo, generate setup guides, verify they work
API contract verificationDiff API spec against implementation, flag breaking changes
LocalizationExtract strings, translate, verify in context