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
Seeded skill guidance teaches parameter name relation_type but the tool schema and executor require relationship_type #2200
The Relationship Management and Organization skill bodies injected into the Stage-2 prompt instruct the model three times to pass relation_type (lines 147, 151, 208 — including the worked instruction relation_type="member_of"), but def_create_relationship/def_get_related_nodes declare relationship_type and the param structs (tools.rs CreateRelationshipParams/GetRelatedNodesParams, lines 113-132) use #[serde(deny_unknown_fields)] with no alias, so a call following the guidance fails deserialization outright.
Failure scenario
User: 'add this note to the Projects collection' — routing surfaces the Organization skill, whose guidance says to call create_relationship with relation_type="member_of". A small local model (the primary deployment target, measured in this repo to copy shapes it is shown 8-of-8 times) emits {"from_id":...,"to_id":...,"relation_type":"member_of"} → serde rejects it (unknown field relation_type / missing relationship_type) → error tool result burns an iteration; the RESPONSE RULES then permit exactly one retry, and a model that trusts the injected skill text repeats the taught name and the turn ends in failure — the prompt-assembly layer actively teaches an argument shape the dispatcher rejects, the exact prompt/tool-schema inconsistency class. Notably the registry authors added serde aliases for the analogous node_id/id split but not here.
Location
packages/agent/src/skill_pipeline.rs:147
Severity
important
Found via a full-repo adversarial bug sweep, independently verified by two separate skeptical reviewers reading the actual current code before filing.
Root cause confirmed and fixed in PR #2362: the seeded Relationship Management and Organization skill guidance taught relation_type at 3 call sites while create_relationship/get_related_nodes both require relationship_type and reject unknown fields. Fixed the guidance text, plus added a defensive serde alias mirroring the existing node_id/id precedent. Full test:all + quality:fix + pre-push gate all green; new guidance-text regression test verified via mutation testing.
Activity
mstomar125 commentedon Sep 4, 2026
Baseline before implementation: Frontend: 229 test files, 4848 tests passed.
mstomar125 commentedon Sep 4, 2026
Root cause confirmed and fixed in PR #2362: the seeded Relationship Management and Organization skill guidance taught relation_type at 3 call sites while create_relationship/get_related_nodes both require relationship_type and reject unknown fields. Fixed the guidance text, plus added a defensive serde alias mirroring the existing node_id/id precedent. Full test:all + quality:fix + pre-push gate all green; new guidance-text regression test verified via mutation testing.