Remove Opus fanout overlay nudge

This commit is contained in:
Garry Tan
2026-04-25 08:45:17 -07:00
parent 864342726c
commit 0effb01443
4 changed files with 3 additions and 15 deletions
+2 -7
View File
@@ -7,7 +7,7 @@
* 3. The SDK event stream contains the types we assume (system init, assistant,
* result) with the fields we destructure.
* 4. `scripts/resolvers/model-overlay.ts` resolves `{{INHERIT:claude}}` against
* `opus-4-7.md` AND the resolved text contains the "Fan out explicitly" nudge.
* `opus-4-7.md` with no unresolved inheritance directives.
* 5. A local `claude` binary exists at `which claude` so binary pinning is possible.
*
* Run: bun run scripts/preflight-agent-sdk.ts
@@ -28,7 +28,7 @@ async function main() {
failures.push(msg);
};
// 1. Overlay resolver + fanout nudge text
// 1. Overlay resolver
console.log('1. Overlay resolver');
const resolved = readOverlay('opus-4-7');
if (!resolved) {
@@ -40,11 +40,6 @@ async function main() {
} else {
pass('no unresolved INHERIT directives');
}
if (!/Fan out explicitly/i.test(resolved)) {
fail('resolved overlay does not contain "Fan out explicitly" text');
} else {
pass('fanout nudge text present in resolved overlay');
}
}
// 2. Local claude binary exists