Repository navigation
v1.92.6.0 feat: proactive core routes only the four core skills, and they carry their trigger phrases - #3770
Conversation
…ffs) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…pin after the description edits Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
E2E Evals: ✅ PASS59 executed, 0 reused rule/judge records | 0 manual accepted (unscored; no score-cache credit) | $16.45 rule/judge cost | reconcile exit: 0 Profile: pr / mode Rule and judge shards
Fail-closed reconciliationSliced lane: planner → duration-packed executors → fail-closed report. Behavior cases run a pre-registered 3-trial panel (PASS at 2/3 with no contract violation); a PASS 2/3 is shown with its failed trial, never as a clean pass. Reused results retain their original provenance and expiry. Dispatched narrow screen (gstack-ship-queue ready --screen) of merge commit |
What changed
Under the default
proactive: core, the CLAUDE.md routing offer now lists only the four core skills, 13 rules before and 4 after, so "core" stops routing every skill.Before/after as text: Under the default proactive: core, the CLAUDE.md routing offer now lists only the four core skills (13 rules before, 4 after), so 'core' stops routing every skill
Why
Issue #3446: "core skills only" still routed every skill. The routing section gstack offered for CLAUDE.md listed 13 rules, and 16 non-core skill descriptions still said "Proactively suggest...". Under core, the offer now names only /office-hours, /review, /qa and /ship, and the other skills run when you type them or when a running skill hands off to them. Issue #2118 asked for skill descriptions in the words people actually say, so the core skills now lead with them: "Review this PR's diff", "Test the site, API or CLI and fix the bugs it finds", and "Ship it".
Blast radius
The offer text changes for new CLAUDE.md offers only. A routing section a user already accepted stays as it is, and docs/proactive.md says how to refresh it. Setting
proactive: allstill offers all 13 rules, andoffoffers nothing. test/proactive-skill-start.test.ts runs bin/gstack-skill-start under each setting and checks this (script ran). The Claude skill catalog went from 5,682 to 5,678 bytes, under its 1,423-token ceiling.Approvals
Source: gstack-approvals record for gsta225-core-routing-triggers (display only; not an approval citation).
Summary
"Core" now means the four core skills everywhere gstack routes from. The CLAUDE.md offer follows the setting: 4 rules under core and 13 under all. The core scoping line still allows in-skill handoffs, such as /ship running /document-release. The 16 non-core templates lost their "Proactively suggest" sentence, and their descriptions got shorter: 25,364 to 23,711 bytes across all full descriptions. /review, /qa and /ship lead with plain trigger phrases. /qa also picked up "qa test this" and "find bugs on site", and /ship picked up "deploy this". Per-setting description variants are follow-up #3755.
Test Coverage
New and narrowed tests: test/proactive-skill-start.test.ts covers the offered section per setting. test/proactive-core-set.test.ts covers the core trigger phrases. test/skill-validation.test.ts requires a proactive line on the four core skills and rejects one on non-core skills. Five of these cases fail at base 2d1b55d and pass on this branch. The office-hours case already passed at base.
Tests ran: pregate 19154
Pre-Landing Review
No issues found by the Step 9 specialist pass. The outside voice (openai/gpt-6.1-sol) found one Medium: the first core scoping line forbade in-skill handoffs such as /ship running /document-release. That was fixed in cdf94bd, and a fix-check found nothing. A second fix-check covered the two pregate test repairs and the changelog wording, and also found nothing. The adversarial pass left three Low notes, none blocking.
REVIEW_LOOP: passes=1 blocking_found=0 deferred=0 noted=0 fixed=0 scope=frozen fix_checks=2 dispatches=1
Gate edits: 14 listed, 9 read, 0 findings — 0 kept, 0 restored, 0 open. The test edits that are part of the request: SKILLS_REQUIRING_PROACTIVE narrowed to the core four, 46 size pins lowered in test/fixtures/skill-md-size-allowlist.json, the ship size ledger (-21 bytes), four regenerated ship goldens, and test/autoplan-preconfigured-onboarding-ar.test.ts now sets
proactive: all.Outside review: completed (openai/gpt-6.1-sol).
Eval Results
No paid evals ran. This PR makes no routing-quality claim, only the free tests above.
Issues
Fixes #2118
Fixes #3446
TODOS
No TODO items completed in this PR.
Documentation
Scope: Branch gsta225-core-routing-triggers against main (the candidate's committed, index and worktree content). I grepped README.md, CONTRIBUTING.md, CLAUDE.md, ARCHITECTURE.md and docs/*.md for proactive, routing, auto-invoke, 'suggest skill' and 'Proactively suggest' wording. I also checked bin/gstack-config's help text. In Mode edit I changed no files.
Result: docs/skills.md (Proactive skill suggestions, line 1407), docs/why-gstack.md (line 76) and bin/gstack-config already describe the new default.
proactive: coreauto-invokes only /office-hours, /review, /qa and /ship,allfrees every skill, andoffsuggests nothing. docs/proactive.md and docs/voice-input.md were updated earlier on this branch. README.md and CONTRIBUTING.md don't describe the old suggest-everything behavior. The skill table rows don't carry the removed 'Proactively suggest' sentences.Debt: None found. This is a grep-based audit, so docs that describe the old behavior in words other than the ones I searched for could still exist.
Test plan
🤖 Generated with Claude Code