Repository navigation
Send schema deletion to the Node Deletion skill from Schema Creation - #4357
Merged
Merged
Conversation
Contributor
Author
|
APPROVE (static review, head 54c5d8c)
|
Schema Creation's delete-a-schema rule told the model to delete the schema node, but the skill's whitelist has no delete_node, so the call was refused. Adding delete_node would make the skill destructive and move it to the destructive retrieval bar. The in-app rule now says deleting a type is a separate destructive request handled by Node Deletion, to be sent as its own request, and keeps the facts the user should know about it (relationship declarations, subtypes, instances). The CLI skill text is unchanged. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
mstomar125
force-pushed
the
issue-4323-schema-delete-route
branch
from
November 25, 2026 08:52
54c5d8c to
247311a
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.
What
Decision (owner, 2026-11-25): keep Schema Creation non-destructive and send schema deletion to the Node Deletion skill as a separate request; no whitelist change, no retrieval-bar change.
The in-app (
agent) form of thedelete-a-schemarule told the model to delete the schema node, but Schema Creation's whitelist (create_schema, update_schema, get_node) has nodelete_node. It now says: this skill does not offer the delete tool, never calldelete_nodehere or claim the type was deleted; do not report deletion as unsupported or propose an empty-shell workaround; deleting a type is a separate destructive request handled by the Node Deletion skill, which the user sends as its own request, not started in this turn. It keeps what the user should know about that request (relationship declarations block it, subtypes block it, instances remain).skill-md/delete-a-schema.md) is unchanged: the CLI has no whitelist.DELETE_A_SCHEMA.anchorsdrops the three anchors only the old in-app wording carried ("mirror of the", "instance data", "extends"); the form-drift test still holds the rest in both forms.stage2_candidate_block.goldenregenerated: the only change is that rule line.Agent lane (
packages/agent): owner signed off agent-lane work for this batch.Retrieval
Retrieval embeds each skill's name and
use_foronly; the whitelist is untouched, so the skill stays on the mutating bar (0.30) andseeded_skills_classify_by_blast_radius_as_expected(Schema Creation: mutating, not destructive) still passes. Live retrieval stability runs were not done (no model loading), and nothing they measure changed.Tests
schema_creation_sends_schema_deletion_to_node_deletion: whitelist has nodelete_node; the rule names Node Deletion and a separate request, forbidsdelete_nodehere. Mutation: restoring the old rule text fails it. (Its whitelist assertion duplicates the existing blast-radius test; not separately mutated.)cargo test -p nodespace-agent: lib 1379 passed,--test it173 passed (including the retrieval/confusion-matrix and prompt-assembly goldens),cargo clippy -p nodespace-agent --all-targets -D warningsand fmt clean.Closes #4323
🤖 Generated with Claude Code