| name | ln-311-review-research-worker |
| description | Use when an evaluation run needs mandatory official-doc, MCP Ref, Context7, and current best-practice research with a structured research summary. |
| license | MIT |
Paths: File paths (shared/, references/, ../ln-*) are relative to skills repo root.
Type: L3 Worker
Category: 3XX Planning
Review Research Worker
Structured research worker for validation, audit, and review flows.
Mandatory Read
MANDATORY READ: Load shared/references/evaluation_worker_runtime_contract.md, shared/references/evaluation_summary_contract.md, shared/references/evaluation_research_contract.md, shared/references/epistemic_protocol.md
Purpose
- gather official documentation or standards
- gather MCP Ref evidence
- gather Context7 evidence when a library or framework is involved
- gather current web best-practice evidence
- emit a compact machine-readable research summary instead of prose-only notes
Runtime
Runtime family:
evaluation-worker-runtime
Required manifest fields:
identifier
phase_order
summary_kind=review-research
operation=research
Recommended phase_order:
PHASE_0_CONFIG
PHASE_1_RESOLVE_STACK
PHASE_2_OFFICIAL_DOCS
PHASE_3_MCP_REF
PHASE_4_CONTEXT7
PHASE_5_WEB_BEST_PRACTICES
PHASE_6_ANTI_HALLUCINATION
PHASE_7_WRITE_SUMMARY
PHASE_8_SELF_CHECK
Workflow
Phase 0: Config
- Load runtime manifest.
- Resolve review target, stack hints, and output location.
- Fail if target context is missing.
Phase 1: Resolve Stack
- Detect language, framework, libraries, and domain.
- Build a bounded research topic list.
- Keep topic count small and evidence-oriented.
Phase 2: Official Docs
- Read official docs or standards first.
- Record source URLs and the exact topic each source supports.
Phase 3: MCP Ref
- Query MCP Ref for the same bounded topics.
- Prefer primary documentation over tertiary commentary.
Phase 4: Context7
- If a library or framework is involved, resolve the Context7 library id.
- Query only the libraries actually used by the target.
- If no relevant library exists, record that explicitly.
Phase 5: Web Best Practices
- Perform current web research for best practices and recent changes.
- Use current sources, not frozen heuristics.
- Record only evidence that changes a conclusion or adds decision value.
Phase 6: Anti-Hallucination Verification
- Scan target artifact for factual claims across all trigger categories per
epistemic_protocol.md Section B.
- For each claim, check against research evidence gathered in Phases 2-5:
- Has MCP Ref/Context7/Web evidence → mark
VERIFIED
- No tool evidence but claim is plausible → mark
FROM_TRAINING
- Contradicts tool evidence → mark
FLAGGED (CRITICAL)
- This step verifies against existing research. It does NOT run new searches.
- Include verification status in summary metadata.
Phase 7: Write Summary
Emit summary_kind=review-research.
Payload must include:
worker=ln-311
status
operation=research
warnings
Prefer these fields when available:
findings
metrics.research_sources
metrics.anti_hallucination_status (VERIFIED | FLAGGED)
metrics.flagged_claims_count
artifact_path
report_path
metadata
Phase 8: Self-Check
- Verify all four research lanes were attempted.
- Verify anti-hallucination verification was executed.
- Verify skipped lanes are justified in machine-readable form.
- Record
pass=true only after the summary is written.
Definition of Done
Version: 1.0.0
Last Updated: 2026-04-10