91 lines
12 KiB
Markdown
91 lines
12 KiB
Markdown
# Writer 3.0 Phase 2A completion report
|
||
|
||
16 November 2026. Implemented, pushed and deployed to **Development only**. Phase2B has not begun.
|
||
|
||
Application commit: `f96259a378f22dd80075676be34ea5e269ae091f` on `codex/word-companion-native-phase1-20261104`. Baseline `5d18f6c`; Phase1 application baseline `c769e11`. This report/evidence is a subsequent documentation commit; the deployed application source remains f96259a.
|
||
|
||
## Delivered behavior and visual direction
|
||
|
||
Writer now opens a quiet Home with book cover (or a monogram when no cover exists), book title, Companion connection indication and three equal cards: Continue Writing, Explore Your Story and Writing Dashboard. Continue Writing shows the saved objective when available; an empty book has a real starting action. Home has no secondary dashboard stack. The supplied six-screen mockup guided the compact dark panels, restrained gold accents and clear screen purposes. All four existing themes remain selectable; the existing PlotDirector typography, icons, shell and ribbon are retained.
|
||
|
||
Write, Explore, Plan, Review and Reflect have consistent book/title/purpose headers, a main working region and a smaller tools/reference region. Desktop regions can scroll independently and receive keyboard focus; narrow screens use normal document flow. Dashboard is an overview of Plan and Reflect, with recorded data rather than generated insights. The shell does not include a draggable divider or integrated Context/Intent panels.
|
||
|
||
[Home screenshot](Evidence/Phase2A/Home-Development.png) · [Write](Evidence/Phase2A/Write-Development.png) · [Explore](Evidence/Phase2A/Explore-Development.png) · [Plan](Evidence/Phase2A/Plan-Development.png) · [Review](Evidence/Phase2A/Review-Development.png) · [Reflect](Evidence/Phase2A/Reflect-Development.png) · [Dashboard](Evidence/Phase2A/Dashboard-Development.png). These screenshots use a disposable synthetic author/book on Development; no manuscript example is production logic. Screenshots capture transient hover/Companion polling states.
|
||
|
||
## Routes, views and ribbon
|
||
|
||
| Route | Result / preserved entry points |
|
||
|---|---|
|
||
| `/Writer`, `/Writer/Index` | Three-choice Home in `Index.cshtml`; legacy query parameters still dispatch to the matching surface |
|
||
| `/Writer/Write` | Saved focus, existing objective form/session toolbar, chapters/scenes, standalone Context/Intent launchers |
|
||
| `/Writer/Explore` | Problem Solver, story/Timeline, Characters, Relationships, Plot Lines, Maps, Floor Plans and Metrics; no scene, plan or linked Word document required |
|
||
| `/Writer/Plan` | Existing writing plans, setup, scoped preview and actual upcoming activities |
|
||
| `/Writer/Review` | Accepted-text Manuscript Reader, focused reading, Audio Review instructions, Intent/evidence and revision workspace |
|
||
| `/Writer/Reflect` | Retained writing evidence, Journey and owner-private reports/export/privacy; future process insights explicitly forthcoming |
|
||
| `/Writer/Dashboard` | Compact real progress and planning overview |
|
||
| `/Writer/Overview` | Complete former Overview preserved in `Legacy.cshtml`, including Help Me, queues, sessions, recent activity and display controls |
|
||
| `/Writer/Workspaces`, `/Writer/Journey` | Existing Legacy implementations retained |
|
||
| `/Writer/DisplaySetup` | Existing Display Setup panel at Overview |
|
||
|
||
`Destination.cshtml`, `_Writer3Header` and destination partials share layout and context. `_ObjectiveForm` extracts the existing form so the old desk and new Write use the same persistence path. `writer3.css` is scoped to the new surfaces; `writer3-navigation.js` repairs old Home fragments to the retained panels. Existing `/Write` compatibility redirects remain.
|
||
|
||
`WriterNavigation` holds route/presentation metadata, not persistent selection. The existing Writer ribbon shows Home and the five destinations, then a small contextual action group and Workspaces/Display Setup utilities. There is no second navigation strip. ApplicationNavigation, ApplicationRibbon and the two existing shell/navigation partials reuse this metadata. Book switching preserves an allowed destination using project/book IDs only; chapter/scene/native IDs are not carried to another book. Lowercase bookmarked route names retain their destination context.
|
||
|
||
## Preservation and data boundaries
|
||
|
||
All mapped Phase1 feature families remain available through their existing route, a destination link or the complete legacy desk. Existing Help Me and whole-book-focus suggestions now return to Write where appropriate. Writing Plans, Preview, Journey, reports, Reader, Audio Review and specialist tools retain their implementation. Standalone Context/Intent windows retain their named-window reuse, independent pinned/working/Reader/native projections, follow rules and placement facilities. No Word Companion source or native protocol changed.
|
||
|
||
New destination actions use the existing authorised read pipeline. Unavailable books return404; no route calls workflow initialisation simply to render its shell. No schema migration, new author-data store, global focus authority, creative engine, scheduling engine or manuscript synchronisation change was introduced. The Review explanation explicitly distinguishes accepted server text from unsynchronised Word edits.
|
||
|
||
A dedicated disposable Development owner had a populated book/saved objective and a second empty book. Hashes of Books, Chapters, Scenes, Goals, Workflow, Checklist, Notes, Objectives, Plans and Sessions were identical before and after authenticated navigation. Empty workflow/checklist/note/plan/session records remained absent. Login/presence operational state is outside this author-data comparison. No author-data forms were submitted during the live navigation test. This fixture result is evidence for these paths, not a claim that every existing GET throughout the application is read-only.
|
||
|
||
A verified copy-only checksum backup preceded explicit fixture creation: `/var/opt/mssql/backup/writer3-phase2a-before-fixtures-20261116.bak`. Existing guarded deletion procedures removed the dedicated fixture projects/account after acceptance; `RemainingSyntheticAccounts=0`. The private credential file was removed. Unrelated untracked investigation work was preserved.
|
||
|
||
## Help
|
||
|
||
Seven existing-system Markdown articles/keys were added: `writer3.home`, `writer3.write`, `writer3.explore`, `writer3.plan`, `writer3.review`, `writer3.reflect`, `writer3.dashboard`. They explain changed ribbon navigation, real entry points, scope and empty states. The retained Overview article explains the legacy desk and new Home. Header Help uses the existing tag helper inside the heading, supporting browser tooltip/popover, PWA Help promotion/drawer and full articles. [Help coverage](Help-Coverage.md) records the additions.
|
||
|
||
## Verification
|
||
|
||
| Gate | Actual result |
|
||
|---|---|
|
||
| `dotnet build PlotLine.slnx` | Passed, zero warnings/errors |
|
||
| `dotnet run --project PlotLine.Tests/PlotLine.Tests.csproj` | Passed,584 PASS records, exit0 |
|
||
| New real MVC/Razor navigation browser test | Passed168 combinations: seven surfaces × four themes × three widths(390/1024/1440) × browser/simulated PWA |
|
||
| Navigation assertions | Three Home actions, contextual ribbon, scoped links,404, focus isolation, book switch, reload/back/forward, legacy fragments, keyboard activation/visible focus, Help, overflow/desktop fit and CTA contrast≥4.5 |
|
||
| Preserved legacy Overview | Passed48 browser/theme/viewport/history/PWA combinations |
|
||
| Focused preservation suites | Standalone reference-window identity/reuse/pinning/display denial/retry; native-follow races/recovery simulations; Reader three widths/four themes/browser/PWA; Intent assessment/cancel/permissions; chapter-goal unsaved/antiforgery/Unicode/concurrency controls; existing audio refresh/seek/stale-state and intelligent desk tests passed |
|
||
| Authenticated deployed Development | Both books × seven surfaces in browser and simulated PWA; three Home actions; scope/back/forward/reload; saved objective; five legacy pages; Display Setup; unavailable-book404; seven Help articles and PWA drawer passed; no page JavaScript errors |
|
||
| Author-data invariant | Ten scoped before/after hash fields matched exactly |
|
||
| Cleanup | Dedicated fixture account/projects removed, remaining synthetic accounts0 |
|
||
|
||
Evidence and logs are in [Evidence/Phase2A](Evidence/Phase2A). New repeatable scripts are `PlotLine.Tests/Browser/writer3-navigation.cjs`, `writer3-navigation-live.cjs` and `WriterNavigationTests.cs`. The live script deliberately requires a privately supplied disposable Development identity; credentials are not committed. The isolated host fixtures preserve the old desk suite while new routes render through MVC and the actual application shell. Tests and build ran serially. A screenshot inspection caught inherited CTA text contrast; existing standard button classes repaired it and an explicit contrast check now covers the new controls.
|
||
|
||
## Development release
|
||
|
||
Release: `f96259a-20261116T155614Z`.
|
||
|
||
- Fresh Release publish archived at `/srv/apps/plotdirector-dev/releases/f96259a-20261116T155614Z`.
|
||
- Rollback copy: `/srv/apps/plotdirector-dev/current-before-f96259a-20261116T155614Z`.
|
||
- No queued/processing import, Story Intelligence, synthesis, pipeline or enrichment work at the pre-stop check.
|
||
- Physical `current` directory installed with deployed configuration, data protection, uploads and logs preserved.
|
||
- `plotdirector-dev` active; local GET and TLS-validated public Development GET200.
|
||
- DLL informational version contains `1.0.0+f96259a378f22dd80075676be34ea5e269ae091f`.
|
||
- Published and deployed `PlotLine.dll` SHA256: `cf57c3e221d94641938b0a6956ec45f5f47a09784692899f7966403de81a2314`.
|
||
- Warning/error service journal had no entries from deployment through authenticated acceptance.
|
||
- No Production access or deployment. No SQL migration to roll back.
|
||
|
||
## Limits and manual acceptance
|
||
|
||
These destinations are useful existing-tool shells. Inline authoring, integrated companions, new visual planning and process insights remain later work. Simulated Chromium PWA/native telemetry tests do not prove installed Windows PWA, real Word integration, physical monitor placement or media playback.
|
||
|
||
1. On Windows, open the installed Development PWA with a real book. Check Home's three actions and each destination/ribbon in the preferred theme; switch books and use back/forward/reload.
|
||
2. Confirm the saved working chapter/scene, then open the existing scene tool and Reader. Verify accepted text and unsynchronised Word edits are described accurately; confirm the original session controls work during an intentional writing session.
|
||
3. With the native Companion connected, open standalone Context and Intent; check pinned selections, verified cursor following, repeated window reuse and explicit display placement on the available monitors. Exercise denied display permission and recovery.
|
||
4. Use the existing Reader Audio Review with supported Windows media software; verify start/pause/seek/end and real telemetry. Check Word ribbon actions and synchronisation with a deliberate test edit.
|
||
5. At a narrow window size, tab through Home/ribbon/destination controls and scroll the focused panels; check Help popup/drawer/full article and existing plans/Journey/reports permissions.
|
||
|
||
## Recommended Phase 2B approach
|
||
|
||
Begin only after explicit acceptance. Extend the existing main/reference grid with a progressively enhanced, keyboard-operable divider; retain usable CSS flow when scripts, display permissions or storage are unavailable. Define minimum panel widths and narrow-screen collapse behavior first. Store only layout preferences, separately from the independent working/exploration/pinned/Reader/native authorities. Reuse named standalone windows and display placement rather than replacing them. Qualify keyboard resize, theme/zoom/narrow layouts, per-destination preference restoration and physical Windows multi-monitor behavior before integrating later Context/Intent editing. No Phase2B code or preference persistence is included in this release.
|