Record Phase 3A Development qualification and authoring evidence

This commit is contained in:
Nick Beckley 2026-11-16 20:26:32 +00:00
parent 64e17824e9
commit 5529e4a3cf
37 changed files with 779 additions and 8 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 253 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

View File

@ -0,0 +1 @@
PASS Writer3 authoring browser/simulated PWA: scene/chapter/goal editing, Cancel, escaped Unicode, unrelated dirty fields, note/reminder creation/edit, workflow validation, stale409 retention, navigation guard, chapter-only focus, scope and companion overlay.

View File

@ -0,0 +1 @@
{"VerifiedDatabase":"PlotDirector_Development"}

View File

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

View File

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

View File

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

View File

@ -0,0 +1,6 @@
active
Local GET 200
Development TLS GET 200
57c812a3ded4335d5e6665584b53454e4a71618dcd2e8c58a178639665237f3c /home/nick/writer3-publish-64e1782-2D47cK/PlotLine.dll
57c812a3ded4335d5e6665584b53454e4a71618dcd2e8c58a178639665237f3c /srv/apps/plotdirector-dev/current/PlotLine.dll
.1.0.0+64e17824e930626277d853356405994f75cf6087

View File

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

View File

@ -0,0 +1 @@
PASS authenticated browser/simulated PWA: writer3.authoring quick popup, More drawer, full article200; narrow Write and companion screenshots. No author-data mutations.

View File

@ -0,0 +1 @@
PASS: all14 read-only author-data hashes unchanged.

View File

@ -0,0 +1 @@
{"VerifiedDatabase":"PlotDirector_Development","MetricValues":0,"EmptyChapterGoals":0,"ExplicitChecklistItems":2,"ActiveSessions":0,"CanonicalSceneState":"Outlined"}

View File

@ -0,0 +1 @@
PASS authenticated Development authoring browser/simulated PWA: actual canonical chapter/scene/goals, long Unicode, note/reminder create/edit, workflow validation, explicit session and note isolation, stale409 retained text, chapter focus/scene selection, scope404 and antiforgery400; explicit disposable fixture edits only.

View File

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

View File

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

View File

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

View File

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

View File

@ -0,0 +1,7 @@
{"ProcedureName":"SceneCharacter_ListByScene","HasInsert":0,"HasUpdate":0,"HasDelete":0,"HasExec":0}
{"ProcedureName":"Chapter_Get","HasInsert":0,"HasUpdate":0,"HasDelete":0,"HasExec":0}
{"ProcedureName":"Scene_ListByChapter","HasInsert":0,"HasUpdate":0,"HasDelete":0,"HasExec":0}
{"ProcedureName":"RelationshipEvent_ListByScene","HasInsert":0,"HasUpdate":0,"HasDelete":0,"HasExec":0}
{"ProcedureName":"Location_Get","HasInsert":0,"HasUpdate":0,"HasDelete":0,"HasExec":0}
{"ProcedureName":"ThreadEvent_ListByScene","HasInsert":0,"HasUpdate":0,"HasDelete":0,"HasExec":0}
{"ProcedureName":"SceneAttachment_ListByScene","HasInsert":0,"HasUpdate":0,"HasDelete":0,"HasExec":0}

View File

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

View File

@ -0,0 +1,601 @@
PASS settlement Marker compatibility, nested geometry/style validation, stable route references and existing map/backup/import JSON contracts.
PASS Settlement boundaries preserve anchors, routes and backup/import contracts
PASS shared boundary server integrity, versions/refs/appearance, duplicate/orphan rejection and project import/export/restore contracts.
PASS Shared boundary topology preserves map and project contracts
PASS geography roots, hierarchy, provider-independent fake, cache identities, ambiguity, failures/backoff and rate reservation.
PASS Geographical roots, providers, queue outcomes and access
PASS Intent evidence preserves provenance and author control
PASS Release triage and browser-only onboarding preserve author decisions
PASS Approved native import source and confirmation remain safe
PASS Native installation renewal and revocation remain account/security scoped
PASS Writer 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 (493ms; 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 15ms.
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, 1.9ms, no SQL or Word.
PASS Writing Context and Intent resolve native sessions, preserve decisions and reuse bounded chronological data
PASS Writing Context Plot Lines preserves canonical associations, developments and book access
PASS Writing workspace presence scopes browser windows
PASS Writing workspace client uses session window identity and stable names
PASS Writing workspace launcher uses progressive screen placement
PASS Writing workspace pages register roles without changing follow behavior
PASS Word marker client acknowledgements require authenticated ownership
PASS Word Companion exposes writing workspace launch actions
PASS Word Companion writing screens receive resolved context identifiers
PASS Word Companion canonical markers drive runtime follow
PASS Word Companion runtime follows multiple imported scene anchors
PASS Word Companion existing project book linking remains available
PASS Word Companion document identity survives reconnect
PASS Word Companion multiscreen launch and follow remain reachable
PASS Word Companion modes remain distinct
PASS Writing pages do not require Story Intelligence
PASS Word Companion host script has valid tab mapping
PASS Writing screens show diagnostic empty states
PASS Word Companion three-screen flow logs connection identifiers
PASS Admin Story Intelligence reset returns to diagnostics with messages
PASS Project hard delete clears Story Intelligence dependencies in transaction
PASS Permanent project delete keeps archive and name safety gates
PASS Word manuscript cleanup classifies PlotDirector markers by tag only
PASS Word manuscript cleanup preserves content controls content
PASS Word manuscript cleanup UI separates unlink from clean unlink
PASS Word manuscript unlink keeps Story Intelligence data untouched
PASS Word manuscript cleanup remains relinkable and idempotent
PASS Story Intelligence Review Centre route replaces linear review resume
PASS Story Intelligence obsolete create scene workflow is removed
PASS Story Intelligence Review Centre counts only needs-attention categories
PASS Story Intelligence Review Centre uses independent tile grid
PASS Story Intelligence Review Centre opens with character gate
PASS Story Intelligence review modules are independent after character gate
PASS Story Intelligence review module completion is durable and independent
PASS Story Intelligence review module pages omit wizard chrome
PASS Story Intelligence downstream review uses completed scene analysis
PASS Story Intelligence review posts do not use success interstitials
PASS Story Intelligence legacy review completion routes are deleted
PASS Story Intelligence review forms share busy submit guard
PASS Story Intelligence heavy review modules offer bounded rendering
PASS Story Intelligence Review Centre adds no AI calls
PASS Story Intelligence Review Centre uses bounded summary query
PASS Story Intelligence character review queues enrichment beside plot synthesis
PASS Story Intelligence character enrichment uses persisted SignalR progress
PASS Story Intelligence character enrichment preserves author fields
PASS Story Intelligence character enrichment batches by prompt size
PASS Story Intelligence character enrichment promotes structured facts
PASS Character detail can queue single-character enrichment
PASS Single-character enrichment is persisted and duplicate safe
PASS Character detail enrichment status uses scoped SignalR
PASS Story Intelligence detailed review GETs use selected module paths
PASS Story Intelligence completed Character review remains inspectable
PASS Story Intelligence Review Centre completed modules use canonical destinations
PASS Story Intelligence detailed reviews read persisted candidate pages
PASS Story Intelligence module completion lifecycle uses persisted candidates
PASS Story Intelligence Job 6 uses bounded concurrent chapter execution
PASS Story Intelligence global progress uses whole run scene totals
PASS Story Intelligence recovered provider failures stay operational
PASS Story Intelligence recovered JSON repair stays operational
PASS Story Intelligence terminal failures remain user visible
PASS Story Intelligence global banner remains visible through finalising gaps
PASS Story Intelligence global banner rejects stale live snapshots
PASS Story Intelligence live global progress publishes authoritative scene aggregates
PASS Story Intelligence global progress survives initial SignalR start races
PASS Story Intelligence scene analysis completion barrier releases review
PASS Story Intelligence active progress only appears in global strip
PASS Story Intelligence book actions do not open review centre while running

View File

@ -0,0 +1 @@
{"Books":"F8C616CDC08E1A31F1FA3770072219FFC52FBCCE12EDC29B8F27525CF1ED13F4","Chapters":"3E9E2CB6F4D0BC95006890923C4203EF1F20B23675266E9402BB1A0C403E6E00","Scenes":"3D38C6B390D969B1E4148302D49469BAB0635D1C269D5EA92947CF7808428DB7","Goals":"2CFB9B801FB0D1C01E3D3329133A97E034B5E216A83C9949F8EB03264CA5F746","Workflow":"6C0751B3F991CFC8467E5B2964A69168886628FE37E5237A3D7069C64C2B10A0","Checklist":"50713C64E702BD50ED3F64A6DBD9C978241914D2F1AA2E6DECE9A1A5C0084A70","Notes":"DCD027B40F4DA91F157862CCFEA0A3163BBCF6A58F939660D990D7AFD8BDB704","Objective":"68C7AEA74DD5D719BCB862BDC37B67DF51CF11E5DD1909E900C05EB95FEF26EA","Plans":null,"Sessions":"84C50DB552802601F7B76A52C305056E7577E5A195285F3E8C94245FABE5F859","Metrics":null,"Purposes":null,"Attachments":null,"Appearances":"EFC345A25295BE924A9980FB48DFC1552F837FD77D7B1593FFE0DCD819DEDEE6"}

View File

@ -0,0 +1 @@
{"Books":"F8C616CDC08E1A31F1FA3770072219FFC52FBCCE12EDC29B8F27525CF1ED13F4","Chapters":"3E9E2CB6F4D0BC95006890923C4203EF1F20B23675266E9402BB1A0C403E6E00","Scenes":"3D38C6B390D969B1E4148302D49469BAB0635D1C269D5EA92947CF7808428DB7","Goals":"2CFB9B801FB0D1C01E3D3329133A97E034B5E216A83C9949F8EB03264CA5F746","Workflow":"6C0751B3F991CFC8467E5B2964A69168886628FE37E5237A3D7069C64C2B10A0","Checklist":"50713C64E702BD50ED3F64A6DBD9C978241914D2F1AA2E6DECE9A1A5C0084A70","Notes":"DCD027B40F4DA91F157862CCFEA0A3163BBCF6A58F939660D990D7AFD8BDB704","Objective":"68C7AEA74DD5D719BCB862BDC37B67DF51CF11E5DD1909E900C05EB95FEF26EA","Plans":null,"Sessions":"84C50DB552802601F7B76A52C305056E7577E5A195285F3E8C94245FABE5F859","Metrics":null,"Purposes":null,"Attachments":null,"Appearances":"EFC345A25295BE924A9980FB48DFC1552F837FD77D7B1593FFE0DCD819DEDEE6"}

View File

@ -0,0 +1,7 @@
{"":2146}
{"":3340}
{"":2146}
{"":3340}
{"Result":"PASS transactional inline authoring: pure reads, scoped writes, long Unicode, canonical stores, no default checklist, independent status, stale rejection, rollback and access boundaries"}
{"":2147}
{"Result":"PASS repeated create rejects stale collection token and rolls back cleanly"}

View File

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

View File

@ -98,3 +98,5 @@ Phase2C qualified: existing micro/quick/full articles, browser popup and PWA dra
## Phase 3A authoring
`writer3.authoring` reuses the Markdown tag helper for tooltip, quick popup and full article/drawer. Covers optional chapter/scene intentions, section Save/Cancel, stale/conflict recovery, navigation guards, scene-note/checklist/workflow scopes, explicit initialisation, deferred attachment/category editors, saved companion references and session/Reader/native isolation. `writer3.write` now describes the integrated surface without changing the unified Current Work actions. Qualification is recorded in Phase3A-Report.md.
Phase3A qualification exercises the dynamically loaded authoring Help icon in browser and simulated PWA: quick popup, More drawer and full article. Existing site Help initialisation is explicitly applied to loaded fragments. Updated Write and all previous destination articles remain covered by authenticated navigation. See Phase3A-Report.md and its Help evidence.

View File

@ -1,6 +1,6 @@
# Writer 3.0 implementation tracker
Baseline: `9a8b9a3`, shared branch `codex/word-companion-native-phase1-20261104`, 16 November 2026. The original kickoff authorised Phase 1 implementation and Development deployment; the master specification governs product direction even though its header says Proposed. The subsequent Phase2A kickoff explicitly authorised Home, navigation, destination shells and Development deployment; Phase2B was subsequently explicitly authorised for layout infrastructure and Development deployment; Phase2C is implemented and Development-qualified, including the explicit single-focus workflow amendment; Phase3A is now explicitly authorised for integrated authoring and Development qualification; Phase3B remains unauthorised. No feature is retired. Unrelated investigation file is preserved.
Baseline: `9a8b9a3`, shared branch `codex/word-companion-native-phase1-20261104`, 16 November 2026. The original kickoff authorised Phase 1 implementation and Development deployment; the master specification governs product direction even though its header says Proposed. The subsequent Phase2A kickoff explicitly authorised Home, navigation, destination shells and Development deployment; Phase2B was subsequently explicitly authorised for layout infrastructure and Development deployment; Phase2C is implemented and Development-qualified, including the explicit single-focus workflow amendment; Phase3A integrated authoring is implemented and Development-qualified; Phase3B remains unauthorised. No feature is retired. Unrelated investigation file is preserved.
## Phase 1 screen and interaction states before implementation
@ -37,7 +37,7 @@ No new workspace shell in this phase. Existing Overview/Journey/Workspaces route
### Phase 3 — Write and Review integration
- Objective/deliverables: Inline chapter goals, purpose/outcome, notes/checklist/workflow/attachments; Reader/Audio Review and revision handoff.
- Batches: 3A authoring composition; 3B inline editors; 3C review/return actions; 3D qualified acceptance
- Current authorised batches: 3A.1 current focus; 3A.2 inline chapter/scene editing; 3A.3 notes/checklist/workflow; 3A.4 saved companion references; 3A.5 Help/qualification/Development. These supersede the original provisional labels. Phase3B requires separate authorisation.
- Reuse: ChapterGoal/Scene repositories, SceneInspectorV2 editors, Reader, IntentAssessmentService, WriterWork toolbar
- New/change: implement the batch deliverables inside the existing MVC application; no parallel Writer.
- Database: Reuse authoritative storage; new revision-task storage only after gap review.
@ -45,7 +45,7 @@ No new workspace shell in this phase. Existing Overview/Journey/Workspaces route
- Acceptance: Round-trip authored fields; attachment permissions/quota; focused Reader/refresh; session scope; evidence decisions never complete objectives automatically.
- Preservation: all mapped F/I capabilities below; reader/source/privacy/native safeguards remain authoritative.
- Help: review existing Markdown keys for affected capabilities; update tooltip, popup and full article together; register coverage.
- Status / Development deployment: Not started; not deployed at tracker creation.
- Status / Development deployment: Phase3A implemented and Development-qualified. Main implementation024e668; final lazy Help correction64e1782. Additive procedures265–270; no new tables. See [Phase3A-Report.md](Phase3A-Report.md) for release, gates, preserved contracts, deferred editors and physical acceptance. Phase3B not started.
### Phase 4 — Context, Intent and display modes
@ -347,4 +347,4 @@ Application `e9402d0c1673d3dc8afcca26bb344b82fa11caf0`, release `e9402d0-2026111
## Phase3A authorised implementation
[Execution and canonical-data contract](Phase3A-Execution.md). Current Work remains unified; optional chapter/scene intentions, notes, reminders and working details use existing records through pure inspection and scoped concurrency-safe saves. Companion shows only saved references. Full native/context redesign, manuscript editing, new planning and AI engines remain out of scope. Help and regression/transactional/browser qualification in progress; Development release pending. Phase3B not started.
[Execution and canonical-data contract](Phase3A-Execution.md). Current Work remains unified; optional chapter/scene intentions, notes, reminders and working details use existing records through pure inspection and scoped concurrency-safe saves. Companion shows only saved references. Full native/context redesign, manuscript editing, new planning and AI engines remain out of scope. Help,598-regression, transactional SQL, browser/PWA and real authenticated authoring qualification passed. Development release64e1782-20261116T202418Z; see [completion report](Phase3A-Report.md), screenshots and evidence for endpoint distinctions, invariants, cleanup and physical acceptance. Phase3B not started.

View File

@ -19,3 +19,5 @@ Field-scoped fingerprints plus row/range locks protect stale updates and repeate
-3A.5: Markdown Help, schema/controller/browser/PWA and transactional SQL coverage, full harness, authenticated Development qualification, snapshots, cleanup and rollback release.
SQL265 introduces procedures;266–270 are forward-only corrections discovered through live-schema/transactional qualification (optional NULLs, long JSON conversion, field-level concurrency, empty collection tokens and canonical text lengths). Already-applied numbered scripts remain immutable. All are additive procedure changes, compatible with the Phase2 application. Verified Development backup precedes application/fixture writes. Final status and deferred editors are recorded in Phase3A-Report.md.
Completed: batches3A.1–3A.5 implemented, tested and deployed to Development; final release and evidence in [Phase3A-Report.md](Phase3A-Report.md). Phase3B remains unstarted.

View File

@ -0,0 +1,92 @@
# Writer 3.0 Phase 3A completion report
16 November 2026. Integrated Write authoring implemented on `codex/word-companion-native-phase1-20261104`, pushed and deployed to Development only. Phase3B has not begun. Application implementation commit `024e668978e7373c99907b885e9f106cbda43ae5`; final application commit `64e17824e930626277d853356405994f75cf6087` adds lazy Help initialisation.
## Delivered author experience
Write keeps the Phase2C compact saved working focus and one Change selection with separate Save working focus, Record this session and Plan writing time actions. The main panel now shows the selected scene's intention and intended outcome, or chapter intentions for chapter-level work. All are optional. A short preview prioritises pinned unresolved notes and outstanding reminders; additional chapter details, historical notes and working details expand on demand. The next action reflects actual focus, missing intention and accepted chapter availability. Chapter-level work lists scenes with an explicit Work on this scene action, and supports chapters without scenes.
| Canonical information | Inline capability |
|---|---|
| Chapters | Existing purpose lookup and Summary |
| ChapterGoals | Existing summary, emotional intention, reader takeaway, things to include and concerns |
| Scenes | Existing ScenePurposeNotes and SceneOutcomeNotes; canonical revision status remains separate |
| SceneNotes | Explicit creation and editing, including type, pinned/resolved state and order |
| SceneChecklistItems | Explicit creation and editing, independent completion and order |
| SceneWorkflow | Existing priority, working word counts, drafted/last-worked dates and blocker/reason; readiness, canonical revision and legacy draft status preserved |
| References | Read-only saved setting, character appearances, thread events, verified relationship events and chapter feeling intention |
Each record has its own readable display, Edit/Add, Save and Cancel. Validation, network failures and stale409 responses retain text. Repeated submission is guarded. Refresh replaces only the saved card and derived read-only previews; unrelated editors and session DOM remain intact. Conflicts offer explicit reload with a warning to copy wanted text first. Dirty editors cannot be hidden by closing their details; navigation and unload guards protect unsaved work. Keyboard focus returns to the saved/cancelled record.
The companion uses existing resize/collapse/overlay behaviour and keeps prominent standalone Context and Intent launchers. Saved summaries do not infer story facts or start analysis. Manuscript prose remains in Word. No native IPC, binding, synchronisation or follow protocol was changed.
## Authoritative reuse and persistence
`WriterAuthoringController` and scoped `WriterAuthoringService` compose existing canonical records through Dapper/stored procedures. ProjectAccessFilter plus procedure-level actor/book/chapter/scene checks enforce scope; POSTs require antiforgery. Existing Chapter_Get, Scene_ListByChapter, location, character-appearance, thread-event, relationship-event and attachment repositories supply read-only information. Existing lookup and note-type services provide choices. Canonical goal, note, checklist and workflow save procedures are reused transactionally. Chapter/scene intentions use narrow updates to existing columns and the existing project-activity recorder, avoiding broad saves that overwrite unrelated metadata.
Discovery found that Scene_Get/metric loaders can initialise metric defaults, ChapterGoal_Get can create a row, and SceneWorkflow_Get can create workflow plus default checklist items. The new inspection path avoids those getters. New `WriterAuthoring_Sections` is a bounded pure read; opening Write never invokes the save procedure. SQL module inspection confirmed the reused read procedures contain no write/EXEC statements.
Forward-only migrations265–270 add/refine the two authoring procedures; no tables or columns were added. Qualification corrections preserve optional NULLs, safely handle long JSON scalar conversion, scope fingerprints to editable fields rather than parent/audit timestamps, support empty-collection creation tokens and retain canonical nvarchar(max) lengths. Applied numbered scripts remain immutable. Row/range locks and fingerprints prevent stale overwrites and repeated creates. Creation tokens conservatively conflict when the corresponding collection changes. Legacy full editors retain their existing concurrency contracts; this phase does not upgrade every editor globally. Normal HTTP request limits still apply; bounded note titles200 and checklist text300 retain canonical limits.
A verified Development copy-only checksum backup preceded migrations and fixture edits: `/var/opt/mssql/backup/writer3-phase3a-before-265-20261116.bak`. Application rollback remains compatible with these additive procedures; it does not reverse SQL.
## Preservation and deferred editors
Saved objective, actual active session, temporary exploration, pinned reference, Reader selection and verified Word position remain independent. Changing focus does not move Word or retarget a session. Existing session controls show the actual target and remain above authoring when active; moving the same DOM preserves Audio Review state, timing and unsaved return notes. No second session form or manuscript editor exists.
Attachment titles and links remain available; upload/download/delete and permissions/quota continue through existing specialist editors. Scene categories/purpose-type associations, canonical revision transitions and complex dependencies remain in their existing editors. No separate chapter-note storage was invented: existing chapter goals/summary and scene-scoped notes retain their scopes, while session return notes remain session records. The companion links to existing people, plot, relationship, maps and metrics tools. Full integrated Context/Intent belongs to Phase4.
## Help and accessibility
New `writer3.authoring` Markdown covers optional intentions, independent saves, stale recovery, notes/reminders/workflow, explicit initialisation, deferred editors and reference/session/Word boundaries. Updated `writer3.write` explains the integrated surface while retaining unified focus semantics. Both use existing Help tag-helper infrastructure. Lazy-loaded authoring content explicitly initialises the existing Help controls; a rendered regression exercises quick popup and More drawer. Help coverage register is updated.
Editors have explicit labels, accessible error/status regions, clear Save/Cancel, keyboard focus handling and dirty-state guards. Independent panels keep viewport fit; positioned scrolling panels contain visually-hidden field labels that would otherwise extend the document on narrow layouts. Physical screen-reader announcements, browser zoom and Windows high-DPI remain manual acceptance.
## Qualification
| Gate | Result |
|---|---|
| Build | `dotnet build PlotLine.slnx`, zero warnings/errors |
| Full harness | `dotnet run --project PlotLine.Tests/PlotLine.Tests.csproj`,598 PASS records, exit0 |
| Transactional SQL | Canonical round trips,4500-character Unicode, optional NULLs, no default seeding, preserved revision, stale updates/repeated creates rollback, actor/scope rejection |
| Authoring browser / simulated PWA | Scene/chapter/goals, Save/Cancel, escaped Unicode, unrelated dirty editors, notes/reminders, validation,503 retention, stale409, navigation guard, active AudioReview DOM/note/target preservation, chapter-only, book/scope isolation and narrow overlay; authoring Help popup/drawer |
| Navigation |168 local rendered cases; authenticated populated/empty books, Home actions, five destinations, legacy routes, history/reload/book scope,404 and Help |
| Workspace |200 local rendered combinations across five destinations, four themes, five sizes, browser/simulated PWA, plus resize/collapse/storage/touch/keyboard/fullscreen/text-scale checks |
| Focus/refinement/preservation | Unified focus, standalone Context/Intent, simulated follow races/recovery, Reader, Intent assessment and intelligent desk suites passed |
| Real authenticated authoring | Actual canonical chapter/scene/goals, long Unicode, note/reminder creation/edit, workflow validation, explicit recording/end, unchanged active ID/target/unsaved note during inline saves, concurrent409 retention, missing-CSRF400, invalid graph404, chapter-only/no-scenes, explicit scene selection and saved reference summaries |
Real authoring writes were confined to a disposable synthetic owner/project. Read-only qualification uses a fresh baseline after those explicit edits; hashes cover Books, Chapters, Scenes, Goals, Workflow, checklist, notes, objectives, plans, sessions, metrics, purposes, attachments and appearances. An active default metric type deliberately tests accidental Scene_Get seeding. The empty chapter deliberately tests accidental goal creation. Final read-only comparison and cleanup are recorded below. Login/presence and explicit layout/appearance preferences are operational data outside those author-data hashes.
Headless PWA and native-follow simulations do not prove an installed Windows PWA, real Word automation, media playback or physical monitor placement.
## Completed workspace screenshots
Synthetic Development fixture only; no real author prose or credentials.
![Saved focus, scene intention and saved references](Evidence/Phase3A/Write-authoring.png)
![Inline scene editor and independent companion](Evidence/Phase3A/Write-inline-editor.png)
[Narrow notes/reminders](Evidence/Phase3A/Write-narrow.png) · [Narrow companion overlay](Evidence/Phase3A/Write-narrow-companion.png)
## Final release and evidence
Final release `64e1782-20261116T202418Z`, archive `/srv/apps/plotdirector-dev/releases/64e1782-20261116T202418Z`, rollback `/srv/apps/plotdirector-dev/current-before-64e1782-20261116T202418Z`. A fresh Release publish preserved deployed configuration, data protection, uploads and logs. Pre-stop checks found no queued/processing imports, Story Intelligence, synthesis, pipeline or enrichment work. Service active; local GET200 and TLS-validated public GET200. Informational version `1.0.0+64e17824e930626277d853356405994f75cf6087`; published/deployed DLL SHA256 both `57c812a3ded4335d5e6665584b53454e4a71618dcd2e8c58a178639665237f3c`.
Public HTTPS authenticated navigation and actual authoring passed. The rapid public layout sweep encountered `net::ERR_FAILED` script loads and uninitialised fallback geometry; its precise transport cause was not established. The final authenticated200-case matrix uses the local Development service endpoint, with explicit shell/workspace/font readiness, against the same deployed binary. No geometry defect was reproduced once scripts loaded. The report distinguishes that matrix from the public functional checks rather than claiming a successful public200-case sweep.
Final read-only before/after snapshots matched all14 hashes. Metric values remained0 despite an active default metric type, empty-chapter goals remained0, only the two explicitly created checklist items existed, no active fixture sessions remained, and canonical scene state remained Outlined. Guarded canonical project/account deletion completed with `RemainingSyntheticAccounts=0`; the private identity file was removed. The warning/error service journal from final deployment through acceptance contained no entries.
The final evidence commit changes tests/documentation only and does not alter the deployed application binary.
Evidence: [Phase3A qualification artifacts](Evidence/Phase3A). The unrelated investigation document remains untouched. No Production deployment or data changes were authorised or performed.
## Manual acceptance and recommended Phase3B scope
1. On Windows, open a real bound document in Word Companion and confirm verified manuscript status. Change working focus while Word follows a different chapter: verify Word and the active session retain their actual targets.
2. Open/reuse standalone Context and Intent on separate monitors; pin a reference, change Write focus and edit intentions. Verify independent pinned/follow state, placement and display-permission fallback.
3. Use real Audio Review playback while editing scene metadata; verify timing, media controls, pause-on-edit behaviour, return-note retention and explicit completion. Repeat with Reader independently selected.
4. Install/relaunch the actual PWA; test reauthentication, deep links, keyboard Save/Cancel, Help popup/drawer/article, companion resize/collapse and narrow overlay. Check high-DPI/browser zoom, very short windows, screen-reader errors/status announcements and keyboard focus across both scroll panels.
5. Use two authorised windows to edit the same record and confirm retained stale text with explicit reload; interrupt network during save and confirm recovery without duplicate creation.
Recommend Phase3B concentrate on verified Word handoff and review/return interactions through the existing native/Reader/session contracts, including disconnected/stale-binding recovery and physical Windows/multi-monitor acceptance. Keep objective, session, Reader and pinned contexts independent. Agree that scope before implementation; no Phase3B work has begun.

View File

@ -1,7 +1,8 @@
// Rendered MVC/shell qualification. Optional live mode requires a dedicated Development fixture identity.
const {chromium}=require('playwright'),assert=require('node:assert/strict'),fs=require('node:fs');
const live=!!process.env.PD_WRITER3_IDENTITY;
const base=live?'https://dev.plotdirector.com':'http://127.0.0.1:5238';
const base=live?(process.env.PD_WRITER3_BASE_URL||'https://dev.plotdirector.com'):'http://127.0.0.1:5238';
if(live)assert(['https://dev.plotdirector.com','http://127.0.0.1:5050'].includes(base),'Development endpoints only');
const identity=live?JSON.parse(fs.readFileSync(process.env.PD_WRITER3_IDENTITY)):null;
if(live)assert(identity.Database==='PlotDirector_Development'&&identity.Email.endsWith('@example.invalid'));
const book=identity?.book||12,project=identity?.project||7;
@ -13,7 +14,7 @@ const width=p=>p.locator('.writer3-reference').evaluate(n=>n.getBoundingClientRe
const context=await browser.newContext({viewport:{width:1440,height:1000}});
if(pwa)await context.addInitScript(()=>Object.defineProperty(navigator,'standalone',{value:true}));
await context.route('**/signalr.min.js',r=>r.fulfill({contentType:'application/javascript',body:fs.readFileSync(require.resolve('@microsoft/signalr/dist/browser/signalr.min.js'))}));
const page=await context.newPage(),errors=[];page.on('pageerror',e=>errors.push(e.message));
const page=await context.newPage(),errors=[];page.on('response',r=>{if(r.status()>=400&&r.url().includes('/js/'))console.error(`Script HTTP ${r.status()}: ${new URL(r.url()).pathname}`);});page.on('requestfailed',r=>console.error(`Request failed ${new URL(r.url()).pathname}: ${r.failure()?.errorText}`));page.on('pageerror',e=>errors.push(e.message));
if(live){await page.goto(base+'/Account/Login');await page.locator('[name=Email]').fill(identity.Email);await page.locator('[name=Password]').fill(identity.Password);await Promise.all([page.waitForURL('**/Projects'),page.locator('button[type=submit]').click()]);}
else await context.route('**/Writer/Work/State?*',r=>r.fulfill({contentType:'application/json',body:JSON.stringify({session:null,defaultPauseOnEdit:true})}));
for(const d of ['Write','Explore','Plan','Review','Reflect']){
@ -69,9 +70,9 @@ const width=p=>p.locator('.writer3-reference').evaluate(n=>n.getBoundingClientRe
await page.evaluate(()=>{for(const k of Object.keys(localStorage).filter(k=>k.startsWith('plotdirector.writerLayout.')))localStorage.setItem(k,JSON.stringify({version:1,width:1e9,collapsed:'false'}));});await page.reload();assert((await width(page))<800);assert(await page.locator('.writer3-reference').isVisible());
await page.evaluate(()=>{for(const k of Object.keys(localStorage).filter(k=>k.startsWith('plotdirector.writerLayout.')))localStorage.removeItem(k);});
for(const theme of ['modern-dark','modern-light','warm-dark','plotdirector'])for(const size of [{width:390,height:844},{width:1024,height:768},{width:1440,height:900},{width:1920,height:1080},{width:2560,height:1440}])for(const d of ['Write','Explore','Plan','Review','Reflect']){
await page.setViewportSize(size);const response=await page.goto(url(d));assert.equal(response.status(),200,`workspace ${d} HTTP status at ${page.url()}`);assert.equal(await page.locator('[data-ribbon-shell]').count(),1,`application shell missing at ${page.url()}`);await page.waitForFunction(()=>typeof window.PlotDirectorApplyApplicationTheme==='function');await page.evaluate(t=>window.PlotDirectorApplyApplicationTheme(t),theme);await settle(page);
await page.setViewportSize(size);const response=await page.goto(url(d));assert.equal(response.status(),200,`workspace ${d} HTTP status at ${page.url()}`);assert.equal(await page.locator('[data-ribbon-shell]').count(),1,`application shell missing at ${page.url()}`);await page.waitForFunction(()=>typeof window.PlotDirectorApplyApplicationTheme==='function').catch(e=>{throw new Error(`Theme helper unavailable: ${d}/${theme}/${size.width} at ${page.url()}; page errors: ${errors.join('; ')}; ${e.message}`)});await page.waitForFunction(()=>document.querySelector('.writer3').classList.contains('writer3-viewport'));await page.evaluate(t=>window.PlotDirectorApplyApplicationTheme(t),theme);await settle(page);
const geometry=await page.evaluate(()=>({x:document.documentElement.scrollWidth-innerWidth,y:document.documentElement.scrollHeight-innerHeight,bottom:document.querySelector('.writer3-workspace').getBoundingClientRect().bottom,root:document.querySelector('.writer3').className,height:document.querySelector('.writer3').style.cssText}));
assert(geometry.x<=2,`${d}/${theme}/${size.width} horizontal overflow`);assert(geometry.y<=3,`${d}/${theme}/${size.width} unnecessary page scroll ${JSON.stringify(geometry)}`);
assert(geometry.x<=2,`${d}/${theme}/${size.width} horizontal overflow ${JSON.stringify(geometry)}`);assert(geometry.y<=3,`${d}/${theme}/${size.width} unnecessary page scroll ${JSON.stringify(geometry)}`);
assert(geometry.bottom<=size.height+2);combinations++;
}
await page.setViewportSize({width:1440,height:1000});await page.goto(url('Review'));await settle(page);