# @google/gemini-cli - Doramagic AI Context Pack

> 定位：安装前体验与判断资产。它帮助宿主 AI 有一个好的开始，但不代表已经安装、执行或验证目标项目。

## 充分原则

- **充分原则，不是压缩原则**：AI Context Pack 应该充分到让宿主 AI 在开工前理解项目价值、能力边界、使用入口、风险和证据来源；它可以分层组织，但不以最短摘要为目标。
- **压缩策略**：只压缩噪声和重复内容，不压缩会影响判断和开工质量的上下文。

## 给宿主 AI 的使用方式

你正在读取 Doramagic 为 @google/gemini-cli 编译的 AI Context Pack。请把它当作开工前上下文：帮助用户理解适合谁、能做什么、如何开始、哪些必须安装后验证、风险在哪里。不要声称你已经安装、运行或执行了目标项目。

## Claim 消费规则

- **事实来源**：Repo Evidence + Claim/Evidence Graph；Human Wiki 只提供显著性、术语和叙事结构。
- **事实最低状态**：`supported`
- `supported`：可以作为项目事实使用，但回答中必须引用 claim_id 和证据路径。
- `weak`：只能作为低置信度线索，必须要求用户继续核实。
- `inferred`：只能用于风险提示或待确认问题，不能包装成项目事实。
- `unverified`：不得作为事实使用，应明确说证据不足。
- `contradicted`：必须展示冲突来源，不得替用户强行选择一个版本。

## 它最适合谁

- **正在使用 Claude/Codex/Cursor/Gemini 等宿主 AI 的开发者**：README 或插件配置提到多个宿主 AI。 证据：`README.md` Claim：`clm_0003` supported 0.86
- **希望把专业流程带进宿主 AI 的用户**：仓库包含 Skill 文档。 证据：`.gemini/skills/async-pr-review/SKILL.md`, `.gemini/skills/behavioral-evals/SKILL.md`, `.gemini/skills/ci/SKILL.md`, `.gemini/skills/code-reviewer/SKILL.md` 等 Claim：`clm_0004` supported 0.86

## 它能做什么

- **AI Skill / Agent 指令资产库**（可做安装前预览）：项目包含可被宿主 AI 读取的 Skill 或 Agent 指令文件，可用于把专业流程带入 Claude、Codex、Cursor 等宿主。 证据：`.gemini/skills/async-pr-review/SKILL.md`, `.gemini/skills/behavioral-evals/SKILL.md`, `.gemini/skills/ci/SKILL.md`, `.gemini/skills/code-reviewer/SKILL.md` 等 Claim：`clm_0001` supported 0.86
- **命令行启动或安装流程**（需要安装后验证）：项目文档中存在可执行命令，真实使用需要在本地或宿主环境中运行这些命令。 证据：`README.md`, `packages/sdk/README.md` Claim：`clm_0002` supported 0.86

## 怎么开始

- `npx @google/gemini-cli` 证据：`README.md` Claim：`clm_0005` supported 0.86
- `npm install -g @google/gemini-cli` 证据：`README.md` Claim：`clm_0006` supported 0.86, `clm_0007` supported 0.86, `clm_0008` supported 0.86, `clm_0009` supported 0.86
- `npm install -g @google/gemini-cli@preview` 证据：`README.md` Claim：`clm_0007` supported 0.86
- `npm install -g @google/gemini-cli@latest` 证据：`README.md` Claim：`clm_0008` supported 0.86
- `npm install -g @google/gemini-cli@nightly` 证据：`README.md` Claim：`clm_0009` supported 0.86
- `git clone https://github.com/google-gemini/gemini-cli` 证据：`README.md` Claim：`clm_0010` supported 0.86
- `npm install @google/gemini-cli-sdk` 证据：`packages/sdk/README.md` Claim：`clm_0011` supported 0.86

## 继续前判断卡

- **当前建议**：仅建议沙盒试装
- **为什么**：项目存在安装命令、宿主配置或本地写入线索，不建议直接进入主力环境，应先在隔离环境试装。

### 30 秒判断

- **现在怎么做**：仅建议沙盒试装
- **最小安全下一步**：先跑 Prompt Preview；若仍要安装，只在隔离环境试装
- **先别相信**：真实输出质量不能在安装前相信。
- **继续会触碰**：命令执行、宿主 AI 配置、本地环境或项目文件

### 现在可以相信

- **适合人群线索：正在使用 Claude/Codex/Cursor/Gemini 等宿主 AI 的开发者**（supported）：有 supported claim 或项目证据支撑，但仍不等于真实安装效果。 证据：`README.md` Claim：`clm_0003` supported 0.86
- **适合人群线索：希望把专业流程带进宿主 AI 的用户**（supported）：有 supported claim 或项目证据支撑，但仍不等于真实安装效果。 证据：`.gemini/skills/async-pr-review/SKILL.md`, `.gemini/skills/behavioral-evals/SKILL.md`, `.gemini/skills/ci/SKILL.md`, `.gemini/skills/code-reviewer/SKILL.md` 等 Claim：`clm_0004` supported 0.86
- **能力存在：AI Skill / Agent 指令资产库**（supported）：可以相信项目包含这类能力线索；是否适合你的具体任务仍要试用或安装后验证。 证据：`.gemini/skills/async-pr-review/SKILL.md`, `.gemini/skills/behavioral-evals/SKILL.md`, `.gemini/skills/ci/SKILL.md`, `.gemini/skills/code-reviewer/SKILL.md` 等 Claim：`clm_0001` supported 0.86
- **能力存在：命令行启动或安装流程**（supported）：可以相信项目包含这类能力线索；是否适合你的具体任务仍要试用或安装后验证。 证据：`README.md`, `packages/sdk/README.md` Claim：`clm_0002` supported 0.86
- **存在 Quick Start / 安装命令线索**（supported）：可以相信项目文档出现过启动或安装入口；不要因此直接在主力环境运行。 证据：`README.md` Claim：`clm_0005` supported 0.86

### 现在还不能相信

- **真实输出质量不能在安装前相信。**（unverified）：Prompt Preview 只能展示引导方式，不能证明真实项目中的结果质量。
- **宿主 AI 版本兼容性不能在安装前相信。**（unverified）：Claude、Cursor、Codex、Gemini 等宿主加载规则和版本差异必须在真实环境验证。
- **不会污染现有宿主 AI 行为，不能直接相信。**（inferred）：Skill、plugin、AGENTS/CLAUDE/GEMINI 指令可能改变宿主 AI 的默认行为。 证据：`.gemini/skills/async-pr-review/SKILL.md`, `.gemini/skills/behavioral-evals/SKILL.md`, `.gemini/skills/ci/SKILL.md`, `.gemini/skills/code-reviewer/SKILL.md` 等
- **可安全回滚不能默认相信。**（unverified）：除非项目明确提供卸载和恢复说明，否则必须先在隔离环境验证。
- **真实安装后是否与用户当前宿主 AI 版本兼容？**（unverified）：兼容性只能通过实际宿主环境验证。
- **项目输出质量是否满足用户具体任务？**（unverified）：安装前预览只能展示流程和边界，不能替代真实评测。
- **安装命令是否需要网络、权限或全局写入？**（unverified）：这影响企业环境和个人环境的安装风险。 证据：`README.md`

### 继续会触碰什么

- **命令执行**：包管理器、网络下载、本地插件目录、项目配置或用户主目录。 原因：运行第一条命令就可能产生环境改动；必须先判断是否值得跑。 证据：`README.md`, `packages/sdk/README.md`
- **宿主 AI 配置**：Claude/Codex/Cursor/Gemini/OpenCode 等宿主的 plugin、Skill 或规则加载配置。 原因：宿主配置会改变 AI 后续工作方式，可能和用户已有规则冲突。 证据：`.gemini/skills/async-pr-review/SKILL.md`, `.gemini/skills/behavioral-evals/SKILL.md`, `.gemini/skills/ci/SKILL.md`, `.gemini/skills/code-reviewer/SKILL.md` 等
- **本地环境或项目文件**：安装结果、插件缓存、项目配置或本地依赖目录。 原因：安装前无法证明写入范围和回滚方式，需要隔离验证。 证据：`README.md`, `packages/sdk/README.md`
- **宿主 AI 上下文**：AI Context Pack、Prompt Preview、Skill 路由、风险规则和项目事实。 原因：导入上下文会影响宿主 AI 后续判断，必须避免把未验证项包装成事实。

### 最小安全下一步

- **先跑 Prompt Preview**：用安装前交互式试用判断工作方式是否匹配，不需要授权或改环境。（适用：任何项目都适用，尤其是输出质量未知时。）
- **只在隔离目录或测试账号试装**：避免安装命令污染主力宿主 AI、真实项目或用户主目录。（适用：存在命令执行、插件配置或本地写入线索时。）
- **先备份宿主 AI 配置**：Skill、plugin、规则文件可能改变 Claude/Cursor/Codex 的默认行为。（适用：存在插件 manifest、Skill 或宿主规则入口时。）
- **安装后只验证一个最小任务**：先验证加载、兼容、输出质量和回滚，再决定是否深用。（适用：准备从试用进入真实工作流时。）

### 退出方式

- **保留安装前状态**：记录原始宿主配置和项目状态，后续才能判断是否可恢复。
- **准备移除宿主 plugin / Skill / 规则入口**：如果试装后行为异常，可以把宿主 AI 恢复到试装前状态。
- **记录安装命令和写入路径**：没有明确卸载说明时，至少要知道哪些目录或配置需要手动清理。
- **如果没有回滚路径，不进入主力环境**：不可回滚是继续前阻断项，不应靠信任或运气继续。

## 哪些只能预览

- 解释项目适合谁和能做什么
- 基于项目文档演示典型对话流程
- 帮助用户判断是否值得安装或继续研究

## 哪些必须安装后验证

- 真实安装 Skill、插件或 CLI
- 执行脚本、修改本地文件或访问外部服务
- 验证真实输出质量、性能和兼容性

## 边界与风险判断卡

- **把安装前预览误认为真实运行**：用户可能高估项目已经完成的配置、权限和兼容性验证。 处理方式：明确区分 prompt_preview_can_do 与 runtime_required。 Claim：`clm_0012` inferred 0.45
- **命令执行会修改本地环境**：安装命令可能写入用户主目录、宿主插件目录或项目配置。 处理方式：先在隔离环境或测试账号中运行。 证据：`README.md`, `packages/sdk/README.md` Claim：`clm_0013` supported 0.86
- **待确认**：真实安装后是否与用户当前宿主 AI 版本兼容？。原因：兼容性只能通过实际宿主环境验证。
- **待确认**：项目输出质量是否满足用户具体任务？。原因：安装前预览只能展示流程和边界，不能替代真实评测。
- **待确认**：安装命令是否需要网络、权限或全局写入？。原因：这影响企业环境和个人环境的安装风险。

## 开工前工作上下文

### 加载顺序

- 先读取 how_to_use.host_ai_instruction，建立安装前判断资产的边界。
- 读取 claim_graph_summary，确认事实来自 Claim/Evidence Graph，而不是 Human Wiki 叙事。
- 再读取 intended_users、capabilities 和 quick_start_candidates，判断用户是否匹配。
- 需要执行具体任务时，优先查 role_skill_index，再查 evidence_index。
- 遇到真实安装、文件修改、网络访问、性能或兼容性问题时，转入 risk_card 和 boundaries.runtime_required。

### 任务路由

- **AI Skill / Agent 指令资产库**：先基于 role_skill_index / evidence_index 帮用户挑选可用角色、Skill 或工作流。 边界：可做安装前 Prompt 体验。 证据：`.gemini/skills/async-pr-review/SKILL.md`, `.gemini/skills/behavioral-evals/SKILL.md`, `.gemini/skills/ci/SKILL.md`, `.gemini/skills/code-reviewer/SKILL.md` 等 Claim：`clm_0001` supported 0.86
- **命令行启动或安装流程**：先说明这是安装后验证能力，再给出安装前检查清单。 边界：必须真实安装或运行后验证。 证据：`README.md`, `packages/sdk/README.md` Claim：`clm_0002` supported 0.86

### 上下文规模

- 文件总数：2670
- 重要文件覆盖：40/2670
- 证据索引条目：80
- 角色 / Skill 条目：14

### 证据不足时的处理

- **missing_evidence**：说明证据不足，要求用户提供目标文件、README 段落或安装后验证记录；不要补全事实。
- **out_of_scope_request**：说明该任务超出当前 AI Context Pack 证据范围，并建议用户先查看 Human Manual 或真实安装后验证。
- **runtime_request**：给出安装前检查清单和命令来源，但不要替用户执行命令或声称已执行。
- **source_conflict**：同时展示冲突来源，标记为待核实，不要强行选择一个版本。

## Prompt Recipes

### 适配判断

- 目标：判断这个项目是否适合用户当前任务。
- 预期输出：适配结论、关键理由、证据引用、安装前可预览内容、必须安装后验证内容、下一步建议。

```text
请基于 @google/gemini-cli 的 AI Context Pack，先问我 3 个必要问题，然后判断它是否适合我的任务。回答必须包含：适合谁、能做什么、不能做什么、是否值得安装、证据来自哪里。所有项目事实必须引用 evidence_refs、source_paths 或 claim_id。
```

### 安装前体验

- 目标：让用户在安装前感受核心工作流，同时避免把预览包装成真实能力或营销承诺。
- 预期输出：一段带边界标签的体验剧本、安装后验证清单和谨慎建议；不含真实运行承诺或强营销表述。

```text
请把 @google/gemini-cli 当作安装前体验资产，而不是已安装工具或真实运行环境。

请严格输出四段：
1. 先问我 3 个必要问题。
2. 给出一段“体验剧本”：用 [安装前可预览]、[必须安装后验证]、[证据不足] 三种标签展示它可能如何引导工作流。
3. 给出安装后验证清单：列出哪些能力只有真实安装、真实宿主加载、真实项目运行后才能确认。
4. 给出谨慎建议：只能说“值得继续研究/试装”“先补充信息后再判断”或“不建议继续”，不得替项目背书。

硬性边界：
- 不要声称已经安装、运行、执行测试、修改文件或产生真实结果。
- 不要写“自动适配”“确保通过”“完美适配”“强烈建议安装”等承诺性表达。
- 如果描述安装后的工作方式，必须使用“如果安装成功且宿主正确加载 Skill，它可能会……”这种条件句。
- 体验剧本只能写成“示例台词/假设流程”：使用“可能会询问/可能会建议/可能会展示”，不要写“已写入、已生成、已通过、正在运行、正在生成”。
- Prompt Preview 不负责给安装命令；如用户准备试装，只能提示先阅读 Quick Start 和 Risk Card，并在隔离环境验证。
- 所有项目事实必须来自 supported claim、evidence_refs 或 source_paths；inferred/unverified 只能作风险或待确认项。

```

### 角色 / Skill 选择

- 目标：从项目里的角色或 Skill 中挑选最匹配的资产。
- 预期输出：候选角色或 Skill 列表，每项包含适用场景、证据路径、风险边界和是否需要安装后验证。

```text
请读取 role_skill_index，根据我的目标任务推荐 3-5 个最相关的角色或 Skill。每个推荐都要说明适用场景、可能输出、风险边界和 evidence_refs。
```

### 风险预检

- 目标：安装或引入前识别环境、权限、规则冲突和质量风险。
- 预期输出：环境、权限、依赖、许可、宿主冲突、质量风险和未知项的检查清单。

```text
请基于 risk_card、boundaries 和 quick_start_candidates，给我一份安装前风险预检清单。不要替我执行命令，只说明我应该检查什么、为什么检查、失败会有什么影响。
```

### 宿主 AI 开工指令

- 目标：把项目上下文转成一次对话开始前的宿主 AI 指令。
- 预期输出：一段边界明确、证据引用明确、适合复制给宿主 AI 的开工前指令。

```text
请基于 @google/gemini-cli 的 AI Context Pack，生成一段我可以粘贴给宿主 AI 的开工前指令。这段指令必须遵守 not_runtime=true，不能声称项目已经安装、运行或产生真实结果。
```


## 角色 / Skill 索引

- 共索引 14 个角色 / Skill / 项目文档条目。

- **async-pr-review**（skill）：Trigger this skill when the user wants to start an asynchronous PR review, run background checks on a PR, or check the status of a previously started async PR review. 激活提示：当用户任务与“async-pr-review”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`.gemini/skills/async-pr-review/SKILL.md`
- **behavioral-evals**（skill）：Guidance for creating, running, fixing, and promoting behavioral evaluations. Use when verifying agent decision logic, debugging failures, debugging prompt steering, or adding workspace regression tests. 激活提示：当用户任务与“behavioral-evals”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`.gemini/skills/behavioral-evals/SKILL.md`
- **ci**（skill）：This skill enables the agent to efficiently monitor GitHub Actions, triage failures, and bridge remote CI errors to local development. It defaults to automatic replication of failures to streamline the fix cycle. 激活提示：当用户任务与“ci”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`.gemini/skills/ci/SKILL.md`
- **code-reviewer**（skill）：This skill guides the agent in conducting professional and thorough code reviews for both local development and remote Pull Requests. 激活提示：当用户任务与“code-reviewer”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`.gemini/skills/code-reviewer/SKILL.md`
- **docs-changelog**（skill）：- 激活提示：当用户任务与“docs-changelog”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`.gemini/skills/docs-changelog/SKILL.md`
- **docs-writer**（skill）：As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or review documentation, you must ensure the content strictly adheres to the provided documentation standards and accurately reflects the current codebase. Adhere to the contribution process in CONTRIBUTING.md and the following project standards. 激活提示：当用户任务与“docs-writer”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`.gemini/skills/docs-writer/SKILL.md`
- **github-issue-creator**（skill）：This skill guides the creation of high-quality GitHub issues that adhere to the repository's standards and use the appropriate templates. 激活提示：当用户任务与“github-issue-creator”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`.gemini/skills/github-issue-creator/SKILL.md`
- **pr-address-comments**（skill）：Use this skill if the user asks you to help them address GitHub PR comments for their current branch of the Gemini CLI. Requires gh CLI tool. 激活提示：当用户任务与“pr-address-comments”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`.gemini/skills/pr-address-comments/SKILL.md`
- **pr-creator**（skill）：This skill guides the creation of high-quality Pull Requests that adhere to the repository's standards. 激活提示：当用户任务与“pr-creator”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`.gemini/skills/pr-creator/SKILL.md`
- **review-duplication**（skill）：Use this skill during code reviews to proactively investigate the codebase for duplicated functionality, reinvented wheels, or failure to reuse existing project best practices and shared utilities. 激活提示：当用户任务与“review-duplication”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`.gemini/skills/review-duplication/SKILL.md`
- **string-reviewer**（skill）： 激活提示：当用户任务与“string-reviewer”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`.gemini/skills/string-reviewer/SKILL.md`
- **greeter**（skill）：A friendly greeter skill 激活提示：当用户任务与“greeter”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`packages/cli/src/commands/extensions/examples/skills/skills/greeter/SKILL.md`
- **skill-creator**（skill）：Guide for creating effective skills. This skill should be used when users want to create a new skill or update an existing skill that extends Gemini CLI's capabilities with specialized knowledge, workflows, or tool integrations. 激活提示：当用户任务与“skill-creator”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`packages/core/src/skills/builtin/skill-creator/SKILL.md`
- **pirate-skill**（skill）：Speak like a pirate. 激活提示：当用户任务与“pirate-skill”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`packages/sdk/test-data/skills/pirate-skill/SKILL.md`

## 证据索引

- 共索引 80 条证据。

- **Gemini CLI Project Context**（documentation）：Gemini CLI is an open-source AI agent that brings the power of Gemini directly into the terminal. It is designed to be a terminal-first, extensible, and powerful tool for developers. 证据：`GEMINI.md`
- **Gemini CLI**（documentation）：! Gemini CLI CI https://github.com/google-gemini/gemini-cli/actions/workflows/ci.yml/badge.svg https://github.com/google-gemini/gemini-cli/actions/workflows/ci.yml ! Gemini CLI E2E Chained https://github.com/google-gemini/gemini-cli/actions/workflows/chained e2e.yml/badge.svg https://github.com/google-gemini/gemini-cli/actions/workflows/chained e2e.yml ! Version https://img.shields.io/npm/v/@google/gemini-cli https://www.npmjs.com/package/@google/gemini-cli ! License https://img.shields.io/github/license/google-gemini/gemini-cli https://github.com/google-gemini/gemini-cli/blob/main/LICENSE ! View Code Wiki https://assets.codewiki.google/readme-badge/static.svg https://codewiki.google/github… 证据：`README.md`
- **Behavioral Evals**（documentation）：Behavioral evaluations evals are tests designed to validate the agent's behavior in response to specific prompts. They serve as a critical feedback loop for changes to system prompts, tool definitions, and other model-steering mechanisms, and as a tool for assessing feature reliability by model, and preventing regressions. 证据：`evals/README.md`
- **CPU Performance Integration Test Harness**（documentation）：CPU Performance Integration Test Harness 证据：`perf-tests/README.md`
- **Gemini CLI A2A Server @google/gemini-cli-a2a-server**（documentation）：Gemini CLI A2A Server @google/gemini-cli-a2a-server 证据：`packages/a2a-server/GEMINI.md`
- **Gemini CLI A2A Server**（documentation）：All code in this package is experimental and under active development 证据：`packages/a2a-server/README.md`
- **React & Ink CLI UI**（documentation）：- Side Effects : Use reducers for complex state transitions; avoid setState triggers in callbacks. - Always fix react-hooks/exhaustive-deps lint errors by adding the missing dependencies. - Shortcuts : only define keyboard shortcuts in packages/cli/src/ui/key/keyBindings.ts - Do not implement any logic performing custom string measurement or string truncation. Use Ink layout instead leveraging ResizeObserver as needed. When using ResizeObserver , prefer the useCallback ref pattern as seen in MaxSizedBox.tsx to ensure size measurements are captured as soon as the element is available, avoiding potential rendering timing issues. - Avoid prop drilling when at all possible. 证据：`packages/cli/GEMINI.md`
- **Agent Client Protocol ACP Implementation**（documentation）：Agent Client Protocol ACP Implementation 证据：`packages/cli/src/acp/README.md`
- **MCP Server Example**（documentation）：This is a basic example of an MCP Model Context Protocol server used as a Gemini CLI extension. It demonstrates how to expose tools and prompts to the Gemini CLI. 证据：`packages/cli/src/commands/extensions/examples/mcp-server/README.md`
- **Policy engine example extension**（documentation）：This extension demonstrates how to contribute security rules and safety checkers to the Gemini CLI Policy Engine. 证据：`packages/cli/src/commands/extensions/examples/policies/README.md`
- **Themes Example**（documentation）：This is an example of a Gemini CLI extension that adds a custom theme. 证据：`packages/cli/src/commands/extensions/examples/themes-example/README.md`
- **Gemini CLI Core @google/gemini-cli-core**（documentation）：Gemini CLI Core @google/gemini-cli-core 证据：`packages/core/GEMINI.md`
- **Gemini CLI DevTools**（documentation）：Integrated Developer Tools for Gemini CLI, providing a Chrome DevTools-like interface for Network and Console inspection. Launched automatically when the general.devtools setting is enabled. 证据：`packages/devtools/GEMINI.md`
- **Gemini CLI SDK @google/gemini-cli-sdk**（documentation）：Gemini CLI SDK @google/gemini-cli-sdk 证据：`packages/sdk/GEMINI.md`
- **@google/gemini-cli-sdk**（documentation）：The Gemini CLI SDK provides a programmatic interface to interact with Gemini models and tools. 证据：`packages/sdk/README.md`
- **Gemini CLI VS Code Companion gemini-cli-vscode-ide-companion**（documentation）：Gemini CLI VS Code Companion gemini-cli-vscode-ide-companion 证据：`packages/vscode-ide-companion/GEMINI.md`
- **Gemini CLI Companion**（documentation）：The Gemini CLI Companion extension pairs with Gemini CLI https://github.com/google-gemini/gemini-cli . This extension is compatible with both VS Code and VS Code forks. 证据：`packages/vscode-ide-companion/README.md`
- **Gemini CLI Bot Cognitive Repository**（documentation）：Gemini CLI Bot Cognitive Repository 证据：`tools/gemini-cli-bot/README.md`
- **Package**（package_manifest）：{ "name": "@google/gemini-cli", "version": "0.44.0-nightly.20260512.g022e8baef", "engines": { "node": " =20.0.0" }, "type": "module", "workspaces": "packages/ " , "private": "true", "repository": { "type": "git", "url": "git+https://github.com/google-gemini/gemini-cli.git" }, "config": { "sandboxImageUri": "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.44.0-nightly.20260512.g022e8baef" }, "scripts": { "start": "cross-env NODE ENV=development node scripts/start.js", "start:prod": "cross-env NODE ENV=production node scripts/start.js", "start:a2a-server": "CODER AGENT PORT=41242 npm run start --workspace @google/gemini-cli-a2a-server", "debug": "cross-env DEBUG=1 node --inspect-brk sc… 证据：`package.json`
- **How to contribute**（documentation）：We would love to accept your patches and contributions to this project. This document includes: 证据：`CONTRIBUTING.md`
- **Package**（package_manifest）：{ "name": "@google/gemini-cli-a2a-server", "version": "0.44.0-nightly.20260512.g022e8baef", "description": "Gemini CLI A2A Server", "repository": { "type": "git", "url": "git+https://github.com/google-gemini/gemini-cli.git", "directory": "packages/a2a-server" }, "type": "module", "main": "dist/index.js", "bin": { "gemini-cli-a2a-server": "dist/a2a-server.mjs" }, "scripts": { "build": "node ../../scripts/build package.js", "start": "node dist/src/http/server.js", "lint": "eslint . --ext .ts,.tsx", "format": "prettier --write .", "test": "vitest run", "test:ci": "vitest run --coverage", "typecheck": "tsc --noEmit" }, "files": "dist" , "dependencies": { "@a2a-js/sdk": "0.3.11", "@google-cloud/… 证据：`packages/a2a-server/package.json`
- **Package**（package_manifest）：{ "name": "@google/gemini-cli", "version": "0.44.0-nightly.20260512.g022e8baef", "description": "Gemini CLI", "license": "Apache-2.0", "repository": { "type": "git", "url": "git+https://github.com/google-gemini/gemini-cli.git" }, "type": "module", "main": "dist/index.js", "bin": { "gemini": "dist/index.js" }, "scripts": { "build": "node ../../scripts/build package.js", "start": "node dist/index.js", "debug": "node --inspect-brk dist/index.js", "lint": "eslint . --ext .ts,.tsx", "format": "prettier --write .", "test": "vitest run", "test:ci": "vitest run", "posttest": "npm run build", "typecheck": "tsc --noEmit" }, "files": "dist" , "config": { "sandboxImageUri": "us-docker.pkg.dev/gemini-co… 证据：`packages/cli/package.json`
- **Package**（package_manifest）：{ "name": "mcp-server-example", "version": "1.0.0", "description": "Example MCP Server for Gemini CLI Extension", "type": "module", "main": "example.js", "dependencies": { "@modelcontextprotocol/sdk": "^1.23.0", "zod": "^3.22.4" } } 证据：`packages/cli/src/commands/extensions/examples/mcp-server/package.json`
- **Package**（package_manifest）：{ "name": "@google/gemini-cli-core", "version": "0.44.0-nightly.20260512.g022e8baef", "description": "Gemini CLI Core", "license": "Apache-2.0", "repository": { "type": "git", "url": "git+https://github.com/google-gemini/gemini-cli.git" }, "type": "module", "main": "dist/index.js", "scripts": { "bundle:browser-mcp": "node scripts/bundle-browser-mcp.mjs", "build": "node ../../scripts/build package.js", "lint": "eslint . --ext .ts,.tsx", "format": "prettier --write .", "test": "vitest run", "test:ci": "vitest run", "posttest": "npm run build", "typecheck": "tsc --noEmit" }, "files": "dist" , "dependencies": { "@a2a-js/sdk": "0.3.11", "@bufbuild/protobuf": "^2.11.0", "@google-cloud/logging": "… 证据：`packages/core/package.json`
- **Package**（package_manifest）：{ "name": "@google/gemini-cli-devtools", "version": "0.44.0-nightly.20260512.g022e8baef", "license": "Apache-2.0", "type": "module", "main": "dist/src/index.js", "types": "dist/src/index.d.ts", "exports": { ".": { "types": "./dist/src/index.d.ts", "default": "./dist/src/index.js" } }, "scripts": { "build": "npm run build:client && tsc -p tsconfig.build.json", "build:client": "node esbuild.client.js" }, "files": "dist", "client/index.html" , "engines": { "node": " =20" }, "devDependencies": { "react": "^19.2.0", "react-dom": "^19.2.0" }, "dependencies": { "ws": "^8.16.0" } } 证据：`packages/devtools/package.json`
- **Package**（package_manifest）：{ "name": "@google/gemini-cli-sdk", "version": "0.44.0-nightly.20260512.g022e8baef", "description": "Gemini CLI SDK", "license": "Apache-2.0", "repository": { "type": "git", "url": "git+https://github.com/google-gemini/gemini-cli.git" }, "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "node ../../scripts/build package.js", "lint": "eslint . --ext .ts,.tsx", "format": "prettier --write .", "test": "vitest run", "test:ci": "vitest run", "typecheck": "tsc --noEmit" }, "files": "dist" , "dependencies": { "@google/gemini-cli-core": "file:../core", "zod": "^3.23.8", "zod-to-json-schema": "^3.23.1" }, "devDependencies": { "typescript": "^5.3.3", "vitest… 证据：`packages/sdk/package.json`
- **Package**（package_manifest）：{ "name": "gemini-cli-vscode-ide-companion", "displayName": "Gemini CLI Companion", "description": "Enable Gemini CLI with direct access to your IDE workspace.", "version": "0.44.0-nightly.20260512.g022e8baef", "publisher": "google", "icon": "assets/icon.png", "repository": { "type": "git", "url": "https://github.com/google-gemini/gemini-cli.git", "directory": "packages/vscode-ide-companion" }, "engines": { "vscode": "^1.99.0" }, "license": "LICENSE", "preview": true, "categories": "AI" , "keywords": "gemini-cli", "gemini cli", "gemini", "gemini code", "cli", "ide integration", "ide companion" , "activationEvents": "onStartupFinished" , "contributes": { "configuration": { "title": "Gemini C… 证据：`packages/vscode-ide-companion/package.json`
- **Package**（package_manifest）：{ "name": "@lvce-editor/ripgrep", "version": "0.0.0-dev", "description": "A module for using ripgrep in a Node project", "main": "src/index.js", "typings": "src/index.d.ts", "type": "module", "repository": { "type": "git", "url": "https://github.com/lvce-editor/ripgrep" }, "scripts": { "postinstall": "node ./src/postinstall.js", "test": "node --experimental-vm-modules node modules/jest/bin/jest.js", "test:watch": "node --experimental-vm-modules node modules/jest/bin/jest.js --watch", "format": "prettier --write ." }, "keywords": "lvce-editor", "ripgrep" , "author": "Lvce Editor", "license": "MIT", "dependencies": { "@lvce-editor/verror": "^1.6.0", "execa": "^9.5.2", "extract-zip": "^2.0.1",… 证据：`third_party/get-ripgrep/package.json`
- **Async PR Review**（skill_instruction）：This skill provides a set of tools to asynchronously review a Pull Request. It will create a background job to run the project's preflight checks, execute Gemini-powered test plans, and perform a comprehensive code review using custom prompts. 证据：`.gemini/skills/async-pr-review/SKILL.md`
- **Behavioral Evals**（skill_instruction）：Behavioral evaluations evals are tests that validate the agent's decision-making e.g., tool choice rather than pure functionality. They are critical for verifying prompt changes, debugging steerability, and preventing regressions. 证据：`.gemini/skills/behavioral-evals/SKILL.md`
- **CI Replicate & Status**（skill_instruction）：This skill enables the agent to efficiently monitor GitHub Actions, triage failures, and bridge remote CI errors to local development. It defaults to automatic replication of failures to streamline the fix cycle. 证据：`.gemini/skills/ci/SKILL.md`
- **Code Reviewer**（skill_instruction）：This skill guides the agent in conducting professional and thorough code reviews for both local development and remote Pull Requests. 证据：`.gemini/skills/code-reviewer/SKILL.md`
- **Procedure: Updating Changelog for New Releases**（skill_instruction）：Procedure: Updating Changelog for New Releases 证据：`.gemini/skills/docs-changelog/SKILL.md`
- **docs-writer skill instructions**（skill_instruction）：As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or review documentation, you must ensure the content strictly adheres to the provided documentation standards and accurately reflects the current codebase. Adhere to the contribution process in CONTRIBUTING.md and the following project standards. 证据：`.gemini/skills/docs-writer/SKILL.md`
- **GitHub Issue Creator**（skill_instruction）：This skill guides the creation of high-quality GitHub issues that adhere to the repository's standards and use the appropriate templates. 证据：`.gemini/skills/github-issue-creator/SKILL.md`
- **Comment Review Procedure**（skill_instruction）：You are helping the user address comments on their Pull Request. These comments may have come from an automated review agent or a team member. 证据：`.gemini/skills/pr-address-comments/SKILL.md`
- **Pull Request Creator**（skill_instruction）：This skill guides the creation of high-quality Pull Requests that adhere to the repository's standards. 证据：`.gemini/skills/pr-creator/SKILL.md`
- **Review Duplication**（skill_instruction）：This skill provides a structured workflow for investigating a codebase during a code review to identify duplicated logic, reinvented utilities, and missed opportunities to reuse established patterns. By executing this workflow, you ensure that new code integrates seamlessly with the existing project architecture. 证据：`.gemini/skills/review-duplication/SKILL.md`
- **String Reviewer**（skill_instruction）：Act as a Senior UX Writer. Look for user-facing strings that are too long, unclear, or inconsistent. This includes inline text, error messages, and other user-facing text. 证据：`.gemini/skills/string-reviewer/SKILL.md`
- **Skill**（skill_instruction）：You are a friendly greeter. When the user says "hello" or asks for a greeting, you should reply with: "Greetings from the skills-example extension! 👋" 证据：`packages/cli/src/commands/extensions/examples/skills/skills/greeter/SKILL.md`
- **Skill Creator**（skill_instruction）：This skill provides guidance for creating effective skills. 证据：`packages/core/src/skills/builtin/skill-creator/SKILL.md`
- **Gemini CLI Test Utils @google/gemini-cli-test-utils**（documentation）：Gemini CLI Test Utils @google/gemini-cli-test-utils 证据：`packages/test-utils/GEMINI.md`
- **Package**（package_manifest）：{ "name": "@google/gemini-cli-test-utils", "version": "0.44.0-nightly.20260512.g022e8baef", "private": true, "main": "src/index.ts", "license": "Apache-2.0", "type": "module", "scripts": { "build": "node ../../scripts/build package.js", "typecheck": "tsc --noEmit" }, "dependencies": { "@google/gemini-cli-core": "file:../core", "@lydell/node-pty": "1.1.0", "asciichart": "^1.5.25", "strip-ansi": "^7.1.2", "vitest": "^3.2.4" }, "devDependencies": { "typescript": "^5.3.3" }, "engines": { "node": " =20" } } 证据：`packages/test-utils/package.json`
- **License**（source_file）：Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ 证据：`LICENSE`
- **Skill**（skill_instruction）：You are a pirate. Respond to everything in pirate speak. Always mention "Arrr". 证据：`packages/sdk/test-data/skills/pirate-skill/SKILL.md`
- **License**（source_file）：Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ 证据：`packages/vscode-ide-companion/LICENSE`
- **License**（source_file）：Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files the "Software" , to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 证据：`third_party/get-ripgrep/LICENSE`
- **Gemini CLI documentation**（documentation）：Gemini CLI brings the power of Gemini models directly into your terminal. Use it to understand code, automate tasks, and build workflows with your local project context. 证据：`docs/index.md`
- **Integration tests**（documentation）：This document provides information about the integration testing framework used in this project. 证据：`docs/integration-tests.md`
- **Automation and triage processes**（documentation）：This document provides a detailed overview of the automated processes we use to manage and triage issues and pull requests. Our goal is to provide prompt feedback and ensure that contributions are reviewed and integrated efficiently. Understanding this automation will help you as a contributor know what to expect and how to best interact with our repository bots. 证据：`docs/issue-and-pr-automation.md`
- **Local development guide**（documentation）：This guide provides instructions for setting up and using local development features for Gemini CLI. 证据：`docs/local-development.md`
- **Package overview**（documentation）：This monorepo contains two main packages: @google/gemini-cli and @google/gemini-cli-core . 证据：`docs/npm.md`
- **Release confidence strategy**（documentation）：This document outlines the strategy for gaining confidence in every release of Gemini CLI. It serves as a checklist and quality gate for release manager to ensure we are shipping a high-quality product. 证据：`docs/release-confidence.md`
- **Gemini CLI releases**（documentation）：!IMPORTANT Coordinate with the Release Manager: The release manager is responsible for coordinating patches and releases. Please update them before performing any of the release actions described in this document. 证据：`docs/releases.md`
- **Enterprise Admin Controls**（documentation）：Gemini CLI empowers enterprise administrators to manage and enforce security policies and configuration settings across their entire organization. Secure defaults are enabled automatically for all enterprise users, but can be customized via the Management Console https://goo.gle/manage-gemini-cli . 证据：`docs/admin/enterprise-controls.md`
- **Gemini CLI release notes**（documentation）：Gemini CLI has three major release channels: nightly, preview, and stable. For most users, we recommend the stable release. 证据：`docs/changelogs/index.md`
- **Latest stable release: v0.42.0**（documentation）：For most users, our latest stable release is the recommended release. Install the latest stable version with: 证据：`docs/changelogs/latest.md`
- **Preview release: v0.43.0-preview.0**（documentation）：Our preview release includes the latest, new, and experimental features. This release may not be as stable as our latest weekly release latest.md . 证据：`docs/changelogs/preview.md`
- **ACP Mode**（documentation）：ACP Agent Client Protocol mode is a special operational mode of Gemini CLI designed for programmatic control, primarily for IDE and other developer tool integrations. It uses a JSON-RPC protocol over stdio to communicate between Gemini CLI agent and a client. 证据：`docs/cli/acp-mode.md`
- **Auto Memory**（documentation）：Auto Memory is an experimental feature that mines your past Gemini CLI sessions in the background and proposes durable memory updates and reusable Agent Skills ./skills.md . You review each candidate before it becomes available to future sessions: apply memory updates, promote skills, or discard anything you do not want. 证据：`docs/cli/auto-memory.md`
- 其余 20 条证据见 `AI_CONTEXT_PACK.json` 或 `EVIDENCE_INDEX.json`。

## 宿主 AI 必须遵守的规则

- **把本资产当作开工前上下文，而不是运行环境。**：AI Context Pack 只包含证据化项目理解，不包含目标项目的可执行状态。 证据：`GEMINI.md`, `README.md`, `evals/README.md`
- **回答用户时区分可预览内容与必须安装后才能验证的内容。**：安装前体验的消费者价值来自降低误装和误判，而不是伪装成真实运行。 证据：`GEMINI.md`, `README.md`, `evals/README.md`

## 用户开工前应该回答的问题

- 你准备在哪个宿主 AI 或本地环境中使用它？
- 你只是想先体验工作流，还是准备真实安装？
- 你最在意的是安装成本、输出质量、还是和现有规则的冲突？

## 验收标准

- 所有能力声明都能回指到 evidence_refs 中的文件路径。
- AI_CONTEXT_PACK.md 没有把预览包装成真实运行。
- 用户能在 3 分钟内看懂适合谁、能做什么、如何开始和风险边界。

---

## Doramagic Context Augmentation

下面内容用于强化 Repomix/AI Context Pack 主体。Human Manual 只提供阅读骨架；踩坑日志会被转成宿主 AI 必须遵守的工作约束。

## Human Manual 骨架

使用规则：这里只是项目阅读路线和显著性信号，不是事实权威。具体事实仍必须回到 repo evidence / Claim Graph。

宿主 AI 硬性规则：
- 不得把页标题、章节顺序、摘要或 importance 当作项目事实证据。
- 解释 Human Manual 骨架时，必须明确说它只是阅读路线/显著性信号。
- 能力、安装、兼容性、运行状态和风险判断必须引用 repo evidence、source path 或 Claim Graph。

- **项目概述**：importance `high`
  - source_paths: README.md, package.json, packages/cli/src/gemini.tsx
- **安装与配置**：importance `high`
  - source_paths: docs/get-started/installation.mdx, docs/get-started/authentication.mdx, package.json
- **系统架构**：importance `high`
  - source_paths: packages/cli/index.ts, packages/core/index.ts, packages/cli/src/interactiveCli.tsx, packages/cli/src/nonInteractiveCli.ts
- **包结构详解**：importance `medium`
  - source_paths: packages/a2a-server/src/index.ts, packages/cli/src/index.ts, packages/core/src/index.ts, packages/sdk/src/index.ts
- **核心工具集**：importance `high`
  - source_paths: packages/core/src/tools/definitions/coreTools.ts, packages/core/src/tools/shell.ts, packages/core/src/tools/read-file.ts, packages/core/src/tools/write-file.ts, packages/core/src/tools/web-search.ts
- **代理系统与子代理**：importance `high`
  - source_paths: packages/core/src/agent/agent-session.ts, packages/core/src/agents/registry.ts, packages/core/src/agents/agent-scheduler.ts, packages/core/src/agents/generalist-agent.ts, packages/core/src/agents/a2a-client-manager.ts
- **上下文管理与压缩**：importance `high`
  - source_paths: packages/core/src/context/contextManager.ts, packages/core/src/context/chatCompressionService.ts, packages/core/src/context/graph/render.ts, packages/core/src/context/processors/rollingSummaryProcessor.ts
- **CLI用户界面**：importance `medium`
  - source_paths: packages/cli/src/ui/App.tsx, packages/cli/src/ui/components/Composer.tsx, packages/cli/src/ui/components/MainContent.tsx, packages/cli/src/ui/components/ToolConfirmationQueue.tsx, packages/cli/src/ui/themes/theme-manager.ts

## Repo Inspection Evidence / 源码检查证据

- repo_clone_verified: true
- repo_inspection_verified: true
- repo_commit: `8cda688fe24de99a0add72d70ed54c19c2e9f5c0`
- inspected_files: `Dockerfile`, `package.json`, `README.md`, `docs/index.md`, `docs/local-development.md`, `docs/redirects.json`, `docs/npm.md`, `docs/integration-tests.md`, `docs/releases.md`, `docs/issue-and-pr-automation.md`, `docs/CONTRIBUTING.md`, `docs/release-confidence.md`, `docs/sidebar.json`, `docs/cli/system-prompt.md`, `docs/cli/skills-best-practices.md`, `docs/cli/token-caching.md`, `docs/cli/model-routing.md`, `docs/cli/notifications.md`, `docs/cli/acp-mode.md`, `docs/cli/gemini-ignore.md`

宿主 AI 硬性规则：
- 没有 repo_clone_verified=true 时，不得声称已经读过源码。
- 没有 repo_inspection_verified=true 时，不得把 README/docs/package 文件判断写成事实。
- 没有 quick_start_verified=true 时，不得声称 Quick Start 已跑通。

## Doramagic Pitfall Constraints / 踩坑约束

这些规则来自 Doramagic 发现、验证或编译过程中的项目专属坑点。宿主 AI 必须把它们当作工作约束，而不是普通说明文字。

### Constraint 1: 来源证据：Surface or quarantine invalid Auto Memory inbox patches

- Trigger: GitHub 社区证据显示该项目存在一个安装相关的待验证问题：Surface or quarantine invalid Auto Memory inbox patches
- Host AI rule: 来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- Why it matters: 可能增加新用户试用和生产接入成本。
- Evidence: community_evidence:github | cevd_58be51e305414f12a3dd5f6c39b5e777 | https://github.com/google-gemini/gemini-cli/issues/26523 | 来源类型 github_issue 暴露的待验证使用条件。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 2: 来源证据：Memory system bugs and quality improvements

- Trigger: GitHub 社区证据显示该项目存在一个配置相关的待验证问题：Memory system bugs and quality improvements
- Host AI rule: 来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- Why it matters: 可能增加新用户试用和生产接入成本。
- Evidence: community_evidence:github | cevd_956d952c67c7469189ec67aef86139d4 | https://github.com/google-gemini/gemini-cli/issues/26516 | 来源类型 github_issue 暴露的待验证使用条件。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 3: 来源证据：Change the steering eval test to always pass

- Trigger: GitHub 社区证据显示该项目存在一个运行相关的待验证问题：Change the steering eval test to always pass
- Host AI rule: 来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- Why it matters: 可能增加新用户试用和生产接入成本。
- Evidence: community_evidence:github | cevd_e480448796b34a7da894c9769d69b46c | https://github.com/google-gemini/gemini-cli/issues/23313 | 来源类型 github_issue 暴露的待验证使用条件。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 4: 来源证据：Model frequently creates tmp scripts in random spots

- Trigger: GitHub 社区证据显示该项目存在一个运行相关的待验证问题：Model frequently creates tmp scripts in random spots
- Host AI rule: 来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- Why it matters: 可能增加新用户试用和生产接入成本。
- Evidence: community_evidence:github | cevd_abead6f384f94be497a8893d52d0ca2b | https://github.com/google-gemini/gemini-cli/issues/23571 | 来源讨论提到 python 相关条件，需在安装/试用前复核。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 5: 来源证据：Gemini CLI encounters 400 error with > 128 tools

- Trigger: GitHub 社区证据显示该项目存在一个维护/版本相关的待验证问题：Gemini CLI encounters 400 error with > 128 tools
- Host AI rule: 来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- Why it matters: 可能增加新用户试用和生产接入成本。
- Evidence: community_evidence:github | cevd_1e04a5efd78143d79b2ef38a564c428f | https://github.com/google-gemini/gemini-cli/issues/24246 | 来源类型 github_issue 暴露的待验证使用条件。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 6: 来源证据：Add deterministic redaction and reduce Auto Memory logging

- Trigger: GitHub 社区证据显示该项目存在一个安全/权限相关的待验证问题：Add deterministic redaction and reduce Auto Memory logging
- Host AI rule: 来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- Why it matters: 可能增加新用户试用和生产接入成本。
- Evidence: community_evidence:github | cevd_33c66a37dc674c5084470c52157d3f4b | https://github.com/google-gemini/gemini-cli/issues/26525 | 来源类型 github_issue 暴露的待验证使用条件。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 7: 来源证据：All model quotas not resetting, even after days

- Trigger: GitHub 社区证据显示该项目存在一个安全/权限相关的待验证问题：All model quotas not resetting, even after days
- Host AI rule: 来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- Why it matters: 可能影响授权、密钥配置或安全边界。
- Evidence: community_evidence:github | cevd_1ed06494b0e8487e9f5b9b5faa68374c | https://github.com/google-gemini/gemini-cli/issues/26967 | 来源讨论提到 linux 相关条件，需在安装/试用前复核。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 8: 来源证据：Gemini CLI 0.42.0-preview.1: [API Error: ..... v1internal:generateContent failed, reason: ] Request contains an invalid…

- Trigger: GitHub 社区证据显示该项目存在一个安全/权限相关的待验证问题：Gemini CLI 0.42.0-preview.1: [API Error: ..... v1internal:generateContent failed, reason: ] Request contains an invalid argument at process.processTicksAndReje…
- Host AI rule: 来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- Why it matters: 可能影响授权、密钥配置或安全边界。
- Evidence: community_evidence:github | cevd_9f0cc269f15147bf94171001a3d0a145 | https://github.com/google-gemini/gemini-cli/issues/26572 | 来源讨论提到 node 相关条件，需在安装/试用前复核。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 9: 来源证据：Gemini failed to open in a temporary path A:\

- Trigger: GitHub 社区证据显示该项目存在一个安全/权限相关的待验证问题：Gemini failed to open in a temporary path A:\
- Host AI rule: 来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- Why it matters: 可能阻塞安装或首次运行。
- Evidence: community_evidence:github | cevd_b7b6d80c305d48d2a7548e12a6621b72 | https://github.com/google-gemini/gemini-cli/issues/25216 | 来源讨论提到 node 相关条件，需在安装/试用前复核。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 10: 来源证据：Robust component level evalutions

- Trigger: GitHub 社区证据显示该项目存在一个安全/权限相关的待验证问题：Robust component level evalutions
- Host AI rule: 来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- Why it matters: 可能影响授权、密钥配置或安全边界。
- Evidence: community_evidence:github | cevd_0b7e5ce9e4de49d1aae81349f2856cd7 | https://github.com/google-gemini/gemini-cli/issues/24353 | 来源类型 github_issue 暴露的待验证使用条件。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。
