From 088ac621dcb1b65cf779418aa3fcf22d9617edff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=80=BB=E7=AE=A1?= Date: Wed, 28 Oct 2026 01:11:54 +0800 Subject: [PATCH] HEL-903: retain author log bytes without newline conversion Co-authored-by: multica-agent --- .../rework/hel903/preservation/.gitattributes | 1 + .../author-logs/browser-before.log | 2 +- .../author-logs/browser-hel903.log | 184 +++++++++--------- .../hel903/preservation/author-logs/build.log | 18 +- .../check-requirements-handoff.log | 2 +- .../author-logs/check-requirements.log | 2 +- .../hel903/preservation/author-logs/lint.log | 12 +- .../preservation/author-logs/vitest.log | 44 ++--- 8 files changed, 133 insertions(+), 132 deletions(-) create mode 100644 docs/rework/hel903/preservation/.gitattributes diff --git a/docs/rework/hel903/preservation/.gitattributes b/docs/rework/hel903/preservation/.gitattributes new file mode 100644 index 0000000..f2f71d2 --- /dev/null +++ b/docs/rework/hel903/preservation/.gitattributes @@ -0,0 +1 @@ +author-logs/* -text diff --git a/docs/rework/hel903/preservation/author-logs/browser-before.log b/docs/rework/hel903/preservation/author-logs/browser-before.log index 35cf8c6..33990f0 100644 --- a/docs/rework/hel903/preservation/author-logs/browser-before.log +++ b/docs/rework/hel903/preservation/author-logs/browser-before.log @@ -1 +1 @@ -PASS mock is this hel903 mock +PASS mock is this hel903 mock diff --git a/docs/rework/hel903/preservation/author-logs/browser-hel903.log b/docs/rework/hel903/preservation/author-logs/browser-hel903.log index 257f6c0..5286580 100644 --- a/docs/rework/hel903/preservation/author-logs/browser-hel903.log +++ b/docs/rework/hel903/preservation/author-logs/browser-hel903.log @@ -1,92 +1,92 @@ -PASS mock is this hel903 mock -PASS moon-desktop: services — TTS row says configured + health probe reachable -PASS moon-desktop: services — ASR row claims no probe it does not have -PASS moon-desktop: services — no voice row says "尚未接通" or "已接通" -PASS moon-desktop: services — reading status opens no microphone -PASS moon-desktop: a voice is applied through the existing flow -PASS moon-desktop: settings still says a change takes effect at the next call -PASS moon-desktop: call line shows 本次通话 voice from the session answer -PASS moon-desktop: subtitles still show beside it -PASS moon-desktop: a choice made during the call does not change this call -PASS moon-desktop: ending the call releases the microphone and drops the pin -PASS moon-desktop: the next call shows the new voice -PASS moon-desktop: 500 after filing — says it may be registered and to refresh first -PASS moon-desktop: offers 刷新列表 and words a second registration as a checked choice -PASS moon-desktop: the list is not re-read or re-registered behind your back -PASS moon-desktop: refreshing names the new numbered entry -PASS moon-desktop: the numbered entry is marked as missing local metadata -PASS moon-desktop: after it is found the cautious button goes away -PASS fog-desktop: services — TTS row says configured + health probe reachable -PASS fog-desktop: services — ASR row claims no probe it does not have -PASS fog-desktop: services — no voice row says "尚未接通" or "已接通" -PASS fog-desktop: services — reading status opens no microphone -PASS fog-desktop: a voice is applied through the existing flow -PASS fog-desktop: settings still says a change takes effect at the next call -PASS fog-desktop: call line shows 本次通话 voice from the session answer -PASS fog-desktop: subtitles still show beside it -PASS fog-desktop: a choice made during the call does not change this call -PASS fog-desktop: ending the call releases the microphone and drops the pin -PASS fog-desktop: the next call shows the new voice -PASS fog-desktop: 500 after filing — says it may be registered and to refresh first -PASS fog-desktop: offers 刷新列表 and words a second registration as a checked choice -PASS fog-desktop: the list is not re-read or re-registered behind your back -PASS fog-desktop: refreshing names the new numbered entry -PASS fog-desktop: the numbered entry is marked as missing local metadata -PASS fog-desktop: after it is found the cautious button goes away -PASS moon-phone: services — TTS row says configured + health probe reachable -PASS moon-phone: services — ASR row claims no probe it does not have -PASS moon-phone: services — no voice row says "尚未接通" or "已接通" -PASS moon-phone: services — reading status opens no microphone -PASS moon-phone: a voice is applied through the existing flow -PASS moon-phone: settings still says a change takes effect at the next call -PASS moon-phone: call line shows 本次通话 voice from the session answer -PASS moon-phone: subtitles still show beside it -PASS moon-phone: a choice made during the call does not change this call -PASS moon-phone: ending the call releases the microphone and drops the pin -PASS moon-phone: the next call shows the new voice -PASS moon-phone: 500 after filing — says it may be registered and to refresh first -PASS moon-phone: offers 刷新列表 and words a second registration as a checked choice -PASS moon-phone: the list is not re-read or re-registered behind your back -PASS moon-phone: refreshing names the new numbered entry -PASS moon-phone: the numbered entry is marked as missing local metadata -PASS moon-phone: after it is found the cautious button goes away -PASS fog-phone: services — TTS row says configured + health probe reachable -PASS fog-phone: services — ASR row claims no probe it does not have -PASS fog-phone: services — no voice row says "尚未接通" or "已接通" -PASS fog-phone: services — reading status opens no microphone -PASS fog-phone: a voice is applied through the existing flow -PASS fog-phone: settings still says a change takes effect at the next call -PASS fog-phone: call line shows 本次通话 voice from the session answer -PASS fog-phone: subtitles still show beside it -PASS fog-phone: a choice made during the call does not change this call -PASS fog-phone: ending the call releases the microphone and drops the pin -PASS fog-phone: the next call shows the new voice -PASS fog-phone: 500 after filing — says it may be registered and to refresh first -PASS fog-phone: offers 刷新列表 and words a second registration as a checked choice -PASS fog-phone: the list is not re-read or re-registered behind your back -PASS fog-phone: refreshing names the new numbered entry -PASS fog-phone: the numbered entry is marked as missing local metadata -PASS fog-phone: after it is found the cautious button goes away -PASS status down: TTS "已配置 · 合成服务这会儿暂不可用" -PASS status down: ASR row honest -PASS status off: TTS "未配置 · 这台服务没有语音配置" -PASS status off: ASR row honest -PASS status no-route: TTS "这台服务没有语音状态接口" -PASS status no-route: ASR row honest -PASS status unknown-500: TTS "状态未知 · 这次没读到语音状态" -PASS status unknown-500: ASR row honest -PASS status unknown-net: TTS "状态未知 · 这次没读到语音状态" -PASS status unknown-net: ASR row honest -PASS session without voice: "声音未说明", not the settings choice -PASS session voice "default": shown as 默认声音 -PASS dropped answer: may be registered, refresh first -PASS dropped answer: refresh finds the numbered entry -PASS 503: keeps the server words and adds the refresh advice -PASS 503: refresh finds nothing new and says to wait before registering again -PASS 503: the checked retry registers once and the take is gone -PASS recording: microphone live while recording -PASS recording: stop keeps the take and releases the microphone -PASS recording: cancel releases the microphone -PASS demo: zero /api requests from settings and the conversation - -90/90 passed +PASS mock is this hel903 mock +PASS moon-desktop: services — TTS row says configured + health probe reachable +PASS moon-desktop: services — ASR row claims no probe it does not have +PASS moon-desktop: services — no voice row says "尚未接通" or "已接通" +PASS moon-desktop: services — reading status opens no microphone +PASS moon-desktop: a voice is applied through the existing flow +PASS moon-desktop: settings still says a change takes effect at the next call +PASS moon-desktop: call line shows 本次通话 voice from the session answer +PASS moon-desktop: subtitles still show beside it +PASS moon-desktop: a choice made during the call does not change this call +PASS moon-desktop: ending the call releases the microphone and drops the pin +PASS moon-desktop: the next call shows the new voice +PASS moon-desktop: 500 after filing — says it may be registered and to refresh first +PASS moon-desktop: offers 刷新列表 and words a second registration as a checked choice +PASS moon-desktop: the list is not re-read or re-registered behind your back +PASS moon-desktop: refreshing names the new numbered entry +PASS moon-desktop: the numbered entry is marked as missing local metadata +PASS moon-desktop: after it is found the cautious button goes away +PASS fog-desktop: services — TTS row says configured + health probe reachable +PASS fog-desktop: services — ASR row claims no probe it does not have +PASS fog-desktop: services — no voice row says "尚未接通" or "已接通" +PASS fog-desktop: services — reading status opens no microphone +PASS fog-desktop: a voice is applied through the existing flow +PASS fog-desktop: settings still says a change takes effect at the next call +PASS fog-desktop: call line shows 本次通话 voice from the session answer +PASS fog-desktop: subtitles still show beside it +PASS fog-desktop: a choice made during the call does not change this call +PASS fog-desktop: ending the call releases the microphone and drops the pin +PASS fog-desktop: the next call shows the new voice +PASS fog-desktop: 500 after filing — says it may be registered and to refresh first +PASS fog-desktop: offers 刷新列表 and words a second registration as a checked choice +PASS fog-desktop: the list is not re-read or re-registered behind your back +PASS fog-desktop: refreshing names the new numbered entry +PASS fog-desktop: the numbered entry is marked as missing local metadata +PASS fog-desktop: after it is found the cautious button goes away +PASS moon-phone: services — TTS row says configured + health probe reachable +PASS moon-phone: services — ASR row claims no probe it does not have +PASS moon-phone: services — no voice row says "尚未接通" or "已接通" +PASS moon-phone: services — reading status opens no microphone +PASS moon-phone: a voice is applied through the existing flow +PASS moon-phone: settings still says a change takes effect at the next call +PASS moon-phone: call line shows 本次通话 voice from the session answer +PASS moon-phone: subtitles still show beside it +PASS moon-phone: a choice made during the call does not change this call +PASS moon-phone: ending the call releases the microphone and drops the pin +PASS moon-phone: the next call shows the new voice +PASS moon-phone: 500 after filing — says it may be registered and to refresh first +PASS moon-phone: offers 刷新列表 and words a second registration as a checked choice +PASS moon-phone: the list is not re-read or re-registered behind your back +PASS moon-phone: refreshing names the new numbered entry +PASS moon-phone: the numbered entry is marked as missing local metadata +PASS moon-phone: after it is found the cautious button goes away +PASS fog-phone: services — TTS row says configured + health probe reachable +PASS fog-phone: services — ASR row claims no probe it does not have +PASS fog-phone: services — no voice row says "尚未接通" or "已接通" +PASS fog-phone: services — reading status opens no microphone +PASS fog-phone: a voice is applied through the existing flow +PASS fog-phone: settings still says a change takes effect at the next call +PASS fog-phone: call line shows 本次通话 voice from the session answer +PASS fog-phone: subtitles still show beside it +PASS fog-phone: a choice made during the call does not change this call +PASS fog-phone: ending the call releases the microphone and drops the pin +PASS fog-phone: the next call shows the new voice +PASS fog-phone: 500 after filing — says it may be registered and to refresh first +PASS fog-phone: offers 刷新列表 and words a second registration as a checked choice +PASS fog-phone: the list is not re-read or re-registered behind your back +PASS fog-phone: refreshing names the new numbered entry +PASS fog-phone: the numbered entry is marked as missing local metadata +PASS fog-phone: after it is found the cautious button goes away +PASS status down: TTS "已配置 · 合成服务这会儿暂不可用" +PASS status down: ASR row honest +PASS status off: TTS "未配置 · 这台服务没有语音配置" +PASS status off: ASR row honest +PASS status no-route: TTS "这台服务没有语音状态接口" +PASS status no-route: ASR row honest +PASS status unknown-500: TTS "状态未知 · 这次没读到语音状态" +PASS status unknown-500: ASR row honest +PASS status unknown-net: TTS "状态未知 · 这次没读到语音状态" +PASS status unknown-net: ASR row honest +PASS session without voice: "声音未说明", not the settings choice +PASS session voice "default": shown as 默认声音 +PASS dropped answer: may be registered, refresh first +PASS dropped answer: refresh finds the numbered entry +PASS 503: keeps the server words and adds the refresh advice +PASS 503: refresh finds nothing new and says to wait before registering again +PASS 503: the checked retry registers once and the take is gone +PASS recording: microphone live while recording +PASS recording: stop keeps the take and releases the microphone +PASS recording: cancel releases the microphone +PASS demo: zero /api requests from settings and the conversation + +90/90 passed diff --git a/docs/rework/hel903/preservation/author-logs/build.log b/docs/rework/hel903/preservation/author-logs/build.log index 90a2670..e57ea82 100644 --- a/docs/rework/hel903/preservation/author-logs/build.log +++ b/docs/rework/hel903/preservation/author-logs/build.log @@ -1,9 +1,9 @@ -vite v6.3.6 building for production... -transforming... -✓ 59 modules transformed. -rendering chunks... -computing gzip size... -dist/index.html 0.49 kB │ gzip: 0.35 kB -dist/assets/index-B8TdHoQm.css 88.58 kB │ gzip: 18.37 kB -dist/assets/index-ba4PURHH.js 342.44 kB │ gzip: 114.48 kB -✓ built in 654ms +vite v6.3.6 building for production... +transforming... +✓ 59 modules transformed. +rendering chunks... +computing gzip size... +dist/index.html 0.49 kB │ gzip: 0.35 kB +dist/assets/index-B8TdHoQm.css 88.58 kB │ gzip: 18.37 kB +dist/assets/index-ba4PURHH.js 342.44 kB │ gzip: 114.48 kB +✓ built in 654ms diff --git a/docs/rework/hel903/preservation/author-logs/check-requirements-handoff.log b/docs/rework/hel903/preservation/author-logs/check-requirements-handoff.log index bb876cf..e170e60 100644 --- a/docs/rework/hel903/preservation/author-logs/check-requirements-handoff.log +++ b/docs/rework/hel903/preservation/author-logs/check-requirements-handoff.log @@ -1 +1 @@ -需求结构检查通过:60项;来源和覆盖完整。仍须人工核对授权语义与实际体验。 +需求结构检查通过:60项;来源和覆盖完整。仍须人工核对授权语义与实际体验。 diff --git a/docs/rework/hel903/preservation/author-logs/check-requirements.log b/docs/rework/hel903/preservation/author-logs/check-requirements.log index bb876cf..e170e60 100644 --- a/docs/rework/hel903/preservation/author-logs/check-requirements.log +++ b/docs/rework/hel903/preservation/author-logs/check-requirements.log @@ -1 +1 @@ -需求结构检查通过:60项;来源和覆盖完整。仍须人工核对授权语义与实际体验。 +需求结构检查通过:60项;来源和覆盖完整。仍须人工核对授权语义与实际体验。 diff --git a/docs/rework/hel903/preservation/author-logs/lint.log b/docs/rework/hel903/preservation/author-logs/lint.log index e41e504..fdf0d5b 100644 --- a/docs/rework/hel903/preservation/author-logs/lint.log +++ b/docs/rework/hel903/preservation/author-logs/lint.log @@ -1,6 +1,6 @@ - -C:\Users\Lucian\multica_workspaces_desktop-api.solsum.cn\hello-af23464d222e\hel-903-112f9b6e687e\workdir\src\cybergril\web\src\chat\ChatPanel.tsx - 252:100 warning The ref value 'fullButton.current' will likely have changed by the time this effect cleanup function runs. If this ref points to a node rendered by React, copy 'fullButton.current' to a variable inside the effect, and use that variable in the cleanup function react-hooks/exhaustive-deps - -✖ 1 problem (0 errors, 1 warning) - + +C:\Users\Lucian\multica_workspaces_desktop-api.solsum.cn\hello-af23464d222e\hel-903-112f9b6e687e\workdir\src\cybergril\web\src\chat\ChatPanel.tsx + 252:100 warning The ref value 'fullButton.current' will likely have changed by the time this effect cleanup function runs. If this ref points to a node rendered by React, copy 'fullButton.current' to a variable inside the effect, and use that variable in the cleanup function react-hooks/exhaustive-deps + +✖ 1 problem (0 errors, 1 warning) + diff --git a/docs/rework/hel903/preservation/author-logs/vitest.log b/docs/rework/hel903/preservation/author-logs/vitest.log index f22ef0f..864fee0 100644 --- a/docs/rework/hel903/preservation/author-logs/vitest.log +++ b/docs/rework/hel903/preservation/author-logs/vitest.log @@ -1,22 +1,22 @@ - - RUN v3.1.2 C:/Users/Lucian/multica_workspaces_desktop-api.solsum.cn/hello-af23464d222e/hel-903-112f9b6e687e/workdir/src/cybergril/web - - ✓ tests/hel879_frames.test.ts (10 tests) 16ms - ✓ tests/inbox.test.ts (13 tests) 20ms - ✓ tests/voice.test.ts (45 tests) 478ms - ✓ tests/hel898_agent_left.test.ts (7 tests) 119ms - ✓ tests/hel900_custom_voice.test.ts (19 tests) 571ms - ✓ reference audio becomes the WAV the server accepts > refuses what the server would refuse, before sending anything 512ms - ✓ tests/hel903_voice_rework.test.ts (11 tests) 11ms - ✓ tests/reading.test.ts (11 tests) 36ms - ✓ tests/r2wiring.test.ts (11 tests) 30ms - ✓ tests/r3memory.test.ts (5 tests) 8ms - ✓ tests/domain.test.ts (12 tests) 9ms - ✓ tests/real.test.ts (3 tests) 10ms - ✓ tests/review878_late_cleanup.test.ts (1 test) 11ms - - Test Files 12 passed (12) - Tests 148 passed (148) - Start at 13:00:27 - Duration 1.48s (transform 315ms, setup 0ms, collect 856ms, tests 1.32s, environment 1ms, prepare 670ms) - + + RUN v3.1.2 C:/Users/Lucian/multica_workspaces_desktop-api.solsum.cn/hello-af23464d222e/hel-903-112f9b6e687e/workdir/src/cybergril/web + + ✓ tests/hel879_frames.test.ts (10 tests) 16ms + ✓ tests/inbox.test.ts (13 tests) 20ms + ✓ tests/voice.test.ts (45 tests) 478ms + ✓ tests/hel898_agent_left.test.ts (7 tests) 119ms + ✓ tests/hel900_custom_voice.test.ts (19 tests) 571ms + ✓ reference audio becomes the WAV the server accepts > refuses what the server would refuse, before sending anything 512ms + ✓ tests/hel903_voice_rework.test.ts (11 tests) 11ms + ✓ tests/reading.test.ts (11 tests) 36ms + ✓ tests/r2wiring.test.ts (11 tests) 30ms + ✓ tests/r3memory.test.ts (5 tests) 8ms + ✓ tests/domain.test.ts (12 tests) 9ms + ✓ tests/real.test.ts (3 tests) 10ms + ✓ tests/review878_late_cleanup.test.ts (1 test) 11ms + + Test Files 12 passed (12) + Tests 148 passed (148) + Start at 13:00:27 + Duration 1.48s (transform 315ms, setup 0ms, collect 856ms, tests 1.32s, environment 1ms, prepare 670ms) +