gstack stops offering to add skill routing rules to your project's CLAUDE.md (GST-3382) (#4629)

gstack no longer asks to append a `## Skill routing` section to your
project's CLAUDE.md; its prompt-routing hook, on by default, now starts
the right skill by itself.

Why: in a preregistered test on Opus 5.5 the hook loaded the bug-fix
skill in 45 of 60 and 48 of 60 sessions, past the section's 39 of 60
(results).

Nothing to do: a section an older gstack added stays as you left it and
keeps working; delete it if you like.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
Garry Tanandcapy-ai[bot] authored and GitHub committed 2026-11-21 19:57:14 +00:00
1 parent f71e785e4e
commit 6263e0ef33
30 files changed
+114 -274

No files matched your search

+1 -1
View File
@@ -118,7 +118,7 @@ environment variable should be set. gstack detects this and adjusts:
irreversible options are never auto-chosen — the conservative choice wins
and gets recorded in the completion report)
- Suppresses interactive-onboarding instruction blocks at emission (upgrade
checks, telemetry prompts, feature discovery, routing injection, tips), so
checks, telemetry prompts, feature discovery, tips), so
one-time prompts survive intact for the next human session
- Suppresses the Conductor prose signal (`CONDUCTOR_SESSION: true`) — a
spawned session inside a Conductor workspace auto-chooses instead of
+6 -9
View File
@@ -34,15 +34,12 @@ needed, because every skill reads `PROACTIVE` from `gstack-skill-start` at the
start of each run and the router (`/gstack`) applies it to its routing rules. A
value gstack does not know (a hand-edited `proactive: maybe`) reads as `core`.
The `## Skill routing` section gstack offers to append to your project's
CLAUDE.md follows the setting too. Under `core` it lists only the four core
rules and says the other skills run when you type them or a running skill
hands off to them; under `all` it lists
every routing rule; under `off` it is not offered, because those rules are the
auto-invocation you turned off. gstack offers the section once per project and
never edits it afterwards. So a section you accepted earlier, or under another
setting, stays as it is: trim it to match (the core four are /office-hours,
/review, /qa and /ship), or delete it and let gstack offer it again.
gstack no longer offers to add a `## Skill routing` section to your project's
CLAUDE.md: its prompt-routing hook names the matching skill instead
([skill-routing-and-contracts.md](skill-routing-and-contracts.md)). If an older
gstack added that section, gstack never edits it, so it stays as you left it
whatever this setting says. Trim it to match (the core four are /office-hours,
/review, /qa and /ship), or delete it.
Skill descriptions cannot change with the setting, so they are written for the
`core` default. Only the four core skills say "Proactively suggest ..." in the
+2
View File
@@ -55,6 +55,8 @@ The hook scores the prompt against the `triggers:` list in each installed `SKILL
- Prompts that start with `/` (you already picked a skill) are never routed.
- The injected line names its source and its off switch, and asks the model to tell you in one sentence that gstack routed the request.
The hook replaces the `## Skill routing` section gstack used to offer for your project's CLAUDE.md. In a preregistered test on Claude Opus 5.5 (gstack-evals#415), the hook alone got the bug-fix skill loaded in 45 of 60 and 48 of 60 unattended sessions, past the 39 of 60 the CLAUDE.md section managed, so gstack stopped offering the section. A section an older gstack added keeps working; gstack never edits it, and you can delete it.
### Dry run
`gstack-skill-route --explain` shows what the hook would do, with the switch on or off. It never injects anything.
+1 -1
View File
@@ -159,7 +159,7 @@ disable gstack-start`, then delete
## Clean up CLAUDE.md
The uninstall script does not edit CLAUDE.md. In each project where gstack was added, remove the `## gstack` and `## Skill routing` sections.
The uninstall script does not edit CLAUDE.md. In each project where gstack was added, remove the `## gstack` section, and the `## Skill routing` section if an older gstack added one.
## Playwright