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.
| Workflow | Description |
|---|---|
| Adversarial review | Implement → judge → revise loop until approved |
| Identify and refactor | Find refactoring opportunities, implement in worktrees, review with an LLM |
| Code review | Parallel multi-check review (standards, security, performance) |
| Document verification | Extract claims from a document, verify each independently |
| Legal review | Parallel specialist analysis + synthesis |
| Babysitting PRs | Monitor CI, respond to reviewers, auto-fix issues |
| Codebase migration | Convert an entire codebase file by file (JS→TS, class→hooks) |
| Dependency updates | Bump deps, fix breaking changes, verify tests |
| Test generation | Analyze code, generate tests, run them, iterate on failures |
| Security remediation | Scan for vulnerabilities, classify, patch, verify |
| Release management | Aggregate changelogs, bump versions, tag, publish |
| Incident triage | Collect logs, correlate events, classify severity, draft runbook |
| Onboarding automation | Analyze repo, generate setup guides, verify they work |
| API contract verification | Diff API spec against implementation, flag breaking changes |
| Localization | Extract strings, translate, verify in context |