Docs Drift Maintenance
When to use
- After any change to commands, config, workflows, API/CLI behavior, or release process.
- Before merge/release if docs accuracy is part of acceptance.
- Before declaring a feature complete (not just gates-complete).
Documentation coverage matrix (required)
For feature-adds and behavior changes, evaluate all applicable surfaces:
- Local operator docs
README.mddocs/technical/system-stability.mddocs/workflow/learnings.md
- Public repository docs
.github/CONTRIBUTING.md.github/PULL_REQUEST_TEMPLATE.md- community profile files (
CODE_OF_CONDUCT.md,SECURITY.md,SUPPORT.md) when behavior changes affect contributor workflow
- VS Code extension public profile
vscode-extension/README.mdvscode-extension/CHANGELOG.mdvscode-extension/package.jsonmetadata/settings descriptions
- Release traceability docs
- root
CHANGELOG.md - release notes / GitHub release object
- root
- Inline code documentation (added #101 — global linting governance)
- JS/TS: JSDoc on all exported/public functions (
@param,@returns,@description) - Python: Google-style docstrings on all public functions, classes, and modules
- Bash: Header comment block on each script; inline comments on non-obvious logic
- CSS: Section header comments; non-obvious rule explanations
- Governed by
lint-configs/eslint.config.devenv.js(JSDoc rules) andlint-configs/ruff.devenv.toml(D rules) - Drift check: run
npm run lint:all; any newjsdoc/*orD*violations are inline-doc drift
- JS/TS: JSDoc on all exported/public functions (
Procedure
- Enumerate changed behavior/config/workflow/code surfaces.
- Map each change to impacted docs using the coverage matrix above.
- Identify stale, missing, or contradictory statements.
- Apply minimal doc deltas that restore correctness and traceability.
- Verify docs now match actual behavior and invocation paths.
- Record what was intentionally N/A and why.
Output format
drift_status: none|found|criticalimpacted_docs: file list with reasonrequired_updates: concrete edits requiredverification_checks: objective checks confirming alignmentevidence: code/workflow changes correlated to docs updatesnot_applicable: surfaces reviewed but intentionally N/A
Standards
- Docs updates must ship with behavior/config/workflow changes.
- Keep wording precise, testable, and user-actionable.
- Avoid speculative claims unsupported by current implementation.
- "All tests pass" does not imply docs are complete.