Files
ruflo/plugins/ruflo-cost-tracker/agents
rUvandReuven 4f1580bf18 docs(cost-tracker): consistency audit — agent + README mention all 13 skills (v0.16.1) (#1750)
Audit findings (now fixed):
- cost-analyst.md mentioned only 3 of 13 skills. The agent didn't know
  about cost-budget-check, cost-trend, cost-conversation, cost-export,
  cost-federation, cost-summary, cost-benchmark, or cost-compact-context
  — capabilities silently invisible to spawned cost-analysts.
- README skills table missing 4 rows: cost-conversation, cost-export,
  cost-federation, cost-summary.
- README "Commands (8 subcommands)" header was stale (now 15) AND
  duplicated `cost budget set` line.

Fixes:
- agents/cost-analyst.md — replaced static "Tools" list with a 13-row
  Skills table (role + when-to-invoke per skill), updated MCP tool
  list to reflect actual usage (memory_*, hooks_route, hooks_model-outcome,
  hooks_worker-status), kept the existing Agent Booster / Background
  workers / Memory / Neural-learning sections.
- README.md — added 4 missing skill rows; rewrote Commands block to
  the canonical 15-subcommand layout (no dupes).

New smoke checks (now 48/48, ~85ms) prevent this drift recurring:
  41. agent mentions every skill dir
  42. README skills table has a row per skill dir
  43. every script in scripts/ parses cleanly (node --check)
  44. plugin.json parses as valid JSON + matches step-1 version sentinel

Init verification:
  - plugin.json valid: name=ruflo-cost-tracker, version=0.16.1, 23 keywords
  - 10/10 scripts executable + parse
  - 13/13 skills with valid frontmatter
  - smoke 48/48 pass in ~85ms

Branch: audit/cost-tracker-v0.16-consistency
Version: 0.16.0 → 0.16.1 (patch — docs + smoke).

Co-authored-by: Reuven <cohen@ruv-mac-mini.local>
2026-05-05 09:45:56 -04:00
..