# example-graph - Doramagic AI Context Pack

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

## 充分原则

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

## 给宿主 AI 的使用方式

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

## Claim 消费规则

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

## 它最适合谁

- **想在安装前理解开源项目价值和边界的用户**：当前证据主要来自项目文档。 证据：`README.md` Claim：`clm_0002` supported 0.86

## 它能做什么

- **命令行启动或安装流程**（需要安装后验证）：项目文档中存在可执行命令，真实使用需要在本地或宿主环境中运行这些命令。 证据：`README.md` Claim：`clm_0001` supported 0.86

## 怎么开始

- `pip install -U langgraph` 证据：`README.md` Claim：`clm_0003` supported 0.86

## 继续前判断卡

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

### 30 秒判断

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

### 现在可以相信

- **适合人群线索：想在安装前理解开源项目价值和边界的用户**（supported）：有 supported claim 或项目证据支撑，但仍不等于真实安装效果。 证据：`README.md` Claim：`clm_0002` supported 0.86
- **能力存在：命令行启动或安装流程**（supported）：可以相信项目包含这类能力线索；是否适合你的具体任务仍要试用或安装后验证。 证据：`README.md` Claim：`clm_0001` supported 0.86
- **存在 Quick Start / 安装命令线索**（supported）：可以相信项目文档出现过启动或安装入口；不要因此直接在主力环境运行。 证据：`README.md` Claim：`clm_0003` supported 0.86

### 现在还不能相信

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

### 继续会触碰什么

- **命令执行**：包管理器、网络下载、本地插件目录、项目配置或用户主目录。 原因：运行第一条命令就可能产生环境改动；必须先判断是否值得跑。 证据：`README.md`
- **宿主 AI 配置**：Claude/Codex/Cursor/Gemini/OpenCode 等宿主的 plugin、Skill 或规则加载配置。 原因：宿主配置会改变 AI 后续工作方式，可能和用户已有规则冲突。 证据：`AGENTS.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_0004` inferred 0.45
- **命令执行会修改本地环境**：安装命令可能写入用户主目录、宿主插件目录或项目配置。 处理方式：先在隔离环境或测试账号中运行。 证据：`README.md` Claim：`clm_0005` 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。

### 任务路由

- **命令行启动或安装流程**：先说明这是安装后验证能力，再给出安装前检查清单。 边界：必须真实安装或运行后验证。 证据：`README.md` Claim：`clm_0001` supported 0.86

### 上下文规模

- 文件总数：608
- 重要文件覆盖：40/608
- 证据索引条目：75
- 角色 / Skill 条目：13

### 证据不足时的处理

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

## Prompt Recipes

### 适配判断

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

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

### 安装前体验

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

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

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


## 角色 / Skill 索引

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

- **Why use LangGraph?**（project_doc）：Low-level orchestration framework for building stateful agents. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`README.md`
- **LangGraph examples**（project_doc）：This directory is retained purely for archival purposes and is no longer updated. The examples previously found here have been moved to the newly consolidated LangChain documentation https://docs.langchain.com/oss/python/langgraph/overview . Please refer to the LangChain docs for the most up-to-date examples and usage guidelines for LangGraph. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`examples/README.md`
- **langgraph-checkpoint-conformance**（project_doc）：Conformance test suite for LangGraph https://github.com/langchain-ai/langgraph checkpointer implementations. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`libs/checkpoint-conformance/README.md`
- **LangGraph SQLite Checkpoint**（project_doc）：Implementation of LangGraph CheckpointSaver that uses SQLite DB both sync and async, via aiosqlite 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`libs/checkpoint-sqlite/README.md`
- **LangGraph Checkpoint**（project_doc）：This library defines the base interface for LangGraph checkpointers. Checkpointers provide a persistence layer for LangGraph. They allow you to interact with and manage the graph's state. When you use a graph with a checkpointer, the checkpointer saves a checkpoint of the graph state at every superstep, enabling several powerful capabilities like human-in-the-loop, "memory" between interactions and more. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`libs/checkpoint/README.md`
- **LangGraph CLI**（project_doc）：The official command-line interface for LangGraph, providing tools to create, develop, and deploy LangGraph applications. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`libs/cli/README.md`
- **New LangGraph.js Project**（project_doc）：! CI https://github.com/langchain-ai/new-langgraphjs-project/actions/workflows/unit-tests.yml/badge.svg https://github.com/langchain-ai/new-langgraphjs-project/actions/workflows/unit-tests.yml ! Integration Tests https://github.com/langchain-ai/new-langgraphjs-project/actions/workflows/integration-tests.yml/badge.svg https://github.com/langchain-ai/new-langgraphjs-project/actions/workflows/integration-tests.yml ! Op… 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`libs/cli/js-examples/README.md`
- **Get started**（project_doc）：Low-level orchestration framework for building stateful agents. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`libs/langgraph/README.md`
- **LangGraph Prebuilt**（project_doc）：This library defines high-level APIs for creating and executing LangGraph agents and tools. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`libs/prebuilt/README.md`
- **Readme**（project_doc）：This repository has been moved to langchain-ai/langgraphjs https://github.com/langchain-ai/langgraphjs/tree/main/libs/sdk . 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`libs/sdk-js/README.md`
- **LangGraph Python SDK**（project_doc）：This repository contains the Python SDK for interacting with the LangSmith Deployment REST API. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`libs/sdk-py/README.md`
- **AGENTS Instructions**（project_doc）：This repository is a monorepo. Each library lives in a subdirectory under libs/ . 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`AGENTS.md`
- **AGENTS Instructions**（project_doc）：This repository is a monorepo. Each library lives in a subdirectory under libs/ . 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`CLAUDE.md`

## 证据索引

- 共索引 75 条证据。

- **Why use LangGraph?**（documentation）：Low-level orchestration framework for building stateful agents. 证据：`README.md`
- **LangGraph examples**（documentation）：This directory is retained purely for archival purposes and is no longer updated. The examples previously found here have been moved to the newly consolidated LangChain documentation https://docs.langchain.com/oss/python/langgraph/overview . Please refer to the LangChain docs for the most up-to-date examples and usage guidelines for LangGraph. 证据：`examples/README.md`
- **langgraph-checkpoint-conformance**（documentation）：Conformance test suite for LangGraph https://github.com/langchain-ai/langgraph checkpointer implementations. 证据：`libs/checkpoint-conformance/README.md`
- **LangGraph SQLite Checkpoint**（documentation）：Implementation of LangGraph CheckpointSaver that uses SQLite DB both sync and async, via aiosqlite 证据：`libs/checkpoint-sqlite/README.md`
- **LangGraph Checkpoint**（documentation）：This library defines the base interface for LangGraph checkpointers. Checkpointers provide a persistence layer for LangGraph. They allow you to interact with and manage the graph's state. When you use a graph with a checkpointer, the checkpointer saves a checkpoint of the graph state at every superstep, enabling several powerful capabilities like human-in-the-loop, "memory" between interactions and more. 证据：`libs/checkpoint/README.md`
- **LangGraph CLI**（documentation）：The official command-line interface for LangGraph, providing tools to create, develop, and deploy LangGraph applications. 证据：`libs/cli/README.md`
- **New LangGraph.js Project**（documentation）：! CI https://github.com/langchain-ai/new-langgraphjs-project/actions/workflows/unit-tests.yml/badge.svg https://github.com/langchain-ai/new-langgraphjs-project/actions/workflows/unit-tests.yml ! Integration Tests https://github.com/langchain-ai/new-langgraphjs-project/actions/workflows/integration-tests.yml/badge.svg https://github.com/langchain-ai/new-langgraphjs-project/actions/workflows/integration-tests.yml ! Open in - LangGraph Studio https://img.shields.io/badge/Open in-LangGraph Studio-00324d.svg?logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4NS4zMzMiIGhlaWdodD0iODUuMzMzIiB2ZXJzaW9uPSIxLjAiIHZpZXdCb3g9IjAgMCA2NCA2NCI+PHBhdGggZD0iTTEzI… 证据：`libs/cli/js-examples/README.md`
- **Get started**（documentation）：Low-level orchestration framework for building stateful agents. 证据：`libs/langgraph/README.md`
- **LangGraph Prebuilt**（documentation）：This library defines high-level APIs for creating and executing LangGraph agents and tools. 证据：`libs/prebuilt/README.md`
- **Readme**（documentation）：This repository has been moved to langchain-ai/langgraphjs https://github.com/langchain-ai/langgraphjs/tree/main/libs/sdk . 证据：`libs/sdk-js/README.md`
- **LangGraph Python SDK**（documentation）：This repository contains the Python SDK for interacting with the LangSmith Deployment REST API. 证据：`libs/sdk-py/README.md`
- **AGENTS Instructions**（documentation）：This repository is a monorepo. Each library lives in a subdirectory under libs/ . 证据：`AGENTS.md`
- **AGENTS Instructions**（documentation）：This repository is a monorepo. Each library lives in a subdirectory under libs/ . 证据：`CLAUDE.md`
- **Package**（package_manifest）：{ "name": "example-graph", "version": "0.0.1", "description": "A starter template for creating a LangGraph workflow.", "packageManager": "yarn@1.22.22", "main": "my app/graph.ts", "author": "Your Name", "license": "MIT", "private": true, "type": "module", "scripts": { "build": "tsc", "clean": "rm -rf dist", "test": "node --experimental-vm-modules node modules/jest/bin/jest.js --testPathPattern=\\.test\\.ts$ --testPathIgnorePatterns=\\.int\\.test\\.ts$", "test:int": "node --experimental-vm-modules node modules/jest/bin/jest.js --testPathPattern=\\.int\\.test\\.ts$", "format": "prettier --write .", "lint": "eslint src", "format:check": "prettier --check .", "lint:langgraph-json": "node script… 证据：`libs/cli/js-examples/package.json`
- **Package**（package_manifest）：{ "name": "@js-monorepo-example/agent", "version": "0.0.1", "type": "module", "main": "src/graph.ts", "scripts": { "build": "tsc", "clean": "rm -rf dist" }, "dependencies": { "@js-monorepo-example/shared": " ", "@langchain/core": "^1.1.42", "@langchain/langgraph": "^1.2.9" }, "devDependencies": { "typescript": "^5.9.3" } } 证据：`libs/cli/js-monorepo-example/apps/agent/package.json`
- **Package**（package_manifest）：{ "name": "@js-monorepo-example/shared", "version": "0.0.1", "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "tsc", "clean": "rm -rf dist" }, "devDependencies": { "typescript": "^5.9.3" } } 证据：`libs/cli/js-monorepo-example/libs/shared/package.json`
- **Package**（package_manifest）：{ "name": "js-monorepo-example", "version": "0.0.1", "packageManager": "yarn@1.22.22", "description": "A simple monorepo example for LangGraph integration testing.", "private": true, "workspaces": "libs/ ", "apps/ " , "type": "module", "scripts": { "build": "turbo build", "clean": "turbo clean", "test": "turbo test", "format": "prettier --write .", "lint": "eslint 'apps/ / .ts' 'libs/ / .ts'" }, "devDependencies": { "turbo": "^2.9.14", "typescript": "^5.9.3", "@tsconfig/recommended": "^1.0.13", "@eslint/eslintrc": "^3.3.5", "@eslint/js": "^10.0.1", "eslint": "^10.2.1", "eslint-config-prettier": "^10.1.8", "eslint-plugin-import": "^2.27.5", "eslint-plugin-no-instanceof": "^1.0.1", "eslint-pl… 证据：`libs/cli/js-monorepo-example/package.json`
- **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: 证据：`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: 证据：`libs/checkpoint-postgres/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: 证据：`libs/checkpoint-sqlite/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: 证据：`libs/checkpoint/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: 证据：`libs/cli/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: 证据：`libs/cli/js-examples/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: 证据：`libs/langgraph/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: 证据：`libs/prebuilt/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: 证据：`libs/sdk-py/LICENSE`
- **Langgraph**（structured_config）：{ "python version": "3.12", "dependencies": ".", "./deps/additional deps", "./deps/zuper deps" , "graphs": { "agent": "./agent.py:graph" }, "env": "../.env" } 证据：`libs/cli/examples/graph_prerelease_reqs/langgraph.json`
- **Langgraph**（structured_config）：{ "python version": "3.12", "dependencies": "." , "graphs": { "agent": "./agent.py:graph" }, "env": "../.env" } 证据：`libs/cli/examples/graph_prerelease_reqs_fail/langgraph.json`
- **Langgraph**（structured_config）：{ "$schema": "https://langgra.ph/schema.json", "python version": "3.12", "dependencies": "langchain community", "langchain anthropic", "langchain openai", "wikipedia", "scikit-learn", "." , "graphs": { "agent": "./agent.py:graph", "storm": "./storm.py:graph" }, "env": "../.env" } 证据：`libs/cli/examples/graphs/langgraph.json`
- **Langgraph**（structured_config）：{ "$schema": "https://langgra.ph/schema.json", "dependencies": "." , "env": "../.env", "graphs": { "graph": "./hello.py:graph" } } 证据：`libs/cli/examples/graphs_reqs_a/langgraph.json`
- **Langgraph**（structured_config）：{ "$schema": "https://langgra.ph/schema.json", "dependencies": "." , "env": "../.env", "graphs": { "graph": "./hello.py:graph" } } 证据：`libs/cli/examples/graphs_reqs_b/langgraph.json`
- **Langgraph**（structured_config）：{ "pip config file": "./pipconf.txt", "dependencies": "langchain community", "langchain anthropic", "langchain openai", "wikipedia", "scikit-learn", "./graphs" , "keep pkg tools": false, "graphs": { "agent": "./graphs/agent.py:graph", "storm": "./graphs/storm.py:graph" }, "env": ".env" } 证据：`libs/cli/examples/langgraph.json`
- **Langgraph**（structured_config）：{ "$schema": "https://langgra.ph/schema.json", "node version": "20", "graphs": { "agent": "./src/agent/graph.ts:graph" }, "env": ".env", "dependencies": "." } 证据：`libs/cli/js-examples/langgraph.json`
- **Langgraph**（structured_config）：{ "node version": "20", "graphs": { "agent": "./src/graph.ts:graph" }, "env": "../../.env" } 证据：`libs/cli/js-monorepo-example/apps/agent/langgraph.json`
- **Langgraph**（structured_config）：{ "$schema": "https://langgra.ph/schema.json", "dependencies": ".", "../../libs/shared", "../../libs/common" , "graphs": { "agent": "./src/agent/graph.py:graph" }, "env": ".env" } 证据：`libs/cli/python-monorepo-example/apps/agent/langgraph.json`
- **Langgraph**（structured_config）：{ "python version": "3.12", "graphs": { "agent": "./src/agent/graph.py:graph" }, "source": { "kind": "uv", "root": "../..", "package": "agent" }, "env": ".env" } 证据：`libs/cli/uv-examples/monorepo/apps/agent/langgraph.json`
- **Langgraph**（structured_config）：{ "python version": "3.12", "graphs": { "agent": "./src/agent/graph.py:graph" }, "source": { "kind": "uv", "root": "." }, "env": ".env" } 证据：`libs/cli/uv-examples/simple/langgraph.json`
- **Langgraph**（structured_config）：{ "$schema": "https://langgra.ph/schema.json", "dependencies": "./graph" , "graphs": { "agent": "./graph/streaming graph.py:graph", "tools agent": "./graph/tools agent.py:graph", "deep agent": "./graph/deep agent.py:graph" }, "env": {} } 证据：`libs/sdk-py/integration/langgraph.json`
- **Init**（source_file）：all = 证据：`libs/checkpoint-conformance/langgraph/checkpoint/conformance/__init__.py`
- **Init**（source_file）：all = 证据：`libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/__init__.py`
- **The extended methods acopy thread, adelete for runs, aprune are checked**（source_file）：build-system requires = "hatchling" build-backend = "hatchling.build" 证据：`libs/checkpoint-conformance/pyproject.toml`
- **Rows are DESC; the last one is the smallest cid in the page.**（source_file）：DELTA PAGE SIZE = 1024 ⋮---- MetadataInput = dict str, Any None ⋮---- SELECT PENDING SENDS SQL = f""" ⋮---- UPSERT CHECKPOINT BLOBS SQL = """ ⋮---- UPSERT CHECKPOINTS SQL = """ ⋮---- UPSERT CHECKPOINT WRITES SQL = """ ⋮---- INSERT CHECKPOINT WRITES SQL = """ ⋮---- class DeltaStage2Row TypedDict, total=False ⋮---- kind: str checkpoint id: str None channel: str None type: str None blob: bytes None task id: str None idx: int None version: str None ⋮---- def build delta stage1 sql channels: Sequence str , , paged: bool - str ⋮---- cols = ⋮---- sql = ⋮---- branches: list str = ⋮---- class BasePostgresSaver BaseCheckpointSaver str ⋮---- SELECT SQL = SELECT SQL SELECT PENDING SENDS SQL = SELECT PE… 证据：`libs/checkpoint-postgres/langgraph/checkpoint/postgres/base.py`
- **Init**（source_file）：all = "AsyncPostgresStore", "PoolConfig", "PostgresStore" 证据：`libs/checkpoint-postgres/langgraph/store/postgres/__init__.py`
- **Handle TTL expiration**（source_file）：logger = logging.getLogger name ⋮---- class Migration NamedTuple ⋮---- sql: str params: dict str, Any None = None condition: Callable BasePostgresStore , bool None = None ⋮---- MIGRATIONS: Sequence str = ⋮---- VECTOR MIGRATIONS: Sequence Migration = ⋮---- C = TypeVar "C", bound= pg internal.Conn ainternal.Conn ⋮---- class PoolConfig TypedDict, total=False ⋮---- min size: int ⋮---- max size: int None ⋮---- kwargs: dict ⋮---- class ANNIndexConfig TypedDict, total=False ⋮---- kind: Literal "hnsw", "ivfflat", "flat" ⋮---- vector type: Literal "vector", "halfvec" ⋮---- class HNSWConfig ANNIndexConfig, total=False ⋮---- kind: Literal "hnsw" m: int ⋮---- ef construction: int ⋮---- class IVFFlatCon… 证据：`libs/checkpoint-postgres/langgraph/store/postgres/base.py`
- **https://mypy.readthedocs.io/en/stable/config file.html**（source_file）：build-system requires = "hatchling" build-backend = "hatchling.build" 证据：`libs/checkpoint-postgres/pyproject.toml`
- **purge expired entry**（source_file）：class SqliteCache BaseCache ValueT ⋮---- def get self, keys: Sequence FullKey - dict FullKey, ValueT ⋮---- now = datetime.datetime.now datetime.timezone.utc .timestamp ⋮---- placeholders = ",".join " ?, ? " for in keys params: list str = ⋮---- cursor = self. conn.execute values: dict FullKey, ValueT = {} rows = cursor.fetchall ⋮---- purge expired entry ⋮---- async def aget self, keys: Sequence FullKey - dict FullKey, ValueT ⋮---- """Asynchronously get the cached values for the given keys.""" ⋮---- def set self, mapping: Mapping FullKey, tuple ValueT, int None - None ⋮---- """Set the cached values for the given keys and TTLs.""" ⋮---- now = datetime.datetime.now datetime.timezone.utc ⋮---- d… 证据：`libs/checkpoint-sqlite/langgraph/cache/sqlite/__init__.py`
- **find the latest checkpoint for the thread id**（source_file）：AIO ERROR MSG = ⋮---- class SqliteSaver BaseCheckpointSaver str ⋮---- conn: sqlite3.Connection is setup: bool ⋮---- @classmethod @contextmanager def from conn string cls, conn string: str - Iterator SqliteSaver ⋮---- def setup self - None ⋮---- @contextmanager def cursor self, transaction: bool = True - Iterator sqlite3.Cursor ⋮---- cur = self.conn.cursor ⋮---- def get tuple self, config: RunnableConfig - CheckpointTuple None ⋮---- checkpoint ns = config "configurable" .get "checkpoint ns", "" ⋮---- find the latest checkpoint for the thread id ⋮---- config = { ⋮---- query = f"""SELECT thread id, checkpoint ns, checkpoint id, parent checkpoint id, type, checkpoint, metadata ⋮---- param value… 证据：`libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/__init__.py`
- **Init**（source_file）：all = "AsyncSqliteStore", "SqliteStore" 证据：`libs/checkpoint-sqlite/langgraph/store/sqlite/__init__.py`
- **Allow alphanumeric characters, underscores, dots, and hyphens**（source_file）：AIO ERROR MSG = ⋮---- logger = logging.getLogger name ⋮---- MIGRATIONS = ⋮---- VECTOR MIGRATIONS = ⋮---- class SqliteIndexConfig IndexConfig ⋮---- namespace = tuple "%" if val == " " else val for val in namespace ⋮---- def decode ns text namespace: str - tuple str, ... ⋮---- FILTER PATTERN = re.compile r"^ a-zA-Z0-9 .- +$" ⋮---- def validate filter key key: str - None ⋮---- """Validate that a filter key is safe for use in SQL queries. Args: key: The filter key to validate Raises: ValueError: If the key contains invalid characters that could enable SQL injection """ Allow alphanumeric characters, underscores, dots, and hyphens This covers typical JSON property names while preventing SQL inje… 证据：`libs/checkpoint-sqlite/langgraph/store/sqlite/base.py`
- **https://mypy.readthedocs.io/en/stable/config file.html**（source_file）：build-system requires = "hatchling" build-backend = "hatchling.build" 证据：`libs/checkpoint-sqlite/pyproject.toml`
- **Init**（source_file）：ValueT = TypeVar "ValueT" Namespace = tuple str, ... FullKey = tuple Namespace, str ⋮---- class BaseCache ABC, Generic ValueT ⋮---- serde: SerializerProtocol = JsonPlusSerializer pickle fallback=False ⋮---- def init self, , serde: SerializerProtocol None = None - None ⋮---- @abstractmethod def get self, keys: Sequence FullKey - dict FullKey, ValueT ⋮---- @abstractmethod async def aget self, keys: Sequence FullKey - dict FullKey, ValueT ⋮---- @abstractmethod def set self, pairs: Mapping FullKey, tuple ValueT, int None - None ⋮---- @abstractmethod async def aset self, pairs: Mapping FullKey, tuple ValueT, int None - None ⋮---- @abstractmethod def clear self, namespaces: Sequence Namespace Non… 证据：`libs/checkpoint/langgraph/cache/base/__init__.py`
- **Init**（source_file）：class InMemoryCache BaseCache ValueT ⋮---- def init self, , serde: SerializerProtocol None = None ⋮---- def get self, keys: Sequence FullKey - dict FullKey, ValueT ⋮---- now = datetime.datetime.now datetime.timezone.utc .timestamp values: dict FullKey, ValueT = {} ⋮---- ns = Namespace ns tuple ⋮---- async def aget self, keys: Sequence FullKey - dict FullKey, ValueT ⋮---- def set self, keys: Mapping FullKey, tuple ValueT, int None - None ⋮---- now = datetime.datetime.now datetime.timezone.utc ⋮---- delta = datetime.timedelta seconds=ttl expiry: float None = now + delta .timestamp ⋮---- expiry = None ⋮---- async def aset self, keys: Mapping FullKey, tuple ValueT, int None - None ⋮---- def cle… 证据：`libs/checkpoint/langgraph/cache/memory/__init__.py`
- **Build Redis keys**（source_file）：class RedisCache BaseCache ValueT ⋮---- def make key self, ns: Namespace, key: str - str ⋮---- ns str = ":".join ns if ns else "" ⋮---- def parse key self, redis key: str - tuple Namespace, str ⋮---- """Parse a Redis key back to namespace and key.""" ⋮---- remaining = redis key len self.prefix : ⋮---- parts = remaining.split ":" key = parts -1 ns parts = parts :-1 ⋮---- def get self, keys: Sequence FullKey - dict FullKey, ValueT ⋮---- """Get the cached values for the given keys.""" ⋮---- Build Redis keys redis keys = self. make key ns, key for ns, key in keys ⋮---- Get values from Redis using MGET ⋮---- raw values = self.redis.mget redis keys ⋮---- If Redis is unavailable, return empty dict… 证据：`libs/checkpoint/langgraph/cache/redis/__init__.py`
- **Init**（source_file）：V = TypeVar "V", int, float, str PendingWrite = tuple str, str, Any ⋮---- logger = logging.getLogger name ⋮---- class CheckpointMetadata TypedDict, total=False ⋮---- source: Literal "input", "loop", "update", "fork" ⋮---- step: int ⋮---- parents: dict str, str ⋮---- run id: str ⋮---- counters since delta snapshot: dict str, tuple int, int ⋮---- ChannelVersions = dict str, str int float ⋮---- class Checkpoint TypedDict ⋮---- v: int ⋮---- id: str ⋮---- ts: str ⋮---- channel values: dict str, Any ⋮---- channel versions: ChannelVersions ⋮---- versions seen: dict str, ChannelVersions ⋮---- updated channels: list str None ⋮---- def copy checkpoint checkpoint: Checkpoint - Checkpoint ⋮---- class C… 证据：`libs/checkpoint/langgraph/checkpoint/base/__init__.py`
- **Init**（source_file）：logger = logging.getLogger name ⋮---- class InMemorySaver ⋮---- storage: defaultdict ⋮---- writes: defaultdict blobs: dict ⋮---- def enter self - InMemorySaver ⋮---- async def aenter self - InMemorySaver ⋮---- result: dict str, Any = {} ⋮---- kk = thread id, checkpoint ns, k, ver ⋮---- vv = self.blobs kk ⋮---- thread id = config "configurable" "thread id" checkpoint ns = config "configurable" .get "checkpoint ns", "" checkpoint id = config "configurable" .get "checkpoint id", "" ns storage = self.storage.get thread id, {} .get checkpoint ns, {} ⋮---- chain: list str = target entry = ns storage.get checkpoint id current: str None = target entry 2 if target entry is not None else None ⋮---- e… 证据：`libs/checkpoint/langgraph/checkpoint/memory/__init__.py`
- **Msgpack**（source_file）：STRICT MSGPACK ENABLED = os.getenv "LANGGRAPH STRICT MSGPACK", "false" .lower in ⋮---- SENTINEL = cast None, object ⋮---- SAFE MSGPACK TYPES: frozenset tuple str, ... = frozenset ⋮---- SAFE MSGPACK METHODS: frozenset tuple str, str, str = frozenset ⋮---- AllowedMsgpackModules = Iterable tuple str, ... type 证据：`libs/checkpoint/langgraph/checkpoint/serde/_msgpack.py`
- **Base**（source_file）：class UntypedSerializerProtocol Protocol ⋮---- def dumps self, obj: Any - bytes: ... ⋮---- def loads self, data: bytes - Any: ... ⋮---- @runtime checkable class SerializerProtocol Protocol ⋮---- def dumps typed self, obj: Any - tuple str, bytes : ... ⋮---- def loads typed self, data: tuple str, bytes - Any: ... ⋮---- class SerializerCompat SerializerProtocol ⋮---- def init self, serde: UntypedSerializerProtocol - None ⋮---- def dumps typed self, obj: Any - tuple str, bytes ⋮---- def loads typed self, data: tuple str, bytes - Any ⋮---- class CipherProtocol Protocol ⋮---- def encrypt self, plaintext: bytes - tuple str, bytes ⋮---- def decrypt self, ciphername: str, ciphertext: bytes - bytes 证据：`libs/checkpoint/langgraph/checkpoint/serde/base.py`
- **Types**（source_file）：ERROR = " error " SCHEDULED = " scheduled " INTERRUPT = " interrupt " RESUME = " resume " TASKS = " pregel tasks" ⋮---- class DeltaSnapshot NamedTuple ⋮---- value: Any ⋮---- Value = TypeVar "Value", covariant=True Update = TypeVar "Update", contravariant=True C = TypeVar "C" ⋮---- class ChannelProtocol Protocol Value, Update, C ⋮---- @property def ValueType self - Any: ... ⋮---- @property def UpdateType self - Any: ... ⋮---- def checkpoint self - C None: ... ⋮---- def from checkpoint self, checkpoint: C None - Self: ... ⋮---- def update self, values: Sequence Update - bool: ... ⋮---- def get self - Value: ... ⋮---- def consume self - bool: ... ⋮---- @runtime checkable class SendProtocol Pro… 证据：`libs/checkpoint/langgraph/checkpoint/serde/types.py`
- **Init**（source_file）：class NotProvided ⋮---- def bool self - Literal False ⋮---- @override def repr self - str ⋮---- NOT PROVIDED = NotProvided ⋮---- class Item ⋮---- slots = "value", "key", "namespace", "created at", "updated at" ⋮---- def eq self, other: object - bool ⋮---- def hash self - int ⋮---- def dict self - dict ⋮---- def repr self - str ⋮---- class SearchItem Item ⋮---- """Represents an item returned from a search operation with additional metadata.""" ⋮---- slots = "score", ⋮---- """Initialize a result item. Args: namespace: Hierarchical path to the item. key: Unique identifier within the namespace. value: The stored value. created at: When the item was first created. updated at: When the item was l… 证据：`libs/checkpoint/langgraph/store/base/__init__.py`
- **Init**（source_file）：logger = logging.getLogger name ⋮---- class InMemoryStore BaseStore ⋮---- slots = ⋮---- def init self, , index: IndexConfig None = None - None ⋮---- def batch self, ops: Iterable Op - list Result ⋮---- queryinmem store = self. embed search queries search ops ⋮---- to embed = self. extract texts put ops ⋮---- embeddings = self.embeddings.embed documents list to embed ⋮---- async def abatch self, ops: Iterable Op - list Result ⋮---- queryinmem store = await self. aembed search queries search ops ⋮---- embeddings = await self.embeddings.aembed documents list to embed ⋮---- def filter items self, op: SearchOp - list tuple Item, list list float ⋮---- namespace prefix = op.namespace prefix ⋮----… 证据：`libs/checkpoint/langgraph/store/memory/__init__.py`
- 其余 15 条证据见 `AI_CONTEXT_PACK.json` 或 `EVIDENCE_INDEX.json`。

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

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

- **LangGraph 简介**：importance `high`
  - source_paths: README.md, libs/langgraph/langgraph/constants.py, libs/langgraph/langgraph/types.py
- **安装与配置**：importance `high`
  - source_paths: libs/langgraph/pyproject.toml, libs/cli/pyproject.toml, libs/sdk-py/pyproject.toml
- **核心架构**：importance `high`
  - source_paths: libs/langgraph/langgraph/pregel/main.py, libs/langgraph/langgraph/pregel/_loop.py, libs/langgraph/langgraph/pregel/_algo.py, libs/langgraph/langgraph/config.py
- **图构建与状态定义**：importance `high`
  - source_paths: libs/langgraph/langgraph/graph/state.py, libs/langgraph/langgraph/graph/_node.py, libs/langgraph/langgraph/graph/_branch.py, libs/langgraph/langgraph/graph/message.py
- **Pregel 执行引擎**：importance `high`
  - source_paths: libs/langgraph/langgraph/pregel/_runner.py, libs/langgraph/langgraph/pregel/_executor.py, libs/langgraph/langgraph/pregel/_retry.py, libs/langgraph/langgraph/pregel/_call.py
- **通道与状态管理**：importance `high`
  - source_paths: libs/langgraph/langgraph/channels/base.py, libs/langgraph/langgraph/channels/last_value.py, libs/langgraph/langgraph/channels/any_value.py, libs/langgraph/langgraph/channels/topic.py, libs/langgraph/langgraph/channels/binop.py
- **检查点与持久化**：importance `high`
  - source_paths: libs/checkpoint/langgraph/checkpoint/base/__init__.py, libs/checkpoint/langgraph/checkpoint/memory/__init__.py, libs/checkpoint-postgres/langgraph/checkpoint/postgres/base.py, libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/__init__.py, libs/checkpoint/langgraph/checkpoint/serde/_msgpack.py
- **状态管理与内存**：importance `high`
  - source_paths: libs/checkpoint/langgraph/store/base/__init__.py, libs/checkpoint/langgraph/store/memory/__init__.py, libs/checkpoint-postgres/langgraph/store/postgres/base.py, libs/langgraph/langgraph/pregel/_checkpoint.py

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

- repo_clone_verified: true
- repo_inspection_verified: true
- repo_commit: `1fcb7681825faf0372fc1556910b0337ea10d761`
- inspected_files: `README.md`, `docs/redirects.json`, `docs/generate_redirects.py`, `examples/README.md`, `examples/chatbot-simulation-evaluation/simulation_utils.py`

宿主 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: 来源证据：AsyncSqliteSaver.put() and put_writes() deadlock instead of raising when called synchronously from within the event loop

- Trigger: GitHub 社区证据显示该项目存在一个安装相关的待验证问题：AsyncSqliteSaver.put() and put_writes() deadlock instead of raising when called synchronously from within the event loop
- Host AI rule: 来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- Why it matters: 可能阻塞安装或首次运行。
- Evidence: community_evidence:github | cevd_ec8f888eb036440b88ed7e31328b3046 | https://github.com/langchain-ai/langgraph/issues/7857 | 来源讨论提到 python 相关条件，需在安装/试用前复核。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 2: 来源证据：Suggest: generate random Postgres password instead of hardcoded default in Docker Compose

- Trigger: GitHub 社区证据显示该项目存在一个安装相关的待验证问题：Suggest: generate random Postgres password instead of hardcoded default in Docker Compose
- Host AI rule: 来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- Why it matters: 可能增加新用户试用和生产接入成本。
- Evidence: community_evidence:github | cevd_1a1a157468f4446fbeac473755397fa9 | https://github.com/langchain-ai/langgraph/issues/7276 | 来源讨论提到 python 相关条件，需在安装/试用前复核。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 3: 来源证据：[BUG] Interrupt() in a loop will cause extra resumes

- Trigger: GitHub 社区证据显示该项目存在一个安装相关的待验证问题：[BUG] Interrupt() in a loop will cause extra resumes
- Host AI rule: 来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- Why it matters: 可能增加新用户试用和生产接入成本。
- Evidence: community_evidence:github | cevd_69df436706ce4f59962e3bd145649e86 | https://github.com/langchain-ai/langgraph/issues/7780 | 来源讨论提到 python 相关条件，需在安装/试用前复核。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 4: 来源证据：fix(langgraph): add missing stacklevel to warnings.warn() calls

- Trigger: GitHub 社区证据显示该项目存在一个安装相关的待验证问题：fix(langgraph): add missing stacklevel to warnings.warn() calls
- Host AI rule: 来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- Why it matters: 可能影响升级、迁移或版本选择。
- Evidence: community_evidence:github | cevd_4c8845f5dfba41d0affb4194e5bc7f14 | https://github.com/langchain-ai/langgraph/issues/7776 | 来源讨论提到 python 相关条件，需在安装/试用前复核。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 5: 来源证据：Add support for Python 3.14

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

### Constraint 6: 来源证据：v3 stream.subgraphs doesn't detect sub-agents invoked inside tool functions

- Trigger: GitHub 社区证据显示该项目存在一个配置相关的待验证问题：v3 stream.subgraphs doesn't detect sub-agents invoked inside tool functions
- Host AI rule: 来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- Why it matters: 可能增加新用户试用和生产接入成本。
- Evidence: community_evidence:github | cevd_56545a2106724f298aded17776940248 | https://github.com/langchain-ai/langgraph/issues/7910 | 来源讨论提到 python 相关条件，需在安装/试用前复核。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 7: 来源证据：checkpoint: add stable tie-breaks for equal timestamp ordering

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

### Constraint 8: 来源证据：AsyncGraphRunStream lacks interleave for v3 stream projections

- Trigger: GitHub 社区证据显示该项目存在一个维护/版本相关的待验证问题：AsyncGraphRunStream lacks interleave for v3 stream projections
- Host AI rule: 来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- Why it matters: 可能增加新用户试用和生产接入成本。
- Evidence: community_evidence:github | cevd_a14d67e6025641f2a4a5bb7a36e4fc58 | https://github.com/langchain-ai/langgraph/issues/7793 | 来源讨论提到 python 相关条件，需在安装/试用前复核。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 9: 来源证据：Default value of state variable not working with reducer function

- Trigger: GitHub 社区证据显示该项目存在一个安全/权限相关的待验证问题：Default value of state variable not working with reducer function
- Host AI rule: 来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- Why it matters: 可能影响授权、密钥配置或安全边界。
- Evidence: community_evidence:github | cevd_2a10ebd879a14b72ba63bdd62beb6ebe | https://github.com/langchain-ai/langgraph/issues/5225 | 来源讨论提到 python 相关条件，需在安装/试用前复核。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 10: 来源证据：Docs safety guidance: auditable final-state receipts for agent completion claims?

- Trigger: GitHub 社区证据显示该项目存在一个安全/权限相关的待验证问题：Docs safety guidance: auditable final-state receipts for agent completion claims?
- Host AI rule: 来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- Why it matters: 可能影响授权、密钥配置或安全边界。
- Evidence: community_evidence:github | cevd_cc5ca96d7d24420ca0bd3de5c32028ce | https://github.com/langchain-ai/langgraph/issues/7844 | 来源讨论提到 python 相关条件，需在安装/试用前复核。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。
