docs: record work restoration native acceptance

This commit is contained in:
鲨鱼辣椒 committed 2026-10-14 11:58:45 +08:00
1 parent 40930aecac
commit b9106166c1
1 file changed
+6 -4
@@ -8,7 +8,7 @@
- Worktree: /Users/chillishark/Makelore 麦洛/.codex-worktrees/makelore/20261014-work-entry-restore-91c7e6a2 - Worktree: /Users/chillishark/Makelore 麦洛/.codex-worktrees/makelore/20261014-work-entry-restore-91c7e6a2
- Base commit: 4eb3efa3d1b4700a89fac4e7d1124c7a53c9ae90 - Base commit: 4eb3efa3d1b4700a89fac4e7d1124c7a53c9ae90
- Owner: codex - Owner: codex
- Status: Implementing - Status: Ready for Integration
## Scope ## Scope
@@ -28,19 +28,21 @@
- Implemented project work-entry persistence, deterministic Vite/static startup, content/project matching before address reuse, bounded legacy browser-receipt recovery without Pi startup, and explicit assistant opt-in with domain-specific error copy. - Implemented project work-entry persistence, deterministic Vite/static startup, content/project matching before address reuse, bounded legacy browser-receipt recovery without Pi startup, and explicit assistant opt-in with domain-specific error copy.
- Preserve manual opens across slow health probes/local startup; serialize project checks and metadata writes; retain successful newly started server addresses when project selection changes; stop only unused app-owned children superseded by another server. - Preserve manual opens across slow health probes/local startup; serialize project checks and metadata writes; retain successful newly started server addresses when project selection changes; stop only unused app-owned children superseded by another server.
- Imported only currently activated product deltas from sidebar sources 8cd7b597/14fcea389/cca23df7 and the later active Renderer d0451e9a, preserving footer placement, WeChat status copy and default expanded module sidebar. A three-line ModuleSelection edit appeared concurrently in this owned checkout; its bytes were independently confirmed identical to the current activated d0451e9a source before inclusion, and were never reset/stashed or guessed. Peer source records stay read-only. This is preservation of the latest trial baseline, not an additional sidebar redesign. - Imported only currently activated product deltas from sidebar sources 8cd7b597/14fcea389/cca23df7 and the later active Renderer d0451e9a, preserving footer placement, WeChat status copy and default expanded module sidebar. A three-line ModuleSelection edit appeared concurrently in this owned checkout; its bytes were independently confirmed identical to the current activated d0451e9a source before inclusion, and were never reset/stashed or guessed. Peer source records stay read-only. This is preservation of the latest trial baseline, not an additional sidebar redesign.
- Exact production build and isolated real Electron full-restart/stopped-service/native-render acceptance passed. Current temporary-app activation and actual Alice acceptance pending. - Exact production build and isolated real Electron full-restart/stopped-service/native-render acceptance passed. Current temporary app updated with full Main + Renderer snapshot from 40930aecac298d3a3f956ff1e25bb80cb24fb99e. Existing shell identity, profile and stable Renderer URL retained. Native Main 93092 listens on 58003; module home observed. Original Main native Quit removed its window/listener but left a stuck process; after the user explicitly chose restart now, native Activity Monitor force-quit only PID 25170. Current app required manual login; the user completed login, and Alice account plus existing projects/conversations were observed. Native Code Work tab restored 《我的同桌是宠物》 at http://127.0.0.1:63439/ from the persisted project-bound Vite entry, without assistant help or a submitted model prompt. Screenshot and verification receipt saved in the task trial stage. No credentials read or fabricated.
## Verification ## Verification
- 134 focused tests in 6 files passed after root integration; includes real Vite/static launch, resolved base configuration, fresh store reload, imported-folder metadata creation, content/port ownership, explicit helper selection, project switching and slow manual supersession. - 134 focused tests in 6 files passed after root integration; includes real Vite/static launch, resolved base configuration, fresh store reload, imported-folder metadata creation, content/port ownership, explicit helper selection, project switching and slow manual supersession.
- Standard typecheck, changed-file ESLint, git diff --check passed. Independent review reproduced races and a Vite base issue before correction; final root tests cover those corrections. - Standard typecheck, changed-file ESLint, git diff --check passed. Independent review reproduced races and a Vite base issue before correction; final root tests cover those corrections.
- Final exact production build from product commit 0f26b6d passed. Isolated Electron acceptance 1/1 passed: real Main quit/relaunch, persisted URL reuse, controlled original service stop, real app-owned static restart and native HTML rendering, with unchanged conversation list and no model session. Fixture guest account uses actual native presentation route rather than fabricating cloud login; actual guarded Code UI is verified on the existing trial below. - Final exact production build and typecheck from candidate product commit 40930ae passed. Isolated Electron acceptance 1/1 passed: real Main quit/relaunch, persisted URL reuse, controlled original service stop, real app-owned static restart and native HTML rendering, with unchanged conversation list and no model session. Fixture guest account uses actual native presentation route rather than fabricating cloud login; actual guarded Code UI is verified on the existing trial below.
- Full normal unit suite: 297 files passed, 3333 tests passed/3 skipped; 8 failures in 3 unrelated existing setup/cloud-knowledge/design-image-preview files. Exact previous-renderer baseline 14fcea389 reproduced all same 8 failures; none was introduced by this task. Separate pressure test passed 1/1 because the normal script stops at failed first phase. - Full normal unit suite: 297 files passed, 3333 tests passed/3 skipped; 8 failures in 3 unrelated existing setup/cloud-knowledge/design-image-preview files. Exact previous-renderer baseline 14fcea389 reproduced all same 8 failures; none was introduced by this task. Separate pressure test passed 1/1 because the normal script stops at failed first phase.
- Latest already activated WeChat wording was preserved byte-for-byte from d0451e9a. Its two existing test files show 12 stale-copy failures / 48 passes, reproduced on an independent archive of d045 itself; its direct parent cca23df7 passes all 60. This task did not introduce those wording/test mismatches. Evidence: trial stage verification-logs/wechat-baseline-verification.json and both baseline logs.
- Final current-app acceptance passed after manual login: native Code Work tab displayed the real game and recorded address/launch recipe/document hash in the project. Reopening Work after background view sleep restored the same service. Screenshot: `.trial-runtime/work-entry-20261014-91c7e6a2/native-game-restored.png`; receipt: same stage `verification-receipt.json`. The final native session uses Main 40930ae / PID 93092 and later Renderer ec07c67, whose work-preview files and contracts are byte-identical to 40930ae. Peer overlay was actively being refreshed during early native checks; after it completed, native game display was verified. Original build manifest is frozen to preserve that child overlay parent SHA; final state is recorded separately in the verification receipt/current pointer.
- Early isolated Electron attempts exposed imported metadata creation and fixture activity/viewport setup gaps, which were corrected. No real account, model, game source or cloud state was mutated by tests. - Early isolated Electron attempts exposed imported metadata creation and fixture activity/viewport setup gaps, which were corrected. No real account, model, game source or cloud state was mutated by tests.
## Follow-ups ## Follow-ups
- Activate and verify the exact tested candidate in the current temporary app, with fresh predecessor pointer/link and saved/idle checks. - Source ready for serialized integration; no merge/push or shared documentation promotion performed. The currently active trial includes this full Main update and the later peer Code sidebar Renderer overlay, both preserving the work entry feature.
## Promotion Candidates ## Promotion Candidates