Skip to main content

Documentation Index

Fetch the complete documentation index at: https://na-36-merge-docs-v2-dev-draft-into-docs-v2-clean-20260525.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 505 script(s).

Pipeline Flow

Type key: 🔍 audit · 🏭 generator · ✅ validator · 🔧 remediator · 🔌 integrator · 🚦 dispatch · 💬 interface · 📚 library module · ⚠️ unclassified

🔍 Audits

ScriptDescriptionPipelineConcernUsage
audit-ai-discoverability.jsScans .jsx files for React hook usage (useState, useEffect, useMemo, custom hooks). For each hook-using component, checks the JSDoc declares the AI-discoverability tags + a matching snapshot exists at snippets/data/snapshots/{Component}.json. Emits JSON (—json) or markdown (—md) report.P3maintenancenode 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-folder-allowlist.jsLayer-5 fail-safe drift scanner. Reads every governed folder’s .allowlist, lists actual entries, and reports drift to workspace/reports/governance/folder-allowlist/. Anything caught here represents an upstream layer (write-time hook, pre-commit, PR validator, post-merge) that failed to prevent the file from landing.P5governancenode operations/scripts/audits/governance/repo/audit-folder-allowlist.js [--json]
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-pipeline-inventory.jsWalks operations/scripts/dispatch/ for every dispatcher. Parses JSDoc for concern/niche/type/pipeline/mode/purpose. Statically extracts the atomics each dispatcher invokes (ATOMICS const + runAtomic/runIfExists/runIfExists). Greps v2/ + snippets/ for live consumers of declared outputs. Cross-references workflow YAMLs for the Tier-1 caller. Checks pipeline-smoke-test exclusion list and pipeline-functional-tests TESTS array for test coverage. Emits per-concern sections to workspace/reports/governance/pipeline-inventory.md plus a JSON sibling for programmatic consumers.manualgovernancenode operations/scripts/audits/governance/repo/audit-pipeline-inventory.js [--json] [--concern <name>]
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-script-purpose-fit.jsWalks operations/scripts/ and tools/scripts/. Parses JSDoc 11-tag block. Statically scans the source for file reads, writes, and require calls. Greps callers across workflows + other scripts. Cross-checks the @concern tag against the 7 canonical concerns. Flags writes outside governed folders, reads from archive paths, vague purposes, duplicate niches, and orphans. Outputs per-concern markdown packets the SME reviews to verdict each script. The SME records verdicts in script-registry.json as sme_status.manualgovernancenode operations/scripts/audits/governance/repo/audit-script-purpose-fit.js [--concern <name>] [--json]
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]
audit-wcag.jsPattern D scan-report-act. Runs the WCAG audit engine in —no-fix —full mode, writes report to workspace/reports/health/wcag/, and emits a structured JSON summary on stdout so the workflow can route findings (rolling issue create/update/close).P5healthnode operations/scripts/audits/content/health/audit-wcag.js [--fail-impact minor|moderate|serious|critical] [--max-pages <n>] [--json]
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. Reads the style-language profile for word/phrase rules, scans v2 MDX for US spellings and style guide violations, supports —check (report) and —fix (apply known-safe replacements). Skips frontmatter, code blocks, inline code, and JSX attribute values.P3, P6brandnode operations/scripts/audits/content/style/style-and-language-homogenizer-en-gb.js [--check|--fix] [--scope changed|full] [--files <paths>]
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.jsReads docs.json navigation tree + per-page frontmatter, emits sitemap-ai.xml at repo root. —check mode validates the committed sitemap-ai.xml matches the regenerated output (exits non-zero on drift). —write mode regenerates. Pairs with dispatch-ai-sitemap.js.P3discoverabilitynode operations/scripts/generators/content/seo/generate-ai-sitemap.js [--check|--write]
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.jsReads docs-guide/config/component-registry.json (all components) + the component-usage map (where each is imported). For each top-level grouping (wrappers, config, scaffolding, displays, elements, etc.) emits an INDEX.md with the components in that group. Distinct from generate-component-library.js which emits the longer LIBRARY.md docs. Manual-use — not in dispatch-component-registry pipeline yet; tracked as follow-up.manualmaintenancenode operations/scripts/generators/components/library/generate-component-index.js [--dry-run] [--check] [--category elements]
generate-component-library.jsReads docs-guide/config/component-registry.json + the component-usage map. Renders LIBRARY.md per top-level grouping plus a root index. Paired with generate-component-index.js (INDEX.md = short table; LIBRARY.md = full docs). Manual-use — not in dispatch-component-registry pipeline yet; tracked as follow-up.manualmaintenancenode 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.jsReads the component registry, projects each entry into a VS Code snippet definition (prefix, body, description, params), writes .vscode/components.code-snippets. —check fails if the generated snippets file drifts from the registry source; —write regenerates. Tracked in operations/governance/config/generated-artifacts.json so pre-commit checks freshness on registry changes.P3maintenancenode 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.jsReads GOVERNANCE.md markers from every root folder and produces a governance map reportmanualgovernancenode operations/scripts/generators/governance/generate-governance-map.js [--write] [--check]
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.jsGenerates the hero background PNG used at v2/index. Reads brand colour tokens from style.css, renders the gradient/pattern via Canvas or Puppeteer, writes to snippets/assets/media/hero/. Manual-use script — not in any dispatcher; run by hand when the brand updates.manualbrandnode operations/scripts/generators/media/generate-hero-background.js
generate-hero-image.jsGenerates the hero foreground PNG/SVG used at v2/index. Reads brand assets + hero copy from config, renders via Puppeteer or Canvas, writes to snippets/assets/media/hero/. Pairs with generate-hero-background.js. Manual-use only — not wired to any dispatcher.manualbrandnode operations/scripts/generators/media/generate-hero-image.js
generate-llms-files.jsReads docs.json navigation + per-page frontmatter (title, description, sidebarTitle). llms.txt = short index (one line per page). llms-full.txt = same index + first-paragraph excerpt per page. —check validates committed files match the regen output; —write regenerates. Pairs with dispatch-llms-files.js.P3discoverabilitynode operations/scripts/generators/ai/llm/generate-llms-files.js [--check|--write]
generate-og-images.jsUses Puppeteer to render section-templated images at the OG canonical 1200x630 size with title/section overlay. Reads section labels and brand tokens from config, writes PNGs to snippets/assets/media/og-images/ plus a manifest JSON mapping route → image. Pairs with og-image-policy.js (the resolver consumers use) and dispatch-og-images.js.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
seo-generator-safe.jsDeprecated wrapper for the legacy safe SEO generator. Use the canonical OG generator workflow instead.manualseo-generator-safe.jsnode tools/scripts/dev/seo-generator-safe.js

✅ Validators

ScriptDescriptionPipelineConcernUsage
.verify-large-change.shLarge change verifier — blocks or warns when a commit touches an unusually large number of filesmanual.verify-large-change.shbash tools/scripts/verify/.verify-large-change.sh [flags]
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-broken-links.jsDelegates to page-links-audit.js which already implements the canonical link health check across v2 pages. This script provides the canonical entry point so dispatchers can call check-broken-links by stable name.P3healthnode operations/scripts/validators/content/health/check-broken-links.js [--files <paths>|--staged|--full]
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.jsEnforces the prop-governance checks documented as 5.18-5.20, 5.22, 5.26-5.28, 5.34 in the canonical-data deps files. Reads v2/ MDX, applies the prop-pattern rules, emits violations with file:line evidence. JSON or Markdown report. Wired into dispatch-component-registry.js PR detect list.P3maintenancenode 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-folder-allowlist.jsPR-time validator. For each folder containing a .allowlist file, lists actual entries and fails if any entry is not on the allowlist. Used as the layer-3 gate in the folder-allowlist prevention chain.P3governancenode operations/scripts/validators/governance/repo/check-folder-allowlist.js [--folder <path>] [--json]
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. Reads rules from a closed enum (no LLM); applies only the rules with documented, unambiguous corrections. —fix performs the autofix for the safe subset. Skips code blocks, frontmatter, JSX comments, JSX attribute values, import/export lines. Exit non-zero if any violation detected.P3, P6brandnode operations/scripts/validators/content/grammar/check-grammar-en-gb.js [--scope full|changed] [--files <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.shScans the working tree (excluding .gitignore’d paths) for known AI agent temporary file patterns. Exits non-zero if any found, listing the offenders. Called by .githooks/pre-commit and .githooks/pre-push.P1, P2governancebash 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.jsReads canonical proper-noun rules from operations/tests/config/spell-dict.json. Scans prose for lowercase or wrong-case occurrences of governed proper nouns. Exit non-zero if any violation. Paired with repair-term-capitalisation.js for auto-fix.P3brandnode operations/scripts/validators/content/grammar/check-proper-nouns.js [--files <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-wcag.jsPR-time advisory validator. Wraps the WCAG audit engine in —no-fix mode and reports blocking findings (impact level configurable). Exits non-zero if blocking violations are found.P3healthnode operations/scripts/validators/content/health/check-wcag.js [--files <path[,path...]>] [--staged] [--full] [--fail-impact minor|moderate|serious|critical] [--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 checksmanualcontentnode 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>]
dispatch-concern-simulation.jsLoads each .github/workflows/dispatch-{concern}.yml, parses the YAML, walks each job’s steps, extracts the dispatcher scripts referenced, verifies each exists and exposes the modes/flags the workflow uses. For each job, runs the referenced dispatcher’s —help to confirm its CLI is wired. This is the local equivalent of pushing each workflow to GitHub and watching it parse — what 5.4 of the GitHub Actions Governance plan calls “end-to-end CI dry-run”.P3governancenode operations/tests/integration/dispatch-concern-simulation.js [--concern <name>]
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 logicmanualcontentnode 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 roundtripmanualcontentnode 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.jsReads the two canonical lists (10 banned words + 17 banned phrases from the CLAUDE.md voice rules) and scans v2 MDX for occurrences. Exit non-zero on any hit. No auto-fix — banned terms require manual rewrite via the rolling-issue model. Pairs with dispatch-banned-words.js.P3, P5brandnode operations/scripts/validators/content/copy/lint-copy.js [--files <paths>|--staged|--full]
lint-patterns.jsPairs with check-voice-register.js. Where check-voice-register detects prohibited phrases, lint-patterns detects structural pattern violations (e.g. unnecessary qualifiers, hedging openers, indirect constructions). Exit non-zero on any hit. Used by dispatch-voice-register.js as the secondary detector.P3brandnode operations/scripts/validators/content/copy/lint-patterns.js [--files <paths>|--staged|--full]
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 logicmanualcontentnode 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
pipeline-functional-tests.jsRuns synthetic-violation cycles against the 10 foundational pipeline dispatchers. Each test drops a known-bad fixture, runs detect, asserts the violation is found, runs repair (where supported), asserts the violation is gone, re-runs detect to verify clean. Honest exit codes — non-zero if any pipeline cannot prove its lifecycle.P3, P5governancenode operations/tests/integration/pipeline-functional-tests.js [--only <name>] [--json]
pipeline-smoke-test.jsDiscovers every dispatch-{niche}.js under operations/scripts/dispatch/, runs each in safe mode, captures exit codes, reports pass/fail summary. Foundational test that asserts the architecture is wired correctly. Functional depth (synthetic violations + repair + verify cycles) lives in per-pipeline tests under operations/tests/integration/dispatch-*.test.js.manualgovernancenode operations/tests/integration/pipeline-smoke-test.js [--json]
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 recordingmanualcontentnode operations/scripts/i18n/test/provenance.test.js [flags]
provider-openrouter.test.jsTests OpenRouter provider — validates API call logic and response parsingmanualcontentnode 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 togglemanualcontentnode operations/scripts/i18n/test-mintlify-version-language-toggle.js [flags]
test-scripts.shIterates the snippet scripts directory, runs each with —help (or equivalent), checks exit code is 0, captures stderr, reports a pass/fail summary. Manual-use only; not wired to a dispatcher. Documented in docs-guide/tooling/lpd-cli.mdx as a contributor workflow.manualgovernancebash operations/scripts/snippets/test-scripts.sh [flags]
test-v2-pages.jsPuppeteer-driven browser tester. Reads docs.json for the route list, navigates each in headless Chrome, waits for body content, checks for console errors / network failures / missing components. Used by dispatch-page-rendering.js as the rendering atomic. Also called directly by v2-wcag-audit.js (which loads each page then runs axe-core) and browser.test.js.P3healthnode operations/scripts/validators/content/structure/test-v2-pages.js [--routes <comma-list>] [--full]
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-locks.jsPre-push validator for Codex sessions. Checks .codex/locks-local/ for lock files, validates each lock’s task ID matches the current branch’s codex/* prefix, validates each lock’s age is within session-lifetime threshold. Exits non-zero on stale or foreign locks. Called by .githooks/pre-push for codex/* branches.P1, P2governancenode 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]
verify-pipeline-end-to-end.jsReads workspace/reports/governance/pipeline-inventory.json. For every entry not on the infrastructure-dependent exclusion list, spawns the dispatcher with —mode pr —dry-run and a 90s timeout. Captures exit code + last 400 chars of combined output. Applies drift-signal regex (stale generated file, missing companion, “out of date” reports) to classify exit-1 as drift-detected (working pipeline + stale repo state) vs fail (real bug). Writes back into pipeline-inventory.json under each row’s verification block + emits workspace/reports/governance/pipeline-verification.md with summary + failures section.manualgovernancenode operations/scripts/validators/governance/pipelines/verify-pipeline-end-to-end.js [--concern <name>] [--timeout <ms>] [--limit <N>]
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]
backfill-vague-purpose.jsReads the SME audit’s flagged-list JSON, opens each script, finds the existing @purpose line in the JSDoc block, replaces the value with a sentence built from the @description tag (if present) prefixed by the canonical verb for the @type (Detect / Validate / Repair / Generate / Audit / Dispatch / Integrate). Skips scripts whose @description is too short to make a useful purpose. —dry-run preview; —write apply.manualgovernancenode operations/scripts/remediators/governance/scaffold/backfill-vague-purpose.js [--dry-run|--write] [--input <path>] [--limit <N>]
batch-update-og-image.shDeprecated wrapper for the legacy bulk OG image replacement helper. Use the canonical OG generator workflow instead.manualbatch-update-og-image.shbash tools/scripts/dev/batch-update-og-image.sh
fix-usage-paths.jsfix usage pathsmanualgovernance*/
generate-seo.jsContent-analysis-based SEO frontmatter generator. Reads each v2 .mdx file, parses frontmatter, and for missing/low-quality title/description/keywords writes a derived value into a frontmatter patch. —dry-run shows proposed patches; —write applies them and runs —verify to re-check. Pairs with dispatch-seo-metadata.js.P3, P6discoverabilitynode operations/scripts/remediators/content/seo/generate-seo.js [--dry-run|--write] [--verify] [--files <paths>]
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.jsScans content text and user-facing frontmatter keys (title, sidebarTitle, description) for U+2014. Skips other frontmatter keys, code blocks, inline code, JSX comments, import/export lines, and JSX attribute values. —verify re-runs detection after write and reverts any file that still contains an em-dash. Pairs with dispatch-em-dashes.js.P6brandnode operations/scripts/remediators/content/style/remediate-em-dashes.js [--dry-run|--write] [--verify] [--staged] [--files path,path]
remediate-frontmatter-quotes.jsDecodes 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. Wired into the PostToolUse:Edit|Write hook so every MDX edit is normalised automatically.P2, P6brandnode operations/scripts/remediators/content/style/remediate-frontmatter-quotes.js [--dry-run|--write] [--verify] [--staged] [--files path,path]
remediate-us-spelling.jsDefault direction: US → UK. Use —language en-us to reverse. Skips frontmatter, code blocks, inline code, JSX comments, import/export lines, URLs, and JSX attribute values. —verify re-runs the spelling check after write and reverts any file that still has US forms. Pairs with dispatch-spelling.js.P6brandnode 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.jsPairs with check-voice-register.js. Applies safe deterministic rewrites only — universal phrase replacements plus audience-keyed deletions (orchestrator, gateway, developer). Skips code blocks, frontmatter, and JSX comments. Ambiguous cases stay flagged for human review via rolling-issue. Supports —dry-run preview and —verify (re-runs check after fix, reverts regressions per file).P6brandnode operations/scripts/remediators/content/style/remediate-voice-violations.js [--dry-run|--write] [--verify] [--files <paths>|--staged|--full]
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-anchor-usage.jsPairs with check-anchor-usage.js. For each broken anchor link text, reads the target page’s H1-H6 headings, computes their slugs, and if a unique fuzzy match exists (>= 0.8 similarity), rewrites the anchor. Ambiguous matches stay flagged for human review.P6healthnode operations/scripts/remediators/content/structure/repair-anchor-usage.js [--dry-run|--write] [--verify] [--files <paths>|--staged|--full]
repair-broken-links.jsPairs with check-broken-links. Reads page-links-audit findings, attempts canonical path rewrites for internal v2/ links that match a moved/renamed page registered in docs.json. External link repairs (redirect resolution) are not in scope here.P6healthnode operations/scripts/remediators/content/health/repair-broken-links.js [--dry-run|--write] [--files <paths>|--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-content-quality.jsPairs with docs-quality-and-freshness-audit. Removes orphan single-line TODO/FIXME comments at end of file. Anything that requires judgment (thin pages, stale content) escalates via rolling-issue.P6healthnode operations/scripts/remediators/content/quality/repair-content-quality.js [--write] [--files <paths>|--staged]
repair-description-quality.jsPairs with check-description-quality.js. Trims boilerplate openings (“This page describes”, “This document covers”, “Learn how to”), normalises trailing punctuation, flags too-short (<80) and too-long (>160) descriptions for human review.P6healthnode operations/scripts/remediators/content/structure/repair-description-quality.js [--dry-run&#124;--write] [--files &lt;paths&gt;&#124;--staged&#124;--full]
repair-folder-allowlist.jsReads each governed folder’s .allowlist, identifies drift, archives drift via git mv to {folder}/x-archive/. Supports —dry-run preview and —verify (re-runs check after repair, asserts drift count = 0).P6governancenode operations/scripts/remediators/governance/repo/repair-folder-allowlist.js [--dry-run&#124;--write] [--verify] [--folder &lt;path&gt;]
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&#124;--write]
repair-lint-structure.jsPairs with lint-structure.js. Applies deterministic whitespace + spacing fixes only. Anything requiring judgment (heading-level reorganisation) stays flagged for human review.P6healthnode operations/scripts/remediators/content/structure/repair-lint-structure.js [--write] [--files &lt;paths&gt;&#124;--staged&#124;--full]
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&#124;--files a,b]
repair-openapi-reference.jsPairs with openapi-reference-audit. On detected drift between live API spec and committed reference docs, invokes generate-api-docs.sh against each tracked spec to regenerate the v2 API reference pages. PR is opened by the workflow layer after successful regen.P6healthnode operations/scripts/remediators/content/health/repair-openapi-reference.js [--dry-run&#124;--write]
repair-ownerless-language.jsApplies a closed list of deterministic 1:1 phrase rewrites (e.g. “Awaiting maintainer triage” → “Awaiting repository routing”, “policy ownership” → “policy layering”) to a fixed set of governed contributor surfaces. Reads no external rules — the phrase map is hard-coded for auditability. Pairs with dispatch-ownerless-language.js.P3, P6copynode operations/scripts/remediators/content/style/repair-ownerless-language.js [--check&#124;--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&#124;--write] [--files &lt;paths&gt;] [--output-dir &lt;dir&gt;]
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 &lt;path,...&gt;] [--json] [--md] [--output &lt;dir&gt;]
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.jsReads rules from tools/config/quality/term-capitalisation.json. Scans content text for lowercase or wrong-case occurrences and rewrites them. Skips code blocks, frontmatter, URLs, import/export lines, JSX attribute values. —verify re-runs check-proper-nouns.js per file and reverts any regression. Pairs with dispatch-proper-nouns.js.P6brandnode operations/scripts/remediators/content/style/repair-term-capitalisation.js [--dry-run&#124;--write] [--verify] [--staged] [--files path,path]
repair-wcag.jsPattern E remediator. Wraps the WCAG audit engine’s —fix mode to apply safe accessibility autofixes (heading hierarchy, alt text, contrast tokens). Supports —dry-run preview, —verify per-file revert on regression, and —files scoping. Paired with check-wcag in remediation-verify-registry.P6healthnode operations/scripts/remediators/content/health/repair-wcag.js [--dry-run&#124;--write] [--verify] [--files &lt;path[,path...]&gt;] [--staged] [--full] [--fail-impact &lt;level&gt;]
replace-og-image.pyDeprecated wrapper for the legacy OG image replacement helper. Use the canonical OG generator workflow instead.manualreplace-og-image.pypython3 tools/scripts/dev/replace-og-image.py
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&#124;--write] [--stage] [--json]
update-all-og-images.jsDeprecated wrapper for legacy bulk OG image replacement. Use the canonical OG generator workflow instead.manualupdate-all-og-images.jsnode tools/scripts/dev/update-all-og-images.js
update-jsdoc-headers.jsPaired remediator for check-jsdoc-headers validator. Iterates scripts under operations/scripts/ and tools/scripts/, infers missing tags from path + existing content, applies a template-string scaffold. —check reports what would change; —write applies. Note: the inline template strings below this header use $&#123;var&#125; literals — they are template-literal source, not part of this script’s own JSDoc.P6governancenode operations/scripts/remediators/governance/scaffold/update-jsdoc-headers.js [--check&#124;--write] [--files &lt;paths&gt;]
update-og-image.jsDeprecated wrapper for legacy OG image replacement. Use the canonical OG generator workflow instead.manualupdate-og-image.jsnode tools/scripts/dev/update-og-image.js

🔌 Integrators

ScriptDescriptionPipelineConcernUsage
blockchain-page-spec.jsContract data pipeline module: blockchain-page-specmanualintegrationsInternal module — imported by fetch-contract-addresses.js
branch-watch.jsContract data pipeline module: branch-watchmanualintegrationsInternal module — imported by fetch-contract-addresses.js
catalog-config.jsContract data pipeline module: catalog-configmanualintegrationsInternal module — imported by fetch-contract-addresses.js
cleanup-local-dev-sessions.jsLocal dev session cleanup — preserves Mint on port 3333 and terminates stale Playwright plus non-3333 Mint session treesmanualgovernancenode operations/scripts/integrators/governance/cleanup-local-dev-sessions.js [--apply] [--install-cron] [--remove-cron] [--keep-port 3333]
constants.jsContract data pipeline module: constantsmanualintegrationsInternal module — imported by fetch-contract-addresses.js
contract-address-routes.test.jsmanualintegrations
contract-verifier.test.jsmanualintegrations
contracts-browser-harness.jsUnified scoped-browser harness for the contracts recovery browser gates.manualtestingnode operations/tests/contracts-browser-harness.js
convert-rss-to-mdx.jsReads .rss files from v2/internal/assets/transcripts/, parses each entry (title, pubDate, link, excerpt, audio link, transcript), emits one MDX page per entry under v2/internal/assets/transcripts/{source}/{episode-slug}.mdx with proper frontmatter. Manual-use only — run when new RSS feeds are added or existing feeds need refresh.manualintegrationsnode operations/scripts/integrators/content/data/transforms/convert-rss-to-mdx.js [--dry-run] [--source &lt;name&gt;]
cross-agent-packager.jsReads the canonical skills catalog and execution manifest from ai-tools/ai-skills/, the latest audit reports from workspace/reports/, and the per-agent target rules. Produces a per-agent pack under ai-tools/agent-packs/{agent}/ (e.g. claude/CLAUDE.md, codex/skills-manifest.json, cursor/rules.md). Called by repo-audit-orchestrator.js when —agent-pack is set.manualgovernancenode operations/scripts/integrators/ai/agents/cross-agent-packager.js --agent-pack &lt;name&gt; --output-dir ai-tools/agent-packs
docs-path-sync.jsLibrary module imported by page-links-audit.js, precommit-staged-cache.js, and run-all.js. Exports planRewrites(stagedMoves), applyRewrites(plan), checkDrift() so page renames don’t leave broken inbound links. Pairs with the page-integrity pipeline (dispatch-page-integrity.js indirectly via page-links-audit).manualhealthconst sync = require('operations/scripts/config/docs-path-sync');
export-portable-skills.jsReads the template-skill catalog, projects each into the per-agent pack format (e.g. CLAUDE.md fragment, codex skill manifest entry, cursor rules entry). —check validates the per-agent packs match the templates; —write regenerates them. Used by cross-agent-packager and runnable standalone.manualgovernancenode operations/scripts/integrators/ai/agents/export-portable-skills.js --write&#124;--check [--skills name[,name...]]
fetch-config-flags.jsScheduled-weekly integrator. Hits GitHub raw URL for go-livepeer’s flag-defining Go source files, parses flag definitions, normalises into a JSX export at snippets/data/config-flags/. Pairs with dispatch-config-flags.js. Required for the v2 config-flags reference page to stay current with go-livepeer releases.P5maintenancenode operations/scripts/integrators/maintenance/data-feeds/fetch-config-flags.js [--dry-run]
fetch-contract-addresses.jsThin CLI entrypoint for the chain-first contracts pipeline.manualmaintenancenode .github/scripts/fetch-contract-addresses.js [--dry-run] [--check] [--skip-verify]
fetch-contract-addresses.test.jsmanualintegrations
fetch-discord-announcements.jsReads channel ID + bot token from env, hits Discord API for each configured solution, transforms messages into a JSX module per solution and a shared community module. Writes outputs to snippets/data/social-feed-solutions/{product}/discordData.jsx and snippets/data/social-feeds/discordAnnouncementsData.jsx.P5copynode operations/scripts/integrators/copy/social-feeds/fetch-discord-announcements.js [--dry-run]
fetch-exchanges-data.jsScheduled-weekly integrator. Hits CoinGecko’s tickers-by-coin endpoint for LPT, classifies each ticker by exchange type (centralised vs decentralised) using a known-exchange config, writes snippets/data/exchanges/exchangesData.jsx. Pairs with dispatch-exchanges-data.js.P5maintenancenode operations/scripts/integrators/maintenance/data-feeds/fetch-exchanges-data.js [--dry-run]
fetch-external-docs.shIterates a config-mapped list of external repos and files, downloads each via curl, runs mdx-sanitise on the output, writes to snippets/composables/pages/shared/. Pre-build dependency for the dev preview (mint-dev.sh runs it first) so external composables exist before Mintlify boots. Also referenced by page-imports-audit which validates that referenced shared composables exist.P2integrationsbash operations/scripts/integrators/content/data/fetching/fetch-external-docs.sh [flags]
fetch-forum-data.jsPolls the public Livepeer Forum Discourse API, extracts topic title, slug, category, reply count, view count, and last-activity timestamp. Writes multiple sorted JSX exports to snippets/data/social-feeds/forumData.jsx. Consumed by the social-feeds composable on Community pages. Supports —dry-run.P5copynode operations/scripts/integrators/copy/social-feeds/fetch-forum-data.js [--dry-run]
fetch-ghost-blog-data.jsReads RSS XML from the public Livepeer Ghost blog endpoint, parses entries (title, link, pubDate, excerpt, author), writes a sorted JSX export to snippets/data/social-feeds/ghostBlogData.jsx. No auth required.P5copynode operations/scripts/integrators/copy/social-feeds/fetch-ghost-blog-data.js [--dry-run]
fetch-github-discussions.jsReads solution → repo mapping from config, hits GitHub GraphQL API for the Discussions feed, transforms entries (title, body excerpt, author, category, replies, upvotes) into JSX exports. Writes per-solution outputs to snippets/data/social-feed-solutions/{product}/githubDiscussionsData.jsx. Requires GITHUB_TOKEN (anonymous works for public repos but is rate-limited).P5copynode operations/scripts/integrators/copy/social-feeds/fetch-github-discussions.js [--dry-run]
fetch-github-releases.jsReads solution → repo mapping from config, hits GitHub REST API for the Releases endpoint, transforms entries (tag, title, body excerpt, author, published date, prerelease flag) into JSX exports. Writes per-solution outputs to snippets/data/social-feed-solutions/{product}/githubReleasesData.jsx. Requires GITHUB_TOKEN.P5copynode operations/scripts/integrators/copy/social-feeds/fetch-github-releases.js [--dry-run]
fetch-lpt-exchanges.shHits CoinGecko’s public exchanges-by-token endpoint for the LPT coin ID, transforms the response (exchange name, pair, volume, trust score) into an MDX table, appends or updates the table in snippets/data/exchanges/lpt-exchanges.mdx. Manual-use only — documented in docs-guide/tooling/lpd-cli.mdx as a contributor workflow.manualintegrationsbash operations/scripts/integrators/content/data/fetching/fetch-lpt-exchanges.sh [flags]
fetch-luma-events.jsReads the public Livepeer calendar at https://api2.luma.com/ics/get?entity=calendar&amp;id=livepeer (no auth required — public iCal). Parses VEVENT blocks, extracts title/date/location/URL, splits into upcoming (start > now) and past (start <= now), sorts past desc / upcoming asc, writes a sorted JSX export to snippets/data/social-feeds/lumaEventsData.jsx. Matches the n8n workflow at snippets/assets/data/n8n/Luma-To-Mintlify.json so the schedule, endpoint, and transform are identical.P5copynode operations/scripts/integrators/copy/social-feeds/fetch-luma-events.js [--dry-run]
fetch-openapi-specs.shIterates a config-mapped list of Livepeer service OpenAPI spec URLs, downloads each via curl, validates JSON/YAML parses, writes to api/{service}-openapi.{yaml,json}. Mintlify’s reference-page generator picks them up. Manual-use; not yet wired into a scheduled or post-merge pipeline (tracked as RFP gap “OpenAPI fetcher 2/5”).manualintegrationsbash operations/scripts/integrators/content/data/fetching/fetch-openapi-specs.sh [flags]
fetch-rss-blog-data.jsReads solution → RSS URL mapping from config, parses each feed (title, link, pubDate, excerpt, author), transforms into JSX exports. Writes per-solution outputs to snippets/data/social-feed-solutions/{product}/blogData.jsx. Distinct from fetch-ghost-blog-data which handles only the main Livepeer Ghost blog.P5copynode operations/scripts/integrators/copy/social-feeds/fetch-rss-blog-data.js [--dry-run]
fetch-youtube-data.jsReads channel ID + API key from env, hits YouTube Data API v3 for the channel’s uploads playlist, transforms entries into a sorted JSX export. Writes to snippets/data/social-feeds/youtubeData.jsx. Requires YOUTUBE_API_KEY.P5copynode operations/scripts/integrators/copy/social-feeds/fetch-youtube-data.js [--dry-run]
generate-changelog.jsUnified changelog generator driven by config key (CHANGELOG_KEY env var). Fetches releases from GitHub/GitLab REST API, optionally enhances entries via an LLM call, optionally verifies on-chain (for the contracts changelog), renders to v2/solutions/{product}/changelog.mdx or v2/resources/changelog/{section}.mdx. Pairs with dispatch-changelogs.js.P3, P5copyCHANGELOG_KEY=contracts node operations/scripts/integrators/copy/changelogs/generate-changelog.js [--dry-run] [--enhance] [--contract]
generate-localized-docs-json.jsLocale docs.json generator — produces localised docs.json variants from route-map and source docs.jsonmanualintegrationsnode operations/scripts/integrators/content/language-translation/generate-localized-docs-json.js [flags]
incidents.jsContract data pipeline module: incidentsmanualintegrationsInternal module — imported by fetch-contract-addresses.js
lock-release.jsReads the current task ID from .codex/task-contract.yaml, removes .codex/locks-local/{task-id}.lock, validates the lock was held by the calling session (prevents accidental cross-session release). Called by task-finalise.js at end-of-session.manualgovernancenode operations/scripts/integrators/ai/codex/lock-release.js [flags]
mdx-sanitise.jsLibrary used by all 6 social-feed integrators (fetch-forum-data, fetch-discord-announcements, fetch-ghost-blog-data, fetch-rss-blog-data, fetch-github-discussions, fetch-github-releases, fetch-youtube-data) to safely embed external content in the generated *.jsx data modules. Exports sanitiseForMdx, escapeForJsx, stripDangerousPatterns.manualcopyconst &#123; sanitiseForMdx, escapeForJsx &#125; = require('operations/scripts/config/mdx-sanitise')
mintlify-canonical-sync.jsLibrary imported by check-mintlify-canonical-sync.js (validator) and sync-mintlify-canonical-consumers.js (remediator). Exports listConsumers(), planRewrites(canonicalChanges), validateArchiveState(). Pairs with dispatch-canonical-sync.js as the shared logic layer.manualcopyconst sync = require('operations/scripts/config/mintlify-canonical-sync');
og-image-policy.jsLibrary module (not a CLI). Exports resolveOgImage(route) → { src, alt, section, isFallback } given a v2/ route. Reads section → image mapping from snippets/assets/media/og-images/manifest.json. Treated as @type integrator because it’s the resolver bridge between the OG generation pipeline output and the consumer surfaces.manualdiscoverabilityrequire('operations/scripts/config/og-image-policy').resolveOgImage(route)
pipeline.jsContract data pipeline module: pipelinemanualintegrationsInternal module — imported by fetch-contract-addresses.js
playwright-blockchain-contracts.jsCP-7: Verifies the blockchain-contracts page renders from generated pipeline data,manualtestingnode operations/tests/playwright-blockchain-contracts.js
playwright-contract-addresses.jsCP-6: Verifies the canonical contract-addresses reference page, the dedicated verifier page,manualtestingnode operations/tests/playwright-contract-addresses.js
project-showcase-sync.jsReads pending submissions and review-decision rows from the configured Google Sheet, applies decisions (approve / reject / defer), writes the approved list to snippets/data/showcase-feed/showcaseData.jsx and showcaseDataPopulated.jsx. Consumed by snippets/composables/pages/home/project-showcase.mdx and snippets/composables/pages/showcase.mdx. Pairs with dispatch-showcase.js.P5copynode operations/scripts/integrators/copy/showcase/project-showcase-sync.js [--mode poll&#124;dispatch] [--dry-run]
publish-v2-internal-reports.jsReport publisher — publishes v2 internal audit reports to configured output locationsmanualgovernancenode operations/scripts/integrators/governance/pipelines/publish-v2-internal-reports.js [flags]
solidity-parser.jsContract data pipeline module: solidity-parsermanualintegrationsInternal module — imported by fetch-contract-addresses.js
spec.jsContract data pipeline module: specmanualintegrationsInternal module — imported by fetch-contract-addresses.js
sync-codex-skills.jsReads the canonical skill templates, applies Codex-specific projections (skill manifest format, companion resource paths), writes outputs under ai-tools/agent-packs/codex/. —check fails if Codex pack is stale; —write regenerates. Different from export-portable-skills which handles all agents — this one is Codex-only with deeper Codex-specific transformations.manualgovernancenode operations/scripts/integrators/ai/agents/sync-codex-skills.js [flags]
task-cleanup.jsLists local git worktrees and branches matching codex/, cross-references against merged PRs via gh CLI, removes worktrees whose branch is merged, removes stale .codex/locks-local/.lock files whose task PR has merged. Reports what it would prune in dry-run mode.manualgovernancenode operations/scripts/integrators/ai/codex/task-cleanup.js [--dry-run] [--write]
task-preflight.jsRun before the Codex agent starts work. Creates the task-contract YAML with task ID, scope, acceptance criteria fields. Acquires a local execution lock at .codex/locks-local/{task-id}.lock to prevent parallel-session conflicts. Verifies branch is on codex/* prefix, no stash markers present, no other locks held.manualgovernancenode operations/scripts/integrators/ai/codex/task-preflight.js [flags]
translate-docs.jsTranslation generator — translates v2 MDX pages to target languages via OpenRouter APImanualintegrationsnode operations/scripts/integrators/content/language-translation/translate-docs.js [flags]
update-livepeer-release.jsFetches or accepts the latest go-livepeer release tag and writes the canonical release data module.manualmaintenancenode .github/scripts/update-livepeer-release.js [--version &lt;tag&gt;]
validate-generated.jsGenerated localisation validator — checks generated translated MDX files and route-map outputs for integritymanualintegrationsnode operations/scripts/integrators/content/language-translation/validate-generated.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&#124;--full] [--language en-gb&#124;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.jsLists open codex/* PRs via gh CLI, extracts the changed-file set per PR, flags pairs whose changed-file sets intersect. Used by the Codex pre-task workflow to abort a session before it starts work on territory another agent already claimed.P2governancenode operations/scripts/dispatch/ai/codex/check-codex-pr-overlap.js [flags]
codex-commit.jsInvoked by the Codex AI agent at end-of-task. Inspects staged changes, validates branch is on codex/* prefix, checks for AI stash markers, generates a commit message that includes the task ID and follows the repo’s &lt;type&gt;(&lt;scope&gt;): &lt;subject&gt; convention. Pairs with the Codex skills-manifest entry for end-of-task commits.manualgovernancenode 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.jsInvoked by the Codex AI agent at end-of-task after codex-commit. Reads .codex/task-contract.yaml for task ID, summary, scope. Validates branch name matches the codex/* pattern, opens PR via gh CLI with required labels (codex, ai-generated, task:{id}) and body containing summary + acceptance criteria + linked task. Pairs with the Codex skills-manifest entry.manualgovernancenode operations/scripts/dispatch/ai/codex/create-codex-pr.js [flags]
dispatch-action-docs.jsSelf-doc pipeline: regenerate actions-library on workflow changes.P3, P5, P6governancenode operations/scripts/dispatch/governance/dispatch-action-docs.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify]
dispatch-ai-sitemap.jsAI sitemap pipeline (PR drift check + post-merge regen + verify).P3, P5, P6discoverabilitynode operations/scripts/dispatch/content/discoverability/dispatch-ai-sitemap.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify]
dispatch-banned-words.jsReads canonical lists from tools/lib/copy-governance/banned-{words,phrases}.txt via lint-copy.js. PR: detect + advisory. Scheduled: rolling-issue. Banned terms require manual rewrite (no auto-repair) — the rolling-issue model is the response.P3, P5brandnode operations/scripts/dispatch/content/brand/dispatch-banned-words.js [--mode pr&#124;scheduled]
dispatch-brand-check.jsRuns every brand pipeline with —mode pr. Aggregates exit codes.P3brandnode operations/scripts/dispatch/content/brand/dispatch-brand-check.js [--dry-run]
dispatch-brand-repair.jsRepair-only mode with —verify, opens PR with fixes.manualbrandnode operations/scripts/dispatch/content/brand/dispatch-brand-repair.js [--write] [--files &lt;paths&gt;&#124;--staged&#124;--full]
dispatch-brand-scan.jsFull audit + repair (—write) + verify + rolling-issue.P5, P6brandnode operations/scripts/dispatch/content/brand/dispatch-brand-scan.js [--write] [--verify]
dispatch-canonical-sync.jsDetects drift between archived Mintlify sources and active consumers; repairs via sync-mintlify-canonical-consumers.P3, P5, P6copynode operations/scripts/dispatch/content/copy/dispatch-canonical-sync.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify]
dispatch-catalogs.jsdocs-guide catalog pipeline (PR check + post-merge regen).P3, P5, P6maintenancenode operations/scripts/dispatch/content/maintenance/dispatch-catalogs.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify]
dispatch-changelogs.jsPipeline for changelog regeneration from upstream repo releases.P3, P5, P6copynode operations/scripts/dispatch/content/copy/dispatch-changelogs.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify]
dispatch-codex-compliance.jsCodex branch + task contract compliance.P3, P5, P6governancenode operations/scripts/dispatch/governance/dispatch-codex-compliance.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify]
dispatch-companions.jsAI companion manifest pipeline (PR drift check + post-merge regen + verify).P3, P5, P6discoverabilitynode operations/scripts/dispatch/content/discoverability/dispatch-companions.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify]
dispatch-component-registry.jsComponent registry pipeline (PR drift check + post-merge regen + component validators).P3, P5, P6maintenancenode operations/scripts/dispatch/content/maintenance/dispatch-component-registry.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify]
dispatch-config-flags.jsgo-livepeer config flags fetcher.P3, P5, P6maintenancenode operations/scripts/dispatch/content/maintenance/dispatch-config-flags.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify]
dispatch-content-quality.jsMode-driven orchestrator over docs-quality-and-freshness-audit.js. PR mode runs audit on staged with advisory comment. Scheduled mode runs full audit, applies deterministic fixes via repair-content-quality (Phase 3.X), escalates residual via rolling-issue.P3, P5, P6healthnode operations/scripts/dispatch/content/health/dispatch-content-quality.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--files &lt;paths&gt;&#124;--staged&#124;--full]
dispatch-contract-addresses.jsContract addresses fetch from on-chain.P3, P5, P6maintenancenode operations/scripts/dispatch/content/maintenance/dispatch-contract-addresses.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify]
dispatch-contract-shadow.jsShadow contract pipeline (verify production matches shadow).P3, P5, P6maintenancenode operations/scripts/dispatch/content/maintenance/dispatch-contract-shadow.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify]
dispatch-copy-check.jsPR meta for copy concern.P3copynode operations/scripts/dispatch/content/copy/dispatch-copy-check.js [--dry-run&#124;--write] [--verify]
dispatch-copy-repair.jsManual repair meta for copy concern.manualcopynode operations/scripts/dispatch/content/copy/dispatch-copy-repair.js [--dry-run&#124;--write] [--verify]
dispatch-copy-update.jsScheduled meta for copy integrators.P5copynode operations/scripts/dispatch/content/copy/dispatch-copy-update.js [--dry-run&#124;--write] [--verify]
dispatch-discoverability-check.jsPR meta for discoverability concern.P3discoverabilitynode operations/scripts/dispatch/content/discoverability/dispatch-discoverability-check.js [--dry-run&#124;--write] [--verify]
dispatch-discoverability-generate.jsPost-merge meta for discoverability generators.manualdiscoverabilitynode operations/scripts/dispatch/content/discoverability/dispatch-discoverability-generate.js [--dry-run&#124;--write] [--verify]
dispatch-discoverability-repair.jsManual repair meta for discoverability concern.manualdiscoverabilitynode operations/scripts/dispatch/content/discoverability/dispatch-discoverability-repair.js [--dry-run&#124;--write] [--verify]
dispatch-docs-index.jsdocs-index.json pipeline (PR drift check + post-merge regen).P3, P5, P6maintenancenode operations/scripts/dispatch/content/maintenance/dispatch-docs-index.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify]
dispatch-em-dashes.jsDetects em-dashes in v2 MDX and replaces with sentence-appropriate punctuation. PR: detect + advisory. Scheduled: scan + repair + verify + rolling-issue. Manual: repair-only with —verify.P3, P5, P6brandnode operations/scripts/dispatch/content/brand/dispatch-em-dashes.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify] [--files &lt;paths&gt;&#124;--staged&#124;--full]
dispatch-exchanges-data.jsCoinGecko exchanges data fetcher.P3, P5, P6maintenancenode operations/scripts/dispatch/content/maintenance/dispatch-exchanges-data.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify]
dispatch-folder-allowlist.jsPipeline orchestrator. Mode-driven entry point: —mode pr (detect + advisory comment), —mode scheduled (audit + repair + verify + rolling issue), —mode manual (repair-only with —verify). Wraps the three atomic scripts (check / audit / repair) into one composable lifecycle. Independently runnable locally via node dispatch-folder-allowlist.js --dry-run.P2, P3, P5, P6governancenode operations/scripts/dispatch/governance/dispatch-folder-allowlist.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify] [--folder &lt;path&gt;]
dispatch-governance-check.jsPR meta for governance concern.P3governancenode operations/scripts/dispatch/governance/dispatch-governance-check.js [--dry-run&#124;--write] [--verify]
dispatch-governance-generate.jsSelf-doc generate meta.manualgovernancenode operations/scripts/dispatch/governance/dispatch-governance-generate.js [--dry-run&#124;--write] [--verify]
dispatch-governance-map.jsGovernance markers validity + drift repair pipeline.P3, P5, P6governancenode operations/scripts/dispatch/governance/dispatch-governance-map.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify]
dispatch-governance-scan.jsScheduled meta for governance scans.P5, P6governancenode operations/scripts/dispatch/governance/dispatch-governance-scan.js [--dry-run&#124;--write] [--verify]
dispatch-governance-sync.jsPost-merge meta for governance state repair.manualgovernancenode operations/scripts/dispatch/governance/dispatch-governance-sync.js [--dry-run&#124;--write] [--verify]
dispatch-grammar-en-gb.jsDetects UK English grammar issues (subject-verb agreement, article use, comma placement) and applies safe deterministic fixes via the EN-GB homogeniser. PR: detect + advisory. Scheduled: scan + repair + verify. Manual: repair-only.P3, P5, P6brandnode operations/scripts/dispatch/content/brand/dispatch-grammar-en-gb.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify] [--files &lt;paths&gt;&#124;--staged&#124;--full]
dispatch-health-check.jsRuns every health pipeline dispatcher with —mode pr in sequence. Aggregates exit codes. Used by dispatch-health.yml on pull_request events.P3healthnode operations/scripts/dispatch/content/health/dispatch-health-check.js [--dry-run&#124;--write] [--files &lt;paths&gt;&#124;--staged&#124;--full]
dispatch-health-repair.jsRuns repair-only mode across health pipelines that support remediation. Opens PR with verified fixes.manualhealthnode operations/scripts/dispatch/content/health/dispatch-health-repair.js [--dry-run&#124;--write] [--files &lt;paths&gt;&#124;--staged&#124;--full]
dispatch-health-scan.jsRuns every health pipeline with —mode scheduled. Full audit + repair (if —write) + verify + rolling issue routing.P5, P6healthnode operations/scripts/dispatch/content/health/dispatch-health-scan.js [--dry-run&#124;--write] [--verify]
dispatch-jsdoc-headers.js11-tag JSDoc enforcement pipeline.P3, P5, P6governancenode operations/scripts/dispatch/governance/dispatch-jsdoc-headers.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify]
dispatch-large-assets.jsLarge asset sync to docs-v2-assets branch.P3, P5, P6maintenancenode operations/scripts/dispatch/content/maintenance/dispatch-large-assets.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify]
dispatch-llms-files.jsllms.txt + llms-full.txt pipeline.P3, P5, P6discoverabilitynode operations/scripts/dispatch/content/discoverability/dispatch-llms-files.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify]
dispatch-maintenance-check.jsPR meta for maintenance concern.P3maintenancenode operations/scripts/dispatch/content/maintenance/dispatch-maintenance-check.js [--dry-run&#124;--write] [--verify]
dispatch-maintenance-generate.jsPost-merge meta for maintenance generators.manualmaintenancenode operations/scripts/dispatch/content/maintenance/dispatch-maintenance-generate.js [--dry-run&#124;--write] [--verify]
dispatch-maintenance-update.jsScheduled meta for maintenance integrators.P5maintenancenode operations/scripts/dispatch/content/maintenance/dispatch-maintenance-update.js [--dry-run&#124;--write] [--verify]
dispatch-new-file-governance.jsNew file metadata enforcement pipeline.P3, P5, P6governancenode operations/scripts/dispatch/governance/dispatch-new-file-governance.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify]
dispatch-og-images.jsOG image pipeline (Puppeteer generate + verify per page).P3, P5, P6discoverabilitynode operations/scripts/dispatch/content/discoverability/dispatch-og-images.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify]
dispatch-openapi-reference.jsWraps the existing OpenAPI audit + reference regen flow. PR mode: drift check only. Scheduled: full audit + open PR if drift. Manual: regenerate reference docs from canonical spec.P3, P5, P6healthnode operations/scripts/dispatch/content/health/dispatch-openapi-reference.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify]
dispatch-ownerless-language.jsDetects owner-dependent phrasing in v2 MDX; repairs via repair-ownerless-language with —verify.P3, P5, P6copynode operations/scripts/dispatch/content/copy/dispatch-ownerless-language.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify]
dispatch-page-integrity.jsMode-driven orchestrator wrapping the existing page-integrity-dispatch.js chain. —mode pr runs audits on staged + previews repairs. —mode scheduled runs full audit + repair —verify + rolling issue for residual. —mode manual runs repairs only. Replaces direct workflow calls to page-integrity-dispatch.js with the canonical pipeline contract.P3, P5, P6healthnode operations/scripts/dispatch/content/health/dispatch-page-integrity.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify] [--files &lt;paths&gt;&#124;--staged&#124;--full]
dispatch-page-rendering.jsMode-driven orchestrator over test-v2-pages.js and check-broken-links.js. Render errors typically need human review, so the cycle is: detect (Puppeteer + link check) → repair (broken-link replacements where deterministic) → escalate via rolling-issue.P3, P5healthnode operations/scripts/dispatch/content/health/dispatch-page-rendering.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify] [--files &lt;paths&gt;&#124;--staged&#124;--full]
dispatch-page-structure.jsMode-driven orchestrator over the 8 structure validators and their paired remediators. PR mode runs validators in —staged and posts advisory. Scheduled mode runs validators repo-wide, applies safe repairs, escalates residual via rolling-issue. Manual mode runs only remediators with —verify.P3, P5, P6healthnode operations/scripts/dispatch/content/health/dispatch-page-structure.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify] [--files &lt;paths&gt;&#124;--staged&#124;--full]
dispatch-pipelines.jsWeekly governance repair orchestrator wrapper.P3, P5, P6governancenode operations/scripts/dispatch/governance/dispatch-pipelines.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify]
dispatch-proper-nouns.jsDetects lowercase/wrong-case proper nouns and corrects. PR: detect + advisory. Scheduled: scan + repair + verify. Manual: repair-only.P3, P5, P6brandnode operations/scripts/dispatch/content/brand/dispatch-proper-nouns.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify]
dispatch-release-version.jsgo-livepeer release version fetcher.P3, P5, P6maintenancenode operations/scripts/dispatch/content/maintenance/dispatch-release-version.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify]
dispatch-root-governance.jsRoot governance artifact regen + sync check.P3, P5, P6governancenode operations/scripts/dispatch/governance/dispatch-root-governance.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify]
dispatch-script-inventory.jsScript registry inventory pipeline.P3, P5, P6governancenode operations/scripts/dispatch/governance/dispatch-script-inventory.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify]
dispatch-script-locations.jsScript folder placement enforcement.P3, P5, P6governancenode operations/scripts/dispatch/governance/dispatch-script-locations.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify]
dispatch-script-registry.jsScript registry self-doc pipeline.P3, P5, P6governancenode operations/scripts/dispatch/governance/dispatch-script-registry.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify]
dispatch-sdk-clients.jsSDK client generation (Speakeasy wrapper).P3, P5, P6maintenancenode operations/scripts/dispatch/content/maintenance/dispatch-sdk-clients.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify]
dispatch-seo-metadata.jsSEO metadata repair pipeline (frontmatter completeness, descriptions).P3, P5, P6discoverabilitynode operations/scripts/dispatch/content/discoverability/dispatch-seo-metadata.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify]
dispatch-showcase.jsPipeline for project showcase data sync.P3, P5, P6copynode operations/scripts/dispatch/content/copy/dispatch-showcase.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify]
dispatch-social-feeds.jsPipeline for scheduled social feed integration (Discord, Forum, Ghost, GitHub, RSS, YouTube). Matrix per-source under one dispatcher.P3, P5, P6copynode operations/scripts/dispatch/content/copy/dispatch-social-feeds.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify]
dispatch-spelling.jsDetects US spellings and corrects to UK forms. PR: detect + advisory. Scheduled: scan + repair + verify. Manual: repair-only with —verify.P3, P5, P6brandnode operations/scripts/dispatch/content/brand/dispatch-spelling.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify]
dispatch-style-tokens.jsDetects style tokens not from the brand system. Scheduled: audit + repair (Phase 3.X wire). Manual: repair-only.P5, P6brandnode operations/scripts/dispatch/content/brand/dispatch-style-tokens.js [--mode scheduled&#124;manual]
dispatch-voice-register.jsDetects voice violations (hedging, conditionals, weakened value, per-audience prohibited phrases) and applies safe deterministic fixes. PR: detect + advisory. Scheduled: scan + repair + verify. Manual: repair-only with —verify.P3, P5, P6brandnode operations/scripts/dispatch/content/brand/dispatch-voice-register.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify] [--files &lt;paths&gt;&#124;--staged&#124;--full]
dispatch-wcag.jsMode-driven pipeline orchestrator. —mode pr runs check-wcag (validator) and posts advisory. —mode scheduled runs audit-wcag (engine full scan) + repair-wcag (—write —verify) + rolling issue for residual. —mode manual runs repair-wcag with —verify against staged or specified files. Independently runnable locally.P3, P5, P6healthnode operations/scripts/dispatch/content/health/dispatch-wcag.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify] [--files &lt;paths&gt;&#124;--staged&#124;--full]
dispatch-workflow-governance.jsWorkflow YAML governance header pipeline.P3, P5, P6governancenode operations/scripts/dispatch/governance/dispatch-workflow-governance.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify]
dispatch-workspace-retention.jsWorkspace structure + retention audit.P3, P5, P6governancenode operations/scripts/dispatch/governance/dispatch-workspace-retention.js [--mode pr&#124;scheduled&#124;manual] [--dry-run&#124;--write] [--verify]
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&#124;--files &lt;path[,path...]&gt;&#124;--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&#124;--files &lt;paths&gt;&#124;--tab &lt;tab&gt;] [--strict] [--no-repair] [--issue-mode off&#124;plan] [--output-dir &lt;dir&gt;]
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 &lt;path&gt; --files &lt;a,b,c&gt; [--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-commit-v1Pre-commit hook orchestrator — runs structural checks, unit tests, codex validation, and docs-index freshness check before allowing commitP1pre-commit-v1bash .githooks/pre-commit [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.jsMirrors what dispatch-social-feeds.yml does in CI but with .env support, selective —mode (e.g. only forum+youtube), and —skip flag for offline-only fetchers. Iterates the configured fetchers under operations/scripts/integrators/copy/social-feeds/, runs each, captures success/failure summary. Local-use only — not in any GitHub Actions workflow.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&#124;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 &#124; --check [--staged]
task-finalise.jsEnd-of-session gate for the Codex AI agent. Validates that .codex/task-contract.yaml acceptance criteria are checked, runs validate-locks, runs any registered post-task validators, runs lock-release. If any step fails, blocks the session close so the agent must address it.manualgovernancenode 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]

💬 Interfaces

ScriptDescriptionPipelineConcernUsage
assign-reviewers.jsThree-phase reviewer assignment: (1) gate checks if PR is eligiblemanualgovernanceCalled by github-script in workflow — not invoked directly
close-linked-issues.jsParses PR body for closing keywords (fixes/closes/resolves #N),manualgovernanceCalled by github-script in workflow — not invoked directly
discord-issue-intake.jsValidates repository_dispatch payload from Discord bot (n8n workflow),manualgovernanceCalled by github-script in workflow — not invoked directly
issue-auto-label.jsDetects issue template type (docs_page_issue, bug_report, feature_request, etc.),manualgovernanceCalled by github-script in workflow — not invoked directly
issue-indexer.jsSearches all docs-v2 labelled issues, sorts by classification/priority,manualgovernanceCalled by github-script in workflow — not invoked directly
load-labels.jsReturns the labels object and managed_prefixes from the central config.manualgovernanceconst &#123; labels, managedPrefixes &#125; = require('./lib/load-labels.js');
notify-linked-issues.jsParses PR body for closing keywords and Task: #N patterns,manualgovernanceCalled by github-script in workflow — not invoked directly
rolling-issue.jsProvides ensureLabels(), upsert(), and close() for the rolling issuemanualgovernanceconst ri = require('./lib/rolling-issue.js'); await ri.upsert(&#123; github, context, label, title, body &#125;);
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.
validate-component-creation.jsWrite-time governance for component creation (layer-2 of D-GOV-08 chain). Reads each staged .jsx under snippets/components/, parses or infers the 7-tag JSDoc (script/type/concern/niche/purpose/description/usage), checks naming + folder convention, applies —fix where unambiguous, —verify re-runs the check after fix. Used by repair-component-metadata.js as the gating step.maintenance
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
mdx-sanitise.test.jsoperations/tests/unit/mdx-sanitise.test.jsmanualMissing @type in JSDoc header
folder-allowlist.jstools/lib/governance/folder-allowlist.jsmanualMissing @type in JSDoc header
pipeline-mode.jstools/lib/governance/pipeline-mode.jsmanualMissing @type in JSDoc header
pipeline-test-harness.jstools/lib/governance/pipeline-test-harness.jsmanualMissing @type in JSDoc header
repair-registry.pyworkspace/scripts/repair-registry.pymanualMissing @type in JSDoc header
Last modified on May 27, 2026