You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
create_node tool description says an unlisted key is kept under the user's wording; the write is now refused #4343
The create_node tool description tells the model the opposite of what the tool now does.
packages/agent/src/local_agent/tools.rs:1624-1625 says a key the type does not list, for example depends_on, "is carried under a key named after the user's own wording rather than dropped", and the example call at lines 1627-1628 passes depends_on.
Since the closed-type change, the write is refused: packages/core/src/services/node_service/crud.rs:3766 returns "'{key}' is not a field of the type '{scope}' ... The value was not stored. Tell the user which value was refused and offer to add it as a separate request", and agent_loop.rs (undeclared_refusal_backstop, about lines 2806-2861) builds the reply from that refusal.
A model that follows the description will call create_node with an unlisted key expecting it to be kept, and the user then gets a refusal notice for a call the description invited.
Fix: rewrite the description so it says an undeclared key is refused, the refusal names the key and the type, and the model must tell the user which value was refused and offer to add the field as a separate request, never adding it itself. Replace the example so it does not pass an undeclared key. Check the golden ablation file packages/agent/goldens/ablation/fidelity-k1.toml (line 77), which still tells the model to use a custom: prefix, and the proto/node_service.proto comment near line 1331 that still mentions custom: extension fields.
This is in packages/agent, so it needs the agent-lane sign-off; the user gave it for this work.
Decision (owner, 2026-11-25): fix now; agent-lane sign-off given. Rewrite the description to say an undeclared key is refused and the model must offer to add the field as a separate request, replace the example, and fix the ablation golden and the proto comment.
Activity
mstomar125 commentedon Nov 25, 2026
Decision (owner, 2026-11-25): fix now; agent-lane sign-off given. Rewrite the description to say an undeclared key is refused and the model must offer to add the field as a separate request, replace the example, and fix the ablation golden and the proto comment.