diff --git a/Docs/Writer/Writer3/Evidence/Phase3D1/Explore-investigation-narrow.png b/Docs/Writer/Writer3/Evidence/Phase3D1/Explore-investigation-narrow.png new file mode 100644 index 00000000..2d55b0ae Binary files /dev/null and b/Docs/Writer/Writer3/Evidence/Phase3D1/Explore-investigation-narrow.png differ diff --git a/Docs/Writer/Writer3/Evidence/Phase3D1/Explore-investigation-result.png b/Docs/Writer/Writer3/Evidence/Phase3D1/Explore-investigation-result.png new file mode 100644 index 00000000..ad80a756 Binary files /dev/null and b/Docs/Writer/Writer3/Evidence/Phase3D1/Explore-investigation-result.png differ diff --git a/Docs/Writer/Writer3/Evidence/Phase3D1/Explore-investigation-start.png b/Docs/Writer/Writer3/Evidence/Phase3D1/Explore-investigation-start.png new file mode 100644 index 00000000..c36b8d1e Binary files /dev/null and b/Docs/Writer/Writer3/Evidence/Phase3D1/Explore-investigation-start.png differ diff --git a/Docs/Writer/Writer3/Evidence/Phase3D1/Review-continuous-middle.png b/Docs/Writer/Writer3/Evidence/Phase3D1/Review-continuous-middle.png new file mode 100644 index 00000000..f3c467bc Binary files /dev/null and b/Docs/Writer/Writer3/Evidence/Phase3D1/Review-continuous-middle.png differ diff --git a/Docs/Writer/Writer3/Evidence/Phase3D1/Review-continuous-narrow.png b/Docs/Writer/Writer3/Evidence/Phase3D1/Review-continuous-narrow.png new file mode 100644 index 00000000..29da4009 Binary files /dev/null and b/Docs/Writer/Writer3/Evidence/Phase3D1/Review-continuous-narrow.png differ diff --git a/Docs/Writer/Writer3/Evidence/Phase3D1/Review-continuous-top.png b/Docs/Writer/Writer3/Evidence/Phase3D1/Review-continuous-top.png new file mode 100644 index 00000000..cdd17363 Binary files /dev/null and b/Docs/Writer/Writer3/Evidence/Phase3D1/Review-continuous-top.png differ diff --git a/Docs/Writer/Writer3/Evidence/Phase3D1/backup-verification.log b/Docs/Writer/Writer3/Evidence/Phase3D1/backup-verification.log new file mode 100644 index 00000000..7bc29b17 --- /dev/null +++ b/Docs/Writer/Writer3/Evidence/Phase3D1/backup-verification.log @@ -0,0 +1 @@ +862093312 bytes /var/opt/mssql/backup/writer3-phase3d1-before-273-20261117.bak diff --git a/Docs/Writer/Writer3/Evidence/Phase3D1/build.log b/Docs/Writer/Writer3/Evidence/Phase3D1/build.log new file mode 100644 index 00000000..ccef5fbd --- /dev/null +++ b/Docs/Writer/Writer3/Evidence/Phase3D1/build.log @@ -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:35.44 diff --git a/Docs/Writer/Writer3/Evidence/Phase3D1/cleanup.log b/Docs/Writer/Writer3/Evidence/Phase3D1/cleanup.log new file mode 100644 index 00000000..7e406150 --- /dev/null +++ b/Docs/Writer/Writer3/Evidence/Phase3D1/cleanup.log @@ -0,0 +1,5 @@ +{"":true} +{"RemainingSyntheticAccounts":0} +{"RemainingInvestigations":0} +{"RemainingInvestigationEvents":0} +{"RemainingReviewObservations":0} diff --git a/Docs/Writer/Writer3/Evidence/Phase3D1/continuous-browser.log b/Docs/Writer/Writer3/Evidence/Phase3D1/continuous-browser.log new file mode 100644 index 00000000..7f8e377f --- /dev/null +++ b/Docs/Writer/Writer3/Evidence/Phase3D1/continuous-browser.log @@ -0,0 +1 @@ +PASS continuous Review: long canonical Reader flows through document at1440/1024/390 in browser/simulated PWA; no nested manuscript scroll, document anchor restoration, Focused Reading and passage observation overlay retained. diff --git a/Docs/Writer/Writer3/Evidence/Phase3D1/deployment-journal.log b/Docs/Writer/Writer3/Evidence/Phase3D1/deployment-journal.log new file mode 100644 index 00000000..6ba17d74 --- /dev/null +++ b/Docs/Writer/Writer3/Evidence/Phase3D1/deployment-journal.log @@ -0,0 +1 @@ +-- No entries -- diff --git a/Docs/Writer/Writer3/Evidence/Phase3D1/deployment-verification.log b/Docs/Writer/Writer3/Evidence/Phase3D1/deployment-verification.log new file mode 100644 index 00000000..b3a3be39 --- /dev/null +++ b/Docs/Writer/Writer3/Evidence/Phase3D1/deployment-verification.log @@ -0,0 +1,6 @@ +active +Local GET 200 +Development TLS GET 200 +e0e29cb3a844c82e5a20d9075d84e5a3a704f6980fc13c6aae2c3c2cbdb7aba3 /home/nick/writer3d1-publish-62fa292-zIXaXS/PlotLine.dll +e0e29cb3a844c82e5a20d9075d84e5a3a704f6980fc13c6aae2c3c2cbdb7aba3 /srv/apps/plotdirector-dev/current/PlotLine.dll +.1.0.0+62fa292f818073ca2cded067ed286c93a4663e48 diff --git a/Docs/Writer/Writer3/Evidence/Phase3D1/existing-data-after.jsonl b/Docs/Writer/Writer3/Evidence/Phase3D1/existing-data-after.jsonl new file mode 100644 index 00000000..091d2a1b --- /dev/null +++ b/Docs/Writer/Writer3/Evidence/Phase3D1/existing-data-after.jsonl @@ -0,0 +1 @@ +{"Books":"3289871B4A9B7A5D4191F627B3631CDA4619FBE30CE2A4A72306216657B163BA","Chapters":"12718616E23B5D0B12AB565BD5F95ED97E4E65797CA5478A4213B23E8E6533A3","Scenes":"A1066438CC434766766BA35A2FB97551DCB0D758D511F3404E0D0053E60EC192","BookParagraphManuscripts":"15A9A6CFC3976FBC6083543AEECF341E6A2E3ED837292C9E7FAAC9D8538BEBD9","ChapterGoals":"B386DCE839780335550E3323ED278F9375D9E3330026DAE615A1F79947166C12","WriterWorkingObjectives":"914DA74F427B50883CB14EF209A06D58A1F1FBAAD7B273F0210A1EBBFF5CFF13","WriterReviewObservations":"8B3220431DA45A6653D147BFD49EA9154DD7938E845955A871C0B10877CE0D1F","WriterWorkSessions":"980B0040C7947582AF145B79DA343356F83F9C4513420FE28C9987C5902E2BE9"} diff --git a/Docs/Writer/Writer3/Evidence/Phase3D1/existing-data-before.jsonl b/Docs/Writer/Writer3/Evidence/Phase3D1/existing-data-before.jsonl new file mode 100644 index 00000000..091d2a1b --- /dev/null +++ b/Docs/Writer/Writer3/Evidence/Phase3D1/existing-data-before.jsonl @@ -0,0 +1 @@ +{"Books":"3289871B4A9B7A5D4191F627B3631CDA4619FBE30CE2A4A72306216657B163BA","Chapters":"12718616E23B5D0B12AB565BD5F95ED97E4E65797CA5478A4213B23E8E6533A3","Scenes":"A1066438CC434766766BA35A2FB97551DCB0D758D511F3404E0D0053E60EC192","BookParagraphManuscripts":"15A9A6CFC3976FBC6083543AEECF341E6A2E3ED837292C9E7FAAC9D8538BEBD9","ChapterGoals":"B386DCE839780335550E3323ED278F9375D9E3330026DAE615A1F79947166C12","WriterWorkingObjectives":"914DA74F427B50883CB14EF209A06D58A1F1FBAAD7B273F0210A1EBBFF5CFF13","WriterReviewObservations":"8B3220431DA45A6653D147BFD49EA9154DD7938E845955A871C0B10877CE0D1F","WriterWorkSessions":"980B0040C7947582AF145B79DA343356F83F9C4513420FE28C9987C5902E2BE9"} diff --git a/Docs/Writer/Writer3/Evidence/Phase3D1/invariants.log b/Docs/Writer/Writer3/Evidence/Phase3D1/invariants.log new file mode 100644 index 00000000..13714863 --- /dev/null +++ b/Docs/Writer/Writer3/Evidence/Phase3D1/invariants.log @@ -0,0 +1,7 @@ +{"Investigations":4,"MinimumVersion":13,"MaximumVersion":13} +{"EventHistoryMismatches":0} +{"WrongCatalogueVersions":0} +{"AcceptedFixtureRevision":1,"Paragraphs":101} +{"FixtureGoals":0} +{"ActiveFixtureSessions":0} +{"ReviewObservations":2} diff --git a/Docs/Writer/Writer3/Evidence/Phase3D1/investigation-browser.log b/Docs/Writer/Writer3/Evidence/Phase3D1/investigation-browser.log new file mode 100644 index 00000000..62f2c325 --- /dev/null +++ b/Docs/Writer/Writer3/Evidence/Phase3D1/investigation-browser.log @@ -0,0 +1 @@ +PASS Guided Investigation browser/simulated PWA: authenticated Explore, dynamic deterministic witness from general concern to character destination, saved unfinished explanation, resume, authored evidence summary, safe scoped destination, CSRF400, cross-book404, stale409 retained text, revision, narrow keyboard/radio/overflow, Markdown Help, no iframe or AI calls; isolated admin diagnostics/replay and cross-user controls where enabled. diff --git a/Docs/Writer/Writer3/Evidence/Phase3D1/layout-explore-browser.log b/Docs/Writer/Writer3/Evidence/Phase3D1/layout-explore-browser.log new file mode 100644 index 00000000..b82fe1a9 --- /dev/null +++ b/Docs/Writer/Writer3/Evidence/Phase3D1/layout-explore-browser.log @@ -0,0 +1 @@ +PASS five destinations compact viewport use and controlled scrolled-shell geometry; Explore has three distinct authenticated scoped tool routes and no public solver/iframe. diff --git a/Docs/Writer/Writer3/Evidence/Phase3D1/live-investigation.log b/Docs/Writer/Writer3/Evidence/Phase3D1/live-investigation.log new file mode 100644 index 00000000..62f2c325 --- /dev/null +++ b/Docs/Writer/Writer3/Evidence/Phase3D1/live-investigation.log @@ -0,0 +1 @@ +PASS Guided Investigation browser/simulated PWA: authenticated Explore, dynamic deterministic witness from general concern to character destination, saved unfinished explanation, resume, authored evidence summary, safe scoped destination, CSRF400, cross-book404, stale409 retained text, revision, narrow keyboard/radio/overflow, Markdown Help, no iframe or AI calls; isolated admin diagnostics/replay and cross-user controls where enabled. diff --git a/Docs/Writer/Writer3/Evidence/Phase3D1/live-review.log b/Docs/Writer/Writer3/Evidence/Phase3D1/live-review.log new file mode 100644 index 00000000..4f82b7e5 --- /dev/null +++ b/Docs/Writer/Writer3/Evidence/Phase3D1/live-review.log @@ -0,0 +1 @@ +PASS real authenticated Development continuous Review:101 accepted synthetic paragraphs, long document scroll without nested manuscript scroll, sticky companion and retained deep reading position while creating anchored observation, exact original reference, Focused Reading, explicit revisit and narrow observation overlay. Only disposable source/observation used; no physical Word/media tested. diff --git a/Docs/Writer/Writer3/Evidence/Phase3D1/native-regressions.log b/Docs/Writer/Writer3/Evidence/Phase3D1/native-regressions.log new file mode 100644 index 00000000..8b66544b --- /dev/null +++ b/Docs/Writer/Writer3/Evidence/Phase3D1/native-regressions.log @@ -0,0 +1,294 @@ +PASS One controllable audio source is selected automatically +PASS Ambiguous media sources require selection +PASS Explicit source selection resolves ambiguity +PASS Missing telemetry retains the binding and the same paused source can recover +PASS An existing review cannot switch to a different native media key +PASS selection scheduler coalesces bursts +PASS Word operation timing recorded +PASS only latest selection executes on owner +PASS obsolete Word work cancelled +PASS bounded Word queue accepts capacity slot 0 +PASS bounded Word queue accepts capacity slot 1 +PASS bounded Word queue accepts capacity slot 2 +PASS bounded Word queue accepts capacity slot 3 +PASS bounded Word queue accepts capacity slot 4 +PASS bounded Word queue accepts capacity slot 5 +PASS bounded Word queue accepts capacity slot 6 +PASS bounded Word queue accepts capacity slot 7 +PASS bounded Word queue accepts capacity slot 8 +PASS bounded Word queue accepts capacity slot 9 +PASS bounded Word queue accepts capacity slot 10 +PASS bounded Word queue accepts capacity slot 11 +PASS bounded Word queue accepts capacity slot 12 +PASS bounded Word queue accepts capacity slot 13 +PASS bounded Word queue accepts capacity slot 14 +PASS bounded Word queue accepts capacity slot 15 +PASS bounded Word queue accepts capacity slot 16 +PASS bounded Word queue accepts capacity slot 17 +PASS bounded Word queue accepts capacity slot 18 +PASS bounded Word queue accepts capacity slot 19 +PASS bounded Word queue accepts capacity slot 20 +PASS bounded Word queue accepts capacity slot 21 +PASS bounded Word queue accepts capacity slot 22 +PASS bounded Word queue accepts capacity slot 23 +PASS bounded Word queue accepts capacity slot 24 +PASS bounded Word queue accepts capacity slot 25 +PASS bounded Word queue accepts capacity slot 26 +PASS bounded Word queue accepts capacity slot 27 +PASS bounded Word queue accepts capacity slot 28 +PASS bounded Word queue accepts capacity slot 29 +PASS bounded Word queue accepts capacity slot 30 +PASS bounded Word queue accepts capacity slot 31 +PASS bounded Word queue accepts capacity slot 32 +PASS bounded Word queue accepts capacity slot 33 +PASS bounded Word queue accepts capacity slot 34 +PASS bounded Word queue accepts capacity slot 35 +PASS bounded Word queue accepts capacity slot 36 +PASS bounded Word queue accepts capacity slot 37 +PASS bounded Word queue accepts capacity slot 38 +PASS bounded Word queue accepts capacity slot 39 +PASS bounded Word queue accepts capacity slot 40 +PASS bounded Word queue accepts capacity slot 41 +PASS bounded Word queue accepts capacity slot 42 +PASS bounded Word queue accepts capacity slot 43 +PASS bounded Word queue accepts capacity slot 44 +PASS bounded Word queue accepts capacity slot 45 +PASS bounded Word queue accepts capacity slot 46 +PASS bounded Word queue accepts capacity slot 47 +PASS bounded Word queue accepts capacity slot 48 +PASS bounded Word queue accepts capacity slot 49 +PASS bounded Word queue accepts capacity slot 50 +PASS bounded Word queue accepts capacity slot 51 +PASS bounded Word queue accepts capacity slot 52 +PASS bounded Word queue accepts capacity slot 53 +PASS bounded Word queue accepts capacity slot 54 +PASS bounded Word queue accepts capacity slot 55 +PASS bounded Word queue accepts capacity slot 56 +PASS bounded Word queue accepts capacity slot 57 +PASS bounded Word queue accepts capacity slot 58 +PASS bounded Word queue accepts capacity slot 59 +PASS bounded Word queue accepts capacity slot 60 +PASS bounded Word queue accepts capacity slot 61 +PASS bounded Word queue accepts capacity slot 62 +PASS bounded Word queue accepts capacity slot 63 +PASS Word queue rejects overflow without waiting +PASS Word scheduler rejects wrong thread +PASS author activity suspends low priority work +PASS IPC coalesces selection storm to latest value +PASS coalesced position is latest +PASS IPC snapshot queue backpressure bounded +PASS IPC selection session slots bounded +PASS missing required protocol capabilities refused +PASS three books have independent live sessions +PASS commit structural snapshot Discovery +PASS positional scene resolution independent of repeated text Discovery +PASS commit structural snapshot Reckoning +PASS positional scene resolution independent of repeated text Reckoning +PASS commit structural snapshot Redemption +PASS positional scene resolution independent of repeated text Redemption +PASS rapid three-document switching preserves active identity +PASS cancelled snapshot cannot commit +PASS partial snapshot cannot masquerade as complete +PASS oversized extraction fragment refused +PASS stale revision refused +PASS peer cannot address another instance lease +PASS duplicate/out-of-order sequence refused +PASS closing one document retires only its state +PASS old disconnect cannot retire replacement lease +PASS disconnect releases all owned sessions and snapshots +PASS one Word process cannot route into another process document +PASS terminating one Word process preserves another instance +PASS new observation revision invalidates in-flight old extraction +PASS malformed null document cannot crash agent session processing +PASS oversized frame rejected before allocation +PASS versioned frame round-trip retains identity +PASS offline work persisted without manuscript prose +PASS On Save mode cannot be triggered by automatic quiet period +PASS offline work survives agent restart +PASS new scene revision supersedes queued older work +PASS stale offline revision cannot replace newer work +PASS old acknowledgement cannot remove newer work +PASS matching idempotency acknowledgement retires work +PASS durable queue rejects capacity overflow +PASS real pipe rejects incompatible handshake +PASS same-version optional capabilities remain compatible +PASS agent advertises optional structural review capability +PASS real named-pipe handshake reconciles three documents +PASS agent receives actual asynchronous positional/lifecycle traffic +PASS real pipe returns document analysis results +PASS agent shutdown retires peer sessions +PASS idle keepalive detects agent loss without a Word event +PASS agent restart reconnects and reconciles without UI waits +PASS analysis can be repeated after actual pipe host restart +PASS real pipe document close is isolated +PASS link shutdown cancels background worker promptly +PASS untrusted agent owner callback rejects connection before handshake +PASS unresponsive agent handshake times out off producer thread +PASS theme policy follows Windows with accessible light fallback +PASS connection requires verified fresh health +PASS cached server success never produces stale green state +PASS expired sign-in has actionable explanation +PASS first run remains useful without Word +PASS book association precedes analysis +PASS analysis completion never claims import completion +PASS pending browser approval has no duplicate sign-in action +PASS explicit connected state still requires current verification +PASS Advanced mode is off for new installations +PASS trusted access renewal does not offer repeated browser sign-in +PASS invalid installation offers the existing browser sign-in action +PASS server success never implies Word is connected +PASS stale Word registration cannot be displayed as connected to book +PASS ribbon cleanup matches exact legacy marker identifiers only +PASS maintenance recognises established PlotDirector marker ownership +PASS maintenance leaves unrelated controls and bookmarks alone +PASS document-property deletion uses an explicit owned allowlist +PASS blank document has an explicit empty analysis +PASS normal snapshot counts across split fragments without retaining review candidates +PASS plain chapter labels and separators become review suggestions +PASS ambiguous text and heading levels explain uncertainty instead of approving import +PASS analysis reuses existing PlotDirector marker interpretation +PASS fragment splits do not inflate word or paragraph counts +PASS 250000-word many-paragraph manuscript analysed incrementally +Agent synthetic 250000-word analysis: 103ms (not Word extraction/UI timing). +PASS review suggestion storage is bounded with explicit truncation +PASS analysis results are paginated +PASS review page fits bounded IPC frame +PASS analysis result contract round-trips over framing +PASS document-specific analysis returns structured results and progress +PASS document-specific analysis returns structured results and progress +PASS document-specific analysis returns structured results and progress +PASS another document's snapshot cannot retrieve results +PASS analysis acknowledges bounded partial progress before cancellation +PASS cancelled analysis cannot complete +PASS analysis waiting for Word scheduler is cancellable +PASS pending analysis cancellation does not require extraction +PASS review rejects results from a different document +PASS late results cannot replace cancellation +PASS new analysis rejects obsolete revision and snapshot +PASS review completes only matching analysis +PASS selection replies cannot regress completed review progress +PASS late page zero cannot replace requested later page +PASS agent restart releases document analysis state +PASS native connection rejects unsafe site root +PASS native connection rejects unsafe site root +PASS native connection rejects unsafe site root +PASS native connection rejects unsafe site root +PASS native connection rejects unsafe site root +PASS incompatible agent handshake enters recovery instead of killing the client worker +PASS browser-approved sign-in loads only authorised book choices +PASS sign-in and local work never upload chapter prose +PASS AI chapter capture starts only after an explicit command +PASS bounded chapter capture reports progress without submitting early +PASS duplicate submit uses one HTTP call and preserves exact chapter mapping +PASS worst-case bounded AI page fits IPC framing +PASS AI result contract round-trips on actual frame codec +PASS unchanged chapter uses agent content fingerprint without another prose upload +PASS late cancellation cannot retire a replacement AI chapter +PASS another document cannot retrieve an AI result +PASS cancelled network chapter cannot reappear in review +PASS authorisation failure is isolated and actionable +PASS malformed AI fields fail safely instead of leaving a chapter spinning +PASS upload consent pins document snapshot and authentication context +PASS account/site change refuses old consent before any chapter HTTP upload +PASS sign-out forgets credential and book list +PASS local chapters supply explicit nonoverlapping AI extraction ranges +PASS duplicate live session identity cannot cross Word instances +PASS book association round-trips stable identity and server in one metadata value +PASS remembered book restores by authorised identifier after a title change +PASS saved association cannot cross server or bypass accessible-book permissions +PASS invalid identity and non-root saved site are rejected +PASS expired verification never presents cached sign-in/book as live +PASS IPC outage overrides previously successful server state +PASS book switch rejects late saved data +PASS late successful response cannot revive a cancelled client preview +PASS one parent chapter is retained across local and AI pages +PASS cross-page preview selection is bounded without silently dropping selected rows +PASS multiple document saved contexts remain isolated +PASS older workspace binding cannot fetch or overwrite a replacement +PASS cancelled import preview cannot reappear after delayed completion +PASS unfinished snapshot reports count unavailable rather than zero +PASS ordinary structural snapshots report a count without explicit analysis +PASS selection reuses completed count without another extraction +PASS new structural snapshot refreshes saved scene at stationary cursor without a selection event +PASS document revision invalidates completed snapshot word count +PASS server loss clears a previously verified online indicator +PASS explicit connection check detects recovery +PASS authentication expiry rotates scope and removes verified authentication +PASS expired credentials cannot display an old authenticated workspace +PASS snapshot cache transfers only changed paragraph prose using acknowledged server occurrence IDs +PASS another live document cannot use this session's delta base +PASS account switching never reuses prior account cache identities or source +PASS mismatched server base falls back to a complete authorised snapshot +PASS agent restart/disconnect has no plaintext cache dependency; server reconciliation recovers from full snapshot +PASS Open Companion activates existing agent without another UI process +PASS presentation collections are isolated from background chapter updates +PASS tray detection command addresses exact document session and follows cancellation +PASS tray chapter list uses Heading 1 not paragraph-name heuristics and remains document-isolated +PASS tray preserves original leading front-matter exclusions before Heading 1 chapters +PASS tray book association is explicit and isolated +PASS native workspace allowlist rejects Writer before URI decoding or browser invocation +PASS Return to Writer launches the authenticated same-origin URL for the exact bound document +PASS malformed or foreign launch path never reaches the browser +PASS Return to Writer rejects a stale document without launching a page +PASS tray refuses unauthorised books before Word metadata command +PASS stationary scene does not repeatedly post presence between heartbeats +PASS changed scene posts lightweight presence before the periodic heartbeat +PASS another Word document cannot acknowledge this navigation +PASS exact adapter result reaches document-scoped presence acknowledgement +PASS stale native acknowledgement cannot replace completed navigation +PASS native execution gate rejects foreign session, dirty state and expired UI queue without COM work +PASS reconciliation preserves verified book and monotonic heartbeat state +PASS wizard request reuses bounded snapshot IPC and acknowledges only the completed server transfer +PASS one rejected book registration does not disconnect other authorised books +PASS explicit tray selection starts chapter-only extraction queue +PASS multiple document AI batches serialize against existing per-author provider limits +PASS tray cancellation stops queued chapters without affecting another document +PASS late disconnect cannot remove a replacement tray lease or its verified session-only book association +PASS older Word adapter cannot receive unsupported maintenance commands +PASS maintenance requires explicit adapter capability negotiation +PASS inspection command targets exact selected document and revision +PASS another document cannot replace pending inspection results +PASS correlated inspection result is available in Advanced settings +PASS remember targets the selected document and waits for Word acknowledgement +PASS another Word document cannot acknowledge the association +PASS matching Word acknowledgement shows a save reminder +PASS normal Word save clears the reminder +PASS unlink does not claim success before Word acknowledges cleanup +PASS failed cleanup preserves document association +PASS association reset retains live-session manuscript identity while removing persisted metadata +PASS acknowledged reset unlinks only the selected session +PASS pipe disconnect removes exact Word instance sessions and pending control work +PASS new book invalidation during an in-flight check is not lost; existing presence refreshes without restart or approval +PASS unchanged catalogue does not trigger repeated book-list polling +PASS unassociated Word manuscript is visible without automatically uploading prose +PASS explicit wizard request associates a new authorised book and queues extraction for the exact existing session +PASS first pairing saves approved installation, not a four-hour-only sign-in +PASS native activity observation persists before offline delivery +PASS pending outbox uses a protected state version that older agents refuse instead of discarding observations +PASS offline retries preserve immutable identity without duplicate queue entries +PASS short-lived access tokens are never persisted in settings +PASS normal process disposal preserves trust and settings +PASS offline startup makes a bounded renewal attempt without browser approval +PASS drained outbox restores the older compatible settings version +PASS native restart recovers and acknowledges durable observation without prose upload +PASS process/network recovery restores scoped association and preferences without interaction +PASS expired authentication displays sign-in required and retains the open document's saved association +PASS reauthentication restores the existing open manuscript without writing a new association +PASS access expiry renews without changing account context or asking for browser approval +PASS persisted association is not restored when current book permission is missing +PASS lost renewal response retains the exact pending rotation securely for recovery +PASS restart recovers committed rotation and acquires a fresh process connection without re-pairing +PASS offline explicit sign-out disables local trust and durably queues server revocation +PASS signed-out process restart never silently resumes the old account +PASS queued sign-out revokes server approval after connectivity returns +PASS account switching never delivers the previous account's queued activity under new credentials +PASS account change requires explicit approval and cannot reuse another account's manuscript association +PASS server revocation stops renewal and requires a genuine new approval +PASS startup, renewal, settings, reconnect and sign-out never upload manuscript prose +PASS credential files contain protected bytes, never clear credentials +PASS protected settings round trip through injected protection on Linux +PASS a different user protection key cannot read saved approval +PASS tampering with the account scope cannot decrypt or redirect an approval +PASS failed protected write preserves the previous complete settings file +PASS production protection never falls back to plaintext on non-Windows hosts +Native foundation: 292 checks passed. Linux named-pipe API uses Unix domain sockets; Windows ACL/COM/Word responsiveness NOT verified. diff --git a/Docs/Writer/Writer3/Evidence/Phase3D1/navigation-browser.log b/Docs/Writer/Writer3/Evidence/Phase3D1/navigation-browser.log new file mode 100644 index 00000000..d8157841 --- /dev/null +++ b/Docs/Writer/Writer3/Evidence/Phase3D1/navigation-browser.log @@ -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. diff --git a/Docs/Writer/Writer3/Evidence/Phase3D1/prestop.jsonl b/Docs/Writer/Writer3/Evidence/Phase3D1/prestop.jsonl new file mode 100644 index 00000000..678aa2c5 --- /dev/null +++ b/Docs/Writer/Writer3/Evidence/Phase3D1/prestop.jsonl @@ -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} diff --git a/Docs/Writer/Writer3/Evidence/Phase3D1/publish.log b/Docs/Writer/Writer3/Evidence/Phase3D1/publish.log new file mode 100644 index 00000000..583f1b2b --- /dev/null +++ b/Docs/Writer/Writer3/Evidence/Phase3D1/publish.log @@ -0,0 +1,5 @@ + Determining projects to restore... + All projects are up-to-date for restore. + PlotDirector.Companion.Protocol -> /srv/repos/PlotDirector/PlotDirector.NativeCompanion/Protocol/bin/Release/netstandard2.0/PlotDirector.Companion.Protocol.dll + PlotLine -> /srv/repos/PlotDirector/PlotLine/bin/Release/net10.0/PlotLine.dll + PlotLine -> /home/nick/writer3d1-publish-62fa292-zIXaXS/ diff --git a/Docs/Writer/Writer3/Evidence/Phase3D1/readonly-after.jsonl b/Docs/Writer/Writer3/Evidence/Phase3D1/readonly-after.jsonl new file mode 100644 index 00000000..a60f1143 --- /dev/null +++ b/Docs/Writer/Writer3/Evidence/Phase3D1/readonly-after.jsonl @@ -0,0 +1 @@ +{"WriterInvestigations":"0E0A3CAC43CD8193D3538CE1194BEFFDC972D6A9B46F70C29ACB21CE21056CE8","WriterInvestigationEvents":"C88C42BC3F248C0212ADD5CCBDE57D7FC0C14E8963F593EA8CDA6136BB448BB4","WriterReviewObservations":"A60FCA32C315A34BEF4180AED4A63950C9B3A342047BCFADA806B0055E1D33FE","WriterWorkingObjectives":null,"WriterWorkSessions":null,"BookParagraphManuscripts":"E244A53F0A8FA96D76E67C069965BDFFB1392A7B32622CFA04A3D344F6798E68","Chapters":"12AF6664D57803222243425744F1FD9D58030EB0462108CBD75BC79F346E12E1","ChapterGoals":null} diff --git a/Docs/Writer/Writer3/Evidence/Phase3D1/readonly-before.jsonl b/Docs/Writer/Writer3/Evidence/Phase3D1/readonly-before.jsonl new file mode 100644 index 00000000..a60f1143 --- /dev/null +++ b/Docs/Writer/Writer3/Evidence/Phase3D1/readonly-before.jsonl @@ -0,0 +1 @@ +{"WriterInvestigations":"0E0A3CAC43CD8193D3538CE1194BEFFDC972D6A9B46F70C29ACB21CE21056CE8","WriterInvestigationEvents":"C88C42BC3F248C0212ADD5CCBDE57D7FC0C14E8963F593EA8CDA6136BB448BB4","WriterReviewObservations":"A60FCA32C315A34BEF4180AED4A63950C9B3A342047BCFADA806B0055E1D33FE","WriterWorkingObjectives":null,"WriterWorkSessions":null,"BookParagraphManuscripts":"E244A53F0A8FA96D76E67C069965BDFFB1392A7B32622CFA04A3D344F6798E68","Chapters":"12AF6664D57803222243425744F1FD9D58030EB0462108CBD75BC79F346E12E1","ChapterGoals":null} diff --git a/Docs/Writer/Writer3/Evidence/Phase3D1/readonly-browser.log b/Docs/Writer/Writer3/Evidence/Phase3D1/readonly-browser.log new file mode 100644 index 00000000..18fa52c3 --- /dev/null +++ b/Docs/Writer/Writer3/Evidence/Phase3D1/readonly-browser.log @@ -0,0 +1 @@ +PASS read-only five-destination navigation, investigation resume and reload diff --git a/Docs/Writer/Writer3/Evidence/Phase3D1/regressions.log b/Docs/Writer/Writer3/Evidence/Phase3D1/regressions.log new file mode 100644 index 00000000..840f9747 --- /dev/null +++ b/Docs/Writer/Writer3/Evidence/Phase3D1/regressions.log @@ -0,0 +1,605 @@ +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 Guided investigation evidence, validation, revision and deterministic simulation +PASS Review accepted anchors, immutable provenance and author decisions +MEASURE 10000 navigation execution gates: 0.59ms; pure managed checks, no Word/COM benchmark. +PASS Writer Word verified navigation and acknowledgement +PASS Writer authoring blank notes are rejected +PASS Writer authoring reminder length is bounded +PASS Writer authoring priority range is enforced +PASS Writer authoring invalid calendar dates are rejected +PASS Writer authoring negative counts are rejected +PASS Writer authoring ordinary author text remains text, not generated markup +PASS Writer authoring chapter intentions remain optional +PASS Writer authoring missing optional records render as empty values +PASS Writer authoring canonical unbounded supporting text is not arbitrarily truncated +PASS Writer authoring unknown editor types are rejected +PASS Writer inline authoring validation +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 (393ms; 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 14ms. +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, 2.3ms, 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 diff --git a/Docs/Writer/Writer3/Evidence/Phase3D1/review-browser.log b/Docs/Writer/Writer3/Evidence/Phase3D1/review-browser.log new file mode 100644 index 00000000..95c5b019 --- /dev/null +++ b/Docs/Writer/Writer3/Evidence/Phase3D1/review-browser.log @@ -0,0 +1 @@ +PASS integrated Review browser/simulated PWA: canonical Reader, accepted scene context, selection-only no writes, anchored create/edit/resolve/reopen, repeat guard, stale multi-window retained draft, network/navigation guards, paragraph versus explicit chapter handoff and acknowledgement, Audio Review DOM/target/note preservation, Focused Reading Previous/Next, Help, narrow overlay and book isolation. Native and media telemetry simulated. diff --git a/Docs/Writer/Writer3/Evidence/Phase3D1/schema.log b/Docs/Writer/Writer3/Evidence/Phase3D1/schema.log new file mode 100644 index 00000000..8b92ca0d --- /dev/null +++ b/Docs/Writer/Writer3/Evidence/Phase3D1/schema.log @@ -0,0 +1,2 @@ +{"DatabaseName":"PlotDirector_Development","Investigations":1335011837,"Events":1463012293,"CatalogueProcedure":1543012578,"InvestigationProcedure":1559012635} +{"Version":"synthetic-3d1-v1","Synthetic":"true"} diff --git a/Docs/Writer/Writer3/Evidence/Phase3D1/seed.log b/Docs/Writer/Writer3/Evidence/Phase3D1/seed.log new file mode 100644 index 00000000..e98eb6c2 --- /dev/null +++ b/Docs/Writer/Writer3/Evidence/Phase3D1/seed.log @@ -0,0 +1 @@ +{"DatabaseName":"PlotDirector_Development","Catalogues":1} diff --git a/Docs/Writer/Writer3/Evidence/Phase3D1/simulation.log b/Docs/Writer/Writer3/Evidence/Phase3D1/simulation.log new file mode 100644 index 00000000..4ebc8f5a --- /dev/null +++ b/Docs/Writer/Writer3/Evidence/Phase3D1/simulation.log @@ -0,0 +1 @@ +PASS investigation simulation: 228 paths, 2560 answers; all hypotheses and destinations reachable; no loops/repeats/premature/invalid/non-deterministic outcomes. diff --git a/Docs/Writer/Writer3/Evidence/Phase3D1/sql-regression.log b/Docs/Writer/Writer3/Evidence/Phase3D1/sql-regression.log new file mode 100644 index 00000000..32d2d6aa --- /dev/null +++ b/Docs/Writer/Writer3/Evidence/Phase3D1/sql-regression.log @@ -0,0 +1,5 @@ +{"Result":"PASS persisted update/resume, immutable catalogue binding, atomic event history; rollback clean"} +{"Result":"PASS stale optimistic save rejected without leaked history"} +{"Result":"PASS cross-book identity denied"} +{"Result":"PASS private investigation denied to another active project member; rollback clean"} +{"Result":"PASS catalogue version overwrite rejected"} diff --git a/Docs/Writer/Writer3/Evidence/Phase3D1/workspace-browser.log b/Docs/Writer/Writer3/Evidence/Phase3D1/workspace-browser.log new file mode 100644 index 00000000..c1a4fdc3 --- /dev/null +++ b/Docs/Writer/Writer3/Evidence/Phase3D1/workspace-browser.log @@ -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. diff --git a/Docs/Writer/Writer3/Help-Coverage.md b/Docs/Writer/Writer3/Help-Coverage.md index 800cc42e..ff7da2d3 100644 --- a/Docs/Writer/Writer3/Help-Coverage.md +++ b/Docs/Writer/Writer3/Help-Coverage.md @@ -118,3 +118,5 @@ Application `78865cf` deployed in release `78865cf-20261116T230802Z`. Build,600 ## Phase3D.1 Guided Investigation and continuous Review `writer3.investigations` covers concern choice, optional explanation/draft, one-question flow, explicit saves, answer revision, independent private/book state, uncertain outcomes, authenticated tools and Development-only synthetic/no-AI boundaries. Existing Markdown micro/quick/More/full infrastructure is reused. `writer3.reviewing` now explains normal document scrolling and the accessible companion while preserving Focused Reading and accepted update rules. Browser/PWA Help qualification and live deployment evidence are in Phase3D1-Report.md. + +Phase3D.1 Development qualification complete: application `62fa292`, release `62fa292-20261117T145908Z`; build clean,601 application and292 native checks,228 simulated paths, browser/PWA and real authenticated acceptance passed. Existing-author hashes match; disposable investigations/history/account removed. See [Phase3D.1 report](Phase3D1-Report.md). Dependency/readiness extensions are recorded for a later phase; production matrix and Phase4 not started. diff --git a/Docs/Writer/Writer3/Implementation-Tracker.md b/Docs/Writer/Writer3/Implementation-Tracker.md index 9c912f13..9bcd0b5d 100644 --- a/Docs/Writer/Writer3/Implementation-Tracker.md +++ b/Docs/Writer/Writer3/Implementation-Tracker.md @@ -368,3 +368,5 @@ Application `78865cf` deployed in release `78865cf-20261116T230802Z`. Build,600 ## Phase3D.1 — Guided Investigation technical foundation Explicitly authorised after Phase3C. Batches A–F implement the generic engine/contracts, evidence/selection, immutable catalogues/private history, synthetic28-question catalogue and simulator, authenticated Development Explore, and continuous Review page scrolling. Batch G qualifies build/harness, SQL, browser/PWA, Help and Development deployment. Public Solver and native Windows1.0.0.40 remain unchanged. Evidence/results and remaining manual limits are recorded in Phase3D1-Report.md. Production questions and Phase4 are not started. Later dependency/readiness scope is recorded without a mid-phase redesign; availability never changes diagnostic evidence. + +Phase3D.1 Development qualification complete: application `62fa292`, release `62fa292-20261117T145908Z`; build clean,601 application and292 native checks,228 simulated paths, browser/PWA and real authenticated acceptance passed. Existing-author hashes match; disposable investigations/history/account removed. See [Phase3D.1 report](Phase3D1-Report.md). Dependency/readiness extensions are recorded for a later phase; production matrix and Phase4 not started. diff --git a/Docs/Writer/Writer3/Phase3D1-Report.md b/Docs/Writer/Writer3/Phase3D1-Report.md new file mode 100644 index 00000000..182ce0ee --- /dev/null +++ b/Docs/Writer/Writer3/Phase3D1-Report.md @@ -0,0 +1,79 @@ +# Phase3D.1 — Guided Investigation foundation and continuous Review + +17 November2026. Development only, shared branch `codex/word-companion-native-phase1-20261104`. Main implementation `78a84df`; subsequent presentation integration keeps the investigation inside Explore's ribbon/book context. Final application `62fa292f818073ca2cded067ed286c93a4663e48` deployed as `62fa292-20261117T145908Z`. Reporting/evidence is committed separately after deployment. + +Fetched/reconciled before editing and rechecked before publication; no force push. Windows/native source version1.0.0.40 and the restored Phase3B functionality remain unchanged (last native-source commit `ae06dca`). No native binary installation, Production deployment, production question generation or Phase4 work occurred. The unrelated canonical-manuscript investigation file remains untouched. + +## Delivered mechanism + +The generic engine and writing catalogue are separate. `InvestigationEngine` consumes structured concerns, hypotheses, questions/options, evidence dimensions/groups, conditions and capability availability. No writing wording, classifications or destination URLs are embedded in scoring. It has no HTTP, external inference, AI, manuscript or COM dependency. + +Positive and negative weights aggregate through strongest-sign-per-dimension/group and±3 dimension caps. Priors guide selection but cannot establish corroboration. Completion requires distinct dimensions/groups, sufficient net evidence, an examined competitor, a substantive relevant challenge, no unresolved material same-aspect conflict and an eligible destination. Dynamic selection prioritises leading-hypothesis discrimination, unseen dimensions, challenge/corroboration gaps and clarification, with ordinal ID tie-breaking. Uncertain and different-aspect answers are distinct from genuine contradictory evidence. Revisions replace current evidence and invalidate dependent answers, retaining historical events. Scores are not probabilities. + +Outcomes include supported recommendation, two plausible explanations, more information needed and no suitable destination. Authored explanations cite actual answers and retain uncertainty. Further/disagree preserves answers; bounds prevent endless questioning, and disagreement can return to earlier answers at the limit. Missing destination prerequisites do not modify the diagnosis or evidence. + +## Catalogue, destinations and private persistence + +Migration **273_WriterInvestigations.sql** adds immutable catalogue versions, author/book-scoped investigation aggregates and append-only reproducible event snapshots. Dapper/stored procedures enforce live project/book access, author ownership, optimistic versions and immutable catalogue binding. Book/account deletion cascades remove private history. Shared project JSON exports do not expose these records; database backup covers them. + +The validated Development example has **4 concerns,5 hypotheses,28 questions,6 evidence dimensions and5 capability adapters**. It deliberately exercises corroboration, redundancy, ambiguity/conflict, challenge, unexpected destinations and revision. It is visibly synthetic and cannot be enabled on Production even by setting the preview flag true. Runtime capability switches may independently disable a destination. No question/answer contains a URL. Trusted authenticated adapters cover Characters, chapter/scene Write, Plot Lines/threads, Timeline and Relationships, with authorised project/book scope rechecked before opening. + +AdminOnly Development tooling validates/imports/exports immutable catalogue JSON, inspects evidence/coverage/question ranks/destination eligibility, and replays private author-owned event snapshots. Developers select/revise answers through the normal test investigation UI. Administrators cannot use this interface to read another author's private investigations. The machine-readable simulation report is committed with evidence. + +Public Problem Solver graph, traversal, solutions, cases, controllers, content and SEO remain unchanged. Reused patterns: stable editorial IDs, strict JSON validation, immutable publication, authenticated adapters and deterministic replay. The new engine deliberately does not use its fixed-route tree model. The investigation ribbon links to its authenticated investigation, not a public Solver page. + +## Author experience and Help + +Writer → Explore offers a calm invitation, one primary question, radio answers, optional explanation, earlier-answer navigation, Continue and Save for later. Unfinished explanations can be saved without contributing evidence. Multiple investigations persist independently; changing the starting concern creates another record. Technical scores/diagnostics remain outside ordinary author pages. Tool actions preserve the investigation in its original tab. Theme, Writer ribbon, Explore context and selected book remain. + +New Markdown Help key `writer3.investigations` covers the flow, drafts/revision, independent private/book state, uncertainty, tool return and Development/no-AI limits. `writer3.reviewing` explains the continuous reading correction. Existing tooltip/quick popup/More drawer/full article mechanisms are reused and browser-qualified. + +## Separate continuous Review correction + +Normal integrated Review uses natural document scrolling, comfortable existing canonical Reader typography/width and paragraph formatting. The manuscript pane has no fixed/max height or internal scroll. Its companion remains sticky on desktop and accessible as a narrow overlay, without constraining prose height. Reader anchor restoration uses window scrolling in normal Review and retains the existing Focused Reading scrollport. + +Chapter navigation, selection, anchored observations/decisions, accepted-update policy, Audio Review/session DOM and verified acknowledged Word handoff remain authoritative. No Reader persistence or manuscript architecture was rewritten. Real Development acceptance used101 accepted synthetic paragraphs, deep-page reading, an anchored observation save without moving the reading position, original-reference revisit, Focused Reading and narrow overlay. A scroll assertion was corrected to wait for the browser's existing smooth-scroll completion; no source/Reader rewrite was needed. + +## Qualification + +| Check | Result | +|---|---| +| Normal solution build | Zero warnings/errors; fresh Release publish | +| Full application harness |601 PASS records, exit0, including existing public Solver regressions | +| Native preservation |292 checks pass; native source/binaries unchanged | +| Simulation |228 deterministic representative paths,2560 answers; all5 hypotheses/destinations reachable;0 loops, repeats, premature recommendations, invalid destinations or non-deterministic replays | +| Focused engine | Priors, negative/redundant evidence, corroboration/challenge, eligibility/tie-breaking, conflicts/clarification/revision, competing/insufficient conclusions, unavailable destinations, version validation and Production gate; availability leaves diagnostic evidence unchanged | +| SQL | Atomic state/history and resume, stale rollback, cross-book and private cross-member denial, immutable publication; all test writes rolled back | +| Investigation browser/simulated PWA | Real Razor/controllers with isolated repository: dynamic unexpected destination, draft/resume, actual-answer summary, scoped tool route, CSRF400, stale409 retained text, revision, cross-user/book404, AdminOnly import/export/replay/version pinning, narrow keyboard/radio/overflow, Help; no iframe/AI calls | +| Existing Writer browser |200 workspace/theme/viewport/browser/PWA cases and168 navigation cases pass; continuous Review expectations intentionally replace the previous fixed-panel assertion | +| Integrated Review preservation | Existing anchored CRUD/resolve/reopen, selection-only no writes, stale/network guards, acknowledged paragraph-vs-explicit-chapter handoff, AudioReview DOM/target/note preservation, focused Previous/Next and Help pass; native/media telemetry simulated | +| Continuous Review browser | Long canonical prose at1440/1024/390 in browser/simulated PWA; document scroll, no nested manuscript scroll, anchor restoration, sticky companion, focus and passage overlay pass | +| Authenticated Development | Real investigation workflows pass in browser/simulated PWA; real continuous Review acceptance passes; changed authenticated routes verified | + +Simulation is representative, not exhaustive enumeration or calibrated editorial evidence. Keyboard/semantic checks are not a physical screen-reader audit. Physical Word/media, installed PWA, Windows multi-monitor/foreground and large-manuscript responsiveness remain manual. No new native release is required. + +## Development rollout and data preservation + +Verified copy-only checksum backup before schema/fixtures: `/var/opt/mssql/backup/writer3-phase3d1-before-273-20261117.bak`. Required objects and Development catalogue verified after migration. Pre-stop queue checks found only completed import/synthesis/pipeline/enrichment work and no active Story Intelligence jobs. Deployment preserves existing configuration, keys, uploads and logs. Final archive `/srv/apps/plotdirector-dev/releases/62fa292-20261117T145908Z`; rollback `/srv/apps/plotdirector-dev/current-before-62fa292-20261117T145908Z`. Service active, local GET200 and TLS-validated public GET200, rechecked after cleanup. No warning/error journal entries since the final deployment. Published/deployed PlotLine.dll SHA256 both `e0e29cb3a844c82e5a20d9075d84e5a3a704f6980fc13c6aae2c3c2cbdb7aba3`; informational version `1.0.0+62fa292f818073ca2cded067ed286c93a4663e48`. The earlier78a84df Development release was superseded by the ribbon integration correction. + +Eight existing-author data hashes matched before rollout and after authenticated acceptance/cleanup: books, chapters, scenes, accepted manuscripts, chapter goals, working objectives, review observations and sessions, excluding only the disposable fixture. Eight fixture hashes also matched across five-destination reads, investigation resume and reload: investigations/events, observations, objectives, sessions, accepted source, chapters and goals. Final fixture invariants:4 investigations with matching atomic event/version counts and original catalogue; accepted source revision1 with101 paragraphs; goals0; active sessions0. Existing guarded project/account deletion returned0 remaining synthetic accounts, investigations, events and review observations, qualifying cascades. Private fixture credentials were then removed. The shared synthetic catalogue remains available for Development content work. No author prose, objectives or status was modified by investigation navigation. + +## Screenshots and artifacts + +Disposable author/manuscript only; no real author prose or credentials are committed. + +![Explore invitation](Evidence/Phase3D1/Explore-investigation-start.png) + +![Evidence-based tentative next step](Evidence/Phase3D1/Explore-investigation-result.png) + +[Narrow question](Evidence/Phase3D1/Explore-investigation-narrow.png) · [continuous Review at chapter start](Evidence/Phase3D1/Review-continuous-top.png) · [deep reading with companion](Evidence/Phase3D1/Review-continuous-middle.png) · [narrow observation](Evidence/Phase3D1/Review-continuous-narrow.png) · [machine-readable coverage](Evidence/Phase3D1/simulation.json) + +## Additional dependency graph/readiness requirements acknowledged + +The in-progress clarification was incorporated without restarting, discarding work or undertaking a schema redesign. Existing extension points: stable capability IDs, separate registry/resolver, typed author/book context, explicit eligibility/prerequisite boundary, independent availability and immutable version/replay records. A regression explicitly proves missing/unavailable capabilities do not alter support, opposition, score, coverage, challenge or diagnostic support. + +Needed later: complete implemented-capability inventory; typed Feature Dependency Graph; book-specific readiness evaluator; multi-step preparation lifecycle; missing-prerequisite preparation questions; shared dependency model and visual Feature Family Tree. Current5-adapter registry is a test subset. Flat answer conditions are not a complete dependency model. Capability definitions embedded in immutable catalogue versions and compiled route adapters need a compatibility boundary before a shared graph replaces their operational role. + +Safe sequence: inventory and verify actual permissions/data requirements → define stable shared registry/typed dependency edges and cycle rules → implement read-only book readiness with provenance → persist resumable preparation journeys/questions → connect preparation guidance to investigation results **without rescoring evidence** → render the Feature Family Tree from the same model. Use additive migrations and schema1 adapters, retain old aliases and immutable catalogue/event records; do not rewrite migration273 or repoint historical investigations. Further decisions and migration implications are in [Architecture](../Investigations/Architecture.md). + +Develop the real production taxonomy, wording, explanations and literal/adversarial acceptance witnesses separately. Validate evidence independence, ambiguity and destination suitability before any Production activation. No production matrix or expanded readiness system was generated in this phase. Phase4 has not started.