docs(compat): verify existing fixes for legacy sessions and WebUI - #244
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
摘要 / Summary
Record fresh verification that #225 and #230 are already fixed in v0.5.7. The report reproduces the legacy migration failure before the existing copy repair, verifies resumed history after cold restart, and checks the current composed WebUI with the real Mnemon CLI. No product source or release artifact changes.
关联 Issue 或背景 / Related Issue or Context
Closes #225. Closes #230. Both implementation fixes were merged in #226 and released by #228; this maintainer-authorized evidence update records current-main results without creating a redundant patch.
涉及区域 / Affected Areas
PR 类型 / PR Type
最新代码确认 / Latest Codebase Confirmation
main分支开发,或在提交前已 rebase 或合并最新main。 / I developed from the latestmain, or rebased or merged the latestmainbefore submitting.同步命令 / Sync command:
git fetch origin mainconfirmed both issue worktrees and origin/main at1e19caf40f0bf37edf678c3d829f2398ab28792a.AI 编码披露 / AI Coding Disclosure
使用的 AI 模型 / AI model used:
GPT-6 Astra, max reasoning.
使用的编码 Agent 工具 / Coding Agent tool used:
Codex desktop, terminal, and CUA browser automation. This PR contains AI-written evidence documentation only.
仓库规范检查 / Repository Rules
@deepseek-ai/*NPM 契约。 / I did not modify DSH source or point tsconfig at a DSH source checkout, and used only published@deepseek-ai/*NPM contracts.src/host/protocol.ts为准,没有在两侧重复定义 wire DTO。 / The Client and Host boundary still uses browser-safesrc/host/protocol.tsas the source for wire DTOs.lib/文件。 / I did not commit tokens, credentials, private memory, unredacted logs, or generatedlib/files.兼容性与数据安全 / Compatibility and Data Safety
Documentation-only: no persistence format, RPC permission, configuration, package metadata, or runtime behavior changes; no changeset is required. Every operation used disposable DSH/Mnemon roots and synthetic conversation/memory content. The copy repair preserved the original SHA-256 and changed only two invalid summary fields. No credentials, raw private logs, or generated lib files are included.
本地验证 / Local Validation
执行的命令 / Commands run:
pnpm install --frozen-lockfile;pnpm exec vitest run tests/legacy-session-repair.spec.ts tests/lifecycle.spec.ts tests/dsh-connection-compat.spec.ts;MNEMON_NATIVE_TEST_CLI=/opt/homebrew/bin/mnemon pnpm --filter dsh-mnemon-source-memory-spaces test -- tests/native-integration.spec.ts; both default and--strategy-extensionsreal WebUI harnesses;pnpm run verify:docs;git diff --check.结果摘要 / Result summary:
Full
pnpm verify: 1,249 passed, 7 opt-in skips, with types, deterministic builds, package checks and real Headless restart/disable checks passing. Targeted migration/lifecycle/connection: 58 passed. Real Native Source run: 169 passed including CLI create/write/recall/forget, 1 Windows skip. Real WebUI: strict legacy failure -> copy repair -> two turns -> cold reopen; Native create/activate/keyword recall/restart/content/soft-delete. Authenticated status RPC 200, healthy=true, commandFound=true; unauthenticated 401. No Windows, Electron, live external Provider, or model-quality retest. The original 0.5.5/missing-CLI environment was not recreated; its historical 405 evidence remains explicitly linked to #226. Standalone packed-artifact tests were not repeated for this docs-only addition.用户可见变更证据 / Local Feature Evidence
证据 / Evidence:
Bilingual report and hashes.