Repository navigation
Say in create_node's description that an undeclared key is refused - #4351
Merged
Merged
Conversation
Contributor
Author
|
APPROVE (static review, head 0b95488)
|
The description told the model a key the type does not list is kept under the user's wording, and its example passed one. A type is closed: the write is refused, naming the key and the type. The description now says so, tells the model to report the refused value and offer the field as a separate request without adding it itself, and the example passes only declared keys. The fidelity-k1 ablation golden and the UpdateTaskNodeRequest proto comment no longer describe custom: prefixed extension fields. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
mstomar125
force-pushed
the
issue-4343-create-node-desc
branch
from
November 25, 2026 08:52
0b95488 to
309d275
Compare
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.
What
create_node's tool description told the model that a key the type does not list "is carried under a key named after the user's own wording rather than dropped", and its example passeddepends_on. Types are closed (ADR-112): the write is refused, naming the key and the type. A model following the description invited the refusal.goldens/ablation/fidelity-k1.toml: the Node Creation guidance, thecreate_nodetool description and thefield_valuesparameter description no longer tell the model to use acustom:prefix or to store extra keys; they match the current rule.proto/node_service.proto: theUpdateTaskNodeRequestcomment no longer mentionscustom:extension fields.stage2_tool_surface.goldenregenerated: the only change is thecreate_nodedescription.Agent-lane change (
packages/agent): the owner signed off agent-lane work for this batch.Tests
create_node_description_says_an_undeclared_key_is_refused(tools.rs). Mutation check: changing "is refused" to "is kept" and the lead sentence in the description makes it fail; restored, it passes.cargo test -p nodespace-agent(lib 1379 passed,it173 passed, live-model tests ignored),cargo clippy -p nodespace-agent --all-targets -D warnings,cargo fmt --check: green. No live-model or eval runs.fidelity-rank1-*,production-baseline, ...) are frozen experiment records that carry the same old text; only the file named in the issue was changed.Closes #4343
🤖 Generated with Claude Code