Files
deep_research/.agents/workflows/deep-research-native.md
T

57 lines
2.6 KiB
Markdown

# Deep Research Native Workflow
Description: Run a biomedical Deep Research project in Antigravity using Antigravity model quota, with explicit anti-hallucination gates and source receipts.
## Step 0: Load Context
- Load `AGENTS.md`.
- Load `.agents/agents.md`.
- Load `.agents/rules/deep-research-antigravity.md`.
- Load `.agents/skills/antigravity-surface-adapter/SKILL.md`.
- Load skills: `mckinsey-method`, `search-strategy`, `source-quality`, `evidence-table`, `citation-manager`, `length-budget`, `output-hygiene`.
- Confirm topic, slug, report type, target audience, method, output length, and allowed search tools.
Gate: do not proceed if the topic, slug, and report purpose are unclear.
## Step 1: Phase 0-1 With Opus
- Ask the user to switch the conversation model to Claude Opus 4.6 (Thinking).
- Create project folders under `projects/<slug>/`.
- Read user materials and write `phase1/material_brief.md`.
- Run real searches and log them in `phase1/search_log.md`.
- Write `phase1/framework.md`, `phase1/research_brief.md`, and `phase1/research_brief.json`.
- Write `phase1/unsupported_claims.md` for hypotheses not yet evidenced.
Gate: pause for user confirmation. Do not enter Phase 2 before approval.
## Step 2: Phase 2 With Gemini 3.1 Pro Low
- Ask the user to switch the conversation model to Gemini 3.1 Pro (Low).
- Build `phase2/task_cards.json`.
- For each task card, run real searches and append `phase2/search_log.jsonl`.
- Write `phase2/packets/*.json`; every packet must contain `search_receipts`, `sources`, `counter_evidence`, and `unsupported_claims`.
- Build `phase2/chapter_briefs/*.json` and `phase2/compressed_findings/*.json`.
- Write `phase2/drafts/chXX.md` only from chapter briefs and compressed findings.
Gate: do not draft a chapter from memory or snippets. Every concrete claim needs a source ID.
## Step 3: Phase 3 With Gemini 3.1 Pro High
- Ask the user to switch the conversation model to Gemini 3.1 Pro (High).
- Review framework, packets, sources, chapter briefs, and drafts.
- Write `phase3/critique.md`.
- Include a source-audit table for at least 10 core facts.
- Mark decision as `go`, `rework`, or `fail`.
Gate: pause for user decision after critique.
## Step 4: Phase 4 With Opus
- Ask the user to switch the conversation model to Claude Opus 4.6 (Thinking).
- Write `phase4/final_zh.md` from approved drafts and sources only.
- Write `phase4/editorial_notes.md`.
- Write `phase4/final_fact_check.md`, listing any unresolved or downgraded claims.
- Use deterministic renderer tools afterward for PDF/DOCX.
Gate: final output cannot introduce new facts without adding sources and search logs first.