@ngockhoale/ukit 2.3.14 → 2.3.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,6 +7,7 @@ Mọi AI (planner / executor / reviewer) đọc và ghi vào file NÀY. Không t
7
7
  -->
8
8
 
9
9
  - Status: `ready` <!-- ready | in_progress | pending_review | changes_requested | critical_block | approved | approved_minor | blocked | done -->
10
+ - Size: `M` <!-- S | M | L — runtime budgets key off this field; defaults to M when missing -->
10
11
  - Owner: `-` <!-- tool đang giữ task -->
11
12
  - Reviewer: `-` <!-- model name reviewer dùng, set ở Phase 4 -->
12
13
  - Parent plan: `docs/AI_HANDOFF/PLAN.md` §<section>
@@ -19,6 +20,22 @@ Mọi AI (planner / executor / reviewer) đọc và ghi vào file NÀY. Không t
19
20
 
20
21
  - `<path/to/source.js>` — <what changes>
21
22
 
23
+ ## Progress
24
+
25
+ <!--
26
+ Milestone landing (mandatory): append a Progress entry every `handoff.milestoneIntervalMin`
27
+ (default 5) wall-clock minutes AND at each RED → GREEN → verify milestone. Format is fixed so
28
+ `src/core/taskProgressGuard.js` can audit it:
29
+
30
+ - <ISO-8601 local timestamp, e.g. 2026-09-12T10:30+07:00> · milestone: <name> · last-green: <what passed, e.g. tests/core/x.test.js 6/6> · files: <comma-separated paths> · drift: none|<one line why>
31
+
32
+ Each entry must re-state the files changed since the last entry. If a file appears that is NOT
33
+ under `## Target Files`, the `drift:` field MUST carry a one-line reason — otherwise the guard
34
+ reports `undeclared-drift`. The newest entry (max parsed timestamp) must be within
35
+ `2 × handoff.milestoneIntervalMin` of `now`; one minute beyond → `stale-milestone`.
36
+ A respawned executor reads this section and resumes from the last green milestone.
37
+ -->
38
+
22
39
  ## Test Cases (REQUIRED — TDD)
23
40
 
24
41
  | # | Loại | Tên test | Expected | Pre-state / Fixture |
@@ -240,7 +240,14 @@
240
240
  "approved_minor",
241
241
  "blocked",
242
242
  "done"
243
- ]
243
+ ],
244
+ "taskBudgets": {
245
+ "S": { "softMin": 8, "hardMin": 15 },
246
+ "M": { "softMin": 15, "hardMin": 30 },
247
+ "L": { "softMin": 25, "hardMin": 45 },
248
+ "hardPolicy": "split"
249
+ },
250
+ "milestoneIntervalMin": 5
244
251
  },
245
252
  "subagents": {
246
253
  "enabled": true,