Skip to content

Commit 01544f0

Browse files
DeveloperAllyclaudegithub-actions[bot]
authored
merge: docs-v2-dev into docs-v2 (2026-04-07) (#867)
* chore: stage auto-modified skill templates Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * refactor(scripts): Wave 5 partial — document dual-mode, fix AI skill paths Wave 5 decisions: - Keep 5 dual-mode validators as-is, documented @pipeline with both modes - Updated stale lint-* paths in 4 AI skills files Deferred to after component branch merge (Task 13): - Split enforce-generated-file-banners.js (complex, touched by component branch) - Split validate-ai-tools-registry.js (ai-tools/ restructured on main) - Split audit-script-inventory.js (consolidate with add-framework-headers.js) - Resolve .vscode/components.code-snippets conflict (deeply embedded in generate-ui-templates.js) - Compose glossary + terminology-search pipeline Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * revert(components): restore original component code, keep structure + JSDoc Revert Pass 3 (style/className/...rest props) and Pass 4 (polish) changes that broke portal layouts, frame-mode pages, and border styling. Restored: original component code for all 43 JSX files from pre-restructure. Kept: - New folder structure (elements/, wrappers/, displays/, etc.) - PascalCase filenames - JSDoc @category→@type rename - Security: rel="noopener noreferrer", alt="" defaults - Cleanup: console.log removal Reverted: - Pass 3: style/className/...rest prop additions (broke Mintlify CSS) - Pass 4: color/dimension fixes (depended on Pass 3) - Pass 2 WCAG: role="separator", blockquote, aria-labels (restore later carefully) - Pass 1 partial: sanitiser, prefers-reduced-motion (restore later carefully) The extensibility props need to be added one component at a time with visual testing, not as a batch operation. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * update docs.json * Revert "revert(components): restore original component code, keep structure + JSDoc" This reverts commit 929eae37dfee883a90711f97d2e8aa57fd4ffd3e. * fix(tests): update stale spawn paths in docs-guide-sot.test.js 4 scripts moved to new taxonomy paths but the SOT freshness test still spawned them at the old flat locations: - generate-docs-guide-indexes.js → generators/governance/catalogs/ - generate-docs-guide-pages-index.js → generators/governance/catalogs/ - generate-docs-guide-components-index.js → generators/governance/catalogs/ - generate-ui-templates.js → generators/components/library/ Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix(scripts): Wave 5 — fix stale spawn paths in enforce-generated-file-banners Updated 5 stale script paths in CHECK_COMMANDS and WRITE_COMMANDS arrays: - generate-docs-guide-indexes.js → generators/governance/catalogs/ - generate-docs-guide-pages-index.js → generators/governance/catalogs/ - generate-docs-guide-components-index.js → generators/governance/catalogs/ - generate-component-docs.js → generators/components/documentation/ - generate-pages-index.js → generators/content/catalogs/ Wave 5 status: - Splits deferred: dual-mode scripts work correctly, splitting adds risk for minimal gain. Dual modes documented in @pipeline tags. - .vscode/components.code-snippets conflict: resolved (Python script already archived, generate-ui-templates.js is sole owner). - glossary + terminology-search: kept separate, compose as pipeline. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * refactor(scripts): Wave 5 splits — 3 dual-purpose scripts separated Split 1: enforce-generated-file-banners.js - Generator dispatch (CHECK_COMMANDS, WRITE_COMMANDS, runGeneratorSet) extracted to dispatch/governance/pipelines/sync-generated-files.js - Validator retains banner checking + i18n parity only Split 2: validate-ai-tools-registry.js - --write-report extracted to generators/governance/reports/generate-ai-tools-inventory.js - Validator retains registry validation only Split 3: audit-script-inventory.js - --fix mode wrapped by remediators/governance/scripts/repair-script-inventory.js - Audit script retains full logic (deeply coupled) but canonical fix entry point is now the remediator wrapper Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * teminology work * docs(scripts): add scripts-library.mdx with full script inventory 102 scripts catalogued by type with accordion groups: - Audits (16), Generators (15), Validators (27), Remediators (14), Dispatch (10), Automations (13) - Plus git hooks (5) and dev tools (9) Each entry includes name, description, and usage. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * update mintignore, add temrinology * docs(scripts): add script-framework.md — canonical spec for writing scripts 1,357-line comprehensive specification covering: - 3-tier taxonomy (type/concern/niche) with decision tree - 11-tag JSDoc header standard with all allowed values - Script structure standard (file layout, REPO_ROOT, config-at-top) - Best practices (composability, idempotency, --dry-run, --staged) - Governance rules (pre-commit gates, naming, x-archive, branch discipline) - Pipeline integration patterns - Complete templates for all 6 script types + shell - Appendices: governance tiers, quick-reference card Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * component tooling * clean up components * feat(tools): add lpd-mdx-preview VS Code extension MDX previewer with Cmd+Shift+V keybinding that renders Livepeer custom components, Mintlify built-ins, and Mermaid diagrams in a side panel. Follows the same extension conventions as authoring-tools, components, and markdown-list. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix(docs): update component notes to remove deprecated ThemeData references Remove references to deprecated ThemeData/themeStyles.jsx from FrameMode and Portals example files, and add script governance framework draft. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * restructure * handy preview tool * perf(scripts): task 9 — incremental scan, remove execSync, add --files flag - component-governance-utils: add getChangedMdxFilesSince(ref) and files option on scanMDXImports for incremental MDX scans - scan-component-imports: add --since <commit> incremental mode; narrows MDX scan to changed files while keeping full component inventory - audit-component-usage: remove execSync/child_process; use getComponentFiles, extractExports, scanMDXImports from shared utils; fix REPORT_PATH to use REPO_ROOT instead of brittle __dirname traversal - lint-structure: add --files path1,path2,... flag; priority order is LINT_FILE_LIST > --files > --changed-files > positional arg Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * revert(scope): remove lint-structure change — out of scope for component branch lint-structure.js is a content validator, not component governance tooling. The --files flag addition belongs on docs-v2-dev directly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * updates * fix(scripts): sync classification data, indexes, and test paths after restructure - Fix 136 stale paths in script-classifications.json (111 remapped to new taxonomy locations, 8 remapped to x-archive, 17 deleted entries) - Add 21 missing classification rows for new and split scripts - Regenerate scripts-catalog.mdx, pages-catalog.mdx, and all group script-index.md files - Fix stale spawn path in export-portable-skills.test.js - Fix stale component path in authoring-tools.test.js (quote.jsx moved) - Fix stale generate-ai-skills-indexes.js path in ai-tools-registry.json - Fix 4 stale artifact paths in ai-tools-registry.json (files moved to _workspace/ in latest docs-v2-dev merge) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(governance): task 8 — resolve all --strict JSDoc violations Add missing @param className/style to all 22 component exports that destructure those props without JSDoc entries. Fix EmbedMarkdown JSDoc detection (archived comment was breaking block parse). Add @subniche to MermaidColours. Fix OPTIONAL_GOVERNANCE_FIELDS not being mapped onto parsed JSDoc object (causing false @dataSource warnings on all integrators). 0 violations on generate-component-registry.js --strict. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(scripts): Task 12 — enforce best practices across scripts - Replace __dirname traversal with process.cwd()/git rev-parse REPO_ROOT in 6 scripts: audit-component-usage, terminology-search, generate-glossary, generate-seo, test-v2-pages, lint-copy - Extract magic string 'tools/scripts' to SCRIPTS_ROOT constant in script-footprint-and-usage-audit.js - Extract buried path constant RETENTION_POLICY_PATH to config block in quarantine-manager.js - Extract hardcoded audit-script-inventory.js path to AUDIT_SCRIPT constant in repair-script-inventory.js - Extract V2_ROOT constant in generate-seo.js; replace all /v2/ magic strings with template literals - Add Task 13 (script docs consolidation analysis) to plan.md Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * docs(scripts): add script-docs.md — documentation consolidation analysis Analysis of all current script documentation surfaces, problems identified (schema drift, duplication, no single source of truth), and proposed architecture for Task 13 execution. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * tooling * docs(scripts): update script-docs.md — full documentation audit & consolidation recommendations 54 surfaces audited across 6 categories. Proposes script-registry.json as single source of truth, script-governance.mdx on nav, and JSON→MDX aggregation pattern for both scripts and components. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * docs(scripts): add doc-recommendation.md — architecture decision report TL;DR: one JSON registry per domain → everything generated from it, plus one spec page on the nav. Includes decisions needed, execution order, and blockers (27 mistyped @type values, missing component registry). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * docs(scripts): add doc-recommendation.md + updated script-docs.md Architecture decision report and full 54-surface audit for script documentation consolidation. One JSON registry, one spec on nav. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(tests): update script paths to post-reorganisation locations docs-guide-sot.test.js and run-all.js still referenced old flat script paths under tools/scripts/. Update all to match Task 9 reorganisation: generate-docs-guide-*.js → generators/governance/catalogs/ generate-ui-templates.js → generators/components/library/ audit-component-usage.js → audits/components/documentation/ generate-component-docs.js → generators/components/documentation/ Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * governance * ai-tools * docs(tooling): add lpd-mdx-preview reference doc to docs-guide Moves the extension reference page to docs-guide/tooling/ and registers it in the Tooling navigation group in docs.json. Adds a Future Features section documenting Mermaid lazy-loading, component promotion, syntax highlighting, scroll sync, and hot-reload improvements. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * plan + docs: strikethroughs, doc-recommendation updates, task-13 subplan, @type fix - plan.md: strike through completed tasks 1, 11, 11a-f, 12, 12c, 13.1-13.4 - doc-recommendation.md: add MDX-in-MDX opportunity, spec accuracy section, locale mirrors (3 mirrors confirmed: cn/es/fr), Q4+Q5 decisions, correct @type count from 27→1 remaining (fixed), update execution order - task-13-subplan.md: full execution sub-plan for T13 with steps, risks, file list, and Q1-Q5 approval table - update-jsdoc-headers.js: add proper 11-tag JSDoc header with @type remediator Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * content * feat(tools): lazy-load mermaid and hot-reload on jsx save Mermaid.js (2.45 MB) is now only injected when the page contains at least one mermaid segment. Pages without diagrams skip the bundle. Component hot-reload: saving any .jsx file in the workspace now triggers a re-render of all open preview panels. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * plan: add tasks 13b, 13c, 13d; workspace rename sub-plan - Task 13b: auto-generated file governance — extend banner enforcement to non-MDX files (.md indexes, .json registries) + AI-explicit callout - Task 13c: tasks/ → workspace/ rename before Task 14; sub-plan created at task-13c-workspace-rename-subplan.md with full audit, risk register, step-by-step execution - Task 13d: lpd-cli audit + governance + docs recommendations - Execution summary table updated with 13, 13b, 13c, 13d Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * consolidation * docs: active plans index + autogenerated file governance recommendation - tasks/plan/active/index.md: comprehensive index of all 9 active governance plans + content frameworks + published policies + frameworks, with per-section summaries and file tables - autogenerated-file-governance.md: Task 13b full implementation recommendation — HTML comments for .md, _generated key for .json, AI-AGENT line in MDX hidden banner, extend generated-artifacts.json + enforce-generated-file-banners.js Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * chore: commit component-docs.md analysis + refresh usage-map - Add component-docs.md: Task 10 pre-flight architecture audit covering all 12 documentation surfaces, taxonomy divergence, 14 vs 7 field schema problem, and recommended SOT architecture - Refresh component-usage-map.json from latest scan post-Task-8 fixes Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * framework update * fix: resolve 4 pre-existing test errors - tests/unit/docs-path-sync.test.js: update REMEDIATOR_PATH and VALIDATOR_PATH — both were missing niche subfolder after restructure (repair/ and structure/ respectively). Fixes 2 Docs Path Sync errors. - v2/community/resources/dashboards.mdx: remove duplicate H1 that exactly matched frontmatter title - v2/community/resources/guides.mdx: remove duplicate H1 that exactly matched frontmatter title. Fixes 2 Authoring Tools duplicate-title errors. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat(task-10): component docs taxonomy update + archive deprecated docs/ T10 — Documentation & single source of truth: - Update component-governance.mdx: 7-field schema, new taxonomy (elements/wrappers/displays/scaffolding/integrators/config), corrected script paths - Fix generate-component-registry.js: read @type (not @category) for category counts; align schema to 7-field model - Fix generate-component-docs.js: remove references to removed fields (contentAffinity, tier, owner, dependencies, usedIn, etc.), update template/prompt to new schema - Regenerate component-registry.json (42 components, correct category counts) - Regenerate published component-library pages for all 4 locales (32 new, 32 removed) - Regenerate docs-guide catalogs (components, pages, ui-templates) - Fix snippets/components/README.md: @type field name and new script paths - Fix docs-guide/source-of-truth-guide.mdx: remove TODO banner, update script paths - Fix test fixtures: component-governance-generators, component-governance-utils, docs-guide-sot - Fix README.md: overview.mdx → source-of-truth-guide.mdx (renamed in prior restructure) Docs archive: - Stage-carries pre-existing: docs/ → _dep-docs/ (deprecated v1 docs archived) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat(ai-discoverability): sub-plan for client-side component AI discoverability - Create tasks/plan/active/AI-DISCOVERABILITY/plan.md: full audit + architecture - Tier 1 (external fetch: CoinGeckoExchanges, MarkdownEmbed) - Tier 2 (props-driven interactive: SearchTable, ShowcaseCards, CardCarousel) - Tier 3 (pure UI state: no companion needed) - 7 tasks CDA-1 through CDA-7 with execution order and handoff flags - Architecture: snapshot JSON, props-extracted JSON, @aiDiscoverability JSDoc field - Add cross-plan flag to CONTENT-WRITING/plan.md: SearchTable/ShowcaseCards pages require companion .json (write-time obligation until CDA-5 automated) - Add sub-plan pointer in COMPONENT-GOVERNANCE/plan.md (CDA-1 should complete before T21) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix: update stale scripts README link in automations-workflows.mdx tools/scripts/snippets/ was moved to automations/content/data/fetching/ during restructure. Update link to tools/scripts/README.md (rewritten T10). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * decisions: record Q1-Q5 approvals in doc-recommendation.md Q1: policies/ (+ flag references/ section consideration for REPO-STRUCTURE-GOV) Q2: JSDoc headers authoritative Q3: component-registry.json fix in Task 13 step 2 Q4: MDX snippets deferred until after core migration Q5: locale mirrors EN-first, follow-up task Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * cleanup v2 folders * feat(ai-discoverability): add @aiDiscoverability infrastructure (CDA-1, CDA-2, CDA-5 stubs) - Add `@aiDiscoverability` row to component-governance.mdx Section 5.2 (now 7+1 fields) - Update component checklist and step 3 to reference conditional tag - Add `snippets/data/snapshots/` stub folder — Tier 1 companion file home - Add `tools/scripts/generators/ai/` stub folder + README describing CDA-5 script - Add `data/snapshots/` + Tier 2 adjacent note to structure.md folder tree - Fix DataEmbed.jsx missing @aiDiscoverability tag (snapshot) from prior edit - Mark sub-plan-execution.md items as EXECUTED, confirm Mintlify JSON serving Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * chore: regenerate UI templates catalog (freshness check) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat(ai-governance): Phase 9 agent adapter surface completion + registry repair Registry (79 → 0 errors): - Fix 11 stale artifact paths: retired files → _retired/, template 32→39 / 33→40 renumbering, llms.txt.information.md → registry/llms-txt-notes.md - Remove 1 entry for .cursor/rules/no-deletions.mdc (moved outside ai-tools/) - Add 51 new entries: templates 37-42 + .references/, agent-pack exports for docs-research-packet-generation, docs-research-to-implementation-plan, docs-review-fix-execution, docs-review-packet-generation; local skill files, agents, codex manifests; _workspace files; registry/README.md; ai-tools/README.md Phase 9.5 — Mintlify chat assistant context: - Create .mintlify/Assistant.md (canonical Mintlify chat widget context) - Update root ASSISTANT.md to redirect stub; fix stale tools/ai-rules/** path - Add .gitignore un-ignore for .mintlify/Assistant.md (.mintlify/* + negation) - Add .mintlify to .allowlist Phase 9.6 — ai-tools.mdx adapter surface map: - Replace flat runtime targets list with full Agent Adapter Surface Map table covering all 9 surfaces (baseline through Codex task layer) + generated packs table Phase 9.7 — agent-governance-framework.mdx Augment + Phase 9 updates: - Approved Canonical Layout: add Augment Code, Mintlify Assistant, Codex task layer - Current Active Rule Inventory: add all new adapter files + lifecycle status - Retired Legacy Surfaces: update from stale retired to accurate Phase 9 dispositions - Overlap clusters: document resolved vs remaining - Approved Migration Map: update all 5 entries to reflect actual Phase 9 outcomes - Prior report decision set: add .augment/rules/, .mintlify/Assistant.md, .github/AGENTS.md .mintignore nav warning fix: - Un-ignore ai-tools/claude-code.mdx, cursor.mdx, windsurf.mdx (were blocked by /ai-tools/**) .allowlist additions: - Add .augment (Phase 9.3), .cursorrules (Cursor legacy), ASSISTANT.md (root file) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> allowlist-edit: true * feat(ai-governance): tasks 9.8, 10.1, 10.2, 11.1 + agent-pack regeneration Task 9.8 — AGENT-INSTRUCTIONS.md thin-down: - Remove 150 lines of hook internals duplicated in GIT-HOOKS.md (How Hooks Work, What Gets Checked, Common Violations, Testing, Troubleshooting, For Forks sections removed) - Keep: canonical pointers, port-3000 rule, Codex task isolation standard, tracked-file-move workflow, bypass policies - Fix stale related-doc link (../../PLAN/AGENT-PREREQUISITES.md removed) Task 10.1 — freshness validator new adapter surfaces: - Add 6 new REQUIRED_BASE_ENTRIES to check-agent-docs-freshness.js: CURSOR-NO-DELETIONS-ADAPTER, AUGMENT-ADAPTER, AUGMENT-GIT-SAFETY-ADAPTER, AUGMENT-NO-DELETIONS-ADAPTER, MINTLIFY-ASSISTANT, CODEX-TASK-LAYER - Validator now checks 14 surfaces (was 8); all 16 pass (includes 2 skill docs) - Update @scope comment to include .augment, .cursorrules, .mintlify Task 10.2 — inventory regeneration: - Note: generate-ai-tools-inventory.js has pre-existing validateFullRegistry bug; inventory will remain stale until that generator is fixed separately Task 11.1 — .mintlify/Assistant.md IA routing map: - Split Internal Hub row into 3 for clarity: v2/internal/**, docs-guide/**, and the 3 ai-tools setup guide pages now in nav - Add rule 3 to page-placement guidance: governance/contributor pages → docs-guide/** Agent-pack regeneration: - Regenerate ai-tools/agent-packs/codex/skills-manifest.json via cross-agent-packager (codex manifest had stale template count from pre-Phase-7 state) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * docs(plan): sync component governance plan with actual repo state Mark Tasks 2–15, 17, 18 as completed based on git history and repo audit. T19 partial (folder stub only). T16, T20, T21 remain. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat(solutions-social-data): Phase 1 — socials research & product config Web-searched and verified all social channels, docs sites, GitHub repos, blog APIs, and hero video candidates for all 5 solutions products (Daydream, Embody, Frameworks, Livepeer Studio, Streamplace). Deliverables: - socials-research.md: comprehensive audit with verified/unverified links - product-social-config.json: central registry for fetch scripts - plan.md: updated with Phase 1 checked off Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * snippets templates * docs(t19): composables research + re-add documentation sub-task to plan - composables-research.md: 12-source research brief; 14 composable candidates ranked by template frequency; purpose→component mapping; platform constraint (MDX-only); unimplemented governance ideas relevant to composables - plan.md T19: add 5 sub-tasks; re-add missing documentation task (19.4); note @contentAffinity and component-layout-decisions.mdx as now unblocked Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat(workspace): rename tasks/ → workspace/ (Task 13c) Renames the top-level tasks/ directory to workspace/ across the entire repo. Updates all path references in scripts (30 files), tests (19), tools/config and tools/lib (6), GitHub Actions workflows (3), and the Codex task contract. Historical snapshot files (.codex/locks-local/) and auto-generated docs-index.json are not updated as expected. Test suite: exit code 0, no new failures introduced. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * docs(governance): update plans + AI-tools inventory + docs-guide restructure - Add recommended execution order to COMPONENT-GOVERNANCE plan (T16–T21) - Update CONTENT-WRITING plan and framework with latest status - Update REPO-STRUCTURE-GOV plan - Mark AI-TOOLS-GOVERNANCE as complete (move plan files to workspace/plan/complete/) - Refresh ai-tools-inventory.md - docs.json: update nav for moved/renamed docs-guide pages - docs-guide: archive catalog pages, move ai-tools.mdx to tooling/ - Remove stale codex lock files - Minor .allowlist, .mintignore, AGENTS.md adjustments Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> allow-deletions: true allowlist-edit: true * chore(governance): plan2 phase 1-2 execution + docs-guide restructure cleanup - Fix generate-ai-tools-inventory.js: rename validateFullRegistry import to validateRegistry; regenerate inventory (222 entries) - Fix AGENTS.md: update check-agent-docs-freshness.js path to include compliance/ subdirectory - Add _dep-docs to .allowlist; fix /tasks → /workspace in .mintignore (tasks/ rename complete) - Archive AI-TOOLS-GOVERNANCE plan files to workspace/plan/complete/ (phases 1–9 done) - Delete 3 stale .codex/locks-local/ files (completed tasks, lock paths no longer exist) - Delete 6 empty docs-guide/ source-of-truth.md stubs (catalog, contributing, features, frameworks, policies × 2) - Delete docs-guide/frameworks/component-framework.mdx redirect stub - Move docs-guide/catalog/{scripts-catalog-archive, visual-explainer-workflows-archive} → _workspace/archive/ - Move docs-guide/catalog/ai-tools.mdx → docs-guide/tooling/ai-tools.mdx - Move docs-guide/tooling/source-of-truth.md → docs-guide/_workspace/drafts/tooling-overview-draft.md - Update docs.json nav: reflect ai-tools.mdx new path + docs-guide restructure nav changes - Update REPO-STRUCTURE-GOV plan.md: mark Phase 0 tasks complete, update V-WS checklists - Add 30-day TTL note to _dep-docs-todo-notes.md (delete by 2026-04-21) - Update workspace/plan/active/CONTENT-WRITING + COMPONENT-GOVERNANCE plan progress Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat(composables): build Tier 1+2 composable section library (T19.2–3) Add 8 reusable MDX section composables to snippets/composables/: Tier 1 — high frequency, all page types: - related-resources-section.mdx (12+ template occurrences; mandatory footer) - steps-section.mdx (instruction/tutorial/start/build pages) - prerequisites-section.mdx (pairs with steps-section) - accordion-faq-section.mdx (reference/compendium pages; Q&A pattern) - accordion-glossary-section.mdx (alphabetical per-term definitions) - accordion-troubleshooting-section.mdx (symptom/cause/fix/verify per issue) Tier 2 — purpose-aligned, content framework: - overview-intro-section.mdx (opening block; 5-option media slot in comments) - validation-section.mdx (post-task confirmation; pairs with steps-section) Each composable includes: - @composable governance header (purpose, pageTypes, variables, notes) - Required structure uncommented; optional variants shown in {/* */} blocks - Authoring guidance inline so the file is self-documenting at point of use Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(governance): repair stale paths + mint warnings + complete tasks/ rename - .mintignore: remove /ai-tools bare alias blocking ai-tools/*.mdx un-ignores - snippets/templates/docs-guide/: remove broken Callouts.jsx import (Mintlify built-in needs no import) - tests/unit/codex-skill-sync.test.js: fix stale SYNC_SCRIPT path → automations/ai/agents/ - tasks/plan/active/: git mv AI-DISCOVERABILITY + SOLUTIONS-SOCIAL-DATA to workspace/ (completes tasks/ → workspace/ rename) - workspace/plan/active/AI-TOOLS-GOVERNANCE/: add client-side-component-audit.md - v2/gateways/: move concepts-restructure/personas/plan to _workspace/ - docs-guide/policies/: add docs-guide-structure-policy.mdx + workspace-lifecycle-policy.mdx - .github/workflows/: add generate-docs-guide-catalogs.yml + check-docs-guide-catalogs.yml CI pipelines - workspace/plan/active/REPO-STRUCTURE-GOV/: add handoff-generator-pipeline.md; update plan checklist (2A-I through 2A-III) - docs.json: add v2/solutions/resources/compendium/glossary to nav - v2/_workspace/references/content-pipeline/: add 08a-ia-per-tab.md; add knowledge-hub variant to 01-page-type-definitions.md - generator script headers: update @pipeline annotations to reference CI workflows Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * chore(catalog): add new CI workflows to workflows-catalog.mdx Auto-generated update: adds check-docs-guide-catalogs.yml and generate-docs-guide-catalogs.yml entries; renames tasks/ → workspace/ retention enforcement row. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * chore(generated): regenerate pages indexes after new pages added Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * chore(generated): regenerate UI template artifacts to fix drift Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat(task-13): script documentation consolidation - Regenerates docs-guide/component-registry.json (unblocks docs-guide-sot test crash) - Adds tools/config/script-registry.json — 265 entries derived from JSDoc headers (replaces workspace/reports/script-classifications.json, archived to x-archive/) - Adds generate-script-registry.js generator (type/concern/niche from headers + path fallback) - Updates script-governance-config.js: CLASSIFICATION_DATA_PATH → new registry, adds VALID_TYPES - Creates docs-guide/policies/script-governance.mdx (promoted from script-framework.md, added to nav) - Archives stale docs: structure.md, catalog.md, scripts-library.mdx → x-archive/ - Updates tools/scripts/README.md: stale links → spec + catalog pages Test suite: exit code 0, no new failures. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * docs(composables): T19.4 documentation — README, governance section, structure update - snippets/composables/README.md: new — what composables are, how to use, naming rules, promotion lifecycle, governance header format, current composable inventory - component-governance.mdx Section 12: three-layer architecture table, composable library table with all 8 entries, platform constraint note (D4), @contentAffinity spec (status: not enforced; unblocked; add to --strict in CONTENT-STRUCTURE Phase 5.1) - component-governance.mdx Section 1.3: update library boundary table to link composables to the new Section 12 - structure.md: replace (TBD) composables stub with full folder tree of all 8 composables Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * docs(plan): mark T19 complete in component governance plan Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * repo cleanup * feat(solutions-social-data): Phase 1 — socials research, config & streamplace fix - socials-research.md: verified social channels for all 5 products - product-social-config.json: central registry for fetch scripts - plan.md: Phase 1 complete, trending-topics related pages task added to Phase 3 - fix: streamplace/overview.mdx GitHub link (overview repo → streamplace repo) - Livepeer Studio hero video: placeholder with fallback to blog image/gif Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * feat(solutions-social-data): Phase 2 pipeline extensions + Phase 3 template draft New fetch scripts (all config-driven via product-social-config.json): - fetch-discord-announcements.js: Discord API, per-product announcements - fetch-github-discussions.js: GraphQL API, per-product discussions - fetch-github-releases.js: REST API, per-product changelog/releases - fetch-rss-blog-data.js: generic RSS parser (Ghost RSS, Leaflet, etc.) Modified: - fetch-youtube-data.js: multi-channel support via PRODUCT_KEY env var New GH Actions workflows: - update-discord-data.yml (daily 01:00 UTC) - update-github-data.yml (daily 02:00 UTC) - update-rss-blog-data.yml (daily 03:00 UTC) Template draft: - snippets/templates/pages/data-imports/social-data-page.mdx Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * feat(ai-discoverability): wire companion pipeline and add visible companion links CI: - Add check-ai-companions.yml (PR gate: --check on all branches) - Add generate-ai-companions.yml (auto-commit on push to main) - Update generate-glossary-companions.js @pipeline annotation to reflect CI ownership Tier-2 (glossary pages): - Add visible <Note> links to companion JSON on all 10 glossary MDX pages - Update pre-commit comment to CI check comment - Regenerate stale livepeer-glossary-data.json Tier-1 (CoinGecko snapshots): - Add snippets/data/snapshots/coingecko-livepeer.json (manual stub, 7 exchanges) - Add snippets/data/snapshots/coingecko-arbitrum.json (manual stub, 9 exchanges) - Add visible <Note> links to snapshot files on livepeer-exchanges.mdx and arbitrum-exchanges.mdx Manifest: - Add docs-guide/catalog/ai-companion-manifest.json (12 current, 2 pending) TwitterTimeline / trending.mdx: - Add @aiDiscoverability none + note to TwitterTimeline in DataEmbed.jsx - Add page-level @aiDiscoverability assessment comment to trending.mdx Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat(registry): CDA-1 — capture @aiDiscoverability in component registry - Add `aiDiscoverability` to OPTIONAL_GOVERNANCE_FIELDS in component-governance-utils.js - Fix isLegacyDuplicateComponentPath macOS case-sensitivity bug (fs.existsSync → readdirSync) - Registry generator: separate validation warnings from hard errors — warnings no longer block registry write; --strict flag still exits non-zero on warnings - Add missing @deprecated + @see tags to BasicBtn, LivepeerIconOld, LivepeerIconFlipped - Regenerate component-registry.json: 121 components (was 42), 10 with aiDiscoverability Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat(ai-tools): CDA-2 + CDA-4 — companion schema + showcase + glossary files CDA-2: Write docs-guide/catalog/ai-companion-schema.json - JSON Schema 2020-12 for both companion types: snapshot and props-extracted - snapshot: _meta block + exchanges array (CoinGeckoExchanges) - props-extracted: glossaryCompanion (terms[]) + showcaseCardsCompanion (items[]) - Updated manifest schema pointer from stub reference to actual file CDA-4: Commit companion files - v2/home/solutions/showcase-data.json: ShowcaseCards companion (all locale pages share it) - Manifest: promote ShowcaseCards from pendingCompanions → companions (status: current) - 9 glossary-data.json files: commit pre-generated output from generate-glossary-companions.js Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(ai-tools): update tasks/ → workspace/ path refs across all AI rules and skills Rename /tasks → /workspace affected 48 AI tool files. Updates: - agent-packs: claude/CLAUDE.md, cursor/rules.md, windsurf/rules.md, codex/skills-manifest.json - agent-packs/skills: 12 SKILL.md files + 2 reference docs - ai-skills: 10 SKILL.md files, skill-catalog.json, source-content augment-instructions, templates (14 files) - registry: ai-tools-registry.json - .cursor/rules/no-deletions.mdc, .github/AGENTS.md, .github/augment-instructions.md All workspace/reports/repo-ops/, workspace/research/claims, workspace/plan/ paths now correct. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * chore(catalogs): regenerate stale docs-guide catalogs after CDA work components-catalog, scripts-catalog, workflows-catalog, ui-templates snippets/UI template artifacts, and script-registry all drift after the CDA-1/2/4 commits. Regenerated with existing generator scripts. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * docs(repoOps): add solutions platform integration secrets reference Documents the full secrets/env-var handover for the solutions social data pipeline: YouTube, Ghost, Discord, GitHub, RSS fetch scripts with their workflows, schedules, and setup checklist. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * clean up v2 folders * feat(repoOps): add .env.example secrets reference under docs-guide Moved from repo root to docs-guide/repoOps/config/ (no allowlist change needed). Grouped into clear blocks: Solutions Social Data Automations, Docs Infrastructure, Project Showcase Pipeline, Local-Only Tooling. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * feat(solutions-social-data): Phase 3 — product community pages + nav wiring New community pages for all 5 products: - daydream/community.mdx: YouTube, GitHub README, X, Discord, Blog - embody/community.mdx: YouTube, GitHub README, Forum threads - frameworks/community.mdx: YouTube, GitHub README, X, Discord, Forum - livepeer-studio/community.mdx: full data feeds (YT, blog, forum, Discord) - streamplace/community.mdx: GitHub, Bluesky, Discord, Blog, Forum, Apps Also: - trending-topics.mdx: added Product Communities CardGroup (cols={2}) - docs.json: wired community pages into each product nav group Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * feat(ops): move tools/scripts/ and tests/ to operations/ Restructures the two main executable roots into operations/: tools/scripts/ → operations/scripts/ tests/ → operations/tests/ Updates all path references across 8+ surfaces: - tools/package.json (~50 npm scripts) - operations/tests/package.json (~30 npm scripts) - .github/workflows/*.yml (20+ files) - .githooks/pre-commit + verify.sh - tools/config/*.json (ownerless-governance, generated-artifacts, report-retention) - tools/lib/*.js (path.join calls, relative requires) - AGENTS.md + .codex/task-contract.yaml - .allowlist (tests → operations) - ai-tools/registry/ai-tools-registry.json + ai-skills/inventory.json - docs-guide/component-registry.json + component-usage-map.json - tools/config/script-registry.json (regenerated, 265 entries) - tools/lib/script-governance-config.js (DISCOVERY/GOVERNED/INDEXED_ROOTS) Fixes Node module resolution: adds operations/node_modules → ../tools/node_modules symlink. Regenerates stale catalogs: pages-index, docs-guide indexes, component-docs. Test suite: 673 errors (−12 vs 685 baseline), 10111 warnings. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> allow-deletions: true allowlist-edit: true * cleanup * refactor(workspace): reorganize COMPONENT-GOVERNANCE folder - structure.md → component-framework-canonical.md - audit-report.md, component-docs.md → Audits/ - jsdoc-reference.md → Frameworks/ - doc-recommendation.md, script-thread-sync-note.md → Tasks/ - composables-research.md → Research/ - Update all internal links in plan.md, index.md, Research file Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * docs(audit): component governance pipeline & documentation audit Full audit of all governance pipelines, documentation surfaces, redundancies, manual vs automated, AI vs human responsibilities, and prioritised recommendations (P1/P2/P3). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * docs(subplan): governance pipeline improvement subplan Full phased execution plan covering P1/P2/P3 audit items: - Phase 1: aiDiscoverability batch-fill, CATALOG.md archive, CI path fix - Phase 2: CI wiring (registry, docs pages, CDA-6 checker, taxonomy publish) - Phase 3: @param warnings, layout decisions re-verify, catalog.md header Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(audit): artefacts are outputs not inputs — fix pipeline diagrams Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * update lpd * chore(ai-rules): archive three inaccurate legacy rule files UNIVERSAL-AI-PROTOCOL.md was already in _retired. Moves AI-ACCOUNTABILITY-CHECKLIST.md and removes duplicate root AI_GUIDELINES.md (_retired copy is the archive). All three described fictional infrastructure that does not exist: - .ai-operations.log (never existed) - checkpoint/YYYY-MM-DD_HHMMSS auto-commit system (never existed) - .ai-commit-verified token file (never existed) Core policy is in AGENTS.md. HUMAN-OVERRIDE-POLICY.md and rules/git-safety.md stay. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> allow-deletions: true * docs(ai-rules): rewrite rules by concern — add best-practices, refine AGENTS.md and ROLLBACK-GUIDE AGENTS.md — 4 targeted additions: - Safety/Git: check git status before staging, don't mix concerns in one commit, fix pre-commit root causes, conventional commit convention - Structure: docs.json requires user confirmation before commit, workspace/ usage rules, read-before-edit requirement - Validation: change-type → validator mapping table replaces flat list - Response contract: scope discipline, surface decisions, checkpoint on long tasks ROLLBACK-GUIDE.md — stripped fictional checkpoint system (5-min auto-commits, checkpoint/ branches never existed). Added "Diagnose Before You Fix" as the opening principle. All git recovery commands retained and accurate. best-practices.md — new file covering the craft of working well: scope discipline, when to ask vs proceed, handling ambiguity, communicating findings and errors, checkpointing, workspace/ usage, read-before-edit, working with the user. No existing file covered any of this. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(ops): pipeline audit — fix stale paths, module errors, and regenerate stale catalogs Resolves all path breakages introduced by the tools/scripts → operations/scripts and tests/ → operations/tests/ restructure (Task 11/14). Fixes: - 84 scripts: batch-update stale @scope tags and usage strings from tools/scripts/ → operations/scripts/ - operations/tests/run-all.js: fix REPO_ROOT (2 ups, not 3), correct spawnSync paths, fix staged-file comparisons - operations/tests/run-pr-checks.js: fix 20 stale tests/unit/ and tests/integration/ paths + require() depth - operations/tests/unit/docs-path-sync.test.js: fix REMEDIATOR_PATH and VALIDATOR_PATH (tools/scripts → scripts) - tools/lib/docs-usefulness/scoring.js: fix require path to operations/tests/utils/mdx-parser - tools/lib/ai-tools-registry.js: fix repo prefix validation list (tests/ → operations/) - operations/tests/unit/component-governance-generators.test.js: fix REPO_ROOT depth (2 → 3 ups) - operations/scripts/audits/governance/scripts/script-footprint-and-usage-audit.js: fix SCRIPTS_ROOT and walkFiles paths - operations/scripts/audits/governance/repo/audit-tasks-folders.js: fix runtime recommendation strings - operations/scripts/remediators/content/repair/quarantine-manager.js: fix tests/ → operations/tests/ path - operations/scripts/remediators/content/repair/migrate-assets-to-branch.js: fix cwd path - operations/scripts/remediators/content/style/wcag-repair-common.js: fix require path for wcag audit - operations/scripts/automations/governance/pipelines/publish-v2-internal-reports.js: fix require depth (4→5 ups) - operations/scripts/validators/content/structure/check-description-quality.js: fix forEach parameter name collision - v2/resources/documentation-guide/automations-workflows.mdx: fix broken link tools/scripts/README.md → operations/scripts/README.md Catalog/index regeneration: - docs-guide/catalog/scripts-catalog.mdx, pages-catalog.mdx, components-catalog.mdx, workflows-catalog.mdx, templates-catalog.mdx, ui-templates.mdx - .vscode/templates.code-snippets (UI template snapshots) - v2/*/index.mdx (generated banner run command strings updated) - v2/cn/ + v2/fr/ component library docs (regenerated via generate-component-docs --fix --template-only) - operations/scripts/script-index.md + operations/tests/script-index.md (regenerated) Pre-existing errors unchanged: Style Guide (559), MDX-safe markdown (98), Nav (4), Allowlist (3), Usefulness (2). Total errors: 666 (down from 673 at Task 14 baseline). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat(components): batch-fill @aiDiscoverability + fix @param className/style (P1-A + P3-A) - Added @aiDiscoverability none to all 111 components that had empty field (37 files) - Added missing @param {string} [className=''] to 63 components - Added missing @param {object} [style={}] to 53 components - Registry regenerated: 0 errors, 0 warnings, 121 components all with explicit aiDiscoverability Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * chore(components): archive manual CATALOG.md — generated catalog is authoritative (P1-B) - Moved snippets/components/CATALOG.md to snippets/components/x-archive/CATALOG.md - Added browsable catalog pointer to README (docs-guide/catalog/components-catalog.mdx) - Zero references to CATALOG.md remain outside the archive Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(ci): add component registry workflow + fix stale tools/scripts/ paths (P1-C) - Added .github/workflows/generate-component-registry.yml: auto-regenerates component-registry.json on push to main when snippets/components/**/*.jsx changes - Added registry --validate-only check step to check-docs-guide-catalogs.yml so registry is validated on every PR - Fixed stale tools/scripts/ paths → operations/scripts/ in 4 workflows: check-docs-guide-catalogs.yml, generate-docs-guide-catalogs.yml, check-ai-companions.yml, generate-ai-companions.yml - Added missing npm install step to check-ai-companions.yml and generate-ai-companions.yml Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat(ci): wire component docs pages into CI/CD (P2-A) - check-docs-guide-catalogs.yml: added generate-component-docs.js --check step so PR CI fails if component docs pages are stale vs registry - generate-docs-guide-catalogs.yml: added generate-component-docs.js --write step so component docs pages are auto-regenerated on main push Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat(ci): wire deterministic validators as blocking CI gates (P2-B) - Added check-naming-conventions.js (PascalCase + folder taxonomy) to test-suite.yml without continue-on-error — violations now block PRs - Added check-mdx-component-scope.js (no cross-.jsx imports, Decision D4) to test-suite.yml without continue-on-error — violations now block PRs - Both validators are deterministic with zero false-positive risk Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat(ci): build CDA-6 companion manifest checker + wire to CI (P2-C) - New operations/scripts/validators/governance/ai/check-companion-manifest.js: validates ai-companion-manifest.json is consistent with registry aiDiscoverability fields. Fails if a component tagged snapshot/props-extracted has no manifest entry, or if any companionPath doesn't exist on disk. - pendingCompanions[] entries count as acknowledged (no false positives for deferred). - Added MarkdownEmbed to pendingCompanions (deferred — usage audit required). - Wired --check step into check-ai-companions.yml CI workflow. - Checker passes on current state (4 registry components, 13 manifest entries). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat(docs-guide): publish component framework canonical taxonomy (P2-D) - Added docs-guide/frameworks/component-framework-canonical.mdx: published version of the canonical taxonomy with proper MDX frontmatter - Includes: full folder tree, decision rules, component counts, JSDoc tag reference, @status/@accepts/@aiDiscoverability value tables, example headers - Excludes: plan-phase "Alignment with script governance" comparison table - Added to docs.json navigation under docs-guide/frameworks/ - Updated workspace source file header to reference the published path Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(docs-guide): add missing page types to layout decisions matrix (P3-B) - Added guide (208 active pages), quickstart (20), resource (5) to matrix - All 3 were in active use in v2/ but had no layout contract - Fixed stale tools/scripts/ path in validation command → operations/scripts/ - Updated lastVerified to 2026-03-21 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(workspace): correct stale path direction in pipeline audit and subplan (P3-C) - pipeline-audit.md: replaced all tools/scripts/ paths with operations/scripts/ (operations/ is the correct active path; tools/ has no scripts/ subdirectory) - governance-pipeline-subplan.md: corrected Pre-work and P1-C sections that had the path direction backwards. Added correction notes and documented the actual fix applied (tools/scripts/ → operations/scripts/ in 4 CI workflows) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * docs(workspace): add pipeline governance completion report Full record of all P1/P2/P3 items, design lock-ins, CI gate state, registry metrics, and deferred items. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * chore(ai-tools): AI governance open items — Phases 1–4 Phase 1 — path accuracy fixes: - AGENTS.md validator table: replace tools/scripts/ with operations/scripts/, replace non-existent validate-frontmatter.js with lint-structure.js - ai-tools/README.md: fix registry script path (tools/ → operations/) - Archive ai-tools/ai-rules/rules/imported/copilot-instructions.md → _retired/ Phase 2 — AI discoverability: - llms.txt: remove 7 duplicate URL entries (stale gateway/changelog entries from old docs.json state; placeholder Resource HUB livepeer-glossary groups) Phase 3 — ai-tools docs cleanup: - contribute/CONTRIBUTING/AGENT-INSTRUCTIONS.md: reduce to pointer to AGENTS.md (Codex paths were stale, content duplicated in AGENTS.md + .github/AGENTS.md) Phase 4 — ai-skills structural integrity: - skill-spec-contract.md: add content-pipeline to category taxonomy (6 values) - skill-docs.test.js: add content-pipeline to VALID_CATEGORIES enum - Regenerate all agent-pack exports via cross-agent-packager - workspace/plan/active/AI-TOOLS-GOVERNANCE/plan.md: write active plan Verification: skill-docs.test.js passes (62 targets, 0 errors); template/agent-pack parity confirmed (42 each); 0 duplicate URLs in llms.txt. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * docs(workspace): update completion report — add dependencies, recommendations, artefact refs Added three missing sections per completion-reports.md template: - Dependencies on other frameworks (AI Discoverability, Content Framework, composables, script governance, PR allowlist) - Further recommendations R1-R9 (pre-commit hook, CDA-5, @contentAffinity, CI hardening, smoke tests, style overrides registry) - Artefacts reference table — all created/modified files with one-liners Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * finalising tasks * fix(task-5): patch stale check-/lint- paths missed in run-all/run-pr-checks run-all.js, run-pr-checks.js, tests/package.json, and the integration smoke test had hardcoded require() paths and string literals using old check-* filenames that sed missed (require paths with directory separators). Updated to validate-*, enforce-* per the Task 5 mass rename. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * docs(workspace): update ai-rules-guides from component governance thread learnings - Extended Co-Creation Baseline: dry-run clause for batch/hard-to-reverse ops - Extended Read Before Working: empirical verification of claims and fix directions (verify both sides before writing "X is wrong, should be Y") - New: Verify Pre-conditions Before Executing - New: Evaluate Plans Against Outcomes, Not Task Lists - New: One-Shot Tools Have a Cleanup Step Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat(docs-guide): move JSON registry files to docs-guide/config/ Moves 5 JSON files from docs-guide/ root and docs-guide/catalog/ to docs-guide/config/ and updates all 20+ consumers. Files moved: - docs-guide/component-registry.json → docs-guide/config/ - docs-guide/component-registry-schema.json → docs-guide/config/ - docs-guide/component-usage-map.json → docs-guide/config/ - docs-guide/catalog/ai-companion-manifest.json → docs-guide/config/ - docs-guide/catalog/ai-companion-schema.json → docs-guide/config/ Consumers updated: generate-component-registry.js, generate-ui-templates.js, generate-docs-guide-components-index.js, generate-component-docs.js, scan-component-imports.js, check-companion-manifest.js, generate-component-registry.yml, run-all.js, run-pr-checks.js, component-governance.mdx, ownerless-governance-surfaces.json, script-registry.json, dev-tools.mdx, ui-system.mdx, ui-template-generator.test.js, automations-workflows.mdx, all v2/component-library MDX pages, generators/ai/README.md, components-catalog.mdx. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(solutions-social-data): Phase 4 validation — fix pageVariant, mark plan complete - Fix: pageVariant landing → overview on all 5 community pages + template (landing is only valid for pageType: navigation, not resource) - All other checks passed: docs.json nav, component imports, external URLs - Plan marked complete (all 4 phases done) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * docs(solutions-social-data): align plan docs with as-built state - Fix all path references: tools/scripts/config → operations/scripts/config - Fix docs-guide/repoOps → docs-guide/repo-ops - Fix pageVariant example: landing → overview (matches Phase 4 fix) - Move socials-research.md → _workspace/research/ per folder structuring guide - Rewrite Section 7 as accurate artefact inventory (as-built tables) - Update .env.example and solutions-secrets.mdx cross-references - Update product-social-config.json source path Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix(pipeline): fix broken CONFIG_PATH, output paths, and workflow bugs Script restructuring (Task 11) moved tools/scripts/config/ → operations/scripts/config/ but the .github/scripts/ fetch scripts were not updated, causing hard crashes in 4/5 scripts (no try-catch around fs.readFileSync(CONFIG_PATH)). fetch scripts — fix CONFIG_PATH default: - fetch-discord-announcements.js: tools/ → operations/ (hard crash) - fetch-github-discussions.js: tools/ → operations/ (hard crash) - fetch-github-releases.js: tools/ → operations/ (hard crash) - fetch-rss-blog-data.js: tools/ → operations/ (hard crash) - fetch-youtube-data.js: tools/ → operations/ + fix product output path fetch-ghost-blog-data.js — add $ escaping to safeHTML(): - Template literal injection risk: ${...} in blog HTML content would evaluate as JS expression. Add .replace(/\$/g, "\\$"). update-livepeer-release.yml — fix stale path: - snippets/automationData/globals/globals.mdx (never existed) - → snippets/automations/globals/globals.mdx - Was silently failing every 30 minutes. update-discord-data.yml — fix git add glob: - automations/*/discordData.jsx only matches 1 level deep - → automations/**/discordData.jsx to include solutions/{product}/ Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * workspace plans * fix: stale tools/scripts paths after operations/ restructure (Task 14.9) - Fixed 9 script @scope headers still referencing tools/scripts/ — updated to their actual operations/scripts/<type>/<concern>/<niche> paths - Fixed .githooks/pre-push runtime calls to tools/scripts/validators/ — broken for all codex/* branch pushes; now points to operations/scripts/ - Fixed audit-python.py @usage header (stale tools/scripts/ path) - Regenerated tools/config/script-registry.json (277 entries) - Marked Task 14 complete in plan; added Task 14.9 for the header fixes Also includes pre-existing automation data updates: - snippets/automations/solutions/daydream/blogData.jsx — HTML entity cleanup - snippets/automations/solutions/daydream/youtubeData.jsx — character encoding fixes - snippets/automations/solutions/embody/discordData.jsx — added new announcement entry - snippets/automations/solutions/livepeer-studio/youtubeData.jsx — encoding fixes - v2/solutions/daydream/community.mdx — added DiscordAnnouncements, MarkdownEmbed, wide mode Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(ci): disable update-blog-data.yml legacy workflow (Task 15b.6) Removed cron schedule from update-blog-data.yml — it was running daily at midnight but never worked: uses YOUR_CONTENT_API_KEY placeholder and writes raw JSON (not JSX) which would break imports if it ever ran. Ghost blog data is handled by n8n Ghost-to-Mintlify (→ docs-v2-preview) and .github/scripts/fetch-ghost-blog-data.js (→ main). Forum data is handled by n8n Forum-To-Mintlify-Latest-Topics (→ docs-v2-preview). Updated plan with full n8n path verification findings. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * docs(plan): add Task 15c — snippets/automations/ restructure Flags the automations folder restructure (socials-data, showcase-data, product-data) as a new task with full dependency map, risks, and steps. Includes n8n coordination requirement and globals duplication resolution. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(ci): enable Ghost + Forum GHA workflows; add global Discord feed Ghost (update-ghost-blog-data.yml): - DOCS_V2 → GITHUB_TOKEN (stale PAT reference) - Added git diff check — only commits when data actually changed - Node 18 → 20 Forum (update-forum-data.yml): - ref: docs-v2 → ref: main (was pointing at old branch) - DOCS_V2 → GITHUB_TOKEN - Added git diff check - Node 18 → 20 Discord (fetch-discord-announcements.js + product-social-config.json): - Extracted writeJSX() helper — DRY, used by both product and global paths - Added globals.discord loop — reads config.globals.discord[] and writes each entry to its explicit outputPath with its explicit exportName - Added livepeer-community global channel entry to product-social-config.json (server 1066890817425387581, channel 1463391944746078319) → writes to snippets/automations/discord/discordAnnouncementsData.jsx - GHA now covers the global community Discord feed previously n8n-only Also: workspace/plan/active/AUTOMATIONS-RESTRUCTURE/plan.md — full subplan for snippets/automations/ restructure with dependency map, execution order, and risk table. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * style fix * fix(automations): standardise branch config across all workflows - Replace all hardcoded branch refs with vars.DEPLOY_BRANCH / vars.TEST_BRANCH - Add use_test_branch boolean input to all data workflow_dispatch blocks - Fix sync-large-assets.yml: use "**" push trigger + job-level if: condition (GHA limitation prevents vars.* in on: push: branches:) - Rewrite fetch-ghost-blog-data.js to use public RSS feed (blog.livepeer.org/rss/) — removes GHOST_CONTENT_API_KEY dependency entirely - Remove GHOST_CONTENT_API_KEY from update-ghost-blog-data.yml - Update product-social-config.json: livepeer-studio fetchMethod ghost-api → rss - Rename vars.DEPLOY_BRANCH_TEST → vars.TEST_BRANCH in all workflows Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * consolidate * fix style issues * orchs review * solutions updates * reviews, updates * solutions portal * update orchestrators * lpd update * feat(SocialLinks): add iconColor prop for single-colour override + linkedin Adds `iconColor` prop that overrides all icons to one colour when passed, falling back to per-brand colours when absent. Also adds linkedin to both the colour map and icon map. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(SocialLinks): resolve merge conflicts in SocialLinks + daydream overview Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * daydream * updating solutions * updating solutions * updating solutions * security * fix discord pipeline * update solutions * add changelog to solutions * finishing solutions * embody youtube * update automations * solutions * fix(docs-guide): Phase 0 quick fixes — frontmatter, stale path, AGENTS.md pointer - ai-tools.mdx: add missing opening and closing --- frontmatter delimiters - dev-tools.mdx: replace non-existent python3 generate-component-snippets.py with correct node generate-ui-templates.js --write path - AGENTS.md: add content framework pointer (Frameworks.mdx + voice-rules.md) to Required Context section — makes locked taxonomy enums visible to all agents Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * chore: stage prior session working files — governance updates, framework edits Commits unstaged changes from prior sessions to prevent data loss: - CLAUDE.md session log updates - .github/AGENTS.md codex layer additions - governance-index.mdx restructuring - thread skill test log - component/script framework edits - workspace plan index and session log Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * chore: track new files — blockchain contracts template, staleness handoff - snippets/templates/pages/resources/technical-reference/blockchain-contracts-template.mdx - workspace/thread-outputs/research/staleness-remediation-handoff.md Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix(governance): Phase 1 — correct all stale generator paths Phase 1A — generate-component-docs.js: - Fix banner script path and all runCommand references from operations/scripts/generate-component-docs.js to correct operations/scripts/generators/components/documentation/generate-component-docs.js (4 banner instances + 8 runCommand instances) Phase 1B — generated-artifacts.json: - Fix 6 stale generator paths after scripts reorganisation into subdirectories - Fix 3 sources entries with operations/operations/ double-directory typo - All 11 node generator paths now resolve (verified with fs.existsSync) Stale paths fixed: - generate-docs-guide-components-index.js → generators/governance/catalogs/ - generate-docs-guide-pages-index.js → generators/governance/catalogs/ - generate-docs-guide-indexes.js → generators/governance/catalogs/ - generate-pages-index.js → generators/content/catalogs/ - generate-component-docs.js → generators/components/documentation/ - tests/unit/script-docs.test.js → operations/tests/unit/ Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * docs(contributor): Phase 2A — add authoring guide for docs contributors New page: v2/resources/documentation-guide/authoring-guide.mdx Covers: frontmatter fields (all locked taxonomy enums), top 5 custom components by import frequency, page templates with VS Code snippet workflow, native Mintlify components, per-audience voice rules summary, and verification/testing commands. Not yet added to docs.json — requires separate approval. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * docs(audit): workflow branch targeting audit — 30/43 need fixes 10 workflows have dead main-only triggers that never fire. 15 use bare git push without explicit branch target. 8 have phantom use_test_branch logic (input never defined). 6 missing workflow_dispatch for manual triggering. 6 checkout wrong branch on schedule/dispatch. Report: workspace/thread-outputs/research/workflow-branch-audit.md Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * finalise Solutions Page * finalise Solutions Page * cleanup and fix glossary * glossary updates * glossary updates * glossary updates * updates * docs(claude): add documentation system + workflow branch streams to active work streams Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * docs(research): README rewrite research — 3 verification reports - readme-path-verification.md: 55/66 paths resolve, 11 stale (all traced) - readme-docs-guide-verification.md: all 24 canonical files exist, 3 broken external refs - readme-repo-research.md: verified repo structure, counts, commands, contribution flow Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * docs: rewrite README — 115 lines, 0 stale paths, contributor-friendly Complete rewrite from verified research (3 agent reports). - 243 lines → 115 lines - 11 stale file paths → 0 (all corrected to current locations) - Internal ops manual → contributor-friendly entry point - Added: branch structure (docs-v2/docs-v2-dev, not main) - Added: verified repo counts (764 pages, 47 components, 160 scripts) - Added: link to new authoring guide - Trimmed "Where Details Live" from 24 rows to top 10 with index link - All regeneration commands use correct post-reorganisation paths Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * style fixes * docs(ai): rewrite ai-features.mdx as product-forward human guide Replaces 43-line stub (mostly TODOs) with 180-line product guide covering: - AI assistants (Mintlify assistant, llms.txt, MCP server) - Agent adapters (6 native adapters + Codex branch contract) - AI skills (all 28 skills, categorised into 4 groups) - AI-powered pipelines (glossary companions, content health, translation) - Contributing AI tools (write skills, add rules, agent packs) Distinct from ai-tools.mdx which remains the governance/registry index. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * changelog updates glossary pipeline * docs(ai): update ai-tools.mdx governance index — verified paths, new sections Updated from agent research (all paths verified on disk): - Add…
1 parent 77fd582 commit 01544f0

124 files changed

Lines changed: 9165 additions & 11244 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.claude/CLAUDE.md‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,8 @@ Alison Haire (Wonderland). Documentation lead. Decision authority.
3939
| Snippets Audit | Full audit of `snippets/automations` and `snippets/data` with creator/consumer/risk report in `snippets/_workspace/reports/automations-data-audit-2026-04-05.md` | Done | 2026-04-05 |
4040
| Delegators | Canonical `v2/delegators` IA rebuild: live route migration, glossary move, reference pages, nav/redirect propagation, generated surface sync | Done | 2026-04-06 |
4141
| Gateways Verify | Consolidated verify page (`v2/gateways/setup/verify/test.mdx`) — health checks, end-to-end tests, on-chain verification for video/AI/dual across Docker/Linux/Windows. Research collated, 3 OS child views built. Scoped distinct from monitor (Prometheus/Grafana) | Done | 2026-04-07 |
42-
| Gateways Monitoring | Holistic `monitor.mdx` at `v2/gateways/setup/` with Docker/Linux/Windows tabs, Prometheus, Grafana, Explorer embed, alerts | Done | 2026-04-07 |
43-
| Gateways Prepare | Consolidated `prepare.mdx` at `v2/gateways/setup/` replacing Setup Checklist group. Off-chain/On-chain tabs, hardware/network/OS reqs, RPC/wallet/keystore setup | Done | 2026-04-07 |
44-
| Gateways Connect | Holistic `connect.mdx` at `v2/gateways/setup/` with Docker/Linux/Windows tabs. Off-chain/on-chain synced nested tabs, discovery verification, service publication, selection tuning. Research collated, 3 OS view files + parent page + nav registration | Done | 2026-04-07 |
45-
| Content Structure Templates | 3-layer page layout framework: classification guide, 13 composable blocks, 7 pageType templates, agent prompt. 24 files in `snippets/templates/`. Research + design + build + iterate complete. Next: test on real pages, fill golden examples for 6 missing types | Done | 2026-04-07 |
42+
| Gateways Monitoring | Holistic `monitor.mdx` for `v2/gateways/setup/monitor/` with Docker/Linux/Windows tabs, Prometheus, Grafana, Explorer, alerts. Research + OS view files + parent page created | Active - page built, awaiting review | 2026-04-07 |
43+
| Gateways Connect | Holistic `connect.mdx` at `v2/gateways/setup/` with Docker/Linux/Windows tabs. Off-chain/on-chain connection, discovery verification, service publication, selection tuning. Research collated, 3 OS view files + parent page + nav registration | Active - page built, testing | 2026-04-07 |
4644

4745
**Rule:** When you finish a task or change status, update your row in this table before closing. If the master-tasks.md file has a matching item, update that too.
4846

@@ -55,7 +53,7 @@ Alison Haire (Wonderland). Documentation lead. Decision authority.
5553
- **Reproduce before fixing.** For bugs: (1) reproduce the exact failure, (2) capture the error, (3) hypothesise from evidence, (4) test one fix at a time. Use `/diagnose` for anything beyond a trivial one-line fix.
5654
- **Verify first instance before bulk operations.** Apply to one file, confirm it works, then proceed to the rest.
5755
- **Read Mintlify constraints before editing MDX.** Reference: `docs-guide/canonical/collation-data/Mintlify/mintlify-repo-best-practices.md`. No React/hook imports, no Mintlify global imports, use root-absolute imports for shared resources, include file extensions, keep MDX-facing JSX data flow in parent MDX, define risky constants inside export bodies, use arrow function syntax only, and follow the repo's scoped preview and styling rules.
58-
- **Verify renders before declaring done.** After editing any `v2/*.mdx` file, confirm the PostToolUse render-verify hook reported PASSED. If it reported `server-failed`, restart the server with `node operations/scripts/dispatch/governance/server-lifecycle.js restart` before continuing. Before declaring a page complete, run the smoke test: `node operations/tests/integration/mdx-component-runtime-smoke.js --routes /v2/path/to/page`. Never use `node .githooks/server-manager.js` directly (library, not CLI). Never declare a page "done" without a PASSED verification or successful smoke test.
56+
- **Verify renders before declaring done.** After editing any `v2/*.mdx` file, confirm the PostToolUse render-verify hook reported PASSED. If it reported `server-failed`, restart the server with a scoped restart: `node operations/scripts/dispatch/governance/server-lifecycle.js restart v2/TAB` (e.g. `restart v2/home`). Scoped restarts take <2 min. Never cold-start the full 795-page docs.json (10+ min). Before declaring a page complete, run the smoke test: `node operations/tests/integration/mdx-component-runtime-smoke.js --routes /v2/path/to/page`. Never use `node .githooks/server-manager.js` directly (library, not CLI). Never declare a page "done" without a PASSED verification or successful smoke test.
5957

6058
---
6159

@@ -165,7 +163,7 @@ These are inline. No skill files. Just do what it says.
165163
| `/remind` | Re-read `.claude/CLAUDE.md` right now. Re-read the thread outcome. State your role, the rules you're following, and what you're working on. Then propose the next action with reasoning. |
166164
| `/log` | Append a timestamped entry to `workspace/thread-outputs/sessions/session-log.txt` with: thread name, what just shipped, files changed. One entry, no ceremony. Then continue working. |
167165
| `/flag [thread] [message]` | Append a flag to `workspace/thread-outputs/sessions/flags.jsonl` for another thread to pick up. One JSON line. Then continue working. |
168-
| `/server` | Check server health: `node operations/scripts/dispatch/governance/server-lifecycle.js health`. If down, restart: `server-lifecycle.js restart`. Read log on failure: `tail -50 /tmp/mint-dev-test-*.log`. Report status. |
166+
| `/server` | Check health: `node server-lifecycle.js health`. If down, scoped restart: `node server-lifecycle.js restart v2/TAB` (e.g. `restart v2/home`). Read log on failure: `tail -50 /tmp/mint-dev-test-*.log`. Full path: `operations/scripts/dispatch/governance/server-lifecycle.js`. |
169167

170168
**If the user says a message was lost/eaten:** Immediately read the last 5 entries from `workspace/thread-outputs/sessions/message-backup.jsonl` and present them. Don't ask questions — just show the content.
171169

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Memory Index
2+
3+
## CRITICAL
4+
- [Failure 1: Worktree only - no direct writes](feedback_critical_failure_worktree.md) - NEVER write to docs-v2-dev. Worktree only. NEVER destructive git. NEVER spawn agents without approval. Findings before fixes always. Highest priority rule.
5+
- [Failure 2: Repeated git checkout same session](feedback_critical_failure_2_same_session.md) - Ran git checkout HEAD -- on branch AGAIN 30 minutes after writing the rule. Overwrote files with old snapshots then destroyed more work. Advisory rules do not work.
6+
7+
## Feedback (consolidated)
8+
- [Process discipline](feedback_process_discipline.md) - Contextual detail for each step of the CLAUDE.md reasoning loop: what to read, when to document, how to ground actions
9+
- [Speed and mechanics](feedback_speed_and_mechanics.md) - 5-second responses, agent delegation, direct file writes, focus protection, no redundant questions
10+
- [Communication style](feedback_communication_style.md) - No apologies, no em dashes, short headings, short and correct output, frustration is diagnostic
11+
- [Safety and scope](feedback_safety_and_scope.md) - Branch safety, task scope limits, destructive action evidence, root cause through generators, mint dev
12+
- [Content terminology](feedback_content_terminology.md) - On-chain/off-chain is operational mode; three independent axes (operational mode, setup type, node type)
13+
- [IA ownership](feedback_ia_ownership.md) - Alison designed the IA; AI runs are secondary sources. Only pull the best from AI output.
14+
- [Working style](feedback_working_style.md) - Carry the load, high standards, no drift. Alison course-corrects, not drives. Execute, don't discuss.
15+
- [Agent quality](feedback_agent_quality.md) - Every agent must self-test, reason from first principles, bring coordination/context/validation. No unchecked claims.
16+
- [No branch switching](feedback_no_branch_switching.md) - Never create new branches or switch away from current working branch. All work on docs-v2-dev.
17+
- [Agent workflow pattern](feedback_agent_workflow.md) - Coordinator model: record tasks, background agents do work + verify, never block chat. Auto-log to record-log.md.
18+
- [Parallel execution](feedback_parallel_execution.md) - Never queue independent tasks. If approach is agreed, run all in parallel immediately.
19+
- [Quality standard](feedback_quality_standard.md) - Verify before reporting done. Task list/record-log/standard are separate things. Mermaid types need different themes. Check preset defaults.
20+
21+
## Project
22+
- [Style guide outdated](project_style_guide_outdated.md) - Style guide validator has 637 errors; needs its own governance thread (flagged 2026-03-20)
23+
- [Mintlify dev audit](project_mint_dev_audit.md) - Multi-session audit complete: 0 parsing errors, most warnings cleared. Three known-accepted warnings remain
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
name: confirm_before_execute
3+
description: Always confirm task scope and get explicit go-ahead before executing any implementation work
4+
type: feedback
5+
---
6+
7+
**Rule: Confirm tasks before executing. Never implement without explicit approval.**
8+
9+
When the user describes a problem, asks "what needs to be done", or says "we want to do X" — treat this as a request for a report or plan, NOT a go-ahead to execute.
10+
11+
**Why:** User said "i didn't ask you to implement anything. i just wanted a fucking report" after I executed a large batch of v2 folder renames and policy changes without being asked. Direct quote: "fucking listen and confirm tasks FIRST".
12+
13+
**How to apply:**
14+
- When a user describes a problem or names a task area → produce a report/analysis of current state and what would need to happen
15+
- Only execute when the user gives an explicit instruction: "do it", "implement this", "go ahead", "execute", etc.
16+
- If unsure whether they want a report or execution, ask: "Do you want me to do this, or just summarize what needs doing?"
17+
- "We want to do X" = they are describing intent, NOT giving a go-ahead
18+
- "Let's do X" without further context = ask before acting

‎.github/workflows/README-translate-docs.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The workflow also fails non-dry runs if the checked-in provider is accidentally
99

1010
1. Installs `tools` dependencies
1111
2. Runs i18n unit tests (`npm --prefix tools run test:i18n`)
12-
3. Runs `operations/scripts/automations/content/language-translation/translate-docs.js`
12+
3. Runs `operations/scripts/i18n/translate-docs.js`
1313
4. Updates `docs.json` (`generate-localized-docs-json.js`) when not dry-run
1414
5. Validates generated localized MDX (`validate-generated.js`) when not dry-run
1515
6. Validates docs navigation (`tests/unit/docs-navigation.test.js`) when not dry-run

‎.github/workflows/broken-links.yml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ jobs:
2121
v2
2222
snippets
2323
operations/scripts/snippets
24-
operations/scripts/automations/content/data/fetching
2524
sparse-checkout-cone-mode: false
2625
fetch-depth: 0
2726

‎.github/workflows/generate-ai-companions.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ jobs:
5656
run: |
5757
git config user.name "GitHub Actions Bot"
5858
git config user.email "actions@github.com"
59-
find v2 -type f -name '*-data.json' -exec git add -- {} +
59+
git add v2/**/*-data.json
6060
git commit -m "chore(ai-companions): regenerate glossary companion JSONs - $(date -u +"%Y-%m-%dT%H:%M:%SZ")"
6161
git push origin HEAD:${{ steps.branch.outputs.name }}

‎.github/workflows/generate-llms-files.yml‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,6 @@ jobs:
4343
run: |
4444
git config user.name "github-actions[bot]"
4545
git config user.email "github-actions[bot]@users.noreply.github.com"
46-
for file in llms.txt llms-full.txt; do
47-
if [ -e "$file" ] || git ls-files --error-unmatch "$file" >/dev/null 2>&1; then
48-
git add "$file"
49-
fi
50-
done
46+
git add llms.txt
5147
git diff --cached --quiet || git commit -m "chore: regenerate llms.txt [skip ci]"
5248
git push origin HEAD:${{ steps.branch.outputs.name }}

‎.github/workflows/update-livepeer-release.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ jobs:
3232
with:
3333
mode: livepeer-release
3434
use_test_branch: ${{ github.event_name == 'workflow_dispatch' && inputs.use_test_branch || false }}
35-
version: ${{ github.event_name == 'repository_dispatch' && github.event.client_payload.version || github.event_name == 'workflow_dispatch' && inputs.version || '' }}
35+
version: ${{ github.event_name == 'repository_dispatch' && github.event.client_payload.version || inputs.version || '' }}
3636
secrets: inherit

‎.github/workspace/actions-library/generators/discoverability/generate-llms-files.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ graph LR
6060
## Dependencies
6161

6262
**Scripts:**
63-
- `operations/scripts/generators/ai/llm/generate-llms-files.js`
63+
- `operations/scripts/generate-llms-files.js`
6464

6565
<CustomDivider />
6666

‎.github/workspace/actions-library/generators/maintenance/generate-action-docs.yml‎

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ name: Generate Action Documentation
1111
on:
1212
push:
1313
branches:
14-
- docs-v2
14+
- ${{ vars.DEPLOY_BRANCH }}
1515
paths:
1616
- ".github/workflows/**"
1717
- ".github/workspace/actions-library/actions-audit.json"
@@ -35,9 +35,6 @@ jobs:
3535
generate-docs:
3636
runs-on: ubuntu-latest
3737

38-
env:
39-
DRY_RUN: ${{ github.event_name == 'workflow_dispatch' && inputs.dry_run || false }}
40-
4138
steps:
4239
- name: Checkout repository
4340
uses: actions/checkout@v4
@@ -54,7 +51,7 @@ jobs:
5451
run: |
5552
set -euo pipefail
5653
FLAGS=""
57-
if [[ "$DRY_RUN" == "true" ]]; then FLAGS="--dry-run"; fi
54+
if [[ "${{ inputs.dry_run }}" == "true" ]]; then FLAGS="--dry-run"; fi
5855
node .github/workspace/generate-action-pages.js $FLAGS
5956
6057
- name: Check for changes
@@ -70,7 +67,7 @@ jobs:
7067
fi
7168
7269
- name: Commit and push
73-
if: steps.changes.outputs.changed == 'true' && env.DRY_RUN != 'true'
70+
if: steps.changes.outputs.changed == 'true' && inputs.dry_run != 'true'
7471
run: |
7572
git config user.name "github-actions[bot]"
7673
git config user.email "github-actions[bot]@users.noreply.github.com"
@@ -87,6 +84,6 @@ jobs:
8784
else
8885
echo "No changes detected. Pages are up to date." >> $GITHUB_STEP_SUMMARY
8986
fi
90-
if [[ "$DRY_RUN" == "true" ]]; then
87+
if [[ "${{ inputs.dry_run }}" == "true" ]]; then
9188
echo "*(dry-run mode, no files written)*" >> $GITHUB_STEP_SUMMARY
9289
fi

0 commit comments

Comments
 (0)