# agent-browser - Doramagic AI Context Pack

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

## 充分原则

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

## 给宿主 AI 的使用方式

你正在读取 Doramagic 为 agent-browser 编译的 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_0004` supported 0.86
- **希望把专业流程带进宿主 AI 的用户**：仓库包含 Skill 文档。 证据：`skill-data/agentcore/SKILL.md`, `skill-data/core/SKILL.md`, `skill-data/dogfood/SKILL.md`, `skill-data/electron/SKILL.md` 等 Claim：`clm_0005` supported 0.86

## 它能做什么

- **AI Skill / Agent 指令资产库**（可做安装前预览）：项目包含可被宿主 AI 读取的 Skill 或 Agent 指令文件，可用于把专业流程带入 Claude、Codex、Cursor 等宿主。 证据：`skill-data/agentcore/SKILL.md`, `skill-data/core/SKILL.md`, `skill-data/dogfood/SKILL.md`, `skill-data/electron/SKILL.md` 等 Claim：`clm_0001` supported 0.86
- **多宿主安装与分发**（需要安装后验证）：项目包含插件或 marketplace 配置，说明它面向一个或多个 AI 宿主的安装和分发。 证据：`.claude-plugin/marketplace.json` Claim：`clm_0002` supported 0.86
- **命令行启动或安装流程**（需要安装后验证）：项目文档中存在可执行命令，真实使用需要在本地或宿主环境中运行这些命令。 证据：`AGENTS.md`, `README.md` Claim：`clm_0003` supported 0.86

## 怎么开始

- `npm install -g agent-browser` 证据：`README.md` Claim：`clm_0006` supported 0.86
- `npm install agent-browser` 证据：`README.md` Claim：`clm_0007` supported 0.86
- `git clone https://github.com/vercel-labs/agent-browser` 证据：`README.md` Claim：`clm_0008` supported 0.86
- `npx skills add vercel-labs/agent-browser` 证据：`README.md` Claim：`clm_0009` supported 0.86
- `npm install -g appium` 证据：`README.md` Claim：`clm_0010` supported 0.86
- `npx opensrc <package>           # npm package (e.g., npx opensrc zod)` 证据：`AGENTS.md` Claim：`clm_0011` supported 0.86
- `npx opensrc pypi:<package>      # Python package (e.g., npx opensrc pypi:requests)` 证据：`AGENTS.md` Claim：`clm_0012` supported 0.86
- `npx opensrc crates:<package>    # Rust crate (e.g., npx opensrc crates:serde)` 证据：`AGENTS.md` Claim：`clm_0013` supported 0.86
- `npx opensrc <owner>/<repo>      # GitHub repo (e.g., npx opensrc vercel/ai)` 证据：`AGENTS.md` Claim：`clm_0014` supported 0.86

## 继续前判断卡

- **当前建议**：需要管理员/安全审批
- **为什么**：继续前可能涉及密钥、账号、外部服务或敏感上下文，建议先经过管理员或安全审批。

### 30 秒判断

- **现在怎么做**：需要管理员/安全审批
- **最小安全下一步**：先跑 Prompt Preview；若涉及凭证或企业环境，先审批再试装
- **先别相信**：真实输出质量不能在安装前相信。
- **继续会触碰**：命令执行、宿主 AI 配置、本地环境或项目文件

### 现在可以相信

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

### 现在还不能相信

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

### 继续会触碰什么

- **命令执行**：包管理器、网络下载、本地插件目录、项目配置或用户主目录。 原因：运行第一条命令就可能产生环境改动；必须先判断是否值得跑。 证据：`AGENTS.md`, `README.md`
- **宿主 AI 配置**：Claude/Codex/Cursor/Gemini/OpenCode 等宿主的 plugin、Skill 或规则加载配置。 原因：宿主配置会改变 AI 后续工作方式，可能和用户已有规则冲突。 证据：`.claude-plugin/marketplace.json`, `AGENTS.md`, `skill-data/agentcore/SKILL.md`, `skill-data/core/SKILL.md` 等
- **本地环境或项目文件**：安装结果、插件缓存、项目配置或本地依赖目录。 原因：安装前无法证明写入范围和回滚方式，需要隔离验证。 证据：`.claude-plugin/marketplace.json`, `AGENTS.md`, `README.md`
- **环境变量 / API Key**：项目入口文档明确出现 API key、token、secret 或账号凭证配置。 原因：如果真实安装需要凭证，应先使用测试凭证并经过权限/合规判断。 证据：`CHANGELOG.md`, `README.md`, `evals/README.md`, `evals/lib/claude.ts` 等
- **宿主 AI 上下文**：AI Context Pack、Prompt Preview、Skill 路由、风险规则和项目事实。 原因：导入上下文会影响宿主 AI 后续判断，必须避免把未验证项包装成事实。

### 最小安全下一步

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

### 退出方式

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

## 哪些只能预览

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

## 哪些必须安装后验证

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

## 边界与风险判断卡

- **把安装前预览误认为真实运行**：用户可能高估项目已经完成的配置、权限和兼容性验证。 处理方式：明确区分 prompt_preview_can_do 与 runtime_required。 Claim：`clm_0015` inferred 0.45
- **宿主 AI 插件或 Skill 规则冲突**：新规则可能改变用户现有宿主 AI 的工作方式。 处理方式：安装前先检查插件 manifest 和 Skill 文件，必要时隔离测试。 证据：`.claude-plugin/marketplace.json` Claim：`clm_0016` supported 0.86
- **命令执行会修改本地环境**：安装命令可能写入用户主目录、宿主插件目录或项目配置。 处理方式：先在隔离环境或测试账号中运行。 证据：`AGENTS.md`, `README.md` Claim：`clm_0017` 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 体验。 证据：`skill-data/agentcore/SKILL.md`, `skill-data/core/SKILL.md`, `skill-data/dogfood/SKILL.md`, `skill-data/electron/SKILL.md` 等 Claim：`clm_0001` supported 0.86
- **多宿主安装与分发**：先说明这是安装后验证能力，再给出安装前检查清单。 边界：必须真实安装或运行后验证。 证据：`.claude-plugin/marketplace.json` Claim：`clm_0002` supported 0.86
- **命令行启动或安装流程**：先说明这是安装后验证能力，再给出安装前检查清单。 边界：必须真实安装或运行后验证。 证据：`AGENTS.md`, `README.md` Claim：`clm_0003` supported 0.86

### 上下文规模

- 文件总数：315
- 重要文件覆盖：40/315
- 证据索引条目：70
- 角色 / Skill 条目：7

### 证据不足时的处理

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

## Prompt Recipes

### 适配判断

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

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

### 安装前体验

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

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

请严格输出四段：
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
请基于 agent-browser 的 AI Context Pack，生成一段我可以粘贴给宿主 AI 的开工前指令。这段指令必须遵守 not_runtime=true，不能声称项目已经安装、运行或产生真实结果。
```


## 角色 / Skill 索引

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

- **agentcore**（skill）：Run agent-browser on AWS Bedrock AgentCore cloud browsers. Use when the user wants to use AgentCore, run browser automation on AWS, use a cloud browser with AWS credentials, or needs a managed browser session backed by AWS infrastructure. Triggers include "use agentcore", "run on AWS", "cloud browser with AWS", "bedrock browser", "agentcore session", or any task requiring AWS-hosted browser automation. 激活提示：当用户任务与“agentcore”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skill-data/agentcore/SKILL.md`
- **core**（skill）：Core agent-browser usage guide. Read this before running any agent-browser commands. Covers the snapshot-and-ref workflow, navigating pages, interacting with elements click, fill, type, select , extracting text and data, taking screenshots, managing tabs, handling forms and auth, waiting for content, running multiple browser sessions in parallel, and troubleshooting common failures. Use when the user asks to interac… 激活提示：当用户任务与“core”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skill-data/core/SKILL.md`
- **dogfood**（skill）：Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to "dogfood", "QA", "exploratory test", "find issues", "bug hunt", "test this app/site/platform", or review the quality of a web application. Produces a structured report with full reproduction evidence -- step-by-step screenshots, repro videos, and detailed repro steps for every issue -- so findings can be… 激活提示：当用户任务与“dogfood”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skill-data/dogfood/SKILL.md`
- **electron**（skill）：Automate Electron desktop apps VS Code, Slack, Discord, Figma, Notion, Spotify, etc. using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include "automate Slack app", "control VS Code", "interact with Discord app", "test this Electron app", "connect… 激活提示：当用户任务与“electron”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skill-data/electron/SKILL.md`
- **slack**（skill）：Interact with Slack workspaces using browser automation. Use when the user needs to check unread channels, navigate Slack, send messages, extract data, find information, search conversations, or automate any Slack task. Triggers include "check my Slack", "what channels have unreads", "send a message to", "search Slack for", "extract from Slack", "find who said", or any task requiring programmatic Slack interaction. 激活提示：当用户任务与“slack”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skill-data/slack/SKILL.md`
- **vercel-sandbox**（skill）：Run agent-browser + Chrome inside Vercel Sandbox microVMs for browser automation from any Vercel-deployed app. Use when the user needs browser automation in a Vercel app Next.js, SvelteKit, Nuxt, Remix, Astro, etc. , wants to run headless Chrome without binary size limits, needs persistent browser sessions across commands, or wants ephemeral isolated browser environments. Triggers include "Vercel Sandbox browser", "… 激活提示：当用户任务与“vercel-sandbox”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skill-data/vercel-sandbox/SKILL.md`
- **agent-browser**（skill）：Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate… 激活提示：当用户任务与“agent-browser”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/agent-browser/SKILL.md`

## 证据索引

- 共索引 70 条证据。

- **AGENTS.md**（documentation）：Instructions for AI coding agents working with this codebase. 证据：`AGENTS.md`
- **agent-browser**（documentation）：Browser automation CLI for AI agents. Fast native Rust CLI. 证据：`README.md`
- **agent-browser Daemon Benchmarks**（documentation）：Compares command latency and system metrics between the Node.js daemon published npm version and the Rust native daemon built from source , running inside a Vercel Sandbox https://vercel.com/docs/sandbox microVM. 证据：`benchmarks/README.md`
- **Skills Evals**（documentation）：Tests whether the thin SKILL.md + CLI-served skills approach works: do agents load the right skill via agent-browser skills get , then produce correct agent-browser commands? 证据：`evals/README.md`
- **agent-browser Environments**（documentation）：A demo of agent-browser running in a Vercel Sandbox. Pick a URL, take a screenshot or accessibility snapshot, and watch each command execute in real time. 证据：`examples/environments/README.md`
- **Package**（package_manifest）：{ "name": "agent-browser-benchmarks", "version": "1.0.0", "private": true, "type": "module", "scripts": { "bench": "tsx bench.ts" }, "dependencies": { "@vercel/sandbox": "^1.8.0", "tsx": "^4.19.0" } } 证据：`benchmarks/package.json`
- **Package**（package_manifest）：{ "name": "docs", "version": "0.1.0", "private": true, "scripts": { "dev": "portless agent-browser next dev", "build": "next build", "start": "next start", "lint": "eslint" }, "dependencies": { "@ai-sdk/react": "^3.0.80", "@mdx-js/loader": "^3.1.1", "@mdx-js/mdx": "^3.1.1", "@mdx-js/react": "^3.1.1", "@next/mdx": "^16.1.6", "@streamdown/code": "^1.0.2", "@upstash/ratelimit": "^2.0.8", "@upstash/redis": "^1.36.2", "@vercel/analytics": "^1.6.1", "@vercel/speed-insights": "^1.3.1", "ai": "^6.0.78", "bash-tool": "^1.3.14", "clsx": "^2.1.1", "geist": "^1.7.0", "just-bash": "^2.9.6", "next": "16.1.1", "next-themes": "^0.4.6", "radix-ui": "^1.4.3", "react": "19.2.3", "react-dom": "19.2.3", "shiki"… 证据：`docs/package.json`
- **Package**（package_manifest）：{ "name": "agent-browser-evals", "version": "1.0.0", "private": true, "type": "module", "scripts": { "eval": "bun run run.ts", "eval:claude": "bun run run.ts --provider claude", "eval:codex": "bun run run.ts --provider codex", "eval:judge": "bun run run.ts --judge", "eval:json": "bun run run.ts --json" }, "devDependencies": { "bun-types": "^1.3.12" } } 证据：`evals/package.json`
- **Package**（package_manifest）：{ "name": "agent-browser", "version": "0.27.0", "description": "Browser automation CLI for AI agents", "type": "module", "files": "bin", "scripts", "skill-data", "skills" , "bin": { "agent-browser": "./bin/agent-browser.js" }, "scripts": { "version:sync": "node scripts/sync-version.js", "version": "npm run version:sync && git add cli/Cargo.toml", "build:native": "npm run version:sync && cargo build --release --manifest-path cli/Cargo.toml && node scripts/copy-native.js", "build:linux": "npm run version:sync && docker compose -f docker/docker-compose.yml run --rm build-linux", "build:macos": "npm run version:sync && cargo build --release --manifest-path cli/Cargo.toml --target aarch64-apple-… 证据：`package.json`
- **Package**（package_manifest）：{ "name": "agent-browser-environments", "version": "0.1.0", "private": true, "scripts": { "dev": "next dev", "build": "next build", "start": "next start", "lint": "next lint" }, "dependencies": { "@base-ui/react": "^1.2.0", "@tailwindcss/postcss": "^4.2.1", "@upstash/ratelimit": "^2.0.8", "@upstash/redis": "^1.36.4", "@vercel/sandbox": "^1.0.0", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "dotenv": "^17.3.1", "geist": "^1.7.0", "lucide-react": "^0.577.0", "next": "^16.1.6", "postcss": "^8.5.8", "react": "^19.2.4", "react-dom": "^19.2.4", "react-resizable-panels": "^4.7.2", "shadcn": "^4.0.2", "tailwind-merge": "^3.5.0", "tailwindcss": "^4.2.1", "tw-animate-css": "^1.4.0" }, "dev… 证据：`examples/environments/package.json`
- **Package**（package_manifest）：{ "name": "dashboard", "version": "0.27.0", "private": true, "scripts": { "dev": "next dev", "build": "next build", "start": "next start" }, "dependencies": { "@ai-sdk/react": "^3.0.148", "@radix-ui/react-popover": "^1.1.15", "ai": "^6.0.146", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "cmdk": "^1.1.1", "jotai": "^2.19.0", "lucide-react": "^1.7.0", "next": "16.1.1", "next-themes": "^0.4.6", "radix-ui": "^1.4.3", "react": "^19.1.0", "react-dom": "^19.1.0", "react-resizable-panels": "^4.7.6", "shadcn": "^4.1.0", "streamdown": "^2.5.0", "tailwind-merge": "^3.5.0", "tw-animate-css": "^1.4.0" }, "devDependencies": { "@tailwindcss/postcss": "^4.1.3", "@types/node": "^22.14.0", "@type… 证据：`packages/dashboard/package.json`
- **AWS Bedrock AgentCore**（skill_instruction）：Run agent-browser on cloud browser sessions hosted by AWS Bedrock AgentCore. All standard agent-browser commands work identically; the only difference is where the browser runs. 证据：`skill-data/agentcore/SKILL.md`
- **agent-browser core**（skill_instruction）：Fast browser automation CLI for AI agents. Chrome/Chromium via CDP, no Playwright or Puppeteer dependency. Accessibility-tree snapshots with compact @eN refs let agents interact with pages in ~200-400 tokens instead of parsing raw HTML. 证据：`skill-data/core/SKILL.md`
- **Dogfood**（skill_instruction）：Systematically explore a web application, find issues, and produce a report with full reproduction evidence for every finding. 证据：`skill-data/dogfood/SKILL.md`
- **Electron App Automation**（skill_instruction）：Automate any Electron desktop app using agent-browser. Electron apps are built on Chromium and expose a Chrome DevTools Protocol CDP port that agent-browser can connect to, enabling the same snapshot-interact workflow used for web pages. 证据：`skill-data/electron/SKILL.md`
- **Slack Automation**（skill_instruction）：Interact with Slack workspaces to check messages, extract data, and automate common tasks. 证据：`skill-data/slack/SKILL.md`
- **Browser Automation with Vercel Sandbox**（skill_instruction）：Browser Automation with Vercel Sandbox 证据：`skill-data/vercel-sandbox/SKILL.md`
- **agent-browser**（skill_instruction）：Fast browser automation CLI for AI agents. Chrome/Chromium via CDP with accessibility-tree snapshots and compact @eN element refs. 证据：`skills/agent-browser/SKILL.md`
- **Marketplace**（structured_config）：{ "$schema": "https://anthropic.com/claude-code/marketplace.schema.json", "name": "agent-browser", "description": "Browser automation for AI agents", "owner": { "name": "Vercel", "email": "support@vercel.com" }, "plugins": { "name": "agent-browser", "description": "Automates browser interactions for web testing, form filling, screenshots, and data extraction", "source": "./", "strict": false, "skills": "./skills/agent-browser" , "category": "development" } } 证据：`.claude-plugin/marketplace.json`
- **License**（source_file）：Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ 证据：`LICENSE`
- **agent-browser**（documentation）：- React introspection - First-class React DevTools integration with new react tree , react inspect , react renders start stop , and react suspense commands for full component-tree visibility, per-fiber props/hooks/state inspection, render profiling with mount/re-render counts and change details, and Suspense boundary classification with root-cause grouping and recommendations. React DevTools hook is vendored MIT and embedded in the binary with zero runtime dependencies 1257 - Web Vitals - New vitals url command that reports Core Web Vitals LCP, CLS, TTFB, FCP, INP plus React hydration phases for any page 1257 - SPA navigation - New pushstate command for client-side SPA navigations without a… 证据：`CHANGELOG.md`
- **Authentication Patterns**（documentation）：Login flows, session persistence, OAuth, 2FA, and authenticated browsing. 证据：`skill-data/core/references/authentication.md`
- **Command Reference**（documentation）：Complete reference for all agent-browser commands. For quick start and common patterns, see SKILL.md. 证据：`skill-data/core/references/commands.md`
- **Profiling**（documentation）：Capture Chrome DevTools performance profiles during browser automation for performance analysis. 证据：`skill-data/core/references/profiling.md`
- **Session Management**（documentation）：Multiple isolated browser sessions with state persistence and concurrent browsing. 证据：`skill-data/core/references/session-management.md`
- **Snapshot and Refs**（documentation）：Compact element references that reduce context usage dramatically for AI agents. 证据：`skill-data/core/references/snapshot-refs.md`
- **Trust boundaries**（documentation）：Safety rules that apply to every agent-browser task, across all sites and frameworks. Read before driving a real user's browser session. 证据：`skill-data/core/references/trust-boundaries.md`
- **Video Recording**（documentation）：Capture browser automation as video for debugging, documentation, or verification. 证据：`skill-data/core/references/video-recording.md`
- **Issue Taxonomy**（documentation）：Reference for categorizing issues found during dogfooding. Read this at the start of a dogfood session to calibrate what to look for. 证据：`skill-data/dogfood/references/issue-taxonomy.md`
- **Dogfood Report: {APP NAME}**（documentation）：Field Value ------- ------- Date {DATE} App URL {URL} Session {SESSION NAME} Scope {SCOPE} 证据：`skill-data/dogfood/templates/dogfood-report-template.md`
- **Common Slack Tasks & Patterns**（documentation）：Reference guide for common automations and data extraction patterns when interacting with Slack. 证据：`skill-data/slack/references/slack-tasks.md`
- **Slack Analysis Report**（documentation）：Date : DATE Workspace : WORKSPACE NAME Analyst : YOUR NAME Scope : WHAT YOU ANALYZED 证据：`skill-data/slack/templates/slack-report-template.md`
- **Agent Browser.Schema**（structured_config）：{ "$schema": "http://json-schema.org/draft-07/schema ", "title": "Agent Browser Configuration", "description": "Configuration file for agent-browser e.g., agent-browser.json or ~/.agent-browser/config.json ", "type": "object", "properties": { "headed": { "type": "boolean", "description": "Show browser window instead of running headless." }, "json": { "type": "boolean", "description": "Output in JSON format." }, "debug": { "type": "boolean", "description": "Enable debug output." }, "session": { "type": "string", "description": "Session identifier." }, "sessionName": { "type": "string", "description": "Auto-save/load state persistence name." }, "executablePath": { "type": "string", "descripti… 证据：`agent-browser.schema.json`
- **Tsconfig**（structured_config）：{ "compilerOptions": { "target": "ES2022", "module": "ESNext", "moduleResolution": "bundler", "esModuleInterop": true, "strict": true, "skipLibCheck": true, "outDir": "dist", "declaration": true }, "include": " .ts" } 证据：`benchmarks/tsconfig.json`
- **Components**（structured_config）：{ "$schema": "https://ui.shadcn.com/schema.json", "style": "new-york", "rsc": true, "tsx": true, "tailwind": { "config": "", "css": "src/app/globals.css", "baseColor": "neutral", "cssVariables": true, "prefix": "" }, "iconLibrary": "lucide", "aliases": { "components": "@/components", "utils": "@/lib/utils", "ui": "@/components/ui", "lib": "@/lib", "hooks": "@/hooks" }, "registries": {} } 证据：`docs/components.json`
- **Tsconfig**（structured_config）：{ "compilerOptions": { "target": "ES2017", "lib": "dom", "dom.iterable", "esnext" , "allowJs": true, "skipLibCheck": true, "strict": true, "noEmit": true, "esModuleInterop": true, "module": "esnext", "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, "jsx": "react-jsx", "incremental": true, "plugins": { "name": "next" } , "paths": { "@/ ": "./src/ " } }, "include": "next-env.d.ts", " / .ts", " / .tsx", ".next/types/ / .ts", ".next/dev/types/ / .ts", " / .mts" , "exclude": "node modules" } 证据：`docs/tsconfig.json`
- **Tsconfig**（structured_config）：{ "compilerOptions": { "target": "ESNext", "module": "ESNext", "moduleResolution": "bundler", "esModuleInterop": true, "strict": true, "skipLibCheck": true, "outDir": "dist", "declaration": true, "types": "bun-types" }, "include": " .ts", "lib/ / .ts", "cases/ / .ts" } 证据：`evals/tsconfig.json`
- **Browser Protocol**（structured_config）：{ "version": { "major": "1", "minor": "3" }, "domains": { "domain": "Accessibility", "experimental": true, "dependencies": "DOM" , "types": { "id": "AXNodeId", "description": "Unique accessibility node identifier.", "type": "string" }, { "id": "AXValueType", "description": "Enum of possible property types.", "type": "string", "enum": "boolean", "tristate", "booleanOrUndefined", "idref", "idrefList", "integer", "node", "nodeList", "number", "string", "computedString", "token", "tokenList", "domRelation", "role", "internalRole", "valueUndefined" }, { "id": "AXValueSourceType", "description": "Enum of possible property sources.", "type": "string", "enum": "attribute", "implicit", "style", "con… 证据：`cli/cdp-protocol/browser_protocol.json`
- **Js Protocol**（structured_config）：{ "version": { "major": "1", "minor": "3" }, "domains": { "domain": "Console", "description": "This domain is deprecated - use Runtime or Log instead.", "deprecated": true, "dependencies": "Runtime" , "types": { "id": "ConsoleMessage", "description": "Console message.", "type": "object", "properties": { "name": "source", "description": "Message source.", "type": "string", "enum": "xml", "javascript", "network", "console-api", "storage", "appcache", "rendering", "security", "other", "deprecation", "worker" }, { "name": "level", "description": "Message severity.", "type": "string", "enum": "log", "warning", "error", "debug", "info" }, { "name": "text", "description": "Message text.", "type":… 证据：`cli/cdp-protocol/js_protocol.json`
- **Schema**（structured_config）：{ "$schema": "http://json-schema.org/draft-07/schema ", "title": "Agent Browser Configuration", "description": "Configuration file for agent-browser e.g., agent-browser.json or ~/.agent-browser/config.json ", "type": "object", "properties": { "headed": { "type": "boolean", "description": "Show browser window instead of running headless." }, "json": { "type": "boolean", "description": "Output in JSON format." }, "debug": { "type": "boolean", "description": "Enable debug output." }, "session": { "type": "string", "description": "Session identifier." }, "sessionName": { "type": "string", "description": "Auto-save/load state persistence name." }, "executablePath": { "type": "string", "descripti… 证据：`docs/public/schema.json`
- **Components**（structured_config）：{ "$schema": "https://ui.shadcn.com/schema.json", "style": "base-nova", "rsc": true, "tsx": true, "tailwind": { "config": "", "css": "app/globals.css", "baseColor": "neutral", "cssVariables": true, "prefix": "" }, "iconLibrary": "lucide", "rtl": false, "aliases": { "components": "@/components", "utils": "@/lib/utils", "ui": "@/components/ui", "lib": "@/lib", "hooks": "@/hooks" }, "menuColor": "default", "menuAccent": "subtle", "registries": {} } 证据：`examples/environments/components.json`
- **Tsconfig**（structured_config）：{ "compilerOptions": { "target": "ES2017", "lib": "dom", "dom.iterable", "esnext" , "allowJs": true, "skipLibCheck": true, "strict": true, "noEmit": true, "esModuleInterop": true, "module": "esnext", "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, "jsx": "react-jsx", "incremental": true, "plugins": { "name": "next" } , "paths": { "@/ ": "./ " } }, "include": "next-env.d.ts", " / .ts", " / .tsx", ".next/types/ / .ts", ".next/dev/types/ / .ts" , "exclude": "node modules", "server" } 证据：`examples/environments/tsconfig.json`
- **Components**（structured_config）：{ "$schema": "https://ui.shadcn.com/schema.json", "style": "radix-nova", "rsc": true, "tsx": true, "tailwind": { "config": "", "css": "src/app/globals.css", "baseColor": "neutral", "cssVariables": true, "prefix": "" }, "iconLibrary": "lucide", "rtl": false, "aliases": { "components": "@/components", "utils": "@/lib/utils", "ui": "@/components/ui", "lib": "@/lib", "hooks": "@/hooks" }, "menuColor": "default", "menuAccent": "subtle", "registries": {} } 证据：`packages/dashboard/components.json`
- **Tsconfig**（structured_config）：{ "compilerOptions": { "target": "ES2017", "lib": "dom", "dom.iterable", "esnext" , "allowJs": true, "skipLibCheck": true, "strict": true, "noEmit": true, "esModuleInterop": true, "module": "esnext", "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, "jsx": "react-jsx", "incremental": true, "plugins": { "name": "next" } , "paths": { "@/ ": "./src/ " } }, "include": "next-env.d.ts", " / .ts", " / .tsx", ".next/types/ / .ts", ".next/dev/types/ / .ts" , "exclude": "node modules" } 证据：`packages/dashboard/tsconfig.json`
- **Dependencies**（source_file）：Native binaries keep the launcher scripts bin/agent-browser- bin/.install-method !bin/agent-browser !bin/agent-browser.cmd 证据：`.gitignore`
- **Pre Commit**（source_file）：node scripts/sync-version.js git add cli/Cargo.toml cli/Cargo.lock 证据：`.husky/pre-commit`
- **.prettierrc**（source_file）：{ "semi": true, "singleQuote": true, "trailingComma": "es5", "printWidth": 100, "tabWidth": 2 } 证据：`.prettierrc`
- **Vercel Sandbox credentials**（source_file）：Vercel Sandbox credentials SANDBOX VERCEL TOKEN= SANDBOX VERCEL TEAM ID= SANDBOX VERCEL PROJECT ID= 证据：`benchmarks/.env.example`
- **benchmarks/.gitignore**（source_file）：node modules/ results.json 证据：`benchmarks/.gitignore`
- **Bench**（source_file）：/ Node.js Daemon vs Rust Native Daemon benchmark. Compares the last published npm version Node.js daemon against the Rust-only build from a given branch, running real agent-browser commands inside a Vercel Sandbox. Captures: - Command latency per-scenario, with warmup + measured iterations + stddev - Cold start time first launch to daemon ready - Daemon memory RSS, peak RSS separated from browser memory - Daemon CPU time - Process tree daemon + browser children - Binary and distribution size on disk Usage: pnpm bench default: 10 iterations, 1 warmup pnpm bench -- --iterations 20 override iterations pnpm bench -- --warmup 2 override warmup count pnpm bench -- --json write results.json pnpm b… 证据：`benchmarks/bench.ts`
- **Scenarios**（source_file）：/ Benchmark scenarios for comparing Node.js daemon vs Rust native daemon. Each scenario defines CLI commands run via sandbox.runCommand "agent-browser", args . Setup/teardown commands run once and are not timed. The commands array is timed over N iterations. / 证据：`benchmarks/scenarios.ts`
- **!/usr/bin/env node**（source_file）：/ Cross-platform CLI wrapper for agent-browser This wrapper enables npx support on Windows where shell scripts don't work. For global installs, postinstall.js patches the shims to invoke the native binary directly zero overhead . / 证据：`bin/agent-browser.js`
- **Cargo**（source_file）：package name = "agent-browser" version = "0.27.0" edition = "2021" description = "Fast browser automation CLI for AI agents" license = "Apache-2.0" repository = "https://github.com/vercel-labs/agent-browser" homepage = "https://agent-browser.dev" readme = "../README.md" keywords = "browser", "automation", "ai", "cdp", "chrome" categories = "command-line-utilities", "web-programming" 证据：`cli/Cargo.toml`
- **allow dead code**（source_file）：use std::collections::HashSet; use std::env; use std::fs; use std::path::Path; 证据：`cli/build.rs`
- **Multi-platform Rust cross-compilation image**（source_file）：Multi-platform Rust cross-compilation image FROM rust:1.85-bookworm 证据：`docker/Dockerfile.build`
- **Docker Compose for building agent-browser**（source_file）：Docker Compose for building agent-browser Usage: docker compose -f docker/docker-compose.yml run build-linux docker compose -f docker/docker-compose.yml run build-windows Note: macOS builds should be done natively on macOS for compatibility. 证据：`docker/docker-compose.yml`
- **See https://help.github.com/articles/ignoring-files/ for more about ignoring files.**（source_file）：See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 证据：`docs/.gitignore`
- **Eslint.Config**（source_file）：import { defineConfig, globalIgnores } from "eslint/config"; import nextVitals from "eslint-config-next/core-web-vitals"; import nextTs from "eslint-config-next/typescript"; 证据：`docs/eslint.config.mjs`
- **Mdx Components**（source_file）：import type { MDXComponents } from "mdx/types"; import Link from "next/link"; import { CodeBlock } from "@/components/code-block"; 证据：`docs/mdx-components.tsx`
- **Next.Config**（source_file）：/ @type {import 'next' .NextConfig} / const nextConfig = { pageExtensions: "js", "jsx", "ts", "tsx", "md", "mdx" , serverExternalPackages: "just-bash", "bash-tool" , }; 证据：`docs/next.config.mjs`
- 其余 10 条证据见 `AI_CONTEXT_PACK.json` 或 `EVIDENCE_INDEX.json`。

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

- **把本资产当作开工前上下文，而不是运行环境。**：AI Context Pack 只包含证据化项目理解，不包含目标项目的可执行状态。 证据：`AGENTS.md`, `README.md`, `benchmarks/README.md`
- **回答用户时区分可预览内容与必须安装后才能验证的内容。**：安装前体验的消费者价值来自降低误装和误判，而不是伪装成真实运行。 证据：`AGENTS.md`, `README.md`, `benchmarks/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, pnpm-workspace.yaml
- **系统架构**：importance `high`
  - source_paths: cli/Cargo.toml, cli/src/main.rs, cli/src/native/mod.rs, packages/dashboard/next.config.ts, docs/next.config.mjs
- **CLI 命令参考**：importance `high`
  - source_paths: cli/src/commands.rs, cli/src/flags.rs, cli/src/native/actions.rs, cli/src/native/interaction.rs
- **浏览器自动化核心**：importance `high`
  - source_paths: cli/src/native/cdp/client.rs, cli/src/native/cdp/chrome.rs, cli/src/native/element.rs, cli/src/native/screenshot.rs, cli/src/native/snapshot.rs
- **React 组件审查**：importance `medium`
  - source_paths: cli/src/native/react/mod.rs, cli/src/native/react/tree.rs, cli/src/native/react/renders.rs, cli/src/native/react/suspense.rs, cli/src/native/react/vitals.rs
- **会话与认证管理**：importance `high`
  - source_paths: cli/src/native/state.rs, cli/src/native/storage.rs, cli/src/native/auth.rs, cli/src/native/cookies.rs, cli/src/native/policy.rs
- **网络监控与拦截**：importance `medium`
  - source_paths: cli/src/native/network.rs, cli/src/native/stream/http.rs, cli/src/native/stream/websocket.rs
- **仪表板组件**：importance `medium`
  - source_paths: packages/dashboard/src/app/page.tsx, packages/dashboard/src/components/activity-feed.tsx, packages/dashboard/src/components/chat-panel.tsx, packages/dashboard/src/components/network-panel.tsx, packages/dashboard/src/store/chat.ts

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

- repo_clone_verified: true
- repo_inspection_verified: true
- repo_commit: `82eadcee41240b1c8477870f846bc8528e77a8a6`
- inspected_files: `pnpm-lock.yaml`, `package.json`, `README.md`, `docs/pnpm-lock.yaml`, `docs/package.json`, `docs/tsconfig.json`, `docs/components.json`, `docs/public/schema.json`, `docs/src/lib/utils.ts`, `docs/src/lib/search-index.ts`, `docs/src/lib/mdx-to-markdown.ts`, `docs/src/lib/github.ts`, `docs/src/lib/page-titles.ts`, `docs/src/lib/rate-limit.ts`, `docs/src/lib/docs-navigation.ts`, `docs/src/lib/page-metadata.ts`, `docs/src/app/page.mdx`, `docs/src/app/configuration/page.mdx`, `docs/src/app/skills/page.mdx`, `docs/src/app/dashboard/page.mdx`

宿主 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: 来源证据：Chrome 147.0 crashes with "trap int3" when running in docker

- Trigger: GitHub 社区证据显示该项目存在一个安装相关的待验证问题：Chrome 147.0 crashes with "trap int3" when running in docker
- Host AI rule: 来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- Why it matters: 可能阻塞安装或首次运行。
- Evidence: community_evidence:github | cevd_9045278ef5e043dcadccf9288477813c | https://github.com/vercel-labs/agent-browser/issues/1339 | 来源讨论提到 node 相关条件，需在安装/试用前复核。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 2: 来源证据：Detected: Trojan:Win32/Posilod.EB!cl

- Trigger: GitHub 社区证据显示该项目存在一个安装相关的待验证问题：Detected: Trojan:Win32/Posilod.EB!cl
- Host AI rule: 来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- Why it matters: 可能增加新用户试用和生产接入成本。
- Evidence: community_evidence:github | cevd_edbde732c7a7410e96ad0fa301e4222d | https://github.com/vercel-labs/agent-browser/issues/1281 | 来源讨论提到 windows 相关条件，需在安装/试用前复核。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 3: 来源证据：Feature Request: Chrome Extension-based Connection for Seamless Login State Reuse

- Trigger: GitHub 社区证据显示该项目存在一个运行相关的待验证问题：Feature Request: Chrome Extension-based Connection for Seamless Login State Reuse
- Host AI rule: 来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- Why it matters: 可能增加新用户试用和生产接入成本。
- Evidence: community_evidence:github | cevd_0896b0b429c641f0b93ca9dcbbee6db8 | https://github.com/vercel-labs/agent-browser/issues/1319 | 来源讨论提到 macos 相关条件，需在安装/试用前复核。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 4: 来源证据：ERR_NO_SUPPORTED_PROXIES when proxy environment variables contain trailing slash

- Trigger: GitHub 社区证据显示该项目存在一个配置相关的待验证问题：ERR_NO_SUPPORTED_PROXIES when proxy environment variables contain trailing slash
- Host AI rule: 来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- Why it matters: 可能增加新用户试用和生产接入成本。
- Evidence: community_evidence:github | cevd_32ddde976ec0445da607d0adffc5df4c | https://github.com/vercel-labs/agent-browser/issues/1349 | 来源讨论提到 linux 相关条件，需在安装/试用前复核。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 5: 来源证据：v0.25.5

- Trigger: GitHub 社区证据显示该项目存在一个配置相关的待验证问题：v0.25.5
- Host AI rule: 来源显示可能已有修复、规避或版本变化，说明书中必须标注适用版本。
- Why it matters: 可能增加新用户试用和生产接入成本。
- Evidence: community_evidence:github | cevd_d5d23fc6d09149fbb21ee500e7a328ec | https://github.com/vercel-labs/agent-browser/releases/tag/v0.25.5 | 来源类型 github_release 暴露的待验证使用条件。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 6: 能力判断依赖假设

- Trigger: README/documentation is current enough for a first validation pass.
- Host AI rule: 将假设转成下游验证清单。
- Why it matters: 假设不成立时，用户拿不到承诺的能力。
- Evidence: capability.assumptions | github_repo:1132001614 | https://github.com/vercel-labs/agent-browser | README/documentation is current enough for a first validation pass.
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 7: 来源证据：v0.25.2

- Trigger: GitHub 社区证据显示该项目存在一个运行相关的待验证问题：v0.25.2
- Host AI rule: 来源显示可能已有修复、规避或版本变化，说明书中必须标注适用版本。
- Why it matters: 可能增加新用户试用和生产接入成本。
- Evidence: community_evidence:github | cevd_777821422c534a2881b58523db3ac2f3 | https://github.com/vercel-labs/agent-browser/releases/tag/v0.25.2 | 来源讨论提到 linux 相关条件，需在安装/试用前复核。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 8: 来源证据：v0.25.3

- Trigger: GitHub 社区证据显示该项目存在一个运行相关的待验证问题：v0.25.3
- Host AI rule: 来源显示可能已有修复、规避或版本变化，说明书中必须标注适用版本。
- Why it matters: 可能增加新用户试用和生产接入成本。
- Evidence: community_evidence:github | cevd_5c7d80190d7548b6ad87152255949f2b | https://github.com/vercel-labs/agent-browser/releases/tag/v0.25.3 | 来源讨论提到 node 相关条件，需在安装/试用前复核。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 9: 维护活跃度未知

- Trigger: 未记录 last_activity_observed。
- Host AI rule: 补 GitHub 最近 commit、release、issue/PR 响应信号。
- Why it matters: 新项目、停更项目和活跃项目会被混在一起，推荐信任度下降。
- Evidence: evidence.maintainer_signals | github_repo:1132001614 | https://github.com/vercel-labs/agent-browser | last_activity_observed missing
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 10: 下游验证发现风险项

- Trigger: no_demo
- Host AI rule: 进入安全/权限治理复核队列。
- Why it matters: 下游已经要求复核，不能在页面中弱化。
- Evidence: downstream_validation.risk_items | github_repo:1132001614 | https://github.com/vercel-labs/agent-browser | no_demo; severity=medium
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。
