diff --git a/Docs/WordCompanion/2026-11-07-development-paragraph-sync.md b/Docs/WordCompanion/2026-11-07-development-paragraph-sync.md index 7e7305d7..fbfcd7d3 100644 --- a/Docs/WordCompanion/2026-11-07-development-paragraph-sync.md +++ b/Docs/WordCompanion/2026-11-07-development-paragraph-sync.md @@ -34,3 +34,26 @@ Forward migrations **240_ParagraphManuscripts.sql** and **241_ParagraphRecovery. - Real Word COM/cursor/save responsiveness remains for the author's Windows test. Atlas did not package, install or drive Word. Deployment and authenticated running-site results are appended after rollout. The application commit is the parent of the final deployment-evidence commit on the shared branch. + +## Actual Development deployment evidence + +Application commit **5021586c9f6a7b3ef9c8f130e3138ca96440ea7b** was pushed and deployed to `https://dev.plotdirector.com/`. Release: `/srv/apps/plotdirector-dev/releases/5021586-20261107T223620Z`; previous application preserved in the matching `current-before-5021586-20261107T223620Z` directory. The published and deployed DLL SHA-256 both equal `75ef095f9805642daaa19d00e04e6f10aad2b09b5129e512049e4729cd60ea6a`. The service is active; public HTTPS and local GET both returned 200. Recent warning/error journal inspection was empty. + +Before migration: `PlotDirector_Development_before_paragraph_240_241_20261107-223500.bak`, SQL container path `/var/opt/mssql/backup/`, 159,543,296 bytes; COPY_ONLY/CHECKSUM and RESTORE VERIFYONLY succeeded. Migrations **240 and 241 applied successfully to PlotDirector_Development** using the application's database principal; required tables, recovery export/restore hooks and procedures were subsequently checked. The pre-existing feature is enabled in the Development service environment, with its prior environment file preserved. Production was not accessed. + +The activity check passed immediately before migration and service replacement: no queued/running Story Intelligence, synthesis/enrichment, core import/marker or active SQL import work. This rollout did not interrupt an active import. + +Authenticated browser testing against the actual deployed HTTPS site used a dedicated temporary account and synthetic book: + +- Validated and explicitly confirmed a selective **2.1/1.5** backup restore through the normal wizard; opened its saved paragraph/evidence workspace from **Book details**. +- The comprehensive synthetic fixture initially failed safely on unavailable test vocabulary, with no mutation; only the test file was adapted to existing Development vocabulary. No application validation or database vocabulary was weakened/changed. +- Opened Context and Intent and verified their visible current-scene status element; normal onboarding route rendered. +- Used normal browser approval and bearer authentication to register a synthetic 1.0.0.18-compatible document, explicitly request a snapshot, post original paragraphs and receive the exact canonical GUID sequence. +- Subsequent cursor-presence requests resolved distinct saved scene IDs. A newer unsynchronized Word revision and a Word-unavailable update returned no scene, preventing stale live context. +- Executed scene merge then undo through authenticated antiforgery-protected workspace forms; both completed successfully. + +Browser evidence: `/tmp/pd-paragraph-deployed-browser.log` and `/tmp/pd-paragraph-development-workspace.png`. SQL recovery tests ran in the existing guarded synthetic database, not a new environment. The temporary Development account/project/files were removed through the normal account deletion workflow after testing. + +### Windows acceptance still required + +With the installed **1.0.0.18** Companion, start a **fresh** normal Word import; finish existing chapter/scene detection and any normal location/character review stages. Individual scene approval is not required. Check the structure workspace contains paragraphs immediately. Open Context/Intent, enable following for the intended document, move between scenes, save a small author-owned test edit and confirm synchronization/scene mapping. Exercise split/boundary/merge/undo and download/restore a test backup. Use a disposable book for these edits, not a primary manuscript. Real Word event delivery, COM responsiveness and laptop reconnect/save behaviour cannot be established by Atlas HTTP/browser tests. No additional native build is required by this server-only completion.