diff --git a/Docs/Writer/Evidence/UnifiedManuscriptFocus/20261123T144457Z-windows-898a97f7/context-launch-fix-tests.txt b/Docs/Writer/Evidence/UnifiedManuscriptFocus/20261123T144457Z-windows-898a97f7/context-launch-fix-tests.txt new file mode 100644 index 00000000..e6686650 --- /dev/null +++ b/Docs/Writer/Evidence/UnifiedManuscriptFocus/20261123T144457Z-windows-898a97f7/context-launch-fix-tests.txt @@ -0,0 +1,6 @@ +PASS isolated native Context launch: open +PASS isolated native Context launch: reused +PASS isolated native Context launch: pending +PASS isolated native Context launch: failure +PASS isolated native Context launch: no-storage +PASS isolated native Context launch: no-titlebar diff --git a/Docs/Writer/Evidence/UnifiedManuscriptFocus/20261123T144457Z-windows-898a97f7/context-reused-held.jpg b/Docs/Writer/Evidence/UnifiedManuscriptFocus/20261123T144457Z-windows-898a97f7/context-reused-held.jpg new file mode 100644 index 00000000..8dc634d0 Binary files /dev/null and b/Docs/Writer/Evidence/UnifiedManuscriptFocus/20261123T144457Z-windows-898a97f7/context-reused-held.jpg differ diff --git a/Docs/Writer/Evidence/UnifiedManuscriptFocus/20261123T144457Z-windows-898a97f7/development-launch-fix.json b/Docs/Writer/Evidence/UnifiedManuscriptFocus/20261123T144457Z-windows-898a97f7/development-launch-fix.json new file mode 100644 index 00000000..1b8619bb --- /dev/null +++ b/Docs/Writer/Evidence/UnifiedManuscriptFocus/20261123T144457Z-windows-898a97f7/development-launch-fix.json @@ -0,0 +1,15 @@ +{ + "source": "d952eff042e50eaedbcf2f49de6dfe831c0aed39", + "release": "/srv/apps/plotdirector-dev/releases/native45-d952eff0-20261123T151412Z", + "rollback": "/srv/apps/plotdirector-dev/current-before-native45-d952eff0-20261123T151412Z", + "hashes": { + "PlotLine.dll": "638e847139a4ba552bd0ced9781d3647b9793c76589991fb2a9ddf01765c4493", + "wwwroot/js/native-context-launch.js": "13a2f52bb06d3cd8e75ad410bcf5e580481ec69a90fe4b915febc2147be07102", + "wwwroot/js/context-windows.js": "1ba8ff899fe1b800586512436e04b13748f95fba283cde9f34dc7762849cee36", + "wwwroot/js/native-companion-status.js": "022309fc8abc20ffbabb5d31959ad5f02dc8c4f5214c552a9c10cb765aecc85e", + "wwwroot/js/shared-manuscript-focus.js": "b7786cbe7936f7ad1d0573765e1d2deadbaff1d04f0ec550fc3ba284391edc94" + }, + "utc": "2026-11-23T15:14:20.802812+00:00", + "databaseChanges": false, + "activeWorkGuard": "PASS" +} \ No newline at end of file diff --git a/Docs/Writer/Evidence/UnifiedManuscriptFocus/20261123T144457Z-windows-898a97f7/installed-followup.json b/Docs/Writer/Evidence/UnifiedManuscriptFocus/20261123T144457Z-windows-898a97f7/installed-followup.json new file mode 100644 index 00000000..0d1dbf80 --- /dev/null +++ b/Docs/Writer/Evidence/UnifiedManuscriptFocus/20261123T144457Z-windows-898a97f7/installed-followup.json @@ -0,0 +1,30 @@ +{ + "recordedUtc": "2026-11-23T15:17:12.2550401Z", + "nativeSource": "898a97f730f7dd63703dfbb2a4d603f10cf37acb", + "serverSource": "d952eff042e50eaedbcf2f49de6dfe831c0aed39", + "version": "1.0.0.45", + "msiVersion": "1.0.45", + "msiResult": 0, + "vstoInstallerResult": 0, + "msiContext": 2, + "completeFeatureState": 3, + "installedPayloadHashesMatch": true, + "wordLoadedVersion": "1.0.0.45 observed in physical Troubleshooting", + "agentRunningVersion": "1.0.0.45 observed in physical UI and process file", + "endpoint": "https://dev.plotdirector.com/", + "authentication": "Existing approved account; fresh document heartbeat verified", + "initialAttempt": "Safely stopped before installation because Word was still running; Word then exited normally, without agent termination, and retry succeeded", + "ribbon": "One Context command; Writing Intent absent; Hold -> Held / Release Hold -> Following physically observed", + "contextLaunch": "PASS after hidden-titlebar status-owner correction; real ribbon command opened unified Context", + "contextReuse": "PASS in unimported fixture scope: second ribbon click reused original tab, closed transient launcher, retained held state, Side by side, Overview and Characters in Scene panes", + "precision": "No accepted/imported baseline in Small; Chapter/Scene unverified; Companion chapter index unavailable. Canonical navigation is not qualified.", + "smallSavedWordCount": 1821, + "smallSha256": "665912D57ECEF25E1F2A83FED94564C38171E0AB3ED1A981A6E8E5C140C032C8", + "smallSavedFileUnchanged": true, + "cleanup": "Context restored to Follow and Single pane, test tab closed, Small closed normally without saving; author documents not opened/modified", + "physicalAcceptance": "Installation/startup and stated UI checks pass; mapped navigation/sync/multi-window/caret/Audio Review acceptance remains incomplete", + "rollback": "Verified .44 and .43 installers retained; no rollback performed", + "productionTouched": false, + "databaseChanges": false, + "launchFixRegression": "Six isolated production-asset cases pass including missing title-bar control; complete solution rebuilt with zero warnings/errors" +} diff --git a/Docs/Writer/Evidence/UnifiedManuscriptFocus/20261123T144457Z-windows-898a97f7/installed-ribbon.png b/Docs/Writer/Evidence/UnifiedManuscriptFocus/20261123T144457Z-windows-898a97f7/installed-ribbon.png new file mode 100644 index 00000000..ccf7fdba Binary files /dev/null and b/Docs/Writer/Evidence/UnifiedManuscriptFocus/20261123T144457Z-windows-898a97f7/installed-ribbon.png differ diff --git a/Docs/Writer/Evidence/UnifiedManuscriptFocus/20261123T144457Z-windows-898a97f7/installed-setup-result.txt b/Docs/Writer/Evidence/UnifiedManuscriptFocus/20261123T144457Z-windows-898a97f7/installed-setup-result.txt new file mode 100644 index 00000000..8c69476d --- /dev/null +++ b/Docs/Writer/Evidence/UnifiedManuscriptFocus/20261123T144457Z-windows-898a97f7/installed-setup-result.txt @@ -0,0 +1,8 @@ +2026-11-23T15:06:40.5247295Z Windows Installer result=0 +2026-11-23T15:06:40.5259817Z Verified MSI context=2 and current-user SID; product={C9797E15-A318-48BF-95B8-1769AEBCA565} +2026-11-23T15:06:40.5291211Z Complete feature before local configuration=3 +2026-11-23T15:06:40.5403046Z Word add-in detected=1.0.0.45; expected=1.0.0.45 +2026-11-23T15:06:40.5413138Z Tray executable detected=1.0.0.45; expected=1.0.0.45 +2026-11-23T15:06:40.5437638Z MSI feature Complete state=3; required Local=3 +2026-11-23T15:06:48.1643766Z VSTO installer result=0 +2026-11-23T15:06:48.4974879Z Installed both components; Word restart verification still required. diff --git a/Docs/Writer/Unified-Manuscript-Focus-20261123.md b/Docs/Writer/Unified-Manuscript-Focus-20261123.md index 9dca8163..ab1ab43f 100644 --- a/Docs/Writer/Unified-Manuscript-Focus-20261123.md +++ b/Docs/Writer/Unified-Manuscript-Focus-20261123.md @@ -63,4 +63,4 @@ Older native installations do not advertise the new capability. They retain edit Deployment evidence: [Unified-Manuscript-Focus-Deployment-20261123.md](Unified-Manuscript-Focus-Deployment-20261123.md). -Windows follow-up: [.45 build, ribbon/Context reuse, Development deployment and pending physical installation](Unified-Manuscript-Focus-Windows-20261123.md). This records actual Office/VSTO build and package qualification; installed Word remains .44 pending the owner's safe save/close window. Portable/browser results do not replace the listed physical tests. +Windows follow-up: [.45 build, installation, loaded ribbon/Context reuse and remaining physical acceptance](Unified-Manuscript-Focus-Windows-20261123.md). The actual Office/VSTO build and package are qualified; .45 is installed and physically loaded. Basic Hold labels and Context reuse are verified on the disposable fixture; portable/browser results do not replace the outstanding mapped physical tests. diff --git a/Docs/Writer/Unified-Manuscript-Focus-Windows-20261123.md b/Docs/Writer/Unified-Manuscript-Focus-Windows-20261123.md index 86a53e1e..079624c7 100644 --- a/Docs/Writer/Unified-Manuscript-Focus-Windows-20261123.md +++ b/Docs/Writer/Unified-Manuscript-Focus-Windows-20261123.md @@ -1,8 +1,28 @@ # Unified manuscript focus — Windows .45 qualification -23 November 2026, Development only. **Implementation/build/package and matching Development server deployment are qualified; .45 is not yet installed or physically accepted.** The earlier as-is Phase 3B.4 latency sign-off does not qualify these new shared-focus behaviours. +23 November 2026, Development only. **.45 is installed and physically loaded in Word; installation, startup, ribbon labels and scoped Context opening/reuse are verified. Full mapped manuscript navigation acceptance remains incomplete.** The earlier as-is Phase 3B.4 latency sign-off does not qualify these new shared-focus behaviours. -## Installed-version audit and cause +## Installed follow-up — 15:06–15:16 UTC + +The user explicitly requested installation. The first attempt safely refused a still-running Word process before changing installation state. Word subsequently exited normally; no process was terminated. The retry completed with **Windows Installer result 0, VSTO installer result 0, current-user MSI context 2, Complete Local (3)** and the expected .45 ProductCode. Installed VSTO, agent EXE/DLL and deployment manifest hashes match the exact qualified `898a97f7` payload. The running agent and actual Word Troubleshooting both report **1.0.0.45**. + +Opened only the previously approved synthetic Small document. The ribbon physically shows one Context command, no Writing Intent, and Hold / Following. Clicking Hold produced Held / Release Hold; release returned Following. Companion's visual UI reports .45, the intended disposable book and a connected Word session; the browser confirms the existing authenticated Development heartbeat. Some native accessibility reads retained an old presentation while the screenshot showed current state; those stale reads were not treated as connection failures. + +The first live Context click exposed a missing-dependency case: with title-bar status hidden, the launch page had no `native-companion-status` control, so the existing presence initializer exited and launch remained at Checking. **Server/browser fix `d952eff042e50eaedbcf2f49de6dfe831c0aed39`** extends the existing hidden status-owner fallback to the native launch view. It adds no connection or polling mechanism. The regression now exercises the real production status initializer with the title-bar control absent; all six launch branches pass. The complete solution rebuilt with zero warnings/errors. Native package bytes remain unchanged, so another native installation is unnecessary. + +The fix was published/deployed through the same guarded Development procedure. Current release: `/srv/apps/plotdirector-dev/releases/native45-d952eff0-20261123T151412Z`; rollback: `/srv/apps/plotdirector-dev/current-before-native45-d952eff0-20261123T151412Z`. Published/deployed DLL and all five checked assets match; DLL SHA-256 `638e847139a4ba552bd0ced9781d3647b9793c76589991fb2a9ddf01765c4493`. Service active; local/public GET 200; public status asset hash matches. Production, schema and configuration remain untouched. + +Reloading the actual launch reached unified Context. A second physical Word ribbon click reused the **same Context tab**, closed its transient launcher and retained **Held**, **Side by side**, **Overview / Characters in Scene** panes. This verifies opening/reuse in the stated empty-book scope, not canonical passage following. The fixture has no accepted import/chapter mappings: Chapter/Scene remain unverified, and Companion reports chapter index unavailable. We did not fabricate precision or substitute author content. Bidirectional mapped navigation, multi-window following, caret/foreground preservation, saved-edit synchronisation and Audio Review remain unexecuted acceptance work. + +Restored the disposable Context window to Follow/Single pane, closed the test tab and closed Small normally without saving. Its saved file SHA-256 remains exactly `665912D57ECEF25E1F2A83FED94564C38171E0AB3ED1A981A6E8E5C140C032C8` (1821 words). No author manuscript was reopened, edited or saved. .44 and .43 rollback installers remain preserved. No AI-cost or user-installation revocation test ran. + +[Installation and UI evidence](Evidence/UnifiedManuscriptFocus/20261123T144457Z-windows-898a97f7/installed-followup.json) · [sanitized setup result](Evidence/UnifiedManuscriptFocus/20261123T144457Z-windows-898a97f7/installed-setup-result.txt) · [latest Development deployment](Evidence/UnifiedManuscriptFocus/20261123T144457Z-windows-898a97f7/development-launch-fix.json). + +![Installed ribbon on the synthetic Small document](Evidence/UnifiedManuscriptFocus/20261123T144457Z-windows-898a97f7/installed-ribbon.png) + +![Same Context window retained Held and side-by-side layout after reuse](Evidence/UnifiedManuscriptFocus/20261123T144457Z-windows-898a97f7/context-reused-held.jpg) + +## Pre-installation version audit and cause Physical Word Troubleshooting and Companion UI both report **1.0.0.44**. The running agent process and installed VSTO file also report .44; the installed VSTO SHA-256 remains `2EA47AE107454649E30DA813F976B0F4DBDDE689334E0BAA493BC9C3A3546998`, matching the earlier qualified package. Companion is authenticated to **https://dev.plotdirector.com/** under the existing approved account; the document heartbeat is verified. No sign-out, pairing reset or author association change occurred. @@ -64,14 +84,14 @@ The existing read-only Development guard verified the effective database and no Published/deployed DLL and changed assets match; DLL SHA-256 **`23057c108bf46ebbd17d8472536e539afcff5cd1cfb7757dd1ff43cab4628c0f`**. Existing `shared-manuscript-focus.js` remains byte-identical to the approved implementation. Service active; local/public GET 200; unauthenticated launch GET 302 to normal authentication; public launch asset SHA matches. No service error log entries appeared during the recorded post-start check. Authenticated reuse and Word behaviour still require the next physical run. Production remained untouched. -## Installation dependency and physical acceptance +## Initial installation dependency and remaining physical acceptance -**Installed/loaded components remain .44. The .45 installer has not been executed.** The user has requested installation, but five live Word sessions were reported, including existing author documents/drafts. The owner must safely save/close all Word documents before the interactive update. We did not save, close, edit or unlink author work. Once Word is closed, continue the approved normal installer workflow; any Windows security/elevation prompt requiring human interaction remains a handoff, not permission to bypass it. +**At the initial packaging checkpoint, installed/loaded components remained .44 and .45 had not been executed.** Five live Word sessions were reported, including existing author documents/drafts. The safe owner save/close window was required; it has now completed, followed by the successful installation above. We did not save, close, edit or unlink author work. -[All 24 outstanding physical cases](Evidence/UnifiedManuscriptFocus/20261123T144457Z-windows-898a97f7/physical-status.jsonl) are explicitly BLOCKED pending that installation and loaded-version verification. They cover bidirectional paragraph/chapter/scene navigation, scrolling/typing suppression, foreground/caret/selection preservation, independent Hold in two Word windows including the same document, same-origin Release, two Context windows and held data updates, Context reuse, explicit navigation, connection/agent/Word recovery, unsaved/unmapped/stale/busy states, rapid ordering, editing/saved-content integrity and Audio Review. No case is passed from source inspection or portable tests alone. +[The initial 24 physical case records](Evidence/UnifiedManuscriptFocus/20261123T144457Z-windows-898a97f7/physical-status.jsonl) retain their original blocked-at-installation checkpoint. The installed follow-up above supersedes that prerequisite status, without promoting basic label/opening checks to full mapped acceptance. The cases cover bidirectional paragraph/chapter/scene navigation, scrolling/typing suppression, foreground/caret/selection preservation, independent Hold in two Word windows including the same document, same-origin Release, two Context windows and held data updates, Context reuse, explicit navigation, connection/agent/Word recovery, unsaved/unmapped/stale/busy states, rapid ordering, editing/saved-content integrity and Audio Review. No case is passed from source inspection or portable tests alone. Use only the owned disposable acceptance project/books and neutral saved test documents. Recheck the current onboarding/import prerequisites; do not overwrite an existing author setup to seed a test. The previous fixture state and incomplete import were retained, not silently reset by this task. Stop dependent physical tests on wrong-window movement, stale completion, manuscript modification or mapping mismatch. Record actual Windows foreground, insertion/selection and saved/accepted distinctions, not just browser notifications. -No full success or renewed sign-off is claimed. The next step is the owner's normal save/close window, followed by installation, loaded/agent exact-version checks and the documented physical Word tests. +Installation and loaded-version verification are complete. No full shared-focus success or renewed sign-off is claimed: the remaining acceptance needs an accepted, verified disposable baseline and the documented mapped physical Word tests. [Qualification metadata](Evidence/UnifiedManuscriptFocus/20261123T144457Z-windows-898a97f7/qualification.json) · [regression results](Evidence/UnifiedManuscriptFocus/20261123T144457Z-windows-898a97f7/regressions.csv) · [payload](Evidence/UnifiedManuscriptFocus/20261123T144457Z-windows-898a97f7/payload.json) · [MSI/package](Evidence/UnifiedManuscriptFocus/20261123T144457Z-windows-898a97f7/package.json) · [Development deployment](Evidence/UnifiedManuscriptFocus/20261123T144457Z-windows-898a97f7/development.json).