Skip to content

docs: refresh stale counts + add doc-freshness test guard - #43

Merged
TheAbider merged 1 commit into
masterfrom
docs/freshness-sweep
May 29, 2026
Merged

docs: refresh stale counts + add doc-freshness test guard#43
TheAbider merged 1 commit into
masterfrom
docs/freshness-sweep

Conversation

@TheAbider

Copy link
Copy Markdown
Owner

Summary

Four releases of module additions (NPS, Always-On VPN, CIS Compliance, SIEM Forwarder) left documentation counts stale. This corrects them everywhere and adds an enforcement guard so they can't silently drift again.

Corrections (to the live source-of-truth: 77 modules, 189 CLI actions)

  • README: 181 → 189 CLI actions (×3); module-architecture table now lists rows 70–76; new Security Operations feature bullet; directory tree + region-pair count → 77; the test badge relabelled "structural tests" (distinct from the Pester unit-test badge) at the current count.
  • 34-Help.ps1: in-tool CLI-actions help 176 → 189 + names the new actions.
  • ROADMAP / CONTRIBUTING / docs/ASSURANCE_CASE: module + test counts refreshed.
  • dist/ (chocolatey nuspec, scoop json, winget locale): action counts → 189.

New guard — Tests/Run-Tests.ps1 Section 174 "Documentation Freshness"

For README, CONTRIBUTING, ROADMAP, 34-Help, and the dist/ manifests, every quoted "NNN CLI/available actions" must equal the live -Action count, and README's module count must equal the live module count — both derived from the codebase at test time. A stale doc now fails the suite (and Validate-Release) before publish. This is the durable fix for the recurring count drift.

Notes

  • Docs + test-infra + a help string only — no behavioral change, no version bump (consistent with the prior CI-only PR). The 34-Help string ships with the next feature release's EXE.
  • 5002/5002 tests pass (the +12 are the new doc-freshness guards), PSSA clean.
  • Wiki (separate repo) updated in parallel: 4 new pages (NPS, Always-On VPN, CIS Compliance, SIEM Forwarder) + Home/Sidebar/CLI-Automation.

Four releases of module additions (NPS, Always-On VPN, CIS Compliance, SIEM
Forwarder) left documentation counts stale. This corrects them everywhere and
adds an enforcement guard so they can't silently drift again.

Corrections (all to the live source-of-truth: 77 modules, 189 CLI actions):
  * README: 181 -> 189 CLI actions (x3), the module-architecture table now
    lists 70-76, a Security Operations feature bullet, directory tree + region
    count to 77, and the test badge relabelled "structural tests" (distinct
    from the Pester unit-test badge) at the current count.
  * 34-Help.ps1: in-tool CLI-actions help 176 -> 189 + names the new actions.
  * ROADMAP / CONTRIBUTING / docs/ASSURANCE_CASE: module/test counts refreshed.
  * dist/ (chocolatey nuspec, scoop json, winget locale): action counts -> 189.

New guard (Tests/Run-Tests.ps1, Section 174 "Documentation Freshness"): for
README, CONTRIBUTING, ROADMAP, 34-Help, and the dist/ manifests, every quoted
"NNN CLI/available actions" must equal the live -Action count, and README's
module count must equal the live module count — derived from the codebase at
test time, so a stale doc fails the suite (and Validate-Release) before publish.

Docs + test-infra + a help string only — no behavioral change, no version bump.
@TheAbider
TheAbider merged commit 052ae2d into master May 29, 2026
6 checks passed
@TheAbider
TheAbider deleted the docs/freshness-sweep branch May 29, 2026 21:04
@codecov

codecov Bot commented May 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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