kimi-code/FormularDefTree/tree.yml
7Sageer 30d20c3633 fix(agent-core-v2): publish raw and projected context gauges from one place
rawContextTokens was only re-derived on ContextModel mutations, so a
fresh measurement left it stale until the next append (raw could read
below the projected size). contextTokens only carried the measured
prefix, lagging the unmeasured tail by a step and diverging from the
getStatus() caliber after resume.

Publish both gauges together on every live change to ContextModel or
ContextSizeModel, with contextTokens now reporting get().size
(measured prefix plus the tail estimate) — the same caliber getStatus()
already used. The op's toEvent channel is removed in favor of the
single publisher.
2026-07-13 17:54:41 +08:00

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.2