Repository navigation
feat(plugin): /context-guru:insights groups savings, cache and tools - #544
Conversation
11ad23e to
de094af
Compare
OsherElhadad
left a comment
There was a problem hiding this comment.
Review: APPROVE at 11ad23e (stacked on #526 dded586). (Posted as a comment: GitHub does not let the author account approve.)
- Naming and grouping only.
cmd_insightsdispatchessavings,cacheandtoolsto the samecmd_savings,cmd_cacheandcmd_wastefunctions, and the old commands stay inCMDS. The output changes only in command names: the More: lines, the home list and the estimate lines. The remaining golden additions are the new insights screens, built from the existing synthetic fixtures. - Pre-approvals. Every redirect and old-name skill now pre-approves the same quoted
cg.py" insights:*read, so nothing new is pre-approved. I ran four write-shaped commands under insights against a stub that records methods (insights apply tools x@y,insights tools apply x@y,insights revert tools,insights savings --force apply). Each exited non-zero and sent no request at all. - Codex parity. The Codex skills mirror these (insights plus the redirects), and the two copies of
cg.pyare byte-identical. The Codex tests pass (40, unittest). gofmtandgo vetare clean. The plugin suite passes; two install-port tests failed once under load and passed on rerun (-count=2). CI is green, and the commit is signed off with no AI attribution. The PR body has no figures.
Nit, non-blocking: cg.py insights <unknown> prints the save-more usage line rather than an insights one.
This approval covers 11ad23e.
OsherElhadad
left a comment
There was a problem hiding this comment.
Re-check: APPROVE at de094af. git range-diff against 11ad23e shows the insights commit unchanged (now 7015d9a on #526's a9b9523) plus one fix, de094af. A change typed under insights now prints the exact command, because insights is dropped from the leftover words, and the new apply-under-insights golden pins it. go vet is clean, the plugin goldens and the scan test pass, and the two cg.py copies are identical. The 40 Codex tests pass and CI is green. Signed off. This approval covers de094af.
OsherElhadad
left a comment
There was a problem hiding this comment.
Re-check: APPROVE at 072a17b. insights <unknown> now prints insights' own usage, pinned by the new insights-unknown golden, and both cg.py copies change identically. The stale cc-remove-mcp-and-skills .cast and SVGs are deleted, and nothing in docs, the README or the plugin references them. The goldens and scan test pass, go vet is clean, CI is green and it is signed off. This approval covers 072a17b.
/context-guru:insights shows the three screens one after another; insights savings, insights cache and insights tools (the old waste) show one. Output and logic are unchanged; only the names move. savings, cache, waste and the older insights-* and cost-* names are one-release redirects to the new names, on Claude Code and Codex. The home screen and the estimate lines name the new commands. Signed-off-by: Osher-Elhadad <[email protected]>
Signed-off-by: Osher-Elhadad <[email protected]>
…e; drop a stale screen recording Signed-off-by: Osher-Elhadad <[email protected]>
072a17b to
5559f25
Compare
What
A naming and grouping change: one command,
/context-guru:insights, covers savings, cache and tools./context-guru:insights/context-guru:insights savings/context-guru:savings)/context-guru:insights cache/context-guru:cache)/context-guru:insights tools/context-guru:waste, renamed only)More:lines, the home screen's command list and the estimate lines change.insightsused to redirect tostatus; it is now this command.savings,cacheandwaste, the olderinsights-capabilities(nowinsights tools),insights-components(insights savings) andinsights-idle(insights cache), and thecost-*names stay for one release as redirects that say where the command moved.$context-guru-insights, with the same structure and redirects.cg.py" insights:*, which the skill scan test covers.Tests
insights, each subcommand,insights tools detailsand thewasteredirect.Docs
docs/plugin/insights.md, the renamed savings/cache/tools pages, the command table and migration table indocs/plugin/index.md, the README command list, and the Codex README.Stacked on #526.