From eb911ab7e3063bc69460dc92f2af562f86ed67fe Mon Sep 17 00:00:00 2001 From: GRayHook Date: Wed, 17 Jun 2026 12:04:58 +0700 Subject: [PATCH] =?UTF-8?q?TODO:=20mark=20phase=208=20complete=20=E2=80=94?= =?UTF-8?q?=20compaction=20source=20detection=20state=20machine=20and=20ga?= =?UTF-8?q?te.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cursor --- TODO.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/TODO.md b/TODO.md index 5ea9f1e..2589345 100644 --- a/TODO.md +++ b/TODO.md @@ -191,10 +191,10 @@ ### Фаза 8 — Источник compaction -- [ ] **compaction.ts state machine** — `pendingCompactionSource: "auto" \| "manual" \| null`; зачем: §8 -- [ ] **compaction.ts input hook** — `text.startsWith("/compact")` → manual; зачем: §8 -- [ ] **compaction.ts before_compact** — если не manual → auto; зачем: §8 -- [ ] **compaction.ts shouldReinject** — gate: enabled + source + `reinjectOnManualCompaction`; reset после `session_compact`; зачем: §5.2, §8, критерий §13 +- [x] **compaction.ts state machine** — `pendingCompactionSource: "auto" \| "manual" \| null`; зачем: §8 +- [x] **compaction.ts input hook** — `text.startsWith("/compact")` → manual; зачем: §8 +- [x] **compaction.ts before_compact** — если не manual → auto; зачем: §8 +- [x] **compaction.ts shouldReinject** — gate: enabled + source + `reinjectOnManualCompaction`; reset после `session_compact`; зачем: §5.2, §8, критерий §13 ---