From a3f1624b152f4b92f124943a721640ad43dd43ad Mon Sep 17 00:00:00 2001 From: Bastien Chanot Date: Wed, 26 Aug 2026 19:35:46 +0200 Subject: [PATCH] =?UTF-8?q?optimize=20status-reporter:=20d5=20=E2=80=94=20?= =?UTF-8?q?unproducible=20token=20field=20replaced=20by=20/plugin-check=20?= =?UTF-8?q?deferral;=20dead=20ROADMAP.md=20row=20rewritten=20for=20post-AD?= =?UTF-8?q?R-013=20gsd=20layout?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- agents/status-reporter.md | 10 +++++----- skills/status/SKILL.md | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/agents/status-reporter.md b/agents/status-reporter.md index 33439dd..2f99954 100644 --- a/agents/status-reporter.md +++ b/agents/status-reporter.md @@ -1,6 +1,6 @@ --- name: status-reporter -description: Read-only project-status engine — dispatched by /status. Collects plugins, token budget, git state, build/tests, GSD milestone into one snapshot. +description: Read-only project-status engine — dispatched by /status. Collects plugin roster (cost audit deferred to /plugin-check), git state, build/tests, GSD milestone into one snapshot. tools: Read, Bash, Glob, Grep model: haiku --- @@ -23,8 +23,8 @@ cat ~/.claude/lib/../version.txt 2>/dev/null || echo "unknown" # lib symlink re command -v rtk &>/dev/null && echo "rtk: installed" || echo "rtk: missing" command -v gsd &>/dev/null && gsd --version 2>/dev/null | head -1 || echo "gsd: not installed" -# Token estimate (passive) -# (approximate from known plugin costs) +# Passive token cost: NOT computed here — no mechanical source exists. +# The cost model lives in plugin-advisor; the report points to /plugin-check. ``` Check `~/.claude/plugins/cache` for active marketplace plugins. @@ -134,7 +134,7 @@ PROJECT STATUS CONFIG Version : v - Plugins ON: (~t passive) + Plugins ON: ( active — passive-cost audit: /plugin-check) GSD v2 : installed / not installed PROJECT @@ -174,7 +174,7 @@ The report is best-effort: a single failing data source must not abort the whole |---|---| | Permission denied on `git` (sandbox/CI without `.git` access) | Mark `Branch: N/A (permission denied)`, `Uncommitted: N/A`, `RECENT COMMITS: N/A`. Continue to PROJECT/GSD sections. | | Permission denied on `~/.claude/plugins/cache` or `~/.claude.json` | Mark `Plugins ON: unknown (cannot read cache)`. Continue. | -| `.gsd/ROADMAP.md` exists but unparseable (malformed checkboxes, encoding issue) | Mark `Progress: N/A (ROADMAP.md unreadable)`, do NOT abort the section — still print `Status: initialized` and `Milestone: N/A`. | +| gsd CLI snapshot fails or `.gsd/` state unreadable (`gsd.db`, `STATE.md`, per-milestone `-ROADMAP.md` — post-ADR-013 layout) | Mark `Progress: N/A (gsd state unreadable)`, do NOT abort the section — still print `Status: initialized` and `Milestone: N/A`. | | `package.json` / `pyproject.toml` parse error | Mark `Tests: N/A (manifest parse error)`. Continue. | | `python3` not available in PATH | Skip the python parsing fallbacks; rely on log files + bash-only checks. Mark Tests as `unknown` if no log found. | | All sections fail | Print a minimal envelope with each section showing `N/A (data source unavailable)` and a one-line `DIAGNOSTIC: ` footer. Exit code 0 (status reporter never blocks). | diff --git a/skills/status/SKILL.md b/skills/status/SKILL.md index b3ec18c..f598b74 100644 --- a/skills/status/SKILL.md +++ b/skills/status/SKILL.md @@ -1,6 +1,6 @@ --- name: status -description: 'Consolidated project snapshot — plugins, token cost, git state, recent commits, GSD v2 milestone progress. Read-only. Run at session start or after a break. Open-work reconciliation (stale TODO vs real git) → /reconcile. Triggers: "status", "sitrep", "where are we", "project state", "after break".' +description: 'Consolidated project snapshot — plugins (passive-cost audit → /plugin-check), git state, recent commits, GSD v2 milestone progress. Read-only. Run at session start or after a break. Open-work reconciliation (stale TODO vs real git) → /reconcile. Triggers: "status", "sitrep", "where are we", "project state", "after break".' argument-hint: (no arguments needed) allowed-tools: Read, Bash, Glob, Grep, Agent ---