Repository navigation
Description
Split out of #1866, where it was measured as one of two mechanisms still blocking agent-matrix scenario 4 after that issue's guidance fix landed.
Symptom
The model creates a schema, then calls create_node against a node_type that does not exist — using the type's human-readable display name instead of its schema id.
Measured in run 2 of 3 (E4B @ n_ctx 32768, purged DB, daemon rebuilt from 4b66ec4f):
create_schema → id "equipment_item"
create_node → node_type: "Equipment Item Tracker" ← invented; no such type
An earlier run in the same session produced a different invention for the same turn (equipment_item_tracker), so this is not a single stuck string.
Why it matters
create_node succeeds. There is no schema to validate against, so every supplied property value has nowhere to land and the node is stored as a bare shell with property_count=0. The user is told the record was saved.
This is indistinguishable at the tool-call level from the defect #1866 fixed (values dropped for lack of a matching field) — both surface as create_node fieldCount=0 on a successful call. They were only told apart by reading args_preview for the node_type actually passed. Worth keeping in mind for anyone triaging a zero-property create_node.
What is already in place and did not prevent it
The create_node tool schema's node_type description is already emphatic:
"copy the id exactly from the RELEVANT ENTITY TYPES block — character for character, including underscores — never shorten, singularize, paraphrase, or guess it from the user's wording. If the type is not listed there, it does not exist yet — do not invent an id for it."
The Node Creation skill guidance carries the same rule (TYPE MAPPING FROM RELEVANT ENTITY TYPES). Both were present and correct in the measured build. So this is not a missing-instruction gap — restating it more forcefully is unlikely to be the fix.
Two directions worth considering instead, in preference order:
- Make the failure loud rather than silent.
create_nodeagainst an unknownnode_typecurrently succeeds. Rejecting it — or returning a result naming the valid ids — turns a silent data-loss bug into a recoverable error the model can act on. This seems clearly right regardless of what else is done, and would have surfaced this in one turn instead of two scenarios later. - Check whether the id is actually in the prompt at the moment of the call. create_node discards user-supplied schema field values: instances persist as bare shells (guidance/prose, not tool schema) #1841 and the create_node succeeds but persists zero properties: matrix scenario 4 drops the user's supplied values #1866 investigation both turned on guidance referencing a structure the model could not see. Worth dumping the Stage-2 prompt for this turn and confirming
equipment_itemappears in RELEVANT ENTITY TYPES before assuming the model ignored it.
Note that (1) interacts with #1872 — a rejected call needs a recovery path, or making this one reject just moves the failure.
Acceptance criteria
- Determine whether the correct schema id is present in the prompt at the point
create_nodeis called -
create_nodeagainst a nonexistentnode_typeno longer silently succeeds with zero properties - Scenario 4 no longer fails via this mechanism across repeated runs
Evidence: 3 results files + .trace.jsonl from the #1866 post-fix measurement.
Activity
malibio commentedon Aug 1, 2026
Frontend baseline: 171 test files passed, 4108 tests passed.