Repository navigation
fix(agent): Organization skill whitelist holds update_node and create_node - #4324
Merged
Merged
Conversation
… the tools its rules call The agent loop now refuses a call to a tool the turn did not offer. The Organization skill's rules tell the model to call update_node (add an existing node to a collection) and create_node (create with a collection path), but its whitelist omitted both, so those instructions were refused whenever Organization led retrieval. create_relationship already makes the skill mutating, so its score bar is unchanged. Takes the two entries off the known-gaps list in the all-skills whitelist test and adds a narrow Organization test. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
mstomar125
force-pushed
the
fix/organization-skill-whitelist
branch
from
November 20, 2026 12:51
ee6f0f4 to
bf6d37f
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.
Problem
Core #4322 makes the agent loop refuse a model call to a tool the turn did not offer. The built-in
Organizationskill's rules tell the model to callupdate_node(organization-add-existing: add an existing node to a collection) andcreate_node(collection-at-create-time), but its whitelist wascreate_relationship, delete_relationship, get_node, search_semantic, search_nodes. Those calls used to run by accident; now they are refused whenever Organization leads retrieval.Fix
Add
update_nodeandcreate_nodeto Organization's whitelist.create_relationshipalready makes the skill mutating (skill_is_mutating), and neither added tool is destructive, soscore_bar_forstill returnsMUTATING_SKILL_SCORE_BAR. The test also asserts no destructive tool is listed.use_for), andshape:checkpasses, so nothing needed regenerating and no model was run.a_skill_names_only_tools_in_its_listalready checks every seed's rule text against its whitelist, with a known-gaps list; the two Organization entries come off it (it fails otherwise). Added a narroworganization_whitelist_holds_the_tools_its_rules_call. Mutation check: removingupdate_nodefrom the whitelist fails the new test with "Organization's rules callupdate_nodebut its whitelist ... omits it".bun run test:changedpasses. Merge gate not run.Not in this PR
Schema Creation names
delete_nodewithout listing it; adding it raises that skill's score bar, so it is split out as #4323 for a decision.Agent-lane
This touches
packages/agent. The agent-lane sign-off for the #4291/#4316 remote-tool build stands for this fix, because #4322 (part of that build) exposes the bug.🤖 Generated with Claude Code