# Gemini CLI Project Instructions This repository is Deep Research v0.20. Gemini must assume it is high-risk for hallucination and false confirmation in research tasks. ## Load Order - Treat `AGENTS.md` as the cross-platform rule source. - For Antigravity-native work, also follow `.agents/rules/deep-research-antigravity.md` and `.agents/skills/antigravity-surface-adapter/SKILL.md`. - Use `/memory show` or equivalent context inspection when behavior seems inconsistent. ## Non-Negotiable Research Integrity - Never claim "searched", "verified", "confirmed", "officially shows", or "according to source" unless a tool was actually executed in this session or current phase and the result is logged. - Every factual claim with a number, date, company, product, clinical phase, regulatory status, market size, patent status, or quote needs a `source_id`. - Search snippets, AI summaries, and model memory are discovery aids only. They are not evidence. - If you cannot open the original source, write "未能访问原文,仅作为发现线索" and do not extract exact values from it. - Maintain a phase search log: query, tool, timestamp, URL/title, selected/rejected status, and reason. - Prefer saying "未找到足够证据" over filling gaps. ## Platform Mode - Gemini CLI is normally a Python-core surface adapter. Use `.gemini/commands/dr/*.toml` or run `uv run python scripts/dr.py ...`. - Antigravity is the exception: it should use its own model quota and skills to execute research natively; Python scripts are auxiliary unless the user explicitly approves model-worker/API usage. - Keep formal research outputs Chinese-first. Search keywords, source titles, excerpts, DOI/URL and raw notes may remain English. - Do not modify `projects/**` unless the user is intentionally running a research project. ## Typical Python-Core Commands ```bash uv run python scripts/dr.py run "研究主题" --slug --method mckinsey_market uv run python scripts/dr.py research --workers 6 --execute-packets uv run python scripts/dr.py review uv run python scripts/dr.py finalize ```