Skip to content

feat(archgate): add DOC-001 documentation consistency rule#2411

Merged
kitelev merged 1 commit intomainfrom
feature/doc-consistency-rule
Mar 23, 2026
Merged

feat(archgate): add DOC-001 documentation consistency rule#2411
kitelev merged 1 commit intomainfrom
feature/doc-consistency-rule

Conversation

@kitelev
Copy link
Owner

@kitelev kitelev commented Mar 23, 2026

Summary

Adds automated Archgate rule DOC-001 to prevent phantom features in documentation — the exact problem discovered and manually fixed in this session's audit (PRs #2393-#2410).

Three automated checks:

  • no-phantom-source-paths — warns when README/ARCHITECTURE reference source file paths that don't exist
  • no-stale-package-description — warns when a workspace package exists but isn't in README
  • no-coming-soon-without-issue — warns when "coming soon" used without linked GitHub issue

Motivation

2026-03-23 audit found 9 phantom features. This rule automates detection going forward.

Test plan

  • CI passes (Archgate 13/13 pass verified locally)

Three automated checks:
- no-phantom-source-paths: warns when README/ARCHITECTURE reference
  source file paths that don't exist (e.g. deleted/moved files)
- no-stale-package-description: warns when a workspace package
  exists in packages/ but isn't mentioned in README
- no-coming-soon-without-issue: warns when "coming soon" is used
  without a linked GitHub issue (prefer "planned" or link #issue)

Motivated by 2026-03-23 audit that found 9 phantom features in docs.
See PRs #2393-#2410 for the manual cleanup this rule automates.
@kitelev kitelev merged commit c86344d into main Mar 23, 2026
8 of 12 checks passed
@kitelev kitelev deleted the feature/doc-consistency-rule branch March 23, 2026 18:17
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.

1 participant