Estimate daily token spend for loop engineering patterns by cadence and readiness level (L1–L3).
Uses cost metadata from patterns/registry.yaml.
npx @cobusgreyling/loop-cost --pattern ci-sweeper --cadence 15m --level L2
npx @cobusgreyling/loop-cost --pattern daily-triage --level L1 --json
npx @cobusgreyling/loop-cost --listFrom this repo:
cd tools/loop-cost
npm install
npm testEach estimate includes:
- Early-exit / no-op — empty watchlist, minimal tokens
- Full triage — every run does a full scan
- Action every run — implementer + verifier every time (worst case)
- Realistic blend — level-based mix (documented in output)
Pair with loop-budget.md (scaffolded by loop-init) and loop-audit cost observability checks.
