optz: Goal orchestrator
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
flowchart LR
|
||||
A["Người dùng gửi Goal"] --> B["H1: Phân loại mục tiêu"]
|
||||
B --> C["Local + Cloud tạo Execution Plan"]
|
||||
C --> D["H4: Kiểm tra policy và rủi ro"]
|
||||
D --> E["Plan ready\nXem file, lệnh, dependency, test"]
|
||||
E -->|"Approve"| F["Workspace Executor có sandbox"]
|
||||
E -->|"Reject / Edit"| C
|
||||
F --> G["Tạo branch/worktree và project"]
|
||||
G --> H["Chạy test + kiểm tra acceptance"]
|
||||
H -->|"Pass"| I["Completed"]
|
||||
H -->|"Fail"| J["Failed + rollback / resume"]
|
||||
|
||||
K["Luồng hiện tại"] -.-> L["Local worker tạo text"]
|
||||
L -.-> M["Cloud reviewer tạo text"]
|
||||
M -.-> N["Completed = trả lời xong\nkhông sửa workspace"]
|
||||
|
||||
classDef current fill:#fff7ed,stroke:#f97316,color:#7c2d12;
|
||||
classDef target fill:#eff6ff,stroke:#2563eb,color:#1e3a8a;
|
||||
class K,L,M,N current;
|
||||
class A,B,C,D,E,F,G,H,I,J target;
|
||||
Reference in New Issue
Block a user