8.6 KiB
Overnight Development handover — 5–6 November 2026
Shared branch: codex/word-companion-native-phase1-20261104. Started by fetching the configured origin and fast-forwarding to Windows handover 97f5d99. No Production deployment, author-account changes or Windows installation operations.
Workstreams
| Workstream | Delivered | Commits / qualification | Limits |
|---|---|---|---|
| Word AI review → import | Browser-approved optional encrypted source capture; approved scenes only; target-book preview; explicit confirmation; canonical manuscript build and source/summary services; atomic receipt; retries; incremental new-chapter append | bf515d2 and final integration commit; service and actual authenticated HTTP tests; Development SQL fixtures |
Existing chapters are never overwritten. Changed/overlapping imports and title matches conflict rather than reconcile. A real author must qualify the complete workflow in Word. |
| Context / Intent | Independent saved-scene picker; live-follow/manual pause/return; minimal embedded writing layout; existing calendar, Story Maps, floor-plan, relationship and plot-line navigation; saved Intent progress | 15ea2ba plus theme inheritance integration; browser live/manual/pinned/stale-response tests |
No invented AI fulfilment scores. No automatic map centring without a reliable saved mapping. Imported-position follow requires updated tray and exact observed revision; marker-based follow remains available. |
| Plot Lines | Existing Focus/Weave enriched with intersection/health summary, intersection-only filter, combined text filtering and next-intersection navigation | caeb90b; actual Razor browser Focus/Weave/association/theme regressions |
Existing suggestions and author confirmation retained; no new AI engine or silent membership changes. |
| Continuity | Severity/rule/entity evidence clusters, active/decided filter, search, expand/collapse and clear detection timestamps | b8bb089; pure grouping and real browser interaction tests |
Related evidence is not asserted to share a root cause. Existing actions retained; no new persisted Deferred/Resolved states. Detection time is not proof prose was rechecked. |
| Onboarding / release | Browser-first first-book guide and honest Companion installation availability; Home/Help links; public theme/account behaviour checked | b8bb089; actual Help routing and public-site browser tests |
Verified installer exists only on Windows; no fabricated public download. No live payment/subscription mutation performed. |
Import operation and consent
The browser pairing approval offers an unchecked encrypted import-capture permission. Legacy grants default to false. This works with tested Windows agent 1.0.0.10: sign out/reconnect, approve capture in the browser, select the correct book, explicitly submit the selected chapters again. Identical persisted AI results are reused; review decisions survive, and source capture does not incur another AI request. Existing agent caches may require reconnecting/restarting before resubmission.
Encrypted selected-chapter source is retained with the existing 30-day review lifecycle, protected by server Data Protection. Confirmed import becomes ordinary saved book data. Keep the existing server Data Protection keys backed up. Logs contain neither manuscript prose nor tokens.
In the browser workspace, edit titles/summaries and save approved/rejected decisions, select reviews, preview the exact proposed chapter/scene structure and destination, then confirm. Pending/rejected scenes are excluded, explicitly disclosed. The transaction rechecks authorisation, subscription, review version, source identity/hash and duplicates. It uses dbo.Onboarding_ManuscriptBuild_Create, then existing source and summary procedures. A receipt is returned only after all source writes commit. No Word prose or markers are changed; marker status is NotRequestedNative.
New chapters append in capture order. Existing relationships and metadata remain untouched. Changed existing imports require a subsequent explicit reconciliation feature. Successful AI chapter results persist; failed chapters are retried explicitly. The tray reports processed/failed/import-ready counts separately.
Position and multi-screen safety
Optional tray 1.0.0.11 sends the already available selection start, without additional Word COM operations. The server resolves only saved imported absolute ranges for the same authorised book, persistent document identity, captured live session and observed revision. Scene/chapter changes invalidate the browser workspace; cursor heartbeats do not continuously rebuild it. After an observed edit, unmatched ranges are refused rather than guessed. This is not durable bookmark installation: reopened sessions are refused (SQL regression checked); same-length dirty edits still require Windows qualification; manual scene choice and existing markers remain the safer fallback. Chapter-relative paragraph indices are not saved as whole-document Word positions.
Database and deployment
Development-only forward migrations: 232_NativeApprovedImport.sql, 233_NativeImportedPositions.sql, 234_NativeImportedSessionGuard.sql. Both applied after verified COPY_ONLY/CHECKSUM backups:
/var/opt/mssql/backups/PlotDirector_Development-overnight-20261105T225822.bak/var/opt/mssql/backups/PlotDirector_Development-overnight-position-20261105T232027.bak/var/opt/mssql/backups/PlotDirector_Development-overnight-session-20261105T234600.bak
SQL regression fixtures run inside rollback transactions. Tests cover initial import, exact source/summary, duplicate retry, ordered append, stale revision refusal, and failure after canonical build maps were emitted. Failure leaves no chapter, scene, receipt or fixture behind. No real manuscript import was executed by this sprint.
Final Development deployment evidence and final regression counts are recorded in the companion verification note. Existing environment configuration, uploads, Data Protection and logs are preserved. Production unchanged.
Windows handover and installer preservation
WindowsValidation/Setup remains byte-for-byte unchanged from 97f5d99. Its builder intentionally pins the Windows-qualified 1.0.0.10 payload/source 6cdb49c; do not edit that guard to make an unqualified package appear approved. The Windows handover records installer SHA256 9526E3781EB2EF9936132786E1E2242633349933A553E93E7A7D0B038160A7FF. Atlas does not possess that artifact, so Help does not offer a fake URL or expose a developer path.
Native sources are version 1.0.0.11, for richer import-ready reporting and optional imported cursor mapping. Linux builds include the Windows-targeted managed tray; they do not execute Word/VSTO or qualify an installer upgrade. The VSTO Word adapter implementation remains unchanged from the Windows baseline; version metadata alone advances. Windows Codex owns packaging and upgrade qualification through the existing scripts; no second installer/update mechanism was introduced.
Ready for user testing
- With existing installed Companion10, reconnect with capture consent; submit one chapter, approve some scenes, preview then confirm; repeat confirmation and verify no duplicates. Test a second new chapter and a changed existing chapter conflict. Check saved exact prose, summaries and existing metadata.
- Open Context and Intent in separate windows; choose scenes independently without Word; pause and resume follow, switch books/documents, disconnect and verify no stale scene takes over. Try tool links and theme changes.
- Use Plot Lines intersection filter/search/next; use continuity clusters and active/decided filters; ensure saved decisions remain unchanged until an explicit action.
Release recommendation and next actions
Development is suitable for bounded author testing, not public-release qualification. Three next actions:
- Qualify the real Word → chapter AI → approved import → saved story-data journey with an author-owned test book, including cancellation/retry and existing-content conflict cases.
- Windows Codex qualifies tray11, three documents, typing/saving under load, reconnect/revision safety, then builds and upgrade-tests through the preserved installer workflow.
- Obtain a distributable signed installer artifact, complete download/release gates and real-manuscript/access/subscription acceptance. Decide explicit existing-chapter reconciliation and evidence-backed Intent fulfilment as subsequent work.
No live provider billing, public account creation, Stripe upgrade/downgrade, full existing-manuscript reconciliation, native Word performance or public installer upgrade was proved by Linux fixtures.