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
Schema Creation skill tells the model to delete a schema but its whitelist omits delete_node #4323
Found by the skill whitelist vs prose audit run after #4322 (the loop now refuses a model call to a tool the turn did not offer).
Evidence. Built-in skill Schema Creation (id 3e9a7c14-5d28-4b61-8f0c-6a2d9e4b7c03, seed in packages/agent/src/skill_pipeline.rs) has whitelist create_schema, update_schema, get_node. Its rule delete-a-schema says to "delete the schema node" and to delete instances separately with delete_node. A schema is deleted with delete_node.
Effect. Destructive tools are offered only from the retrieval winner. With Schema Creation leading and no delete_node on its whitelist, deleting a type is impossible that turn even if Node Deletion places second.
Why it is not a one-line fix. Adding delete_node makes Schema Creation a destructive skill, so score_bar_for moves it from the mutating bar (0.30) to DESTRUCTIVE_SKILL_SCORE_BAR (0.45). That changes how often it leads on schema-creation requests, so the retrieval goldens and live stability tests need a check.
Decide between
Hand deletion to Node Deletion: reword the delete-a-schema rule so removing a type is routed there, no whitelist change.
Add delete_node to Schema Creation and accept the higher bar, after measuring retrieval.
Low urgency: schema deletion is rare. The sibling Organization mismatch (update_node, create_node) is fixed separately.
Decision (owner, 2026-11-25): keep Schema Creation non-destructive and reword its rule to send schema deletion to the Node Deletion skill, as a separate request. Deleting stays a separate destructive action; no whitelist change and no retrieval-bar change.
Activity
mstomar125 commentedon Nov 25, 2026
Decision (owner, 2026-11-25): keep Schema Creation non-destructive and reword its rule to send schema deletion to the Node Deletion skill, as a separate request. Deleting stays a separate destructive action; no whitelist change and no retrieval-bar change.