Fix raw source path linting without provenance false positives - #89
Open
nvk wants to merge 1 commit into
Open
Conversation
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
Fixes the raw-source provenance gap reported by @emercons in #88 while avoiding false positives for established raw-source formats.
source:values that are clearly local pathsfile://URIs,.//..//~/paths, and unambiguous root-relative pathssession,MANUAL, other URI schemes, schemeless web URLs, and free-form provenance labelsTests
raw-source-unresolveddefect fixture from the current golden wikisession, non-file URIs, paths containing spaces,file://directories, and upstream-relative raw-body linksBehavioral prompt evals were not run because this is deterministic local CLI logic and no
ANTHROPIC_API_KEYis available.Supersedes #88 with a compatibility-safe implementation. Thanks to @emercons for identifying and clearly reproducing the original gap.