Files
nexus/wiki/sources/project-state-management.md
2026-04-22 19:20:32 +08:00

46 lines
2.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "Project State Management System: Event-Driven Alternative to Kanban"
type: source
tags: [project-state]
date: 2026-04-22
---
## Source File
- [[Agent/usecases/project-state-management.md]]
## Summary用中文描述
- 核心主题:用事件驱动系统替代传统看板管理项目状态
- 问题域传统看板Kanban静态、需手动更新、容易遗忘、上下文丢失、无法追踪变更原因
- 方法/机制:自然语言对话式输入 → 事件日志 → 状态自动更新 → 自然语言查询;支持 Git 提交自动关联项目,每日 Cron 汇总报告
- 结论/价值:消灭"更新卡片"的摩擦,保留决策上下文,让项目状态查询和每日站会自动化
## Key Claims用中文描述
- 自然语言对话替代拖拽看板卡片的机制:用户说"完成了X"/"被Y阻塞" → 系统自动记录事件并更新项目状态
- 全历史保留机制:每次状态变更均记录事件类型、描述、上下文、时间戳,而非仅存储当前状态
- Git 提交自动关联机制Cron Job 扫描过去 24 小时提交,按分支名或提交信息匹配项目
- 每日站会自动化机制9 AM 自动汇总"昨日进展 + 今日计划 + 当前阻塞"
## Key Quotes
> "Traditional Kanban boards are static and require manual updates. You forget to move cards, lose context between sessions, and can't track the 'why' behind state changes." — 看板痛点描述
> "Instead of dragging cards, you chat with your assistant: 'Finished the auth flow, starting on the dashboard.'" — 事件驱动交互模式
## Key Concepts
- [[Event Sourcing]]将项目状态变更存储为事件序列而非仅记录当前状态每次变更progress/blocker/decision/pivot均作为独立事件持久化保留完整上下文
- [[Project State]]项目的当前状态元数据status/phase/last_update由事件自动驱动更新而非手动维护
## Key Entities
- [[OpenClaw]]:项目状态管理系统的核心平台,提供多 Agent 编排和 Telegram/Discord 通知集成能力
- PostgreSQL / SQLite项目状态数据库的持久化存储引擎
## Connections
- [[Event Sourcing]] ← uses ← [[Project State Management]]
- [[OpenClaw]] ← powers ← [[Project State Management]]
- [[GitHub]] ← provides commit data to ← [[Project State Management]]
- [[Project State Management]] ← alternative_to ← [[Kanban]]
## Contradictions
- 与 [[Kanban]](看板)存在方法论冲突:
- 冲突点:手动卡片拖拽 vs 事件驱动自动更新;静态快照 vs 全历史保留
- 当前观点Event Sourcing事件驱动记录保留完整决策上下文避免手动维护的摩擦和遗忘
- 对方观点Kanban可视化面板提供直觉化状态概览适合团队协作场景