mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-08-10 17:29:18 +00:00
Spine made the stored history append-only while several paths still assumed stored == projected: - repair the spine tree when undo/clear truncates the history beneath it (new spine.truncate_repair op): clamp straddling spans, void truncated ones, re-anchor the epoch boundary and the observation cursor, so post-undo messages are never folded away and the next tree transition is never dropped - estimate the folded view instead of the raw stored history for the context-size gauge after undo and on resume, and for 413 overflow heuristics; fixes spurious auto compaction after every undo - summarize only the current spine epoch (chaining the previous epoch summary) instead of the full append-only history - pause auto compaction with a warning when the compacted shape still exceeds the window; recalibrate on any model window change - share the projected-estimate helper via IAgentContextProjectorService.estimateProjectedTokens Also records the undo/spine/compaction semantics in FormularDefTree/.
31 lines
586 B
YAML
31 lines
586 B
YAML
version: 0
|
|
root: root
|
|
|
|
repositories:
|
|
project:
|
|
path: .
|
|
commit: 4ade2ee9b7528e9a888b190709de5b5b6a444005
|
|
branch: spine-v2
|
|
dirty: true
|
|
captured_at: "2026-07-13 17:05 CST"
|
|
|
|
nodes:
|
|
root:
|
|
path: nodes/root/node.md
|
|
status: active
|
|
version: 0.1.0
|
|
children:
|
|
- spine_compaction
|
|
- undo_spine_compaction
|
|
|
|
spine_compaction:
|
|
path: nodes/spine-compaction/node.md
|
|
parent: root
|
|
status: active
|
|
version: 0.1.2
|
|
|
|
undo_spine_compaction:
|
|
path: nodes/undo-spine-compaction/node.md
|
|
parent: root
|
|
status: active
|
|
version: 0.2.1
|