[codex] Fix drift skill accuracy#32
Merged
Merged
Conversation
brettimus
added a commit
to fiberplane/otter
that referenced
this pull request
May 23, 2026
Pulls in the fixes from the in-flight fiberplane/drift#32 ("Fix drift skill accuracy"). Most-important corrections: - Targetless `drift link <doc>` does not discover inline `@./` refs in the doc body — agents must bind new targets explicitly with `drift link <doc> <target>`. This matches the framing we just used in the QA proposal/README/scenarios. - Adds missing staleness reasons (file not readable, fingerprint unavailable, baseline unavailable, origin mismatch, link target not found) so agents debugging `drift check` failures see the full list. - Clarifies fingerprint behavior across supported and unsupported languages (TSX/JSX listed; raw content fallback for whole-file anchors; unsupported symbol anchors can't be fingerprinted). - Relink-gate behavior reflects current CLI: prints review context rather than always "both sides", and TTY runs can prompt for confirmation. - Markdown link checks scoped to "discovered markdown docs under the lockfile root" instead of the older "drift-managed docs" phrasing. When fiberplane/drift#32 merges this will be a no-op resync. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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
@./references.drift refs, signature fallback, markdown link linting, and staleness reason wording to match implementation.Validation
git diff --check HEAD~1..HEAD