TODO: mark phase 8 complete — compaction source detection state machine and gate.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-17 12:04:58 +07:00
parent 0f06e0e45b
commit eb911ab7e3
+4 -4
View File
@@ -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
---