# loom - Doramagic AI Context Pack

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

## 充分原则

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

## 给宿主 AI 的使用方式

你正在读取 Doramagic 为 loom 编译的 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 文档。 证据：`.claude/skills/cut-release/SKILL.md` Claim：`clm_0004` supported 0.86

## 它能做什么

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

## 怎么开始

- `curl -fsSL https://github.com/mentiora-ai/loom/releases/latest/download/loom-cli-installer.sh | sh` 证据：`README.md` Claim：`clm_0005` supported 0.86
- `git clone https://github.com/mentiora-ai/loom` 证据：`README.md` Claim：`clm_0006` supported 0.86
- `npm install @mentiora-ai/loom-sdk` 证据：`README.md` Claim：`clm_0007` supported 0.86
- `pip install "git+https://github.com/mentiora-ai/loom@v0.11.1#subdirectory=python-sdk"` 证据：`README.md` Claim：`clm_0008` 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 或项目证据支撑，但仍不等于真实安装效果。 证据：`.claude/skills/cut-release/SKILL.md` Claim：`clm_0004` supported 0.86
- **能力存在：AI Skill / Agent 指令资产库**（supported）：可以相信项目包含这类能力线索；是否适合你的具体任务仍要试用或安装后验证。 证据：`.claude/skills/cut-release/SKILL.md` Claim：`clm_0001` supported 0.86
- **能力存在：命令行启动或安装流程**（supported）：可以相信项目包含这类能力线索；是否适合你的具体任务仍要试用或安装后验证。 证据：`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 的默认行为。 证据：`.claude/skills/cut-release/SKILL.md`, `CLAUDE.md`
- **可安全回滚不能默认相信。**（unverified）：除非项目明确提供卸载和恢复说明，否则必须先在隔离环境验证。
- **真实安装后是否与用户当前宿主 AI 版本兼容？**（unverified）：兼容性只能通过实际宿主环境验证。
- **项目输出质量是否满足用户具体任务？**（unverified）：安装前预览只能展示流程和边界，不能替代真实评测。
- **安装命令是否需要网络、权限或全局写入？**（unverified）：这影响企业环境和个人环境的安装风险。 证据：`README.md`

### 继续会触碰什么

- **命令执行**：包管理器、网络下载、本地插件目录、项目配置或用户主目录。 原因：运行第一条命令就可能产生环境改动；必须先判断是否值得跑。 证据：`README.md`
- **宿主 AI 配置**：Claude/Codex/Cursor/Gemini/OpenCode 等宿主的 plugin、Skill 或规则加载配置。 原因：宿主配置会改变 AI 后续工作方式，可能和用户已有规则冲突。 证据：`.claude/skills/cut-release/SKILL.md`, `CLAUDE.md`
- **本地环境或项目文件**：安装结果、插件缓存、项目配置或本地依赖目录。 原因：安装前无法证明写入范围和回滚方式，需要隔离验证。 证据：`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_0009` inferred 0.45
- **命令执行会修改本地环境**：安装命令可能写入用户主目录、宿主插件目录或项目配置。 处理方式：先在隔离环境或测试账号中运行。 证据：`README.md` Claim：`clm_0010` 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 体验。 证据：`.claude/skills/cut-release/SKILL.md` Claim：`clm_0001` supported 0.86
- **命令行启动或安装流程**：先说明这是安装后验证能力，再给出安装前检查清单。 边界：必须真实安装或运行后验证。 证据：`README.md` Claim：`clm_0002` supported 0.86

### 上下文规模

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

### 证据不足时的处理

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

## Prompt Recipes

### 适配判断

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

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

### 安装前体验

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

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

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

## 角色 / Skill 索引

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

- **cut-release**（skill）：- 激活提示：当用户任务与“cut-release”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`.claude/skills/cut-release/SKILL.md`

## 证据索引

- 共索引 80 条证据。

- **Loom**（documentation）：! CI https://github.com/mentiora-ai/loom/actions/workflows/ci.yml/badge.svg?branch=main https://github.com/mentiora-ai/loom/actions/workflows/ci.yml ! Release https://img.shields.io/github/v/release/mentiora-ai/loom?include prereleases&sort=semver https://github.com/mentiora-ai/loom/releases/latest ! npm https://img.shields.io/npm/v/@mentiora-ai/loom-sdk?label=%40mentiora-ai%2Floom-sdk&color=cb3837 https://www.npmjs.com/package/@mentiora-ai/loom-sdk ! License https://img.shields.io/badge/license-Apache--2.0%20OR%20MIT-blue license ! Rust https://img.shields.io/badge/rust-1.92%2B-orange https://www.rust-lang.org/ ! Platform https://img.shields.io/badge/platform-macOS%20%7C%20Linux-lightgrey… 证据：`README.md`
- **Mock harnesses**（documentation）：Each system's mock module lives inside the owning crate at /src/mocks.rs and is gated by cfg any test, feature = "mock" . This keeps each mock co-located with the types it stubs and avoids a synthetic crate that would have to depend on every system simultaneously. 证据：`mocks/README.md`
- **loom Python SDK**（documentation）：Python client library for the loom https://github.com/mentiora-ai/loom browser-automation daemon. 证据：`python-sdk/README.md`
- **@mentiora-ai/loom-sdk**（documentation）：TypeScript client library for the loom https://github.com/mentiora-ai/loom browser-automation daemon. 证据：`typescript-sdk/README.md`
- **Package**（package_manifest）：{ "name": "@mentiora-ai/loom-sdk", "version": "0.11.1", "description": "TypeScript client library for the loom browser-automation daemon", "license": "Apache-2.0", "type": "module", "exports": { ".": { "import": "./dist/index.js", "types": "./dist/index.d.ts" } }, "main": "./dist/index.js", "types": "./dist/index.d.ts", "files": "dist", "README.md" , "engines": { "node": " =20" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "repository": { "type": "git", "url": "git+https://github.com/mentiora-ai/loom.git", "directory": "typescript-sdk" }, "homepage": "https://github.com/mentiora-ai/loom/tree/main/typescript-sdk readme", "bugs": "https://github.com/me… 证据：`typescript-sdk/package.json`
- **CLAUDE.md — working in the loom repo**（documentation）：CLAUDE.md — working in the loom repo 证据：`CLAUDE.md`
- **Contributing to loom**（documentation）：Thanks for your interest. Loom is small and opinionated; we bias toward narrow, well-scoped changes with a typed error mode for any new failure path. 证据：`CONTRIBUTING.md`
- **Cut a loom release**（skill_instruction）：loom ships from an annotated git tag on main . Pushing vX.Y.Z triggers three parallel workflows that publish to public registries and create the GitHub Release. There is no cargo publish — loom is not on crates.io loom-cli/Cargo.toml sets publish = false . 证据：`.claude/skills/cut-release/SKILL.md`
- **Privacy notice — loom vault v0.9.4**（documentation）：Audience. Operators evaluating loom for use under GDPR / UK-DPA / CCPA / SOC 2 / ISO 27001 obligations. This document describes how the vault subsystem loom vault add / delete / list-labels / diagnose and the Vault::substitute substitution path handles personal-data-grade credentials. It is not a hosted-service privacy policy — loom is an OSS CLI; the legal entity collecting data is whoever runs the daemon. 证据：`docs/PRIVACY-loom-vault.md`
- **Loom action catalogue**（documentation）：Every JSON-RPC action loom exposes, with its parameters, return shape, and a copy-pasteable example. The CI gate in .github/workflows/ci.yml fails any PR that desyncs this file from the registry. 证据：`docs/actions.md`
- **loom vault — audit-chain reference v0.9.4**（documentation）：loom vault — audit-chain reference v0.9.4 证据：`docs/loom-vault-audit.md`
- **Interface Tests**（source_file）：fn action args carry method session extra { ⋮---- method: "web.click".into , session: "01HW".into , extra: vec! "--selector".into , " btn".into , ⋮---- assert eq! a.method, "web.click" ; assert eq! a.session, "01HW" ; assert eq! a.extra.len , 2 ; ⋮---- fn action method must be dot separated { ⋮---- method: "web.navigate".into , session: "S".into , extra: vec! , ⋮---- assert! a.method.contains '.' , "method must be . " ; ⋮---- fn parse extra signature { fn ck e: & String - Result { let = parse extra to json e ; unreachable! ⋮---- fn validate args signature { ⋮---- fn ck ⋮---- validate args s, m, v 证据：`loom-cli/src/action_commands/interface_tests.rs`
- **Mod**（source_file）：pub mod action commands; ⋮---- mod interface tests; 证据：`loom-cli/src/action_commands/mod.rs`
- **Interface Tests**（source_file）：use loom rpc::action registry::find; ⋮---- fn all help output lists actions alphabetically { let s = render all actions after help ; let click pos = s.find "web.click" .expect "missing web.click" ; let evaluate pos = s.find "web.evaluate" .expect "missing web.evaluate" ; let navigate pos = s.find "web.navigate" .expect "missing web.navigate" ; assert! ⋮---- fn all help output groups by surface prefix { ⋮---- assert! s.contains "web. " , "missing surface header web. " ; assert! s.contains "Run loom action --help " ; ⋮---- fn single action help includes required params { let nav = find "web.navigate" .unwrap ; let h = render per action help nav ; assert! h.contains "--session" ; assert! h.con… 证据：`loom-cli/src/action_help/interface_tests.rs`
- **Mod**（source_file）：pub mod action help; ⋮---- mod interface tests; 证据：`loom-cli/src/action_help/mod.rs`
- **Interface Tests**（source_file）：fn admin subcommand map size { assert eq! SUBCOMMAND MAP.len , 6 ; ⋮---- fn gc is only rpc admin subcommand { ⋮---- .iter .filter , v !v.starts with "local:" .map k, k .collect ; assert eq! rpc entries, vec! "gc" ; ⋮---- fn three local runners plus mcp plus version { ⋮---- .filter , v v.starts with "local:" ⋮---- assert eq! local.len , 5 ; ⋮---- assert! local.contains &expected , "missing {expected}" ; ⋮---- fn gc args optional fields { ⋮---- assert! g.ttl.is none ; ⋮---- fn serve args carries socket and config { ⋮---- socket: Some "/tmp/x.sock".into , ⋮---- assert! s.socket.is some ; ⋮---- fn postinstall args is empty { ⋮---- fn mcp args is empty { 证据：`loom-cli/src/admin_commands/interface_tests.rs`
- **Mod**（source_file）：pub mod admin commands; ⋮---- mod interface tests; 证据：`loom-cli/src/admin_commands/mod.rs`
- **Interface Tests**（source_file）：use crate::CliError; ⋮---- fn auth paths carry token and pid paths { ⋮---- token path: "/tmp/hello.token".into , pid path: "/tmp/daemon.pid".into , ⋮---- assert! p.token path.to string lossy .ends with "hello.token" ; assert! p.pid path.to string lossy .ends with "daemon.pid" ; ⋮---- fn read hello token signature { fn ck m: &AuthManager - Result { m.read hello token ⋮---- fn token path accessor returns path ref { ⋮---- assert eq! m.token path , std::path::Path::new "/tmp/hello.token" ; ⋮---- fn daemon alive signature { fn ck m: &AuthManager - bool { m.daemon alive ⋮---- fn default auth paths signature { fn ck - Result { default auth paths ⋮---- fn auth paths in joins token and pid under dir… 证据：`loom-cli/src/auth_manager/interface_tests.rs`
- **Mod**（source_file）：pub mod auth manager; ⋮---- mod interface tests; 证据：`loom-cli/src/auth_manager/mod.rs`
- **Interface Tests**（source_file）：use crate::cli config::CliConfig; use crate::CliError; fn default args - BenchmarkArgs { ⋮---- fn default config - CliConfig { ⋮---- fn test benchmark command exit 0 on pass { let args = default args ; let result = run benchmark &args, &default config ; assert! result.is ok , "expected Ok , got {:?}", result ; ⋮---- fn test benchmark command exit 1 on usage zero iterations { let mut args = default args ; ⋮---- assert! ⋮---- fn test benchmark command skip binary size { ⋮---- fn test benchmark command binary required error { ⋮---- fn test benchmark with binary no meta json { use tempfile::TempDir; let dir = TempDir::new .unwrap ; let bin path = dir.path .join "loom" ; let f = std::fs::File::c… 证据：`loom-cli/src/benchmark_commands/interface_tests.rs`
- **Mod**（source_file）：pub mod benchmark commands; ⋮---- mod impl benchmark; ⋮---- mod interface tests; 证据：`loom-cli/src/benchmark_commands/mod.rs`
- **tokio::test**（source_file）：use crate::CliError; ⋮---- fn config carries install dir and binary subpath { ⋮---- install dir: "/tmp/chromium".into , binary subpath: "rev1/Chromium".into , ⋮---- assert! c.install dir.is absolute ; ⋮---- fn binary path joins install dir and subpath { ⋮---- let p = d.binary path ; assert eq! p, std::path::PathBuf::from "/tmp/chromium/rev1/Chromium" ; ⋮---- fn download outcome variant set locked { fn ck o: DownloadOutcome - &'static str { ⋮---- fn ensure signature { fn ck d: &ChromiumDownloader, url: &str, sha: &str { ⋮---- let : Result = d.ensure url, sha .await; ⋮---- fn verify signature { fn ck d: &ChromiumDownloader, sha: &str { ⋮---- let : Result = d.verify sha .await; ⋮---- fn sha256… 证据：`loom-cli/src/chromium_downloader/interface_tests.rs`
- **Mod**（source_file）：pub mod chromium downloader; ⋮---- mod interface tests; 证据：`loom-cli/src/chromium_downloader/mod.rs`
- **Interface Tests**（source_file）：use crate::schema cache::SchemaCache; use crate::CliError; ⋮---- fn resolve signature takes inputs and optional schemas { fn ck i: ResolveInputs, s: Option - Result { resolve i, s ⋮---- fn resolve inputs are default constructible { ⋮---- assert! i.cli overrides.is empty ; assert! i.env vars.is empty ; assert! i.config path.is none ; ⋮---- fn compiled defaults signature { fn ck - CliConfig { compiled defaults ⋮---- fn validate against schema signature { fn ck c: &CliConfig, s: &SchemaCache - Result { validate against schema c, s ⋮---- fn cli config rejects unknown fields { ⋮---- assert! ⋮---- fn test zero config no dir succeeds { ⋮---- cli overrides: vec! , env vars: vec! , config path: Some… 证据：`loom-cli/src/cli_config/interface_tests.rs`
- **Mod**（source_file）：pub mod cli config; pub mod color choice; pub mod output mode; ⋮---- pub use output mode::OutputMode; ⋮---- mod interface tests; 证据：`loom-cli/src/cli_config/mod.rs`
- **Interface Tests**（source_file）：fn run signature takes argv returns exit code { fn ck argv: Vec - i32 { run argv ⋮---- fn build runtime returns multithreaded tokio runtime { fn ck - tokio::runtime::Runtime { build runtime ⋮---- fn early init returns cli config or error { fn ck argv: & String - Result { early init argv ⋮---- fn merge pretty flag keeps resolved value when flag absent { assert! merge pretty flag true, false ; assert! !merge pretty flag false, false ; ⋮---- fn merge pretty flag forces on when passed { assert! merge pretty flag false, true ; assert! merge pretty flag true, true ; ⋮---- fn env resolved pretty forces pretty into a pipe { use crate::cli config::output mode::OutputMode; let merged = merge pretty f… 证据：`loom-cli/src/cli_main/interface_tests.rs`
- **Mod**（source_file）：pub mod cli main; ⋮---- mod interface tests; 证据：`loom-cli/src/cli_main/mod.rs`
- **Interface Tests**（source_file）：fn init signature { fn ck { init ⋮---- fn start span signature { fn ck c: &str, s: Option - SpanGuard { start span c, s ⋮---- fn redacted fields includes oauth secrets { ⋮---- assert! ⋮---- fn redacted fields includes password and api key { ⋮---- fn span guard record signatures { fn ck g: &mut SpanGuard { g.record rpc method "session.create" ; g.record receipt status "ok" ; g.record exit code 0 ; 证据：`loom-cli/src/cli_observability/interface_tests.rs`
- **Mod**（source_file）：pub mod cli observability; ⋮---- mod interface tests; 证据：`loom-cli/src/cli_observability/mod.rs`
- **Interface Tests**（source_file）：use clap::CommandFactory; ⋮---- fn cli is clap parser { ⋮---- fn pretty flag is global { ⋮---- .get arguments .find a a.get id == "pretty" .expect "--pretty must exist" ; assert! ⋮---- fn config flag is global { ⋮---- .find a a.get id == "config" .expect "--config must exist" ; assert! cfg.is global set , "--config must be global" ; ⋮---- fn command variant set locked { fn ck c: Command - &'static str { ⋮---- fn import subcommand variant set locked { fn ck c: ImportCmd - &'static str { ⋮---- fn session subcommand variant set locked { fn ck c: SessionCmd - &'static str { ⋮---- fn vault subcommand variant set locked { fn ck c: VaultCmd - &'static str { 证据：`loom-cli/src/command_router/interface_tests.rs`
- **Mod**（source_file）：pub mod command router; pub mod validate flags; ⋮---- pub use validate flags::validate flags; ⋮---- mod interface tests; 证据：`loom-cli/src/command_router/mod.rs`
- **Interface Tests**（source_file）：fn check names count is exactly nine { assert eq! ⋮---- fn check names are in stable order { ⋮---- fn doctor args default is full probe { ⋮---- assert! !args.daemon only, "default must run the full 8-check probe" ; ⋮---- fn doctor paths carries all 5 check inputs { ⋮---- socket path: "/tmp/loom.sock".into , surfaces dir: "/tmp/surfaces".into , chromium binary: "/tmp/Chromium".into , chromium expected sha256: "abc".into , keychain label: "com.loom.vault.user".into , ⋮---- assert! p.socket path.is absolute ; ⋮---- fn individual check functions compile { ⋮---- fn session cap detail recognizes typed cap envelope with counts { use super::doctor runner::session cap detail; use crate::CliError; ⋮-… 证据：`loom-cli/src/doctor_runner/interface_tests.rs`
- **Mod**（source_file）：pub mod doctor runner; ⋮---- mod interface tests; 证据：`loom-cli/src/doctor_runner/mod.rs`
- **Error Mapper**（source_file）：pub enum CliError { ⋮---- fn fmt &self, f: &mut std::fmt::Formatter - std::fmt::Result { ⋮---- CliError::Usage msg = write! f, "Error: {msg}" , ⋮---- // Two receipt shapes flow through CliError::Receipt: // // 1. RPC-error envelope: {code, message, data?} // from JsonRpcError::from loom error → CLI receipt-error path . // 2. Action receipt with status="error": // {status: "error", error: {kind, detail}, ...} // URL allowlist rejection, profile-restricted evaluate, // safe-profile downloads, etc. . ⋮---- // For shape 2 the top-level code/message are absent and the // error info lives in error.kind / error.detail. Falling back // to "unknown error" loses that information; instead, prefer // e… 证据：`loom-cli/src/error_mapper/error_mapper.rs`
- **Interface Tests**（source_file）：fn exit code constants locked { assert eq! EXIT OK, 0 ; assert eq! EXIT RECEIPT ERROR, 1 ; assert eq! EXIT USAGE, 2 ; assert eq! EXIT SURFACE UNAVAILABLE, 5 ; ⋮---- fn map exit code signature { fn ck r: &Result - i32 { map exit code r ⋮---- fn daemon not running message names loom serve { let m = connection message &ConnectionError::DaemonNotRunning ; assert! ⋮---- fn daemon not running message contains no daemon substring { ⋮---- fn timeout message names loom doctor { let m = connection message &ConnectionError::ConnectionTimeout ; ⋮---- fn auth failed message mentions hello { let m = connection message &ConnectionError::AuthFailed ; assert! m.to lowercase .contains "hello" ; ⋮---- fn sche… 证据：`loom-cli/src/error_mapper/interface_tests.rs`
- **Mod**（source_file）：pub mod error mapper; ⋮---- mod interface tests; 证据：`loom-cli/src/error_mapper/mod.rs`
- **Interface Tests**（source_file）：use crate::schema cache::SchemaCache; use crate::CliError; ⋮---- fn generate signature { fn ck s: &SchemaCache - Result , CliError { generate s ⋮---- fn method help carries method fields description { ⋮---- method: "session.create".into , fields: vec! "profile".into , "network mode".into , description: "Creates a new session.".into , ⋮---- assert eq! h.method, "session.create" ; assert eq! h.fields.len , 2 ; ⋮---- fn json field to clap arg signature { fn ck f: &str - String { json field to clap arg f ⋮---- fn clap arg to json field signature { fn ck a: &str - String { clap arg to json field a 证据：`loom-cli/src/help_generator/interface_tests.rs`
- **Mod**（source_file）：pub mod help generator; ⋮---- mod interface tests; 证据：`loom-cli/src/help_generator/mod.rs`
- **Interface Tests**（source_file）：use crate::CliError; fn test client dir: &std::path::Path - RpcClient { ⋮---- socket path: dir.join "no-daemon.sock" , auth dir: dir.join "no-auth" , ⋮---- fn test cfg - crate::CliConfig { ⋮---- fn max importable trace bytes is just under half the frame cap { let max = max importable trace bytes ; ⋮---- assert! max panic! ⋮---- async fn trace at the cap passes the size check { ⋮---- let at cap = vec! 0u8; max importable trace bytes ; std::fs::write &trace path, &at cap .unwrap ; ⋮---- .expect err "no daemon is running, so the RPC must fail" ; 证据：`loom-cli/src/import_commands/interface_tests.rs`
- **Mod**（source_file）：pub mod import commands; ⋮---- mod interface tests; 证据：`loom-cli/src/import_commands/mod.rs`
- **Interface Tests**（source_file）：fn plist label is com loom daemon { assert eq! PLIST LABEL, "com.loom.daemon" ; ⋮---- fn plist run at load is true { assert! PLIST RUN AT LOAD ; ⋮---- fn plist keep alive on successful exit is false { assert! !PLIST KEEP ALIVE ON SUCCESSFUL EXIT ; ⋮---- fn config carries loom binary and plist path { ⋮---- loom binary: "/usr/local/bin/loom".into , plist path: "/Library/LaunchDaemons/com.loom.daemon.plist".into , ⋮---- assert! c.loom binary.is absolute ; assert! c.plist path.is absolute ; ⋮---- fn write outcome variant set locked { fn ck o: WriteOutcome - &'static str { ⋮---- fn writer constructor stores config { ⋮---- plist path: "/tmp/com.loom.daemon.plist".into , ⋮---- fn cfg target os mac… 证据：`loom-cli/src/launchd_plist_writer/interface_tests.rs`
- **Mod**（source_file）：pub mod launchd plist writer; ⋮---- mod interface tests; 证据：`loom-cli/src/launchd_plist_writer/mod.rs`
- **Lib**（source_file）：pub mod error { ⋮---- pub mod action commands; pub mod action help; pub mod admin commands; pub mod auth manager; pub mod benchmark commands; pub mod chromium downloader; pub mod chromium pin; pub mod cli config; pub mod cli main; pub mod cli observability; pub mod command router; pub mod doctor runner; pub mod error mapper; pub mod help generator; pub mod import commands; pub mod launchd plist writer; pub mod loom binaries downloader; pub mod manpage step; pub mod mcp delegate; pub mod output formatter; pub mod postinstall runner; pub mod pretty renderer; pub mod rpc client; pub mod schema cache; pub mod serve runner; pub mod session commands; pub mod url allowlist; pub mod vault commands;… 证据：`loom-cli/src/lib.rs`
- **Interface Tests**（source_file）：fn aux binary names are the three siblings { ⋮---- assert eq! names.len , 3 ; assert! names.contains &"loom-daemon" ; assert! names.contains &"loom-mcp" ; assert! names.contains &"loom-shim-chromium" ; assert! !names.contains &"loom" ; ⋮---- fn host target triple is one of supported { ⋮---- assert! ⋮---- fn default install dir resolves to loom bin under data local { let dir = lbd::default install dir .expect "data local dir resolves in tests" ; ⋮---- .iter .rev .take 2 .map s s.to str .unwrap or "" .collect ; assert eq! suffix 0 , "bin" ; assert eq! suffix 1 , "loom" ; 证据：`loom-cli/src/loom_binaries_downloader/interface_tests.rs`
- **Mod**（source_file）：mod loom binaries downloader; ⋮---- mod interface tests; 证据：`loom-cli/src/loom_binaries_downloader/mod.rs`
- **Interface Tests**（source_file）：use crate::postinstall runner::StepOutcome; use std::path::PathBuf; fn tempdir - tempfile::TempDir { ⋮---- .prefix "loom-manpage-test-" .tempdir .expect "tempdir" ⋮---- fn manpage step writes files to target dir { if !has embedded content { ⋮---- let dir = tempdir ; let outcome = manpage step Some dir.path .expect "step ok" ; let written = std::fs::read dir dir.path .join "man1" .expect "man1 created" .filter map e e.ok .count ; assert! matches! outcome, StepOutcome::Wrote StepOutcome::Skipped ; assert! ⋮---- fn manpage step idempotent { ⋮---- let first = manpage step Some dir.path .expect "first run" ; let listing before: Vec = std::fs::read dir dir.path .join "man1" .unwrap ⋮---- .map e e… 证据：`loom-cli/src/manpage_step/interface_tests.rs`
- **Mod**（source_file）：pub mod manpage step; ⋮---- mod interface tests; 证据：`loom-cli/src/manpage_step/mod.rs`
- **Interface Tests**（source_file）：use crate::CliError; ⋮---- fn run signature takes no args { fn ck { ⋮---- let : Result = run .await; ⋮---- fn loom mcp entry points at run stdio { assert eq! LOOM MCP ENTRY, "loom mcp::McpMain::run stdio" ; ⋮---- fn banned crate is mcp rs { assert eq! BANNED CRATE, "mcp-rs" ; 证据：`loom-cli/src/mcp_delegate/interface_tests.rs`
- **Mod**（source_file）：pub mod mcp delegate; ⋮---- mod interface tests; 证据：`loom-cli/src/mcp_delegate/mod.rs`
- **Mocks**（source_file）：pub struct MockCommandRouter; impl MockCommandRouter { pub fn exit ok - i32 { ⋮---- pub fn exit usage - i32 { ⋮---- pub fn unknown command name: &str - LoomError { ⋮---- format! "mock cli: unknown command '{name}'" , ⋮---- pub struct MockRpcClient; impl MockRpcClient { pub fn ping ok - &'static str { 证据：`loom-cli/src/mocks.rs`
- **test**（source_file）：use crate::CliError; struct VecSink Vec ; impl OutputSink for VecSink { fn write all &mut self, bytes: & u8 - std::io::Result { self.0.extend from slice bytes ; Ok ⋮---- fn new uses canonical json path { let mut sink = VecSink Vec::new ; ⋮---- drop f ; // Constructor compiles with no renderer — default canonical-JSON path. ⋮---- fn write signature takes method and value { fn ck ⋮---- f.write m, v ⋮---- fn canonical json signature { fn ck v: &serde json::Value - Result { ⋮---- fn stdout sink default constructor { ⋮---- // === no ANSI, no headers, no prose === // // The contract is that canonical json calls serde jcs::to string . // We can't test the actual output without an implementation, b… 证据：`loom-cli/src/output_formatter/interface_tests.rs`
- **Mod**（source_file）：pub mod output formatter; ⋮---- mod interface tests; 证据：`loom-cli/src/output_formatter/mod.rs`
- **Interface Tests**（source_file）：fn step labels are compile chromium loom binaries launchd manpages in order { assert eq! ⋮---- fn postinstall options carry surfaces chromium plist { ⋮---- surfaces dir: "/tmp/surfaces".into , schemas dir: "/tmp/schemas/v1".into , chromium url: "https://example.com/chrome.tar.xz".into , chromium expected sha256: "abc".into , chromium dir: "/tmp/chromium".into , plist path: "/tmp/com.loom.daemon.plist".into , loom binaries version: "1.0.0".into , loom binaries target triple: "aarch64-apple-darwin".into , loom binaries install dir: "/tmp/loom-bin".into , ⋮---- assert eq! o.chromium expected sha256, "abc" ; ⋮---- fn step outcome variant set locked { fn ck o: StepOutcome - &'static str { ⋮----… 证据：`loom-cli/src/postinstall_runner/interface_tests.rs`
- **Mod**（source_file）：pub mod postinstall runner; ⋮---- mod interface tests; 证据：`loom-cli/src/postinstall_runner/mod.rs`
- **Mod**（source_file）：use crate::cli config::CliConfig; use crate::pretty renderer::ansi; use crate::pretty renderer::pretty renderer::PrettyRenderer; use crate::pretty renderer::redact; use crate::schema cache::SchemaCache; use crate::CliError; use serde json::Value; ⋮---- mod benchmark; mod doctor; mod gc; mod import playwright; pub super mod plural; mod session abort; mod session close; mod session create; mod session diff; mod session export; mod session inspect; mod session list; mod session replay; mod session validate; mod vault add; mod vault delete; mod vault diagnose; mod vault grant revoke; mod vault list; mod vault list labels; mod vault set secret; mod web evaluate; mod web generic action; mod web n… 证据：`loom-cli/src/pretty_renderer/curated/mod.rs`
- **Interface Tests**（source_file）：use crate::schema cache::SchemaCache; use crate::CliError; ⋮---- fn render signature takes method and value { fn ck ⋮---- r.render m, v ⋮---- fn columns from schema signature { fn ck s: &serde json::Value - Vec { ⋮---- fn with color constructor takes bool { fn ck s: &SchemaCache, c: bool - PrettyRenderer { ⋮---- fn detect color enabled signature { fn ck - bool { detect color enabled ⋮---- fn columns from schema signature lock { ⋮---- use std::sync::Mutex; ⋮---- fn no color unset allows color { let g = ENV LOCK.lock .unwrap ; ⋮---- assert! detect color enabled ; ⋮---- fn no color empty does not disable { ⋮---- fn no color non empty disables { ⋮---- assert! !detect color enabled ; ⋮---- fn te… 证据：`loom-cli/src/pretty_renderer/interface_tests.rs`
- **Mod**（source_file）：pub mod ansi; pub mod curated; pub mod pretty renderer; pub mod redact; ⋮---- mod interface tests; 证据：`loom-cli/src/pretty_renderer/mod.rs`
- **Interface Tests**（source_file）：use crate::CliError; use std::time::Duration; ⋮---- fn rpc client config carries socket path auth dir and timeout { ⋮---- socket path: "/tmp/loom.sock".into , auth dir: "/tmp/loom-auth".into , ⋮---- assert eq! c.request timeout, Duration::from secs 30 ; assert eq! c.auth dir, std::path::PathBuf::from "/tmp/loom-auth" ; ⋮---- fn new does not open socket { ⋮---- socket path: "/tmp/nonexistent.sock".into , auth dir: "/tmp/nonexistent-auth".into , ⋮---- async fn read frame from stream: &mut tokio::net::UnixStream - Vec { ⋮---- stream.read exact &mut len buf .await.unwrap ; let mut buf = vec! 0u8; u32::from be bytes len buf as usize ; stream.read exact &mut buf .await.unwrap ; ⋮---- async fn wri… 证据：`loom-cli/src/rpc_client/interface_tests.rs`
- **Mod**（source_file）：pub mod rpc client; ⋮---- mod interface tests; 证据：`loom-cli/src/rpc_client/mod.rs`
- **Interface Tests**（source_file）：use super::schema cache::SchemaCache; use crate::CliError; ⋮---- fn load signature takes path { fn ck p: &std::path::Path - Result { ⋮---- fn empty constructor returns zero methods { ⋮---- assert! c.is empty ; assert eq! c.len , 0 ; assert eq! c.methods .count , 0 ; ⋮---- fn request and response accessors return optional { fn req c: &SchemaCache - Option { c.request schema "session.create" ⋮---- fn resp c: &SchemaCache - Option { c.response schema "session.create" ⋮---- fn no public mutator present { ⋮---- fn methods iterator returns str { ⋮---- let v: Vec = c.methods .collect ; assert! v.is empty ; 证据：`loom-cli/src/schema_cache/interface_tests.rs`
- 其余 20 条证据见 `AI_CONTEXT_PACK.json` 或 `EVIDENCE_INDEX.json`。

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

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

- **Loom 概览、信任区与 Crate 拓扑**：importance `high`
  - source_paths: README.md, Cargo.toml, wit/loom-surface.wit, loom-cli/Cargo.toml, loom-core/Cargo.toml
- **CLI、MCP 工具与多语言 SDK**：importance `high`
  - source_paths: loom-cli/src/cli_main/cli_main.rs, loom-cli/src/cli_main/mod.rs, loom-cli/src/command_router/command_router.rs, loom-cli/src/action_commands/action_commands.rs, loom-cli/src/session_commands/session_commands.rs
- **会话生命周期、清单哈希链与回放引擎**：importance `high`
  - source_paths: loom-core/src/lib.rs, loom-core/src/session_manager/session_manager.rs, loom-core/src/session_manager/impl_local.rs, loom-core/src/core_api_facade/core_api_facade.rs, loom-core/src/core_api_facade/impl_local.rs
- **安装、Postinstall、Doctor、Vault 与常见故障**：importance `high`
  - source_paths: loom-cli/src/loom_binaries_downloader/loom_binaries_downloader.rs, loom-cli/src/postinstall_runner/postinstall_runner.rs, loom-cli/src/doctor_runner/doctor_runner.rs, loom-cli/src/chromium_downloader/chromium_downloader.rs, loom-cli/src/chromium_pin.rs

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

- repo_clone_verified: true
- repo_inspection_verified: true
- repo_commit: `4c6539c8697d4dd1512bd771deb5f7f20de4312e`
- inspected_files: `Dockerfile`, `README.md`, `docker-compose.yml`, `docs/PRIVACY-loom-vault.md`, `docs/actions.md`, `docs/loom-vault-audit.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: 来源证据：e2e-real-world: scheduled run failed

- Trigger: GitHub 社区证据显示该项目存在一个运行相关的待验证问题：e2e-real-world: scheduled run failed
- Why it matters: 可能增加新用户试用和生产接入成本。
- Evidence: community_evidence:github | https://github.com/mentiora-ai/loom/issues/179 | 来源讨论提到 macos 相关条件，需在安装/试用前复核。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 2: 可能修改宿主 AI 配置

- Trigger: 项目面向 Claude/Cursor/Codex/Gemini/OpenCode 等宿主，或安装命令涉及用户配置目录。
- Host AI rule: 列出会写入的配置文件、目录和卸载/回滚步骤。
- Why it matters: 安装可能改变本机 AI 工具行为，用户需要知道写入位置和回滚方法。
- Evidence: capability.host_targets | https://github.com/mentiora-ai/loom | host_targets=mcp_host, claude_code, claude
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

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

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

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

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

- Trigger: no_demo
- Evidence: downstream_validation.risk_items | https://github.com/mentiora-ai/loom | no_demo; severity=medium
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 6: 存在评分风险

- Trigger: no_demo
- Why it matters: 风险会影响是否适合普通用户安装。
- Evidence: risks.scoring_risks | https://github.com/mentiora-ai/loom | no_demo; severity=medium
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 7: issue/PR 响应质量未知

- Trigger: issue_or_pr_quality=unknown。
- Host AI rule: 抽样最近 issue/PR，判断是否长期无人处理。
- Why it matters: 用户无法判断遇到问题后是否有人维护。
- Evidence: evidence.maintainer_signals | https://github.com/mentiora-ai/loom | issue_or_pr_quality=unknown
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 8: 发布节奏不明确

- Trigger: release_recency=unknown。
- Host AI rule: 确认最近 release/tag 和 README 安装命令是否一致。
- Why it matters: 安装命令和文档可能落后于代码，用户踩坑概率升高。
- Evidence: evidence.maintainer_signals | https://github.com/mentiora-ai/loom | release_recency=unknown
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。
