Skip to main content

Documentation Index

Fetch the complete documentation index at: https://na-36-handover-docs-v2-into-docs-v2-dev-20260518.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Generation Script: This file is generated from script(s): operations/tests/unit/script-docs.test.js.
Purpose: Enforce script header schema, keep group script indexes in sync, and build aggregate script catalog.
Run when: Script metadata changes in validation roots or script changes in indexed roots.
Important: Do not manually edit this file; run node operations/tests/unit/script-docs.test.js --write --rebuild-indexes.
The governed script library currently indexes 408 script(s).

Pipeline Flow

Type key: πŸ” audit Β· βš™οΈ automation Β· 🏭 generator Β· βœ… validator Β· πŸ”§ remediator Β· 🚦 dispatch Β· πŸ“š library module Β· ⚠️ unclassified

πŸ” Audits

ScriptDescriptionPipelineConcernUsage
audit-ai-discoverability.jsAudit JSX components for AI discoverability compliance: missing tags on hook-using components, missing companion JSON files.manualmaintenancenode operations/scripts/audits/components/library/audit-ai-discoverability.js [--json] [--md] [--staged]
audit-component-styles.jsAudit JSX components for style pattern violations: inline styles, top-level constants, missing named style objects.manualmaintenancenode operations/scripts/audits/components/library/audit-component-styles.js [--json] [--md] [--staged] [--fix-preview]
audit-component-usage.jsComponent usage auditor – scans pages for component usage patterns and reports statisticsmanualmaintenancenode operations/scripts/audits/components/documentation/audit-component-usage.js
audit-copy-patterns.jsAggregate copy pattern violations across a tab or full v2 tree and emit a diagnostic report.manualhealthnode operations/scripts/audits/content/quality/audit-copy-patterns.js --tab <name> | --all [--output <file>]
audit-glossary-gaps.jsGlossary gap auditor – scans v2 MDX pages for terminology candidates notmanualmaintenancenode operations/scripts/audits/content/reference/audit-glossary-gaps.js [flags]
audit-icon-usage.jsIcon usage auditor – scans v2 and docs-guide MDX pages for icon propmanualmaintenancenode operations/scripts/audits/content/reference/audit-icon-usage.js [flags]
audit-media-assets.jsAudits repo media assets, references, ignore leakage, and externalized asset branch inventory.manualhealthnode operations/scripts/audits/content/quality/audit-media-assets.js [flags]
audit-python.pyPython page audit utility – validates routed docs files, snippet imports, and internal links, then writes page-audit reportsmanualhealthpython3 operations/scripts/audits/content/quality/audit-python.py [flags]
audit-script-categories.jsScript auditor – analyses all repo scripts, categorises usage/overlap, generates SCRIPT_AUDIT reportsmanualgovernancenode operations/scripts/audits/governance/scripts/audit-script-categories.js [flags]
audit-tasks-folders.jsTasks folder auditor – checks workspace/ structure, normalises report locations, applies recommendations with conflict-safe movesmanualgovernancenode operations/scripts/audits/governance/repo/audit-tasks-folders.js [flags]
audit-v2-usefulness.jsUsefulness auditor – scores v2 MDX pages on human and agent usefulness with source-weighted 2026 accuracy verificationmanualhealthnode operations/scripts/audits/content/quality/audit-v2-usefulness.js [flags]
docs-page-research.jsDocs page research runner – extracts factual claims from docs pages, checks evidence sources, detects contradictions across related pages, and emits manual-first research reports.manualhealthnode operations/scripts/audits/content/veracity/docs-page-research.js [flags]
docs-quality-and-freshness-audit.jsContent freshness audit – checks for TODO/TBD/Coming Soon markers, thin pages, stale contentmanualhealthnode operations/scripts/audits/content/quality/docs-quality-and-freshness-audit.js [flags]
docs-research-adjudication.jsDocs research adjudication ledger – validates, records, and summarizes measured review outcomes for the page-content research workflow so trust decisions are based on real usage rather than intuition.manualhealthnode operations/scripts/audits/content/veracity/docs-research-adjudication.js [flags]
generate-content-gap-reconciliation.jsContent-gap reconciliation generator – compares blueprint coverage against v2 MDX and writes reconciliation artefactsmanualmaintenancenode operations/scripts/audits/content/reconciliation/generate-content-gap-reconciliation.js [flags]
generate-v2-folder-governance-cleanup-matrix.jsV2 folder governance cleanup matrix generator – inventories non-publishable and legacy v2 artifacts and emits human-review markdown/json recommendations before any moves are applied.manualgovernancenode operations/scripts/audits/governance/reports/generate-v2-folder-governance-cleanup-matrix.js [--report-md <path>] [--report-json <path>] [--as-of <YYYY-MM-DD>]
page-imports-audit.jsAudit page-reachable import health from canonical operations scripts, with stable outputs under operations/reports/health/page-imports.manualhealthnode operations/scripts/audits/content/health/page-imports-audit.js [--staged|--scope routable-v2|repo|--files <paths>|--tab <tab>] [--strict] [--output-dir <dir>]
page-links-audit.jsAudit page-facing link health from canonical operations scripts, with stable outputs under operations/reports/health/page-links.P6healthnode operations/scripts/audits/content/health/page-links-audit.js [--full|--staged|--files <paths>|--tab <tab>] [--strict] [--external-policy classify|validate] [--output-dir <dir>]
scan-component-imports.jsScans MDX imports to produce component-usage-map.json and detect @usedIn drift.P6maintenancenode operations/scripts/audits/components/library/scan-component-imports.js [--verify] [--since <commit>]
script-footprint-and-usage-audit.jsScript footprint auditor – analyses script file sizes, dependencies, and usage patterns across the repomanualgovernancenode operations/scripts/audits/governance/scripts/script-footprint-and-usage-audit.js [flags]
style-and-language-homogenizer-en-gb.jsEN-GB style homogeniser – finds and fixes American English spellings, style guide violations, and formatting inconsistencies across v2 contentmanualbrandnode operations/scripts/remediators/content/style/style-and-language-homogenizer-en-gb.js [flags]
terminology-search.jsTerminology search – searches glossary/terminology data for definitionsmanualmaintenancenode operations/scripts/audits/content/reference/terminology-search.js [flags]

🏭 Generators

ScriptDescriptionPipelineConcernUsage
create-codex-pr.test.jsTests create-codex-pr.js – validates PR creation logic and branch namingmanualnode operations/tests/unit/create-codex-pr.test.js [flags]
docs-research-packet.test.jsTests docs-research-packet.js – validates nav, manifest, and path tranche derivation plus packet-summary rollups for the generic research packet engine.manualnode operations/tests/unit/docs-research-packet.test.js
generate-ai-sitemap.jsAI sitemap generator – produces AI-optimised sitemap files. Dual-mode: β€”check (enforcer) / β€”write (generator).P6discoverabilitynode operations/scripts/generators/content/seo/generate-ai-sitemap.js [flags]
generate-ai-skills-indexes.js* @mode read-onlymanualgovernancenode operations/scripts/generators/governance/catalogs/generate-ai-skills-indexes.js [--check|--write]
generate-ai-tools-inventory.jsGenerates the AI tools inventory report from the registry. Split from validate-ai-tools-registry.js.manualgovernancenode operations/scripts/generators/governance/reports/generate-ai-tools-inventory.js [--output <path>]
generate-ai-tools-registry-artifacts.jsKeep ai-tools/registry/ai-tools-registry.json aligned with live skill/template/export files so ownerless governance coverage stays complete.manualgovernancenode operations/scripts/generators/governance/catalogs/generate-ai-tools-registry-artifacts.js [--write|--check]
generate-ai-tools-visual-library.jsGenerates the canonical AI-tools visual library for GitHub workflows and dispatcher actions, plus staged audit outputs.manualgovernancenode operations/scripts/generators/governance/catalogs/generate-ai-tools-visual-library.js [--check|--write]
generate-api-docs.shAPI docs generator – generates API reference pages from OpenAPI specsmanualmaintenancebash operations/scripts/generators/content/reference/generate-api-docs.sh [flags]
generate-component-docs.jsGenerates published component library MDX pages from the registry. Replaces update-component-library.sh.manualmaintenancenode operations/scripts/generators/components/documentation/generate-component-docs.js [--dry-run|--fix|--write|--check] [--template-only] [--category <name>]
generate-component-examples.jsKeeps per-file example MDX files in sync with the component registrymanualmaintenancenode operations/scripts/generators/components/library/generate-component-examples.js [--scaffold] [--fix-imports] [--check]
generate-component-index.jsGenerates per-grouping INDEX.md quick-reference tables from component-registry.jsonmanualmaintenancenode operations/scripts/generators/components/library/generate-component-index.js [--dry-run] [--check] [--category elements]
generate-component-library.jsGenerates per-grouping LIBRARY.md files and a root LIBRARY.md index frommanualmaintenancenode operations/scripts/generators/components/library/generate-component-library.js [--dry-run] [--check] [--category elements]
generate-component-registry.jsParses JSDoc from all component exports and produces component-registry.json.P3, P5, P6maintenancenode operations/scripts/generators/components/library/generate-component-registry.js [--validate-only]
generate-component-snippets.jsGenerate VS Code snippet definitions from component-registry.json.manualmaintenancenode operations/scripts/generators/components/library/generate-component-snippets.js [--check] [--write]
generate-docs-guide-components-index.jsGenerates components-catalog.mdx in docs-guide/catalog/ from component-registry.json and component-usage-map.json.P1governancenode operations/scripts/generators/governance/catalogs/generate-docs-guide-components-index.js [--fix|--write|--check]
generate-docs-guide-indexes.jsGenerates docs-guide workflow/template catalogs and optionally verifies freshnessP2governancenode operations/scripts/generators/governance/catalogs/generate-docs-guide-indexes.js [flags]
generate-docs-guide-pages-index.jsGenerates the docs-guide pages catalogP2governancenode operations/scripts/generators/governance/catalogs/generate-docs-guide-pages-index.js [flags]
generate-docs-index.jsDocs index generator – produces docs-index.json from v2 frontmatter and docs.json. Dual-mode: β€”check (enforcer) / β€”write (generator). Most-called script in the repo.P3, P6maintenancenode operations/scripts/generators/content/catalogs/generate-docs-index.js [flags]
generate-glossary-companions.jsCompanion JSON generator – extracts SearchTable itemsList data from glossary MDX pagesP2maintenancenode operations/scripts/generators/content/reference/generate-glossary-companions.js [--dry-run] [--check]
generate-glossary.jsGlossary generator – produces glossary data file from terminology sourcesmanualmaintenancenode operations/scripts/generators/content/reference/generate-glossary.js [flags]
generate-governance-map.jsWalks all GOVERNANCE.md markers, validates links, detects staleness, and generates the governance mapmanualgovernancenode operations/scripts/generators/governance/map/generate-governance-map.js [--write|--check|--json]
generate-hero-background.jsgenerate hero backgroundmanual* @niche medianode operations/scripts/generators/media/generate-hero-background.js
generate-hero-image.jsgenerate hero imagemanual* @niche medianode operations/scripts/generators/media/generate-hero-image.js
generate-llms-files.js* @mode read-onlyP6discoverabilitynode operations/scripts/generators/ai/llm/generate-llms-files.js [flags]
generate-og-images.jsGenerate canonical site-level Open Graph image assets and manifest for fallback and section-level social previews.manualdiscoverabilitynode operations/scripts/generators/content/seo/generate-og-images.js [--dry-run] [--only <locale:section-id|fallback>]
generate-pages-index.jsPages index generator – generates and verifies section-style index.mdx files for v2 docs folders plus root aggregate indexmanualmaintenancenode operations/scripts/generators/content/catalogs/generate-pages-index.js [flags]
generate-repo-governance-status.jsGenerates the top-level repo-governance map and status reports from the canonical steady-state registry.manualgovernancenode operations/scripts/generators/governance/reports/generate-repo-governance-status.js [--write|--check]
generate-root-governance-artifacts.jsGenerates root-governance projections from the canonical manifest, including .allowlist, the generated root map, and sync reports.P3governancenode operations/scripts/generators/governance/root/generate-root-governance-artifacts.js [--write|--check]
generate-script-registry.jsGenerate the governed script registry from script headers so classification, catalogs, and script-docs enforcement share one derived source of truth.manualgovernancenode operations/scripts/generators/governance/catalogs/generate-script-registry.js [--dry-run]
generate-snippets-registry.jsGenerates the snippets root registry from the live snippets filesystem plus structured folder metadata embedded in snippets/guide.mdx.P3governancenode operations/scripts/generators/governance/catalogs/generate-snippets-registry.js [--write|--check]
generate-ui-templates.jsGenerates the UI template catalog and VS Code snippets from canonical template/component sources.manualmaintenancenode operations/scripts/generators/components/library/generate-ui-templates.js [flags]
new-script.js${params.summary}`,manualgovernance${cmd} [flags]`,
orchestrator-guides-research-review.test.jsTests orchestrator-guides-research-review.js – validates live Orchestrators Guides tranche extraction, report summary helpers, and registry-drift detection for the research packet generator.manualnode operations/tests/unit/orchestrator-guides-research-review.test.js

βœ… Validators

ScriptDescriptionPipelineConcernUsage
agent-write-admission.test.jsEnforces narrow agent-write admission rules for staged or explicit files: no tracked local-only outputs and no undeclared root writes.manualnode operations/tests/unit/agent-write-admission.test.js [--staged|--files a,b]
ai-tools-registry.test.jsValidates the AI-tools registry contract, full tracked ai-tools coverage, and the Wave 1 inventory source-of-truth boundary.P1, P3node operations/tests/unit/ai-tools-registry.test.js [--staged|--files path[,path]]
ai-tools-visual-library.test.jsValidates that the canonical AI-tools visual library is current, complete, and synchronized with the repo workflow inventory.P1, P3node operations/tests/unit/ai-tools-visual-library.test.js [--staged] [--files path[,path]]
audit-script-inventory-repair-rules.test.jsTests audit-script-inventory repair hardening rules for judgement-field backfill and pipeline safety.manualnode operations/tests/unit/audit-script-inventory-repair-rules.test.js
audit-script-inventory.jsAudit the governed script corpus and regenerate the canonical script inventory outputs from current headers and filesystem state.P1governancenode operations/scripts/validators/governance/pr/audit-script-inventory.js [--fix] [--dry-run] [--staged-only|--staged] [--files <path[,path...]>] [--quiet] [--json] [--md] [--output <dir>] [--verbose]
authoring-tools.test.jsUnit tests for repo-owned authoring tools – verifies MDX formatting and real-path completion/validation helpers.P1, P3node operations/tests/unit/authoring-tools.test.js
browser.test.jsPuppeteer browser integration test – renders pages from docs.json and checks for console errors, load failures, and visual regressionsP1node operations/tests/integration/browser.test.js [flags]
check-agent-docs-freshness.js* @mode read-onlymanualgovernancenode operations/scripts/validators/governance/compliance/check-agent-docs-freshness.js [--threshold <days>] [--json]
check-agent-docs-freshness.test.jsTests the agent governance freshness validator against the canonical runtime file set.P1, P3node operations/tests/unit/check-agent-docs-freshness.test.js
check-anchor-usage.jsValidates same-page anchor links in maintained v2 MDX files against heading IDs on the same pagemanualhealthnode operations/scripts/validators/content/structure/check-anchor-usage.js [--json] [--scope <glob>]
check-companion-manifest.jscheck companion manifestmanualgovernancenode operations/scripts/validators/governance/ai/check-companion-manifest.js
check-component-css.jsValidates component files against component governance styling rules.P3maintenancenode operations/scripts/validators/components/library/check-component-css.js [--path snippets/components] [--staged] [--fix] [--help]
check-component-docs.jsValidates component JSDoc coverage, prop documentation, docs-entry coverage, and governance metadata.P3maintenancenode operations/scripts/validators/components/documentation/check-component-docs.js [--path snippets/components] [--base-ref docs-v2] [--staged] [--strict-governance] [--help]
check-component-health.jsChecks component library health: imports, exports, registry sync, and usage patternsmanualmaintenancenode operations/scripts/validators/components/library/check-component-health.js [--check] [--report]
check-component-immutability.jsFlags modifications to existing component files in PR context. New files allowed. Modifications require approval label.manualgovernancenode operations/scripts/validators/governance/pr/check-component-immutability.js --base-ref main
check-component-props.jsComponent prop governance validator. Checks Tab/Accordion icon props, code block metadata, Card CustomCardTitle usage, inline styles, CustomDivider placement, Mermaid colour governance, and import ordering across v2 MDX pages (checks 5.18-5.20, 5.22, 5.26-5.28, 5.34).manualmaintenancenode operations/scripts/validators/components/library/check-component-props.js [--scope=full|changed] [--json] [--md] [--help]
check-component-props.test.jsUnit tests for check-component-props.js validator. Tests each check function with inline MDX fixtures.manualnode operations/tests/unit/check-component-props.test.js
check-description-quality.jsValidates English v2 frontmatter descriptions for SEO length, boilerplate openings, and duplicate reusemanualhealthnode operations/scripts/validators/content/structure/check-description-quality.js [--path <repo-path>] [--strict]
check-docs-guide-reference-freshness.jsChecks docs-guide feature/reference pages for missing internal links, retired root references, unmanaged TODO markers, and missing evidence dates.manualgovernancenode operations/scripts/validators/governance/compliance/check-docs-guide-reference-freshness.js [--json] [--include-reference]
check-docs-path-sync.jsDocs path sync validator – detects staged page moves that require docs.json or governed path reference rewrites.manualhealthnode operations/scripts/validators/content/structure/check-docs-path-sync.js --staged
check-double-headers.jsDetects duplicate body H1 headings and opening paragraphs that repeat frontmatter title or description content.manualhealthnode operations/scripts/validators/content/structure/check-double-headers.js [--staged|--file <path>|--files <a,b>] [--fix]
check-governance-approvals.jsValidate governance-sensitive PR changes against the canonical approval policy, required labels, and PR-body evidence.manualgovernancenode operations/scripts/validators/governance/pr/check-governance-approvals.js [--base-ref <branch>] [--files <path[,path...]>] [--json]
check-governance-markers.jsValidates GOVERNANCE.md presence in all required folders and checks link integritymanualgovernancenode operations/scripts/validators/governance/compliance/check-governance-markers.js [--json]
check-grammar-en-gb.jsDeterministic UK English grammar checker for prose content with optional conservative autofix for safe rules.manualbrandnode operations/scripts/validators/content/grammar/check-grammar-en-gb.js [--scope full|changed] [--file <path[,path...]>] [--fix] [--strict]
check-jsdoc-headers.jsValidates that all JS files in governed locations have core JSDoc tagsmanualgovernancenode operations/scripts/validators/governance/compliance/check-jsdoc-headers.js [--json]
check-mdx-component-scope.jsValidates MDX-facing component modules do not depend on private file-scope helper bindings from exported components.manualmaintenancenode operations/scripts/validators/components/library/check-mdx-component-scope.js [--files path[,path...]] [--staged]
check-mdx-safe-markdown.jsValidates first-party markdown and MDX content for repo-wide MDX-safe syntax, including parse failures and deterministic unsafe patterns.manualhealthnode operations/scripts/validators/content/structure/check-mdx-safe-markdown.js [--staged|--files a,b] [--json]
check-mintlify-canonical-sync.jsEnforce the Mintlify canonical-sync contract so archived legacy sources stay moved, registered consumers stay updated, and retained-source logs match the registry.manualgovernancenode operations/scripts/validators/governance/compliance/check-mintlify-canonical-sync.js [--staged] [--json]
check-mintlify-canonical-sync.test.jsTests the Mintlify canonical-sync registry, validator, and remediator contract against the canonical cleanup surfaces.P1, P3node operations/tests/unit/check-mintlify-canonical-sync.test.js [--staged]
check-naming-conventions.jsValidates active component filenames against directory-aware file naming and PascalCase exports under snippets/components.manualmaintenancenode operations/scripts/validators/components/library/check-naming-conventions.js [--path snippets/components] [--files path[,path...]] [--mode migration|strict-camel|strict-pascal]
check-new-file-governance.jsValidates newly staged files have required governance metadata (JSDoc, frontmatter, workflow headers)P1governancenode operations/scripts/validators/governance/compliance/check-new-file-governance.js [--all|--staged]
check-no-ai-stash.shAI stash enforcer – blocks push if AI temporary/stash files are present in working treemanualdiscoverabilitybash operations/scripts/validators/ai/codex/check-no-ai-stash.sh [flags]
check-page-endings.jsValidates that English v2 MDX pages end with an approved navigational or closing elementmanualhealthnode operations/scripts/validators/content/structure/check-page-endings.js [--fix] [--json]
check-pr-template.jsEnforces that PR descriptions include required change and rationale sections before mergeP3governancePR_BODY="..." node operations/scripts/enforcers/pr/check-pr-template.js
check-proper-nouns.jsDetects and fixes incorrect proper noun capitalisation in prose while skipping code, frontmatter, URLs, and path-like tokens.manualbrandnode operations/scripts/validators/content/grammar/check-proper-nouns.js [--file <path[,path...]>] [--fix]
check-repo-governance-sync.jsValidates the canonical repo-governance registry, generated outputs, and referenced ownerless steady-state paths.manualgovernancenode operations/scripts/validators/governance/compliance/check-repo-governance-sync.js [--json]
check-root-governance-sync.jsValidates that root-governance generated outputs, required documentation references, and public root artifact declarations stay aligned with the canonical manifest.manualgovernancenode operations/scripts/validators/governance/compliance/check-root-governance-sync.js [--json]
check-script-locations.jsValidates all JS files are in governed locations per the script frameworkmanualgovernancenode operations/scripts/validators/governance/compliance/check-script-locations.js [--json]
check-translation-freshness.jsCompares modification dates of source pages to translations, flags stale translationsmanualintegrationsnode operations/scripts/validators/content/language-translation/check-translation-freshness.js [--json]
check-voice-register.jsChecks MDX pages with audience frontmatter for prohibited phrases from the wrong voice registermanualbrandnode operations/scripts/validators/content/copy/check-voice-register.js [--json]
check-workflow-governance.jsChecks every .github/workflows/*.yml for: (1) governance comment headersmanualgovernancenode operations/scripts/validators/governance/pr/check-workflow-governance.js [--check|--json|--fix-audit]
check-workflow-headers.jsValidates that GitHub Actions workflow YAML files have governance comment headersmanualgovernancenode operations/scripts/validators/governance/compliance/check-workflow-headers.js [--json]
cli-guardrails.test.jsTests i18n CLI guardrails – validates argument validation and safety checksmanualintegrationsnode operations/scripts/i18n/test/cli-guardrails.test.js [flags]
codex-commit.test.jsTests codex-commit.js – validates commit message generation and contract compliancemanualnode operations/tests/unit/codex-commit.test.js [flags]
codex-skill-sync.test.jsTests sync-codex-skills.js – validates skill file and companion bundle synchronisation between sourcesmanualnode operations/tests/unit/codex-skill-sync.test.js [flags]
component-governance-generators.test.jsVerifies component governance generators produce coherent registry, usage-map, and docs outputs.P1node operations/tests/unit/component-governance-generators.test.js
component-governance-utils.test.jsVerifies shared component governance utility parsing, scanning, and archive exclusion behavior.P1node operations/tests/unit/component-governance-utils.test.js
component-layout-governance.jsComponent layout governance validator – checks v2 page layouts against approved component contractsmanualmaintenancenode operations/scripts/validators/components/library/component-layout-governance.js [flags]
contracts-addresses-pipeline.test.jsRegression tests for the contracts proof catalog, generated registry output, shared contracts surface wiring, blocking anomaly behavior, workflow cadence alignment, and route freshness dependencies.P1node operations/tests/unit/contracts-addresses-pipeline.test.js
contracts-view-model.test.jsFocused regression tests for the shared contracts view-model helper surface.P3node operations/tests/unit/contracts-view-model.test.js
copy-lint.test.jsCopy lint unit suite – validates fixture-driven copy-governance checks and runs changed-file scoped lint aggregation for authored docs pages.P1, P3node operations/tests/unit/copy-lint.test.js [--staged] [--files <a,b,c>]
docs-authoring-rules.test.jsVerifies guide-layout warning rules and deterministic code-block icon repair for authored docs pages.P1node operations/tests/unit/docs-authoring-rules.test.js
docs-fact-registry.jsDocs fact registry validator – validates repo-native research claim registries and provides normalized claim-family data for the manual research runner.manualhealthnode operations/scripts/audits/content/veracity/docs-fact-registry.js [flags]
docs-fact-registry.test.jsTests docs-fact-registry.js – validates claim-family registry schema checks and normalized loading by domain.manualnode operations/tests/unit/docs-fact-registry.test.js [flags]
docs-guide-sot.test.jsValidates docs-guide source-of-truth coverage, README pointers, and generated index freshnessP1, P2, P3node operations/tests/unit/docs-guide-sot.test.js [flags]
docs-json-localizer.test.jsTests docs-json-localizer – validates locale docs.json transformation logicmanualintegrationsnode operations/scripts/i18n/test/docs-json-localizer.test.js [flags]
docs-navigation.test.jsValidates docs.json page-entry syntax, reports missing routes, warns on orphaned canonical v2 pages, suggests remaps, and optionally applies approved remapsP1, P3, P6node operations/tests/unit/docs-navigation.test.js [flags]
docs-page-research.test.jsTests docs-page-research.js – validates claim extraction, contradiction detection, and evidence-source adapters for the experimental research runner.manualnode operations/tests/unit/docs-page-research.test.js [flags]
docs-page-scope.test.jsVerifies generated authored-page scope helpers so warning-only validators skip generated docs pages while keeping authored pages in scope.P1node operations/tests/unit/docs-page-scope.test.js
docs-path-sync.test.jsUnit tests for docs path sync – validates staged move detection, deterministic docs.json/reference rewrites, validator behavior, and remediator write mode.P1, P3node operations/tests/unit/docs-path-sync.test.js
docs-research-adjudication.test.jsTests docs-research-adjudication.js – validates adjudication-ledger schema, report-aware outcome recording, and trust-tier summary rules for measured research-skill review outcomes.manualnode operations/tests/unit/docs-research-adjudication.test.js [flags]
docs-route-scope.test.jsVerifies docs.json-derived tab and group route scopes resolve to live files.P1node operations/tests/unit/docs-route-scope.test.js
domain-pages-audit.jsAudits deployed docs page HTTP status codes (v1, v2, or both) and emits a stable JSON reportmanualnode operations/tests/integration/domain-pages-audit.js [flags]
enforce-generated-file-banners.jsValidates β€œdo not edit” banners and i18n parity on generated MDX files. Generator dispatch split to sync-generated-files.js.P1healthnode operations/scripts/validators/content/structure/enforce-generated-file-banners.js --check [--staged]
export-portable-skills.test.jsTests export-portable-skills.js – validates portable skill export packs from canonical templates.P1, P3node operations/tests/unit/export-portable-skills.test.js [flags]
frontmatter-taxonomy.test.jsVerifies shared docs frontmatter taxonomy normalization and purpose mapping.P1governancenode operations/tests/unit/frontmatter-taxonomy.test.js
frontmatter.test.jsTests frontmatter parser – validates frontmatter read/write roundtripmanualintegrationsnode operations/scripts/i18n/test/frontmatter.test.js [flags]
generated-artifacts-policy.test.jsTests generated artifact governance manifest – validates enums, path matching, and hook-policy expectationsmanualnode operations/tests/unit/generated-artifacts-policy.test.js
governance-approval-policy.test.jsTests the production governance approval policy and PR approval validator scenarios.P3node operations/tests/unit/governance-approval-policy.test.js
imports-cli.test.jsUnit tests for imports.test.js – validates CLI arg parsing, import resolution, and markdown exclusion.manualnode operations/tests/unit/imports-cli.test.js
imports.test.jsCompatibility wrapper for page-imports-audit.js that preserves the legacy imports.test surface while delegating to the canonical operations audit.P1, P3healthnode operations/tests/unit/imports.test.js [--dry-run] [--scope routable-v2|repo] [--staged] [--files <paths>]
links-cli.test.jsUnit tests for links.test.js – validates CLI arg parsing, JSX href detection, and repo-scope markdown handling.manualnode operations/tests/unit/links-cli.test.js
links-imports.test.jsCompatibility alias for links.test.js that preserves the legacy links-imports entrypoint while delegating to the link-only validator.P1, P3healthnode operations/tests/unit/links-imports.test.js [--dry-run] [--scope routable-v2|repo] [--staged] [--files <paths>]
links.test.jsFast link validator for staged and repo-scoped markdown/MDX checks, with explicit file-read failures and JSX href detection for local validation lanes.P1, P3healthnode operations/tests/unit/links.test.js [--dry-run] [--scope routable-v2|repo] [--staged] [--files <paths>]
lint-copy.jsEnforce banned word and phrase rules on MDX content files.manualbrandnode operations/scripts/validators/content/copy/lint-copy.js [file or glob] [flags]
lint-patterns.jsEnforce Tier 2 copy pattern rules on MDX content files.manualbrandnode operations/scripts/validators/content/copy/lint-patterns.js [file or glob] [flags]
lint-structure.jsEnforce structural rules on MDX content files.manualhealthnode operations/scripts/validators/content/structure/lint-structure.js [file] [flags]
mdx-component-runtime-smoke.jsSmoke-tests sentinel MDX routes for runtime component failures, focused on page-killing render errors from MDX-imported JSX modules.manualnode operations/tests/integration/mdx-component-runtime-smoke.js [--routes route[,route...]] [--base-url http://localhost:3000]
mdx-component-runtime-smoke.test.jsUnit tests for the MDX runtime smoke helpers – covers arg parsing, sentinel route selection, trigger logic, and failure classification.manualnode operations/tests/unit/mdx-component-runtime-smoke.test.js
mdx-component-scope.test.jsUnit tests for the MDX-facing component scope validator – covers unsafe private helpers, safe inline logic, and imported helper patterns.manualnode operations/tests/unit/mdx-component-scope.test.js
mdx-guards.test.jsEnforces MDX guardrails – globals imports, math delimiters, markdown table line breaksP1, P3node operations/tests/unit/mdx-guards.test.js [flags]
mdx-safe-markdown.test.jsFixture-driven unit tests for repo-wide MDX-safe markdown repair and validation helpers.P1node operations/tests/unit/mdx-safe-markdown.test.js
mdx-translate.test.jsTests MDX translation – validates content block translation logicmanualintegrationsnode operations/scripts/i18n/test/mdx-translate.test.js [flags]
mdx.test.jsValidates MDX syntax and structure – checks for parse errors, invalid JSX, broken componentsP1, P3node operations/tests/unit/mdx.test.js [flags]
migrate-assets-to-branch.test.jsUnit tests for migrate-assets-to-branch.js – validates CLI defaults, ambiguous basename detection, deterministic rewrites, and end-to-end branch migration in a temp git repomanualnode operations/tests/unit/migrate-assets-to-branch.test.js
og-image-policy.test.jsUnit tests for og-image-policy – validates route mapping, locale asset selection, fallback assignment, and URL guardrails.manualnode operations/tests/unit/og-image-policy.test.js [flags]
openapi-reference-audit.jsComprehensive OpenAPI spec validation – checks references, schemas, examples. Supports β€”strict (validate), β€”fix (repair), and report modes.P2, P3, P5, P6node operations/tests/integration/openapi-reference-audit.js [flags]
openapi-reference-audit.test.jsUnit tests for openapi-reference-audit.js – tests individual audit rules and fix logicmanualnode operations/tests/unit/openapi-reference-audit.test.js [flags]
openapi-rolling-issue.test.jsTests OpenAPI rolling issue tracker – validates issue creation and dedup logicmanualnode operations/tests/unit/openapi-rolling-issue.test.js [flags]
ownerless-governance.test.jsValidates the ownerless governance manifest, primary gate-layer contract, and forbidden human-owner dependency in governed policy and GitHub surfaces.P1, P3node operations/tests/unit/ownerless-governance.test.js [--staged|--files a,b]
page-imports-audit.test.jsTests page-imports-audit.js – validates forbidden React imports, missing JSON imports, and output-dir parsing.manualnode operations/tests/unit/page-imports-audit.test.js
page-integrity-dispatch.test.jsTests page-integrity-dispatch.js – validates repair sequencing across page links and page imports on a temporary v2 fixture.manualnode operations/tests/unit/page-integrity-dispatch.test.js
page-integrity-rolling-issue.test.jsTests page integrity rolling issue helper – validates dedup, issue action selection, and issue body structure.manualnode operations/tests/unit/page-integrity-rolling-issue.test.js
post-remediation-verify.test.js10 test cases covering registry loading, file substitution, per-filemanualgovernancenode operations/tests/unit/post-remediation-verify.test.js
precommit-staged-cache.test.jsTests precommit-staged-cache.js – validates staged-tree cache hits, invalidation, and pruningP1node operations/tests/unit/precommit-staged-cache.test.js
provenance.test.jsTests provenance tracker – validates translation provenance recordingmanualintegrationsnode operations/scripts/i18n/test/provenance.test.js [flags]
provider-openrouter.test.jsTests OpenRouter provider – validates API call logic and response parsingmanualintegrationsnode operations/scripts/i18n/test/provider-openrouter.test.js [flags]
quality.test.jsContent quality checks – validates frontmatter completeness, thin content detection, placeholder flaggingP1, P3node operations/tests/unit/quality.test.js [flags]
regression-bisect.jsUses git bisect with an automated Puppeteer test to binary-searchmanualhealthnode operations/scripts/validators/content/structure/regression-bisect.js --route /v2/path --error "ReferenceError" [--good abc123] [--bad HEAD]
remediate-styles.test.jsUnit tests for deterministic style remediations, including audit-category aliases.P1, P3node operations/tests/unit/remediate-styles.test.js
repair-governance.test.jsTests repair-governance.js for safe dry-run, fix, rollback, strict exit handling, and workflow contract coverage.manualnode operations/tests/unit/repair-governance.test.js
repair-spelling.test.jsUnit tests for repair-spelling.js – validates deterministic spelling fixes and exclusion rangesmanualnode operations/tests/unit/repair-spelling.test.js [flags]
repo-audit-pipeline.test.jsTests repo-audit-orchestrator.js pipeline – validates mode/scope combinations and report outputmanualnode operations/tests/unit/repo-audit-pipeline.test.js [flags]
repo-governance-sync.test.jsTests the top-level repo-governance registry, generated map and status outputs, and sync validator.P3node operations/tests/unit/repo-governance-sync.test.js
review-governance-repair-checklist.jsGenerates a review checklist for dry-run governance repair proposals that require human approval before fix mode is applied.manualgovernancenode operations/scripts/validators/governance/compliance/review-governance-repair-checklist.js [--output <dir>] [--json] [--md]
root-allowlist-format.test.jsValidates that .allowlist stays machine-readable, root-only, and aligned with the canonical root-governance manifest.P1, P3node operations/tests/unit/root-allowlist-format.test.js
root-governance-sync.test.jsTests the canonical root-governance manifest, generated projections, and sync validator.P3node operations/tests/unit/root-governance-sync.test.js
run-pr-checks.test.jsTests run-pr-checks lane parsing, branch-health registry coverage, and incremental summary/progress behavior.manualnode operations/tests/unit/run-pr-checks.test.js
script-docs.test.jsEnforces script header schema, keeps group script indexes in sync, and builds aggregate script catalogP1, P3node operations/tests/unit/script-docs.test.js [flags]
skill-docs.test.jsValidates governed skill documentation frontmatter, references, and contract integrity for canonical templates and local skill files.P1, P3node operations/tests/unit/skill-docs.test.js [--staged] [--files path[,path]]
snippets-root-governance.test.jsValidates the governed two-file snippets root model and enforces freshness for the generated snippets registry.P3node operations/tests/unit/snippets-root-governance.test.js
spelling.test.jsSpelling check – validates content against custom dictionary with en-GB rulesP1, P3node operations/tests/unit/spelling.test.js [flags]
style-guide.test.jsStyle guide compliance – checks en-GB conventions, heading case, formatting rulesP1, P3node operations/tests/unit/style-guide.test.js [flags]
sweep-console-errors.jsVisits every v2 route registered in docs.json, captures HTTP status,manualhealthnode operations/scripts/validators/content/structure/sweep-console-errors.js [--update-baseline] [--routes /v2/a,/v2/b] [--base-url http://localhost:3000]
sweep-delta-report.jsRuns a full-site (or targeted) Puppeteer sweep, loads the existing baseline,manualhealthnode operations/scripts/validators/content/structure/sweep-delta-report.js [--update-baseline] [--routes /v2/a,/v2/b] [--base-url http://localhost:3000]
TEMPLATE.test.jsTemplate for category-scoped component unit tests.manualnode operations/tests/unit/components/TEMPLATE.test.js
test-mintlify-version-language-toggle.jstest mintlify version language togglemanualintegrationsnode operations/scripts/i18n/test-mintlify-version-language-toggle.js [flags]
test-v2-pages.jstest v2 pagesP2, P3healthnode operations/scripts/validators/content/structure/test-v2-pages.js [flags]
ui-template-generator.test.jsValidates UI template artifacts, canonical template MDX safety, and Mint parse-surface boundaries before mint dev encounters themP1, P3node operations/tests/unit/ui-template-generator.test.js [flags]
update-livepeer-release.test.jsVerifies the go-livepeer release updater writes the canonical release data module shape.P2node operations/tests/unit/update-livepeer-release.test.js
v2-folder-governance-cleanup-matrix.test.jsUnit tests for the v2 folder governance cleanup matrix generator – verifies core classification, targeting, and age-bucket rules.manualnode operations/tests/unit/v2-folder-governance-cleanup-matrix.test.js
v2-link-audit.jsCompatibility wrapper for page-links-audit.js that preserves the legacy v2-link-audit entrypoint while delegating to the canonical operations audit.P1, P5, P6healthnode operations/tests/integration/v2-link-audit.js [flags]
v2-link-audit.selftest.jsSelf-test suite for v2-link-audit.js – validates audit logic against known fixturesmanualnode operations/tests/integration/v2-link-audit.selftest.js [flags]
v2-link-audit.test.jsUnit tests for v2-link-audit.js – tests individual link checking rulesmanualnode operations/tests/unit/v2-link-audit.test.js [flags]
v2-wcag-audit.jsWCAG accessibility audit for v2 pages – checks heading hierarchy, alt text, ARIA. Supports β€”fix mode for auto-repair.P1node operations/tests/integration/v2-wcag-audit.js [flags]
v2-wcag-audit.selftest.jsSelf-test suite for v2-wcag-audit.js – validates WCAG audit logic against known fixturesmanualnode operations/tests/integration/v2-wcag-audit.selftest.js [flags]
v2-wcag-audit.test.jsUnit tests for v2-wcag-audit.js – tests individual WCAG rulesmanualnode operations/tests/unit/v2-wcag-audit.test.js [flags]
validate-ai-tools-registry.jsValidate the AI-tools registry contract and coverage so ownerless governance and AI subsystem inventory stay aligned.manualgovernancenode operations/scripts/validators/governance/compliance/validate-ai-tools-registry.js [--check] [--coverage] [--lanes] [--write-report]
validate-codex-task-contract.jsCodex task contract enforcer – validates branch naming, task files, PR body, and issue state for codex branchesP1, P2, P3governancenode operations/scripts/validators/governance/compliance/validate-codex-task-contract.js [flags]
validate-codex-task-contract.test.jsTests validate-codex-task-contract.js – validates contract checking logicmanualnode operations/tests/unit/validate-codex-task-contract.test.js [flags]
validate-component-creation.jsValidates new/modified .jsx files in snippets/components/ for 7-tag JSDoc presence,P1maintenancenode operations/scripts/validators/components/library/validate-component-creation.js [--check] [--fix] [--fix --verify] [--dry-run] [--staged] [--files path,path]
validate-locks.jsCodex lock validator – checks for stale or conflicting lock files before pushP1, P2discoverabilitynode operations/scripts/validators/ai/codex/validate-locks.js [flags]
validate-lpd-paths.jsValidates that every script path referenced in lpd exists on disk. Parses the lpd bash CLI for node and script_path invocations and checks each file against the filesystem. Exits non-zero if any path is missing.manualgovernancenode operations/scripts/validators/governance/repo/validate-lpd-paths.js [--json]
verify-all-pages.jsLoads component-library routes in a headless browser and fails on render, console, or 404 issues.manualhealthnode operations/scripts/validators/content/structure/verify-all-pages.js
verify-pay-orc-gate-finalize.shPayment/orchestrator gate verifier – checks payment and orchestrator documentation gate conditionsmanualgovernancebash operations/scripts/validators/governance/compliance/verify-pay-orc-gate-finalize.sh [flags]
vsix-parity.test.jsUnit tests for repo-owned VS Code extension packaging parity – verifies the checked-in VSIX matches governed source files and stale artifacts are detected deterministically.P1, P3node operations/tests/unit/vsix-parity.test.js

πŸ”§ Remediators

ScriptDescriptionPipelineConcernUsage
add-framework-headers.jsInserts or extends framework headers on all repo scripts from classification data.manualgovernancenode operations/scripts/remediators/content/classification/add-framework-headers.js --data script-classifications.json --dry-run
add-pagetype-mechanical.jsMechanically assigns pageType frontmatter to eligible v2 MDX pages.manualgovernancenode operations/scripts/remediators/content/classification/add-pagetype-mechanical.js [flags]
add-workflow-governance-headers.jsAdds governance comment headers to GitHub Actions workflow YAML files based on their governed filename patternmanualgovernancenode operations/scripts/remediators/governance/compliance/add-workflow-governance-headers.js [--dry-run|--write]
assign-purpose-metadata.jsPurpose metadata assigner – fills purpose and audience frontmatter for routable v2 pagesmanualgovernancenode operations/scripts/remediators/content/classification/assign-purpose-metadata.js [flags]
fix-usage-paths.jsfix usage pathsmanualgovernance*/
generate-seo.jsSEO generator – generates SEO metadata (title, description, keywords) for v2 pages from content analysismanualdiscoverabilitynode operations/scripts/generators/content/seo/generate-seo.js [flags]
migrate-assets-to-branch.jsReads the media-audit manifest, migrates flagged assets to docs-v2-assets, and rewrites MDX/JSX references to raw GitHub URLs.manualhealthnode operations/scripts/remediators/content/repair/migrate-assets-to-branch.js --manifest workspace/reports/media-audit/media-audit-manifest.json --target migrate_r2,migrate_cloudinary --dry-run
normalise-frontmatter-keys.jsNormalises capitalised frontmatter YAML keys to lowercase canonical form across v2 MDX pages.manualgovernancenode operations/scripts/remediators/content/classification/normalise-frontmatter-keys.js [--dry-run] [--write] [--staged] [--files path,path]
quarantine-manager.jsQuarantine manager – classifies files for quarantine (default) or applies quarantine moves (β€”apply)manualhealthnode operations/scripts/remediators/content/repair/quarantine-manager.js [flags]
remediate-em-dashes.jsReplaces em-dashes (U+2014) with en-dashes (U+2013) in routable v2 MDX content text and user-facing frontmatter fields (title, sidebarTitle, description). Skips other frontmatter keys, code blocks, inline code, JSX comments, import/export lines, and JSX attribute values.manualbrandnode operations/scripts/remediators/content/style/remediate-em-dashes.js [--dry-run|--write] [--verify] [--staged] [--files path,path]
remediate-frontmatter-quotes.jsStandardises MDX frontmatter scalar string values to double quotes. Decodes YAML single-quoted strings (including ”-escaped apostrophes) and re-encodes them as double-quoted strings, escaping internal double quotes and backslashes. Skips multi-line block scalars (| or >), explicit YAML tags, sequences, and mappings.manualbrandnode operations/scripts/remediators/content/style/remediate-frontmatter-quotes.js [--dry-run|--write] [--verify] [--staged] [--files path,path]
remediate-us-spelling.jsConverts between US and UK English spellings in routable v2 MDX content text only. Default direction: US to UK (en-GB). Use β€”language en-us to reverse. Skips frontmatter, code blocks, inline code, JSX comments, import/export lines, URLs, and JSX attribute values.manualbrandnode operations/scripts/remediators/content/style/remediate-us-spelling.js [--dry-run|--write] [--verify] [--language en-gb|en-us] [--staged] [--files path,path]
remediate-voice-violations.jsSelf-remediates voice register violations by deleting self-referential phrases and audience-specific prohibited constructionsmanualbrandnode operations/scripts/remediators/content/copy/remediate-voice-violations.js [--dry-run|--write]
repair-ai-discoverability.jsRepair AI discoverability compliance: add missing @aiDiscoverability tags to hook-using components, create placeholder companion JSON files.manualmaintenancenode operations/scripts/remediators/components/library/repair-ai-discoverability.js [--dry-run] [--write] [--staged]
repair-component-metadata.jsAuto-repairs derived JSDoc metadata fields from repo state. Safe fields only. Mirrors AUDIT-00 β€”fix pattern for components.P6maintenancenode operations/scripts/remediators/components/library/repair-component-metadata.js [--dry-run] [--fix] [--staged]
repair-component-styles.jsRepair JSX component style violations: extract inline styles to named const, move top-level constants inside function body.manualmaintenancenode operations/scripts/remediators/components/library/repair-component-styles.js [--dry-run] [--write] [--staged]
repair-governance-artifacts.jsRegenerates governance map, updates lastVerified dates on verified frameworks, and reports unfixable issuesmanualgovernancenode operations/scripts/remediators/governance/compliance/repair-governance-artifacts.js [--dry-run|--write]
repair-mdx-safe-markdown.jsAuto-repairs deterministic MDX-unsafe markdown patterns across first-party markdown and MDX content.manualhealthnode operations/scripts/remediators/content/repair/repair-mdx-safe-markdown.js --dry-run [--staged|--files a,b]
repair-ownerless-language.jsApplies deterministic wording repairs that remove human-owner dependency from governed GitHub and contributor surfaces.manualbrandnode operations/scripts/remediators/content/style/repair-ownerless-language.js [--check|--write] [--files a,b]
repair-page-imports.jsRepair only proven-safe page import failures from canonical operations scripts while leaving ambiguous import issues unchanged for review.manualhealthnode operations/scripts/remediators/content/repair/repair-page-imports.js [--dry-run|--write] [--files <paths>] [--output-dir <dir>]
repair-page-links.jsRepair deterministic page-link path issues from canonical operations scripts while leaving ambiguous targets unchanged for review.manualhealthnode operations/scripts/remediators/content/repair/repair-page-links.js --dry-run --files v2/about --report-dir operations/reports/health/page-links
repair-relative-page-hrefs.jsPreserve the legacy relative-href repair command while the canonical implementation lives under repair-page-links.js.manualhealthnode operations/scripts/remediators/content/repair/repair-relative-page-hrefs.js [flags]
repair-script-inventory.jsRepairs script headers and classification data. Thin wrapper that runs audit-script-inventory with β€”fix. Split from audit-script-inventory.js.manualgovernancenode operations/scripts/remediators/governance/scripts/repair-script-inventory.js [--dry-run] [--staged-only] [--files <path,...>] [--json] [--md] [--output <dir>]
repair-spelling.jsAuto-corrects spelling errors using the shared cspell configuration. Safe, dictionary-based corrections only.manualhealthnode operations/scripts/remediators/content/repair/repair-spelling.js --dry-run
repair-term-capitalisation.jsEnforces correct capitalisation of proper nouns (Livepeer, Orchestrator, Ethereum, etc.) in routable v2 MDX prose. Reads rules from tools/config/quality/term-capitalisation.json. Skips code, frontmatter, URLs, imports, JSX attributes.manualbrandnode operations/scripts/remediators/content/style/repair-term-capitalisation.js [--dry-run|--write] [--verify] [--staged] [--files path,path]
sync-docs-paths.jsDocs path sync remediator – applies deterministic docs.json and governed reference rewrites for moved docs pages.manualhealthnode operations/scripts/remediators/content/repair/sync-docs-paths.js --staged --dry-run
sync-mintlify-canonical-consumers.jsRepair registered Mintlify consumer surfaces by applying exact path rewrites from the canonical sync registry without broad repo-wide content mutation.manualhealthnode operations/scripts/remediators/content/repair/sync-mintlify-canonical-consumers.js [--staged] [--check|--write] [--stage] [--json]
update-jsdoc-headers.js${desc}`,manualgovernance${usage}`,
wcag-repair-common.jsWCAG repair shared logic – common repair functions used by WCAG audit fix modemanualbrandnode operations/scripts/remediators/content/style/wcag-repair-common.js [flags]

🚦 Dispatch

ScriptDescriptionPipelineConcernUsage
auto-remediate.jsCentral remediation dispatcher for lpd dev. Chains safe remediators in sequence: frontmatter keys, MDX safety, spelling, UK/US spelling, em-dashes, term capitalisation, page links, page imports. Each remediator runs independently – failures are logged but do not halt the chain. Always exits 0.manualgovernancenode tools/dev/remediation/auto-remediate.js --mode startup [--staged|--full] [--language en-gb|en-us] [--dry-run] [--json]
blast-radius-scanner.jsPostToolUse hook for Edit/Write. When a file in snippets/components/,manualgovernanceCalled automatically by Claude Code PostToolUse hook. Not invoked directly.
check-codex-pr-overlap.jsPR enforcer – checks for conflicting codex PRs targeting the same files/branchesP3discoverabilitynode operations/scripts/dispatch/ai/codex/check-codex-pr-overlap.js [flags]
codex-commit.jsCodex commit helper – audits codex branch state and generates compliant commit messagesmanualdiscoverabilitynode operations/scripts/dispatch/ai/codex/codex-commit.js [flags]
completion-gate.jsPreToolUse hook for Write/Edit. Detects writes to session-log.txt,manualgovernanceCalled automatically by Claude Code PreToolUse hook. Not invoked directly.
create-codex-pr.jsCodex PR creator – generates codex PR with correct branch naming, labels, and body templatemanualdiscoverabilitynode operations/scripts/dispatch/ai/codex/create-codex-pr.js [flags]
docs-page-research-pr-report.jsDocs page research PR report – runs the fact-check research runner on changed docs pages and emits an advisory PR artifact summarizing claim families, contradictions, unresolved factual risk, and propagation follow-up.manualhealthnode operations/scripts/dispatch/content/veracity/docs-page-research-pr-report.js [flags]
docs-page-research-pr-report.test.jsTests docs-page-research-pr-report.js – validates changed-file advisory reporting for the fact-check research runner.manualnode operations/tests/unit/docs-page-research-pr-report.test.js [flags]
docs-research-packet.jsDocs research packet generator – derives nav, manifest, or explicit path scope; runs the research stack tranche-by-tranche; and writes reusable packet reports plus a master rollup.manualhealthnode operations/scripts/dispatch/content/veracity/docs-research-packet.js [flags]
edit-loop-guard.jsPostToolUse hook for Edit/Write. Tracks per-file edit counts within a session.manualgovernanceCalled automatically by Claude Code PostToolUse hook. Not invoked directly.
friction-logger.jsUserPromptSubmit hook. Scans user messages for frustration indicatorsmanualgovernanceCalled automatically by Claude Code UserPromptSubmit hook. Not invoked directly.
governance-pipeline.jsRun the bounded governance repair pipeline and regenerate the active repo-ops governance reports.P6governancenode operations/scripts/dispatch/governance/pipelines/governance-pipeline.js [--dry-run] [--auto-commit] [--report-only] [--strict] [--staged|--files <path[,path...]>|--full]
grep-loop-guard.jsTracks consecutive Grep calls that return no results. At 3 in a row,manualgovernanceCalled automatically by Claude Code PostToolUse hook. Not invoked directly.
headless-batch.shExecutes a prompt against files non-interactively with restricted tools. Use for bulk quality checks, changelog regeneration, stale reference scans, and other well-defined batch tasks.manualgovernance./operations/scripts/dispatch/governance/headless-batch.sh --prompt "..." --tools "Read,Grep,Glob" --output report.md
install.shInstalls git hooks by routing this worktree to .githooks via worktree-local core.hooksPathmanualgovernancebash .githooks/install.sh [flags]
mdx-constraints-injector.jsUserPromptSubmit hook. Keyword-matches the user message for MDX/component/pagemanualgovernanceCalled automatically by Claude Code UserPromptSubmit hook. Not invoked directly.
mdx-frontmatter-sanitise.jsPostToolUse hook for Edit/Write on ANY .mdx file. Auto-fixes (1) duplicate frontmatter keys, (2) em-dash characters in user-facing text, and (3) single-quoted frontmatter scalars (standardises to double quotes). All fixes are applied silently to the file already on disk; the hook only emits a systemMessage when something was changed.manualgovernanceCalled automatically by Claude Code PostToolUse hook. Not invoked directly.
mdx-render-gate.jsPreToolUse hook for Write/Edit. Reads the verification state written bymanualgovernanceCalled automatically by Claude Code PreToolUse hook. Not invoked directly.
mdx-render-verify.jsPostToolUse hook for Edit/Write on v2 .mdx files. Launches Puppeteer,manualgovernanceCalled automatically by Claude Code PostToolUse hook. Not invoked directly.
mdx-validate-hook.jsPostToolUse hook for Edit/Write on .mdx files. Uses the sharedmanualgovernanceCalled automatically by Claude Code PostToolUse hook. Not invoked directly.
message-backup.jsUserPromptSubmit hook. If a message is longer than 200 chars, saves it tomanualgovernanceCalled automatically by Claude Code UserPromptSubmit hook. Not invoked directly.
move-detect-hook.jsPostToolUse hook on Bash. Detects mv/git mv commands targeting v2/ paths,manualgovernanceCalled automatically by Claude Code PostToolUse hook. Not invoked directly.
orchestrator-guides-research-review.jsOrchestrator guides research review packet wrapper – delegates to the generic docs-research-packet engine with the live Orchestrators Guides nav scope and legacy default output root.manualhealthnode operations/scripts/audits/content/veracity/orchestrator-guides-research-review.js [flags]
page-integrity-dispatch.jsOrchestrate the page-integrity family from canonical operations scripts so audit, repair, rerun, and report publication share one stable workflow contract.P6healthnode operations/scripts/dispatch/content/health/page-integrity-dispatch.js [--staged|--files <paths>|--tab <tab>] [--strict] [--no-repair] [--issue-mode off|plan] [--output-dir <dir>]
page-integrity-rolling-issue.jsProvide a stable rolling-issue contract for page-integrity dispatch runs so unresolved link and import failures stay visible in GitHub automation.manualhealthnode operations/scripts/dispatch/content/health/page-integrity-rolling-issue.js [flags]
phase-gate-hook.jsPostToolUse hook for Edit/Write. Reads phase-gate.jsonl and emits unverifiedmanualgovernanceCalled automatically by Claude Code PostToolUse hook. Not invoked directly.
post-remediation-verify.jsLooks up validators for a given remediator from the registry, runs themmanualgovernancenode operations/scripts/dispatch/governance/post-remediation-verify.js --remediator <path> --files <a,b,c> [--revert-on-fail] [--json]
post-tool-verify.jsTracks consecutive failures for circuit breaker. Fires after tool use failures.manualgovernanceCalled automatically by Claude Code PostToolUseFailure hook. Not invoked directly.
pre-commitPre-commit hook – hard gates only (syntax, security, safety). All soft checks run in GitHub Actions PR workflows.P1bash .githooks/pre-commit [flags]
pre-commit-no-deletionsVariant pre-commit hook that blocks file deletions (safety net for content preservation)manualbash .githooks/pre-commit-no-deletions [flags]
pre-compact-checkpoint.jsFires before Claude Code compacts context in long sessions. Reads themanualgovernanceCalled automatically by Claude Code PreCompact hook. Not invoked directly.
pre-pushPre-push hook – blocks push if AI stash files present, codex locks stale, or task contract invalidP2bash .githooks/pre-push [flags]
pre-tool-guard.jsMechanically enforces co-work rules before tool execution. Blocks destructive git, public posts, and unconfirmed writes.manualgovernanceCalled automatically by Claude Code PreToolUse hook. Not invoked directly.
read-logger.jsPostToolUse hook on Read. Logs file paths to a session-scoped temp file.manualgovernanceCalled automatically by Claude Code PostToolUse hook. Not invoked directly.
repo-audit-orchestrator.jsRepo audit orchestrator – dispatches all static analysis validators in sequence. Supports β€”mode (static/full), β€”scope (full/changed), β€”quarantine, β€”agent-pack.manualgovernancenode operations/scripts/audits/governance/repo/repo-audit-orchestrator.js [flags]
run-all.jsMain test-suite orchestrator for local, pre-commit, and package-script execution across the governed documentation validators.P1, P2, P3governancenode operations/tests/run-all.js [flags]
run-pr-checks.jsChanged-file PR validation orchestrator for the branch-health lane, including the strict page-integrity dispatch on changed docs pages.P2, P3governancenode operations/tests/run-pr-checks.js [flags]
run-solutions-social-fetch.jsLocal dispatcher for all social-feed integrators. Loads .env, runs selected fetchers with β€”dry-run support. Mirrors dispatch-copy-update-social-feeds.yml for local testing and upgrades.manualintegrationsnode operations/scripts/dispatch/content/data/run-solutions-social-fetch.js [--mode forum,youtube] [--dry-run] [--env path/to/.env] [--skip discord]
scope-checkpoint.jsPostToolUse hook for Edit/Write. Tracks total edit count per session.manualgovernanceCalled automatically by Claude Code PostToolUse hook. Not invoked directly.
server-lifecycle.jsSessionStart hook + CLI tool. Auto-starts the Mintlify dev server viamanualgovernancenode server-lifecycle.js [health|restart [scope-prefix]]
server-manager.jsManages Mintlify dev server lifecycle for browser tests (start/stop/health-check)manualgovernancenode .githooks/server-manager.js [flags]
session-register.jsSessionStart hook that registers this session in a shared registry file.manualgovernanceCalled automatically by Claude Code hooks. Not invoked directly.
session-state.jsReads ALL active plans and live project state. Run at session start.manualgovernancenode operations/scripts/dispatch/governance/session-state.js
sync-generated-files.jsDispatches generator scripts to sync generated catalog/index files, then validates banners.P1governancenode operations/scripts/dispatch/governance/pipelines/sync-generated-files.js --write | --check [--staged]
task-finalise.jsCodex task finaliser – enforces task completion requirements before closingmanualdiscoverabilitynode operations/scripts/dispatch/ai/codex/task-finalise.js [flags]
verify-browser.jsVerifies browser availability for Puppeteer-based integration testsmanualgovernancenode .githooks/verify-browser.js [flags]
verify.shPre-commit sub-hook – verifies file-walker is available and runs structural checks on staged filesmanualgovernancebash .githooks/verify.sh [flags]
ModuleDescriptionConcern
agent-write-governance.jsAgent write-governance helpers – load and validate the canonical manifest for admitted agent output classes and destinations.
ai-tools-registry.jsShared loader, validator, coverage checker, and report renderer for the AI-tools registry contract and generated inventory report.
changelog.jsLLM prompt template for changelog page-type usefulness evaluation.
codex-skill-templates.jsShared helper for validating, selecting, and loading canonical Codex skill templates.
common.jsi18n shared utilities – common helper functions for translation pipelineintegrations
component-governance-utils.jsShared parsing and validation utilities for component governance scripts.
concept.jsLLM prompt template for concept page-type usefulness evaluation.
config-validator.jsValidates docs-usefulness config structure and field completeness.
config.jsi18n configuration – language codes, locale paths, translation settingsintegrations
docs-authoring-rules.jsShared warning-level authoring rules for guide layouts and code-block metadata, plus deterministic code-block icon repair.
docs-index-utils.jsShared utilities for docs-index.json generation – path resolution, frontmatter extraction, index merging
docs-json-localizer.jsdocs.json localiser engine – transforms docs.json navigation for locale variantsintegrations
docs-page-scope.jsShared authored-page scope helpers that distinguish generated docs pages from authored docs pages for warning-only validators and reports.
docs-publishability.jsShared path publishability rules for v2 docs content and tooling.
docs-routes.jsdocs route resolver – maps page paths to locale-aware routesintegrations
faq.jsLLM prompt template for faq page-type usefulness evaluation.
file-walker.jsFile tree walker – recursively finds files matching patterns. Used by pre-commit hook and validators.
frontmatter-taxonomy.jsShared frontmatter taxonomy utilities for routable docs pages.governance
frontmatter.jsFrontmatter parser/writer for translation surfaces.copy
generated-artifacts.jsGenerated artifact governance helpers – load the manifest, validate enums, and match staged files to managed artifacts
generated-file-banners.jsGenerated file banner template – provides standard banner text for auto-generated files
glossary.jsLLM prompt template for glossary page-type usefulness evaluation.
how_to.jsLLM prompt template for how_to page-type usefulness evaluation.
index.jsLLM prompt template for index page-type usefulness evaluation.
journey-check.jsEvaluates docs pages against user journey completeness criteria.
landing.jsLLM prompt template for landing page-type usefulness evaluation.
llm-evaluator.jsWraps LLM API calls for rubric-based page quality evaluation.
load-js-yaml.jsYAML loader utility – resolves js-yaml from repo-local installs and falls back to a minimal parser for task-contract style files in bare worktrees
load-minimatch.jsGlob matcher loader – resolves minimatch from repo-local installs and falls back to a simple glob matcher for bare worktrees
mdx-parser.jsMDX parser for i18n – extracts translatable content blocks from MDXintegrations
mdx-parser.jsMDX parser utility – extracts frontmatter, components, content blocks from MDX files
mdx-safe-markdown.jsShared MDX-safe markdown helpers that collect first-party markdown files, detect unsafe patterns, and apply deterministic repairs.
mdx-translate.jsMDX translation engine – applies translations to MDX content blocksintegrations
mintignore.jsMintignore utility – reads .mintignore patterns and filters file lists
openapi-rolling-issue.jsOpenAPI rolling issue utility – creates/updates GitHub issues for persistent OpenAPI audit findings
overview.jsLLM prompt template for overview page-type usefulness evaluation.
path-utils.jsPath utilities for i18n – locale-aware path resolution and mappingintegrations
precommit-staged-cache.jsShared pre-commit staged-cache helpers – fingerprint staged content plus hook inputs and persist reusable pass markers
provenance.jsTranslation provenance tracker – records source, timestamp, and provider for each translated segmentintegrations
provider-mock.jsMock translation provider – returns placeholder translations for testing without API callsintegrations
provider-openrouter.jsOpenRouter translation provider – calls OpenRouter API for actual translationsintegrations
providers.jsProvider registry – selects translation provider (OpenRouter or mock) based on configurationintegrations
quality-gate.jsApplies pass/fail thresholds to usefulness scores.
reference.jsLLM prompt template for reference page-type usefulness evaluation.
repo-governance.jsRepo governance helpers – load the canonical registry, validate its schema, and expose derived state for generators and validators.
repo-node-paths.jsShared repo Node path bootstrap helpers – discover repo-local node_modules roots and provide consistent NODE_PATH setup for test and script runners.
resolve-scoped-docs-config.jsScoped docs config resolver – resolves named scoped navigation configs and explicit docs config paths for mint-dev tooling
root-governance.jsRoot governance helpers – load the canonical manifest, validate the governed root contract, and project derived allowlist/report state.
rubric-loader.jsLoads and parses rubric YAML/JSON for page-type scoring rules.
rule-evaluators.jsEvaluates individual rubric rules against page content.
scoring.jsAggregates rule scores into a final usefulness score per page.
script-governance-config.jsShared governance constants for script discovery, indexing, classification, and pipeline normalisation across the repo.
script-header-utils.jsShared helpers for extracting and reading top-of-file script governance headers without scanning into executable source.
spell-checker.jsSpell checker utility – checks text against custom dictionary with en-GB locale support
troubleshooting.jsLLM prompt template for troubleshooting page-type usefulness evaluation.
tutorial.jsLLM prompt template for tutorial page-type usefulness evaluation.
ScriptPathPipelineNotes
contracts-validator-contract.jsoperations/tests/contracts-validator-contract.jsmanualMissing @type in JSDoc header
playwright-community-components.jsoperations/tests/playwright-community-components.jsmanualMissing @type in JSDoc header
playwright-studio-docs-migration.jsoperations/tests/playwright-studio-docs-migration.jsmanualMissing @type in JSDoc header
mdx-sanitise.test.jsoperations/tests/unit/mdx-sanitise.test.jsmanualMissing @type in JSDoc header
Last modified on May 19, 2026