Loading...
Loading...
Compare original and translation side by side
/design-driven initcommands/init.md/design-driven bootstrapcommands/bootstrap.mddesign//design-driven initcommands/init.md/design-driven bootstrapcommands/bootstrap.mddesign/project/
├── design/ ← Permanent skeleton
│ ├── DESIGN.md ← System shape
│ ├── DESIGN-<aspect>.md ← Complex mechanisms (optional)
│ └── decisions/
│ ├── 001-outbox-over-direct-push.md ← adopted
│ └── 002-split-memory-tiers.md ← rejected
│
└── blueprints/ ← Implementation records
├── add-semantic-memory-search.md ← done (clean, no TODO)
└── refactor-agent-delegation.md ← in-progress (has TODO)design/blueprints/project/
├── design/ ← 永久架构骨架
│ ├── DESIGN.md ← 系统架构
│ ├── DESIGN-<aspect>.md ← 复杂机制(可选)
│ └── decisions/
│ ├── 001-outbox-over-direct-push.md ← 已采纳
│ └── 002-split-memory-tiers.md ← 已拒绝
│
└── blueprints/ ← 实现记录
├── add-semantic-memory-search.md ← 已完成(无TODO)
└── refactor-agent-delegation.md ← 进行中(含TODO)design/blueprints/ ┌───────────────────────────────┐
│ Read design/DESIGN.md │ ← Always start here
│ Understand the skeleton │
└────────────┬──────────────────┘
│
┌───────▼────────┐
│ Does this task │
│ change the │
│ system's shape? │
└───┬─────────┬───┘
│ │
NO YES
│ │
│ ┌────▼───────────────────┐
│ │ Write proposal in │
│ │ design/decisions/ │ ← Context + proposal + alternatives
│ └────┬───────────────────┘
│ │
│ ┌────▼───────────────────┐
│ │ Human reviews │ ← Wait. Don't code until approved.
│ └────┬───────────────────┘
│ │
│ ┌────▼───────────────────┐
│ │ Update design/DESIGN.md│ ← Commit design change separately
│ └────┬───────────────────┘
│ │
┌───▼─────────▼───┐
│ Plan │ ← Draw the blueprint, set up scaffolding
├──────────────────┤
│ Build │ ← Code freely, track progress on scaffolding
├──────────────────┤
│ Verify │ ← Check against blueprint, tear down scaffolding
└──────────────────┘ ┌───────────────────────────────┐
│ 阅读design/DESIGN.md │ ← 始终从此处开始
│ 理解架构骨架 │
└────────────┬──────────────────┘
│
┌───────▼────────┐
│ 该任务是否会 │
│ 改变系统架构? │
└───┬─────────┬───┘
│ │
否 是
│ │
│ ┌────▼───────────────────┐
│ │ 在design/decisions/中 │ ← 包含背景、提案及备选方案
│ │ 编写提案 │
│ └────┬───────────────────┘
│ │
│ ┌────▼───────────────────┐
│ │ 等待人工审核 │ ← 审核通过前请勿编码
│ └────┬───────────────────┘
│ │
│ ┌────▼───────────────────┐
│ │ 更新design/DESIGN.md │ ← 单独提交设计变更
│ └────┬───────────────────┘
│ │
┌───▼─────────▼───┐
│ 规划 │ ← 编写蓝图文档,搭建基础框架
├──────────────────┤
│ 开发 │ ← 在design/界定范围内自由编码,更新进度标记
├──────────────────┤
│ 验证 │ ← 对照蓝图文档检查,移除进度标记
└──────────────────┘blueprints/<task-name>.mdreferences/templates.mddonedesign/ "The system has a memory layer with shared facts and
per-conversation short-term context"
blueprint "Add semantic search to memory: integrate embedding model,
build index on startup, query during context assembly.
Reuse existing IMemoryManager interface."
code The actual embedder, vector store, query functions, testsblueprints/<任务名称>.mdreferences/templates.mddonedesign/ “系统包含内存层,具备共享事实数据和会话级短期上下文”
blueprint “为内存层添加语义搜索:集成嵌入模型,启动时构建索引,上下文组装时查询。复用现有IMemoryManager接口。”
code 实际的嵌入工具、向量存储、查询函数及测试代码design/decisions/NNN-title.mdtemplates.mddesign/decisions/NNN-标题.mdtemplates.md/design-driven bootstrapreferences/templates.mdreferences/writing-guide.md/design-driven bootstrapreferences/templates.mdreferences/writing-guide.md