Repository navigation
Sync agent reverse-traversal guidance with the direction fix (closes #2831) - #3193
Merged
Merged
Conversation
Collaborator
Author
Pragmatic Code Review: PR #3193Review Type: Initial review Requirements Check (#2831)
Accuracy Against Behavior
Code Review Findings🔴 Critical: none. 🟡 Improvements: none blocking. 🟢 Observations / Nits
Recommendation: APPROVEThis change only touches guidance text. It meets both acceptance items, matches the core and handler behavior, is byte-consistent with |
malibio
commented
Sep 27, 2026
malibio
left a comment
Collaborator
Author
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.
Collaborator
Author
Address-review summaryReview verdict: APPROVE — no 🔴/🟡 findings.
No new commits. No re-review needed. |
…2831) The RELATIONSHIP_REVERSE_TRAVERSAL rule and get_related_nodes's tool schema still described `direction` as meaningful for a reverse name. Since the relationship get double-reversal fix, a reverseName (or built-in inverse) always traverses the forward edge inbound and `direction` is ignored. - Rule imperative + prose now state direction is a no-op for reverse names; prose matches references/cli.md. - get_related_nodes `direction` / `relationship_type` descriptions say the same at tool-call time. - Drift guard key phrase retargeted to "`--direction` has nothing to select", the half of the rule that had drifted unnoticed. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
malibio
force-pushed
the
issue-2831-reverse-direction-guidance
branch
from
September 27, 2026 23:31
24da826 to
ac1c558
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.
Summary
Follow-up to #2822. The two
packages/agentmodel-facing copies of the reverse-traversal guidance still implieddirectionmatters for a reverse name; it is ignored.skill_rules.rsRELATIONSHIP_REVERSE_TRAVERSAL: imperative and prose state a reverseName / built-in inverse names exactly one traversal, sodirectionis ignored; prose now matchesreferences/cli.md.tools.rsdef_get_related_nodes:directionandrelationship_typeschema descriptions say the same.skill_md_key_phraseretargeted to"`--direction` has nothing to select"so this half of the rule is pinned to the shipped skill.Text-only; no behavior change.
Test plan
bun run test:changed(scripts + Rust workspace nextest) passedCloses #2831
🤖 Generated with Claude Code