mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-17 21:54:30 +01:00
Make gstack agents lead every report with what failed, what's unverified and what else changed (GST-1455) (#4273)
* Make gstack agents lead every report with what failed, what's unverified and what else changed (GST-1455)
The shared closer asks a status report to stay under 250 words and open with Failed or skipped:, Unverified: and Also changed: lines, each naming every item or none; lists past 10 give the top 10 and a count. Capy's factory.md point 10, the lane report Outcome and READY's lane lines carry the same lines, and point 10 points findings write-ups at ETHOS.md section 8. The wording is GEVA-2's round-3 candidate f83eba4, ported without the retired /investigate rows. factory.md is 4,396 B, so its budget rises from 4,200 to 4,400.
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* Update the ship skill golden files for the new shared preamble id (GST-1455)
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>
This commit is contained in:
1 parent
e9f38d6fe1
commit
76fad3edd9
101 files changed
+199
-236
No files matched your search
@@ -680,14 +680,16 @@ describe('capy skill: factory.md, the auto-loaded "how we work" page', () => {
|
||||
return [...new Set(problems)];
|
||||
}
|
||||
|
||||
test('it fits the 4,200-byte budget, and every citation, heading and skill it names resolves', () => {
|
||||
test('it fits the 4,400-byte budget, and every citation, heading and skill it names resolves', () => {
|
||||
const text = fs.readFileSync(FACTORY, 'utf8');
|
||||
// 3,300 since #3634; raised to 3,450 (the page's new size, rounded up to the next 25 bytes) for point 12's
|
||||
// R68 clause (Garry, 2026-11-03: crew threads ask their Captain for new threads). Raise it only by what a rule needs.
|
||||
// 3,475 for the crew/ prefix on its four Captain-manual citations (GST-1833 moved docs/captain.md to crew/docs/; no rule text changed).
|
||||
// 3,650 for point 2's one-open-PR-per-lane rule and point 12's no-orphan and close-reason rule (GST-2077, Garry's "do it" 2026-11-09: lessons from gbrain's merge queue).
|
||||
// 4,200 for point 12's keep-the-PR-to-the-end and standing-thread rotation clause and point 14's cap of 10 finished PRs before a new fix thread (Garry's "do it" 2026-11-09, relayed by FOUN-32).
|
||||
expect(Buffer.byteLength(text)).toBeLessThanOrEqual(4200);
|
||||
// 4,400 for point 10's report shape, Failed or skipped / Unverified / Also changed lines first, and its pointer to ETHOS.md section 8 for
|
||||
// findings write-ups (GST-1455, Garry's "do it" 2026-11-05 on R73; the clause is the wording GEVA-2's dev climb measured, so it is not trimmed).
|
||||
expect(Buffer.byteLength(text)).toBeLessThanOrEqual(4400);
|
||||
expect(text).toMatch(/^# How we work/);
|
||||
expect(citationProblems(text)).toEqual([]);
|
||||
});
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ description: |
|
||||
|
||||
## Shared preamble (load first)
|
||||
|
||||
This skill follows gstack shared preamble `dc6688a6791f` (AskUserQuestion format, voice, writing, completeness and completion rules). If your Read of that file, headed by this id, is still in context, do not read it again; otherwise Read `sections/preamble.md` relative to the installed `gstack-ship` SKILL.md directory in full before the command below. A section or subsection here with a shared heading replaces the shared one.
|
||||
This skill follows gstack shared preamble `673baf289542` (AskUserQuestion format, voice, writing, completeness and completion rules). If your Read of that file, headed by this id, is still in context, do not read it again; otherwise Read `sections/preamble.md` relative to the installed `gstack-ship` SKILL.md directory in full before the command below. A section or subsection here with a shared heading replaces the shared one.
|
||||
|
||||
## Preamble (run first)
|
||||
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ triggers:
|
||||
|
||||
## Shared preamble (load first)
|
||||
|
||||
This skill follows gstack shared preamble `227aca067dd3` (AskUserQuestion format, voice, writing, completeness and completion rules). If your Read of that file, headed by this id, is still in context, do not read it again; otherwise Read `~/.claude/skills/gstack/ship/sections/preamble.md` in full before the command below. A section or subsection here with a shared heading replaces the shared one.
|
||||
This skill follows gstack shared preamble `d56c99c92144` (AskUserQuestion format, voice, writing, completeness and completion rules). If your Read of that file, headed by this id, is still in context, do not read it again; otherwise Read `~/.claude/skills/gstack/ship/sections/preamble.md` in full before the command below. A section or subsection here with a shared heading replaces the shared one.
|
||||
|
||||
## Preamble (run first)
|
||||
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ description: |
|
||||
|
||||
## Shared preamble (load first)
|
||||
|
||||
This skill follows gstack shared preamble `1c66f530e65a` (AskUserQuestion format, voice, writing, completeness and completion rules). If your Read of that file, headed by this id, is still in context, do not read it again; otherwise Read `sections/preamble.md` relative to the installed `gstack-ship` SKILL.md directory in full before the command below. A section or subsection here with a shared heading replaces the shared one.
|
||||
This skill follows gstack shared preamble `0876a471d87b` (AskUserQuestion format, voice, writing, completeness and completion rules). If your Read of that file, headed by this id, is still in context, do not read it again; otherwise Read `sections/preamble.md` relative to the installed `gstack-ship` SKILL.md directory in full before the command below. A section or subsection here with a shared heading replaces the shared one.
|
||||
|
||||
## Preamble (run first)
|
||||
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@ disable-model-invocation: true
|
||||
|
||||
## Shared preamble (load first)
|
||||
|
||||
This skill follows gstack shared preamble `fb2ce44dd505` (AskUserQuestion format, voice, writing, completeness and completion rules). If your Read of that file, headed by this id, is still in context, do not read it again; otherwise Read `sections/preamble.md` relative to the installed `gstack-ship` SKILL.md directory in full before the command below. A section or subsection here with a shared heading replaces the shared one.
|
||||
This skill follows gstack shared preamble `b517469fdbdb` (AskUserQuestion format, voice, writing, completeness and completion rules). If your Read of that file, headed by this id, is still in context, do not read it again; otherwise Read `sections/preamble.md` relative to the installed `gstack-ship` SKILL.md directory in full before the command below. A section or subsection here with a shared heading replaces the shared one.
|
||||
|
||||
## Preamble (run first)
|
||||
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"bytes": -4,
|
||||
"why": "GST-1455: the shared closer opens status reports with failed-or-skipped, unverified and also-changed lines (-4 B)"
|
||||
}
|
||||
Reference in new issue
Block a user