Skip to content

v1.92.6.0 feat: proactive core routes only the four core skills, and they carry their trigger phrases - #3770

Merged
capy-ai[bot] merged 5 commits into
mainfrom
gsta225-core-routing-triggers
Nov 1, 2026
Merged

capy-ai[bot] merged 5 commits into
mainfrom
gsta225-core-routing-triggers

Conversation

@garrytan

@garrytan garrytan commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner
{
  "schema_version": 1,
  "pr": 3770,
  "head": "b599641630b1a6882cdbfe8441bb62cb530e6305",
  "version": "1.91.379.0",
  "base": "main",
  "gate": {
    "pregate": {
      "pass": 19154,
      "fail": 0,
      "skip": 0
    }
  },
  "session_kind": "unattended",
  "head_tree": "8f9faf8550bc27b62482e85df7a288f61d98d35f",
  "product_patch_id": "7bd678d1f2e827c44b7769ded0c5777327b90229",
  "gstack_version": "1.91.379.0",
  "review_depth": {
    "depth": "standard",
    "class": "code",
    "runtime_lines": 86,
    "rules": "150435b0a543019a",
    "base": "92a9350a323dead0a267e7f018312694a708a184",
    "registry": "92a9350a323dead0a267e7f018312694a708a184",
    "gate_scan": {
      "tagged": 0,
      "head": "b599641630b1a6882cdbfe8441bb62cb530e6305"
    },
    "reasons": [
      "runtime=86>50"
    ]
  },
  "pregate": "requires-remote cleared @8f9faf8550bc (7 checks, current for b599641630b1)",
  "requires_remote": [
    "free-tests.yml/macos-named-regressions: https://github.com/garrytan/gstack/actions/runs/41251298553",
    "windows-free-tests.yml/windows-free-shard: https://github.com/garrytan/gstack/actions/runs/41251300662",
    "pregate.json/remote_gate: remote-gate tree=8f9faf8550bc tests=19154 receipt=/home/user/.capy/work/gsta225/ship/remote-receipt.txt sha256=c581604c1580"
  ],
  "issues": {
    "fixes": [
      2118,
      3446
    ],
    "refs": [],
    "flakes": []
  },
  "docs": {
    "status": "current",
    "scope": "docs/, README.md, CONTRIBUTING.md, CLAUDE.md, AGENTS.md (grep-based audit of proactive/routing wording)"
  },
  "review_loop": {
    "passes": 1,
    "blocking_found": 0,
    "deferred": 0,
    "noted": 0,
    "fixed": 0,
    "scope": "frozen",
    "fix_checks": 2,
    "dispatches": {
      "specialist": 1
    }
  }
}

What changed

Under the default proactive: core, the CLAUDE.md routing offer now lists only the four core skills (13 rules before, 4 after)

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
--- Before · before.txt · captured output
+++ After · after.txt · captured output
+# CLAUDE.md routing offer under proactive: core (default), this branch
-# CLAUDE.md routing offer under proactive: core (default), base 2d1b55d
 
 ## Skill routing
 
@@ ⋯ 1 unchanged ⋯ @@
 
 Key routing rules:
 - Product ideas/brainstorming → invoke /office-hours
+- QA/testing site behavior → invoke /qa
-- Strategy/scope → invoke /plan-ceo-review
-- Architecture → invoke /plan-eng-review
-- Design system/plan review → invoke /design-consultation or /plan-design-review
-- Full review pipeline → invoke /autoplan
-- Bugs/errors → invoke /investigate, unless one read-only check confirms the cause and a narrow fix (then fix it and run the focused test)
-- QA/testing site behavior → invoke /qa or /qa-only
 - Code review/diff check → invoke /review
+- Ship/deploy/PR → invoke /ship
+
+Do not suggest or auto-invoke other gstack skills: they run when the user types them, or when a running skill hands off to them (`gstack-config set proactive all` routes every skill).
-- Visual polish → invoke /design-review
-- Ship/deploy/PR → invoke /ship or /land-and-deploy
-- Save progress → invoke /context-save
-- Resume context → invoke /context-restore
-- Author a backlog-ready spec/issue → invoke /spec
 
 

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: all still offers all 13 rules, and off offers 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

Date Asked Exact words Outcome Covers Still pending
2026-10-31 Approve the plan "D1 + D2: "core" really means core, and core skills carry their plain-English trigger phrases" (autoplan run autoplan-20261031203804, 3 decisions) “Do it a through e” (Garry Tan, relayed by GStack Minder, relayed by agent:jam_01M69TK6XEJ96R0QBFN8ZVM8DY) approved the reviewed plan (sha256 5f20091105db), every recommendation taken none
2026-10-31 Build or close: core skills only really means core, and trigger phrases in descriptions (plans/feature-build-or-close.md) “Do it” (Garry Tan, relayed by GStack Minder) approved build D1 (#3446) and D2 (#2118) as one wave PR none

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: core auto-invokes only /office-hours, /review, /qa and /ship, all frees every skill, and off suggests 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

  • UBI_OWNER=gsta225 gstack-pregate --stage tests --remote --spend-cap 2 --timeout 2700 --allow-repo-commands: tree 8f9faf8, 19154 tests, 0 failed, $0.09
  • Free Tests (macos-named-regressions) run 41251298553 and Windows Free Tests run 41251300662 on b599641: green, cleared in pregate
  • bun run typecheck: exit 0

🤖 Generated with Claude Code

garrytan and others added 5 commits October 31, 2026 21:19
…e skills carry their trigger phrases (#3446, #2118)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…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>
@trunk-io

trunk-io Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

@github-actions

Copy link
Copy Markdown
Contributor

E2E Evals: ✅ PASS

[test:paid] VERDICT GREEN — lane gate/pr, attempt 1
  rule 47/47 · behavior 0/0 · judge 16/16 · quarantined 0 (0 failing the lane)
  SKIPPED 0 · INFRA 0 · INCOMPLETE 0 · unattributed 0 · ACTION REQUIRED 0
  wall 5m01s · cost $16.45 known + 5 of 63 trial(s) cost unknown

59 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 pr; selected behaviors: 47, judges: 16. Deferred to scheduled/release coverage: 149 behaviors and 5 changed prompt files. Deferred checks did not run and receive no PR-pass credit.

Rule and judge shards
Shard Automated result Manual/unscored Executed Reused Status Cost
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-current 1/1 0 1 0 ✅ $0.85
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-store 1/1 0 1 0 ✅ $0.92
e2e/skill-e2e-investigate-owned-completion 1/1 0 1 0 ✅ $0.09
e2e-qa-functional-fix/skill-e2e-qa-functional-fix 2/2 0 2 0 ✅ $0.96
e2e-qa-callers/skill-e2e-qa-callers--review-exploratory-small-cli 1/1 0 1 0 ✅ $0.64
e2e-qa-callers/skill-e2e-qa-callers--ship-exploratory-plan-checks 1/1 0 1 0 ✅ $0.82
e2e/skill-e2e-test-value 2/2 0 2 0 ✅ $0.4
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-late-result 1/1 0 1 0 ✅ $0.34
e2e/skill-e2e-investigate-owned-termination 2/2 0 2 0 ✅ $0.13
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-recovery 1/1 0 1 0 ✅ $0.39
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-missing-asset 1/1 0 1 0 ✅ $0.31
e2e-docsync-spawned/skill-e2e-docsync-spawned 1/1 0 1 0 ✅ $0.47
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-missing-marker 1/1 0 1 0 ✅ $0.17
e2e-review/skill-e2e-review 1/1 0 1 0 ✅ $0.18
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-stale-before 1/1 0 1 0 ✅ $0.43
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-failure 1/1 0 1 0 ✅ $0.52
e2e-skillify/skill-e2e-skillify 1/1 0 1 0 ✅ $0.07
e2e-qa-callers/skill-e2e-qa-callers--ship-exploratory-late-input 1/1 0 1 0 ✅ $1.04
e2e-qa-functional/skill-e2e-qa-functional 2/2 0 2 0 ✅ $0.8
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-timeout-unsettled 1/1 0 1 0 ✅ $0.19
e2e/skill-e2e-plan--plan-review-report 1/1 0 1 0 ✅ $1.04
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-stale-after 1/1 0 1 0 ✅ $0.41
e2e-qa-callers/skill-e2e-qa-callers--ship-exploratory-unavailable 1/1 0 1 0 ✅ $0.65
e2e-design/skill-e2e-design--plan-design-review-no-ui-scope 1/1 0 1 0 ✅ $0.07
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-completion 1/1 0 1 0 ✅ $0.93
e2e-plan-tune/skill-e2e-plan-tune 1/1 0 1 0 ✅ $0.14
e2e-qa-workflow/skill-e2e-qa-workflow--qa-bootstrap 1/1 0 1 0 ✅ $0.08
e2e/skill-e2e-ship-hook-refresh 1/1 0 1 0 ✅ $0.12
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-launch-failure 1/1 0 1 0 ✅ $0.16
e2e-learnings/skill-e2e-learnings 1/1 0 1 0 ✅ $0.07
e2e-third-party-actions/skill-e2e-third-party-actions 2/2 0 2 0 ✅ $0.17
e2e/skill-e2e-ship-hook-consent 2/2 0 2 0 ✅ $0.25
llm-judge/skill-llm-eval 16/16 0 16 0 ✅ $0.96
e2e/skill-e2e-workflow 2/2 0 2 0 ✅ $0.23
e2e/skill-e2e-coverage-audit 2/2 0 2 0 ✅ $0.4
e2e-qa-callers/skill-e2e-qa-callers--ship-exploratory-small-cli 1/1 0 1 0 ✅ $1.05
Fail-closed reconciliation
e2e-qa-callers.test.ts#review-exploratory-small-cli
  slice 5  passed             44s  test/skill-e2e-test-value.test.ts
  slice 5  passed             82s  test/skill-e2e-qa-functional-fix.test.ts
  slice 5  passed             89s  test/skill-e2e-qa-callers.test.ts#ship-exploratory-plan-checks
  slice 6  passed            232s  test/skill-e2e-plan.test.ts#plan-review-report
  slice 6  passed             83s  test/skill-e2e-qa-callers.test.ts#ship-exploratory-unavailable
  slice 6  passed             86s  test/skill-e2e-qa-functional.test.ts
  slice 6  passed             78s  test/skill-e2e-ship-docsync.test.ts#ship-docsync-stale-after
  slice 6  passed             35s  test/skill-e2e-ship-docsync.test.ts#ship-docsync-timeout-unsettled
  slice 6  passed             12s  test/skill-e2e-design.test.ts#plan-design-review-no-ui-scope
  slice 7  passed             26s  test/skill-e2e-review.test.ts
  slice 7  passed             73s  test/skill-e2e-ship-docsync.test.ts#ship-docsync-recovery
  slice 7  passed             56s  test/skill-e2e-ship-docsync.test.ts#ship-docsync-late-result
  slice 7  passed             47s  test/skill-e2e-plan-ceo-plan-mode.test.ts
  slice 7  passed             58s  test/skill-e2e-docsync-spawned.test.ts
  slice 7  passed             58s  test/skill-e2e-ship-docsync.test.ts#ship-docsync-missing-asset
  slice 7  passed             25s  test/skill-e2e-ship-docsync.test.ts#ship-docsync-missing-marker
  slice 7  passed             24s  test/skill-e2e-investigate-owned-termination.test.ts
  slice 8  passed             29s  test/skill-e2e-office-hours-auto-mode.test.ts
  slice 8  passed             17s  test/skill-e2e-third-party-actions.test.ts
  slice 8  passed             25s  test/skill-e2e-plan-tune.test.ts
  slice 8  passed             36s  test/skill-e2e-ask-user-question-format-compliance.test.ts
  slice 8  passed             22s  test/skill-e2e-ship-docsync.test.ts#ship-docsync-launch-failure
  slice 8  passed             32s  test/skill-e2e-ship-hook-consent.test.ts
  slice 8  passed             25s  test/skill-e2e-ship-hook-refresh.test.ts
  slice 8  passed             18s  test/skill-e2e-qa-workflow.test.ts#qa-bootstrap
  slice 8  passed              9s  test/skill-e2e-learnings.test.ts
[test:paid] collector final outcomes: 59 executed, 0 reused; 59 passed, 0 failed, 0 manual accepted (unscored; no score-cache credit) (59 attempt records from 36 collectors; every record counts)
[test:paid] deselected testcases, zero credit (191):
[test:paid]    170  sibling case of a case shard (its own shard runs it)
[test:paid]     17  outside the run's case selection
[test:paid]      4  periodic-tier case (this lane runs gate)
[test:paid] VERDICT GREEN — lane gate/pr, attempt 1
  rule 47/47 · behavior 0/0 · judge 16/16 · quarantined 0 (0 failing the lane)
  SKIPPED 0 · INFRA 0 · INCOMPLETE 0 · unattributed 0 · ACTION REQUIRED 0
  wall 5m01s · cost $16.45 known + 5 of 63 trial(s) cost unknown
[test:paid] exercised-path map (shadow, non-blocking): 5 MAP_GAP line(s) over 44 executed case(s) with recorded commands
  MAP_GAP plan-review-report bin/gstack-plan-reality: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
  MAP_GAP plan-review-report browse/dist/browse: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
  MAP_GAP ship-exploratory-late-input bin/gstack-review-plan: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
  MAP_GAP ship-exploratory-plan-checks bin/gstack-review-plan: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
  MAP_GAP ship-exploratory-small-cli bin/gstack-review-plan: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
[test:paid] report: every planned shard accounted and passed

Sliced 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 5f1f172e17410d5f5fcfd9d5085a632a315956b1.

@github-actions github-actions Bot changed the title feat: proactive core routes only the four core skills, and they carry their trigger phrases v1.92.6.0 feat: proactive core routes only the four core skills, and they carry their trigger phrases Nov 1, 2026
@capy-ai
capy-ai Bot merged commit ed10791 into main Nov 1, 2026
62 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant