Skip to content

"delete the resolved incidents" routes to Conflict Resolution, silently withholding delete_node #3054

Closed

Description

@malibio

Summary

"delete the resolved incidents" ranks Conflict Resolution first (0.978) and Node Deletion second (0.904) in Stage-2 retrieval. delete_node is offered only from the top-ranked candidate that has tools, and Conflict Resolution has tools. So on this request delete_node is withheld, and the only record of it is an info log (destructive_tools_withheld). The user's deletion request can't be carried out, and nothing explains why.

The cause is the same lexical attractor #2912 dealt with. Conflict Resolution's description contains "resolve", so any request containing "resolved" is pulled toward it. This happens on main and was not introduced by #2912's changes (measured before and after with the locked nomic embedding model).

Evidence

From tests/live_skill_retrieval_stability.rs (control_deletion_requests_are_not_outranked_by_graph_editing prints the ranking):

"delete the resolved incidents": ["Conflict Resolution=0.978", "Node Deletion=0.904", "Graph Editing=0.832", ...]

The same test deliberately checks only Graph Editing against Node Deletion, and its doc comment notes this case.

Other "resolved" phrasings also rank Conflict Resolution first, e.g. "mark the incident as resolved" at 0.984. #2912 made those work by getting Graph Editing into the top 3, which is enough for a non-destructive update_node. It isn't enough for delete_node, which needs rank 1.

Options

  • Narrow Conflict Resolution's description so it embeds as "the conflict journal / duplicate collisions" rather than "resolve". Its control (control_conflict_requests_still_route_conflict_resolution) must keep passing.
  • Offer destructive tools from the top-ranked skill that has them, not from the top tool-bearing skill overall. This changes the trust boundary ADR-038 describes (only the skill that won retrieval may offer a destructive tool), so it needs a decision, not just a patch.

Acceptance criteria

  • "delete the resolved incidents" (plus 2–3 similar deletion requests containing "resolved") routes delete_node onto the Stage-2 surface
  • Conflict-journal requests still rank Conflict Resolution first
  • All existing live retrieval tests pass

🤖 Generated with Claude Code

Activity

  1. malibio commented on Sep 26, 2026

    @malibio
    CollaboratorAuthor

    Frontend baseline: 5365 passed, 2 flaky failures on first run (clean on re-run)

  2. self-assigned this
    on Sep 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions