hypothesis-deep-verification
Goal:
- Run the assumption decomposition and deep verification review for a hypothesis.
Inputs:
research_plan/RESEARCH_PLAN.jsonhypotheses/<id>/HYPOTHESIS.jsonliterature/queries/<query_id>/EVIDENCE_BUNDLE.jsonas anEvidenceBundleContractwhen external evidence is needed to judge a core assumption- optional prior review artifacts for calibration
Outputs:
hypotheses/<id>/REVIEW/DEEP_VERIFICATION.jsonliterature/queries/<query_id>/*search bridge artifacts when a new evidence query is required
Context Loading:
- Open
skills/shared-references/schema-index.md. - Open
skills/shared-references/literature-search-contract.md. - Open
skills/shared-references/codex-reviewer-routing.mdbefore using any optional Codex reviewer subagent route. - Read
packages/agent_contracts/literature.pybefore building or consuming search bridge artifacts. - Read
research_plan/RESEARCH_PLAN.jsonfor the active goal and boundaries. - Read
hypotheses/<id>/HYPOTHESIS.json. - If previous review artifacts exist, use them to focus decomposition on already-suspect links, but still perform an independent structural check.
Execution Prompt Contract:
- System Intent:
- You are the structural verification layer for one hypothesis.
- Required Reasoning Focus:
- Decompose the hypothesis into core assumptions.
- Break each assumption into independently judgeable sub-assumptions where useful.
- For assumptions that depend on external literature support, call
tools.search_literature(run_dir, request)or consume an existing matching evidence bundle before marking the link as supported. - If Codex reviewer subagents are available and explicitly useful for structural verification, they may inspect the same canonical artifacts, but the main thread must still validate and persist the canonical
DEEP_VERIFICATION.json. - If subagents are unavailable, execute the same verification contract in the main thread and record
reviewerRoute = local_main_threadwhen a reviewer route trace is written. - Read
retrieval_metadata.statusbefore marking any evidence-dependent assumption as externally supported. - Mark which links appear well-supported by the evidence bundle, speculative but plausible, unsupported because retrieval was blocked, or likely incorrect.
- If
retrieval_metadata.statusispartial, mark externally supported links as limited by partial retrieval rather than fully literature-confirmed. - Surface flaws in reasoning chains, hidden assumptions, or logically weak transitions.
- Do Not Do:
- Do not collapse the whole hypothesis into one coarse verdict.
- Do not invent additional research goals or evaluation criteria.
- Do not produce deep verification as unstructured prose.
- Do not invent papers, DOIs, arXiv IDs, venues, citation counts, abstracts, or literature claims not present in the evidence bundle.
- Do not use model memory as a substitute for search bridge artifacts.
- Do not let a reviewer subagent write deterministic mechanics artifacts or bypass schema validation.
- Review Quality Floor:
- A
status = completeddeep verification review must include at least one concrete assumption with a non-empty correctness rationale. - Assumptions must decompose the hypothesis mechanism or validation path; do not write generic entries such as
mechanism is plausibleorneeds validation. - Do not use placeholder verification phrases such as
Viable evolved hypothesis,Refined from parent, orvalidated by future experimentsas substantive review content. - If an assumption depends on literature evidence, preserve the linked evidence limitation or retrieval status rather than inventing support.
- A
- Output Shape:
- Produce the exact
DeepVerificationReviewContractfrompackages/agent_contracts/review.py. - Keep statements and correctness rationales concise.
- Produce the exact
Execution Steps:
- Open
skills/shared-references/schema-index.md,skills/shared-references/literature-search-contract.md, andskills/shared-references/codex-reviewer-routing.md, then readpackages/agent_contracts/review.pyandpackages/agent_contracts/literature.pybefore writingDEEP_VERIFICATION.json, reviewer traces, or consuming search bridge artifacts. - Read the research plan and hypothesis.
- Extract the core assumptions behind the mechanism or validation path.
- For assumptions whose correctness depends on external literature, build a focused
SearchRequestContractand calltools.search_literature(run_dir, request)unless a matching evidence bundle already exists. - If retrieval is
blocked, preserve that uncertainty in the affected assumption correctness rationales instead of claiming external support. - If retrieval is
partial, preserve that limitation in the affected assumption correctness rationales instead of claiming comprehensive external support. - Decompose assumptions where necessary.
- Evaluate each assumption or sub-assumption.
- Write
hypotheses/<id>/REVIEW/DEEP_VERIFICATION.json. - Validate before declaring completion.
Artifact Rules:
DEEP_VERIFICATION.jsonmust remain machine-consumable and structurally nested.- The review should identify whether a flawed link is core or peripheral whenever possible.
- External support judgments must be traceable to
literature/queries/<query_id>/EVIDENCE_BUNDLE.jsonwhen they depend on literature. partialandblockedretrieval states must remain explicit in correctness rationales; do not convert them into full evidence support.
Completion Rule:
- This skill is complete only when
DEEP_VERIFICATION.jsonexists, external support judgments are traceable to search bridge artifacts when used, and the artifact is valid for downstream synthesis.
微信扫一扫