Repository navigation
Replies: 3 comments
Independent reproduction + self-hosted repair toolAffected: We hit the same orphan-spliced issue on 4 sessions in our install, all still on 0.1.2-rc.1. Each affected session ends with an Evidence (4 sessions, all on 0.1.2-rc.1)
Pre-repair Self-hosted repairWhile waiting for the upstream fix, I built a self-contained repair tool that lives outside the dsh package (no plugin install, no schema change). It does the same accounting the runtime does (uses dsh's own Verified end-to-end on all 4 sessions: dry-run โ apply โ re-run reports If anyone wants a copy of the tool while the upstream fix is in flight, happy to share. Suggested upstream fix (additive to the report above)
|
|
Three readings about where the sites cited in this report and in the comment above stand in the current artifacts, taken from published tarballs and repository code search on 2026-09-25. 1. The reducer that tolerates an orphan removal is alive, and it is not a no-opThe reducer moved packages. It is now in What changed is that the branch writes state. When So the state this report calls "removedCount against identities never inserted" still writes state in One detail from the same branch: 2. Two identifiers from the reports no longer resolve
The UI site this report cites moved with the code: And the package cited for the consumption-side history assembler and the swallowed error has not moved at all: 3. The op and its field are still present, now as preserved members
Boundary: read from published npm tarballs and repository code search; nothing was executed. I have not run the repair tool and have not verified the write-side counter behaviour the comment describes. The inherited-splice threads ( Authorship note: the readings above were taken by me against published npm artifact tarballs and the repository's code search; drafting assisted by AI; verification and publication by me. I have no engineering background โ if any technical claim reads wrong, please call it out; I will re-verify against the toolchain and correct. Reported by the OfferKuai Team โ Founder: Zhaofeng (Yaming). Website: https://www.offerkuai.com/ | Contact: contact@offerkuai.com ไธญๆ็ไธๆก่ฏปๆณ๏ผ่ฎฒ็ๆฏๆฌๆฅๅไธไธ้ข้ฃๆก่ฏ่ฎบๆๅผ็จ็ไฝ็น๏ผๅจๅฝๅไบง็ฉ้ๅคไบไปไน็ถๆ๏ผๅ จ้จๅ่ชๅทฒๅๅธ tarball ไธไปๅบไปฃ็ ๆ็ดข๏ผ2026-09-25๏ผใ 1. ้ฃๆกๅฎนๅฟๅญคๅฟๆคๅ็ reducer ่ฟๅจ๏ผ่ไธๅฎไธๆฏ no-op่ฟไธช reducer ๆฌไบๅ
ใๅฎ็ฐๅจๅจ ๅ็ๆฏ๏ผ่ฟไธชๅๆฏไผๅ็ถๆใๅฝ โ ๆฌๆฅๅ็งฐไธบ"ๅฏนไปๆชๆๅ
ฅ่ฟ็่บซไปฝๆง่ก removedCount"็้ฃไธช็ถๆ๏ผๅจ ๅไธๅๆฏ่ฟๆไธไธช็ป่๏ผ 2. ไธคไปฝๆฅๅ้็ไธคไธชๆ ่ฏ็ฌฆๅทฒ็ป่งฃๆไธๅฐ
ๆฌๆฅๅๅผ็จ็้ฃไธช UI ไฝ็น้ไปฃ็ ๆฌไบๅฎถ๏ผ ่ๆฌๆฅๅไธบ"ๆถ่ดนไพงๅๅฒ่ฃ
้
่ทฏๅพไธ่ขซๅๆ็ๆฅ้"ๅผ็จ็้ฃไธชๅ
๏ผไธๆญฅ้ฝๆฒกๅจ๏ผ 3. op ไธๅฎ้ฃไธชๅญๆฎตไปๅจ๏ผไธๅทฒๆไธบไฟ็ๆๅ
่พน็๏ผไปฅไธ่ฏป่ชๅทฒๅๅธ npm ไบง็ฉ tarball ไธไปๅบไปฃ็ ๆ็ดข๏ผๆชๆง่กไปปไฝไปฃ็ ใๆๆฒกๆ่ฟ่ก้ฃไธชไฟฎๅคๅทฅๅ
ท๏ผไนๆฒกๆๆ ธๅฎ่ฏ่ฎบๆๆ่ฟฐ็ๅไพง่ฎกๆฐๅจ่กไธบใ็ปงๆฟๆ่ด็ spliced ้ฃไธๆ๏ผ ๅฃฐๆ๏ผไธๅ่ฏปๆฐ็ฑๆๆฌไบบ้ๅฏนๅทฒๅๅธ npm ไบง็ฉ tarball ไธไปๅบไปฃ็ ๆ็ดขๅฎๆ๏ผๆ็จฟๆฐๅ็ฑ AI ่พ ๅฉ๏ผๆ ธ้ชไธๅๅธ็ฑๆๆฌไบบ่ด่ดฃใๆๆฒกๆๅทฅ็จ่ๆฏ โโ ่ฅไปปไฝๆๆฏ่กจ่ฟฐๆ่ฏฏ๏ผ่ฏท็ดๆฅๆๅบ๏ผๆไผๅฏน็ งๅทฅๅ ท้พ้ๆฐๆ ธๅฎๅนถๆดๆญฃใๆไปฌๆฏๆไปถไฝ่ ใไธๆฏ็ปดๆค่ ๏ผๆฌๆไธ้่ฟฐไปปไฝๅฎๆนๆฟ็ญใ ๆฌๆฅๅ็ฑ OfferKuai๏ผOfferๅฟซ๏ผๅข้ๆไบค โโ ๅๅงไบบ๏ผZhaofeng๏ผYaming๏ผใๅฎ็ฝ๏ผhttps://www.offerkuai.com/ | ่็ณป๏ผcontact@offerkuai.com |
|
โ ็ฒ่ดดๅฐ GitHub ็่ฏ่ฎบๆก Closing this one out. We re-checked it against Authorship note: drafting assisted by AI; verification and publication by me. I have no engineering background โ if any technical claim reads wrong, please call it out. Reported by the OfferKuai Team. ไธญๆ็ๆถๅฃใ่ฟไธๆกๆไปฌๅทฒไบ 2026-10-07 ๅฏน็ ๅไฝ่ฏดๆ๏ผๆๆ็ฑ AI ๅๅฉๅฎๆ๏ผๆ่ด่ดฃๆ ก้ชไธๅๅธใๆ้ๅทฅ็จ่ๆฏ โโ ่ฅไปปไฝๆๆฏ่กจ่ฟฐๆ่ฏฏ๏ผ่ฏท็ดๆฅๆๅบ๏ผๆไผๅฏน็ งๅทฅๅ ท้พ้ๆฐๆ ธๅฎๅนถๆดๆญฃใ ๆฌๆฅๅ็ฑ OfferKuai๏ผOfferๅฟซ๏ผๅข้ๆไบคใ |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Self-review update โ correction of our own submitted bug report / ่ชๆไฟฎๆญฃ๏ผๅฏนๆฌไบบๆไบค็ bug report ็ไฟฎๆญฃ (2026-08-22)
agent/inbox/splicedis declared valid by the persistence layer and unreadable by the session history consumption path. That split โ not the blank page โ is the defect.What we originally claimed / ๅ็่กจ่ฟฐ (EN): the conversation UI hard-fails (blank paging) on orphan
agent/inbox/splicedops with no insert; no data loss on disk, total loss of UI access.What we now state / ็ฐไฟฎๆญฃ (EN): upgraded to the log/state-machine layer โ one log is declared valid by the persistence layer and unreadable by the session history consumption path; the inbox state machine's tolerance intent (visible in
applySplice) does not hold end-to-end; the split sits exactly on the post-incident recovery path, so a routine repair can silently produce a durably intact but unreadable session.ๅ็่กจ่ฟฐ๏ผไธญๆ๏ผ๏ผ ๅญคๅฟ
agent/inbox/splicedๆคๅๆไฝ๏ผๆ ๅฏนๅบๆๅ ฅ๏ผๅฏผ่ดๅฏน่ฏ UI ๆธฒๆไธญๆญใๅ้กต็ฉบ็ฝ๏ผ็ฃ็ๆฐๆฎๆชไธข๏ผไฝ UI ๅฎๅ จๆ ๆณ่ฎฟ้ฎใ็ฐไฟฎๆญฃ๏ผไธญๆ๏ผ๏ผ ๅ็บงๅฐๆฅๅฟ/็ถๆๆบๅฑโโๅไธไปฝๆฅๅฟ่ขซๆไน ๅๅฑๅคๅฎๅๆณใๅด่ขซไผ่ฏๅๅฒๆถ่ดน่ทฏๅพๅคๅฎไธๅฏ่ฏป๏ผinbox ็ถๆๆบ็ๅฎน้ๆๅพ๏ผ
applySpliceๅฏ่ง๏ผๆช่ฝ็ซฏๅฐ็ซฏๅ ็ฐ๏ผๅ่ฃๆฐๅฅฝ่ฝๅจไบๆ ๅๆขๅค่ทฏๅพไธ๏ผๅ ๆญคไธๆฌกไพ่กไฟฎๅคๅฏ่ฝ้้ปไบงๅบ"ๆฐๆฎๅฎๅฅฝไฝไธๅฏ่ฏป"็ไผ่ฏใEN / English
Version note / ็ๆฌ่ฏดๆ
Source references were verified on
@deepseek-ai/dsh0.1.0-rc.7and re-verified on0.1.1-rc.2โ module internals unchanged, line numbers shifted:dsh-client-ui-conversation/lib/client.js:applySplicenow at:8558-8568(was:8103-8113).dsh-client-runtime/lib/client.js: the conversation fold/assembler now at:6358-6590(was:6345-6592); structural guards at:6543/:6567/:6568(was:6548/:6572/:6573); the history-error swallow now at:7414(was:7418-7419).Observed behavior
A session log containing an
agent/inbox/splicedevent withremovedCount > 0but no precedinginserted(an orphan removal) is accepted by the persistence layer โfoldSurface()passes, seq stays contiguous, JSON is valid. The same log, consumed by the session history path, renders only up to the orphan op and returns empty pages for everything after โ with no error surfaced (consumption errors are swallowed with a console-only log,dsh-client-runtime/lib/client.js:7418-7419).One log, two consumers, two verdicts: "valid" (persistence) and "unreadable" (history consumption). The blank-page symptom is real; the defect is the split itself.
State-machine mechanism (with source references)
applySplice(dsh-client-ui-conversation/lib/client.js:8103-8113) is written to be safe by default โremovedCount ?? 0,pending.splice(...)against a possibly-empty array. An orphan removal is anticipated and tolerated at the reducer level.dsh-client-runtime/lib/client.js:6345-6592) guards structural violations only โ duplicate starts (:6548), out-of-order appends (:6572), updates before a start (:6573) โ with no guard for "removed identities that were never inserted."Impact scope (upgraded โ log / session / business / recovery path)
removedCountto0by manual log editing).Expected behavior
The inbox state machine must have one semantics across all consumers: "removedCount against identities never inserted" must be a no-op everywhere (or surface a visible warning) โ the reducer already does this, the consumption path must too. Data-layer strictness and consumption-layer tolerance must be aligned, and any alignment failure must surface as an error, never a silent blank.
Repro
agent/inbox/splicedcontainingremovedCount: 1and no matching insert (can be produced by truncating the log between an insert and its removal).removedCountto0โ rendering and paging fully restored.Environment
@deepseek-ai/dsh0.1.0-rc.6/0.1.0-rc.7@deepseek-ai/dsh0.1.1-rc.2Evidence (sanitized + source)
dsh-client-ui-conversation/lib/client.js:8103-8113โapplySplice: intended tolerance (removedCount ?? 0, safe splice on empty pending).dsh-client-runtime/lib/client.js:6345-6592โ consumption fold/assembler: structural guards only; no orphan-removal guard.dsh-client-runtime/lib/client.js:7418-7419โ consumption errors are swallowed silently (console only).Authorship note: reproduced and documented by me in real-world usage; root-cause tracing and drafting assisted by AI; verification and publication by me. I have no engineering background โ if any technical claim reads wrong, please call it out; I will re-verify against the toolchain and correct.
ไธญๆ็ / ZH
็ๆฌ่ฏดๆ
ๆบ็ ๅผ็จๅจ
@deepseek-ai/dsh0.1.0-rc.7ไธ้ช่ฏ๏ผๅนถๅจ0.1.1-rc.2ไธ้ๆฐ้ช่ฏโโๆจกๅๅ ้จ้ป่พๆชๅ๏ผ่กๅทๆๅ็งป๏ผdsh-client-ui-conversation/lib/client.js๏ผapplySplice็ฐไฝไบ:8558-8568๏ผๅ:8103-8113๏ผใdsh-client-runtime/lib/client.js๏ผๅฏน่ฏ fold/assembler ็ฐไฝไบ:6358-6590๏ผๅ:6345-6592๏ผ๏ผ็ปๆๆงๅฎๅซไฝไบ:6543/:6567/:6568๏ผๅ:6548/:6572/:6573๏ผ๏ผๅๅฒ้่ฏฏๅๆ็ฐไฝไบ:7414๏ผๅ:7418-7419๏ผใ็ฐ่ฑก
ๅซๆ
agent/inbox/splicedไบไปถ๏ผremovedCount > 0ใๅ้ขๆฒกๆๅฏนๅบ็inserted๏ผๅณๅญคๅฟๆคๅ๏ผ็ไผ่ฏๆฅๅฟ๏ผ่ขซๆไน ๅๅฑๆฅๅโโfoldSurface()้่ฟใseq ่ฟ็ปญใJSON ๅๆณใๅไธไปฝๆฅๅฟ๏ผ่ขซไผ่ฏๅๅฒๆถ่ดน่ทฏๅพๅค็ๆถ๏ผๅชๆธฒๆๅฐๅญคๅฟๆไฝไนๅ๏ผๅ ถๅๅ จ้จ็ฉบ้กตโโไธๆ ไปปไฝๆฅ้๏ผๆถ่ดน้่ฏฏ่ขซๅๆใไป console๏ผdsh-client-runtime/lib/client.js:7418-7419๏ผใๅไธไปฝๆฅๅฟใไธคไธชๆถ่ดนๆนใไธค็ง็ป่ฎบ๏ผ"ๅๆณ"๏ผๆไน ๅ๏ผไธ"ไธๅฏ่ฏป"๏ผๅๅฒๆถ่ดน๏ผใ็ฉบ็ฝ้กต็็ถ็ๅฎๅญๅจ๏ผ็ผบ้ทๆฏๅ่ฃๆฌ่บซใ
็ถๆๆบๆบๅถ๏ผ้ๆบ็ ๅผ็จ๏ผ
applySplice๏ผdsh-client-ui-conversation/lib/client.js:8103-8113๏ผๆ้ป่ฎคๅฎๅ จ็ผๅโโremovedCount ?? 0ใๅฏนๅฏ่ฝไธบ็ฉบ็ๆฐ็ปๅpending.splice(...)ใๅญคๅฟๆคๅๅจ reducer ๅฑๆฏ่ขซ้ข่งๅนถๅฎนๅฟ็ใdsh-client-runtime/lib/client.js:6345-6592๏ผๅชๅฎๅซ็ปๆๆง่ฟ่งโโ้ๅค start๏ผ:6548๏ผใไนฑๅบ่ฟฝๅ ๏ผ:6572๏ผใstart ไนๅ update๏ผ:6573๏ผโโๅฏน"ๆคๅไปๆชๆๅ ฅ่ฟ็่บซไปฝ"ๆฒกๆไปปไฝๅฎๅซใๅฝฑๅ่ๅด๏ผๅ็บง โโ ๆฅๅฟ / ไผ่ฏ / ไธๅก / ๆขๅค่ทฏๅพ๏ผ
removedCountๆนไธบ0๏ผใๆๆ่กไธบ
inbox ็ถๆๆบๅฟ ้กปๅจๆๆๆถ่ดนๆนไธ่ฏญไนไธ่ด๏ผ"ๅฏนไปๆชๆๅ ฅ่ฟ็่บซไปฝๆง่ก removedCount"ๅจๆๆๅฐๆน้ฝๅบๆฏ็ฉบๆไฝ๏ผๆ็ปๅบๅฏ่ง่ญฆๅ๏ผโโreducer ๅทฒ็ปๅๅฐ๏ผๆถ่ดน่ทฏๅพไนๅฟ ้กปๅๅฐใๆฐๆฎๅฑ็ไธฅๆ ผไธๆถ่ดนๅฑ็ๅฎน้ๅบๅฝๅฏน้ฝ๏ผไปปไฝๅฏน้ฝๅคฑ่ดฅๅฟ ้กปไปฅ้่ฏฏๅฝขๅผๆด้ฒ๏ผ็ปไธๅ ่ฎธ้้ป็ฉบ็ฝใ
ๅค็ฐๆญฅ้ชค
agent/inbox/spliced๏ผremovedCount: 1ใๆ ๅน้ ๆๅ ฅ๏ผ็ไผ่ฏๆฅๅฟ๏ผๅจ"ๆๅ ฅ"ไธ"ๆคๅ"ไน้ดๆชๆญๅณๅฏไบง็๏ผใremovedCountๆนไธบ0โ ๆธฒๆไธๅ้กตๅฎๅ จๆขๅคใ็ฏๅข
@deepseek-ai/dsh0.1.0-rc.6/0.1.0-rc.7@deepseek-ai/dsh0.1.1-rc.2ไธ้ช่ฏ่ฏๆฎ๏ผ่ฑๆ + ๆบ็ ๏ผ
dsh-client-ui-conversation/lib/client.js:8103-8113โโapplySplice๏ผๆๅพๅฎฝๅฎน๏ผremovedCount ?? 0ใๅฏน็ฉบ pending ๅฎๅ จ splice๏ผใdsh-client-runtime/lib/client.js:6345-6592โโ ๆถ่ดนไพง fold/assembler๏ผๅชๆ็ปๆๆงๅฎๅซ๏ผๆฒกๆๅญคๅฟๆคๅๅฎๅซใdsh-client-runtime/lib/client.js:7418-7419โโ ๆถ่ดน้่ฏฏ่ขซ้้ปๅๆ๏ผไป console๏ผใOriginal report (archived for transparency) / ๅ็ๆฅๅ๏ผๅฝๆกฃไฟ็๏ผ
EN
Observed behavior (original). After a session log is damaged/truncated (crash, manual repair, torn write), it can contain an
agent/inbox/splicedevent withremovedCount > 0but no precedinginserted. The persistence layer accepts the log, but the UI renders only up to the orphan op and "Load earlier" returns blank pages forever โ with no error surfaced.Impact scope (original). Any user who repairs/recovers a session (or suffers a torn write) can end up with a session that looks openable but is effectively unreadable in the UI. No data loss on disk; total loss of UI access to the conversation. Applies to web UI and desktop shell alike.
ไธญๆ
็ฐ่ฑก๏ผๅ็๏ผใ ไผ่ฏๆฅๅฟๅๆ/่ขซๆชๆญๅ๏ผๅฏ่ฝๆฎ็ไธไธช
agent/inbox/splicedไบไปถ๏ผremovedCount > 0ไฝๅ้ขๆฒกๆๅฏนๅบ็insertedใๆไน ๅๅฑๆฅๅ่ฟไปฝๆฅๅฟ๏ผไฝ UI ๅชๆธฒๆๅฐๅญคๅฟๆไฝไนๅ๏ผ"ๅ ่ฝฝๆดๆฉ"ๆฐธไน ็ฉบ็ฝ๏ผไธๆฒกๆไปปไฝๆฅ้ใๅฝฑๅ่ๅด๏ผๅ็๏ผใ ไปปไฝไฟฎๅค/ๆขๅค่ฟไผ่ฏ๏ผๆ้ญ้ๅๅ ฅไธญๆญ๏ผ็็จๆท๏ผ้ฝๅฏ่ฝๅพๅฐไธไธช"็็่ฝๆๅผใๅฎ้ ่ฏปไธไบ"็ไผ่ฏใ็ฃ็ๆฐๆฎๆชไธข๏ผไฝ UI ๅฎๅ จๆ ๆณ่ฎฟ้ฎ่ฏฅๅฏน่ฏใWeb UI ไธๆก้ขๅฃณๅๆ ทๅๅฝฑๅใ
็ฝฒๅ / About this report
EN: Reported by the OfferKuai (Offerๅฟซ) Team โ an AI startup building full-lifecycle job-application services, guided by the belief that "users need results, not repeated conversations." Founder: Zhaofeng (Yaming). We use DeepSeek Harness as part of our daily development workflow; this report is our way of contributing back to the ecosystem. Website: https://www.offerkuai.com/ | Contact: <contact@offerkuai.com>
ZH: ๆฌๆฅๅ็ฑ OfferKuai๏ผOfferๅฟซ๏ผๅข้ๆไบค โโ ไธๅฎถไธๆณจ AI ๅ จๆต็จๆฑ่ๆ็ฎก็ๅไธๅข้๏ผๆ ธๅฟ็ๅฟตๆฏใ็จๆท่ฆ็ๆฏ็ปๆ๏ผไธๆฏ้ๅคๅฏน่ฏใใๅๅงไบบ๏ผZhaofeng๏ผYaming๏ผใๆไปฌๅฐ DeepSeek Harness ็จไบๆฅๅธธๅผๅๅทฅไฝๆต๏ผ่ฟไปฝๆฅๅๆฏๆไปฌๅฏน็คพๅบ็ๅ้ฆใๅฎ็ฝ๏ผhttps://www.offerkuai.com/ | ่็ณป๏ผ<contact@offerkuai.com>
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
All reactions