docs(design): record foreign v3 P0/P1 implementation status

Mark stdin/per-cell inputs/interrupt and plan/snapshot APIs as implemented; keep G3/G7/G8/G9/G10 as pending design items.
This commit is contained in:
cflmy committed 2026-10-18 14:44:29 +08:00
1 parent 34e2fb4f74
commit 0f852593bc
2 files changed
+11 -1

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@
### Added
- **外联 v3 P0**:session eval 支持 raw stdin(Python/Node 持久内核);`foreign.session inputs=` 支持每 cell 独立 stdin;view 增加每卡 stdin 字段与 Interrupt;静态导出使用 inputs 表。
- **外联 v3 P0/P1**:session eval 支持 raw stdin(Python/Node 持久内核);`foreign.session inputs=` 支持每 cell 独立 stdin;view 增加每卡 stdin 字段与 Interrupt;静态导出使用 inputs 表;新增 plan generation/add/remove/value API 与 snapshot export/import/replay。
### Fixed
+10
View File
@@ -45,6 +45,16 @@ v3 必须继续满足以下约束,否则不进入实现:
---
## 2.1 实施状态(2026-10-18)
| ID | 状态 | 备注 |
|---|---|---|
| G1/G2 | ✅ 已实现 | session eval raw stdin;`foreign.session inputs=`;per-cell UI;Python/Node 测试 |
| G5 | ✅ 基本实现 | `session_interrupt` + view Interrupt;Python SIGINT 保留会话;Node 进程可能被终止 |
| G4 | ✅ 已实现(API) | add/remove/set-value + generation;view 尚未提供 add/remove UI |
| G6 | ✅ 已实现(API) | export/import/replay JSON snapshot;view/CLI 尚未做文件封装 |
| G3/G7/G8/G9/G10 | ⏳ 设计已定,未实现 | 见对应章节 |
## 3. 缺口清单
| ID | 缺口 | 优先级 | 当前行为 | 目标 |