Skip to content

Mock-LLM parent→child delegation test + UwUChat memory contract (#196, #197) - #203

Merged
w4ffl35 merged 1 commit into
masterfrom
issues/w14-2026-12-05
Dec 5, 2026
Merged

w4ffl35 merged 1 commit into
masterfrom
issues/w14-2026-12-05

Conversation

@w4ffl35

@w4ffl35 w4ffl35 commented Dec 5, 2026

Copy link
Copy Markdown
Member

Closes #196, closes #197.

#196: happy-path delegation in src/engine/tests/new-task.test.ts now crosses a real parent→child boundary (fake child does read+edit, parent resumes after child result, event feeds carry lineage). Plus existing budget/depth-cap/error suites.
#197: docs/memory-uwuchat-contract.md documents the AIRunner HTTP contract; src/memory/tests/uwuchat-contract.test.ts proves the client against it with a fake fetch. No client/doc disagreements found — doc written FROM client behavior.

Verification: 7/7 new-task, 11/11 uwuchat, 6/6 uwuchat-contract, 112/112 loop; tsc clean; per-file gates clean. Full npm test has one pre-existing failure (repair-known-v2-cli, also fails on clean HEAD).

…#196, #197)

Issue #196: happy-path delegation in new-task.test.ts now crosses a real
parent→child boundary — the fake child does a read + edit, the parent
resumes after the child result, and event feeds carry parentSessionId /
recursionDepth lineage. Covered alongside existing budget, depth-cap,
single-call, lineage, error, and malformed-completion suites.

Issue #197: document the UwUChat AIRunner HTTP contract in
docs/memory-uwuchat-contract.md (endpoint table, §2 schemas, error shape)
and prove the harness client against it with an injected fake fetch:
new uwuchat-contract.test.ts covers §2 fact store/list, recall with
scores, summary, Bearer header, env token, and typed errors.
@w4ffl35
w4ffl35 merged commit 1b8ed39 into master Dec 5, 2026
1 check passed
@w4ffl35
w4ffl35 deleted the issues/w14-2026-12-05 branch December 5, 2026 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant