diff options
| author | Adam Malczewski <[email protected]> | 2026-06-22 03:38:07 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-06-22 03:38:07 +0900 |
| commit | 9744b0271e173264a0375db8bb6667a45da1ed5e (patch) | |
| tree | 07d8e30ed969114906e44be2ac4288092b2dc1ab /GLOSSARY.md | |
| parent | aa56ae04ea895aac81e98ee02b07ac8f3d27d1dd (diff) | |
| download | dispatch-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
