Skip to content

A disabled_skills verify entry keeps /build-check off, and gstack stops claiming verify prompts (#4593) - #4719

Merged
capy-ai[bot] merged 5 commits into
mainfrom
disabled-verify-maps-to-build-check
Nov 22, 2026
Merged

capy-ai[bot] merged 5 commits into
mainfrom
disabled-verify-maps-to-build-check

Conversation

@garrytan

@garrytan garrytan commented Nov 22, 2026 •

Copy link
Copy Markdown
Owner

A disabled_skills: verify entry now turns off /build-check, and gstack's router and skill description no longer claim prompts that say "verify my change".
Why: this finishes the #4593 rename, so Claude Code's built-in /verify gets those prompts and an old opt-out keeps working.
What you do: nothing.

What changed
  • setup, gstack-relink, the install code and gstack-config set read a verify entry in disabled_skills as build-check. The retired-skills list keeps the old name, so build-check stays on when nothing disables it.
  • /build-check's trigger list and the prompt router drop "verify my change" and add no replacement trigger.
  • Each setup or relink run that moves an edited skill file aside gets its own backup folder (mktemp -d), so two runs in the same second can't overwrite each other's backups.
  • docs/skills.md says a disabled_skills: verify entry now turns off build-check.
Why

#4714 renamed the skill and shipped with three open notes. This PR fixes two of them, the disabled_skills mapping and the shared backup folder. It also removes the trigger wording that still pulled "verify" prompts toward gstack.

Blast radius

The change touches the install scripts, gstack-config and the router text. The rename map applies only to a user's own disabled_skills value, so the retired verify name never turns off build-check by itself, and test/retired-skills.test.ts covers both cases plus the same-second backups. CI's full free suite ran at this head.

Documentation

Status: updated. One stale factual line was corrected; there are no blockers.

Scope: 16 committed files from 9d75843 to e796038 (the router template, the build-check skill template, gstack-config, the install registry, relink, setup, discover/modules-install scripts, harness-register and 3 test files), plus the docs that mention disabled_skills or /verify.

Documentation health

File Status
docs/skills.md Updated: the /build-check section now says a disabled_skills entry of verify is read as build-check
docs/skill-routing-and-contracts.md Current: the branch already updated the --explain example
docs/troubleshooting.md Current
docs/loadouts.md Current
README.md Current
SKILL.md.tmpl / build-check/SKILL.md.tmpl Current: "verify my change" was removed on the branch

Coverage debt: the verify→build-check alias for disabled_skills now has a reference in docs/skills.md and the changelog fragment. It has no how-to coverage in the troubleshooting entry for disabled_skills, which is minor. No architecture diagrams are affected.

Tests
  • bun run test (the full free suite, CI run 45066264421 at 256a1ad): 1771 test files passed, 0 failed.
  • The macOS and Windows jobs at the same head passed: macos-named-regressions, cso-macos-launcher, windows-smoke and windows-setup.
Pre-Landing Review

Two full reviews and a second-model review ran.

  • Fixed in this PR:
    • gstack-config set refused the old verify name. It now stores build-check.
    • gstack-config could exit silently when the install registry file was missing.
    • The new "check my change" trigger matched unrelated prompts, so it was removed with no replacement.
  • Dropped: a proposed change to the release check for stale test values, which weakened that check. It's left out of this PR.
  • Open notes, each with a recorded reason:
    • Turning off a skill deletes the folder gstack created for it. That's the same as on main, and keeping a user's own files there is a separate fix.
    • One sample output line in docs/skill-routing-and-contracts.md shows an older runner-up trigger. That line predates this PR.
Agent notes

Agent notes

Open in Capy

Refs GSTA-814, #4593, #4714

Approvals

Approved: yes (record r-f007673789ec). The full approval record stays private.
Plan: exempt: bug fix follow-up to #4714 (Captain's B1 ruling); no new functionality
Plan check: exempt bug fix

REVIEW_LOOP: passes=2 blocking_found=3 deferred=0 noted=3 fixed=2 scope=frozen open=3 unbound=2 ledgers_read=5 fix_checks=1 dispatches=4
Review-loop exception: accepted by Captain GStack Minder (GSTA-36) 2026-11-22 via approval a-713892690d0c: one granted fix round and one scoped fix-check after round 2 for p3/outside-voice#2 and #3 and p2/red-team#1 (fix-check at 8746ab1, 1 finding)
Ruled note: bin/gstack-relink:408:outside-voice at e225eea ruled by GSTA-36 (relayed from GSTA-36:2026-11-22T20:20Z) at 2026-11-22T20:20:29.330Z: Same as disabling any skill on main; it deletes only the folder gstack created, and only since #4714. The general disabled-skill cleanup keeping user files is a separate fix. (approval a-bf5ee2894675)
Ruled note: docs/skill-routing-and-contracts.md:72:fix-check at 8746ab1 ruled by GSTA-36 (relayed from GSTA-36:2026-11-22T20:35Z) at 2026-11-22T20:23:26.332Z: Docs sample line only; the runner-up line predates this PR; nothing breaks. (approval a-13d5c5f3e847)
Ruled note: lib/pregate/checks/literals.ts:143:outside-voice at e225eea ruled by GSTA-36 (relayed from GSTA-36:2026-11-22T20:36Z) at 2026-11-22T20:36:41.392Z: Fixed in 8746ab1 and read clean by the granted fix-check; the log row omitted them. (approval a-d1367f564971)
Ruled note: build-check/SKILL.md.tmpl:11:outside-voice at e225eea ruled by GSTA-36 (relayed from GSTA-36:2026-11-22T20:36Z) at 2026-11-22T20:36:41.508Z: Fixed in 8746ab1 and read clean by the granted fix-check; the log row omitted them. (approval a-76302be0e5d1)
Gate edits: none detected

{
  "schema_version": 1,
  "pr": 4719,
  "head": "256a1ad04783e6aae9cf8e4fc6b02baaac4272e0",
  "version": "1.102.2.0",
  "base": "main",
  "gate": {
    "tests": {
      "pass": 1771,
      "fail": 0,
      "skip": 0
    }
  },
  "ci_carried": [
    {
      "lane": "tests",
      "run": 45066264421,
      "attempt": 1,
      "tree": "ac5877b875dbdd250abcfcb90d6e8218af66c51e"
    }
  ],
  "calls": 25,
  "session_kind": "unattended",
  "run": "/home/user/.capy/work/gstack/ship-gsta814-2",
  "head_tree": "ac5877b875dbdd250abcfcb90d6e8218af66c51e",
  "product_patch_id": "a42d234f7326a8ddccb05b2a0b5d137d1bdc12c4",
  "gstack_version": "1.102.2.0",
  "review_depth": {
    "depth": "light",
    "class": "code",
    "runtime_lines": 69,
    "rules": "33831f8248a814fd",
    "base": "9d758432eb1b8d18041eb3caa3d7ddac4b62866a",
    "registry": "9d758432eb1b8d18041eb3caa3d7ddac4b62866a",
    "gate_scan": {
      "tagged": 0,
      "head": "256a1ad04783e6aae9cf8e4fc6b02baaac4272e0"
    },
    "reasons": [
      "runtime=69"
    ],
    "risk": [],
    "mode": "panel"
  },
  "pregate": "requires-remote cleared @ac5877b875db (8 checks, current for 256a1ad04783)",
  "requires_remote": [
    "free-tests.yml/cso-macos-launcher: https://github.com/garrytan/gstack/actions/runs/45066264421/attempts/1",
    "free-tests.yml/macos-named-regressions: https://github.com/garrytan/gstack/actions/runs/45066264421/attempts/1",
    "windows-setup-e2e.yml/windows-setup: https://github.com/garrytan/gstack/actions/runs/45066263926/attempts/1",
    "windows-smoke.yml/windows-smoke: https://github.com/garrytan/gstack/actions/runs/45066264120/attempts/1",
    "pregate.json/remote_gate: remote-gate tree=ac5877b875db tests=39195 skipped=104 runs=45066264421/1 profiles=ci-reuse/free-tests heads=256a1ad04783 verified=2026-11-22T20:32:40.332Z"
  ],
  "issues": {
    "fixes": [],
    "refs": [],
    "flakes": []
  },
  "docs": {
    "status": "updated",
    "scope": "16 committed files from 9d758432 to e7960384 plus docs that mention disabled_skills or /verify; docs/skills.md corrected"
  },
  "review_loop": {
    "passes": 2,
    "blocking_found": 3,
    "deferred": 0,
    "noted": 3,
    "fixed": 2,
    "scope": "frozen",
    "fix_checks": 1,
    "rounds": 2,
    "ledgers_read": 5,
    "unbound": 2,
    "dispatches": {
      "specialist": 2,
      "red-team": 2
    }
  },
  "review_loop_exception": {
    "accepted_by": "Captain GStack Minder (GSTA-36)",
    "date": "2026-11-22",
    "via": "approval a-713892690d0c",
    "reason": "one granted fix round and one scoped fix-check after round 2 for p3/outside-voice#2 and #3 and p2/red-team#1",
    "fix_check": {
      "head": "8746ab12724ed9333a94669aef965e1ba3520538",
      "findings": 1
    }
  },
  "ruled_notes": [
    {
      "finding": "bin/gstack-relink:408:outside-voice",
      "head": "e225eea8d7294ea97883dbe5445faefc39885b3c",
      "by": "GSTA-36",
      "reason": "Same as disabling any skill on main; it deletes only the folder gstack created, and only since #4714. The general disabled-skill cleanup keeping user files is a separate fix.",
      "at": "2026-11-22T20:20:29.330Z",
      "approval": "a-bf5ee2894675",
      "relayed": "GSTA-36:2026-11-22T20:20Z"
    },
    {
      "finding": "docs/skill-routing-and-contracts.md:72:fix-check",
      "head": "8746ab12724ed9333a94669aef965e1ba3520538",
      "by": "GSTA-36",
      "reason": "Docs sample line only; the runner-up line predates this PR; nothing breaks.",
      "at": "2026-11-22T20:23:26.332Z",
      "approval": "a-13d5c5f3e847",
      "relayed": "GSTA-36:2026-11-22T20:35Z"
    },
    {
      "finding": "lib/pregate/checks/literals.ts:143:outside-voice",
      "head": "e225eea8d7294ea97883dbe5445faefc39885b3c",
      "by": "GSTA-36",
      "reason": "Fixed in 8746ab1 and read clean by the granted fix-check; the log row omitted them.",
      "at": "2026-11-22T20:36:41.392Z",
      "approval": "a-d1367f564971",
      "relayed": "GSTA-36:2026-11-22T20:36Z"
    },
    {
      "finding": "build-check/SKILL.md.tmpl:11:outside-voice",
      "head": "e225eea8d7294ea97883dbe5445faefc39885b3c",
      "by": "GSTA-36",
      "reason": "Fixed in 8746ab1 and read clean by the granted fix-check; the log row omitted them.",
      "at": "2026-11-22T20:36:41.508Z",
      "approval": "a-76302be0e5d1",
      "relayed": "GSTA-36:2026-11-22T20:36Z"
    }
  ],
  "gate_dispositions": []
}

…ps claiming verify prompts

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@trunk-io

trunk-io Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

garrytan and others added 4 commits November 22, 2026 20:04
…ke the old verify name

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…uard gstack-config

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>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant