Conversation
Set up `drift` to bind docs to the code they describe so docs get flagged when bound code changes: - scripts/drift-check.mjs: JSON wrapper that excludes vendored Claude skill bundles from false-positive broken links - drift.lock: 118 bindings (CLAUDE.md + topic docs + ADRs -> code) - drift:check script, pre-commit step, and a CI `drift` job (installs drift v0.10.0, runs pnpm drift:check) - CLAUDE.md "Doc Drift" section documenting the workflow - Fix two real broken doc links drift surfaced (ADR-010 path + template) Establish three docs and bind them: - docs/decisions/README.md: ADR index - docs/troubleshooting.md: common local-dev failures - docs/error-tracking.md: Sentry + PostHog wiring - Fix ADR-005 placeholder heading Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This was referenced Jun 17, 2026
Contributor
|
Preview deployment: https://tooling.preview.avy-fx.org |
…ng main Merging main surfaced stale drift bindings: docs/testing.md described the e2e auth setup as logging in "via the UI", but main moved auth.setup.ts to authenticate over the REST login endpoint (POST /api/users/login). Correct the doc (REST flow, userRoles list, per-test performLogin note) and re-link the testing.md -> e2e bindings (and CLAUDE.md -> testing.md) to the current code state. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
rchlfryn
approved these changes
Jun 18, 2026
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.
Description
Sets up
driftto bind docs to the code they describe, so docs get flagged for review when bound code changes. Adds the drift workflow (script, lockfile, pre-commit + CI) and three topic docs.Related Issues
N/A
Key Changes
scripts/drift-check.mjs— wrapsdrift check, excluding vendored Claude skill bundles to avoid false-positive broken linksdrift.lock— 118 doc→code bindings (CLAUDE.md, topic docs, ADRs)drift:checkscript,.husky/pre-commitstep, and a CIdriftjob (installs drift v0.10.0)docs/decisions/README.md(ADR index),docs/troubleshooting.md,docs/error-tracking.mdHow to test
pnpm drift:check→ reports "docs ok". The CIdriftjob runs the same.Migration Explanation
N/A — no schema/DB changes.
Future enhancements / Questions
Follow up PRs: