Repository navigation
fix(skills): include resource context in exact-name reads - #170965
Merged
Merged
Conversation
vincentkoc
marked this pull request as ready for review
October 13, 2026 10:47
Contributor
|
ClawSweeper reviews are opt-in for maintainers. If a review is required, finish the work and validation first, then comment |
Member
Author
|
Merged via squash auto-merge.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 14, 2026
…70965) * fix(skills): include resource context in exact-name reads * test(skills): isolate read-context coverage and verify worker locations
This was referenced Oct 25, 2026
4 of 10 tasks
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 Problem This Solves
Fixes: a skill read by its known name can mention relative reference files without telling the agent where the skill lives. This affects both
skills_readand Code Mode'sskills.read, especially when the skill was omitted from the prompt directory.User Impact
Skill reads now include the admitted skill location and existing host-specific guidance alongside the complete instructions. Code Mode still returns a string. No configuration, migration, or permission changes are required.
Why This Change Was Made
Carry resource context from the eligible catalog through the read result and use one formatter for both model-facing paths. Preserve the original instruction bytes in
details.content, existing whole-read limits, and read-time authority checks. Virtual locations remain virtual; backing filesystem paths are not substituted.This addresses a concrete delivery gap. It does not change search ranking and is not a claim of improved benchmark scores.
Evidence
git diff --checkpassed.