# haystack-docs-website - Doramagic AI Context Pack

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

## 充分原则

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

## 给宿主 AI 的使用方式

你正在读取 Doramagic 为 haystack-docs-website 编译的 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 haystack-ai` 证据：`README.md` Claim：`clm_0003` supported 0.86
- `pip install --pre haystack-ai` 证据：`README.md` Claim：`clm_0004` supported 0.86

## 继续前判断卡

- **当前建议**：先做角色匹配试用
- **为什么**：这个项目更像角色库，核心风险是选错角色或把角色文案当执行能力；先用 Prompt Preview 试角色匹配，再决定是否沙盒导入。

### 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）：角色库证明有很多角色，不证明每个角色都适合你的具体任务，也不证明角色能产生高质量结果。
- **不能把角色文案当成真实执行能力。**（unverified）：安装前只能判断角色描述和任务画像是否匹配，不能证明它能在宿主 AI 里完成任务。
- **真实输出质量不能在安装前相信。**（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）：安装前预览只能展示流程和边界，不能替代真实评测。

### 继续会触碰什么

- **角色选择偏差**：用户对任务应该由哪个专家角色处理的判断。 原因：选错角色会让 AI 从错误专业视角回答，浪费时间或误导决策。
- **命令执行**：包管理器、网络下载、本地插件目录、项目配置或用户主目录。 原因：运行第一条命令就可能产生环境改动；必须先判断是否值得跑。 证据：`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_0005` inferred 0.45
- **命令执行会修改本地环境**：安装命令可能写入用户主目录、宿主插件目录或项目配置。 处理方式：先在隔离环境或测试账号中运行。 证据：`README.md` Claim：`clm_0006` 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

### 上下文规模

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

### 证据不足时的处理

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

## Prompt Recipes

### 适配判断

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

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

### 安装前体验

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

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

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


## 角色 / Skill 索引

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

- **Haystack Guidelines for AI Agents**（project_doc）：Haystack uses Hatch for environment and dependency management. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`AGENTS.md`
- **CLAUDE.md**（project_doc）：Before you start working on this repository, read the AGENTS.md file and follow all the instructions. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`CLAUDE.md`
- **Table of Contents**（project_doc）：------- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------… 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`README.md`
- **Haystack 2.x**（project_doc）：Haystack https://github.com/deepset-ai/haystack is an end-to-end LLM framework that allows you to build applications powered by LLMs, Transformer models, vector search and more. Whether you want to perform retrieval-augmented generation RAG , document search, question answering or answer generation, Haystack can orchestrate state-of-the-art embedding models and LLMs into pipelines to build end-to-end NLP application… 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docker/README.md`
- **Haystack Documentation Website**（project_doc）：This directory contains the Docusaurus-powered documentation website for Haystack https://github.com/deepset-ai/haystack , an open-source framework for building production-ready applications with Large Language Models LLMs . 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/README.md`
- **Examples have been moved!**（project_doc）：If you're searching for Haystack examples we moved them into a dedicated repository. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`examples/README.md`
- **:ledger: Looking for the docs?**（project_doc）：You can find Haystack's documentation at https://docs.haystack.deepset.ai/. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`pydoc/README.md`
- **Pipeline.run behavioural tests**（project_doc）：This module contains all behavioural tests for Pipeline.run . 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`test/core/pipeline/features/README.md`
- **Contributing to Haystack**（project_doc）：First off, thanks for taking the time to contribute! :blue heart: 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`CONTRIBUTING.md`
- **Contributing to Haystack Documentation**（project_doc）：Contributing to Haystack Documentation 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/CONTRIBUTING.md`
- **Related Issues**（project_doc）：- I have read the contributors guidelines https://github.com/deepset-ai/haystack/blob/main/CONTRIBUTING.md and the code of conduct https://github.com/deepset-ai/haystack/blob/main/code of conduct.txt . - I have updated the related issue with new insights and changes. - I have added unit tests and updated the docstrings. - I've used one of the conventional commit types https://www.conventionalcommits.org/en/v1.0.0/ f… 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`.github/pull_request_template.md`
- **Security Policy**（project_doc）：If you have found a security vulnerability in Haystack, please report via email to opensource-security@deepset.ai mailto:opensource-security@deepset.ai . 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`SECURITY.md`
- **Breaking change proposal**（project_doc）：Briefly explain how the change is breaking and why it is needed. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`.github/ISSUE_TEMPLATE/breaking-change-proposal.md`
- **Bug report**（project_doc）：Describe the bug A clear and concise description of what the bug is. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`.github/ISSUE_TEMPLATE/bug_report.md`
- **Feature request**（project_doc）：Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when ... 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`.github/ISSUE_TEMPLATE/feature_request.md`
- **Module haystack\ experimental.components.agents.agent**（project_doc）：Tool-using agents with provider-agnostic chat model support. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/experiments-api/experimental_agents_api.md`
- **Module haystack\ experimental.chat\ message\ stores.in\ memory**（project_doc）：Storage for the chat messages. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/experiments-api/experimental_chatmessage_store_api.md`
- **Module haystack\ experimental.components.generators.chat.openai**（project_doc）：Enables text generation using LLMs. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/experiments-api/experimental_generators_api.md`
- **Module haystack\ experimental.memory\ stores.mem0.memory\ store**（project_doc）：Storage for the memories using Mem0 as the backend. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/experiments-api/experimental_mem0_memory_store_api.md`
- **Module haystack\ experimental.components.preprocessors.md\ header\ level\ inferrer**（project_doc）：Pipelines wrapped as components. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/experiments-api/experimental_preprocessors_api.md`
- **Module haystack\ experimental.components.retrievers.chat\ message\ retriever**（project_doc）：Sweep through Document Stores and return a set of candidate documents that are relevant to the query. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/experiments-api/experimental_retrievers_api.md`
- **Module haystack\ experimental.components.summarizers.llm\ summarizer**（project_doc）：Components that summarize texts into concise versions. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/experiments-api/experimental_summarizer_api.md`
- **Module haystack\ experimental.components.writers.chat\ message\ writer**（project_doc）：Writers for Haystack. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/experiments-api/experimental_writers_api.md`
- **agent**（project_doc）：Tool-using agents with provider-agnostic chat model support. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/haystack-api/agents_api.md`
- **whisper local**（project_doc）：Transcribes audio files. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/haystack-api/audio_api.md`
- **answer builder**（project_doc）：Extract the output of a Generator to an Answer format, and build prompts. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/haystack-api/builders_api.md`
- **cache checker**（project_doc）：Checks if any document coming from the given URL is already present in the store. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/haystack-api/cachings_api.md`
- **document language classifier**（project_doc）：Classify documents based on the provided labels. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/haystack-api/classifiers_api.md`
- **openapi**（project_doc）：Various connectors to integrate with external services. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/haystack-api/connectors_api.md`
- **azure**（project_doc）：Various converters to transform data from one format to another. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/haystack-api/converters_api.md`
- **answer**（project_doc）：Core classes that carry data through the system. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/haystack-api/data_classes_api.md`
- **document store**（project_doc）：Stores your texts and meta data and provides them to the Retriever at query time. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/haystack-api/document_stores_api.md`
- **document writer**（project_doc）：Writes Documents to a DocumentStore. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/haystack-api/document_writers_api.md`
- **azure document embedder**（project_doc）：Transforms queries into vectors to look for similar or relevant Documents. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/haystack-api/embedders_api.md`
- **eval run result**（project_doc）：Represents the results of evaluation. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/haystack-api/evaluation_api.md`
- **answer exact match**（project_doc）：Evaluate your pipelines or individual components. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/haystack-api/evaluators_api.md`
- **image/llm document content extractor**（project_doc）：Components to extract specific elements from textual data. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/haystack-api/extractors_api.md`
- **link content**（project_doc）：Fetches content from a list of URLs and returns a list of extracted content streams. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/haystack-api/fetchers_api.md`
- **azure**（project_doc）：Enables text generation using LLMs. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/haystack-api/generators_api.md`
- **dataclasses**（project_doc）：Abstractions for integrating human feedback and interaction into Agent workflows. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/haystack-api/human_in_the_loop_api.md`
- **document to image**（project_doc）：Various converters to transform image data from one format to another. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/haystack-api/image_converters_api.md`
- **answer joiner**（project_doc）：Components that join list of different objects 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/haystack-api/joiners_api.md`
- **async pipeline**（project_doc）：Arranges components and integrations in flow. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/haystack-api/pipeline_api.md`
- **csv document cleaner**（project_doc）：Preprocess your Documents and texts. Clean, split, and more. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/haystack-api/preprocessors_api.md`
- **query expander**（project_doc）：Components for query processing and expansion. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/haystack-api/query_api.md`
- **hugging face tei**（project_doc）：Reorders a set of Documents based on their relevance to the query. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/haystack-api/rankers_api.md`
- **extractive**（project_doc）：Takes a query and a set of Documents as input and returns ExtractedAnswers by selecting a text span within the Documents. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/haystack-api/readers_api.md`
- **auto merging retriever**（project_doc）：Sweeps through a Document Store and returns a set of candidate Documents that are relevant to the query. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/haystack-api/retrievers_api.md`
- **conditional router**（project_doc）：Routers is a group of components that route queries or Documents to other components that can handle them best. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/haystack-api/routers_api.md`
- **top p**（project_doc）：Filters documents based on their similarity scores using top-p sampling. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/haystack-api/samplers_api.md`
- **tool invoker**（project_doc）：Components related to Tool Calling. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/haystack-api/tool_components_api.md`
- **component tool**（project_doc）：Unified abstractions to represent tools across the framework. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/haystack-api/tools_api.md`
- **asynchronous**（project_doc）：Utility functions and classes used across the library. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/haystack-api/utils_api.md`
- **json schema**（project_doc）：Validators validate LLM outputs 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/haystack-api/validators_api.md`
- **searchapi**（project_doc）：Web search engine for Haystack. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/haystack-api/websearch_api.md`
- **Module haystack\ integrations.components.generators.aimlapi.chat.chat\ generator**（project_doc）：AIMLAPI integration for Haystack 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/integrations-api/aimlapi.md`
- **haystack integrations.components.retrievers.alloydb.embedding retriever**（project_doc）：AlloyDB integration for Haystack 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/integrations-api/alloydb.md`
- **haystack integrations.common.amazon bedrock.errors**（project_doc）：Amazon Bedrock integration for Haystack 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/integrations-api/amazon_bedrock.md`
- **Module haystack\ integrations.components.generators.amazon\ sagemaker.sagemaker**（project_doc）：Amazon Sagemaker integration for Haystack 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/integrations-api/amazon_sagemaker.md`
- **haystack integrations.components.generators.anthropic.chat.chat generator**（project_doc）：Anthropic integration for Haystack 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/integrations-api/anthropic.md`
- **haystack integrations.components.retrievers.arcadedb.embedding retriever**（project_doc）：ArcadeDB integration for Haystack 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/integrations-api/arcadedb.md`
- **haystack integrations.components.retrievers.astra.retriever**（project_doc）：Astra integration for Haystack 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/integrations-api/astra.md`
- **haystack integrations.components.retrievers.azure ai search.embedding retriever**（project_doc）：Azure AI Search integration for Haystack 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/integrations-api/azure_ai_search.md`
- **Module haystack\ integrations.components.converters.azure\ doc\ intelligence.converter**（project_doc）：Azure Document Intelligence integration for Haystack 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/integrations-api/azure_doc_intelligence.md`
- **haystack integrations.components.websearch.brave.brave websearch**（project_doc）：Brave Search integration for Haystack 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/integrations-api/brave.md`
- **haystack integrations.components.preprocessors.chonkie.recursive splitter**（project_doc）：Chonkie integration for Haystack 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/integrations-api/chonkie.md`
- **haystack integrations.components.retrievers.chroma.retriever**（project_doc）：Chroma integration for Haystack 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/integrations-api/chroma.md`
- **haystack integrations.components.embedders.cohere.document embedder**（project_doc）：Cohere integration for Haystack 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/integrations-api/cohere.md`
- **Module haystack\ integrations.components.generators.cometapi.chat.chat\ generator**（project_doc）：Comet API integration for Haystack 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/integrations-api/cometapi.md`
- **Module haystack\ integrations.components.evaluators.deepeval.evaluator**（project_doc）：DeepEval integration for Haystack 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/integrations-api/deepeval.md`
- **haystack integrations.components.converters.docling.converter**（project_doc）：Docling integration for Haystack 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/integrations-api/docling.md`
- **haystack integrations.components.converters.docling serve.converter**（project_doc）：Docling Serve integration for Haystack 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/integrations-api/docling_serve.md`
- **haystack integrations.tools.e2b.bash tool**（project_doc）：E2B integration for Haystack 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/integrations-api/e2b.md`
- **haystack integrations.components.retrievers.elasticsearch.bm25 retriever**（project_doc）：Elasticsearch integration for Haystack 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/integrations-api/elasticsearch.md`
- **haystack integrations.components.retrievers.faiss.embedding retriever**（project_doc）：FAISS integration for Haystack 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/integrations-api/faiss.md`
- **haystack integrations.components.retrievers.falkordb.cypher retriever**（project_doc）：FalkorDB integration for Haystack 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/integrations-api/falkordb.md`
- **haystack integrations.components.embedders.fastembed.fastembed document embedder**（project_doc）：FastEmbed integration for Haystack 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/integrations-api/fastembed.md`
- **haystack integrations.components.fetchers.firecrawl.firecrawl crawler**（project_doc）：Firecrawl integration for Haystack 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs-website/reference/integrations-api/firecrawl.md`

## 证据索引

- 共索引 80 条证据。

- **Haystack Guidelines for AI Agents**（documentation）：Haystack uses Hatch for environment and dependency management. 证据：`AGENTS.md`
- **CLAUDE.md**（documentation）：Before you start working on this repository, read the AGENTS.md file and follow all the instructions. 证据：`CLAUDE.md`
- **Table of Contents**（documentation）：------- -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------… 证据：`README.md`
- **Haystack 2.x**（documentation）：Haystack https://github.com/deepset-ai/haystack is an end-to-end LLM framework that allows you to build applications powered by LLMs, Transformer models, vector search and more. Whether you want to perform retrieval-augmented generation RAG , document search, question answering or answer generation, Haystack can orchestrate state-of-the-art embedding models and LLMs into pipelines to build end-to-end NLP applications and solve your use case. 证据：`docker/README.md`
- **Haystack Documentation Website**（documentation）：This directory contains the Docusaurus-powered documentation website for Haystack https://github.com/deepset-ai/haystack , an open-source framework for building production-ready applications with Large Language Models LLMs . 证据：`docs-website/README.md`
- **Examples have been moved!**（documentation）：If you're searching for Haystack examples we moved them into a dedicated repository. 证据：`examples/README.md`
- **:ledger: Looking for the docs?**（documentation）：You can find Haystack's documentation at https://docs.haystack.deepset.ai/. 证据：`pydoc/README.md`
- **Pipeline.run behavioural tests**（documentation）：This module contains all behavioural tests for Pipeline.run . 证据：`test/core/pipeline/features/README.md`
- **Package**（package_manifest）：{ "name": "haystack-docs-website", "version": "0.0.0", "private": true, "scripts": { "docusaurus": "docusaurus", "start": "docusaurus start", "build": "docusaurus build", "swizzle": "docusaurus swizzle", "deploy": "docusaurus deploy", "clear": "docusaurus clear", "serve": "docusaurus serve", "write-translations": "docusaurus write-translations", "write-heading-ids": "docusaurus write-heading-ids", "update-next-version": "node scripts/update-next-version.js", "create-version": "node scripts/create-new-version.js", "vercel:dev": "vercel dev", "generate-llms-txt": "docusaurus generate-llms-txt" }, "dependencies": { "@docusaurus/core": "^3.10.0", "@docusaurus/faster": "^3.10.0", "@docusaurus/pl… 证据：`docs-website/package.json`
- **Contributing to Haystack**（documentation）：First off, thanks for taking the time to contribute! :blue heart: 证据：`CONTRIBUTING.md`
- **Contributing to Haystack Documentation**（documentation）：Contributing to Haystack Documentation 证据：`docs-website/CONTRIBUTING.md`
- **License**（source_file）：Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ 证据：`LICENSE`
- **Related Issues**（documentation）：- I have read the contributors guidelines https://github.com/deepset-ai/haystack/blob/main/CONTRIBUTING.md and the code of conduct https://github.com/deepset-ai/haystack/blob/main/code of conduct.txt . - I have updated the related issue with new insights and changes. - I have added unit tests and updated the docstrings. - I've used one of the conventional commit types https://www.conventionalcommits.org/en/v1.0.0/ for my PR title: fix: , feat: , build: , chore: , ci: , docs: , style: , refactor: , perf: , test: and added ! in case the PR includes breaking changes. - I have documented my code. - I have added a release note file, following the contributors guidelines https://github.com/deepse… 证据：`.github/pull_request_template.md`
- **Security Policy**（documentation）：If you have found a security vulnerability in Haystack, please report via email to opensource-security@deepset.ai mailto:opensource-security@deepset.ai . 证据：`SECURITY.md`
- **Summary and motivation**（documentation）：Briefly explain how the change is breaking and why it is needed. 证据：`.github/ISSUE_TEMPLATE/breaking-change-proposal.md`
- **Bug Report**（documentation）：Describe the bug A clear and concise description of what the bug is. 证据：`.github/ISSUE_TEMPLATE/bug_report.md`
- **Feature Request**（documentation）：Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when ... 证据：`.github/ISSUE_TEMPLATE/feature_request.md`
- **Module haystack\ experimental.components.agents.agent**（documentation）：Module haystack\ experimental.components.agents.agent 证据：`docs-website/reference/experiments-api/experimental_agents_api.md`
- **Module haystack\ experimental.chat\ message\ stores.in\ memory**（documentation）：Module haystack\ experimental.chat\ message\ stores.in\ memory 证据：`docs-website/reference/experiments-api/experimental_chatmessage_store_api.md`
- **Module haystack\ experimental.components.generators.chat.openai**（documentation）：Module haystack\ experimental.components.generators.chat.openai 证据：`docs-website/reference/experiments-api/experimental_generators_api.md`
- **Module haystack\ experimental.memory\ stores.mem0.memory\ store**（documentation）：Module haystack\ experimental.memory\ stores.mem0.memory\ store 证据：`docs-website/reference/experiments-api/experimental_mem0_memory_store_api.md`
- **Module haystack\ experimental.components.preprocessors.md\ header\ level\ inferrer**（documentation）：Module haystack\ experimental.components.preprocessors.md\ header\ level\ inferrer 证据：`docs-website/reference/experiments-api/experimental_preprocessors_api.md`
- **Module haystack\ experimental.components.retrievers.chat\ message\ retriever**（documentation）：Module haystack\ experimental.components.retrievers.chat\ message\ retriever 证据：`docs-website/reference/experiments-api/experimental_retrievers_api.md`
- **Module haystack\ experimental.components.summarizers.llm\ summarizer**（documentation）：Module haystack\ experimental.components.summarizers.llm\ summarizer 证据：`docs-website/reference/experiments-api/experimental_summarizer_api.md`
- **Module haystack\ experimental.components.writers.chat\ message\ writer**（documentation）：Module haystack\ experimental.components.writers.chat\ message\ writer 证据：`docs-website/reference/experiments-api/experimental_writers_api.md`
- **agent**（documentation）：A tool-using Agent powered by a large language model. 证据：`docs-website/reference/haystack-api/agents_api.md`
- **whisper local**（documentation）：Transcribes audio files using OpenAI's Whisper model on your local machine. 证据：`docs-website/reference/haystack-api/audio_api.md`
- **answer builder**（documentation）：Converts a query and Generator replies into a GeneratedAnswer object. 证据：`docs-website/reference/haystack-api/builders_api.md`
- **cache checker**（documentation）：Checks for the presence of documents in a Document Store based on a specified field in each document's metadata. 证据：`docs-website/reference/haystack-api/cachings_api.md`
- **document language classifier**（documentation）：Classifies the language of each document and adds it to its metadata. 证据：`docs-website/reference/haystack-api/classifiers_api.md`
- **openapi**（documentation）：OpenAPIConnector enables direct invocation of REST endpoints defined in an OpenAPI specification. 证据：`docs-website/reference/haystack-api/connectors_api.md`
- **azure**（documentation）：Converts files to documents using Azure's Document Intelligence service. 证据：`docs-website/reference/haystack-api/converters_api.md`
- **answer**（documentation）：Holds an answer extracted by an extractive Reader query, score, text, and optional document/context . 证据：`docs-website/reference/haystack-api/data_classes_api.md`
- **document store**（documentation）：A dataclass for managing document statistics for BM25 retrieval. 证据：`docs-website/reference/haystack-api/document_stores_api.md`
- **document writer**（documentation）：Writes documents to a DocumentStore. 证据：`docs-website/reference/haystack-api/document_writers_api.md`
- **azure document embedder**（documentation）：Calculates document embeddings using OpenAI models deployed on Azure. 证据：`docs-website/reference/haystack-api/embedders_api.md`
- **eval run result**（documentation）：Contains the inputs and the outputs of an evaluation pipeline and provides methods to inspect them. 证据：`docs-website/reference/haystack-api/evaluation_api.md`
- **answer exact match**（documentation）：An answer exact match evaluator class. 证据：`docs-website/reference/haystack-api/evaluators_api.md`
- **image/llm document content extractor**（documentation）：image/llm document content extractor 证据：`docs-website/reference/haystack-api/extractors_api.md`
- **link content**（documentation）：Fetches and extracts content from URLs. 证据：`docs-website/reference/haystack-api/fetchers_api.md`
- **azure**（documentation）：Generates text using OpenAI's large language models LLMs . 证据：`docs-website/reference/haystack-api/generators_api.md`
- **dataclasses**（documentation）：Result of the confirmation UI interaction. 证据：`docs-website/reference/haystack-api/human_in_the_loop_api.md`
- **document to image**（documentation）：Converts documents sourced from PDF and image files into ImageContents. 证据：`docs-website/reference/haystack-api/image_converters_api.md`
- **answer joiner**（documentation）：Convert a string to a JoinMode enum. 证据：`docs-website/reference/haystack-api/joiners_api.md`
- **async pipeline**（documentation）：Asynchronous version of the Pipeline orchestration engine. 证据：`docs-website/reference/haystack-api/pipeline_api.md`
- **csv document cleaner**（documentation）：A component for cleaning CSV documents by removing empty rows and columns. 证据：`docs-website/reference/haystack-api/preprocessors_api.md`
- **query expander**（documentation）：A component that returns a list of semantically similar queries to improve retrieval recall in RAG systems. 证据：`docs-website/reference/haystack-api/query_api.md`
- **hugging face tei**（documentation）：Defines the direction to truncate text when input length exceeds the model's limit. 证据：`docs-website/reference/haystack-api/rankers_api.md`
- **extractive**（documentation）：Locates and extracts answers to a given query from Documents. 证据：`docs-website/reference/haystack-api/readers_api.md`
- **auto merging retriever**（documentation）：A retriever which returns parent documents of the matched leaf nodes documents, based on a threshold setting. 证据：`docs-website/reference/haystack-api/retrievers_api.md`
- **conditional router**（documentation）：Exception raised when no route is selected in ConditionalRouter. 证据：`docs-website/reference/haystack-api/routers_api.md`
- **top p**（documentation）：Implements top-p nucleus sampling for document filtering based on cumulative probability scores. 证据：`docs-website/reference/haystack-api/samplers_api.md`
- **tool invoker**（documentation）：Base exception class for ToolInvoker errors. 证据：`docs-website/reference/haystack-api/tool_components_api.md`
- **component tool**（documentation）：A Tool that wraps Haystack components, allowing them to be used as tools by LLMs. 证据：`docs-website/reference/haystack-api/tools_api.md`
- **asynchronous**（documentation）：Returns if the given callable is usable inside a component's run async method. 证据：`docs-website/reference/haystack-api/utils_api.md`
- **json schema**（documentation）：Check if the provided string is a valid JSON. 证据：`docs-website/reference/haystack-api/validators_api.md`
- **searchapi**（documentation）：Uses SearchApi https://www.searchapi.io/ to search the web for relevant documents. 证据：`docs-website/reference/haystack-api/websearch_api.md`
- **Module haystack\ integrations.components.generators.aimlapi.chat.chat\ generator**（documentation）：Module haystack\ integrations.components.generators.aimlapi.chat.chat\ generator 证据：`docs-website/reference/integrations-api/aimlapi.md`
- **haystack integrations.components.retrievers.alloydb.embedding retriever**（documentation）：haystack integrations.components.retrievers.alloydb.embedding retriever 证据：`docs-website/reference/integrations-api/alloydb.md`
- **haystack integrations.common.amazon bedrock.errors**（documentation）：haystack integrations.common.amazon bedrock.errors 证据：`docs-website/reference/integrations-api/amazon_bedrock.md`
- 其余 20 条证据见 `AI_CONTEXT_PACK.json` 或 `EVIDENCE_INDEX.json`。

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

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

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

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

## 验收标准

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

---

## Doramagic Context Augmentation

The following material strengthens the Repomix/AI Context Pack body. Human Manual is only a reading skeleton; pitfall logs become hard operating constraints for the host AI.

## Human Manual Skeleton

Usage rule: this is only a reading path and salience signal, not factual authority. Concrete facts must still come from repo evidence / Claim Graph.

Hard rules for the host AI:
- Do not treat page titles, order, summaries, or importance as project facts.
- When explaining the Human Manual skeleton, state that it is only a reading path / salience signal.
- Capability, installation, compatibility, runtime status, and risk judgments must cite repo evidence, source paths, or Claim Graph.

- **Introduction to Haystack**：importance `high`
  - source_paths: README.md, AGENTS.md, VERSION.txt
- **Pipeline Architecture**：importance `high`
  - source_paths: docs-website/docs/concepts/pipelines.mdx, docs-website/docs/concepts/pipelines/asyncpipeline.mdx, docs-website/docs/concepts/pipelines/serialization.mdx, docs-website/docs/concepts/pipelines/debugging-pipelines.mdx, docs-website/docs/concepts/pipelines/pipeline-breakpoints.mdx
- **Core Concepts**：importance `high`
  - source_paths: docs-website/docs/concepts/concepts-overview.mdx, docs-website/docs/concepts/components.mdx, docs-website/docs/concepts/data-classes.mdx, docs-website/docs/concepts/data-classes/chatmessage.mdx, docs-website/docs/concepts/jinja-templates.mdx
- **Pipeline Component Types**：importance `high`
  - source_paths: docs-website/docs/pipeline-components/generators.mdx, docs-website/docs/pipeline-components/embedders.mdx, docs-website/docs/pipeline-components/retrievers.mdx, docs-website/docs/pipeline-components/rankers.mdx, docs-website/docs/pipeline-components/preprocessors.mdx
- **Data Processing Components**：importance `medium`
  - source_paths: docs-website/docs/pipeline-components/preprocessors/documentsplitter.mdx, docs-website/docs/pipeline-components/preprocessors/recursivesplitter.mdx, docs-website/docs/pipeline-components/preprocessors/hierarchicaldocumentsplitter.mdx, docs-website/docs/pipeline-components/converters.mdx, docs-website/docs/pipeline-components/preprocessors/documentcleaner.mdx
- **LLM and Embedder Integrations**：importance `high`
  - source_paths: docs-website/docs/pipeline-components/generators/guides-to-generators/choosing-the-right-generator.mdx, docs-website/docs/pipeline-components/generators/guides-to-generators/function-calling.mdx, docs-website/docs/pipeline-components/embedders/choosing-the-right-embedder.mdx, docs-website/docs/concepts/integrations.mdx
- **Document Stores and Retrievers**：importance `high`
  - source_paths: docs-website/docs/concepts/document-store.mdx, docs-website/docs/concepts/document-store/choosing-a-document-store.mdx, docs-website/docs/document-stores/inmemorydocumentstore.mdx, docs-website/docs/document-stores/elasticsearch-document-store.mdx, docs-website/docs/document-stores/qdrant-document-store.mdx
- **Agent Systems**：importance `medium`
  - source_paths: docs-website/docs/concepts/agents.mdx, docs-website/docs/concepts/agents/multi-agent-systems.mdx, docs-website/docs/pipeline-components/agents-1/agent.mdx, docs-website/docs/pipeline-components/agents-1/state.mdx, docs-website/docs/pipeline-components/agents-1/human-in-the-loop.mdx

## Repo Inspection Evidence

- repo_clone_verified: true
- repo_inspection_verified: true
- repo_commit: `3d90a53f9495babadc59ceceb115a5c63bcbd642`
- inspected_files: `pyproject.toml`, `README.md`, `examples/README.md`

Hard rules for the host AI:
- Without repo_clone_verified=true, do not claim the source code has been read.
- Without repo_inspection_verified=true, do not turn README/docs/package observations into facts.
- Without quick_start_verified=true, do not claim the Quick Start has been successfully run.

## Doramagic Pitfall Constraints

These rules come from Doramagic discovery, validation, or compilation pitfalls. The host AI must treat them as operating constraints, not general background notes.

### Constraint 1: 来源证据：RFC: Signed receipts for Haystack pipeline component calls

- Trigger: GitHub 社区证据显示该项目存在一个安装相关的待验证问题：RFC: Signed receipts for Haystack pipeline component calls
- Host AI rule: 来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- Why it matters: 可能增加新用户试用和生产接入成本。
- Evidence: community_evidence:github | cevd_192c840953e54837869723f54ccfdd1a | https://github.com/deepset-ai/haystack/issues/11039 | 来源讨论提到 python 相关条件，需在安装/试用前复核。
- Hard boundary: do not present this pitfall as solved, verified, or safe to ignore unless later validation evidence explicitly closes it.

### Constraint 2: 来源证据：feat: Add `run_async` to `MultiQueryEmbeddingRetriever`, `MultiQueryTextRetriever`, and `TextEmbeddingRetriever`

- Trigger: GitHub 社区证据显示该项目存在一个安装相关的待验证问题：feat: Add `run_async` to `MultiQueryEmbeddingRetriever`, `MultiQueryTextRetriever`, and `TextEmbeddingRetriever`
- Host AI rule: 来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- Why it matters: 可能阻塞安装或首次运行。
- Evidence: community_evidence:github | cevd_4b8f3323f54c4fd6b8de4e2d466cfe8b | https://github.com/deepset-ai/haystack/issues/11358 | 来源讨论提到 python 相关条件，需在安装/试用前复核。
- Hard boundary: do not present this pitfall as solved, verified, or safe to ignore unless later validation evidence explicitly closes it.

### Constraint 3: 来源证据：feat: add INTERSECTION join mode to DocumentJoiner

- Trigger: GitHub 社区证据显示该项目存在一个安装相关的待验证问题：feat: add INTERSECTION join mode to DocumentJoiner
- Host AI rule: 来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- Why it matters: 可能增加新用户试用和生产接入成本。
- Evidence: community_evidence:github | cevd_00757f9859234e9cab8f8d4ce4f3e771 | https://github.com/deepset-ai/haystack/issues/11365 | 来源类型 github_issue 暴露的待验证使用条件。
- Hard boundary: do not present this pitfall as solved, verified, or safe to ignore unless later validation evidence explicitly closes it.

### Constraint 4: 来源证据：docs: Update Ragas docs

- Trigger: GitHub 社区证据显示该项目存在一个维护/版本相关的待验证问题：docs: Update Ragas docs
- Host AI rule: 来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- Why it matters: 可能影响升级、迁移或版本选择。
- Evidence: community_evidence:github | cevd_3204fffa09664d9f8553be2a3008f270 | https://github.com/deepset-ai/haystack/issues/11178 | 来源类型 github_issue 暴露的待验证使用条件。
- Hard boundary: do not present this pitfall as solved, verified, or safe to ignore unless later validation evidence explicitly closes it.

### Constraint 5: 来源证据：EnvVarSecrets: add multi-tenant context support (ContextVar / pipeline-run context)

- Trigger: GitHub 社区证据显示该项目存在一个安全/权限相关的待验证问题：EnvVarSecrets: add multi-tenant context support (ContextVar / pipeline-run context)
- Host AI rule: 来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- Why it matters: 可能影响升级、迁移或版本选择。
- Evidence: community_evidence:github | cevd_8f72793700a1416891c2eedddc379129 | https://github.com/deepset-ai/haystack/issues/11366 | 来源讨论提到 python 相关条件，需在安装/试用前复核。
- Hard boundary: do not present this pitfall as solved, verified, or safe to ignore unless later validation evidence explicitly closes it.

### Constraint 6: 来源证据：Security: OWASP Agent Memory Guard for pipeline memory poisoning defense

- Trigger: GitHub 社区证据显示该项目存在一个安全/权限相关的待验证问题：Security: OWASP Agent Memory Guard for pipeline memory poisoning defense
- Host AI rule: 来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- Why it matters: 可能阻塞安装或首次运行。
- Evidence: community_evidence:github | cevd_4f0868673100472fb74d831b5a04735f | https://github.com/deepset-ai/haystack/issues/11311 | 来源讨论提到 python 相关条件，需在安装/试用前复核。
- Hard boundary: do not present this pitfall as solved, verified, or safe to ignore unless later validation evidence explicitly closes it.

### Constraint 7: 来源证据：feat: support token-based budget in LostInTheMiddleRanker

- Trigger: GitHub 社区证据显示该项目存在一个安全/权限相关的待验证问题：feat: support token-based budget in LostInTheMiddleRanker
- Host AI rule: 来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- Why it matters: 可能影响授权、密钥配置或安全边界。
- Evidence: community_evidence:github | cevd_7ad00787309c442eb497b10879fb3b28 | https://github.com/deepset-ai/haystack/issues/11351 | 来源类型 github_issue 暴露的待验证使用条件。
- Hard boundary: do not present this pitfall as solved, verified, or safe to ignore unless later validation evidence explicitly closes it.

### Constraint 8: 失败模式：installation: Proposal: Transaction Protocol for idempotent, auditable agent pipelines

- Trigger: Developers should check this installation risk before relying on the project: Proposal: Transaction Protocol for idempotent, auditable agent pipelines
- Host AI rule: Before packaging this project, run the relevant install/config/quickstart check for: Proposal: Transaction Protocol for idempotent, auditable agent pipelines. Context: Observed when using python
- Why it matters: Developers may fail before the first successful local run: Proposal: Transaction Protocol for idempotent, auditable agent pipelines
- Evidence: failure_mode_cluster:github_issue | fmev_58038e9b6373edf9376049b42d4b7bb4 | https://github.com/deepset-ai/haystack/issues/11266 | Proposal: Transaction Protocol for idempotent, auditable agent pipelines
- Hard boundary: do not present this pitfall as solved, verified, or safe to ignore unless later validation evidence explicitly closes it.

### Constraint 9: 失败模式：installation: RFC: Signed receipts for Haystack pipeline component calls

- Trigger: Developers should check this installation risk before relying on the project: RFC: Signed receipts for Haystack pipeline component calls
- Host AI rule: Before packaging this project, run the relevant install/config/quickstart check for: RFC: Signed receipts for Haystack pipeline component calls. Context: Observed when using node, python
- Why it matters: Developers may fail before the first successful local run: RFC: Signed receipts for Haystack pipeline component calls
- Evidence: failure_mode_cluster:github_issue | fmev_ce0b9c65d21126dcf11ede12120e154f | https://github.com/deepset-ai/haystack/issues/11039 | RFC: Signed receipts for Haystack pipeline component calls
- Hard boundary: do not present this pitfall as solved, verified, or safe to ignore unless later validation evidence explicitly closes it.

### Constraint 10: 失败模式：installation: Security: OWASP Agent Memory Guard for pipeline memory poisoning defense

- Trigger: Developers should check this installation risk before relying on the project: Security: OWASP Agent Memory Guard for pipeline memory poisoning defense
- Host AI rule: Before packaging this project, run the relevant install/config/quickstart check for: Security: OWASP Agent Memory Guard for pipeline memory poisoning defense. Context: Observed when using python
- Why it matters: Developers may fail before the first successful local run: Security: OWASP Agent Memory Guard for pipeline memory poisoning defense
- Evidence: failure_mode_cluster:github_issue | fmev_4d3276b6b9938595cb2dbb864a5509da | https://github.com/deepset-ai/haystack/issues/11311 | Security: OWASP Agent Memory Guard for pipeline memory poisoning defense
- Hard boundary: do not present this pitfall as solved, verified, or safe to ignore unless later validation evidence explicitly closes it.
