Repository navigation
Retitle Conflict Resolution skill to Conflict Journal so "resolved" deletions reach delete_node (closes #3054) - #3077
Conversation
…eletions reach delete_node (closes #3054) The skill's embedded title + description shared the word "resolve" with any request mentioning "resolved", ranking it above Node Deletion on e.g. "delete the resolved incidents" (0.978 vs 0.904). delete_node is offered only from the top tool-bearing candidate, so the deletion was silently withheld. Measured on the locked nomic model: rewording the description alone never flipped the ranking — the title carried the pull. Retitling to "Conflict Journal" and dropping "resolve" from the description puts Node Deletion at rank 1 on four "resolved" deletion phrasings while every conflict-journal control (now five prompts) keeps the skill at rank 1. Adds deletion_requests_mentioning_resolved_route_node_deletion (rank-1, every rep) to the live retrieval suite. "remove the resolved tickets" still ranks Graph Editing first — a separate attractor, left out of the test. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Pragmatic Code Review: PR #3077Review Type: Initial review (no earlier reviews or comments on the PR) SummaryThis is a small, focused fix. The cause is found and measured: the skill's embedded title pulled "resolved" queries toward it, and six description-only rewordings did not change that. The fix is the smallest change that addresses that cause, a retitle plus a narrower description. It leaves ADR-038's trust boundary alone, which the issue's second option would have changed. All code references to the skill's title were renamed; the one leftover (a log fixture in Requirements Check (#3054)
Rename Completeness
Code Review Findings🔴 CriticalNone. 🟡 Improvements
🟢 Nits
Standards Check
RecommendationAPPROVE. The fix is correct and minimal, the measurements behind it are sound, and the tests guard both directions. I recommend fixing the Graph Editing comment (🟡) before merge, but it does not block. The rest are optional polish. |
malibio
left a comment
There was a problem hiding this comment.
Automated pragmatic-code-review: APPROVE (posted as a comment — GitHub blocks self-approval). Full findings in the review comment above.
- Graph Editing rationale now names the conflict skill's former title explicitly instead of implying Conflict Journal still carries "resolve" - Conflict Journal comment states that only title + description are embedded, not the guidance markdown (which still says "resolves") - Rewrap an overlong doc comment in live_skill_retrieval_stability.rs Skipped: adding a "Use when..." clause (the description wording was measured; adding text risks reintroducing the attractor) and gating the #[ignore]d live tests (pre-existing, needs the local model). Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Address-review summaryAddressed (6b9f746, comments only):
Skipped:
Re-Review DecisionNO RE-REVIEW NEEDED. Only comments changed; no code or test logic was touched. Pre-push gate passed. |
Closes #3054
Problem
"delete the resolved incidents" ranked the conflict skill first (0.978) and Node Deletion second (0.904).
delete_nodeis offered only from the top tool-bearing candidate, so the deletion was silently withheld.Cause
A skill's embedded text is its title plus its description. The conflict skill's title, "Conflict Resolution", shared "resolve" with every "resolved" request. I tried six descriptions on the locked
nomic-embed-text-v1.5model. None flipped the ranking while the title stayed "Conflict Resolution", so the title carried the pull by itself.Change
skill_md_generation.rsand the live retrieval tests.deletion_requests_mentioning_resolved_route_node_deletion, which requires Node Deletion at rank 1 on every rep for four "resolved" deletion phrasings. Before this change, 3 of the 4 ranked the conflict skill first.control_conflict_requests_still_route_conflict_journal) from 3 to 5 prompts. All still rank Conflict Journal first.Not fixed here
"remove the resolved tickets" still ranks Graph Editing (0.855) above Node Deletion (0.841). The cause is Graph Editing's "mark it resolved" wording, and no conflict-skill wording moves it. Filed as #3076.
Seeding skips skills that already exist, so an existing install needs a database reset to see the new title. This is expected under the no-migration rule.
Testing
live_skill_retrieval_stability: 10/10 passed (--ignored, locked model)nodespace-agentlib: 698 passednodespace-cliskill_md_generation: 12 passed🤖 Generated with Claude Code