# nornicdb - Doramagic AI Context Pack

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

## 充分原则

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

## 给宿主 AI 的使用方式

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

## Claim 消费规则

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

## 它最适合谁

- **AI 研究者或研究型 Agent 构建者**：README 明确围绕研究、实验或论文工作流展开。 证据：`README.md` Claim：`clm_0002` supported 0.86
- **正在使用 Claude/Codex/Cursor/Gemini 等宿主 AI 的开发者**：README 或插件配置提到多个宿主 AI。 证据：`README.md` Claim：`clm_0003` supported 0.86

## 它能做什么

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

## 怎么开始

- `git clone https://github.com/orneryd/NornicDB.git` 证据：`README.md` Claim：`clm_0004` supported 0.86
- `curl -X POST http://localhost:7474/nornicdb/search \` 证据：`README.md` Claim：`clm_0005` supported 0.86

## 继续前判断卡

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

### 30 秒判断

- **现在怎么做**：先做角色匹配试用
- **最小安全下一步**：先用 Prompt Preview 试角色匹配；满意后再隔离导入
- **先别相信**：角色质量和任务匹配不能直接相信。
- **继续会触碰**：角色选择偏差、命令执行、宿主 AI 配置

### 现在可以相信

- **适合人群线索：AI 研究者或研究型 Agent 构建者**（supported）：有 supported claim 或项目证据支撑，但仍不等于真实安装效果。 证据：`README.md` Claim：`clm_0002` supported 0.86
- **适合人群线索：正在使用 Claude/Codex/Cursor/Gemini 等宿主 AI 的开发者**（supported）：有 supported claim 或项目证据支撑，但仍不等于真实安装效果。 证据：`README.md` Claim：`clm_0003` supported 0.86
- **能力存在：命令行启动或安装流程**（supported）：可以相信项目包含这类能力线索；是否适合你的具体任务仍要试用或安装后验证。 证据：`README.md` Claim：`clm_0001` supported 0.86
- **存在 Quick Start / 安装命令线索**（supported）：可以相信项目文档出现过启动或安装入口；不要因此直接在主力环境运行。 证据：`README.md` Claim：`clm_0004` 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`
- **可安全回滚不能默认相信。**（unverified）：除非项目明确提供卸载和恢复说明，否则必须先在隔离环境验证。
- **真实安装后是否与用户当前宿主 AI 版本兼容？**（unverified）：兼容性只能通过实际宿主环境验证。
- **项目输出质量是否满足用户具体任务？**（unverified）：安装前预览只能展示流程和边界，不能替代真实评测。

### 继续会触碰什么

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

### 上下文规模

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

### 证据不足时的处理

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

## Prompt Recipes

### 适配判断

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

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

### 安装前体验

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

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

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

## 角色 / Skill 索引

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

- **NornicDB Documentation Hub**（project_doc）：This is the primary navigation page for NornicDB docs. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/README.md`
- **Advanced Topics**（project_doc）：Deep dive into advanced features and internals. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/advanced/README.md`
- **Embeddings**（project_doc）：Generate and manage vector embeddings. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/advanced/embeddings/README.md`
- **K-Means Clustering**（project_doc）：K-Means clustering for vector embeddings not database clustering . 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/advanced/k-means-clustering/README.md`
- **AI Agents & Integration**（project_doc）：Use this section to connect NornicDB with IDE copilots, MCP clients, and Heimdall agent workflows. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/ai-agents/README.md`
- **API Reference**（project_doc）：This section is the canonical source for protocol and endpoint definitions. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/api-reference/README.md`
- **NornicDB Complete Functions Index**（project_doc）：Comprehensive documentation with real-world examples 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/api-reference/cypher-functions/README.md`
- **Architecture**（project_doc）：System design and internal architecture of NornicDB. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/architecture/README.md`
- **Compliance & Security**（project_doc）：This section maps regulatory requirements to NornicDB controls and procedures. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/compliance/README.md`
- **Development Guide**（project_doc）：Use this section for contributor setup, standards, and test workflows. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/development/README.md`
- **Features**（project_doc）：This section indexes capability-specific documentation. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/features/README.md`
- **Getting Started**（project_doc）：Use this section to install NornicDB quickly and run your first successful query. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/getting-started/README.md`
- **Neo4j Migration**（project_doc）：Use this section to plan and execute migration from Neo4j workloads to NornicDB. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/neo4j-migration/README.md`
- **Operations Guide**（project_doc）：This section is the canonical runbook set for deploying, operating, and recovering NornicDB. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/operations/README.md`
- **NornicDB Packaging & Distribution**（project_doc）：This directory contains deployment plans for packaging NornicDB as an installable service across all supported platforms. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/packaging/README.md`
- **Performance**（project_doc）：This section contains benchmark evidence, profiling guides, and tuning playbooks. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/performance/README.md`
- **Security Guide**（project_doc）：This section is the canonical source for runtime security controls. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/security/README.md`
- **NornicDB Consumer Skills**（project_doc）：This directory holds Claude Code-style skill files that teach an agent how to use NornicDB features through its Cypher API. They are consumer-facing — every example is a Cypher statement or CALL procedure a user can run, not a reference to repo-internal code. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/skills/README.md`
- **User Guides**（project_doc）：Use this section for task-oriented product workflows and examples. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/user-guides/README.md`
- **Example Training Datasets**（project_doc）：This directory contains example datasets for training custom models. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`neural/docs/README.md`
- **NornicDB AI Agent Development Guides**（project_doc）：NornicDB AI Agent Development Guides 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`.agents/README.md`
- **Quick Start**（project_doc）：Graph, vector, and historical truth in one database Neo4j-compatible • Hybrid graph + vector retrieval • Historical reads via MVCC Achieving Psygnosis for AI Multi-arch support: CPU CUDA Metal Vulkan 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`README.md`
- **APOC Functions for NornicDB**（project_doc）：NornicDB includes 850+ APOC functions compatible with Neo4j's APOC library. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`apoc/README.md`
- **NornicDB Docker Images**（project_doc）：Image Size Description Use When ------- ------ ------------- ---------- nornicdb-arm64-metal ~148MB Base image BYOM - bring your own models nornicdb-arm64-metal-bge ~586MB With BGE-M3 Ready for embeddings immediately nornicdb-arm64-metal-bge-heimdall ~1.1GB With BGE-M3 + Heimdall Full cognitive features - single-click deploy nornicdb-arm64-metal-headless ~148MB Headless no UI API-only, embedded deployments 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docker/README.md`
- **NornicDB macOS Integration**（project_doc）：Native macOS installation with service management and menu bar app. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`macos/README.md`
- **Neural Training System**（project_doc）：Train custom LLMs for NornicDB - Fine-tune models on specialized tasks TLP evaluation, etc. and export to GGUF format for native inference. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`neural/README.md`
- **NornicDB Heimdall Plugins**（project_doc）：This directory contains Heimdall plugins that extend NornicDB's cognitive database capabilities. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`plugins/README.md`
- **NornicDB Browser**（project_doc）：A modern web UI for NornicDB - the Neo4j-compatible graph database with GPU-accelerated vector search. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`ui/README.md`
- **Local OAuth 2.0 Provider**（project_doc）：A minimal OAuth 2.0 provider for local testing and development of NornicDB's OAuth integration. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`cmd/oauth-provider/README.md`
- **NornicDB macOS Icon Assets**（project_doc）：This directory contains icon assets for the NornicDB menu bar application. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`macos/Assets/README.md`
- **NornicDB Bolt Protocol Server**（project_doc）：Neo4j-compatible Bolt protocol server for NornicDB. Enables any Neo4j driver to connect to NornicDB without modifications. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`pkg/bolt/README.md`
- **ANTLR Cypher Parser for NornicDB**（project_doc）：This package provides an ANTLR-based OpenCypher parser as an alternative to NornicDB's fast inline Nornic parser. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`pkg/cypher/antlr/README.md`
- **Embedding Package**（project_doc）：This package provides embedding generation clients for NornicDB's vector search capabilities. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`pkg/embed/README.md`
- **Building NornicDB with Vulkan Support**（project_doc）：Building NornicDB with Vulkan Support 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`pkg/gpu/vulkan/README.md`
- **NornicDB GraphQL API**（project_doc）：NornicDB provides a full-featured GraphQL API powered by gqlgen https://gqlgen.com/ , offering an alternative to the Cypher query interface. The GraphQL API supports: 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`pkg/graphql/README.md`
- **Link Prediction Package**（project_doc）：Topological link prediction algorithms for NornicDB, providing Neo4j Graph Data Science GDS compatibility . 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`pkg/linkpredict/README.md`
- **Qdrant gRPC Compatibility Layer**（project_doc）：This package provides a Qdrant-compatible gRPC API for NornicDB, enabling existing Qdrant SDKs to connect without modification. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`pkg/qdrantgrpc/README.md`
- **NornicDB Security Validation**（project_doc）：This package provides comprehensive security validation for NornicDB HTTP endpoints, protecting against: 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`pkg/security/README.md`
- **SIMD Vector Operations**（project_doc）：High-performance SIMD-accelerated vector operations for NornicDB embeddings. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`pkg/simd/README.md`
- **Convert search index files from gob to msgpack**（project_doc）：Convert search index files from gob to msgpack 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`scripts/convert_search_index_to_msgpack/README.md`
- **NornicDB Migration Scripts**（project_doc）：Runnable migrations from common sources into NornicDB. Each subdirectory ships the same migration in three languages so you can pick whichever fits your existing tooling. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`scripts/migration/README.md`
- **Neo4j → NornicDB Migration Scripts**（project_doc）：Three runnable migrations to move a full Neo4j database into NornicDB. All three speak Bolt on both ends — NornicDB exposes the same protocol Neo4j uses, so existing drivers neo4j , neo4j-driver , neo4j-go-driver/v5 work unchanged. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`scripts/migration/neo4j/README.md`
- **Qdrant → NornicDB Migration Scripts**（project_doc）：Qdrant → NornicDB Migration Scripts 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`scripts/migration/qdrant/README.md`
- **New test**（project_doc）：added a direct engine latency benchmark that bypasses Bolt/HTTP entirely. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`scripts/perf_direct/README.md`
- **gRPC vs Bolt Benchmark Harness**（project_doc）：Benchmarks end-to-end vector search performance over the same NornicDB instance using: 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`testing/benchmarks/grpc_vs_bolt/README.md`
- **HTTP Write Performance Benchmark**（project_doc）：Benchmark harness for measuring HTTP write latency and throughput for NornicDB's HTTP API. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`testing/benchmarks/http_write_latency/README.md`
- **Readme**（project_doc）：go test ./testing/e2e -tags=e2e -run TestEndpointParityAndBenchmark -count=1 -v 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`testing/e2e/README.md`
- **Browser Components**（project_doc）：This directory contains components extracted from Browser.tsx for better maintainability and reusability. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`ui/src/components/browser/README.md`
- **Contributing**（project_doc）：The canonical contributor workflow for NornicDB lives in the repository root. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/contributing.md`
- **NornicDB Development Guide for AI Agents**（project_doc）：NornicDB Development Guide for AI Agents 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`AGENTS.md`
- **NornicDB Issue Index**（project_doc）：Use this page when you know a symptom, but not the right document yet. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/issues-index.md`
- **Configuration Guide**（project_doc）：This guide covers all configuration options for NornicDB, including the new async write settings and search similarity configuration. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/operations/configuration.md`
- **GPU-Assisted HNSW Construction: Single-Pass Implementation Specification**（project_doc）：GPU-Assisted HNSW Construction: Single-Pass Implementation Specification 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/plans/gpu-hnsw-construction-plan.md`
- **Contributing to NornicDB**（project_doc）：Please see docs/CONTRIBUTING.md docs/CONTRIBUTING.md for detailed contribution guidelines. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`CONTRIBUTING.md`
- **PackStream Integer Encoding for JavaScript Compatibility**（project_doc）：PackStream Integer Encoding for JavaScript Compatibility 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/bolt-javascript-compat.md`
- **Changelog**（project_doc）：The full release history is maintained in the repository root. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/changelog.md`
- **v1.0.45 - 2026-05-08**（project_doc）：- Broader hot-path coverage for UNWIND MATCH SET updates : - added a batched UNWIND + MATCH + SET hot path so more update-heavy Cypher write workloads can stay on the optimized execution path. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/changes-before-1.1.x.md`
- **Latest Untagged Changelog**（project_doc）：Changes that have landed on main since the last tagged release v1.1.3 . Promoted into a versioned section of CHANGELOG.md when the next tag cuts. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/latest-untagged.md`
- **⚠️ Breaking Change: Storage Encoding Migration Pre-v1.0**（project_doc）：⚠️ Breaking Change: Storage Encoding Migration Pre-v1.0 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/migration-notice.md`
- **NornicDB vs Neo4j — Tradeoffs**（project_doc）：Snapshot of where NornicDB lands against Neo4j on the Northwind 48k-product / 48k-order benchmark, after the recent storage and codec work id dictionary, compact edge codec, MVCC head index, property-key dictionary . Numbers are from benchmark northwind vs neo4j.sh , 10 iterations after 2 warmup, Bolt protocol via neo4j-go-driver . 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/nornicdb-vs-neo4j-tradeoffs.md`
- **Property-Key Dictionary Storage V2**（project_doc）：Storage V2 tokenizes property-key names to per-namespace varint IDs inside node and edge bodies. Instead of every record carrying the full string productName , unitPrice , description , etc., each name is allocated a small integer ID once per namespace and the bodies reference the ID. The dictionary lives in Badger under its own prefix, hydrates into memory on engine open, and persists changes atomically with the bo… 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/property-key-dictionary.md`
- **Release Notes — Since v1.0.11**（project_doc）：Scope: All changes between tag v1.0.11 and main 69 commits, 332 files changed, +34,077 / −13,473 lines . 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/release-notes-since-v1.0.11.md`
- **Local GGUF Embedding Executor: Implementation Plan**（project_doc）：Local GGUF Embedding Executor: Implementation Plan 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/advanced/embeddings/local-gguf.md`
- **GPU K-Means Clustering for High-Dimensional Embeddings**（project_doc）：GPU K-Means Clustering for High-Dimensional Embeddings 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/advanced/k-means-clustering/kmeans-algorithm.md`
- **Metal Atomic Float Fix - Quick Reference**（project_doc）：Metal Atomic Float Fix - Quick Reference 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/advanced/k-means-clustering/metal-optimizations.md`
- **NornicDB Eval Harness**（project_doc）：Search Quality Evaluation & Validation 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/advanced/search-evaluation.md`
- **Agent Preamble**（project_doc）：The authoritative agent operating guidance for this repository is stored in the repository root. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/ai-agents/agent-preamble.md`
- **Using NornicDB with Cursor Chat Modes**（project_doc）：Using NornicDB with Cursor Chat Modes 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/ai-agents/chat-modes.md`
- **Bolt / PackStream Compatibility NornicDB**（project_doc）：Bolt / PackStream Compatibility NornicDB 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/api-reference/bolt-protocol.md`
- **OpenAPI/Swagger Specification**（project_doc）：NornicDB provides a complete OpenAPI 3.0 specification for all REST API endpoints, enabling interactive API documentation and easy integration with API testing tools. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/api-reference/openapi.md`
- **Clustering Architecture & Roadmap**（project_doc）：Current capabilities and design notes for distribution and sharding. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/architecture/clustering-roadmap.md`
- **Cognitive SLM Architecture Heimdall**（project_doc）：Cognitive SLM Architecture Heimdall 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/architecture/cognitive-slm-architecture.md`
- **Composite Database Implementation - Comprehensive Analysis**（project_doc）：Composite Database Implementation - Comprehensive Analysis 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/architecture/composite-db-analysis.md`
- **Cypher Parser Modes**（project_doc）：Environment Variable: NORNICDB PARSER Options: nornic default antlr 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/architecture/cypher-parser-modes.md`
- **Embedding Search Architecture**（project_doc）：Current embedding storage model and search execution paths in NornicDB. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/architecture/embedding-search-architecture.md`
- **Embedding Search Examples**（project_doc）：Examples that show how embedding search works end-to-end, and which embedding field each API uses. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/architecture/embedding-search-examples.md`
- **Embedding Search Flow Diagrams**（project_doc）：Visual representations of NornicDB's embedding search architecture. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/architecture/embedding-search-flow-diagrams.md`
- **Embedding Search Index**（project_doc）：This page is the entry point to NornicDB's embedding and vector-search documentation. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/architecture/embedding-search-index.md`
- **Embedding Search**（project_doc）：How NornicDB stores and searches embeddings across HTTP, Cypher, and Qdrant gRPC. 激活提示：当用户需要理解项目结构、安装方式或边界时参考。 证据：`docs/architecture/embedding-search.md`

## 证据索引

- 共索引 80 条证据。

- **NornicDB Documentation Hub**（documentation）：This is the primary navigation page for NornicDB docs. 证据：`docs/README.md`
- **Advanced Topics**（documentation）：Deep dive into advanced features and internals. 证据：`docs/advanced/README.md`
- **Embeddings**（documentation）：Generate and manage vector embeddings. 证据：`docs/advanced/embeddings/README.md`
- **K-Means Clustering**（documentation）：K-Means clustering for vector embeddings not database clustering . 证据：`docs/advanced/k-means-clustering/README.md`
- **AI Agents & Integration**（documentation）：Use this section to connect NornicDB with IDE copilots, MCP clients, and Heimdall agent workflows. 证据：`docs/ai-agents/README.md`
- **API Reference**（documentation）：This section is the canonical source for protocol and endpoint definitions. 证据：`docs/api-reference/README.md`
- **NornicDB Complete Functions Index**（documentation）：Comprehensive documentation with real-world examples 证据：`docs/api-reference/cypher-functions/README.md`
- **Architecture**（documentation）：System design and internal architecture of NornicDB. 证据：`docs/architecture/README.md`
- **Compliance & Security**（documentation）：This section maps regulatory requirements to NornicDB controls and procedures. 证据：`docs/compliance/README.md`
- **Development Guide**（documentation）：Use this section for contributor setup, standards, and test workflows. 证据：`docs/development/README.md`
- **Features**（documentation）：This section indexes capability-specific documentation. 证据：`docs/features/README.md`
- **Getting Started**（documentation）：Use this section to install NornicDB quickly and run your first successful query. 证据：`docs/getting-started/README.md`
- **Neo4j Migration**（documentation）：Use this section to plan and execute migration from Neo4j workloads to NornicDB. 证据：`docs/neo4j-migration/README.md`
- **Operations Guide**（documentation）：This section is the canonical runbook set for deploying, operating, and recovering NornicDB. 证据：`docs/operations/README.md`
- **NornicDB Packaging & Distribution**（documentation）：This directory contains deployment plans for packaging NornicDB as an installable service across all supported platforms. 证据：`docs/packaging/README.md`
- **Performance**（documentation）：This section contains benchmark evidence, profiling guides, and tuning playbooks. 证据：`docs/performance/README.md`
- **Security Guide**（documentation）：This section is the canonical source for runtime security controls. 证据：`docs/security/README.md`
- **NornicDB Consumer Skills**（documentation）：This directory holds Claude Code-style skill files that teach an agent how to use NornicDB features through its Cypher API. They are consumer-facing — every example is a Cypher statement or CALL procedure a user can run, not a reference to repo-internal code. 证据：`docs/skills/README.md`
- **User Guides**（documentation）：Use this section for task-oriented product workflows and examples. 证据：`docs/user-guides/README.md`
- **Example Training Datasets**（documentation）：This directory contains example datasets for training custom models. 证据：`neural/docs/README.md`
- **NornicDB AI Agent Development Guides**（documentation）：NornicDB AI Agent Development Guides 证据：`.agents/README.md`
- **Quick Start**（documentation）：Graph, vector, and historical truth in one database Neo4j-compatible • Hybrid graph + vector retrieval • Historical reads via MVCC Achieving Psygnosis for AI Multi-arch support: CPU CUDA Metal Vulkan 证据：`README.md`
- **APOC Functions for NornicDB**（documentation）：NornicDB includes 850+ APOC functions compatible with Neo4j's APOC library. 证据：`apoc/README.md`
- **NornicDB Docker Images**（documentation）：Image Size Description Use When ------- ------ ------------- ---------- nornicdb-arm64-metal ~148MB Base image BYOM - bring your own models nornicdb-arm64-metal-bge ~586MB With BGE-M3 Ready for embeddings immediately nornicdb-arm64-metal-bge-heimdall ~1.1GB With BGE-M3 + Heimdall Full cognitive features - single-click deploy nornicdb-arm64-metal-headless ~148MB Headless no UI API-only, embedded deployments 证据：`docker/README.md`
- **NornicDB macOS Integration**（documentation）：Native macOS installation with service management and menu bar app. 证据：`macos/README.md`
- **Neural Training System**（documentation）：Train custom LLMs for NornicDB - Fine-tune models on specialized tasks TLP evaluation, etc. and export to GGUF format for native inference. 证据：`neural/README.md`
- **NornicDB Heimdall Plugins**（documentation）：This directory contains Heimdall plugins that extend NornicDB's cognitive database capabilities. 证据：`plugins/README.md`
- **NornicDB Browser**（documentation）：A modern web UI for NornicDB - the Neo4j-compatible graph database with GPU-accelerated vector search. 证据：`ui/README.md`
- **Local OAuth 2.0 Provider**（documentation）：A minimal OAuth 2.0 provider for local testing and development of NornicDB's OAuth integration. 证据：`cmd/oauth-provider/README.md`
- **NornicDB macOS Icon Assets**（documentation）：This directory contains icon assets for the NornicDB menu bar application. 证据：`macos/Assets/README.md`
- **NornicDB Bolt Protocol Server**（documentation）：Neo4j-compatible Bolt protocol server for NornicDB. Enables any Neo4j driver to connect to NornicDB without modifications. 证据：`pkg/bolt/README.md`
- **ANTLR Cypher Parser for NornicDB**（documentation）：This package provides an ANTLR-based OpenCypher parser as an alternative to NornicDB's fast inline Nornic parser. 证据：`pkg/cypher/antlr/README.md`
- **Embedding Package**（documentation）：This package provides embedding generation clients for NornicDB's vector search capabilities. 证据：`pkg/embed/README.md`
- **Building NornicDB with Vulkan Support**（documentation）：Building NornicDB with Vulkan Support 证据：`pkg/gpu/vulkan/README.md`
- **NornicDB GraphQL API**（documentation）：NornicDB provides a full-featured GraphQL API powered by gqlgen https://gqlgen.com/ , offering an alternative to the Cypher query interface. The GraphQL API supports: 证据：`pkg/graphql/README.md`
- **Link Prediction Package**（documentation）：Topological link prediction algorithms for NornicDB, providing Neo4j Graph Data Science GDS compatibility . 证据：`pkg/linkpredict/README.md`
- **Qdrant gRPC Compatibility Layer**（documentation）：This package provides a Qdrant-compatible gRPC API for NornicDB, enabling existing Qdrant SDKs to connect without modification. 证据：`pkg/qdrantgrpc/README.md`
- **NornicDB Security Validation**（documentation）：This package provides comprehensive security validation for NornicDB HTTP endpoints, protecting against: 证据：`pkg/security/README.md`
- **SIMD Vector Operations**（documentation）：High-performance SIMD-accelerated vector operations for NornicDB embeddings. 证据：`pkg/simd/README.md`
- **Convert search index files from gob to msgpack**（documentation）：Convert search index files from gob to msgpack 证据：`scripts/convert_search_index_to_msgpack/README.md`
- **NornicDB Migration Scripts**（documentation）：Runnable migrations from common sources into NornicDB. Each subdirectory ships the same migration in three languages so you can pick whichever fits your existing tooling. 证据：`scripts/migration/README.md`
- **Neo4j → NornicDB Migration Scripts**（documentation）：Three runnable migrations to move a full Neo4j database into NornicDB. All three speak Bolt on both ends — NornicDB exposes the same protocol Neo4j uses, so existing drivers neo4j , neo4j-driver , neo4j-go-driver/v5 work unchanged. 证据：`scripts/migration/neo4j/README.md`
- **Qdrant → NornicDB Migration Scripts**（documentation）：Qdrant → NornicDB Migration Scripts 证据：`scripts/migration/qdrant/README.md`
- **New test**（documentation）：added a direct engine latency benchmark that bypasses Bolt/HTTP entirely. 证据：`scripts/perf_direct/README.md`
- **gRPC vs Bolt Benchmark Harness**（documentation）：Benchmarks end-to-end vector search performance over the same NornicDB instance using: 证据：`testing/benchmarks/grpc_vs_bolt/README.md`
- **HTTP Write Performance Benchmark**（documentation）：Benchmark harness for measuring HTTP write latency and throughput for NornicDB's HTTP API. 证据：`testing/benchmarks/http_write_latency/README.md`
- **Readme**（documentation）：go test ./testing/e2e -tags=e2e -run TestEndpointParityAndBenchmark -count=1 -v 证据：`testing/e2e/README.md`
- **Browser Components**（documentation）：This directory contains components extracted from Browser.tsx for better maintainability and reusability. 证据：`ui/src/components/browser/README.md`
- **Contributing**（documentation）：The canonical contributor workflow for NornicDB lives in the repository root. 证据：`docs/contributing.md`
- **NornicDB Development Guide for AI Agents**（documentation）：NornicDB Development Guide for AI Agents 证据：`AGENTS.md`
- **NornicDB Issue Index**（documentation）：Use this page when you know a symptom, but not the right document yet. 证据：`docs/issues-index.md`
- **Configuration Guide**（documentation）：This guide covers all configuration options for NornicDB, including the new async write settings and search similarity configuration. 证据：`docs/operations/configuration.md`
- **GPU-Assisted HNSW Construction: Single-Pass Implementation Specification**（documentation）：GPU-Assisted HNSW Construction: Single-Pass Implementation Specification 证据：`docs/plans/gpu-hnsw-construction-plan.md`
- **Package**（package_manifest）：{ "name": "nornicdb-ui", "version": "0.1.0", "description": "NornicDB Browser - Neo4j-compatible graph database UI", "type": "module", "scripts": { "dev": "vite", "build": "tsc && vite build", "preview": "vite preview" }, "dependencies": { "@ornery/ui-grid-core": "^1.0.6", "@ornery/ui-grid-react": "^1.0.6", "@ornery/ui-grid-vanilla": "^1.0.6", "3d-force-graph": "^1.80.0", "lucide-react": "^1.17.0", "neo4j-driver": "^6.0.1", "react": "^19.2.7", "react-dom": "^19.2.7", "react-markdown": "^10.1.0", "react-router-dom": "^7.16.0", "remark-gfm": "^4.0.0", "three": "^0.184.0", "zustand": "^5.0.14" }, "devDependencies": { "@tailwindcss/postcss": "^4.3.0", "@types/react": "^19.2.16", "@types/react-d… 证据：`ui/package.json`
- **Contributing to NornicDB**（documentation）：Please see docs/CONTRIBUTING.md docs/CONTRIBUTING.md for detailed contribution guidelines. 证据：`CONTRIBUTING.md`
- **PackStream Integer Encoding for JavaScript Compatibility**（documentation）：PackStream Integer Encoding for JavaScript Compatibility 证据：`docs/bolt-javascript-compat.md`
- **Changelog**（documentation）：The full release history is maintained in the repository root. 证据：`docs/changelog.md`
- **v1.0.45 - 2026-05-08**（documentation）：- Broader hot-path coverage for UNWIND MATCH SET updates : - added a batched UNWIND + MATCH + SET hot path so more update-heavy Cypher write workloads can stay on the optimized execution path. 证据：`docs/changes-before-1.1.x.md`
- **Latest Untagged Changelog**（documentation）：Changes that have landed on main since the last tagged release v1.1.3 . Promoted into a versioned section of CHANGELOG.md when the next tag cuts. 证据：`docs/latest-untagged.md`
- **⚠️ Breaking Change: Storage Encoding Migration Pre-v1.0**（documentation）：⚠️ Breaking Change: Storage Encoding Migration Pre-v1.0 证据：`docs/migration-notice.md`
- 其余 20 条证据见 `AI_CONTEXT_PACK.json` 或 `EVIDENCE_INDEX.json`。

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

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

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

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

## 验收标准

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

---

## Doramagic Context Augmentation

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

## Human Manual 骨架

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

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

- **项目概览**：importance `high`
  - source_paths: .agents/README.md, README.md, apoc/README.md, cmd/kmeans-test-data/README.md, cmd/oauth-provider/README.md
- **Models 模块**：importance `high`
  - source_paths: pkg/graphql/models/models.go, pkg/graphql/models/models_gen.go, pkg/graphql/models/models_test.go
- **Models 模块**：importance `high`
  - source_paths: models/.gitkeep
- **Utils 模块**：importance `high`
  - source_paths: ui/src/utils/api.ts, ui/src/utils/basePath.ts, ui/src/utils/cyberSeed.ts, ui/src/utils/cyberSim.ts, ui/src/utils/cypherStatements.ts

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

- repo_clone_verified: true
- repo_inspection_verified: true
- repo_commit: `9064218a6548de4464ba1ca11769f7f5310bcae5`
- inspected_files: `README.md`, `docker-compose.yml`, `docs/README.md`, `docs/advanced/README.md`, `docs/advanced/embeddings/README.md`, `docs/advanced/embeddings/local-gguf.md`, `docs/advanced/k-means-clustering/README.md`, `docs/advanced/k-means-clustering/kmeans-algorithm.md`, `docs/advanced/k-means-clustering/metal-optimizations.md`, `docs/advanced/search-evaluation.md`, `docs/ai-agents/README.md`, `docs/ai-agents/agent-preamble.md`, `docs/ai-agents/chat-modes.md`, `docs/api-reference/README.md`, `docs/api-reference/bolt-protocol.md`, `docs/api-reference/cypher-functions/README.md`, `docs/api-reference/openapi.md`, `docs/api-reference/openapi.yaml`, `docs/architecture/README.md`, `docs/architecture/clustering-roadmap.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: 来源证据：Datetime nested in a list/map parameter (UNWIND $rows … row.created_at) stored as Go-format string, not a temporal

- Trigger: GitHub 社区证据显示该项目存在一个安装相关的待验证问题：Datetime nested in a list/map parameter (UNWIND $rows … row.created_at) stored as Go-format string, not a temporal
- Why it matters: 可能增加新用户试用和生产接入成本。
- Evidence: community_evidence:github | https://github.com/orneryd/NornicDB/issues/221 | 来源讨论提到 python 相关条件，需在安装/试用前复核。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 2: 来源证据：Regression in 0593642: bulk Graphiti extraction triggers BuildIndexes/k-means warmup storm → CPU-bound hang (entity-res…

- Trigger: GitHub 社区证据显示该项目存在一个安装相关的待验证问题：Regression in 0593642: bulk Graphiti extraction triggers BuildIndexes/k-means warmup storm → CPU-bound hang (entity-resolution cosine search path)
- Why it matters: 可能增加新用户试用和生产接入成本。
- Evidence: community_evidence:github | https://github.com/orneryd/NornicDB/issues/222 | 来源讨论提到 node 相关条件，需在安装/试用前复核。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 3: 来源证据：Vector search substrate not updated on runtime writes (external vectors, EMBEDDING_ENABLED=false) — stale until restart…

- Trigger: GitHub 社区证据显示该项目存在一个安全/权限相关的待验证问题：Vector search substrate not updated on runtime writes (external vectors, EMBEDDING_ENABLED=false) — stale until restart; degrades resolution during ingest
- Why it matters: 可能阻塞安装或首次运行。
- Evidence: community_evidence:github | https://github.com/orneryd/NornicDB/issues/220 | 来源讨论提到 node 相关条件，需在安装/试用前复核。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 4: 来源证据：[BUG] db.index.vector.queryRelationships returns 0 rows on v1.1.7 (node path works)

- Trigger: GitHub 社区证据显示该项目存在一个安全/权限相关的待验证问题：[BUG] db.index.vector.queryRelationships returns 0 rows on v1.1.7 (node path works)
- Why it matters: 可能影响授权、密钥配置或安全边界。
- Evidence: community_evidence:github | https://github.com/orneryd/NornicDB/issues/219 | 来源讨论提到 python 相关条件，需在安装/试用前复核。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 5: 依赖 Docker 环境

- Trigger: 安装/运行入口包含 Docker 命令：docker run -d --name nornicdb -p 7474:7474 -p 7687:7687 -v nornicdb-data:/data timothyswt/nornicdb-arm64-metal-bge:latest # amd64 / CPU only docker run
- Host AI rule: 标注 Docker 前置条件，并提供非 Docker 路径或失败提示。
- Why it matters: 非工程用户可能没有 Docker，启动成本明显增加。
- Evidence: identity.distribution | https://github.com/orneryd/NornicDB | docker run -d --name nornicdb -p 7474:7474 -p 7687:7687 -v nornicdb-data:/data timothyswt/nornicdb-arm64-metal-bge:latest # amd64 / CPU only docker run
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 6: 失败模式：installation: [FEATURE] - Bulk Import API

- Trigger: Developers should check this installation risk before relying on the project: [FEATURE] - Bulk Import API
- Host AI rule: Before packaging this project, run the relevant install/config/quickstart check for: [FEATURE] - Bulk Import API. Context: Observed when using node
- Why it matters: Developers may fail before the first successful local run: [FEATURE] - Bulk Import API
- Evidence: failure_mode_cluster:github_issue | https://github.com/orneryd/NornicDB/issues/171 | [FEATURE] - Bulk Import API
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 7: 失败模式：installation: [PROPOSAL] OKF Format import/export - RFC

- Trigger: Developers should check this installation risk before relying on the project: [PROPOSAL] OKF Format import/export - RFC
- Host AI rule: Before packaging this project, run the relevant install/config/quickstart check for: [PROPOSAL] OKF Format import/export - RFC. Context: Observed during installation or first-run setup.
- Why it matters: Developers may fail before the first successful local run: [PROPOSAL] OKF Format import/export - RFC
- Evidence: failure_mode_cluster:github_issue | https://github.com/orneryd/NornicDB/issues/217 | [PROPOSAL] OKF Format import/export - RFC
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 8: 失败模式：installation: v1.1.7 - Black Math

- Trigger: Developers should check this installation risk before relying on the project: v1.1.7 - Black Math
- Host AI rule: Before packaging this project, run the relevant install/config/quickstart check for: v1.1.7 - Black Math. Context: Observed when using docker, windows, macos, cuda
- Why it matters: Upgrade or migration may change expected behavior: v1.1.7 - Black Math
- Evidence: failure_mode_cluster:github_release | https://github.com/orneryd/NornicDB/releases/tag/v1.1.7 | v1.1.7 - Black Math
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 9: 来源证据：Docs: async_writes yaml examples in README + configuration.md don't match config.go (env-only)

- Trigger: GitHub 社区证据显示该项目存在一个安装相关的待验证问题：Docs: async_writes yaml examples in README + configuration.md don't match config.go (env-only)
- Host AI rule: 来源显示可能已有修复、规避或版本变化，说明书中必须标注适用版本。
- Why it matters: 可能增加新用户试用和生产接入成本。
- Evidence: community_evidence:github | https://github.com/orneryd/NornicDB/issues/215 | 来源类型 github_issue 暴露的待验证使用条件。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 10: 来源证据：SET silently fails on nodes that existed before v0→v2 storage migration

- Trigger: GitHub 社区证据显示该项目存在一个安装相关的待验证问题：SET silently fails on nodes that existed before v0→v2 storage migration
- Host AI rule: 来源显示可能已有修复、规避或版本变化，说明书中必须标注适用版本。
- Why it matters: 可能影响升级、迁移或版本选择。
- Evidence: community_evidence:github | https://github.com/orneryd/NornicDB/issues/190 | 来源讨论提到 node 相关条件，需在安装/试用前复核。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。
