AstrBot-Desktop/docs/reports
YokiiroBW 03b99efda8
一些检测仍在等待运行
ci / Portable quality checks (push) Waiting to run
ci / Windows Tauri build (push) Waiting to run
feat(astrbot): summarise how stream blocks relate to the final text
The first capture identified the real cause of a reply appearing twice,
and it was neither candidate. All 524 frames carried a message_id and
each reply used exactly one, so the event_id fallback is not involved
and neither is the history session fallback.

AstrBot interleaves two kinds of plain frame in one reply. Frames with
streaming true are incremental deltas whose total matches the complete
frame exactly. Frames with streaming false carry whole finished blocks —
one reply had five of them totalling 915 characters against 173
streamed. map_plain appends both, so the blocks show up inline during
generation, and map_complete then replaces the accumulation with the
streamed text alone, discarding them. That is the reply appearing twice
and then collapsing, and the collapse loses content.

One thing lengths cannot settle: whether a block repeats streamed text
or carries its own. One reply had 133 block characters against 142
streamed, which looks like a repeat; another had 915 against 173, which
cannot be. The two need opposite fixes, so this adds a per-stream
summary reporting how many blocks appear in the final text and in the
streamed text, as counts and lengths only.

Also records that plugin images were never sent: no media or attachment
frame appeared in any capture, and no plain frame carried a message
chain array. The attachment path has still never received data.

Refs: N-9 (new), N-4 (root cause found), N-6 (not a client defect).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-27 02:08:36 +08:00
..
astrbot-chat-extensibility-probe-2026-07-20.md docs(probe): record end-to-end chat acceptance 2026-07-20 14:15:03 +08:00
astrbot-dual-stability-2026-07-20.md feat(chat): add AstrBot dual-slot chat foundation 2026-07-20 11:31:41 +08:00
astrbot-live-probe-sse.raw.txt feat(chat): add AstrBot dual-slot chat foundation 2026-07-20 11:31:41 +08:00
astrbot-live-probe-summary.json feat(chat): add AstrBot dual-slot chat foundation 2026-07-20 11:31:41 +08:00
astrbot-real-protocol-review.md feat(chat): add AstrBot dual-slot chat foundation 2026-07-20 11:31:41 +08:00
fix-queue-2026-07-26.md feat(astrbot): summarise how stream blocks relate to the final text 2026-07-27 02:08:36 +08:00
full-source-audit-2026-07-26.md docs(reports): record the source audit, fix queue, and R1/R2 results 2026-07-26 23:12:57 +08:00
p00-bootstrap-report.md docs(p00): record Forgejo branch publication 2026-07-18 21:04:16 +08:00
p01-foundation-progress.md docs(p01): record Forgejo branch publication 2026-07-18 23:42:36 +08:00
p02-dual-slots-handoff.md feat(connection): validate auto-connect and guard operations switches 2026-07-20 00:49:15 +08:00
p02-policy-guards.md feat(connection): validate auto-connect and guard operations switches 2026-07-20 00:49:15 +08:00
r1-r2-status-2026-07-26.md docs(progress): record the R3 batch and its gate results 2026-07-27 00:31:18 +08:00
run-live-probe.ps1 feat(chat): add AstrBot dual-slot chat foundation 2026-07-20 11:31:41 +08:00
ui-audit-2026-07-21.md refactor(ui): complete desktop frontend redesign 2026-07-22 00:27:06 +08:00