TODO: mark phase 8 complete — compaction source detection state machine and gate.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user