mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-15 21:07:20 +01:00
fix(ship): name the evidence ladder by skill instead of by a runtime-root path that does not exist yet
test/runtime-root-assets.test.ts checks every $GSTACK_ROOT/<path> literal in a host render against the staged root; investigate/sections/blast-radius.md lands with its own lane, so the Blast radius item and the Capy body step now say "the /investigate skill's Blast radius section, when present". Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
23220e10a9
commit
b3d3e73c73
6 files changed
+9
-7
No files matched your search
@@ -324,14 +324,16 @@ describe('wiring', () => {
|
||||
expect(summary).toContain('## Blast radius');
|
||||
expect(summary).toContain('the one fact that makes that safe');
|
||||
expect(summary).toContain('file:line read, walked failure path, script ran, repro');
|
||||
expect(summary).toContain('`~/.claude/skills/gstack/investigate/sections/blast-radius.md`, when present');
|
||||
expect(summary).toContain("the `/investigate` skill's Blast radius section, when present");
|
||||
expect(summary).not.toMatch(/skills\/gstack\/investigate\/sections\/blast-radius\.md/);
|
||||
expect(prBody).toContain('names what the user gets, not the mechanism');
|
||||
const capy = read('ship/sections/capy-pr.md.tmpl');
|
||||
expect(capy).toContain('`## Why`, `## Blast radius` and `## Approvals`');
|
||||
expect(capy).toMatch(/\*\*`## Why`:\*\* two or three sentences\. The first states the problem in the person's words/);
|
||||
expect(capy).toMatch(/BAD "[\s\S]+" GOOD "/);
|
||||
expect(capy).toContain("**`## Blast radius`:** the body template's item, written once");
|
||||
expect(capy).toContain('`~/.claude/skills/gstack/investigate/sections/blast-radius.md`, when present');
|
||||
expect(capy).toContain("the `/investigate` skill's Blast radius section, when present");
|
||||
expect(capy).not.toMatch(/skills\/gstack\/investigate\/sections\/blast-radius\.md/);
|
||||
});
|
||||
|
||||
test('the quality gate runs the lint over the [Unreleased] block, and NOTICE.md credits unslop', () => {
|
||||
|
||||
Reference in new issue
Block a user