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

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.

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-22 20:40:54 +00:00
1 parent 9d758432eb
commit c2da82e49c
17 files changed
+117 -27

No files matched your search

+7
View File
@@ -20,6 +20,13 @@ const SKIP = new Set(['node_modules', '.git', 'dist']);
*/
export const RETIRED_SKILLS = ['investigate', 'verify'];
/**
* Old skill name → new name. A user's disabled_skills entry under the old name
* still turns off the renamed skill (#4593). Same map as GSTACK_RENAMED_SKILLS
* in bin/gstack-install-registry.sh.
*/
export const RENAMED_SKILLS: Readonly<Record<string, string>> = { verify: 'build-check' };
/**
* Review skills /autoplan reads as a phase methodology from its own directory
* on external hosts: each renders a second time beside gstack-autoplan/SKILL.md
+2 -1
View File
@@ -27,6 +27,7 @@ import * as fs from 'node:fs';
import * as os from 'node:os';
import * as path from 'node:path';
import { readConfigKey } from '../lib/state-root';
import { RENAMED_SKILLS } from './discover-skills';
import { loadGbrainOverride, runGeneration } from './gen-skill-docs';
import { resolveModel } from './models';
import { ModuleError, type ModuleSelection } from './modules';
@@ -152,7 +153,7 @@ export async function installLoadout(request: InstallRequest): Promise<InstallRe
const gbrainDetected = loadGbrainOverride(true);
const disabledSkills = [...new Set((readConfigKey('disabled_skills') ?? '').replace(/["']/g, '').split(/[\s,]+/)
.map(n => n.replace(/^\//, '')).filter(n => n !== 'gstack' && n !== 'gstack-upgrade')
.map(n => n.replace(/^gstack-/, '')).filter(n => /^[a-z0-9-]+$/.test(n)))].sort();
.map(n => n.replace(/^gstack-/, '')).map(n => RENAMED_SKILLS[n] ?? n).filter(n => /^[a-z0-9-]+$/.test(n)))].sort();
const identity = {
loadout: selection.name,
excluded: [...selection.excluded].sort(),