Record Phase 2C qualification, unified workflow acceptance and visual evidence

This commit is contained in:
Nick Beckley 2026-11-16 17:27:46 +00:00
parent e9402d0c16
commit e789da6139
81 changed files with 1022 additions and 11 deletions

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,128 @@
[
{
"destination": "Index",
"width": 1440,
"overflowX": 0,
"overflowY": 0,
"heading": "Audit: Third Volume ?"
},
{
"destination": "Write",
"width": 1440,
"overflowX": 0,
"overflowY": 0,
"heading": "Write ?"
},
{
"destination": "Explore",
"width": 1440,
"overflowX": 0,
"overflowY": 0,
"heading": "Explore ?"
},
{
"destination": "Plan",
"width": 1440,
"overflowX": 0,
"overflowY": 0,
"heading": "Plan ?"
},
{
"destination": "Review",
"width": 1440,
"overflowX": 0,
"overflowY": 0,
"heading": "Review ?"
},
{
"destination": "Reflect",
"width": 1440,
"overflowX": 0,
"overflowY": 0,
"heading": "Reflect ?"
},
{
"destination": "Index",
"width": 1024,
"overflowX": 0,
"overflowY": 0,
"heading": "Audit: Third Volume ?"
},
{
"destination": "Write",
"width": 1024,
"overflowX": 0,
"overflowY": 0,
"heading": "Write ?"
},
{
"destination": "Explore",
"width": 1024,
"overflowX": 0,
"overflowY": 0,
"heading": "Explore ?"
},
{
"destination": "Plan",
"width": 1024,
"overflowX": 0,
"overflowY": 0,
"heading": "Plan ?"
},
{
"destination": "Review",
"width": 1024,
"overflowX": 0,
"overflowY": 0,
"heading": "Review ?"
},
{
"destination": "Reflect",
"width": 1024,
"overflowX": 0,
"overflowY": 0,
"heading": "Reflect ?"
},
{
"destination": "Index",
"width": 390,
"overflowX": 0,
"overflowY": 336,
"heading": "Audit: Third Volume ?"
},
{
"destination": "Write",
"width": 390,
"overflowX": 0,
"overflowY": 0,
"heading": "Write ?"
},
{
"destination": "Explore",
"width": 390,
"overflowX": 0,
"overflowY": 0,
"heading": "Explore ?"
},
{
"destination": "Plan",
"width": 390,
"overflowX": 0,
"overflowY": 0,
"heading": "Plan ?"
},
{
"destination": "Review",
"width": 390,
"overflowX": 0,
"overflowY": 0,
"heading": "Review ?"
},
{
"destination": "Reflect",
"width": 390,
"overflowX": 0,
"overflowY": 0,
"heading": "Reflect ?"
}
]

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 201 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 KiB

View File

@ -0,0 +1,128 @@
[
{
"destination": "Index",
"width": 1440,
"overflowX": 0,
"overflowY": 0,
"heading": "Audit: Third Volume ?"
},
{
"destination": "Write",
"width": 1440,
"overflowX": 0,
"overflowY": 0,
"heading": "Write ?"
},
{
"destination": "Explore",
"width": 1440,
"overflowX": 0,
"overflowY": 0,
"heading": "Explore ?"
},
{
"destination": "Plan",
"width": 1440,
"overflowX": 0,
"overflowY": 0,
"heading": "Plan ?"
},
{
"destination": "Review",
"width": 1440,
"overflowX": 0,
"overflowY": 0,
"heading": "Review ?"
},
{
"destination": "Reflect",
"width": 1440,
"overflowX": 0,
"overflowY": 0,
"heading": "Reflect ?"
},
{
"destination": "Index",
"width": 1024,
"overflowX": 0,
"overflowY": 0,
"heading": "Audit: Third Volume ?"
},
{
"destination": "Write",
"width": 1024,
"overflowX": 0,
"overflowY": 0,
"heading": "Write ?"
},
{
"destination": "Explore",
"width": 1024,
"overflowX": 0,
"overflowY": 0,
"heading": "Explore ?"
},
{
"destination": "Plan",
"width": 1024,
"overflowX": 0,
"overflowY": 0,
"heading": "Plan ?"
},
{
"destination": "Review",
"width": 1024,
"overflowX": 0,
"overflowY": 0,
"heading": "Review ?"
},
{
"destination": "Reflect",
"width": 1024,
"overflowX": 0,
"overflowY": 0,
"heading": "Reflect ?"
},
{
"destination": "Index",
"width": 390,
"overflowX": 0,
"overflowY": 336,
"heading": "Audit: Third Volume ?"
},
{
"destination": "Write",
"width": 390,
"overflowX": 0,
"overflowY": 0,
"heading": "Write ?"
},
{
"destination": "Explore",
"width": 390,
"overflowX": 0,
"overflowY": 0,
"heading": "Explore ?"
},
{
"destination": "Plan",
"width": 390,
"overflowX": 0,
"overflowY": 0,
"heading": "Plan ?"
},
{
"destination": "Review",
"width": 390,
"overflowX": 0,
"overflowY": 0,
"heading": "Review ?"
},
{
"destination": "Reflect",
"width": 390,
"overflowX": 0,
"overflowY": 0,
"heading": "Reflect ?"
}
]

View File

@ -0,0 +1 @@
{ browserHistoryShortcutPrevented: true }

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 167 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 188 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

View File

@ -0,0 +1,16 @@
Determining projects to restore...
All projects are up-to-date for restore.
PlotDirector.Companion.Protocol -> /srv/repos/PlotDirector/PlotDirector.NativeCompanion/Protocol/bin/Debug/netstandard2.0/PlotDirector.Companion.Protocol.dll
PlotDirector.Companion.Client -> /srv/repos/PlotDirector/PlotDirector.NativeCompanion/Client/bin/Debug/netstandard2.0/PlotDirector.Companion.Client.dll
PlotDirector.Companion.Agent -> /srv/repos/PlotDirector/PlotDirector.NativeCompanion/Agent/bin/Debug/net10.0/PlotDirector.Companion.Agent.dll
PlotDirector.Companion.Agent -> /srv/repos/PlotDirector/PlotDirector.NativeCompanion/Agent/bin/Debug/net10.0-windows10.0.19041.0/PlotDirector.Companion.Agent.dll
PlotDirector.Companion.Tests -> /srv/repos/PlotDirector/PlotDirector.NativeCompanion/Tests/bin/Debug/net10.0/PlotDirector.Companion.Tests.dll
PlotLine -> /srv/repos/PlotDirector/PlotLine/bin/Debug/net10.0/PlotLine.dll
WritingSolver -> /srv/repos/PlotDirector/Tools/WritingSolver/bin/Debug/net10.0/WritingSolver.dll
PlotLine.Tests -> /srv/repos/PlotDirector/PlotLine.Tests/bin/Debug/net10.0/PlotLine.Tests.dll
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:26.69

View File

@ -0,0 +1,2 @@
{"":true}
{"RemainingSyntheticAccounts":0}

View File

@ -0,0 +1,7 @@
active
Local GET 200
Development TLS GET 200
052cc7b2d77a836b4336d7eb68e9dbd1ccd944235f43c97c370661ee7133f594 /home/nick/writer3-publish-e9402d0-un0wIp/PlotLine.dll
052cc7b2d77a836b4336d7eb68e9dbd1ccd944235f43c97c370661ee7133f594 /srv/apps/plotdirector-dev/current/PlotLine.dll
.1.0.0+e9402d0c1673d3dc8afcca26bb344b82fa11caf0
-- No entries --

View File

@ -0,0 +1,6 @@
{"pwa":false,"i":0,"doc":844,"vh":844,"scroll":0,"root":"writer3 writer3-destination writer3-viewport","top":265,"rootHeight":579,"variable":"--writer-workspace-height: 579px;","headerHeight":127,"workspace":{"x":17.75,"y":463.375,"width":354.5,"height":371.625,"top":463.375,"right":372.25,"bottom":835,"left":17.75},"ribbon":"false"}
{"pwa":false,"i":1,"doc":844,"vh":844,"scroll":0,"root":"writer3 writer3-destination writer3-viewport","top":265,"rootHeight":579,"variable":"--writer-workspace-height: 579px;","headerHeight":127,"workspace":{"x":17.75,"y":463.375,"width":354.5,"height":371.625,"top":463.375,"right":372.25,"bottom":835,"left":17.75},"ribbon":"false"}
{"pwa":false,"i":2,"doc":844,"vh":844,"scroll":0,"root":"writer3 writer3-destination writer3-viewport","top":265,"rootHeight":579,"variable":"--writer-workspace-height: 579px;","headerHeight":127,"workspace":{"x":17.75,"y":463.375,"width":354.5,"height":371.625,"top":463.375,"right":372.25,"bottom":835,"left":17.75},"ribbon":"false"}
{"pwa":true,"i":0,"doc":844,"vh":844,"scroll":0,"root":"writer3 writer3-destination writer3-viewport","top":257,"rootHeight":587,"variable":"--writer-workspace-height: 587px;","headerHeight":106,"workspace":{"x":17.75,"y":434.6875,"width":354.5,"height":400.3125,"top":434.6875,"right":372.25,"bottom":835,"left":17.75},"ribbon":"false"}
{"pwa":true,"i":1,"doc":844,"vh":844,"scroll":0,"root":"writer3 writer3-destination writer3-viewport","top":257,"rootHeight":587,"variable":"--writer-workspace-height: 587px;","headerHeight":106,"workspace":{"x":17.75,"y":434.6875,"width":354.5,"height":400.3125,"top":434.6875,"right":372.25,"bottom":835,"left":17.75},"ribbon":"false"}
{"pwa":true,"i":2,"doc":844,"vh":844,"scroll":0,"root":"writer3 writer3-destination writer3-viewport","top":257,"rootHeight":587,"variable":"--writer-workspace-height: 587px;","headerHeight":106,"workspace":{"x":17.75,"y":434.6875,"width":354.5,"height":400.3125,"top":434.6875,"right":372.25,"bottom":835,"left":17.75},"ribbon":"false"}

View File

@ -0,0 +1 @@
PASS unified current work: one selector set, save-only, explicit recording/idempotent repeat, saved display/change, active/mismatched targets, explicit proofreading choice, AudioReview chapter rule, dependent scenes, optional scoped scheduling and book-switch clearing in browser/simulated PWA.

View File

@ -0,0 +1 @@
-- No entries --

View File

@ -0,0 +1 @@
PASS authenticated Development unified workflow: real objective create/change, explicit Writing session, active target/ID isolation, note/end, invalid scene and unsupported objective rejection, antiforgery400, optional scoped revision planning; fixture focus restored; browser/simulated PWA.

View File

@ -0,0 +1,8 @@
{
"checks": [
"Browser: existing/new book7surfaces,3Home actions, five destinations, contextual scope/back/forward/reload, saved focus isolation,5legacy pages,DisplaySetup,unavailable-book404 and7Help articles pass; no author-data forms submitted.",
"Simulated PWA: existing/new book7surfaces,3Home actions, five destinations, contextual scope/back/forward/reload, saved focus isolation,5legacy pages,DisplaySetup,unavailable-book404 and7Help articles pass; no author-data forms submitted."
],
"physicalWindows": false,
"installedPWA": false
}

View File

@ -0,0 +1 @@
PASS Phase2C authenticated Development: marker line wrapping, Help placement/popup, readable collapsed content, browser modifier shortcuts, reduced-motion context, overlay Tab exit, five Help articles and existing session heading.

View File

@ -0,0 +1 @@
PASS Writer3 workspace: 200 rendered destination/theme/viewport/browser/simulated-PWA cases; pointer/keyboard limits, collapse, reload, independent preferences, invalid/stale values, storage refusal, responsive overlay/Escape/focus, ribbon height, text scaling, preserved local notes and Help. Authenticated Development fixture. Physical Windows/installed PWA/multi-monitor not tested.

View File

@ -0,0 +1 @@
PASS Writer3: 168 destination/theme/width/browser/PWA combinations; Home actions, contextual ribbon, authorisation, book switching, reload/back/forward, keyboard focus, Help, legacy fragments and viewport fit.

View File

@ -0,0 +1,10 @@
PASS Writer reference windows: initial failure/retry, window identity/reuse, pinned book, denied/unavailable display permissions, plan navigation, browser/PWA.
PASS pending native response cancellation, unverified mapping refusal, exact-session query parameters and no recomputation for repeated unchanged scenes
PASS native/legacy race, cross-chapter cursor following, repeated presence without commands/focus, status failure recovery, in-flight invalidation, unchanged-scene fragment retry, trusted explicit navigation and acknowledgement without feedback; simulated Chromium protocol, not Word
PASS native source invariant: selection observation contains no ribbon invalidation or range selection (not runtime Word proof)
PASS Manuscript Reader: real Razor/controller, escaped selectable text, chapter navigation, empty state, timestamps, private headers, account isolation, GET-only, focus, 3 widths × 4 themes × browser/PWA
PASS explicit Intent assessment, persisted-result load, cancellation, scene isolation and permission feedback
PASS real browser periodic audio refresh, repeated Play/Pause, supported seeks, stale/unavailable telemetry and recovery: browser
PASS real browser periodic audio refresh, repeated Play/Pause, supported seeks, stale/unavailable telemetry and recovery: simulated PWA
PASS Writer intelligence UI: four themes, two widths, browser/PWA; grounded Help Me, explicit audio start/end/note, disabled unsupported controls, month/year calendar and zero-net revision intensity
PASS Writer 2 overview: real Razor, 48 theme/viewport/history/PWA combinations, single navigation, book scope, honest empty states, chart links and contextual controls.

View File

@ -0,0 +1 @@
PASS Phase2C isolated MVC: marker line wrapping, Help placement/popup, readable collapsed content, browser modifier shortcuts, reduced-motion context, overlay Tab exit, five Help articles and existing session heading, retained active AudioReview DOM/notes and independent scroll to media controls.

View File

@ -0,0 +1,590 @@
PASS settlement Marker compatibility, nested geometry/style validation, stable route references and existing map/backup/import JSON contracts.
PASS Settlement boundaries preserve anchors, routes and backup/import contracts
PASS shared boundary server integrity, versions/refs/appearance, duplicate/orphan rejection and project import/export/restore contracts.
PASS Shared boundary topology preserves map and project contracts
PASS geography roots, hierarchy, provider-independent fake, cache identities, ambiguity, failures/backoff and rate reservation.
PASS Geographical roots, providers, queue outcomes and access
PASS Intent evidence preserves provenance and author control
PASS Release triage and browser-only onboarding preserve author decisions
PASS Approved native import source and confirmation remain safe
PASS Native installation renewal and revocation remain account/security scoped
PASS Writer navigation objective activity mappings use supported session types
PASS Writer navigation ambiguous or unsupported recording activity requires explicit compatible choice
PASS Writer navigation session-only activities never become objective types
PASS Writer navigation destination Home preserves authorised book and saved working focus
PASS Writer navigation destination Home never carries a focus into another book
PASS Writer navigation destination Home refuses unavailable book
PASS Writer navigation destination Write preserves authorised book and saved working focus
PASS Writer navigation destination Write never carries a focus into another book
PASS Writer navigation destination Write refuses unavailable book
PASS Writer navigation destination Explore preserves authorised book and saved working focus
PASS Writer navigation destination Explore never carries a focus into another book
PASS Writer navigation destination Explore refuses unavailable book
PASS Writer navigation destination Plan preserves authorised book and saved working focus
PASS Writer navigation destination Plan never carries a focus into another book
PASS Writer navigation destination Plan refuses unavailable book
PASS Writer navigation destination Review preserves authorised book and saved working focus
PASS Writer navigation destination Review never carries a focus into another book
PASS Writer navigation destination Review refuses unavailable book
PASS Writer navigation destination Reflect preserves authorised book and saved working focus
PASS Writer navigation destination Reflect never carries a focus into another book
PASS Writer navigation destination Reflect refuses unavailable book
PASS Writer navigation destination Dashboard preserves authorised book and saved working focus
PASS Writer navigation destination Dashboard never carries a focus into another book
PASS Writer navigation destination Dashboard refuses unavailable book
PASS Writer navigation legacy query routes still reach their actual workspaces/calendar
PASS Writer navigation old objective setup URL reaches Write
PASS Writer navigation full legacy desk, Journey and Workspaces remain rendered, not retired
PASS Writer navigation book-only new route checks access before metadata
PASS Writer navigation book switching retains Write without chapter parameters
PASS Writer navigation single existing ribbon exposes all destinations on Write
PASS Writer navigation book switching retains Explore without chapter parameters
PASS Writer navigation single existing ribbon exposes all destinations on Explore
PASS Writer navigation book switching retains Plan without chapter parameters
PASS Writer navigation single existing ribbon exposes all destinations on Plan
PASS Writer navigation book switching retains Review without chapter parameters
PASS Writer navigation single existing ribbon exposes all destinations on Review
PASS Writer navigation book switching retains Reflect without chapter parameters
PASS Writer navigation single existing ribbon exposes all destinations on Reflect
PASS Writer navigation case-insensitive bookmarked routes retain destination context
PASS Writer navigation book menu never navigates to a mutation action
PASS Writer navigation new author Home has no fabricated book selection
PASS Writer navigation exploration does not require scenes, plans, project or Word
PASS Writer navigation real read paths exercised without calling author-data writes
PASS Writer 3 destination navigation and scope
PASS Writer foundation reference, Reader, session and verified Word selections never overwrite working focus
PASS Writer foundation cross-book selections require a separate authorised context
PASS Writer foundation a scene cannot be projected without its chapter
PASS Writer foundation incomplete native identity cannot be projected as verified
PASS Writer foundation selected book reaches every queue repository before any result limit
PASS Writer foundation inaccessible project never reaches a queue repository
PASS Writer foundation unresolved route scene never becomes a pinned authorised selection
PASS Writer foundation Preview chooses within the selected book and preserves All Books plans
PASS Writer foundation explicit out-of-scope plan cannot silently select another book
PASS Writer foundation new book may still use its project-wide plan
PASS Writer foundation plan management action retains the requesting list scope
PASS Writer foundation plan management action retains the requesting list scope
PASS Writer foundation plan management action retains the requesting list scope
PASS Writer foundation plan management action retains the requesting list scope
PASS Writer foundation context, queue scope and planning
PASS Writer dashboard book selection filters queues and tasks consistently
PASS Writer dashboard book scope reaches schedule service before selection and active workspace persists
PASS Writer dashboard unknown book cannot fall back to another book
PASS Writer dashboard plan setup retains selected book instead of All Books
PASS Writer dashboard plan setup refuses conflicting project and book
PASS Writer dashboard book-only deep link checks access before metadata
PASS Writer dashboard legacy Write redirect preserves book scope
PASS Writer dashboard Writer contextual commands target implemented workspaces and evidence
PASS Writer dashboard book scope
PASS writing activity baseline excludes pre-existing words
PASS writing activity zero-net replacement retains both sides
PASS writing activity moving stable paragraphs has no word growth
PASS writing activity whitespace-only change has no word growth
PASS writing activity deletion preserves old paragraph scope
PASS writing activity paragraph split does not invent growth
PASS writing activity gross and net reconcile
PASS writing activity large replacement explicitly qualifies token balance
PASS Writing activity measurement
PASS Writer intelligence consecutive playing observations produce actual bounded playback coverage
PASS Writer intelligence replaying ten seconds adds playback but does not duplicate unique coverage
PASS Writer intelligence duplicate sequence never creates more playback time
PASS Writer intelligence seek jump is not listening coverage
PASS Writer intelligence interrupted telemetry does not invent activity across a gap
PASS Writer intelligence an explicit seek never bridges playback coverage even when positions look continuous
PASS Writer intelligence paused state does not manufacture playback intervals
PASS Writer intelligence different media source does not contribute to current coverage
PASS Writer intelligence command expiry is explicitly UTC across browser and Windows time zones
PASS Writer intelligence nonfinite media position is refused
PASS Writer intelligence activities share daily capacity and split across dates without exceeding availability
PASS Writer intelligence insufficient capacity explains failure before persistence
PASS Writer intelligence known lengths produce distinct adjustable budgets rather than equal chapter effort
PASS Writer intelligence empty context produces no invented manuscript observations
PASS Writer intelligence zero-net revision and actual chapter evidence supply bounded actionable suggestions
PASS Writer intelligence recommendations do not diagnose writer block from observations
PASS Writer intelligence and measured review
PASS Manuscript Reader: scoped read-only retrieval, ordering, navigation, empty snapshot, accepted updates, pending isolation and accurate timestamps
PASS Manuscript Reader
PASS Opted-in import capture retains raw paragraph text and opaque occurrence identity
PASS Opaque occurrence IDs, including separate identical dialogue
PASS Saved snapshot and process reconstruction retain occurrence identities
PASS Reliable paragraph move updates derived event scene without copying event
PASS Copied paragraph has a distinct identity and no duplicated story event
PASS Rewritten evidence retains original passage and withholds unconfirmed derived facts
PASS Author confirmation verifies changed evidence
PASS Deleting evidence preserves the event and before text
PASS Scene split preserves every raw Word character
PASS Undo restores grouping and opaque scene identity
PASS Boundary moves between adjacent paragraphs
PASS Adjacent merge retains text and retires, rather than destroys, scene identity
PASS Merge undo restores original scene and prior boundary
PASS Author can explicitly confirm a proposed scene grouping without editing Word prose
PASS Grouping confirmation can be undone without discarding the Word snapshot
PASS Previously excluded import sections remain captured without silently importing their prose on sync
PASS An unresolvable excluded-section boundary refuses mutation instead of guessing where that book's prose starts
PASS Identical short dialogue remains associated with its individual native occurrence
PASS Delta sends only changed prose and retains occurrence order
PASS Lost native hints can reconcile a single rewrite between recognised neighbours without matching a moved/copy candidate
PASS Paragraph split retains only the surviving occurrence identity
PASS Word XML hint is restricted to main document part and forbids external entities
PASS Provider schema is bounded by the actual 97 submitted paragraphs, never the raw source count 99
PASS Legacy request serialization omits new contract field, preserving checkpoint hashes
PASS Versioned integer confidence validation preserves legacy decimals and rejects new fractional scores
PASS 250,000+ word value snapshot reconciliation (396ms; no Word COM performance claim)
PASS Derived evidence display state cannot change legacy backup hashes or accepted event payloads
PASS Missing primary evidence is excluded from verified story facts while unanchored scene events remain compatible
28 paragraph manuscript assertions passed.
PASS Adoption uses only the completed capture's canonical scene map and retains excluded prose outside the imported book
PASS Reconnection cannot silently restore an excluded chapter into canonical scenes
PASS An unfinished import pauses snapshots without changing its accepted source or checkpoints
PASS Explicitly opted-in save/reconnect uses existing exact-session capture channel
PASS Authorised snapshot persists exact new prose and reconciles opaque paragraph identity
PASS Lost acknowledgement retry cannot apply the snapshot twice
PASS Acknowledgement returns canonical occurrence ID for delta recovery
PASS Cancellation retires only pending snapshot and retains already accepted revision
PASS Another account cannot request manuscript synchronisation
PASS Turning off automatic synchronisation changes only preferences even while imports or scene conflicts pause snapshots
PASS A new chapter repair is not hidden behind an older completed full snapshot receipt
PASS Paragraph manuscript identity, evidence and exact-session synchronisation
PASS Native wizard capture is scoped, durable and independent of Word
PASS Native tray presence and PWA review remain scoped, expiring and non-destructive
PASS Native saved workspace and established import eligibility remain scoped and read-only
PASS Native companion authentication, canonical AI mapping and isolated chapter retry
PASS Solver never discards a corroborated concern or exhausts navigation before verification
PASS Solver result evidence covers all reachable diagnoses without changing Stage 1 semantics
PASS Solver result copy follows actual answers, intention, variants and revision
PASS Solver workspace CTAs resolve authorised project/character context and real routes
PASS Stage 1 preserves all 60 strict conversations, corroboration, intent, reachability and adoption
PASS Stage 1 evidence gates, required follow-ups, bounded multi-select and neutral choices are enforced
PASS Neutral endpoints require explicit valid terminal declarations
PASS Neutral reassurance follows selected concerns without evidence and survives revision
PASS Scene navigation does not invent purpose evidence; genuine D05 witnesses survive
PASS D50 requires actual series evidence and preserves D50/D51 witnesses
PASS Curated V2 preserves 60 literal paths and enforces eight explicit Development review exceptions
PASS Curated V2 exhausts real-engine states and preserves revision/multi-select behaviour
PASS Curated V2 passes normal validation and invalid publication stays guarded
PASS Payoff covers all 52 diagnoses with seven archetypes and semantic uncertainty ordering without graph changes
PASS Development review observes every acceptance prefix without changing signals, results or graph; access and durable capture stay isolated
PASS All permanent writing problems have distinct editorial content, intent, metadata, links and real images
PASS Clean solver completion preserves private evidence and permanent indexable URLs
PASS Writing Solver anonymous state is protected, expires and rejects stale versions
PASS Writing Solver scoring, multi-select, revision, fallback and graph routes
PASS Writing Solver import rejects invalid graphs and editorial identities
PASS Book recovery read-only exports and receipt retries remain accessible
PASS Book recovery validates integrity, selection and author-bound upload generations
PASS Project export and restore access gates enforce author and ownership boundaries
PASS Retired checklist bookmarks redirect without report access
PASS Ribbon operation identity and semantic icons stay consistent
PASS Maps Story projects canonical hierarchy, sequence, journeys and evidence without changing geography
Maps Story scale: 500 scenes, 30 characters, 5,000 appearances in 17ms.
PASS Maps Story scales to 500 scenes and 5,000 appearances
PASS Maps Story enforces access and uses bounded repository batches
PASS Maps appearance validates colours, normalized raster images and portable backups
PASS Maps reference assets enforce access
PASS Maps validate rough geometry, relationships, Location intent and access boundaries
PASS Subscription entitlement evaluates trials, paid access, overrides and real plan limits
PASS Subscription overrides control access and dashboard presentation without trial contradictions
PASS Subscription enforcement is concurrent, audited and admin-authorised
PASS Plot Health stays scene-based with 12,000 contributions
PASS Plot Health preserves Discovery planning and boundary contradictions
PASS Plot Health separates stored status and meaningful-progress clocks
PASS Plot Health explains question, payoff, closure and boundary evidence
PASS Plot Health evaluates explicit targets and scoped line rollups
PASS Plot Health respects scenario coverage and ordered chapter identities
PASS Plot Lines Focus and Weave preserve gaps and shared-scene identity
PASS Plot Lines thread, enrichment and Timeline inspector contracts hold
PASS Plot Lines composition remains bounded with a large generated weave
PASS Exception review uses evidence, identity, consequence and directional conflicts
PASS Exception assessment preserves author decisions and scene history
PASS Character card widths reflect displayed text without changing character data
PASS Relationships workspace large cast, temporal states and canonical edits
PASS Scene relationship proposals preserve direction and validate acceptance
PASS Location and asset merges require confirmation and distinct records
PASS Location persisted analysis preserves contextual bedrooms and setting provenance
PASS Location consequence outranks capped recurrence
PASS Location scene significance is attributed only to actual settings
PASS Location significance preserves hierarchy and independent uncertainty
PASS Character profile age uses canonical reference chronology
PASS Character detail and date-only save retain canonical DOB
PASS Story Point presence, previous appearances and age cross book boundaries
PASS Story Point knowledge stops at selected narrative position
PASS Story Point relationships and independent asset state are historical
PASS Story Point threads and continuity warnings respect future evidence
PASS Story Point ownership, AJAX and bounded batch loading require no AI
PASS Story Point narrative tie breakers match canonical order
PASS Malformed confidence 0. is repaired to 0.0
PASS Markdown fences are stripped
PASS Unescaped backslash in evidence is repaired
PASS Truncated JSON is rejected
PASS Repaired JSON deserialises into SceneIntelligenceScene
PASS Chapter Structure confidence 0. repairs and deserialises
PASS Chapter Structure confidence 0. 8 repairs and deserialises
PASS Chapter Structure confidence 7 .5 repairs when unambiguous
PASS JSON repair leaves decimal-looking prose unchanged
PASS Chapter Structure semantic validation still rejects out-of-range repaired confidence
PASS Structural scene detection parser failure uses friendly diagnostics and retry
PASS Chapter Structure boundary normaliser repairs gaps and overlaps
PASS Chapter Structure boundary normaliser preserves valid coverage
PASS Chapter Structure boundary normaliser handles terminal ghost paragraph
PASS Chapter Structure boundary normaliser discards multiple terminal ghost paragraphs
PASS Chapter Structure boundary normaliser replays full book terminal empty failure
PASS Chapter Structure boundary normaliser keeps meaningful end overflow repair
PASS Chapter Structure boundary normaliser preserves genuine inverted ranges for validation
PASS Structural Word mapping uses paragraph map as authoritative text
PASS Structural Word mapping includes filtered Word paragraphs in source coverage
PASS Structural Word mapping fails precisely when map metadata is incomplete
PASS Structural Word mapping keeps trailing empty normalisation mapped
PASS Shared parser reports raw chapter output on unrecoverable JSON
PASS Character filtering rejects generic groups
PASS Character filtering preserves titled names
PASS Location filtering rejects merged phrases
PASS Location filtering preserves story locations
PASS Location canonical keys merge trivial variants
PASS Location contextual names use POV and structural setting
PASS Location canonical keys merge punctuation and safe plurals
PASS Location candidate consolidation handles generic review variants
PASS Location candidate identity is parent-aware for generic sub-locations
PASS Locations page uses hierarchical sort order
PASS Location review UX supports large candidate sets
PASS Story Intelligence auto resolves exact known locations before review
PASS Story Intelligence location review uses single identity decision
PASS Asset filtering rejects generic objects
PASS Asset filtering preserves story assets
PASS Asset canonical keys merge trivial variants
PASS Asset canonical keys merge contextual vehicle variants
PASS Asset canonical keys keep unrelated owned cars distinct
PASS Asset candidate keys attach unique unowned variants
PASS Asset filtering rejects relationship facts
PASS Asset contextual names resolve POV ownership
PASS Asset structural phrases trim neighbouring nouns
PASS Asset significance is generic and not fixture-specific
PASS Story Intelligence asset review applies current identity rules
PASS Relationship review requires pair evidence and distinguishes social types
PASS Relationship signals map to broad lookup types
PASS Relationship signals infer friendship without romance
PASS Relationship events preserve chronological story order
PASS Relationship progression keeps chronological state
PASS Relationship observations do not create event spam
PASS Relationship review orders by first story appearance
PASS Relationship evidence priority preserves explicit semantics
PASS Relationship evidence handles retained hostile and incidental examples
PASS Knowledge signals map to existing knowledge states
PASS Knowledge recipient resolves narrator through POV
PASS Knowledge identity reveal preserves subjective timing
PASS Knowledge duplicate statements share canonical keys
PASS Knowledge suspicion and certainty remain distinct
PASS Illustration prompt builder separates spec and prompt
PASS Illustration prompt builder uses realistic image direction
PASS Illustration specification validation catches missing typed fields
PASS Illustration category validation rejects unknown values
PASS Illustration status transitions protect approval flow
PASS Illustration status transitions support archive flow
PASS Illustration metadata flags fallback location labels
PASS Illustration location matching rejects vehicle living room reuse
PASS Illustration automatic generation policy blocks vague fallbacks
PASS Story Memory import image generation defaults are safe
PASS Illustration storage codes are normalised safely
PASS Illustration starter batch has required category counts
PASS Illustration starter generation plan skips successful items
PASS Story Intelligence visualisation archive is preserved
PASS Story Intelligence visualisation runtime is removed
PASS Story Intelligence does not retry exhausted billing quota
PASS Illustration bulk retry result reports counts
PASS Illustration bulk retry skips blocking duplicate stable codes
PASS Illustration provider reports missing image model
PASS Illustration provider omits GPT image response format
PASS Illustration matching rejects adult masculine unknown art for Beth
PASS Illustration matching treats Mrs title as hard feminine evidence
PASS Illustration matching infers mother and aunt as mature feminine
PASS Illustration matching rejects duplicate named portrait allocation
PASS Illustration semantic types prevent bathroom office and ambulance car mismatches
PASS Illustration demand archetypes stay broad and use active template
PASS Story Intelligence evidence extraction prevents observed attribute leakage
PASS Story Intelligence scene call uses strict structured output
PASS Story Intelligence scene schema constrains confidence numbers
PASS Story Intelligence scene schema constrains evidence strings
PASS Story Intelligence temporal resolves chapter anchor and afternoon
PASS Story Intelligence temporal rolls over after midnight
PASS Story Intelligence temporal resolves following morning
PASS Story Intelligence temporal resolves exact day offsets
PASS Story Intelligence temporal resolves following weekday
PASS Story Intelligence temporal resolves evening clock time
PASS Story Intelligence temporal rejects unanchored clock time
PASS Story Intelligence temporal preserves yearless calendar date clues
PASS Story Intelligence temporal resolves yearless calendar dates from context
PASS Story Intelligence temporal inherits previous morning when extraction is empty
PASS Story Intelligence temporal inherits previous evening when extraction is empty
PASS Story Intelligence temporal inherits previous night when extraction is empty
PASS Story Intelligence temporal inherits after midnight advancement
PASS Story Intelligence temporal inherits chapter anchor when extraction is empty
PASS Story Intelligence temporal stays unknown without context or extraction
PASS Story Intelligence temporal explicit date overrides previous context
PASS Story Intelligence temporal preserves vague few days
PASS Core import applies structural chronology to canonical scenes
PASS Story Intelligence temporal importer preserves manual chronology
PASS Story Intelligence temporal materialisation saves canonical chronology
PASS Story Intelligence temporal malformed values are discarded
PASS Story Calendar useful months and sparse navigation
PASS Story Calendar places dated scenes on Monday-first month grid
PASS Story Calendar separates unplaced scenes without guessing
PASS Story Calendar book filter and all books scope work
PASS Story Calendar month navigation uses story dates across years
PASS Story Calendar month dropdown follows displayed month
PASS Story Calendar handles no dated scenes
PASS Story Calendar day details endpoint returns partial
PASS Story Calendar day details endpoint respects book filter
PASS Story Calendar day details endpoint handles empty story date
PASS Story Calendar day details endpoint rejects invalid project
PASS Story Calendar index returns surface partial for AJAX
PASS Story Calendar day selection uses progressive AJAX hooks
PASS Story Intelligence structured metric values validate and import
PASS Story Intelligence structured schema covers complete response model
PASS Story Intelligence structured schema remains fixture agnostic
PASS Illustration assignment repair enforces explicit evidence groups and strict subtypes
PASS Lean import removes replay links while retaining progress
PASS Story Intelligence progress does not prematurely report safe close
PASS Structural import creates scenes before Word sync
PASS Structural import creates first scene without placeholder
PASS Structural import persists paragraph mapping and source text
PASS Structural import persists canonical scene source text
PASS Structural import adds summaries without extra scene AI calls
PASS Core import scan stage defers scenes and characters
PASS Core import basic location detector is conservative
PASS Core import basic location detector consolidates and skips existing matches
PASS Core import basic location detector supports pending parent candidates
PASS Core import character discovery protects accepted locations
PASS Core import gates characters behind basic location review
PASS Core import hides exact existing character names from review
PASS Core import hides exact existing character aliases from review
PASS Core import keeps suspected unknown aliases in review
PASS Core import keeps ambiguous existing character matches in review
PASS Core import keeps new characters in review
PASS Core import auto resolved character evidence is preserved
PASS Core import character evidence is candidate specific
PASS Core import deterministically maps known characters
PASS Core import wizard orders scenes before characters
PASS Core import remaps characters after review
PASS Scan review separates known matches from unresolved names
PASS Story Intelligence uses persisted scene source after restart
PASS Story Intelligence canonical mode bypasses duplicate boundary analysis
PASS Story Intelligence progress uses canonical scene summaries
PASS Story Intelligence downstream imports prefer canonical SceneIDs
PASS Story Intelligence scene prompt no longer asks for duplicate factual summary
PASS Story Intelligence review uses canonical structural summaries and counts
PASS Story Intelligence review centre completion is category scoped
PASS Word sync requires save acknowledgement
PASS Word sync retry resumes existing structure
PASS Story Intelligence enriches existing structural scenes
PASS Core import scene titles ride existing structural AI call
PASS Core import scene title preference is review scoped
PASS Core import scene title preference moved to Detect Scenes
PASS Core import Review Chapters is compact and chapter only
PASS Core import Detect Scenes is compact and owns title option
PASS Book context is canonical import metadata
PASS Names defaults from selected book context
PASS Story Intelligence starts from core import complete
PASS Generated scene titles persist with provenance
PASS Scene title display keeps scene numbers visible
PASS Manuscript text statistics handles pure prose
PASS Manuscript text statistics handles pure dialogue
PASS Manuscript text statistics splits narrative before dialogue
PASS Manuscript text statistics splits dialogue before narrative
PASS Manuscript text statistics handles multiple dialogue passages
PASS Manuscript text statistics supports smart quotes
PASS Manuscript text statistics supports straight quotes
PASS Manuscript text statistics carries multi-paragraph dialogue
PASS Manuscript text statistics returns to prose after continued dialogue
PASS Manuscript text statistics ignores empty paragraphs
PASS Manuscript text statistics reconciles scene totals
PASS Manuscript text statistics aggregates chapter scenes
PASS Manuscript text statistics recalculates existing scene sources
PASS Manuscript text statistics does not invoke AI
PASS Phase 21T repairs durable character understanding
PASS Phase 21U extracts mandatory character appearance fixtures
PASS Character sex hints are conservative and reviewable
PASS Character discovery does not truncate scan review candidates
PASS Character discovery rejects sentence-start words
PASS Character discovery rejects fragments and location names
PASS Manuscript scan preview keeps only auto-selected character candidates
PASS Word Companion scan completion uses chunked transport
PASS Word Companion scan chunks assemble full novel payloads
PASS Word Companion scan chunks reject partial and conflicting payloads
PASS Onboarding wizard keeps character pages inside one main step
PASS Scan review aliases feed Story Intelligence known character context
PASS Name Intelligence package contract is present
PASS Name Intelligence reference data is copied on publish
PASS Name Intelligence repository uses stored procedures
PASS Name Intelligence review warning is wired
PASS Name Intelligence library defaults to all locales
PASS Story Intelligence new-format context uses canonical characters
PASS Story Intelligence character defaults link proposed existing matches
PASS Story Intelligence character defaults ignore generic references
PASS Story Intelligence character defaults keep descriptive identities
PASS Story Intelligence character review uses single identity decision
PASS Story Intelligence auto resolves exact known identities before review
PASS Story Intelligence character matching keeps ambiguous known names visible
PASS Story Intelligence descriptive references consolidate articles
PASS Story Intelligence review omits character metrics dashboard
PASS Story Intelligence resumed chapters use canonical labels
PASS Story Intelligence character review posts selected existing match
PASS Story Intelligence character default changes preserve persisted results
PASS Structural POV rides existing chapter analysis
PASS Structural POV persists through import resolution
PASS Chapter POV derives from canonical scenes
PASS Permanent Analyse My Book starts from saved book
PASS Story Intelligence canonical context carries provenance
PASS Scene prompt protects canonical scene context
PASS Structural setting rides existing chapter analysis
PASS Explicit narrator labels detect deterministic POV
PASS AI POV JSON parses into structural models
PASS Post character review resolves persisted structural POV
PASS Normal scene and chapter saves persist POV
PASS Character merge is a reusable stored procedure workflow
PASS Story Intelligence character review suppresses resolved narrator POV
PASS Story Intelligence character review reuses structured appearance aliases
PASS Entity preferred names are peer aliases
PASS Story Intelligence review evidence includes chapter scene labels
PASS Story Intelligence import enables project metric defaults before save
PASS Project metrics add defaults backfills scene values
PASS Story Intelligence scene prompt uses configured metrics
PASS Story Intelligence scene prompt uses scene characters terminology
PASS Story Intelligence downstream imports support canonical scene results
PASS Story Intelligence runner supplies metrics and Plot Lines
PASS Story Intelligence metric persistence uses configured keys
PASS Story Intelligence stabilisation gate materialises strict and legacy metrics
PASS Story Intelligence modern materialisation owns finalisation boundary
PASS Story Intelligence narrative materialisation reads strict scene results
PASS Story Intelligence stabilisation routes normal users to book
PASS Story Intelligence narrative candidates require review
PASS Story Intelligence discovers Plot Lines without preconfiguration
PASS Story Intelligence matches existing Plot Lines without duplicates
PASS Narrative research prototype fixture builds hierarchy
PASS Narrative sibling hotel fixture generalises hierarchy
PASS Narrative trivial one-scene question is suppressed
PASS Narrative short significant thread survives
PASS Narrative semantic evolution consolidates by continuity
PASS Narrative existing thread matching is supported
PASS Narrative candidate merge and parent fields are persisted
PASS Narrative prompt uses one scene call with compact schema
PASS Narrative production code remains fixture agnostic
PASS Whole-book Plot Intelligence prompt carries full manuscript context
PASS Whole-book Plot Intelligence schema requires timeline event types
PASS Whole-book Plot Intelligence author seed inputs persist safely
PASS Whole-book Plot Intelligence structured author seed match survives
PASS Whole-book Plot Intelligence unmatched seeds become review candidates
PASS Whole-book Plot Intelligence uses dedicated output token headroom
PASS Story Intelligence narrative review displays author seed provenance
PASS Story Intelligence narrative review avoids raw author-facing IDs
PASS Story Intelligence author seed decisions are preserved
PASS Whole-book Plot Intelligence production code remains fixture agnostic
PASS Story Intelligence narrative review creates canonical records via existing procs
PASS Story Intelligence narrative stage follows knowledge
PASS Word Companion replays live current scene to writing panes
PASS Scan review post supports full-book form submissions
PASS StoryPosition rejects incomplete or invalid runtime scene positions
PASS StoryPosition builds canonical runtime scene navigation
PASS StoryPosition derives canonical scene context identity
PASS Writing Context route uses canonical story context service
PASS Writing Context client follows canonical story position events
PASS Writing Context preserves selected tab and avoids event loops
PASS Writing Intent route uses canonical story context and planning data
PASS Writing Intent client uses shared writing follow helper
PASS Obsolete global Word navigation is removed while writing windows remain live
PASS Appearance preferences and ribbon destinations
PASS Toolbar preferences, authorisation and contextual routes
PASS Application navigation resolves authorised project and book context
PASS Writing pair shares canonical follow infrastructure
PASS Read-only scene hydration preserves author intent without editing, analysis or manuscript recomputation
PASS Read-only scene hydration rejects another user's project before loading workspace data
PASS Verified native projection leaves working focus independent
PASS Native launch opens its exact verified scene rather than the book's first scene
PASS Native Intent retrieves the selected scene's existing purpose and chapter objectives
PASS Opening Context and Intent preserves all author-entered decisions verbatim
PASS Unsaved native mapping waits without loading an unrelated saved scene
PASS A stale database checkpoint cannot launch a scene merely claimed by the last heartbeat
PASS Chapter-capable sessions without accepted position evidence cannot launch claimed scene IDs
PASS A verified chapter with no mapped scene can show its own saved chapter intent
PASS A Word cursor/revision change during server loading cannot render the earlier cursor as current
PASS Native partial requests reject mappings that change during data loading
PASS Native Context launch authorises the book before resolving or displaying its scene
PASS Exact document selection cannot fall back to another connected Word instance
PASS Incomplete native session identity is rejected
PASS Repeated writing reads share request-scoped scene and chronological projection tasks
PASS Context retains earlier verified viewpoint knowledge and excludes future transitions
PASS Another character's future secret is not exposed as current knowledge
PASS Relationship reference stops at the current narrative position
PASS Context rejects mismatched project and book scopes
PASS Existing Timeline and inspector callers retain their full editing model path
PASS Intent retrieves saved decisions without computing narrative histories
PASS A future narrative scene cannot leak into timeline context even when its story date is earlier
PASS Initial thread context ranks current relevant unresolved threads rather than dumping every novel thread
PASS Missing viewpoint does not invent a knowledge perspective
PASS Scene navigation follows manuscript order rather than numeric IDs or other books
PASS Large-manuscript navigation is one bounded in-memory projection with no per-scene database queries
MEASURE writing navigation projection: 48 chapters/4800 scenes, 6.6ms, no SQL or Word.
PASS Writing Context and Intent resolve native sessions, preserve decisions and reuse bounded chronological data
PASS Writing Context Plot Lines preserves canonical associations, developments and book access
PASS Writing workspace presence scopes browser windows
PASS Writing workspace client uses session window identity and stable names
PASS Writing workspace launcher uses progressive screen placement
PASS Writing workspace pages register roles without changing follow behavior
PASS Word marker client acknowledgements require authenticated ownership
PASS Word Companion exposes writing workspace launch actions
PASS Word Companion writing screens receive resolved context identifiers
PASS Word Companion canonical markers drive runtime follow
PASS Word Companion runtime follows multiple imported scene anchors
PASS Word Companion existing project book linking remains available
PASS Word Companion document identity survives reconnect
PASS Word Companion multiscreen launch and follow remain reachable
PASS Word Companion modes remain distinct
PASS Writing pages do not require Story Intelligence
PASS Word Companion host script has valid tab mapping
PASS Writing screens show diagnostic empty states
PASS Word Companion three-screen flow logs connection identifiers
PASS Admin Story Intelligence reset returns to diagnostics with messages
PASS Project hard delete clears Story Intelligence dependencies in transaction
PASS Permanent project delete keeps archive and name safety gates
PASS Word manuscript cleanup classifies PlotDirector markers by tag only
PASS Word manuscript cleanup preserves content controls content
PASS Word manuscript cleanup UI separates unlink from clean unlink
PASS Word manuscript unlink keeps Story Intelligence data untouched
PASS Word manuscript cleanup remains relinkable and idempotent
PASS Story Intelligence Review Centre route replaces linear review resume
PASS Story Intelligence obsolete create scene workflow is removed
PASS Story Intelligence Review Centre counts only needs-attention categories
PASS Story Intelligence Review Centre uses independent tile grid
PASS Story Intelligence Review Centre opens with character gate
PASS Story Intelligence review modules are independent after character gate
PASS Story Intelligence review module completion is durable and independent
PASS Story Intelligence review module pages omit wizard chrome
PASS Story Intelligence downstream review uses completed scene analysis
PASS Story Intelligence review posts do not use success interstitials
PASS Story Intelligence legacy review completion routes are deleted
PASS Story Intelligence review forms share busy submit guard
PASS Story Intelligence heavy review modules offer bounded rendering
PASS Story Intelligence Review Centre adds no AI calls
PASS Story Intelligence Review Centre uses bounded summary query
PASS Story Intelligence character review queues enrichment beside plot synthesis
PASS Story Intelligence character enrichment uses persisted SignalR progress
PASS Story Intelligence character enrichment preserves author fields
PASS Story Intelligence character enrichment batches by prompt size
PASS Story Intelligence character enrichment promotes structured facts
PASS Character detail can queue single-character enrichment
PASS Single-character enrichment is persisted and duplicate safe
PASS Character detail enrichment status uses scoped SignalR
PASS Story Intelligence detailed review GETs use selected module paths
PASS Story Intelligence completed Character review remains inspectable
PASS Story Intelligence Review Centre completed modules use canonical destinations
PASS Story Intelligence detailed reviews read persisted candidate pages
PASS Story Intelligence module completion lifecycle uses persisted candidates
PASS Story Intelligence Job 6 uses bounded concurrent chapter execution
PASS Story Intelligence global progress uses whole run scene totals
PASS Story Intelligence recovered provider failures stay operational
PASS Story Intelligence recovered JSON repair stays operational
PASS Story Intelligence terminal failures remain user visible
PASS Story Intelligence global banner remains visible through finalising gaps
PASS Story Intelligence global banner rejects stale live snapshots
PASS Story Intelligence live global progress publishes authoritative scene aggregates
PASS Story Intelligence global progress survives initial SignalR start races
PASS Story Intelligence scene analysis completion barrier releases review
PASS Story Intelligence active progress only appears in global strip
PASS Story Intelligence book actions do not open review centre while running

View File

@ -0,0 +1 @@
{"Books":"B3A3904499942C1A6A05CF4CDA5DE1BBE61AB74B0D7916011BDA053CAF51553F","Chapters":"B4B80FD2CE3D3CE83E3F2761DBB1E88705C19C03DF8263194BE1DDE472A2975F","Scenes":"34A59866B43A2C45DD9016ADC92E886245D02B0A54488B99593EBA97C10E6399","Goals":null,"Workflow":null,"Checklist":null,"Notes":null,"Objective":"4201AD116AADD73EBA0F2504A692F27B8144728766409F4CE830D5C14A5EB351","Plans":null,"Sessions":null}

View File

@ -0,0 +1 @@
{"Books":"B3A3904499942C1A6A05CF4CDA5DE1BBE61AB74B0D7916011BDA053CAF51553F","Chapters":"B4B80FD2CE3D3CE83E3F2761DBB1E88705C19C03DF8263194BE1DDE472A2975F","Scenes":"34A59866B43A2C45DD9016ADC92E886245D02B0A54488B99593EBA97C10E6399","Goals":null,"Workflow":null,"Checklist":null,"Notes":null,"Objective":"4201AD116AADD73EBA0F2504A692F27B8144728766409F4CE830D5C14A5EB351","Plans":null,"Sessions":null}

View File

@ -0,0 +1 @@
{"Books":"B3A3904499942C1A6A05CF4CDA5DE1BBE61AB74B0D7916011BDA053CAF51553F","Chapters":"B4B80FD2CE3D3CE83E3F2761DBB1E88705C19C03DF8263194BE1DDE472A2975F","Scenes":"34A59866B43A2C45DD9016ADC92E886245D02B0A54488B99593EBA97C10E6399","Goals":null,"Workflow":null,"Checklist":null,"Notes":null,"Objective":"F4908F399F848DB2C08D76A8FC54F7B91D2F54BE2B4E953C76FD0C44F000CD52","Plans":null,"Sessions":"7B1CB1423D8ACBB77FBA2F4167AE50B5AE61F91BF111251381B1E639F18C11DE"}

View File

@ -0,0 +1 @@
{"Books":"B3A3904499942C1A6A05CF4CDA5DE1BBE61AB74B0D7916011BDA053CAF51553F","Chapters":"B4B80FD2CE3D3CE83E3F2761DBB1E88705C19C03DF8263194BE1DDE472A2975F","Scenes":"34A59866B43A2C45DD9016ADC92E886245D02B0A54488B99593EBA97C10E6399","Goals":null,"Workflow":null,"Checklist":null,"Notes":null,"Objective":"F4908F399F848DB2C08D76A8FC54F7B91D2F54BE2B4E953C76FD0C44F000CD52","Plans":null,"Sessions":"7B1CB1423D8ACBB77FBA2F4167AE50B5AE61F91BF111251381B1E639F18C11DE"}

View File

@ -0,0 +1 @@
PASS Writer3 workspace: 200 rendered destination/theme/viewport/browser/simulated-PWA cases; pointer/keyboard limits, collapse, reload, independent preferences, invalid/stale values, storage refusal, responsive overlay/Escape/focus, ribbon height, text scaling, preserved local notes and Help. Isolated MVC fixture. Physical Windows/installed PWA/multi-monitor not tested.

View File

@ -92,3 +92,5 @@ Existing workspace.overview now describes the preserved Writing desk at /Writer/
Destination Help remains at the heading. The layout tooltip/popup icon is grouped with Show/Hide companion and Layout Help, removing ambiguous adjacent heading icons. `writer3.layout` now explains browser modifier shortcuts, PWA Page Help with collapsed ribbon, and control locations. Five destination articles and Write session grouping are updated. Existing micro/quick/full content, popup, drawer and full article are exercised in rendered qualification. Standalone Context/Intent authority and media/accepted-text boundaries remain unchanged.
Phase2C amendment: `writer3.write` explains the single working-focus selection, separate save/record/plan actions, actual objective/session mappings, explicit proofreading recording choice, recording-only activities, active-target differences and optional book-scoped planning. Existing working-context/session/native and planning Help remain authoritative; no data consolidation.
Phase2C qualified: existing micro/quick/full articles, browser popup and PWA drawer verified through targeted and navigation/live suites. Real unified actions and rejection/antiforgery checks passed in Development. See Phase2C-Report.md for full evidence and physical acceptance limits.

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 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 was subsequently explicitly authorised for layout infrastructure and Development deployment; Phase2C is explicitly authorised for inspection, bounded corrections and final Development qualification; Phase3 remains unauthorised. 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 was subsequently explicitly authorised for layout infrastructure and Development deployment; Phase2C is implemented and Development-qualified, including the explicit single-focus workflow amendment; Phase3 remains unauthorised. No feature is retired. Unrelated investigation file is preserved.
## Phase 1 screen and interaction states before implementation
@ -339,4 +339,8 @@ Application `10bf9db9061fdec340acf7ff0df96f3dfd299814`, release `10bf9db-2026111
## Phase 2C authorised scope
[Observed issue register](Phase2C-Issues.md). Pre-change authenticated Development capture complete; correcting observed Explore marker wrapping, collapsed reading widths, Help placement, session hierarchy and modified-key interception. Reuse current routes/ribbon/workspace and storage. No future feature integration. Full regression, browser matrices and Development acceptance pending. Phase3 not started.
[Observed issue register](Phase2C-Issues.md). Pre-change authenticated Development capture complete; correcting observed Explore marker wrapping, collapsed reading widths, Help placement, session hierarchy and modified-key interception. Reuse current routes/ribbon/workspace and storage. No future feature integration. Full regression, browser matrices and Development acceptance passed; see Phase2C-Report.md. Phase3 not started.
## Phase 2C / Phase 2 software completion — 16 November 2026
Application `e9402d0c1673d3dc8afcca26bb344b82fa11caf0`, release `e9402d0-20261116T171812Z`. Observed marker wrapping, wide reading lines, Help ambiguity and modified-key interception corrected. User amendment delivered one focus selection with separate save/record/plan actions, explicit activity adapters and active-session target separation. Existing storage/services/native authority retained. Build0warnings/errors; full harness587 PASS; navigation168 cases, isolated/live workspace200 cases each; focused unification, actual Development objective/session/validation/planning, refinement, Reader/Intent/standalone/native-follow/audio/legacy desk coverage passed. Before/after read-only ten-field hashes identical; fixture projects/account removed, private identity removed. DLL hash/metadata match; service active, TLS GET200, actual deployment-to-acceptance warning journal clear. [Report and before/after evidence](Phase2C-Report.md). Physical Windows/installed PWA/real Word/media/multi-monitor and assistive-technology checks remain manual. Phase3 not started.

View File

@ -1,6 +1,6 @@
# Phase 2C inspection and issue register
Baseline: deployed10bf9db / source01c1197. Authenticated Development renders captured **before any layout changes** using a disposable author and saved scene, at1440×900,1024×900,390×844, Home and all five destinations; Write/Explore expanded/collapsed or narrow overlay variants. Existing six-screen mockup used for hierarchy/density, not literal controls. No horizontal/vertical document overflow in the18 baseline normal states. Before screenshots and geometry are retained in Phase2C evidence.
Baseline: deployed10bf9db / source01c1197. Authenticated Development renders captured **before any layout changes** using a disposable author and saved scene, at1440×900,1024×900,390×844, Home and all five destinations; Write/Explore expanded/collapsed or narrow overlay variants. Existing six-screen mockup used for hierarchy/density, not literal controls. No horizontal overflow in the18 baseline normal states. All destination states and desktop Home fit vertically; narrow Home naturally stacks its cards and scrolls336px. Before screenshots and geometry are retained in Phase2C evidence.
| Issue | Evidence | Bounded correction |
|---|---|---|

View File

@ -0,0 +1,93 @@
# Writer 3.0 Phase 2C completion report
16 November 2026. Implemented, pushed and Development-qualified. Deployed to **Development only**. Phase3 has not begun.
Application commit: `e9402d0c1673d3dc8afcca26bb344b82fa11caf0` on `codex/word-companion-native-phase1-20261104`. Baseline source01c1197 / Phase2B application10bf9db. A subsequent documentation/test-only commit records screenshots, final qualification and stronger test readiness; it does not change the deployed application binary.
## Inspection and bounded corrections
Before modifying the layout, authenticated Development captures covered Home and all five destinations at1440×900,1024×900 and390×844, plus collapsed Write/Explore and narrow companion overlays. All18 baseline normal-state captures had zero horizontal overflow. The five destinations and desktop Home fit vertically; narrow Home intentionally stacks the three cards and scrolls336px, unchanged before/after. Existing mockup direction was retained: clear task hierarchy, compact panels, existing PlotDirector chrome/themes and restrained accents. [Issue register](Phase2C-Issues.md).
| Observed issue | Correction / evidence |
|---|---|
| Explore01 wraps onto two lines at1024px | Fixed-width non-shrinking two-character marker; neighbouring prose still wraps. [Before](Evidence/Phase2C/before/Explore-1024.png) / [after](Evidence/Phase2C/after/Explore-1024.png) |
| Collapsed Write session explanations/rules span an excessive reading width | Cap main content width at80ch while retaining full workspace width and independent scrolling. [Before](Evidence/Phase2C/before/Write-1440-collapsed.png) / [after](Evidence/Phase2C/after/Write-1440-collapsed.png) |
| Anonymous destination and layout question marks compete beside the title | Keep destination Help at heading; move existing layout tooltip/popup beside labelled layout controls. Existing full drawer remains. [Before](Evidence/Phase2C/before/Write-1440.png) / [after](Evidence/Phase2C/after/Write-1440.png) |
| Session controls lack a clear group; objective and session selectors duplicate activity/chapter in edit state | Label existing active controls and implement the user's additional single-focus workflow below. [Unified editor](Evidence/Phase2C/after/Write-unified-editor.png) |
| Divider consumes Alt+Left and other modified arrows | Preserve Ctrl/Alt/Meta shortcuts; reserve ordinary/Shift resize keys. Baseline diagnostic recorded browserHistoryShortcutPrevented=true; targeted browser check now verifies false |
| Regrouped Help tooltip could intercept an adjacent layout button | Scope non-interactive styling to that existing tooltip; popup/article links remain interactive |
| Unified Save inherits white-on-gold text | Scoped existing theme tokens give readable Save text; four-theme contrast≥4.5 assertion added |
Home was already balanced and aligned, with three dominant choices and no desktop overflow; no speculative redesign or extra panels were added. Plan, Review and Reflect retain their own content and primary actions, receiving the shared utility/readability corrections. No ribbon controls/routes were retired or duplicated. Existing selected destination, icons/groups, project/book scope, reload/deep links/history and browser/PWA behavior remain covered by the navigation matrix.
## Additional authorised Current Work unification
The user’s amendment was incorporated into the same Phase2C implementation before deployment, on the same shared branch. This bounded workflow correction does not begin full Phase3 integration.
One editor chooses **What am I doing?**, **Which chapter?**, and **Which scene?**. Chapter changes clear incompatible scenes; scene options are restricted to that chapter. Three separate actions reuse that selection:
- **Save working focus:** existing antiforgery-protected SaveObjective POST; does not record a session. Repeat submission is guarded and canonical SQL still performs a scoped upsert.
- **Record this session:** explicit existing WriterWork Start through its established client, busy guard and retry UUID; does not save an objective. Recording remains optional and independent.
- **Plan writing time:** optional GET to existing book-scoped ScheduleSetup, with a validated selected activity-derived draft/revision goal category; does not save or record. Existing planner chooses chapter/scene allocations later. No scene scheduling engine or new planning store is implied.
A saved objective returns as prominent read-only current work, including chapter identity where applicable, with Change working focus and genuine resume links. The lower toolbar has no second visible activity/chapter selector or redundant Start form. Existing active timing, notes, end, Audio Review and native-bound playback controls remain in the same client-owned DOM, with actual recording activity/chapter. An explicit message identifies a session that differs from the saved focus; editing/saving focus never silently retargets it. [Active recording](Evidence/Phase2C/after/Write-active-session.png) / [different focus/session targets](Evidence/Phase2C/after/Write-different-session-target.png).
Inspected authoritative types:
| Objective activity | Recording behavior |
|---|---|
| Drafting | Existing Writing session type |
| Revising / Editing | Existing Editing type |
| Researching | Existing Planning type |
| Proofreading | No guessed mapping; explicitly choose Editing or Reading review |
| Planning / Reading / AudioReview | Recording-only choices; cannot be saved as objective activities; AudioReview requires a chapter |
`WriterFocusActivities` supplies mapping metadata to the Razor controls. `writer-focus.js` coordinates presentation with the existing session client through scoped events. `_WriterFocusForm` is used only by the new Write destination; original `_ObjectiveForm`, legacy desk and independent Reader/session entry points remain. The shared `WriterWorkToolbar` adds an opt-in Unified parameter; other callers retain their existing behavior. ScheduleSetup accepts only known objective activity hints. No database consolidation, migration, new story authority or native protocol change.
## Help and accessibility
Existing Markdown Help/tag-helper infrastructure is retained. `writer3.write` now explains the single selector set, separate save/record/plan actions, actual activity mappings, explicit proofreading choice, session-only activities and active-target separation. Layout Help explains modified browser keys, new Help placement and PWA Page Help when the ribbon is collapsed. All five destination articles and [Help coverage](Help-Coverage.md) are updated. Tooltip, quick popup, full drawer/article remain usable; no second Help implementation.
Keyboard divider semantics/focus/limits, overlay Escape and Tab exit, per-destination preferences and reduced-motion context remain qualified. Targeted tests scroll active audio controls inside the main panel while document scroll stays zero, retaining unsaved notes and the same session DOM. Home/action contrast coverage is retained and the new Save action is explicitly checked in four themes.
## Qualification results
| Gate | Result |
|---|---|
| `dotnet build PlotLine.slnx` | Passed; zero warnings/errors |
| `dotnet run --project PlotLine.Tests/PlotLine.Tests.csproj` | Passed;587 PASS records, exit0; build/harness serial |
| Existing navigation matrix | Passed168 destination/theme/width/browser/simulated-PWA cases |
| Existing isolated workspace matrix | Passed200 cases, five destinations/four themes/five viewport sizes/browser/simulated PWA, plus pointer/touch/keyboard limits, cancellation, independent preferences, invalid/stale/blocked storage, narrow overlays, ribbon, headless fullscreen and200% text scale |
| Targeted refinement browser test | Passed Help placement/popup, marker wrapping, reading width, modified shortcuts, reduced-motion context, overlay Tab exit and retained active AudioReview DOM/notes/media controls/independent scrolling |
| Unified work browser/PWA test | Passed save-only, repeat Save/Record guards, explicit recording, actual mappings, active/mismatched targets, proofreading choice, AudioReview chapter rule, dependent scenes, optional planning and book switch clearing |
| Preservation suites | Passed standalone launch/reuse/pinning/display-permission fallback, native-follow race/recovery simulations, Reader at three widths/four themes/browser/PWA, Intent assessment/cancel/scope, periodic audio refresh/commands/seeks/stale recovery, intelligent desk and48-case legacy Overview |
| Real authenticated Development workflow | Passed actual objective save/change, explicit Writing start, active ID/chapter isolation while changing objective, note/end, invalid scene pairing and unsupported objective rejection, antiforgery400, scoped revision planning; browser/simulated PWA |
| Authenticated refinement/navigation | Passed populated and empty books, all destinations/Home actions, scope/history/reload/deep links, legacy routes,404 and Help; rendered refinement checks passed |
| Authenticated workspace matrix | Passed all200 rendered cases and interaction checks after explicit font/shell readiness |
| Author-data invariant / cleanup | Both read-only before/after comparisons matched all ten fields; dedicated projects/account removed, RemainingSyntheticAccounts=0; private identity removed |
The real workflow test intentionally changes only disposable fixture objective/session records. It restores the fixture's saved focus and ends recordings; these explicit writes are separate from read-only qualification. Initial inspection hashes matched before/after predeployment navigation. A fresh ten-field baseline after explicit workflow tests is compared with all final opening/resizing/navigation operations. Fields cover Books, Chapters, Scenes, Goals, Workflow, checklist, notes, objectives, plans and sessions. Login/presence and explicit appearance settings are operational data outside that comparison.
A live matrix iteration encountered an unavailable theme function and another captured a transient pre-settled narrow geometry; the precise transient cause was not independently proven. Test diagnostics now assert HTTP200 and application-shell presence, wait for the theme function, fonts and layout-observer frames before measuring. Direct narrow Reflect diagnostics showed stable viewport fit in both modes; no application code was changed during the release. The final full200-case rerun passed. Logs and snapshots are retained in [Evidence/Phase2C](Evidence/Phase2C).
## Development deployment
Release `e9402d0-20261116T171812Z`. Archive `/srv/apps/plotdirector-dev/releases/e9402d0-20261116T171812Z`; rollback `/srv/apps/plotdirector-dev/current-before-e9402d0-20261116T171812Z`.
Fresh Release publish installed with deployed configuration, data protection, uploads and logs preserved. Pre-stop check found no queued/processing import, Story Intelligence, synthesis, pipeline or enrichment work. Service active; local GET and TLS-validated public GET200. DLL informational version contains `1.0.0+e9402d0c1673d3dc8afcca26bb344b82fa11caf0`; published/deployed SHA256 both `052cc7b2d77a836b4336d7eb68e9dbd1ccd944235f43c97c370661ee7133f594`. No Production deployment or SQL migration. Warning/error journal is checked from the actual deployment timestamp through final acceptance.
Verified copy-only checksum backup before fixture creation: `/var/opt/mssql/backup/writer3-phase2c-before-fixtures-20261116.bak`. Fixture setup and guarded cleanup use existing stored procedures. No real author data, production configuration or unrelated investigation work was changed.
## Phase 2 completion and remaining acceptance
The Phase2 software foundation now provides Home, five destinations, contextual existing ribbon, viewport panels, reliable resize/collapse/restore, per-author/destination device preferences and real existing tool entry points. No new companion tabs exist, so selected-section persistence is not applicable; local DOM values remain during collapse. Preferences are device-local. Very short/heavily scaled windows intentionally use document flow. Current companions contain honest links/summaries; full integrated Context/Intent, guided exploration, new planning and process insights remain future phases. Planner setup is book/goal scoped; selecting chapter/scene allocations remains its existing later step.
Physical Windows, actual installed PWA, browser-chrome zoom/high-DPI, assistive-technology announcements, Word/media playback and multiple-monitor placement are not proven by headless Chromium or simulated PWA/native telemetry. Specific manual checks:
1. In Windows browser and installed Development PWA, exercise Home/all destinations, ribbon expanded/collapsed, DPI/zoom/text scaling/fullscreen, keyboard resize and narrow overlay Escape/Tab/focus.
2. Create/change focus, Save without recording, explicitly Record from that selection, choose Proofreading’s recording type, and use optional planning. During a real active session save a different focus; verify actual ID/chapter/timing/note remain and the difference is clear.
3. With supported Windows media and Companion, check active AudioReview pause/seek/note/end and preserved binding while resizing/collapsing. Starting a record does not start external playback automatically.
4. Launch/reuse standalone Context and Intent on available monitors. Check display placement/permission denial, pinned/manual exploration and verified Word following. Layout/focus edits must not navigate Word or change Reader/reference selection.
5. Check owner/collaborator privacy and permission differences with real accounts and Help tooltip/popup/PWA drawer/full article; test storage blocked and device preferences on another browser.
Recommended first Phase3 batch: bounded inline chapter-goal and scene-purpose editing for the authorised saved working focus, reusing existing canonical services/forms, validations and round-trip tests. Preserve the new single selection, active-session isolation and separate Reader/native/pinned authorities. Begin with one proven authoring round trip before adding notes/checklists/attachments or integrated reference editing. **Do not begin Phase3 without explicit authorisation.**

View File

@ -1,10 +1,10 @@
// Explicit writes only to the supplied dedicated disposable Development fixture.
const{chromium}=require('playwright'),assert=require('node:assert/strict'),fs=require('node:fs');
(async()=>{const w=JSON.parse(fs.readFileSync(process.env.PD_WRITER3_IDENTITY));assert(w.Database==='PlotDirector_Development'&&w.Email.endsWith('@example.invalid'));const b=await chromium.launch();try{for(const pwa of[false,true]){const c=await b.newContext({viewport:{width:1440,height:900}});await c.addInitScript(id=>localStorage.setItem('plotdirector.desktop.v1.'+id,JSON.stringify({dismissedAt:Date.now()})),w.UserID);if(pwa)await c.addInitScript(()=>Object.defineProperty(navigator,'standalone',{value:true}));const p=await c.newPage(),base='https://dev.plotdirector.com',url=`${base}/Writer/Write?projectId=${w.project}&bookId=${w.book}`;
await p.goto(base+'/Account/Login');await p.locator('[name=Email]').fill(w.Email);await p.locator('[name=Password]').fill(w.Password);await Promise.all([p.waitForURL('**/Projects'),p.locator('button[type=submit]').click()]);const state=async()=>await(await p.request.get(`${base}/Writer/Work/State?bookId=${w.book}`)).json();
await p.goto(url+'&setup=true');await p.locator('[data-focus-activity]').selectOption('Drafting');await p.locator('[data-objective-chapter]').selectOption(String(w.chapter));await p.locator('[data-objective-scene]').selectOption(String(w.scene));await Promise.all([p.waitForURL(u=>u.pathname==='/Writer/Write'&&!u.searchParams.has('setup')),p.locator('[data-save-focus]').click()]);assert.equal((await state()).session,null,'save does not start session');assert(await p.getByRole('link',{name:'Open current scene',exact:true}).isVisible());
await p.locator('[data-record-focus]:enabled').waitFor();await p.locator('[data-record-focus]').click();await p.locator('[data-work-current]:visible').waitFor();const active=(await state()).session;assert.equal(active.kind,'Writing');assert.equal(active.chapterID,w.chapter);
await p.goto(url+'&setup=true');await p.locator('[data-work-current]:visible').waitFor();assert(await p.locator('[data-record-focus]').isHidden());await p.locator('[data-objective-chapter]').selectOption('');await p.locator('[data-focus-activity]').selectOption('Editing');await Promise.all([p.waitForURL(u=>u.pathname==='/Writer/Write'&&!u.searchParams.has('setup')),p.locator('[data-save-focus]').click()]);await p.locator('[data-focus-session-difference]:visible').waitFor();assert((await p.locator('[data-focus-session-difference]').textContent()).includes('differs'));assert.equal((await state()).session.sessionID,active.sessionID);assert.equal((await state()).session.chapterID,w.chapter);
await p.goto(base+'/Account/Login');await p.locator('[name=Email]').fill(w.Email);await p.locator('[name=Password]').fill(w.Password);await Promise.all([p.waitForURL('**/Projects'),p.locator('button[type=submit]').click()]);const shot=async name=>{if(!pwa&&process.env.PD_WRITER3_SCREENSHOTS){fs.mkdirSync(process.env.PD_WRITER3_SCREENSHOTS,{recursive:true});await p.evaluate(()=>window.PlotDirectorApplyApplicationTheme('modern-dark'));await p.mouse.move(0,0);await p.screenshot({path:process.env.PD_WRITER3_SCREENSHOTS+'/'+name+'.png',animations:'disabled'});}};const state=async()=>await(await p.request.get(`${base}/Writer/Work/State?bookId=${w.book}`)).json();
await p.goto(url+'&setup=true');await p.locator('[data-focus-activity]').selectOption('Drafting');await p.locator('[data-objective-chapter]').selectOption(String(w.chapter));await p.locator('[data-objective-scene]').selectOption(String(w.scene));await shot('Write-unified-editor');await Promise.all([p.waitForURL(u=>u.pathname==='/Writer/Write'&&!u.searchParams.has('setup')),p.locator('[data-save-focus]').click()]);assert.equal((await state()).session,null,'save does not start session');assert(await p.getByRole('link',{name:'Open current scene',exact:true}).isVisible());
await p.locator('[data-record-focus]:enabled').waitFor();await p.locator('[data-record-focus]').click();await p.locator('[data-work-current]:visible').waitFor();const active=(await state()).session;assert.equal(active.kind,'Writing');assert.equal(active.chapterID,w.chapter);await shot('Write-active-session');
await p.goto(url+'&setup=true');await p.locator('[data-work-current]:visible').waitFor();assert(await p.locator('[data-record-focus]').isHidden());await p.locator('[data-objective-chapter]').selectOption('');await p.locator('[data-focus-activity]').selectOption('Editing');await Promise.all([p.waitForURL(u=>u.pathname==='/Writer/Write'&&!u.searchParams.has('setup')),p.locator('[data-save-focus]').click()]);await p.locator('[data-focus-session-difference]:visible').waitFor();assert((await p.locator('[data-focus-session-difference]').textContent()).includes('differs'));assert.equal((await state()).session.sessionID,active.sessionID);assert.equal((await state()).session.chapterID,w.chapter);await shot('Write-different-session-target');
await p.locator('[data-work-note]').fill('Disposable unified workflow acceptance note');await p.locator('[data-work-end]').click();await p.locator('[data-work-current]').waitFor({state:'hidden'});assert.equal((await state()).session,null);
// Canonical endpoint rejects impossible scene/chapter combinations and unsupported objective activities.
const token=await p.locator('[data-work-start] [name=__RequestVerificationToken]').inputValue();for(const fields of[{Activity:'Editing',ChapterID:'',SceneID:String(w.scene)},{Activity:'AudioReview',ChapterID:String(w.chapter),SceneID:''}]){const response=await p.request.post(base+'/Writer/SaveObjective',{form:{__RequestVerificationToken:token,BookID:String(w.book),...fields}});assert.equal(response.status(),200);assert(response.url().includes('setup=True')||response.url().includes('setup=true'));}

View File

@ -7,7 +7,7 @@ const p=await c.newPage(),errors=[];p.on('pageerror',e=>errors.push(e.message));
await p.goto(url);await p.locator('[data-record-focus]:enabled').waitFor();for(const theme of ['modern-dark','modern-light','warm-dark','plotdirector']){await p.evaluate(t=>window.PlotDirectorApplyApplicationTheme(t),theme);await p.locator('[data-save-focus]').screenshot({animations:'disabled'});const contrast=await p.locator('[data-save-focus]').evaluate(n=>{const lum=s=>s.match(/[\d.]+/g).slice(0,3).map(Number).map(x=>{x/=255;return x<=.04045?x/12.92:((x+.055)/1.055)**2.4}).reduce((v,x,i)=>v+x*[.2126,.7152,.0722][i],0),c=getComputedStyle(n),a=lum(c.color),b=lum(c.backgroundColor);return(Math.max(a,b)+.05)/(Math.min(a,b)+.05)});assert(contrast>=4.5,'Save focus label contrast '+theme);}
assert.equal(await p.locator('select[name=ChapterID]').count(),1);assert.equal(await p.locator('[data-work-start] select').count(),0,'one chapter/activity selection');assert.equal(await p.locator('[data-focus-activity]').count(),1);
await p.locator('[data-objective-chapter]').selectOption('21');await p.locator('[data-objective-scene]').selectOption('31');await p.locator('[data-objective-chapter]').selectOption('22');assert.equal(await p.locator('[data-objective-scene]').inputValue(),'');assert(await p.locator('[data-objective-scene] option[value="31"]').evaluate(n=>n.disabled));await p.locator('[data-objective-scene]').selectOption('32');
await p.locator('[data-save-focus]').click();assert.equal(saves.length,1);assert.equal(saves[0].ChapterID,'22');assert.equal(saves[0].SceneID,'32');assert.equal(starts.length,0,'saving never starts recording');
await Promise.all([p.waitForURL('**/Writer/SaveObjective'),p.locator('[data-focus-form]').evaluate(n=>{n.requestSubmit();n.requestSubmit();})]);assert.equal(saves.length,1,'repeated submit saves only once');assert.equal(saves[0].ChapterID,'22');assert.equal(saves[0].SceneID,'32');assert.equal(starts.length,0,'saving never starts recording');
await p.goto(url+'&objective=true');assert.equal(await p.locator('[data-focus-form]').count(),0,'saved focus is read-only by default');assert(await p.getByRole('link',{name:'Change working focus'}).isVisible());await p.locator('[data-record-focus]:enabled').waitFor();let release;blockStart=new Promise(r=>release=r);await p.locator('[data-record-focus]').click();await p.locator('[data-record-focus]').dispatchEvent('click');release();blockStart=null;await p.locator('[data-work-current]:visible').waitFor();assert.equal(starts.length,1);assert.equal(starts[0].chapterId,'21');assert.equal(starts[0].kind,'Editing');assert.equal(saves.length,1,'recording never saves objective');assert(await p.locator('[data-record-focus]').isHidden());
const activeId=session.sessionID;await p.goto(url+'&objective=true&setup=true');await p.locator('[data-work-current]:visible').waitFor();await p.locator('[data-objective-chapter]').selectOption('22');assert.equal(session.sessionID,activeId);assert.equal(session.chapterID,21);assert(await p.locator('[data-record-focus]').isHidden());
session={...session,chapterID:22,chapterTitle:'The harbour',kind:'Writing'};await p.reload();await p.locator('[data-focus-session-difference]:visible').waitFor();assert((await p.locator('[data-focus-session-difference]').textContent()).includes('differs'));assert((await p.locator('[data-work-bound]').textContent()).includes('The harbour'));

View File

@ -6,7 +6,7 @@ const identity=live?JSON.parse(fs.readFileSync(process.env.PD_WRITER3_IDENTITY))
if(live)assert(identity.Database==='PlotDirector_Development'&&identity.Email.endsWith('@example.invalid'));
const book=identity?.book||12,project=identity?.project||7;
const url=d=>`${base}/Writer/${d}?projectId=${project}&bookId=${book}${live?'':'&objective=true&populated=true'}`;
const settle=p=>p.evaluate(()=>new Promise(r=>requestAnimationFrame(()=>requestAnimationFrame(r))));
const settle=p=>p.evaluate(async()=>{await document.fonts.ready;await new Promise(r=>requestAnimationFrame(()=>requestAnimationFrame(()=>requestAnimationFrame(r))));});
const width=p=>p.locator('.writer3-reference').evaluate(n=>n.getBoundingClientRect().width);
(async()=>{const browser=await chromium.launch();let combinations=0;try{
for(const pwa of [false,true]){
@ -69,8 +69,8 @@ const width=p=>p.locator('.writer3-reference').evaluate(n=>n.getBoundingClientRe
await page.evaluate(()=>{for(const k of Object.keys(localStorage).filter(k=>k.startsWith('plotdirector.writerLayout.')))localStorage.setItem(k,JSON.stringify({version:1,width:1e9,collapsed:'false'}));});await page.reload();assert((await width(page))<800);assert(await page.locator('.writer3-reference').isVisible());
await page.evaluate(()=>{for(const k of Object.keys(localStorage).filter(k=>k.startsWith('plotdirector.writerLayout.')))localStorage.removeItem(k);});
for(const theme of ['modern-dark','modern-light','warm-dark','plotdirector'])for(const size of [{width:390,height:844},{width:1024,height:768},{width:1440,height:900},{width:1920,height:1080},{width:2560,height:1440}])for(const d of ['Write','Explore','Plan','Review','Reflect']){
await page.setViewportSize(size);await page.goto(url(d));await page.evaluate(t=>window.PlotDirectorApplyApplicationTheme(t),theme);await settle(page);
const geometry=await page.evaluate(()=>({x:document.documentElement.scrollWidth-innerWidth,y:document.documentElement.scrollHeight-innerHeight,bottom:document.querySelector('.writer3-workspace').getBoundingClientRect().bottom}));
await page.setViewportSize(size);const response=await page.goto(url(d));assert.equal(response.status(),200,`workspace ${d} HTTP status at ${page.url()}`);assert.equal(await page.locator('[data-ribbon-shell]').count(),1,`application shell missing at ${page.url()}`);await page.waitForFunction(()=>typeof window.PlotDirectorApplyApplicationTheme==='function');await page.evaluate(t=>window.PlotDirectorApplyApplicationTheme(t),theme);await settle(page);
const geometry=await page.evaluate(()=>({x:document.documentElement.scrollWidth-innerWidth,y:document.documentElement.scrollHeight-innerHeight,bottom:document.querySelector('.writer3-workspace').getBoundingClientRect().bottom,root:document.querySelector('.writer3').className,height:document.querySelector('.writer3').style.cssText}));
assert(geometry.x<=2,`${d}/${theme}/${size.width} horizontal overflow`);assert(geometry.y<=3,`${d}/${theme}/${size.width} unnecessary page scroll ${JSON.stringify(geometry)}`);
assert(geometry.bottom<=size.height+2);combinations++;
}