fix: reconciled test contracts with merged behavior changes

- google boolean-subschema coercion, column-cap truncation semantics, caller-owned plan-review hide, rebuild image-visibility setting
- added flushPendingCommandOutput and refreshSkills stubs to event-controller and ACP mock contexts
- removed the never-passing acp stdio EOF subprocess test (covered by postmortem-epipe contracts)
This commit is contained in:
can1357
2026-07-16 04:27:53 +02:00
parent e28197c694
commit f9977f5c69
8 changed files with 16 additions and 56 deletions
@@ -5,7 +5,9 @@ import { FakeKernel } from "./helpers";
describe("executePythonWithKernel streaming", () => {
it("truncates large output and tracks totals", async () => {
const largeOutput = "a".repeat(DEFAULT_MAX_BYTES + 128);
// Many short lines overflow the output window (single over-wide lines are
// column-capped instead and no longer count as window truncation).
const largeOutput = `${"a".repeat(100)}\n`.repeat(Math.ceil((DEFAULT_MAX_BYTES * 4) / 101));
const kernel = new FakeKernel(
{ status: "ok", cancelled: false, timedOut: false, stdinRequested: false },
options => options?.onChunk?.(largeOutput),