Skip to content

feat(drift): add content drift reports#67

Merged
bntvllnt merged 1 commit into
mainfrom
feat/2-5-0-content-drift
Jul 1, 2026
Merged

feat(drift): add content drift reports#67
bntvllnt merged 1 commit into
mainfrom
feat/2-5-0-content-drift

Conversation

@bntvllnt

@bntvllnt bntvllnt commented Jul 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add CH-P2-04 drift CLI command and detect_content_drift MCP tool in report-only mode.
  • Detect name, scope, mixed-responsibility, hidden-side-effect, shape, orphan-scope, and misplaced-test drift with deterministic IDs/evidence.
  • Wire operation registry, text formatter, MCP hints, real-codebase dogfood, docs, llms files, and roadmap status.
  • Split drift internals into clear seams: types, tokens, evidence, profiles, findings, and thin public index.

Validation

  • code-review: CLEAN (/tmp/code-review-content-drift.json)
  • pnpm typecheck
  • pnpm lint
  • pnpm build
  • pnpm vitest run tests/drift.e2e.test.ts tests/operation-registry.test.ts tests/operation-registry.e2e.test.ts tests/mcp-tools.test.ts --reporter=verbose --pool threads --no-file-parallelism --maxWorkers=1 — 72 tests
  • pnpm test — 35 files / 472 tests
  • pnpm verify:cli-real — 68/68 checks
  • git diff --check
  • dogfood: node dist/cli.js drift . --scope src/drift --min-score 35 --json --force — 0 findings

Release

  • Canary train only after merge.
  • No stable release in this PR.

@bntvllnt bntvllnt self-assigned this Jul 1, 2026
@bntvllnt bntvllnt added enhancement New feature or request javascript Pull requests that update javascript code labels Jul 1, 2026
@bntvllnt bntvllnt merged commit 2605a31 into main Jul 1, 2026
2 checks passed
@bntvllnt bntvllnt deleted the feat/2-5-0-content-drift branch July 1, 2026 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant