4.4 KiB
Phase 3.5: integration qualification (developer version 1.0.0.6)
Use the existing update/build and explicit install workflow. The branch and scripts are unchanged; preparation does not alter the installed add-in. No additional installer or Windows profile is needed.
# In the existing clean repository on the shared branch:
git pull --ff-only origin codex/word-companion-native-phase1-20261104
& .\PlotDirector.NativeCompanion\WindowsValidation\Update-WordCompanion.ps1
# Close Word normally, then use the package path printed above:
& .\PlotDirector.NativeCompanion\WindowsValidation\Install-WordCompanion.ps1 -PackagePath '<printed package path>' -StopAgent
Do not install if update/build/tests/package verification fail. Existing rollback uses the same Install script with -Rollback -StopAgent. Neither script launches or repairs Visual Studio. Atlas has not built or run the Office host.
Tonight's acceptance checks
- Record Git SHA, version 1.0.0.6, Office build/bitness and Windows scaling. Confirm ribbon has one Analyse action, separate connection/scope text and a useful disabled Cancel state. Open review; resize at 100/150/200% DPI. Check long titles, inspector, pagination, chapter collapse/expansion and no clipped actions.
- Connect with the Development HTTPS site root and approve in the normal browser. Check connection explains server/auth/book/AI separately. AI
configuredmeans configuration/entitlement checked, not provider health. Use Check connection after failures or the 90-second verification freshness window. Automatic checks are rate-limited to two minutes; expiry is also enforced locally and by the server. - Open three manuscripts and select a different authorised book in each. Switch repeatedly. Book, Context, Intent, preview and selected rows must remain scoped to that document. Sign-out/agent restart must invalidate old authenticated data and require re-selection after sign-in.
- Detect structure remains local and does not upload prose. Check chapter/scene rows across result pages. AI: analyse checked chapters uploads only explicitly confirmed chapters; source labels distinguish local/existing/AI. Double-click mapped suggestions; document prose must remain unchanged.
- Context/Intent tabs show saved PlotDirector summaries/goals, not AI-generated state. Saved markers resolve only within the selected authorised book. No marker means book-level empty/summary state. Full browser Context/Intent opens a pinned snapshot, with manual navigation and no automatic save. Existing ordinary browser windows must continue following the legacy live Word connection independently.
- Check a parent chapter and its desired scenes, then Preview selected import. This explicitly uploads metadata (titles/positions), not prose. It validates via the existing importer and reports selected/existing counts, conflicts and duplicate/overlap/orphan errors. Created: 0, Replaced: 0 is intentional. Cancel during loading; late results must not restore the cancelled preview. Save/switch books during preview and verify stale results do not appear.
- Continue in PlotDirector opens the selected book's existing workflow. Native choices are not transferred; native commit is unavailable. Do not treat this as a completed manuscript import. The canonical onboarding/import remains responsible for prose, persistent bindings, marker/save acknowledgement and resumable recovery.
- Disconnect network, use Check connection, restore it and recheck. No stale green/authenticated claim should remain. Terminate/restart only the Companion agent; Word typing/scroll/save/close must keep working and other documents must never receive stale results.
- Repeat with 190k/250k fixtures, repeated text, many short paragraphs, rapid cursor movement, continuous typing and save/close during pending extraction/AI. Use the existing measurement procedure. Record timings/CPU/memory/queues; portable tests do not prove real Word responsiveness.
No native SignalR redesign, prose synchronisation, automatic imports or server-to-Word text writing is included. Results still describe a captured snapshot; the existing same-length-edit detection limitation requires explicit re-detection after editing. Cross-page selection is bounded to 80 rows for a preview batch, retained per document; split larger selections. Successful AI results remain reviewable after individual chapter failures.