Files
deep_research/.agents/rules/deep-research-antigravity.md
T

2.6 KiB

Deep Research Antigravity Rule

When operating this repository from Google Antigravity, use Antigravity as the primary Deep Research executor and use the repository as the method, artifact, and validation framework.

Non-Negotiables

  • Use Antigravity's model quota for main research work.
  • Do not default to Python core model-worker commands such as run, research --execute-packets, or research --assemble-chapters, because they may route work through ZenMux/API credits.
  • It is acceptable to write phase artifacts directly in Antigravity when following the project skills and evidence schema.
  • Use .agents/skills/antigravity-surface-adapter/SKILL.md whenever the user asks for Antigravity usage, phase execution, model planning, or quota planning.
  • Keep all research outputs under projects/<slug>/.
  • Use Python scripts only for scaffolding, deterministic checks, citation/report rendering, status, and local material processing unless the user explicitly approves external model/API usage.

Anti-Hallucination Contract

  • No tool receipt, no search claim. The agent may not write that it has searched, checked, verified, or confirmed anything unless a search/browser/terminal/MCP tool call actually happened and the result is logged.
  • No source ID, no factual claim. Every concrete fact in drafts must map to a source_id in sources.jsonl and a row in claims_ledger.jsonl, or be visibly marked as unverified.
  • No snippet laundering. Search result snippets, AI summaries, and memory are only leads; they cannot support final claims.
  • Failed access must be explicit. If a page, PDF, registry, patent, or filing cannot be opened, mark it as inaccessible and do not quote exact values from it.
  • Each phase must maintain phaseX/search_log.md or phaseX/search_log.jsonl.
  • Each evidence packet must include search_receipts, sources, evidence_spans, counter_evidence, and unsupported_claims.
  • Phase 2 must maintain claims_ledger.jsonl, coverage_matrix.md, and rejected_sources.jsonl.
  • Before resuming or handing off work, update continuation_state.json.
  • When evidence is thin, write "该观点证据不足,待进一步验证" rather than smoothing over the gap.

Quota Discipline

  • Surface manager: Gemini 3 Flash.
  • Phase 0-1: Claude Opus 4.6 (Thinking).
  • Phase 2: Gemini 3.1 Pro (Low).
  • Phase 3: Gemini 3.1 Pro (High), with fallback to another model only if quality is inadequate.
  • Phase 4: Claude Opus 4.6 (Thinking).

Pause Points

Pause after Phase 1 and Phase 3. Ask the user to confirm the framework or critique decision before moving to the next major phase.