Record cursor regression deployment, protocol evidence and Windows qualification

This commit is contained in:
Nick Beckley 2026-11-09 09:21:39 +00:00
parent 7ce96acd94
commit 1ffd3fcf54

View File

@ -36,13 +36,42 @@ Native source is prepared as **1.0.0.22**. Existing unified installer metadata h
## Verification and deployment
Final build, browser/protocol results, deployed revision and cleanup are recorded below after rollout. No database migration is required. Deployment uses the existing idle-work guard and preserves configuration, uploads, keys and the previous application release. Production is untouched.
Application/native source commit: **`7ce96acd94cb5a9b09b0b7604a5a67239bf66b55`**, pushed to the same shared branch.
- `dotnet build PlotLine.slnx --no-restore --disable-build-servers -m:1 /p:UseSharedCompilation=false`: passed with zero warnings/errors. A clean nonincremental build was also used when validating signature changes.
- Full executable application regression harness: **455 PASS**.
- `--writing-context-navigation`: **30 PASS**, including passive observations, one-shot correlated delivery, duplicate replay after acknowledgement, changed-target identity rejection, stale mapping/session/revision/saved-state protection and authorised diagnostic reads.
- Portable native executable: **271 checks passed**. Linux pipes/scheduler/protocol only; excludes VSTO/Word execution.
- Browser suites `writing-context-follow-recovery`, `writing-context-navigation`, `writing-context-shell`, `writing-context-components`, `writing-context-scale`, `word-companion-regressions`, `writing-desks`, `native-companion-workspace`: passed. Wide/narrow/four-theme layouts, tab preservation, cross-chapter changes, no passive browser/control focus, transient failure and lost-invalidation recovery, explicit trusted events, no feedback, new-view preservation and strict fragment validation.
- Running the recovery reproduction with scripts fetched from Development before rollout failed on the native/legacy race. The **same test with deployed corrected scripts passed**. Its controlled event interleavings are simulated browser tests.
### Actual Development rollout and protocol test
Deployed **7ce96ac** at **09:17 UTC, 9 November 2026**. Release `/srv/apps/plotdirector-dev/releases/7ce96ac-20261109T091737Z`; previous physical installation preserved at `current-before-7ce96ac-20261109T091737Z`. Published/running DLL SHA-256 matches: `d099c8b20de01c8de3a717de19c66dad5c324a32c645b8e3437d87b87a4640a4`. Service active, public TLS-validated and local GET both 200; no startup warnings/errors.
The normal guard passed immediately before restart: no active imports, Story Intelligence, synthesis, enrichment or marker work. No database migration or feature flag. No author process was restarted/reset.
The actual deployed `writing-context-development.cjs` passed using normal browser login, approved persistent pairing and bearer presence against a disposable account/book with an existing two-chapter/six-paragraph snapshot:
1. Native cursor changes crossed chapters twice and updated the real compiled Context fragments, preserving People, without a navigation command.
2. Repeated passive presence observations issued no selection commands.
3. A genuine keyboard scene selection issued one correlated command at the exact persisted Word position. The native protocol client received that ID once.
4. Cursor acknowledgement produced no feedback navigation. Replaying the same accepted POST after delivery returned idempotently and delivered **no** additional command.
5. Stale revision was refused; disconnected saved browsing and reconnect precedence passed; authentication, antiforgery and revocation passed.
6. The fixture snapshot hash, revision and six exact paragraph-position rows were unchanged. The real book 10152's revision, original session and 8,457/8,366 position counts remained unchanged on a final read-only inspection.
Server trace demonstrated passive observations at sequences 1, 2, 3 and repeated beats; one navigation ID `26560597-6869-4f10-b8ab-bce44afe3a84` delivered once at synthetic position 84. The endpoint's existing `Explicit Context navigation queued` line also appears for an idempotently accepted replay; **count unique IDs and actual `Deliver explicit Word navigation` records, not endpoint acceptance lines**, when distinguishing replay from execution. Native diagnostics in the new Windows source report actual executed IDs separately.
Synthetic installation revoked. Normal account/project deletion removed the test book/snapshot. As in the preceding sprint, final account deletion required a guarded removal of only its orphaned `UserOnboardingState` row before normal cleanup could finish; no author rows or unrelated cleanup implementation changed. Private credentials deleted.
This is a **real Development protocol/browser test**, not proof of Windows caret behaviour or Word `Range.Select()` execution. The exact reason this morning's native refresh captures failed remains unavailable from the pre-existing server logs; do not describe safe refusal of their stale map as restored live mapping for the author's current session. The new diagnostics distinguish that state, and a successful existing synchronisation/native qualification remains required for that session.
No database migration is required. Deployment uses the existing idle-work guard and preserves configuration, uploads, keys and the previous application release. Production is untouched.
## Windows qualification / handover
Use the same shared branch `codex/word-companion-native-phase1-20261104`; inspect/preserve the worktree, discover its tracking remote, fetch and fast-forward safely. Do not use desktop automation, launch Word or install unattended while the user is working.
1. Check the final Atlas code commit recorded below is an ancestor of HEAD. Build through the existing `PlotDirector.NativeCompanion/WindowsValidation/Update-WordCompanion.ps1`; it prepares the managed/VSTO package and does not install. Use the existing signing certificate. No IDE/installer repair, private profile or alternate installation mechanism.
1. Check `7ce96acd94cb5a9b09b0b7604a5a67239bf66b55` is an ancestor of HEAD. Build through the existing `PlotDirector.NativeCompanion/WindowsValidation/Update-WordCompanion.ps1`; it prepares the managed/VSTO package and does not install. Use the existing signing certificate. No IDE/installer repair, private profile or alternate installation mechanism.
2. Build the existing unified installer with `PlotDirector.NativeCompanion/WindowsValidation/Setup/Build-Setup.ps1 -PackagePath <exact verified package directory printed by Update> -CertificateThumbprint <existing certificate> -ExpectedSourceCommit <full current commit SHA>`. Do not guess an output path or install switch. Verify application **1.0.0.22**, MSI **1.0.22**, payload/signatures and upgrade from the user's actual installed 1.0.0.21 in the normal Windows user environment. Preserve pairing, server settings and associations. Installation remains a separately scheduled user action using that unified installer.
3. In an author-owned disposable Word/test book, save and use the existing **Synchronise from Word** if the UI reports a reopened/changed position map. This verifies current positions through the established workflow; do not manually rewrite IDs, adopt an arbitrary session or rerun a real manuscript import.
4. With Context closed, leave Word idle for 60 seconds, scroll, select text and type continuously. Record whether flashing remains. Troubleshooting's navigation execution count must remain unchanged, and the server must show observations with **no** queued/delivered `navigate`. This tests the ribbon-invalidation candidate; do not declare the cause proven before this comparison.