Merge remote-tracking branch 'origin/main' into garrytan/slim-gstack-skills

# Conflicts:
#	test/brain-sync.test.ts
#	test/skill-validation.test.ts
This commit is contained in:
Garry Tan
2026-04-25 21:25:21 -07:00
10 changed files with 450 additions and 30 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