mirror of
https://github.com/block/buzz.git
synced 2026-11-09 10:51:42 +00:00
Scope defaults to visible harness fallbacks
Signed-off-by: kenny lopez <klopez4212@gmail.com>
This commit is contained in:
@@ -5,6 +5,7 @@ import {
|
||||
availableRuntimesForStart,
|
||||
buildInstanceInputForDefinition,
|
||||
resolveStartRuntimeForDefinition,
|
||||
shouldPinSelectedRuntimeForDefinition,
|
||||
} from "./instanceInputForDefinition.ts";
|
||||
|
||||
// ── Phase 1B.3.5: the single definition→instance mapping ────────────────────
|
||||
@@ -74,6 +75,9 @@ test("row 4: create input never contains definition env vars", async () => {
|
||||
});
|
||||
|
||||
test("row 2: harnessOverride follows the backend-aligned formula", async () => {
|
||||
assert.equal(shouldPinSelectedRuntimeForDefinition(undefined, "goose"), true);
|
||||
assert.equal(shouldPinSelectedRuntimeForDefinition("claude", "goose"), false);
|
||||
|
||||
const match = await buildInstanceInputForDefinition(
|
||||
persona({ runtime: "goose" }),
|
||||
gooseRuntime,
|
||||
|
||||
Reference in New Issue
Block a user