Record Phase 2A Development qualification and acceptance evidence

This commit is contained in:
Nick Beckley 2026-11-16 15:59:08 +00:00
parent f96259a378
commit 36c4d95ab5
13 changed files with 104 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 188 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 KiB

View File

@ -0,0 +1,4 @@
{"Area":"PlotSynthesis","Status":"Completed","Records":1}
{"Area":"Pipelines","Status":"Complete","Records":1}
{"Area":"CoreImports","Status":"Complete","MarkerStatus":"NotRequested","Records":1}
{"Area":"CharacterEnrichment","Status":"Completed","Records":1}

View File

@ -0,0 +1 @@
{"Books":"AF0CE3776A74E795407A84E182431791BD4225C3DED5B46FC17E2AD307DDE623","Chapters":"9BE42AFAA44419C7491B61A4DF4C48D64CA10308D15DF39CEC097571E4ABB775","Scenes":"0AB738E0405382ECA9A36B39B2289EB1089B342FCE945F0882073B918B277F7F","Goals":null,"Workflow":null,"Checklist":null,"Notes":null,"Objective":"92612B1243FB9B8B310B47C8FC844F0DEE3264600D81D22A91200211C2F50F7F","Plans":null,"Sessions":null}

View File

@ -0,0 +1 @@
{"Books":"AF0CE3776A74E795407A84E182431791BD4225C3DED5B46FC17E2AD307DDE623","Chapters":"9BE42AFAA44419C7491B61A4DF4C48D64CA10308D15DF39CEC097571E4ABB775","Scenes":"0AB738E0405382ECA9A36B39B2289EB1089B342FCE945F0882073B918B277F7F","Goals":null,"Workflow":null,"Checklist":null,"Notes":null,"Objective":"92612B1243FB9B8B310B47C8FC844F0DEE3264600D81D22A91200211C2F50F7F","Plans":null,"Sessions":null}

View File

@ -1,6 +1,6 @@
# Writer 3.0 implementation tracker
Baseline: `9a8b9a3`, shared branch `codex/word-companion-native-phase1-20261104`, 16 November 2026. The attached kickoff authorises Phase 1 implementation and Development deployment only; the master specification governs product direction even though its header says Proposed. Phase 2 requires explicit acceptance. No feature is retired. Unrelated investigation file is preserved.
Baseline: `9a8b9a3`, shared branch `codex/word-companion-native-phase1-20261104`, 16 November 2026. The original kickoff authorised Phase 1 implementation and Development deployment; the master specification governs product direction even though its header says Proposed. The subsequent Phase2A kickoff explicitly authorised Home, navigation, destination shells and Development deployment; Phase2B still requires acceptance. No feature is retired. Unrelated investigation file is preserved.
## Phase 1 screen and interaction states before implementation
@ -24,7 +24,7 @@ No new workspace shell in this phase. Existing Overview/Journey/Workspaces route
### Phase 2 — Writer Home and workspace shell
- Objective/deliverables: Three Home actions and five destinations; resizable workspace/companion; contextual ribbon and return state.
- Batches: 2A state/layout sketches; 2B Home and destinations; 2C resize/ribbon/returns; 2D empty/responsive/Help qualification
- Current authorised batches: 2A.1 routes/ribbon; 2A.2 Home; 2A.3 destination shells; 2A.4 Help/testing/Development. Phase2B resizable companion work remains unstarted; this supersedes the original provisional batch labels.
- Reuse: ApplicationNavigation/Ribbon, existing theme/PWA shell and workspace maximise conventions
- New/change: implement the batch deliverables inside the existing MVC application; no parallel Writer.
- Database: None assumed.
@ -32,7 +32,7 @@ No new workspace shell in this phase. Existing Overview/Journey/Workspaces route
- Acceptance: New author entry; existing deep links; keyboard resizing; mobile/PWA; all preservation mappings reachable.
- Preservation: all mapped F/I capabilities below; reader/source/privacy/native safeguards remain authoritative.
- Help: review existing Markdown keys for affected capabilities; update tooltip, popup and full article together; register coverage.
- Status / Development deployment: Phase2A authorised and in progress; Phase2B not started. See Phase2A-Execution.md for route/layout contracts and qualification.
- Status / Development deployment: Phase2A Development-qualified; application commit f96259a, release f96259a-20261116T155614Z. Phase2B not started. See Phase2A-Report.md for qualification and physical acceptance limits.
### Phase 3 — Write and Review integration
@ -324,3 +324,7 @@ Implementation/deployed source: `c769e1119a2542e256374db3c48eeb324c2663ab`. Rele
## Phase 2A delivery scope
User authorised2A only after Phase1 acceptance. [Execution breakdown and layouts](Phase2A-Execution.md). Existing62 features/96 interaction families remain preserved by routes, contextual ribbon and legacy desk; new destination links reuse their recorded destination owners. No retirement or replacement storage. Full integration and resizable companions remain2B/Phases3–4; no fake guidance/schedule/insight results.
## Phase 2A completion — 16 November 2026
Home, five destination shells, Plan/Reflect Dashboard and contextual existing ribbon are implemented. Entire old desk remains at Overview; Workspaces/Journey/Display Setup, native windows and specialist routes are preserved. Seven Markdown Help articles use the existing tooltip/popup/PWA drawer/full article infrastructure. No schema or native protocol changes. Build: zero warnings/errors; full harness:584 PASS; responsive navigation:168 combinations; preserved desk:48 combinations; Reader/Intent/Context/native-follow simulations/chapter goals/audio state suites passed. Authenticated Development browser and simulated PWA tests passed; scoped author-data hashes identical before/after navigation; disposable account and projects removed (RemainingSyntheticAccounts=0). Deployed DLL hash and commit metadata match. Physical Windows Word, installed PWA, actual playback and monitor placement remain manual. [Completion report](Phase2A-Report.md). Phase2B has not begun.

View File

@ -40,4 +40,4 @@ All new actions reuse the same read/authorisation pipeline and Phase1 context pr
## Qualification status
Implementation in progress. Build, tests, visual inspection, deployment and final results are recorded in the completion report once executed. Physical Windows, installed PWA and monitor placement are never inferred from Chromium emulation. Phase2B requires separate explicit acceptance.
Implemented and Development-qualified as application commit `f96259a`. Build, tests, screenshots, deployment and actual results are recorded in [Phase2A-Report.md](Phase2A-Report.md). Physical Windows, installed PWA and monitor placement are never inferred from Chromium emulation. Phase2B requires separate explicit acceptance.

View File

@ -0,0 +1,90 @@
# 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.