Lv, Qi
eee1eb8b3f
fix: resolve compilation errors and dependency conflicts
...
- Fix 'Path' macro parsing issue in service-kit-macros
- Resolve 'reedline'/'sqlite' dependency conflict in service-kit
- Consolidate workspace configuration and lockfile
- Fix 'data-persistence-service' compilation errors
- Update docker-compose and dev configurations
2025-11-29 16:29:56 +08:00
Lv, Qi
03b53aed71
feat: Refactor Analysis Context Mechanism and Generic Worker
...
- Implemented Unified Context Mechanism (Task 20251127):
- Decoupled intent (Module) from resolution (Orchestrator).
- Added ContextResolver for resolving input bindings (Manual Glob/Auto LLM).
- Added IOBinder for managing physical paths.
- Updated GenerateReportCommand to support explicit input bindings and output paths.
- Refactored Report Worker to Generic Execution (Task 20251128):
- Removed hardcoded financial DTOs and specific formatting logic.
- Implemented Generic YAML-based context assembly for better LLM readability.
- Added detailed execution tracing (Sidecar logs).
- Fixed input data collision bug by using full paths as context keys.
- Updated Tushare Provider to support dynamic output paths.
- Updated Common Contracts with new configuration models.
2025-11-28 20:11:17 +08:00
Lv, Qi
91a6dfc4c1
feat: Implement Context Inspector and fix workflow merge base
...
- **Observability**: Added `ContextExplorer` component for viewing task input/output file trees and diffs.
- **Workflow Engine**:
- Implemented Initial Commit logic in `StartWorkflow` to ensure all tasks share a common merge base.
- Added `input_commit` tracking to `DagScheduler` and events.
- Exposed `vgcs` (Git) operations via Orchestrator API (tree, blob, diff).
- **API Gateway**: Added proxy routes for Context Inspector (`/api/context/...`).
- **UI**:
- Refactored `ReportPage` to remove legacy "Fundamental Data" tab.
- Added "Context Inspector" button in Task Detail view with Dialog support.
- Visualized Added/Modified/Deleted files with color coding in Context Explorer.
- **Cleanup**: Removed unused `FinancialTable` component.
2025-11-28 02:53:25 +08:00
Lv, Qi
a59b994a92
WIP: Commit all pending changes across services, frontend, and docs
...
- Sync updates for provider services (AlphaVantage, Finnhub, YFinance, Tushare)
- Update Frontend components and pages for recent config changes
- Update API Gateway and Registry
- Include design docs and tasks status
2025-11-27 02:45:56 +08:00
Lv, Qi
ca1eddd244
Refactor Orchestrator to DAG-based scheduler with Git Context merging
...
- Implemented `DagScheduler` in `workflow-orchestrator` to manage task dependencies and commit history.
- Added `vgcs.merge_commits` in `workflow-context` for smart 3-way merge of parallel task branches.
- Introduced generic `WorkflowTaskCommand` and `WorkflowTaskEvent` in `common-contracts`.
- Adapted `tushare-provider-service` with `generic_worker` to support Git-based context read/write.
- Updated NATS subjects to support wildcard routing for generic workflow commands.
2025-11-27 02:42:25 +08:00
Lv, Qi
efd2c42775
feat(workflow): Implement Worker Runtime with Context Shell
...
- Implemented `ContextShell` trait providing `ls`, `find`, `grep`, `cat`, `patch`, `wc` primitives.
- Added `WorkerContext` struct acting as the shell interface for LLM workers.
- Implemented `get_tool_definitions` to export OpenAI-compatible tool schemas.
- Added `patch` command for atomic, exact-match text replacement.
- Added comprehensive tests covering happy paths and edge cases (ambiguity, unicode, regex errors).
- Updated design documentation.
2025-11-27 01:50:48 +08:00
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