From a93180334a9ceb27c619ee17c43aed63146946b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=B2=A8=E9=B1=BC=E8=BE=A3=E6=A4=92?= Date: Wed, 30 Sep 2026 12:02:06 +0800 Subject: [PATCH] docs: record background trial reference fix update --- ...60930-teacher-reference-isolation-70b4a183.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.project-docs/30-worklog/tasks/20260930-teacher-reference-isolation-70b4a183.md b/.project-docs/30-worklog/tasks/20260930-teacher-reference-isolation-70b4a183.md index ac80537e..5e4b9b29 100644 --- a/.project-docs/30-worklog/tasks/20260930-teacher-reference-isolation-70b4a183.md +++ b/.project-docs/30-worklog/tasks/20260930-teacher-reference-isolation-70b4a183.md @@ -16,7 +16,7 @@ ## Intent And Constraints -- Preserve history, existing saved drafts, cloud teacher configuration, operation messages, billing and send identity. No subagents, live model calls, main merge/push, cloud publication or app restart. Never remove persisted references by guessing their origin. +- Preserve history, existing saved drafts, cloud teacher configuration, operation messages, billing and send identity. No subagents, live model calls, main merge/push or cloud publication. Later explicit trial-update request authorizes a background Renderer refresh only. Never remove persisted references by guessing their origin. ## Outcome @@ -31,7 +31,7 @@ ## Follow-ups -- Fix is on this feature branch, not merged/pushed or installed into the running trial. Existing persisted misquoted draft references are not automatically deleted because they lack reliable source metadata; the user can remove the visible item explicitly. No historical message rewrite or cloud deployment. +- Fix is on this feature branch, not merged/pushed; installed into the running trial after the explicit follow-up request. Existing persisted misquoted draft references are not automatically deleted because they lack reliable source metadata; the user can remove the visible item explicitly. No historical message rewrite or cloud deployment. ## Promotion Candidates @@ -50,3 +50,15 @@ 1. Reproduce selection from teacher A entering teacher B using real DOM selection in the existing CodingChatPanel test. 2. Restrict capture to the visible operation conversation, bind a new quote to account/project/source/recipient, and consume the one-time quote after the panel accepts it so removal/sending does not resurrect it on reopen. 3. Cover independent saved drafts, switch/remove/reopen and actual send references; run relevant units, typecheck/lint/build and available browser integration. Report cause and distinguish code fix from existing stored draft cleanup. + +## Trial Update Follow-up — 2026-09-30 + +- User authorized installing this fix into the existing temporary application. Same task/branch/base resumed with official task_context; ownership verified, canonical lock remains foreign and read-only. Preserve current composite overlays, all live chats/drafts and desktop focus. No main merge/push or cloud publication. +- Plan: apply only the two product-file changes from 36202e0 to a staged copy of the latest trial composite; build and typecheck; take private live-state backup, reload only the Renderer in the background and verify assets, storage, drafts, messages and focus. + +### Trial update result + +- Installed only the CodingChatPanel/TeacherChatPanel reference-isolation changes from 36202e0 onto the latest sidebar-left-33d87a81 composite. Three-way patching preserved existing teacher textarea/navigation overlays and the older live Main conversation API; no whole-file replacement or Main restart. Composite source: /private/var/folders/mx/ltbgwsks5_n8zllj69p_wbcw0000gn/T/makelore-trial-tdq_nuah/teacher-reference-70b4a183/source. +- Composite production build and typecheck passed. Initial imported branch tests used the newer project-scoped API and two fixtures failed against the older trial signature. Adapted only the temporary test fixture API arguments/draft keys to the existing trial interface; all 34 CodingChatPanel tests passed, including both reference regressions. Product protocol unchanged. +- Background Renderer refresh loaded index-mR-oHKNI.js in existing Main PID 32583. Verified all 14 operation message contents, selected conversation, route/tab, teacher-panel state, inputs, operation drafts, teacher draft storage, window bounds and both scroll positions retained. Restored sidebar expansion after normal preference hydration. Only user-profile cache version/timestamp refreshed; no history or draft deletion. +- Verification: trial stage verification.json; build.log, typecheck.log, unit-composite.log. Private before/after snapshots use mode 0600. launch.json and guidance-preview.json point to the new composite and preserve previous overlays/Main entries. Main-owned verification lease released (0 remaining), background throttling restored and inspector closed. No show/focus call, model request, cloud deployment, merge or push. Existing saved misquotes remain explicitly removable by the user.