Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
b772dc6
feat(skills): when-to-use descriptions, wider triggers and contract b…
garrytan Nov 3, 2026
ebbe8a2
fix(skills): keep core trigger phrases in /review and /qa description…
garrytan Nov 3, 2026
7384ca0
fix(skills): Done-means list leaves out steps a host suppresses and a…
garrytan Nov 3, 2026
5255dd9
fix: pre-landing review fixes
garrytan Nov 3, 2026
93d0a20
fix: Done-means honors loadout section exclusions and the skill's own…
garrytan Nov 3, 2026
3d16d82
fix: the Done-means checker sentence follows an explicit CONTRACT_CHE…
garrytan Nov 3, 2026
cc1539c
test: cite GST-1088 gate rev 2 for the /review cap raises
garrytan Nov 3, 2026
d2f1e29
Revert "test: cite GST-1088 gate rev 2 for the /review cap raises"
garrytan Nov 3, 2026
cc9b9b9
fix: trim /qa's opening sentence by 4 bytes so the branch fits main's…
garrytan Nov 3, 2026
74e22f4
Merge commit 'bf2bcf14b08d774291613c8073674a0e90eb4f9f' into capy/gst…
garrytan Nov 3, 2026
981a3ce
fix: flip CONTRACT_CHECKER_SHIPPED now that bin/gstack-skill-contract…
garrytan Nov 3, 2026
58aeee7
docs: the changelog fragment says lane A's routing hook and contract …
garrytan Nov 3, 2026
ed0c82a
fix(contracts): run gstack-skill-contract through the host-resolved b…
garrytan Nov 3, 2026
40188ba
Merge commit '1ccab0d8bccba50e69587672fb82ac0574638a65' into capy/gst…
garrytan Nov 3, 2026
3129fe8
docs: changelog fragment wording for the bin-path fix
garrytan Nov 3, 2026
171c31c
Merge commit 'ade35bc81356e64c38772efa20b29021e69dcf51' into capy/gst…
garrytan Nov 3, 2026
479a5c1
v1.94.35.0 stamp: merge main bf2cab34c5d4 into #3957 (land)
garrytan Nov 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## [1.94.35.0] - 2026-11-03

**/investigate's and /review's "Done means" list now runs the contract checker through gstack's own bin path (GST-1088 lane B follow-up).** The list told the agent to run a bare `gstack-skill-contract check`, but a standard install doesn't put gstack's bin folder on PATH, so an agent that ran it, most importantly to record a waiver, got "command not found". It now names the same host-resolved path every other gstack command uses, for example `~/.claude/skills/gstack/bin/gstack-skill-contract check` on Claude Code.

### Fixed
- **Done-means check and waive commands**: `scripts/resolvers/contract-done-means.ts` renders `check` and `waive` through each host's bin directory instead of the bare command name. The rest of the wording is unchanged.

### Tests
- `test/skill-descriptions.test.ts`: on every host, /investigate and /review render the checker through that host's bin path and never as a bare command, and the checked-in /review SKILL.md shows the Claude path. /review's skeleton and size pins rise by the measured 56 bytes (24 chars per non-Claude host render).

## [1.94.34.0] - 2026-11-03

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.94.34.0
1.94.35.0
2 changes: 1 addition & 1 deletion agents-digest/gstack-AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# gstack digest v1.94.34.0 — regenerate/re-copy after upgrading gstack
# gstack digest v1.94.35.0 — regenerate/re-copy after upgrading gstack

Behavioral rules from gstack (https://github.com/garrytan/gstack), compressed
for agent hosts without a full skill install. The full skills add workflows,
Expand Down
2 changes: 1 addition & 1 deletion investigate/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Finish only when each of these exists (contract v1):
- `debug-report`: a `DEBUG REPORT` with Symptom, Root cause, Fix, Evidence, Regression test and Status filled in (`none: <why>` where the skill's own stop rule leaves one empty).
- `check-after-last-edit`: a test or repro command run after your last edit.

`gstack-skill-contract check` reads them from the transcript (docs/skill-routing-and-contracts.md). For an item that truly does not apply, run `gstack-skill-contract waive <item> --reason "<why>"` (this session only; it counts as a miss).
`~/.claude/skills/gstack/bin/gstack-skill-contract check` reads them from the transcript (docs/skill-routing-and-contracts.md). For an item that truly does not apply, run `~/.claude/skills/gstack/bin/gstack-skill-contract waive <item> --reason "<why>"` (this session only; it counts as a miss).

## Shared preamble (load first)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gstack",
"version": "1.94.34",
"version": "1.94.35",
"description": "Garry's Stack — Claude Code skills + fast headless browser. One repo, one install, entire AI engineering workflow.",
"license": "MIT",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion review/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Finish only when each of these exists (contract v1):
- `adversarial-pass`: an Agent dispatch for the adversarial pass, its prompt including "Think like an attacker and a chaos engineer".
- `review-report`: a `Pre-Landing Review` with Gate edits filled in (`none: <why>` where the skill's own stop rule leaves one empty).

`gstack-skill-contract check` reads them from the transcript (docs/skill-routing-and-contracts.md). For an item that truly does not apply, run `gstack-skill-contract waive <item> --reason "<why>"` (this session only; it counts as a miss).
`~/.claude/skills/gstack/bin/gstack-skill-contract check` reads them from the transcript (docs/skill-routing-and-contracts.md). For an item that truly does not apply, run `~/.claude/skills/gstack/bin/gstack-skill-contract waive <item> --reason "<why>"` (this session only; it counts as a miss).

## Shared preamble (load first)

Expand Down
10 changes: 5 additions & 5 deletions scripts/resolvers/contract-done-means.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,17 +116,17 @@ function plainWords(item: ContractItem): string {
/** Whether bin/gstack-skill-contract ships. The PR that adds it flips this, regenerates and re-pins; test/skill-descriptions.test.ts fails while the two disagree. */
export const CONTRACT_CHECKER_SHIPPED = true;

/** The list; checker adds the check and waive commands, which only a tree that ships the checker may mention. */
export function renderDoneMeans(contract: SkillContract, checker = CONTRACT_CHECKER_SHIPPED): string {
/** The list; checker adds the check and waive commands (run through the host's binDir), which only a tree that ships the checker may mention. */
export function renderDoneMeans(contract: SkillContract, binDir: string, checker = CONTRACT_CHECKER_SHIPPED): string {
if (contract.items.length === 0) return '';
return [
'## Done means',
'',
'Finish only when each of these exists (contract v1):',
'',
...contract.items.map(item => '- ' + code(item.id) + ': ' + plainWords(item) + '.'),
...(checker ? ['', code('gstack-skill-contract check') + ' reads them from the transcript (docs/skill-routing-and-contracts.md). ' +
'For an item that truly does not apply, run ' + code('gstack-skill-contract waive <item> --reason "<why>"') + ' (this session only; it counts as a miss).'] : []),
...(checker ? ['', code(binDir + '/gstack-skill-contract check') + ' reads them from the transcript (docs/skill-routing-and-contracts.md). ' +
'For an item that truly does not apply, run ' + code(binDir + '/gstack-skill-contract waive <item> --reason "<why>"') + ' (this session only; it counts as a miss).'] : []),
].join('\n');
}

Expand All @@ -138,5 +138,5 @@ export function generateContractDoneMeans(ctx: TemplateContext): string {
const backing = BACKED_BY[item.kind];
return !backing || (!suppressed.has(backing.resolver) && !ctx.modules?.excluded.has('section:' + ctx.skillName + '/' + backing.section));
};
return renderDoneMeans({ ...contract, items: contract.items.filter(shown) });
return renderDoneMeans({ ...contract, items: contract.items.filter(shown) }, ctx.paths.binDir);
}
18 changes: 9 additions & 9 deletions test/fixtures/skill-md-size-allowlist.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,52 +6,52 @@
"agy/gstack-plan-design-review": 109107,
"agy/gstack-plan-devex-review": 114948,
"agy/gstack-plan-eng-review": 143581,
"agy/gstack-review": 104728,
"agy/gstack-review": 104752,
"codex/gstack-autoplan": 108383,
"codex/gstack-plan-design-review": 110464,
"codex/gstack-plan-devex-review": 116456,
"codex/gstack-plan-eng-review": 144746,
"codex/gstack-review": 104251,
"codex/gstack-review": 104275,
"copilot/gstack-autoplan": 109083,
"copilot/gstack-plan-design-review": 109373,
"copilot/gstack-plan-devex-review": 114410,
"copilot/gstack-plan-eng-review": 143746,
"copilot/gstack-review": 104309,
"copilot/gstack-review": 104333,
"cursor/gstack-autoplan": 108315,
"cursor/gstack-plan-design-review": 107915,
"cursor/gstack-plan-devex-review": 113680,
"cursor/gstack-plan-eng-review": 142336,
"cursor/gstack-review": 122781,
"cursor/gstack-review": 122805,
"factory/gstack-autoplan": 110593,
"factory/gstack-plan-design-review": 111013,
"factory/gstack-plan-devex-review": 117043,
"factory/gstack-plan-eng-review": 145444,
"factory/gstack-review": 126554,
"factory/gstack-review": 126578,
"gbrain/gstack-autoplan": 108722,
"gbrain/gstack-plan-eng-review": 124963,
"gemini/gstack-autoplan": 108873,
"gemini/gstack-plan-design-review": 109201,
"gemini/gstack-plan-devex-review": 114238,
"gemini/gstack-plan-eng-review": 143579,
"gemini/gstack-review": 104131,
"gemini/gstack-review": 104155,
"hermes/gstack-autoplan": 108725,
"hermes/gstack-plan-eng-review": 124999,
"kiro/gstack-autoplan": 108089,
"kiro/gstack-plan-design-review": 107761,
"kiro/gstack-plan-devex-review": 113532,
"kiro/gstack-plan-eng-review": 142198,
"kiro/gstack-review": 122605,
"kiro/gstack-review": 122629,
"openclaw/gstack-autoplan": 108545,
"openclaw/gstack-plan-eng-review": 123478,
"opencode/gstack-autoplan": 109064,
"opencode/gstack-plan-design-review": 109229,
"opencode/gstack-plan-devex-review": 114288,
"opencode/gstack-plan-eng-review": 143605,
"opencode/gstack-review": 123403,
"opencode/gstack-review": 123427,
"slate/gstack-autoplan": 108202,
"slate/gstack-plan-design-review": 107838,
"slate/gstack-plan-devex-review": 113606,
"slate/gstack-plan-eng-review": 142267,
"slate/gstack-review": 122693
"slate/gstack-review": 122717
}
}
Loading
Loading