deepmodeling / deepmodeling/Uni-Lab-OS
[Workflow] 实现 Debug projection、durable stepping 与 restart recovery
- Dominant language
- Python
- Stars
- 177
- Forks
- 75
- Avg merge
- 1h 40m
- Merged PRs (30d)
- 5
Description
## 上游决策
- [P1-1 Debugger projection 最终规范](https://github.com/Uni-Lab-OS/Uni-Lab-Core/issues/6)
- [D-112 Debug Task 创建](https://github.com/Uni-Lab-OS/Uni-Lab-Core/issues/120)
- [D-113 Admission Hold](https://github.com/Uni-Lab-OS/Uni-Lab-Core/issues/121)
- [D-114 composite/branch-local stepping](https://github.com/Uni-Lab-OS/Uni-Lab-Core/issues/122)
- [D-115 permit/admission atomicity](https://github.com/Uni-Lab-OS/Uni-Lab-Core/issues/123)
- [D-116 SSE 与 immutable debug projection](https://github.com/Uni-Lab-OS/Uni-Lab-Core/issues/124)
## 实施范围
- 实现 OS-only Debug Task launch、debug projection 与 debugger command Interface,并继续创建 Backend-shaped WorkflowTask/WorkflowNodeJob。
- 从 Task snapshot 计算多起始 frontier、active 与 out-of-scope;disabled/out-of-scope 不创建 Job,运行时 skipped 必须有真实 Job。
- 持久化并恢复 Admission Hold、scoped permit、causal step fence、命令幂等键、Task applied source 和 SSE outbox。
- Composite invocation 不创建 synthetic Job/Hold;只从真实内部 Job/Hold 派生 composite stop。
- OS restart 时恢复 pending/Hold/permit/fence;未知物理结果进入 reconciling 并保留 fenced claim,禁止自动重复下发。
- 发布 D-116 的 workflow.runtime.changed invalidation,REST 继续作为状态真值。
## 验收
- 单元与 service/API integration tests 覆盖多起始点、disabled/out-of-scope/skipped、重复 attempt、branch-local step、composite step、transparent output readiness、SSE replay、stale Hold 409 和 restart recovery。
- 所有 DTO、UUID、状态和值形态保持冻结 Backend 前端合同;不修改 Backend。
- 为跨仓 E2E 提供临时 SQLite 与确定性 fake device/action fixture。
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.