Skip to content

Add cost/token observability across loop tooling#13

Merged
cobusgreyling merged 1 commit into
mainfrom
feat/cost-token-observability
Jun 10, 2026
Merged

Add cost/token observability across loop tooling#13
cobusgreyling merged 1 commit into
mainfrom
feat/cost-token-observability

Conversation

@cobusgreyling

Copy link
Copy Markdown
Owner

Summary

Operationalizes cost/token awareness as a first-class part of loop engineering:

  • Registry — per-pattern cost metadata (noop/report/action tokens, daily caps, early-exit flags)
  • loop-init — scaffolds loop-budget.md, loop-run-log.md, and loop-budget skill on every pattern
  • loop-audit — scores cost observability; caps L3 until budget + run log + LOOP.md budget exist
  • loop-cost — new CLI for daily token spend estimates by pattern, cadence, and level
  • Docs — Cost Profile sections in all 6 patterns; cost-aware picks in pattern-picker
  • Dogfood — reference repo includes budget/run-log files and skills/loop-budget

Test plan

  • npm run validate:registry
  • npm run test:tools (loop-audit, loop-init, loop-cost)
  • loop-audit on reference repo → L3 with full cost observability

- Extend patterns/registry.yaml with per-pattern cost metadata
- Scaffold loop-budget.md, loop-run-log.md, and loop-budget skill via loop-init
- Score cost observability in loop-audit; cap L3 without budget + run log
- Add loop-cost CLI for daily token spend estimates
- Document cost profiles in all patterns and pattern-picker
- Dogfood observability files in the reference repo
@github-actions

Copy link
Copy Markdown
Contributor

Loop Readiness Audit

Score: 100/100 (L3)

Strong loop readiness — good candidate for L3 with explicit gates.

No suggestions — looking good.

Posted by audit.yml · loop-audit docs

@cobusgreyling cobusgreyling merged commit 2d662e4 into main Jun 10, 2026
2 checks passed
@cobusgreyling cobusgreyling deleted the feat/cost-token-observability branch June 10, 2026 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant