Commit Graph

2 Commits

Author SHA1 Message Date
Lv, Qi
fcadb1ff6a feat(workflow-context): 实现 DocOS 文档对象系统
- 实现 DocOS 核心逻辑 (docos.rs),支持文档树管理
- 实现裂变 (Fission) 能力: 自动将文件提升为目录结构
- 实现聚合 (Fusion) 能力: 将目录结构降级为单文件,保持内容完整
- 实现统一 Outline 能力: 无论物理存储是文件还是目录,均提供一致的树状大纲(支持 Markdown Header 解析)
- 新增相关单元测试 (docos_tests.rs)
- 更新 types.rs 支持 DocNodeKind::Section
- 引入 regex 依赖用于标题解析
2025-11-27 00:24:30 +08:00
Lv, Qi
48e45faffb feat(core): introduce workflow-context (VGCS)
Add Virtual Git Context System (VGCS) crate to handle versioned file storage backed by git2 and blob store.

Features:
- ContextStore trait for repo init, read, list, diff, merge.
- Transaction trait for atomic writes and commits.
- Large file support (>1MB) using content-addressed blob store.
- In-memory merge with conflict detection.
- Unit and integration tests covering concurrency and conflicts.
2025-11-26 23:38:22 +08:00