Repository navigation
Add a live check that a document given to create_node becomes a titled record with its body below it - #4278
Merged
Conversation
Contributor
Author
|
APPROVE (head c547485), with non-blocking nits. Verified by reading the diff,
Non-blocking nits:
Could not verify: compilation or clippy of this exact head, the 12/12 result (needs the model), and that |
Contributor
Author
|
Review nits addressed in 653767b, a new commit on the PR branch (no force-push):
Re-run on CPU (gemma-4-E4B Q4_K_M, 4 threads) with the stricter assertions: 12 of 12 repetitions pass (3/3 in each of the four scenarios). quality:fix is clean and bun run test:changed passes locally (an earlier attempt hit a rustc abort under load in shape:check, rerun clean). |
…d record with its body below it One turn on the real production tool definitions over a real store, three repetitions of each scenario (a task, a decision and a spec given as markdown documents, and the task again with create_task withheld). It asserts what the store holds: the root's type, its single-line title without the heading marker, and the nodes below it. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…equire two of three repetitions The module documentation now lists all four scenarios and drops the embedding model it never loads, the third scenario is named for what it is, each repetition also has to produce the expected child types, and the run fails when any scenario creates the right record in fewer than two of its three repetitions. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
mstomar125
force-pushed
the
issue-4237-live-create-document
branch
from
November 16, 2026 08:54
653767b to
0008451
Compare
17 tasks
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.
Adds an ignored live test (
live_create_node_document) that measures, on a small local model, what the agent'screate_nodedoes with a markdown document: one turn on the real production tool definitions over a real store, three repetitions of four scenarios. It asserts what the store holds afterwards, never what the tool returned: the root's type, its single-line title without the heading marker, and the number of nodes below it.Scenarios: a task given as a document (with the three write tools offered), the same task with
create_taskwithheld so the document form ofcreate_nodeis the only route, a decision, and a spec with three sections.Result on CPU (gemma-4-E4B Q4_K_M, 4 threads, 3 repetitions each): 12 of 12 created the right record. The model uses
create_taskfor a task when it is offered (type issue, title, brief and three checkboxes) and the document form ofcreate_nodeotherwise. No tool wording was changed.The test changes no product code. It needs the CPU-only environment described in
live_small.bun run test:changedpasses locally and clippy with warnings as errors is clean.🤖 Generated with Claude Code