Skip to content

[codex] Fix drift skill accuracy#32

Merged
laulauland merged 1 commit into
mainfrom
audit-drift-skill-accuracy
May 25, 2026
Merged

[codex] Fix drift skill accuracy#32
laulauland merged 1 commit into
mainfrom
audit-drift-skill-accuracy

Conversation

@brettimus
Copy link
Copy Markdown
Contributor

Summary

  • Corrects drift skill guidance for blanket relinking and inline @./ references.
  • Tightens relink gate, drift refs, signature fallback, markdown link linting, and staleness reason wording to match implementation.

Validation

  • git diff --check HEAD~1..HEAD
  • Reviewed by three subagents for link behavior, broader CLI accuracy, and documentation clarity.

@brettimus brettimus marked this pull request as ready for review May 23, 2026 18:02
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>
@laulauland laulauland merged commit 5c5c9c5 into main May 25, 2026
5 checks passed
@laulauland laulauland deleted the audit-drift-skill-accuracy branch May 25, 2026 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants