From 3bc3b5d5f976773ab86d7f76d5613269ccef3392 Mon Sep 17 00:00:00 2001 From: Garry Tan Date: Tue, 25 Aug 2026 17:52:26 +0000 Subject: [PATCH] fix(test): drop stale generate-lake-intro import (generator deleted in the emission-layer move) Sol scope discipline stays pinned via the model overlay + completeness section; the lake intro is now a single script-emitted blurb. Co-Authored-By: Claude Fable 5 --- test/model-overlay-gpt-5.6-sol.test.ts | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/test/model-overlay-gpt-5.6-sol.test.ts b/test/model-overlay-gpt-5.6-sol.test.ts index 9d1d83e77..6327f1a1f 100644 --- a/test/model-overlay-gpt-5.6-sol.test.ts +++ b/test/model-overlay-gpt-5.6-sol.test.ts @@ -2,7 +2,6 @@ import { describe, expect, test } from 'bun:test'; import { resolveModel } from '../scripts/models'; import { generateModelOverlay, readOverlay } from '../scripts/resolvers/model-overlay'; import { generateCompletenessSection } from '../scripts/resolvers/preamble/generate-completeness-section'; -import { generateLakeIntro } from '../scripts/resolvers/preamble/generate-lake-intro'; import { generateSetupCommand } from '../scripts/resolvers/utility'; import type { TemplateContext } from '../scripts/resolvers/types'; @@ -49,24 +48,23 @@ describe('GPT-5.6 Sol model profile', () => { expect(out).toContain('Never use this patch to skip a concrete requirement'); }); - test('completeness and first-run copy stay inside the explicit task boundary', () => { + // The lake intro moved from a per-model render-time generator into + // bin/gstack-skill-start's one-time emission layer (token-reduction Phase 2). + // Sol's scope discipline is carried by the model overlay + completeness + // section (both still model-conditional and pinned here); the intro itself + // is a single display-once blurb emitted by the script. + test('completeness copy stays inside the explicit task boundary', () => { const completeness = generateCompletenessSection(ctx('gpt-5.6-sol')); - const intro = generateLakeIntro(ctx('gpt-5.6-sol')); expect(completeness).toContain("inside the user's explicit task boundary"); expect(completeness).toContain('report them, do not implement them'); expect(completeness).toContain('all relevant in-scope edge cases'); - expect(intro).toContain("within the user's explicit task boundary"); - expect(intro).toContain('Do not widen that boundary'); }); test('generic GPT copy remains unchanged', () => { const generic = generateModelOverlay(ctx('gpt')); const completeness = generateCompletenessSection(ctx('gpt')); - const intro = generateLakeIntro(ctx('gpt')); expect(generic).toContain('make your best judgment and proceed'); expect(completeness).toContain('the complete thing is the goal'); - expect(intro).toContain('do the complete thing when AI makes marginal cost near-zero'); - expect(intro).not.toContain('Do not widen that boundary'); }); test('terse mode still suppresses the completeness section for Sol', () => {