From bf65ae82678f25a596aee0dbe7b5dccd31db6ffe Mon Sep 17 00:00:00 2001 From: backryun Date: Wed, 12 Aug 2026 12:30:41 -0300 Subject: [PATCH] chore(check): drop dead allowlist entries after docs restructure --- scripts/check/check-doc-links.mjs | 1 - scripts/check/check-fabricated-docs.mjs | 13 ------------- 2 files changed, 14 deletions(-) diff --git a/scripts/check/check-doc-links.mjs b/scripts/check/check-doc-links.mjs index c25583266d..0c06d632d8 100644 --- a/scripts/check/check-doc-links.mjs +++ b/scripts/check/check-doc-links.mjs @@ -36,7 +36,6 @@ const DOCS_ROOT = path.join(REPO_ROOT, "docs"); const EXCLUDE_PREFIXES = [ path.join(DOCS_ROOT, "i18n") + path.sep, path.join(DOCS_ROOT, "screenshots") + path.sep, - path.join(DOCS_ROOT, "superpowers") + path.sep, path.join(DOCS_ROOT, "diagrams", "exported") + path.sep, ]; diff --git a/scripts/check/check-fabricated-docs.mjs b/scripts/check/check-fabricated-docs.mjs index a1516cc42b..ba7dc416f5 100644 --- a/scripts/check/check-fabricated-docs.mjs +++ b/scripts/check/check-fabricated-docs.mjs @@ -360,19 +360,6 @@ const SKIP_DOC_FILES = new Set([ "docs/reference/PROVIDER_REFERENCE.md", // auto-generated from providers.ts "docs/openapi.yaml", "docs/i18n", // translations — separate workflow - // Design / research / plan docs: by definition describe not-yet-built files and - // proposed (not-yet-shipped) endpoints (each carries a `Status: Design`/`Active - // research`/`Plano` header). Same rationale as the audit report above — these are - // forward-looking specs, not living API docs, so their forward references are - // expected, not fabrications. - "docs/research", // DISCOVERY_TOOL_DESIGN.md, UNLIMITED_LLM_ACCESS.md, … - "docs/superpowers/plans", // dated implementation plans (files described before they exist) - "docs/superpowers/specs", // dated research/spec reports (point-in-time findings, may cite proposed/not-yet-built endpoints, env vars, and files) — same rationale as the plans/research dirs above - // Release notes are historical, point-in-time records: they intentionally describe - // modules/paths as they were at that release (e.g. a module later moved or renamed). - // Rewriting them to today's layout would falsify history — out of scope for a - // living-docs accuracy gate. - "docs/releases", // Forward-looking coverage plan: a `- [ ]` checklist of test targets and helper // components to be created. Same rationale as the design/plan docs above. "docs/ops/COVERAGE_PLAN.md",