File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 443443** Goal:** 允许管理员在创建和停止主机时手动设置内存、CPU 和磁盘限制,支持"无限制"选项。数据库列改为 nullable(NULL = 无限制),API 使用指针类型区分三态(省略=默认 / 0=无限制 / 正值=限制),新增 PATCH 端点,前端提供直观的预设+自定义选择控件。
444444** Requirements** : RES-01(无限制语义)/ RES-02(PATCH API)/ RES-03(前端控件)/ RES-04(磁盘限制执行)
445445** Depends on:** Phase 56
446- ** Plans:** 2 /3 plans executed
446+ ** Plans:** 3 /3 plans complete
447447
448448Plans:
449449- [x] 57-01-PLAN.md — 数据库迁移 + Go 数据模型类型变更(RES-01)
450- - [ ] 57-02-PLAN.md — API 三态解析 + PATCH 端点 + Worker --storage-opt(RES-02, RES-04)
450+ - [x ] 57-02-PLAN.md — API 三态解析 + PATCH 端点 + Worker --storage-opt(RES-02, RES-04)
451451- [x] 57-03-PLAN.md — 前端资源限制选择器 + 创建表单 + 详情页编辑(RES-03)
452452
453453---
Original file line number Diff line number Diff line change 22gsd_state_version : 1.0
33milestone : v4.0
44milestone_name : sing-box 同容器化
5- status : executing
5+ status : milestone_complete
66stopped_at : Phase 57 context gathered
7- last_updated : " 2026-05-31T04:55:52.134Z "
7+ last_updated : " 2026-05-31T05:02:07.687Z "
88last_activity : 2026-05-31
99progress :
1010 total_phases : 13
11- completed_phases : 4
11+ completed_phases : 6
1212 total_plans : 16
13- completed_plans : 15
14- percent : 94
13+ completed_plans : 16
14+ percent : 46
1515---
1616
1717# Project State
@@ -25,9 +25,9 @@ See: .planning/PROJECT.md (updated 2026-05-14)
2525
2626## Current Position
2727
28- Phase: 57 (resource-limits) — EXECUTING
29- Plan: 3 of 3
30- Status: Ready to execute
28+ Phase: 57
29+ Plan: Not started
30+ Status: Milestone complete
3131Last activity: 2026-05-31
3232
3333## Accumulated Context
You can’t perform that action at this time.
0 commit comments