Record qualified .46 installer, Development deployment and physical acceptance boundary
This commit is contained in:
parent
8c2d2180f7
commit
5c45cd7554
51
Docs/Writer/Unified-Manuscript-Focus-Reliability-20261123.md
Normal file
51
Docs/Writer/Unified-Manuscript-Focus-Reliability-20261123.md
Normal file
@ -0,0 +1,51 @@
|
||||
# Shared focus reliability corrective release .46
|
||||
|
||||
23 November 2026. Development only, existing shared branch. Application/native source: `8c2d2180f7e338649cc5d508856e18dca4763852` (implementation `8a719dae`, connection callback coalescing `671a16bd`, VSTO version alignment `8c2d2180`). **Build/package qualified; .46 installation and physical acceptance remain outstanding.** The user requested the installer in Downloads for their own installation/testing and requested release of computer control. No further desktop interaction was performed.
|
||||
|
||||
## Root causes and correction
|
||||
|
||||
- **Word publication, reproduced physically with installed/loaded .45:** on a verified Development manuscript, Navigation-pane Chapter 18 followed by a paragraph click changed the reported cursor from 299026 to 299134 and resolved chapter 11176 / scene 9123. The server received saved, Following observations, but their deliberate-navigation sequence remained **zero**. No publication or authoritative revision advance followed. The previous physical Chapter 20 trial showed the same failure. Ribbon Chapter/Scene changes were not counted as publication. The add-in sampled `GetAsyncKeyState` in the later selection callback, losing already-released input.
|
||||
- **Implemented native correction:** one thread-local Word `WH_GETMESSAGE` hook latches navigation input before Office processes it. Navigation-pane input requires a selection callback; a manuscript click can publish even at an unchanged editing caret after a remote reveal. Capture remains on the existing coalesced Word STA scheduler and IPC path. Typing, wheel scrolling, remote navigation and Hold clear pending intent. Input is consumed once, correlated to the actual Word window and expires rather than leaking into passive observations. Existing application event subscriptions remain attached once until adapter disposal; the hook is similarly installed/uninstalled once. No global hook, extra timer, transport or content scan was added.
|
||||
- **Startup race, established in source and deterministic browser regression:** the client fetched before its existing presence connection joined, while the first successful ready callback returned early because that connection was already wired. A change in that gap could be missed until activation or refresh. The corrected client registers handlers once, waits for connection readiness, then reads authoritative state; first join and reconnect both reconcile by server revision. Reads coalesce; old-scope/old-transport reads are aborted and cannot overwrite a newer notification. Context's own ready event and reconnect callback coalesce for the same connection. Held windows retain local position, and Release reads the latest focus without publishing the held reference.
|
||||
- **Presentation:** Word's separate State field is removed. Word, Review and Context expose one Hold / Release Hold toggle with pressed state and unavailable tooltip/disabled state. Web controls have a fixed 120px footprint; routine adjacent status descriptions are removed. Meaningful shared-focus failures use the existing toast mechanism and the connection-details status area. Other connection/synchronisation controls and Context panes remain intact. Actual Office layout stability and accessibility still require physical acceptance.
|
||||
|
||||
Canonical mapping, saved-state freshness, exact document/session identity, existing stored procedures, native command identities and acknowledgement gates are retained. This release does not relax mapping checks or invent fallback paragraph IDs. Highest-precision mapping behaviour beyond the existing verified resolver remains a physical acceptance item.
|
||||
|
||||
## Diagnostics and automated verification
|
||||
|
||||
Opt-in diagnostics are off by default. The account/book-scoped Development diagnostics endpoint retains at most 128 metadata-only events for ten minutes, with at most 32 scopes. It records native observation, resolution, publication outcome/revision and SignalR group dispatch. Explicit `focusDiagnostics=1` enables a bounded client reconciliation/connection trace. Neither trace records prose, credentials or tokens. The baseline server trace was explicitly disabled after reproduction.
|
||||
|
||||
- Complete Release solution build and actual Windows Office/VSTO build: **zero warnings/errors** on the final retry.
|
||||
- Established native build/signing pipeline: **385 PASS** across its native and focused application checks; exact .46 package produced.
|
||||
- Complete application executable regression harness: **797 PASS**, exit 0.
|
||||
- New native focus tests cover queued input, selection confirmation, unchanged-caret clicks, single consumption, typing/remote suppression, subsequent genuine clicks, expiry, window isolation and Hold/release; the existing native focus tests remain.
|
||||
- New production-asset browser regression passes first join, duplicate ready events, notification/read ordering, transport read cancellation, held recovery, keyboard Release, no Release publication, concise labels and removed adjacent State controls.
|
||||
- Existing six-branch Context launch suite passes. Word ribbon verification, Word incident lifecycle and browser navigation-acknowledgement suites pass with the loopback host's absent shared-focus endpoint replaced by an empty scoped focus snapshot. This mock is confined to those unrelated native-UI suites; it is not live shared-focus/SQL/Word evidence. Their initial unmodified run exposed the host's unregistered `SharedManuscriptFocus` service and a resulting extra warning toast. The legacy Context foundation suite also failed at its same-scene invalidation fixture; it has not been claimed as passing or repaired by bypassing that assertion.
|
||||
|
||||
The first packaging attempt correctly rejected a stale .45 VSTO AssemblyInfo despite .46 deployment metadata. Assembly/file versions were corrected, then the entire native qualification pipeline reran. An intermediate retry encountered a DLL lock from the agent's own loopback fixture host; that host was stopped and the final clean retry passed. No Word/agent process was terminated for these build failures.
|
||||
|
||||
## Qualified installer and rollback
|
||||
|
||||
- Installer: `C:\Users\Nick\Downloads\PlotDirectorCompanionSetup-1.0.0.46.exe`.
|
||||
- Full package: `C:\Users\Nick\Downloads\PlotDirectorCompanion-1.0.0.46-8c2d2180`.
|
||||
- Native payload: `C:\Users\Nick\Downloads\PlotDirectorWordCompanion\1.0.0.46-8c2d2180`.
|
||||
- Native version **1.0.0.46**; MSI **1.0.46**, ProductCode `{BEEA290D-63A3-48EF-A8C9-753B9FBA92DA}`; established UpgradeCode retained.
|
||||
- Setup SHA-256: `66012856E230F9762158F534426DA23B8B1FFE62AB24A025F04F09F841641255`.
|
||||
- MSI SHA-256: `2B4015C33C2ED1A196F17C8D9544880628AF27098E8ADEE3AED3B226F8664847`.
|
||||
- **162 setup assertions pass**, including upgrade compatibility against the verified .45 MSI, extracted package contents and metadata. Both VSTO manifests passed mage verification.
|
||||
- EXE/MSI signed with existing developer certificate `4F3EE0D52D2C60214FB1F81DF6E479820A16487F`. Windows reports `UnknownError` specifically because its certificate chain terminates in an untrusted root, as for the prior developer package. This is not a claim of publicly trusted Authenticode. No trust-store/security change was made.
|
||||
- Verified .45 rollback EXE/MSI copied into the private .46 qualification directory without changing their original package. Hashes remain `078426DAFA20FEF54C3C0E11E18DCAE0D766E6D39871DCABCC16BAE4F201D7A1` and `F1FB8D82643540561F8B1A1C90132E1F999C9B1CB0D67BC5468A580DC3CD0A08`. Existing .44/.43 rollbacks remain preserved.
|
||||
|
||||
Private build, package, diagnostics and regression logs are under the directory identified by `%LOCALAPPDATA%\PlotDirectorQualification\shared-focus46-current.txt`. Raw manuscript screenshots and author content are not committed.
|
||||
|
||||
## Development deployment
|
||||
|
||||
The matching web release `8c2d2180f7e338649cc5d508856e18dca4763852` was deployed at **16:54:54 UTC** to `/srv/apps/plotdirector-dev/releases/focus46-8c2d2180-20261123T165447Z`. Rollback: `/srv/apps/plotdirector-dev/current-before-focus46-8c2d2180-20261123T165447Z`. The existing active-import/analysis guard passed immediately before the Development service restart. Settings, uploads and application data were preserved. No SQL was applied.
|
||||
|
||||
Published/deployed DLL and changed JS/CSS hashes match. DLL SHA-256: `0dff0170e493f613b13af7244d0133ffb67b8a3fbd5c26e4de625ab2a9ae8083`; shared-focus JS: `e62c4810dc342b28375fe8a7584d3cc521a73aef069c7dd04506c08e81329e24`. The service is active; public HTTPS GET returned **200** after startup (the first request during startup returned 502). Full hash evidence is in the private qualification directory's `development46.json`. This deployment smoke is not authenticated browser/Word acceptance.
|
||||
|
||||
## Acceptance boundary
|
||||
|
||||
**Implemented and automatically tested:** the corrections above. **Physically verified:** .45 failure reproduction and existing .45 baseline only. **Not verified:** loaded .46, actual Word publication/canonical landing, three-way navigation, independent Hold/release after restart, no-F5 startup/recovery, real transport interruption, multiple windows/documents, Office toggle footprint/accessibility, PWA recovery, Audio Review and synchronisation under .46. No full shared-focus acceptance or Phase 3B.4 sign-off is claimed.
|
||||
|
||||
No database changes/migrations/stored-procedure changes or new configuration requirements. Production and real manuscript content/relationships/story/investigation data were not modified.
|
||||
@ -1,5 +1,9 @@
|
||||
# Unified manuscript focus — Windows .45 qualification
|
||||
|
||||
## .46 corrective package follow-up
|
||||
|
||||
The [shared-focus reliability report](Unified-Manuscript-Focus-Reliability-20261123.md) records the reproduced .45 publication failure, .46 corrections, qualified installer in Downloads and outstanding physical acceptance. **.46 has not been installed or physically accepted by the agent.** The .45 evidence below remains the installed baseline; build/package success does not supersede it.
|
||||
|
||||
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 follow-up — 15:06–15:16 UTC
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user