summaryrefslogtreecommitdiffhomepage
path: root/GLOSSARY.md
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-22 03:38:07 +0900
committerAdam Malczewski <[email protected]>2026-06-22 03:38:07 +0900
commit9744b0271e173264a0375db8bb6667a45da1ed5e (patch)
tree07d8e30ed969114906e44be2ac4288092b2dc1ab /GLOSSARY.md
parentaa56ae04ea895aac81e98ee02b07ac8f3d27d1dd (diff)
downloaddispatch-web-9744b0271e173264a0375db8bb6667a45da1ed5e.tar.gz
dispatch-web-9744b0271e173264a0375db8bb6667a45da1ed5e.zip
fix(metrics): stepId-based segment matching — robust against chat-limit trimming
When the chat limit trims old chunks, head-aligning turn metrics to segments by position breaks (a trimmed user message removes a segment boundary, shifting all subsequent alignments by one). Fix: match segments to metrics entries by stepId overlap (pass 1), falling back to sequential matching for text-only segments with no stepId-bearing groups (pass 2). This prevents step/turn metrics from being placed on the wrong segment after trimming, while preserving the original behavior for text-only turns. 686 tests green.
Diffstat (limited to 'GLOSSARY.md')
0 files changed, 0 insertions, 0 deletions