mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-26 09:54:19 +01:00
test: re-pin land-and-deploy size and carve guards after the diet (GSTA-161)
The canary section drops its duplicated health checklist and long labels so the parity union stays under its 1.126 cap with the new pointer and index row. Carve guard: canary.md joins expectedSections and maxSkeletonBytes drops 52,682 -> 32,216. The codex and factory size pins go away: both hosts are now under 100,000 chars. The browser tripwire reads land-and-deploy's Aside contract from sections/canary.md, as it already does for qa. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
776bbb2a17
commit
9f659dd554
7 files changed
+27
-47
No files matched your search
@@ -502,6 +502,12 @@ describe('browser consolidation tripwires', () => {
|
||||
}
|
||||
md += fs.readFileSync(path.join(ROOT, 'qa/sections/browser-setup.md'), 'utf8');
|
||||
}
|
||||
if (skill === 'land-and-deploy') {
|
||||
expect(md).toContain('sections/canary.md');
|
||||
expect(md).not.toContain('## BROWSER SETUP (Aside');
|
||||
expect(md).not.toContain('## Third-Party Web Actions');
|
||||
md += fs.readFileSync(path.join(ROOT, 'land-and-deploy/sections/canary.md'), 'utf8');
|
||||
}
|
||||
const aside = md.indexOf('## BROWSER SETUP (Aside');
|
||||
const fb = md.indexOf("## Browser fallback: gstack's own headless browser");
|
||||
expect({ skill, hasAside: aside >= 0, hasFallback: fb >= 0, fallbackAfterAside: fb > aside }).toEqual({ skill, hasAside: true, hasFallback: true, fallbackAfterAside: true });
|
||||
|
||||
-2
@@ -8,7 +8,6 @@
|
||||
"agy/gstack-plan-eng-review": 144907,
|
||||
"agy/gstack-review": 103743,
|
||||
"codex/gstack-autoplan": 108553,
|
||||
"codex/gstack-land-and-deploy": 100284,
|
||||
"codex/gstack-plan-design-review": 111116,
|
||||
"codex/gstack-plan-devex-review": 118004,
|
||||
"codex/gstack-plan-eng-review": 146072,
|
||||
@@ -24,7 +23,6 @@
|
||||
"cursor/gstack-plan-eng-review": 143662,
|
||||
"cursor/gstack-review": 121614,
|
||||
"factory/gstack-autoplan": 110763,
|
||||
"factory/gstack-land-and-deploy": 100105,
|
||||
"factory/gstack-plan-design-review": 111675,
|
||||
"factory/gstack-plan-devex-review": 118591,
|
||||
"factory/gstack-plan-eng-review": 146770,
|
||||
|
||||
@@ -525,7 +525,7 @@ do not launch the downstream skill or open a browser.`,
|
||||
},
|
||||
'land-and-deploy': {
|
||||
skill: 'land-and-deploy',
|
||||
expectedSections: ['first-run-validation.md', 'readiness-gate.md', 'merge-and-deploy.md'],
|
||||
expectedSections: ['first-run-validation.md', 'readiness-gate.md', 'merge-and-deploy.md', 'canary.md'],
|
||||
requiredReads: ['readiness-gate.md', 'merge-and-deploy.md'],
|
||||
scenario:
|
||||
'This project has a confirmed prior /land-and-deploy run (treat the Step 1.5 check as CONFIRMED). A PR exists for this branch and CI is green. Simulate — do not run gh or actually merge: run the pre-merge readiness gate and produce the readiness report, then walk the merge and deploy-strategy steps, stating which merge path and deploy strategy you would take. Do NOT use AskUserQuestion.',
|
||||
@@ -544,7 +544,7 @@ do not launch the downstream skill or open a browser.`,
|
||||
gateAfterStop: undefined, // operational skill
|
||||
},
|
||||
behavioral: 'prompt',
|
||||
maxSkeletonBytes: 52_682, // GSTA-96 hoist (2026-10-26): lowered from 74_500 by the shared preamble that moved to sections/preamble.md, keeping the pre-hoist headroom of 690 bytes; measured 51,992. Before: + Aside browser contract for Step 7 canary ({{ASIDE_SETUP}}); measured 73_523
|
||||
maxSkeletonBytes: 32_216, // GSTA-161 skill diet (2026-10-30): lowered from 52_682 to the measured skeleton, 32,216; Step 7's canary script, the Aside contract, the browser fallback and Third-Party Web Actions moved to sections/canary.md. Before: GSTA-96 hoist (2026-10-26): lowered from 74_500 by the shared preamble that moved to sections/preamble.md, keeping the pre-hoist headroom of 690 bytes; measured 51,992. Before: + Aside browser contract for Step 7 canary ({{ASIDE_SETUP}}); measured 73_523
|
||||
maxSizeRatio: 1.1260, // + #3318 Step 3.4 reads the ship policy and prints one VERSION_CHECK verdict (owner-approved raise, Garry 2026-10-24: "do it"); measured 1.1201 (2026-10-24). Before: 1.1120. + v1.81 Aside contract + gstack-browser fallback block; measured 1.077. + both untrusted-content marker formats in the browser fallback (W7f) + the readiness gate's project test command and live eval-store paths (s06 H6/H7); measured 1.1076 (2026-10-02). Re-measured 1.0943 (2026-10-03); cap = measured + 0.005 headroom. + Oct 7 wave B6: Aside rules 1, 4, 6 and 7 (offer a target-origin tab before openTab, a second sign-in wall means a tab- or URL-bound session, no early-return hint, fast [ok without the sentinel is an abort); measured 115,226 / 104,578 = 1.1018 (2026-10-07). + Honest Work wave merged (W2/W3 gate integrity in review/ship, W4 kernel + DONE line in every tier-2+ skill, W5/W7 in spec/ship): re-measured on the integrated tree (2026-10-10). + GSTA-96 shared-preamble hoist (owner-approved raise, Garry 2026-10-25: "do it"): the union now holds sections/preamble.md, so a fresh invocation reads the pointer plus the shared file; measured 117,753 / 104,578 = 1.1260 (2026-10-25). Before: 1.125.
|
||||
minUnionBytes: 91_000, // Phase 4 wave 1; estimated union ~94.9KB
|
||||
mustContain: ['readiness', 'merge', 'canary', 'revert', 'staging'],
|
||||
|
||||
Reference in new issue
Block a user