PlotDirector/Docs/Writer/Unified-Manuscript-Focus-Deployment-20261123.md

6.4 KiB
Raw Blame History

Unified manuscript focus — Development deployment evidence

Final application commit: 3b1491f1a4f91a4118dc1efe366e9b1f50e987e6 (3b1491f). Branch: codex/word-companion-native-phase1-20261104.

Implementation commits: a85d6ed, d55206d, 3b1491f. Implementation report and exact Windows acceptance checklist.

Installed Development release

  • Installed UTC: 2026-11-23T14:16:58.954976+00:00.
  • Release: /srv/apps/plotdirector-dev/releases/shared-focus-complete-3b1491f-20261123T141655Z.
  • Previous live-directory backup: /srv/apps/plotdirector-dev/current-before-shared-focus-complete-3b1491f-20261123T141655Z.
  • Service: plotdirector-dev, verified active after final acceptance and cleanup.
  • Target: https://dev.plotdirector.com/ and PlotDirector_Development.
  • Published/deployed DLL and changed asset SHA-256 values matched. Deployed informational version contains 1.0.0+3b1491f1a4f91a4118dc1efe366e9b1f50e987e6.
  • Local and public GETs returned 200; public verification used normal TLS validation.
  • Queued/running import, Story Intelligence, synthesis and enrichment guards passed immediately before every service stop. Existing settings, uploads, logs and data-protection keys were preserved by the deployment procedure.

Migrations 314–317 were applied to the verified Development database. Both backups completed with COPY_ONLY/CHECKSUM and passed VERIFYONLY:

  • /var/opt/mssql/backup/shared-manuscript-focus-20261123T125506Z.bak
  • /var/opt/mssql/backup/shared-focus-boundary-20261123T134529Z.bak

Completed verification

  • Solution build: zero warnings/errors. Final application Release publish succeeded.
  • Application regression harness: 786 PASS, exit 0.
  • Portable native regression harness: 320 PASS, exit 0. This is managed/IPC coverage, not Windows COM/Word qualification.
  • Rollback-only shared-focus SQL checks passed, including authorisation, replay rejection, paragraph resolution, chapter-only/empty-chapter boundaries, endpoint precision and stale references. The existing six-phase narrative SQL and Dapper repository regressions also passed after updating the no-seeding/no-redirection expectations.
  • Sixteen simultaneous real SQL connections produced contiguous unique accepted revisions and the correct durable latest focus.
  • Real coordinator/SQL/native-queue integration passed Word-only publication, exact cross-chapter background delivery, passive suppression, Hold/release, failed receipts, unsaved state, session isolation, and renewed delivery identity after saved Word/snapshot revisions.
  • Actual loopback application restart passed with live authenticated browsers: shared focus persisted, SignalR reconnected, the held window stayed in place, and an offline structural change was detected without redirection.
  • Final public Development browser and installed standalone Chromium PWA suites passed against the deployed release. They used real authentication, controllers, SQL and SignalR. Coverage includes Review/Context without Word; scrolling local; deliberate paragraphs; chapter crossing; chapter-only and empty-chapter toolbar navigation; Context Previous/Next/Go; independent Hold; held local navigation; release without publication; refresh; new and duplicated windows; delayed/duplicate events; rapid intent; one active SignalR connection per Context window; split panes; responsive widths; and a previously cached hidden tab refreshed on activation.
  • A real earlier-scene relationship save refreshed both visible later-scene held panes. The resulting Story graph contained the new note, while the held position remained unchanged.
  • Structural archival tests passed: a held local reference remained explicit and recoverable; Release retained a valid local position when shared focus became invalid at the same revision; duplicate focus packets did not reverse authoritative invalidity. The synthetic missing-passage resolver check also verified that held Review did not navigate or retarget to a fallback paragraph.
  • Public authenticated HTTP smoke passed: scoped read, foreign-scope rejection, required antiforgery, anonymous challenge, ignored client revision and unchanged-publication suppression.
  • All committed synthetic fixture projects were archived after testing; transaction-only fixtures rolled back. The isolated loopback test host was stopped. No real manuscript or relationship was edited by acceptance testing.

Remaining Windows work and support limits

The updated Windows add-in/agent has not been installed or physically tested. This Linux host cannot build/load VSTO, verify actual Word event ordering, Windows foreground behavior or multiple monitors. Existing Windows installations need the updated package before shared-focus participation; the website now makes that requirement explicit. Their existing editing/synchronisation and explicit Word actions remain available.

The older Office.js task-pane host remains outside the new shared-focus client implementation. Precise native navigation requires fresh, saved, verified exact-session chapter positions. Explicit Open in Word controls remain until the replacement has physical qualification. Follow the Windows checklist in the implementation report; browser or portable native results must not be reported as physical Word acceptance.

Installed hashes

File SHA-256
PlotLine.dll 281c2e8d3329c691b7ed1b8e3ab78d3a7869ecac8071a45f500c4e8cfb14a09b
wwwroot/css/application-shell.css 17b5178477c108aba21dded63253621ab1e00baeceda86f6d145f6e80859dfb5
wwwroot/js/shared-manuscript-focus.js b7786cbe7936f7ad1d0573765e1d2deadbaff1d04f0ec550fc3ba284391edc94
wwwroot/js/context-workspace.js 3ed08ef2f7a23c89e7c1283fae92a29632501e64a3ee0e7a557f48a24fc4c50e
wwwroot/js/narrative-focus.js 2c75d700cb2f09fb6f9ed4b85d1fd35c98393ac1ffd01a92376b43d19fa0cb6d
wwwroot/js/narrative-focus-review.js 101fa5586bb8866c395feaa85242eb7224d96d88b65effc9fd9ccdcce0652fd2
wwwroot/js/narrative-focus-workspaces.js 72c52c6408d68fb0827cf48aaf6277c7d43e90abfa0028c0f591fe6cc8cd92e2
wwwroot/js/manuscript-reader.js 490af79adfdb3dd02a40e4b71acdccec98f40b0cf12c4c63bccd9b76de3863e3
wwwroot/js/writer-review.js f5fd829a4db72e8b33c16c85caf592ecc90ba0fc22259fa3cb43323d56e44294
wwwroot/js/writer-word.js 8324bfd5eef873926a2069aed37e838512a8c3657775a05aaf02ac659f1be592
wwwroot/js/native-companion-status.js 43f2967f9d7cd45fa1bc2bd944991abc04ebd53ffda808a6e7c9b39f2940ef91