Files
Genarrative/docs/project-memory
lhk229 680bb200a8
Project CI / Repository checks (pull_request) Failing after 11s
Project CI / Backend tests (pull_request) Failing after 11s
Project CI / Frontend tests (pull_request) Successful in 2m38s
Project CI / Native shell tests (pull_request) Failing after 10m26s
文档:checkpoint handoff 私有持久化随 D10 作废,M1 入口前置决策归零
该待裁决项待的是 plan-decision-checkpoint 专用请求 kind 的 handoff 契约,而该
kind 是 D10「Runtime 直投」的组成部分。D11 下策划子 Agent 以终态信封退出来提问、
run 随即结束,解释与下一步由 continuation 子 Agent 的第一个普通 tool-plan turn
完成,专用 kind 不存在,其专用 handoff 也不需要。

两条核实依据:现役 tool_plan_handoff::lookup_at 按 (agentId, runId) 寻址、与 agent
身份无关,已覆盖任何 Agent 的普通 tool-plan 响应;第 8.6 节预留的
supersededCheckpointHandoffs 全仓库零代码引用,作废无迁移成本。

通用 handoff 安全边界不受影响,策划链路照用现役机制。

M1 入口前置决策至此归零,剩余全部为待执行项。

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-13 08:22:42 +00:00
..

项目记忆目录

本目录保存可以进入 Git 的项目级长期知识,供开发者和 Agent 读取。.hermes/ 只保留 Hermes 工具专用资源,不再作为项目知识库。

目录结构

docs/project-memory/
├─ README.md
├─ shared-memory/
│  ├─ project-overview.md
│  ├─ team-conventions.md
│  ├─ development-workflow.md
│  ├─ document-map.md
│  ├─ decision-log.md
│  ├─ pitfalls.md
│  └─ handoff-template.md
├─ plans/
└─ todos/

使用原则

  • 开发前先读 AGENTS.md;复杂任务继续读取 docs/【协作规范】Agent工作入口与执行准则-2026-06-22.md,再按任务读取 docs/project-memory/shared-memory/ 和当前 docs/ 文档。
  • 长期有效的架构约定、接口变化、排障经验、开发流程和协作规则写入 shared-memory/
  • 阶段性计划写入 plans/,已确定但暂未实施的共享 TODO 写入 todos/
  • 如果本目录内容与代码或最新 docs/ 冲突,以代码和最新 docs/ 为准,并同步修正过期记忆。
  • 禁止写入个人配置、API Key、Token、Cookie、会话记录、认证文件、本地私密路径、构建产物、日志、缓存和数据库 dump。

RAG 索引

本目录是 Agent 本地 RAG 的高权重索引源。RAG 主要用于 Agent 检索上下文,不替代人工阅读入口或正式文档地图。索引脚本位于 scripts/rag/,本地生成的 .rag/ 数据不提交 Git。