|
| 1 | +--- |
| 2 | +title: Research Skill Workflow |
| 3 | +sidebarTitle: Research Skill |
| 4 | +description: >- |
| 5 | + Canonical internal runbook for the experimental docs fact-check research |
| 6 | + workflow, including sources of truth, operator commands, and maintenance |
| 7 | + expectations. |
| 8 | +keywords: |
| 9 | + - livepeer |
| 10 | + - docs guide |
| 11 | + - research skill workflow |
| 12 | + - fact checking |
| 13 | + - docs operators |
| 14 | + - codex |
| 15 | +'og:image': /snippets/assets/site/og-image/fallback.png |
| 16 | +'og:image:alt': Livepeer Docs social preview image |
| 17 | +'og:image:type': image/png |
| 18 | +'og:image:width': 1200 |
| 19 | +'og:image:height': 630 |
| 20 | +audience: internal |
| 21 | +pageType: how_to |
| 22 | +purpose: how_to |
| 23 | +status: current |
| 24 | +lastVerified: 2026-03-16 |
| 25 | +--- |
| 26 | + |
| 27 | +# Research Skill Workflow |
| 28 | + |
| 29 | +This is the canonical operator runbook for the experimental page-content research workflow that landed in `docs-v2-dev`. |
| 30 | + |
| 31 | +Use this page for: |
| 32 | + |
| 33 | +- operational usage |
| 34 | +- source-of-truth boundaries |
| 35 | +- readiness status |
| 36 | +- maintenance and improvement workflow |
| 37 | + |
| 38 | +Do not use rollout reports or `tests/README.md` as the canonical narrative source. |
| 39 | + |
| 40 | +## What Is Canonical |
| 41 | + |
| 42 | +Canonical sources: |
| 43 | + |
| 44 | +- skill behavior: `ai-tools/ai-skills/templates/*.template.md` |
| 45 | +- fact storage: `tasks/research/claims/` |
| 46 | +- registry validation: `tools/scripts/docs-fact-registry.js` |
| 47 | +- manual fact runner: `tools/scripts/docs-page-research.js` |
| 48 | +- PR advisory runner: `tools/scripts/docs-page-research-pr-report.js` |
| 49 | +- local/manual PR prep integration: `tools/scripts/create-codex-pr.js --advisory-research` |
| 50 | +- forward plan: `tasks/plan/future/page-content-research-trust-roadmap.md` |
| 51 | + |
| 52 | +Generated or derived: |
| 53 | + |
| 54 | +- local installed Codex skills under `$CODEX_HOME/skills` |
| 55 | +- saved advisory reports and validation artifacts |
| 56 | + |
| 57 | +Historical only: |
| 58 | + |
| 59 | +- rollout evidence and exploratory pilots under `tasks/plan/repo-ops-reports/` |
| 60 | + |
| 61 | +Legacy: |
| 62 | + |
| 63 | +- route-centric claim-ledger advisory helpers are retained only as legacy comparison tooling and are not the active PR advisory path |
| 64 | + |
| 65 | +## Workflow Model |
| 66 | + |
| 67 | +The workflow is claim-led rather than route-led. |
| 68 | + |
| 69 | +It is responsible for: |
| 70 | + |
| 71 | +- extracting material factual claims |
| 72 | +- checking evidence sources |
| 73 | +- detecting contradictions across related pages |
| 74 | +- classifying claims by confidence and freshness risk |
| 75 | +- producing a propagation queue for dependent pages |
| 76 | + |
| 77 | +It is not responsible for: |
| 78 | + |
| 79 | +- MDX syntax validation |
| 80 | +- style-guide compliance |
| 81 | +- link and import integrity |
| 82 | +- generic navigation cleanup |
| 83 | + |
| 84 | +Route or ownership issues only belong here when they change factual ownership or contradiction resolution. |
| 85 | + |
| 86 | +## Readiness Status |
| 87 | + |
| 88 | +Current status: |
| 89 | + |
| 90 | +- **Codex-ready:** yes |
| 91 | +- **Cross-agent-ready:** portable with minor work |
| 92 | +- **Operating mode:** experimental and advisory-first |
| 93 | + |
| 94 | +Interpretation: |
| 95 | + |
| 96 | +- Codex skills can sync from the canonical template bundle immediately. |
| 97 | +- The public and internal docs now explain how to use the workflow. |
| 98 | +- Cross-agent portability exists structurally, but broader packaging and operator guidance still need hardening before claiming equal readiness across all agents. |
| 99 | + |
| 100 | +## Operator Commands |
| 101 | + |
| 102 | +Validate the registry: |
| 103 | + |
| 104 | +```bash icon="terminal" |
| 105 | +node tools/scripts/docs-fact-registry.js --validate --registry tasks/research/claims |
| 106 | +``` |
| 107 | + |
| 108 | +Run a single-page pass: |
| 109 | + |
| 110 | +```bash icon="terminal" |
| 111 | +node tools/scripts/docs-page-research.js \ |
| 112 | + --page v2/orchestrators/guides/deployment-details/setup-options.mdx \ |
| 113 | + --report-md /tmp/docs-page-research.md \ |
| 114 | + --report-json /tmp/docs-page-research.json |
| 115 | +``` |
| 116 | + |
| 117 | +Run a cluster review: |
| 118 | + |
| 119 | +```bash icon="terminal" |
| 120 | +node tools/scripts/docs-page-research.js \ |
| 121 | + --files v2/orchestrators/guides/deployment-details/setup-options.mdx,v2/orchestrators/setup/rcs-requirements.mdx,v2/orchestrators/guides/operator-considerations/business-case.mdx \ |
| 122 | + --report-md /tmp/docs-page-research-cluster.md \ |
| 123 | + --report-json /tmp/docs-page-research-cluster.json |
| 124 | +``` |
| 125 | + |
| 126 | +Run the PR advisory helper: |
| 127 | + |
| 128 | +```bash icon="terminal" |
| 129 | +node tools/scripts/docs-page-research-pr-report.js \ |
| 130 | + --files v2/orchestrators/guides/deployment-details/setup-options.mdx,v2/orchestrators/setup/rcs-requirements.mdx,v2/orchestrators/guides/operator-considerations/business-case.mdx \ |
| 131 | + --report-md /tmp/page-content-research-pr.md \ |
| 132 | + --report-json /tmp/page-content-research-pr.json |
| 133 | +``` |
| 134 | + |
| 135 | +Run PR prep with advisory research: |
| 136 | + |
| 137 | +```bash icon="terminal" |
| 138 | +node tools/scripts/create-codex-pr.js \ |
| 139 | + --advisory-research \ |
| 140 | + --changed-files v2/orchestrators/guides/deployment-details/setup-options.mdx,v2/orchestrators/setup/rcs-requirements.mdx,v2/orchestrators/guides/operator-considerations/business-case.mdx |
| 141 | +``` |
| 142 | + |
| 143 | +## Expected Outputs |
| 144 | + |
| 145 | +Every substantive run should surface some combination of: |
| 146 | + |
| 147 | +- verified claims |
| 148 | +- conflicted claims |
| 149 | +- time-sensitive claims |
| 150 | +- unresolved or historical-only claims |
| 151 | +- cross-page contradictions |
| 152 | +- propagation queue items |
| 153 | +- explicit evidence sources |
| 154 | + |
| 155 | +Operators should prefer conservative interpretation: |
| 156 | + |
| 157 | +- if evidence is weak, treat the claim as unresolved |
| 158 | +- if wording is stronger than the evidence, downgrade the wording |
| 159 | +- if the same claim appears elsewhere, queue propagation work instead of fixing one page in isolation |
| 160 | + |
| 161 | +## Source-of-Truth Boundaries |
| 162 | + |
| 163 | +Use this split consistently: |
| 164 | + |
| 165 | +- public contributor usage: `v2/resources/documentation-guide/` |
| 166 | +- internal operator workflow: this runbook in `docs-guide/frameworks/` |
| 167 | +- rollout/adoption record: `tasks/plan/repo-ops-reports/` |
| 168 | +- future hardening plan: `tasks/plan/future/` |
| 169 | +- executable behavior: scripts, templates, tests, and claim registries |
| 170 | + |
| 171 | +If these sources disagree: |
| 172 | + |
| 173 | +1. scripts and tests define runtime behavior |
| 174 | +2. template bundles define skill behavior |
| 175 | +3. this runbook defines operator workflow and readiness |
| 176 | +4. public documentation guide pages summarize contributor usage |
| 177 | + |
| 178 | +## Maintenance Workflow |
| 179 | + |
| 180 | +When improving the research skill: |
| 181 | + |
| 182 | +1. expand claim-family coverage in `tasks/research/claims/` |
| 183 | +2. improve evidence matching and classification logic in the runner |
| 184 | +3. validate on real orchestrator and gateway page clusters |
| 185 | +4. run PR advisory on tracked factual docs pages |
| 186 | +5. update this runbook when the operator contract changes |
| 187 | + |
| 188 | +Do not: |
| 189 | + |
| 190 | +- widen the workflow back into generic navigation QA |
| 191 | +- let `tests/README.md` become the primary narrative home again |
| 192 | +- treat exploratory reports as canonical instructions |
| 193 | + |
| 194 | +## Related Docs |
| 195 | + |
| 196 | +- Public contributor page: `/v2/resources/documentation-guide/research-and-fact-checking` |
| 197 | +- AI tools index: `/docs-guide/catalog/ai-tools` |
| 198 | +- Source of truth policy: `/docs-guide/policies/source-of-truth-policy` |
| 199 | +- Trust roadmap: `tasks/plan/future/page-content-research-trust-roadmap.md` |
0 commit comments