Repository navigation
Mock-LLM parent→child delegation test + UwUChat memory contract (#196, #197) - #203
Merged
Merged
Conversation
…#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.
This was referenced Dec 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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).