From 89c376bd936e853706d4a15a5e0357cbc01400ea Mon Sep 17 00:00:00 2001 From: Nick Beckley Date: Fri, 20 Nov 2026 21:53:41 +0000 Subject: [PATCH] Record Phase 3B.1 qualification and Development completion --- Docs/Writer/Evidence/Phase3B1/application.txt | 637 ++++++++++++++++++ Docs/Writer/Evidence/Phase3B1/build.txt | 16 + Docs/Writer/Evidence/Phase3B1/cleanup.txt | 1 + .../Evidence/Phase3B1/data-preservation.txt | 1 + .../Evidence/Phase3B1/development-browser.txt | 2 + .../Evidence/Phase3B1/focus-browser.txt | 1 + .../Evidence/Phase3B1/native-chapters.txt | 465 +++++++++++++ .../Evidence/Phase3B1/native-foundation.txt | 294 ++++++++ .../Evidence/Phase3B1/predeployment-jobs.txt | 9 + Docs/Writer/Evidence/Phase3B1/publish.txt | 5 + .../Evidence/Phase3B1/qualification.json | 34 + .../Evidence/Phase3B1/reader-browser.txt | 1 + .../Evidence/Phase3B1/reader-freshness.txt | 1 + .../Evidence/Phase3B1/review-browser.txt | 1 + .../Phase3B1/review-fallback-browser.txt | 2 + .../Writer/Evidence/Phase3B1/source-guard.txt | 1 + .../Phase3B1/sql-source-roundtrip.txt | 2 + .../Writer/Evidence/Phase3B1/word-browser.txt | 2 + ...e3B1-Integration-Correctness-Completion.md | 128 ++++ 19 files changed, 1603 insertions(+) create mode 100644 Docs/Writer/Evidence/Phase3B1/application.txt create mode 100644 Docs/Writer/Evidence/Phase3B1/build.txt create mode 100644 Docs/Writer/Evidence/Phase3B1/cleanup.txt create mode 100644 Docs/Writer/Evidence/Phase3B1/data-preservation.txt create mode 100644 Docs/Writer/Evidence/Phase3B1/development-browser.txt create mode 100644 Docs/Writer/Evidence/Phase3B1/focus-browser.txt create mode 100644 Docs/Writer/Evidence/Phase3B1/native-chapters.txt create mode 100644 Docs/Writer/Evidence/Phase3B1/native-foundation.txt create mode 100644 Docs/Writer/Evidence/Phase3B1/predeployment-jobs.txt create mode 100644 Docs/Writer/Evidence/Phase3B1/publish.txt create mode 100644 Docs/Writer/Evidence/Phase3B1/qualification.json create mode 100644 Docs/Writer/Evidence/Phase3B1/reader-browser.txt create mode 100644 Docs/Writer/Evidence/Phase3B1/reader-freshness.txt create mode 100644 Docs/Writer/Evidence/Phase3B1/review-browser.txt create mode 100644 Docs/Writer/Evidence/Phase3B1/review-fallback-browser.txt create mode 100644 Docs/Writer/Evidence/Phase3B1/source-guard.txt create mode 100644 Docs/Writer/Evidence/Phase3B1/sql-source-roundtrip.txt create mode 100644 Docs/Writer/Evidence/Phase3B1/word-browser.txt create mode 100644 Docs/Writer/Writer-Phase3B1-Integration-Correctness-Completion.md diff --git a/Docs/Writer/Evidence/Phase3B1/application.txt b/Docs/Writer/Evidence/Phase3B1/application.txt new file mode 100644 index 00000000..3f9e7031 --- /dev/null +++ b/Docs/Writer/Evidence/Phase3B1/application.txt @@ -0,0 +1,637 @@ +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 Investigation companion multiple saved findings and their mapped tools +PASS Investigation companion same-window trusted authenticated destination and activation +PASS Investigation companion opening starts exploration, never Done +PASS Investigation companion explicit completion survives reopening and resume +PASS Investigation companion selected finding persists +PASS Investigation companion invalid finding rejected +PASS Investigation companion unavailable destination retains investigation +PASS Investigation companion private author and book boundaries +PASS Investigation companion finished journey is inactive but retained +PASS Investigation companion finished investigation can be reactivated +PASS Investigation companion canonical answers, diagnostic scores and event history unchanged +PASS Investigation companion delete saved removes saved, resume and guidance projections; repeats are safe +PASS Investigation companion delete partial removes saved, resume and guidance projections; repeats are safe +PASS Investigation companion delete completed removes saved, resume and guidance projections; repeats are safe +PASS Investigation companion deletion preserves unrelated investigations and their accepted tool progress +PASS Investigation companion old records without snapshots remain readable without invented advice +PASS Persistent investigation companion +PASS Guided investigation evidence, validation, revision and deterministic simulation +PASS diagnostic acceptance: 20 actual selected recommendation witnesses; stable v1 semantics; unchanged evidence/thresholds; adaptive, contradiction, revision, persistence, isolation, uncertainty, exhaustion and author outcomes +PASS Guided investigation diagnostic corrective acceptance +PASS production investigation catalogue: 127 deterministic completed paths; reachable=disconnected,causality,direction,continuity,motivation,slow,rushed,conflict,emotion,stakes +PASS Production Guided Investigation editorial acceptance +PASS Stored procedure architecture guard and detector cases +PASS Development SQL correlation, privacy and bounded queue polling +PASS Writer Phase21 repeated navigation acknowledgement and book isolation +PASS Review accepted anchors, immutable provenance and author decisions +PASS Historical native review offsets require original session and source proof +MEASURE 10000 navigation execution gates: 0.56ms; 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 deliberate narrative destinations commit focus; local visualisation, filtering, failed opens and edits submitted by POST do not +PASS Narrative navigation action boundary +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 uses shared current location while preserving the independent objective +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 uses shared current location while preserving the independent objective +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 uses shared current location while preserving the independent objective +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 uses shared current location while preserving the independent objective +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 uses shared current location while preserving the independent objective +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 uses shared current location while preserving the independent objective +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 uses shared current location while preserving the independent objective +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 legacy desk and queues remain available; Journey redirects to Reflect +PASS Writer navigation book-only new route checks access before metadata +PASS Writer navigation book switching retains Write without chapter parameters +PASS Writer navigation no duplicate desk/workspace destinations on Write +PASS Writer navigation single existing ribbon exposes all destinations on Write +PASS Writer navigation book switching retains Explore without chapter parameters +PASS Writer navigation no duplicate desk/workspace destinations on Explore +PASS Writer navigation single existing ribbon exposes all destinations on Explore +PASS Writer navigation book switching retains Plan without chapter parameters +PASS Writer navigation no duplicate desk/workspace destinations on Plan +PASS Writer navigation single existing ribbon exposes all destinations on Plan +PASS Writer navigation book switching retains Review without chapter parameters +PASS Writer navigation no duplicate desk/workspace destinations on Review +PASS Writer navigation single existing ribbon exposes all destinations on Review +PASS Writer navigation book switching retains Reflect without chapter parameters +PASS Writer navigation no duplicate desk/workspace destinations on Reflect +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 (407ms; 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 12ms. +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.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 diff --git a/Docs/Writer/Evidence/Phase3B1/build.txt b/Docs/Writer/Evidence/Phase3B1/build.txt new file mode 100644 index 00000000..0717ffd2 --- /dev/null +++ b/Docs/Writer/Evidence/Phase3B1/build.txt @@ -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 + PlotLine -> /srv/repos/PlotDirector/PlotLine/bin/Debug/net10.0/PlotLine.dll + PlotLine.Tests -> /srv/repos/PlotDirector/PlotLine.Tests/bin/Debug/net10.0/PlotLine.Tests.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.Client -> /srv/repos/PlotDirector/PlotDirector.NativeCompanion/Client/bin/Debug/netstandard2.0/PlotDirector.Companion.Client.dll + PlotDirector.Companion.Tests -> /srv/repos/PlotDirector/PlotDirector.NativeCompanion/Tests/bin/Debug/net10.0/PlotDirector.Companion.Tests.dll + WritingSolver -> /srv/repos/PlotDirector/Tools/WritingSolver/bin/Debug/net10.0/WritingSolver.dll + +Build succeeded. + 0 Warning(s) + 0 Error(s) + +Time Elapsed 00:00:33.72 diff --git a/Docs/Writer/Evidence/Phase3B1/cleanup.txt b/Docs/Writer/Evidence/Phase3B1/cleanup.txt new file mode 100644 index 00000000..07806ea3 --- /dev/null +++ b/Docs/Writer/Evidence/Phase3B1/cleanup.txt @@ -0,0 +1 @@ +PASS zero remaining synthetic account/projects/accepted snapshot/annotations. diff --git a/Docs/Writer/Evidence/Phase3B1/data-preservation.txt b/Docs/Writer/Evidence/Phase3B1/data-preservation.txt new file mode 100644 index 00000000..bdac6fd0 --- /dev/null +++ b/Docs/Writer/Evidence/Phase3B1/data-preservation.txt @@ -0,0 +1 @@ +PASS accepted manuscript/paragraph/scene/checkpoint payload unchanged; zero annotations written. diff --git a/Docs/Writer/Evidence/Phase3B1/development-browser.txt b/Docs/Writer/Evidence/Phase3B1/development-browser.txt new file mode 100644 index 00000000..ca879238 --- /dev/null +++ b/Docs/Writer/Evidence/Phase3B1/development-browser.txt @@ -0,0 +1,2 @@ +PASS Development Chromium: F1 mapped→chapter-only/unmapped/reset/refresh/return, empty new annotation targets; F2 legacy review readable/decisions available, chooser absent, unsafe navigation 409. +PASS Development simulated PWA: F1 mapped→chapter-only/unmapped/reset/refresh/return, empty new annotation targets; F2 legacy review readable/decisions available, chooser absent, unsafe navigation 409. diff --git a/Docs/Writer/Evidence/Phase3B1/focus-browser.txt b/Docs/Writer/Evidence/Phase3B1/focus-browser.txt new file mode 100644 index 00000000..4cfa17cc --- /dev/null +++ b/Docs/Writer/Evidence/Phase3B1/focus-browser.txt @@ -0,0 +1 @@ +PASS Chromium focus synchronisation: stable-ID chapter follow/dirty guard/Go, identical initial/header/recent/ribbon/Go/refresh accepted positions, canonical boundaries, stale anchor/response rejection, missing-map fallback, repeatable sticky/narrow offsets, disabled explanations and Focus/Help divider. diff --git a/Docs/Writer/Evidence/Phase3B1/native-chapters.txt b/Docs/Writer/Evidence/Phase3B1/native-chapters.txt new file mode 100644 index 00000000..9e90309e --- /dev/null +++ b/Docs/Writer/Evidence/Phase3B1/native-chapters.txt @@ -0,0 +1,465 @@ +PASS Range-only fingerprint uses the accepted paragraph-delimited algorithm +PASS Complete unchanged XML identity evidence avoids the native paragraph walk +PASS Range baselines and read-only flags survive the actual native IPC codec +PASS Locally verified XML emits the existing compact identity frames without transmitting XML +PASS A same-length text edit is found without length or saved-state changes +PASS Identical prose with replaced native identity is a changed chapter +PASS Missing exported native identities require detailed verification rather than guessed checkpoint reuse +PASS Floating drawing evidence retains the qualified native anchor reader +PASS Structural tbl cannot take the lightweight reuse path +PASS Structural fldChar cannot take the lightweight reuse path +PASS Structural ins cannot take the lightweight reuse path +PASS Structural del cannot take the lightweight reuse path +PASS Structural footnoteReference cannot take the lightweight reuse path +PASS Structural object cannot take the lightweight reuse path +PASS Structural altChunk cannot take the lightweight reuse path +PASS Changed chapter order and boundaries cannot retain range evidence +PASS Native geometry gaps always retain measured position validation +PASS Scale range fingerprint preserves exact chapter content 0 +PASS Scale range fingerprint preserves exact chapter content 1 +PASS Scale range fingerprint preserves exact chapter content 2 +PASS Scale range fingerprint preserves exact chapter content 3 +PASS Scale range fingerprint preserves exact chapter content 4 +PASS Scale range fingerprint preserves exact chapter content 5 +PASS Scale range fingerprint preserves exact chapter content 6 +PASS Scale range fingerprint preserves exact chapter content 7 +PASS Scale range fingerprint preserves exact chapter content 8 +PASS Scale range fingerprint preserves exact chapter content 9 +PASS Scale range fingerprint preserves exact chapter content 10 +PASS Scale range fingerprint preserves exact chapter content 11 +PASS Scale range fingerprint preserves exact chapter content 12 +PASS Scale range fingerprint preserves exact chapter content 13 +PASS Scale range fingerprint preserves exact chapter content 14 +PASS Scale range fingerprint preserves exact chapter content 15 +PASS Scale range fingerprint preserves exact chapter content 16 +PASS Scale range fingerprint preserves exact chapter content 17 +PASS Scale range fingerprint preserves exact chapter content 18 +PASS Scale range fingerprint preserves exact chapter content 19 +PASS Scale range fingerprint preserves exact chapter content 20 +PASS Scale range fingerprint preserves exact chapter content 21 +PASS Scale range fingerprint preserves exact chapter content 22 +PASS Scale range fingerprint preserves exact chapter content 23 +PASS Scale range fingerprint preserves exact chapter content 24 +PASS Scale range fingerprint preserves exact chapter content 25 +PASS Scale range fingerprint preserves exact chapter content 26 +PASS Scale range fingerprint preserves exact chapter content 27 +PASS Scale range fingerprint preserves exact chapter content 28 +PASS Scale range fingerprint preserves exact chapter content 29 +PASS Scale range fingerprint preserves exact chapter content 30 +PASS Scale range fingerprint preserves exact chapter content 31 +PASS Scale range fingerprint preserves exact chapter content 32 +PASS Scale range fingerprint preserves exact chapter content 33 +PASS Scale range fingerprint preserves exact chapter content 34 +PASS Scale range fingerprint preserves exact chapter content 35 +PASS Scale range fingerprint preserves exact chapter content 36 +PASS Scale range fingerprint preserves exact chapter content 37 +PASS Scale range fingerprint preserves exact chapter content 38 +PASS Scale range fingerprint preserves exact chapter content 39 +PASS Scale range fingerprint preserves exact chapter content 40 +PASS Scale range fingerprint preserves exact chapter content 41 +PASS Scale range fingerprint preserves exact chapter content 42 +PASS Scale range fingerprint preserves exact chapter content 43 +PASS Scale range fingerprint preserves exact chapter content 44 +PASS Scale range fingerprint preserves exact chapter content 45 +PASS Scale range fingerprint preserves exact chapter content 46 +PASS Scale range fingerprint preserves exact chapter content 47 +MEASURE range fingerprint CPU only: 48 chapters, 1530278 UTF-16 units, 30.7ms. Text was preallocated in memory. Range.Text extraction, Word XML export and Word UI responsiveness NOT measured. +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PASS New-session live evidence retains existing v1 content and identities +PORTABLE live verification: 48 chapters, 8457 paragraphs, 153139 words, 70.9 ms; excludes COM, network and UI. +PORTABLE previous XML parse and fingerprints: 111.1 ms; excludes Word XML extraction and native identity enumeration. +PASS Saved/offline/unsaved text edits cannot produce unchanged content evidence +PASS Saved/offline/unsaved text edits cannot produce unchanged content evidence +PASS Saved/offline/unsaved text edits cannot produce unchanged content evidence +PASS Deleted paragraph changes content evidence +PASS Inserted scene changes content evidence +PASS Chapter rename/reorder is not filename-based identity +PASS Interrupted identity frames are refused +PASS Missing paragraph evidence is refused +PASS Duplicate native identities are refused +PASS Invalid native outline is refused +PASS Unaccounted native text is refused +PASS Only genuinely edited chapters fail saved content fingerprints +PASS Only genuinely edited chapters fail saved content fingerprints +PASS Bounded chapter batching removes one timer tick per paragraph +SCHEDULER MODEL: old 8457 ticks / 211425 ms minimum, new 529 ticks / 13225 ms minimum; portable execution 9.1 ms. No COM latency simulated. +PASS Chapter batching yields immediately to pending selection +PASS Selection executes before further chapter reads +PASS Author activity interrupts a chapter batch +PASS A timer tick cannot execute unbounded chapter continuations +PASS Reopened chapter-capable document requests a bounded current-chapter read, never a full snapshot +PASS Checking progress reports committed acceptances, never a queued chapter number +PASS Unchanged chapter uploads hashes and native identity evidence, not manuscript prose +PASS Reopened unchanged chapter validates without any XML frame +PASS Chapter lifecycle does not invoke the full manuscript capture endpoint +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Passive selection never returns a navigation command +PASS Repeated cursor events reuse accepted current-session chapter validation +PASS Chapter completion is reported only after server acceptance +PASS Chapter chunks do not schedule repeated ribbon updates or invalidate Word during extraction +PASS Delayed duplicate chapter frames cannot resubmit an accepted operation +PASS A second Word document has independent chapter work and cannot inherit the first session's trust +PASS Closing a document rejects late extraction frames and preserves already accepted chapters +PASS Unindexed legacy identity displays actionable review instead of a zero-count scan +PASS No automatic chapter read is queued when every legacy heading lacks a native ID +PASS Native geometry reading is enabled only by the server manifest's support +PASS Agent preserves native Word spans, exact text lengths and geometry hash without uploading unchanged prose +PASS Structural review starts with the other chapter already durably accepted +PASS Unsupported final structure completes under review without rereading or revoking the accepted chapter +PASS Stationary observations do not restart an unsupported structural chapter +PASS Rejected-chapter fixture starts a bounded read +PASS Specific server rejection survives completion and is displayed to the author +PASS Stationary cursor does not restart a rejected chapter +PASS Stationary cursor does not restart a rejected chapter +PASS Stationary cursor does not restart a rejected chapter +PASS Stationary cursor does not restart a rejected chapter +PASS Stationary cursor does not restart a rejected chapter +PASS Stationary cursor does not restart a rejected chapter +PASS Stationary cursor does not restart a rejected chapter +PASS Stationary cursor does not restart a rejected chapter +PASS Stationary cursor does not restart a rejected chapter +PASS Stationary cursor does not restart a rejected chapter +PASS Stationary cursor does not restart a rejected chapter +PASS Stationary cursor does not restart a rejected chapter +PASS Stationary cursor does not restart a rejected chapter +PASS Stationary cursor does not restart a rejected chapter +PASS Stationary cursor does not restart a rejected chapter +PASS Stationary cursor does not restart a rejected chapter +PASS Stationary cursor does not restart a rejected chapter +PASS Stationary cursor does not restart a rejected chapter +PASS Stationary cursor does not restart a rejected chapter +PASS Stationary cursor does not restart a rejected chapter +PASS Rejected chapter waits for an explicit retry rather than reading Word repeatedly +PASS Chapter frames require negotiated native capability; legacy clients remain isolated +PASS Live chapter evidence requires separate capability negotiation +PASS Native text certification requires its separately negotiated capability +PASS Native physical position evidence requires its separately negotiated capability +PASS Initial reopen retains the existing qualified native identity reader +PASS Automatic chapter checking waits for three seconds of edit inactivity +PASS An older in-flight presence revision cannot discard newly accepted chapter work or restart verification +PASS A single saved chapter edit performs forty-seven lightweight checks and one detailed chapter read +PASS Automatic lifecycle reuses forty-seven checkpoints in batches and reconciles only Chapter 14 +PASS Automatic saved edit returns to forty-eight verified without a ribbon command +MEASURE incremental HTTP fixture: debounce=3s virtual, rangeChecks=48, detailedReads=1, reused=47, reconciled=1, processingMs=1430.1; includes held presence reply, synthetic XML, no Word extraction or COM. +PASS Periodic verification does not run continuously after a completed cycle +PASS Sixty-second unchanged checks retain all live checkpoints without any server reacceptance +PASS Manual Synchronise uses the range pipeline without invoking Repair +PASS Periodic range checks discover same-length edits without relying on Word change notifications +PASS A detected periodic mismatch is reconciled only under the newly registered revision +PASS Undo restoring accepted chapter content reuses checkpoints without reconciliation +PASS Redo takes the same selective automatic lifecycle +PASS Edits in two chapters rebase later seek hints and reconcile only the two changed chapters +PASS Unsaved range observations detect edited content without submitting incoherent native positions +PASS Periodic observations detect same-length changes and Undo while Word remains already unsaved +PASS Saving observed in-memory edits automatically reconciles only the remaining changed chapter +PASS An unassociated session diagnoses the missing book instead of implying verification is underway +PASS Synchronise on an unsaved edit shows the save requirement +PASS Repair reports its saved-state refusal without submitting stale evidence +PASS Revision change clears old commands without emitting a stale cancel +PASS Repeated clicks coalesce and an HTTP repair refusal reaches the ribbon +PASS Repair starts verification against the freshly confirmed saved revision +PASS Synchronise joins an active explicitly authorised verification +PASS Further edits retire the old chapter command +PASS Interrupted verification reports the revision change +PASS Writing Context is available before the other 47 chapters are acknowledged +PASS Progress counts acknowledged checkpoints rather than completed Word reads +PASS Matching chapters use two bounded acknowledgements, including early current-chapter readiness +PASS Actual request counts prove only changed chapters submit reconciliation prose +PASS Batch reuse reaches independently confirmed Up to date +PASS Diagnostics distinguish reused, submitted and reconciled chapters +MEASURE agent HTTP-contract fixture: chapters=48 changed=0 reuseRequests=2 acceptanceRequests=0 reconciled=0 payloadBytes=38625 totalMs=1264.0; HTTP in-memory, no Word/real network/SQL. +PASS Writing Context is available before the other 47 chapters are acknowledged +PASS Progress counts acknowledged checkpoints rather than completed Word reads +PASS Matching chapters use two bounded acknowledgements, including early current-chapter readiness +PASS Actual request counts prove only changed chapters submit reconciliation prose +PASS Batch reuse reaches independently confirmed Up to date +PASS Diagnostics distinguish reused, submitted and reconciled chapters +MEASURE agent HTTP-contract fixture: chapters=48 changed=1 reuseRequests=2 acceptanceRequests=2 reconciled=1 payloadBytes=71305 totalMs=1266.1; HTTP in-memory, no Word/real network/SQL. +PASS Writing Context is available before the other 47 chapters are acknowledged +PASS Progress counts acknowledged checkpoints rather than completed Word reads +PASS Matching chapters use two bounded acknowledgements, including early current-chapter readiness +PASS Actual request counts prove only changed chapters submit reconciliation prose +PASS Batch reuse reaches independently confirmed Up to date +PASS Diagnostics distinguish reused, submitted and reconciled chapters +MEASURE agent HTTP-contract fixture: chapters=48 changed=3 reuseRequests=2 acceptanceRequests=6 reconciled=3 payloadBytes=136657 totalMs=1266.4; HTTP in-memory, no Word/real network/SQL. +PASS Writing Context is available before the other 47 chapters are acknowledged +PASS Progress counts acknowledged checkpoints rather than completed Word reads +PASS Matching chapters use two bounded acknowledgements, including early current-chapter readiness +PASS Actual request counts prove only changed chapters submit reconciliation prose +PASS Batch reuse reaches independently confirmed Up to date +PASS Diagnostics distinguish reused, submitted and reconciled chapters +MEASURE agent HTTP-contract fixture: chapters=48 changed=0 reuseRequests=2 acceptanceRequests=1 reconciled=0 payloadBytes=38624 totalMs=1266.4; HTTP in-memory, no Word/real network/SQL. +PASS Writing Context is available before the other 47 chapters are acknowledged +PASS Progress counts acknowledged checkpoints rather than completed Word reads +PASS Matching chapters use two bounded acknowledgements, including early current-chapter readiness +PASS Actual request counts prove only changed chapters submit reconciliation prose +PASS Batch reuse reaches independently confirmed Up to date +PASS Diagnostics distinguish reused, submitted and reconciled chapters +MEASURE agent HTTP-contract fixture: chapters=48 changed=0 reuseRequests=2 acceptanceRequests=1 reconciled=0 payloadBytes=38624 totalMs=1265.1; HTTP in-memory, no Word/real network/SQL. +PASS Writing Context is available before the other 47 chapters are acknowledged +PASS Progress counts acknowledged checkpoints rather than completed Word reads +PASS Forty-seven calculated fingerprints remain pending until the server acknowledges their checkpoints +PASS Closing during final batch rejects the late reuse acknowledgement +PASS Interrupted reuse cannot report whole-manuscript completion after close +PASS Author quiet periods suppress accelerated chapter scheduling +PASS Chapter work respects an outstanding author quiet period +PASS Only runnable chapter work requests the shorter timer cadence +PASS Monotonic queue timings separate author delay and eligible timer/host idle +PASS Queue timing separates earlier scheduled active work from idle waiting +PASS Paragraph batches always make bounded progress and stop on either time or count limit +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Bounded native identity batches preserve exact accepted paragraph partition and content hash +PASS Changed native identity with unchanged prose cannot reuse the checkpoint +PASS Scale fixture visits every required native identity once with 288 collection acquisitions instead of 8457 +PORTABLE read fixture: 48 chapters / 8457 paragraphs / 153139 words, 95.3ms. Point/collection setups 8457 -> 288; saved-state calls for the paragraph walk 16914 -> 1152. No Word/COM timing. +PASS Inserted/deleted/moved native paragraph gaps cannot be accepted as contiguous evidence +PASS A paragraph extending across the live chapter boundary is refused +PASS Moving identical prose paragraphs changes identity evidence even when the chapter text fingerprint matches +PASS Writing Context becomes ready from verified current-cursor scene evidence before book completion +PASS A late presence reply cannot restore the scene at a previous cursor +PASS A verified chapter without a mapped scene never acquires a first-scene fallback +PASS Only whole-manuscript verification can distinguish an outside-chapter cursor from pending verification +PASS A reentrant timer cannot nest Word COM work inside an active callback +PASS Stale Word revision cannot make Context ready +PASS Unsaved Word state cannot claim a verified Context scene +PASS Chapter handoff exposes actual pipe and worker-idle timing +PASS Next asynchronous chapter command arrives without another selection or metrics frame +PORTABLE real pipe handoff (Linux sockets): 109.6ms, 2 polls; not Windows IPC/Word performance. +PASS Fast command polling expires after a bounded window instead of running permanently diff --git a/Docs/Writer/Evidence/Phase3B1/native-foundation.txt b/Docs/Writer/Evidence/Phase3B1/native-foundation.txt new file mode 100644 index 00000000..adb49bcb --- /dev/null +++ b/Docs/Writer/Evidence/Phase3B1/native-foundation.txt @@ -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: 104ms (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/Evidence/Phase3B1/predeployment-jobs.txt b/Docs/Writer/Evidence/Phase3B1/predeployment-jobs.txt new file mode 100644 index 00000000..c75d6847 --- /dev/null +++ b/Docs/Writer/Evidence/Phase3B1/predeployment-jobs.txt @@ -0,0 +1,9 @@ +StoryIntelligenceJobs.Status: 0 +StoryIntelligenceReviewCandidateGenerations.Status: 0 +StoryIntelligenceRuns.Status: 0 +StoryIntelligenceImportCommits.Status: 0 +WholeBookPlotSynthesisRuns.Status: 0 +CharacterEnrichmentRuns.Status: 0 +StoryIntelligenceBookPipelines.Status: 0 +OnboardingManuscriptBuilds.Status: 0 +Development active work total: 0 diff --git a/Docs/Writer/Evidence/Phase3B1/publish.txt b/Docs/Writer/Evidence/Phase3B1/publish.txt new file mode 100644 index 00000000..ae649ddf --- /dev/null +++ b/Docs/Writer/Evidence/Phase3B1/publish.txt @@ -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 -> /srv/repos/.pd-3b1-final-publish-PAghPf/ diff --git a/Docs/Writer/Evidence/Phase3B1/qualification.json b/Docs/Writer/Evidence/Phase3B1/qualification.json new file mode 100644 index 00000000..78c792ba --- /dev/null +++ b/Docs/Writer/Evidence/Phase3B1/qualification.json @@ -0,0 +1,34 @@ +{ + "date": "2026-11-20T21:49:48.789970+00:00", + "sourceCommit": "bcef86e1cc47764ae2165e4d9d1232fd666bbe13", + "initialImplementationCommit": "0aeb9d1005b892858c7f5ed4f1689351f2b3c125", + "release": "bcef86e-20261120T214617Z", + "applicationVersion": "1.0.0+bcef86e1cc47764ae2165e4d9d1232fd666bbe13", + "releaseDirectory": "/srv/apps/plotdirector-dev/releases/bcef86e-20261120T214617Z", + "rollbackDirectory": "/srv/apps/plotdirector-dev/current-before-bcef86e-20261120T214617Z", + "publishedAndDeployedSha256": { + "PlotLine.dll": "27fbaac9f38ebedf1a6b744f1ed3149b8c6e80fabd3fcfd869ab5d979ca28cc8", + "wwwroot/js/writer-review.js": "32831976d52bc0ce51b5c6c981c76b6c70a3922b87d06164984a0b209ce03b0b", + "wwwroot/js/narrative-focus-review.js": "3fdcb1515a46374262588b892860343dcf05b91a001ae1b3ce0fe1986d21c56c" + }, + "service": "active", + "localHttpGet": 200, + "publicTlsGet": 200, + "warningErrorJournalEntriesSinceFinalDeployment": 0, + "applicationChecks": 633, + "nativeFoundationChecks": 292, + "nativeChapterChecks": 453, + "browser": "Chromium with rendered MVC/Razor", + "pwa": "simulated standalone browser context; no installed Windows PWA", + "physicalWord": "not run", + "nativeSourceVersion": "1.0.0.40; unchanged, no package produced or installed", + "database": "PlotDirector_Development; verified before operations", + "schemaChanges": false, + "activeWorkBeforeStop": 0, + "fixtureBackup": "/var/opt/mssql/backup/pwa-desktop-20261120T214223-bfd877dbbc894f828b3dd6a028dcb738.bak", + "syntheticAcceptedPayloadSha256BeforeAndAfter": "A5EB590A25BB3CA468D95559F00A2E1D3CAA910EAB8341E1A34315865AAF7277", + "annotationWritesDuringLiveChecks": 0, + "remainingSyntheticAccountProjectsSnapshotsAnnotationsAndNativeReviews": 0, + "privateCredentialsRemoved": true, + "historicalWriter3ReviewSuite": "obsolete dialog-heading selector; not claimed passing; current Phase21 Review suite passed" +} diff --git a/Docs/Writer/Evidence/Phase3B1/reader-browser.txt b/Docs/Writer/Evidence/Phase3B1/reader-browser.txt new file mode 100644 index 00000000..b66216c7 --- /dev/null +++ b/Docs/Writer/Evidence/Phase3B1/reader-browser.txt @@ -0,0 +1 @@ +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 diff --git a/Docs/Writer/Evidence/Phase3B1/reader-freshness.txt b/Docs/Writer/Evidence/Phase3B1/reader-freshness.txt new file mode 100644 index 00000000..06d48aba --- /dev/null +++ b/Docs/Writer/Evidence/Phase3B1/reader-freshness.txt @@ -0,0 +1 @@ +PASS Reader accepted-metadata notification updates timestamps without replacing prose, selected text or Focused Reading; Next preserves focus. Browser/simulated PWA. diff --git a/Docs/Writer/Evidence/Phase3B1/review-browser.txt b/Docs/Writer/Evidence/Phase3B1/review-browser.txt new file mode 100644 index 00000000..1ae4f8e7 --- /dev/null +++ b/Docs/Writer/Evidence/Phase3B1/review-browser.txt @@ -0,0 +1 @@ +PASS Phase21 Review chapter/scene/passage annotations, classification/resolution, four themes, three widths, panels and Focus navigation; canonical/Word transport simulated diff --git a/Docs/Writer/Evidence/Phase3B1/review-fallback-browser.txt b/Docs/Writer/Evidence/Phase3B1/review-fallback-browser.txt new file mode 100644 index 00000000..de15cabe --- /dev/null +++ b/Docs/Writer/Evidence/Phase3B1/review-fallback-browser.txt @@ -0,0 +1,2 @@ +PASS Phase3B.1 Review Chromium: same/cross-chapter, unmapped/removed associations, dirty annotation/note deferral, late panel, refresh/return, explicit reselection; zero annotation writes/Word commands. +PASS Phase3B.1 Review simulated PWA: same/cross-chapter, unmapped/removed associations, dirty annotation/note deferral, late panel, refresh/return, explicit reselection; zero annotation writes/Word commands. diff --git a/Docs/Writer/Evidence/Phase3B1/source-guard.txt b/Docs/Writer/Evidence/Phase3B1/source-guard.txt new file mode 100644 index 00000000..81cd4d28 --- /dev/null +++ b/Docs/Writer/Evidence/Phase3B1/source-guard.txt @@ -0,0 +1 @@ +PASS historical review navigation session/content guards and acknowledgements diff --git a/Docs/Writer/Evidence/Phase3B1/sql-source-roundtrip.txt b/Docs/Writer/Evidence/Phase3B1/sql-source-roundtrip.txt new file mode 100644 index 00000000..64d4b567 --- /dev/null +++ b/Docs/Writer/Evidence/Phase3B1/sql-source-roundtrip.txt @@ -0,0 +1,2 @@ +PASS real SQL review save/read roundtrip: optional model fields absent, protected session/content proof retained; exact-session command works in isolated store (no Word). +Created owned disposable project/book/chapter, mapped/unmapped scenes and legacy review; no author content used. diff --git a/Docs/Writer/Evidence/Phase3B1/word-browser.txt b/Docs/Writer/Evidence/Phase3B1/word-browser.txt new file mode 100644 index 00000000..e93317ce --- /dev/null +++ b/Docs/Writer/Evidence/Phase3B1/word-browser.txt @@ -0,0 +1,2 @@ +PASS repeated unique navigation, immediate new focus targets, cross-book refusal, browser; browser simulated transport confirmation ms 1375,1336,1332 +PASS repeated unique navigation, immediate new focus targets, cross-book refusal, simulated PWA; browser simulated transport confirmation ms 1369,1346,1346 diff --git a/Docs/Writer/Writer-Phase3B1-Integration-Correctness-Completion.md b/Docs/Writer/Writer-Phase3B1-Integration-Correctness-Completion.md new file mode 100644 index 00000000..4f1645a1 --- /dev/null +++ b/Docs/Writer/Writer-Phase3B1-Integration-Correctness-Completion.md @@ -0,0 +1,128 @@ +# Writer Phase 3B.1 — integration correctness completion + +20 November 2026 (Europe/London). Scope: F1/F2 from [the integration audit](Writer-Phase3B-Word-Companion-Integration-Audit.md), audit commit `e7c35ae`, existing shared branch `codex/word-companion-native-phase1-20261104`. + +## F1: Review fallback selection + +The accepted Reader resolver correctly returned no precise paragraph for chapter-only or unmapped-scene Focus. Review's `selectNarrativeParagraph` previously changed its local selection only when supplied a paragraph, so the null branch reloaded the previous passage. Its notes panel, new-annotation reference and precise Word target could disagree with the chapter fallback. + +The null branch now clears the local paragraph/range, precise Word paragraph and scene, panel's selected scene, scene-specific note context and hidden new-annotation reference fields before loading chapter context. Scene annotations from the previous selection are hidden immediately, including while the context request is pending or fails. Existing recorded annotation provenance is not changed. The unmapped-scene explanation now describes the chapter fallback and explicit passage selection. + +The existing dirty/busy/text-selection/dialog gates still run before this reset. Unsaved annotation/note drafts keep their original references and text. After Save/Cancel and explicit Show current focus/Go, applying the deferred fallback performs the reset. Selecting an accepted passage explicitly afterwards still restores its verified scene context. Neither fallback nor selection writes an annotation or moves Word. + +## F2: historical native AI-review positions + +Previously the AI-review page filtered live documents by manuscript GUID and numeric Word revision and queued the stored suggestion's offset. A new open session can reuse that revision number, so this was not sufficient position provenance. + +`NativeReviewNavigation` now validates both the chooser and the POST action. Eligibility requires: + +- Correct author/book/manuscript and exactly one live lease for the source session, then the explicitly selected instance/session on POST. +- Nonempty original source-session provenance inside the authenticated capture, with its revision matching the result and live session; available saved Word with acknowledged-navigation capability. +- Existing authenticated encrypted capture, unprotected using the existing `NativeImport.Source.v1` purpose, with matching source session/revision/book/manuscript/chapter bounds. +- Valid complete capture geometry; its recomputed content/position hash must match the review's stored hash. Suggestion start/end must coincide with actual captured paragraph boundaries within that chapter. + +The content proof is the retained authenticated capture/hash plus the unchanged **original saved live session/revision**. It is not a new live Word text read, a guess from similar prose, or a canonical GUID inferred from an offset. An unsaved, changed, reopened, copied, ambiguous or unverifiable source is refused. The stored procedure returns the review table, whose columns do not include the model’s optional `SourceSession`/`SourceRevision`. The guard therefore derives provenance from the authenticated capture; if optional model fields are supplied, it additionally cross-checks them. Missing valid captured provenance/source is a supported legacy read/decision state, not a reason to rewrite historical records or reimport a book. + +Refused navigation returns HTTP 409 with a brief explanation. The review remains readable and approve/reject controls remain available; the unsafe chooser is omitted. Valid navigation uses the existing presence command queue with saved-state and acknowledgement requirements, existing ID/expiry/session/manuscript fences and native execution checks. The UI continues to say **requested**, never completed merely because a request was queued. Existing correlated completed/failed/timed-out receipt behaviour remains intact. No parallel transport or receipt system was added. + +## Changed files and permanent regression coverage + +| File | Change | +|---|---| +| [writer-review.js](../../PlotLine/wwwroot/js/writer-review.js) | Clear obsolete local/annotation/Word targets on non-precise Focus application | +| [narrative-focus-review.js](../../PlotLine/wwwroot/js/narrative-focus-review.js) | Accurate existing fallback explanation | +| [NativeReviewNavigation.cs](../../PlotLine/Services/NativeCompanion/NativeReviewNavigation.cs) | Shared original-session/content proof and unambiguous candidate guard | +| [NativeWorkspaceController.cs](../../PlotLine/Controllers/NativeWorkspaceController.cs) | Apply guard to GET chooser and POST; queue through existing acknowledged navigation | +| [native Review view](../../PlotLine/Views/NativeWorkspace/Review.cshtml) | Explain unavailable original position without removing decision controls | +| [application composition](../../PlotLine/Program.cs) | Register scoped navigation guard | +| [NativeReviewNavigationTests.cs](../../PlotLine.Tests/NativeReviewNavigationTests.cs) | Controller/service/queue contract tests; focused executable entry and full harness registration | +| [test entry points](../../PlotLine.Tests/Program.cs) | Register F2 suite and `--native-review-navigation` command | +| [ToolbarBrowserHost.cs](../../PlotLine.Tests/ToolbarBrowserHost.cs) | Isolated accepted fixture with same-chapter scene association removal, preserving paragraph GUIDs | +| [reader-word-freshness.cjs](../../PlotLine.Tests/Browser/reader-word-freshness.cjs) | Assert metadata updates in the existing collapsed details rather than requiring its timestamp to be visibly expanded | +| [writer-phase21-word.cjs](../../PlotLine.Tests/Browser/writer-phase21-word.cjs) | Qualify navigation through authoritative Global Focus instead of superseded objective-save event; initialise independent fixture focus and assert objective remains unchanged | +| [writer-phase3b1-review.cjs](../../PlotLine.Tests/Browser/writer-phase3b1-review.cjs) | Permanent real Chromium/MVC regression based on audit reproduction, repeated in simulated PWA | + +F1 coverage includes mapped→chapter-only/unmapped/mapped within one chapter, cross-chapter navigation, accepted mapping removal with stable paragraph identities, dirty annotation/note deferral and explicit resumption, delayed obsolete panel responses, refresh/cached return, and explicit passage reselection. It asserts correct Global Focus/chapter, empty obsolete paragraph/scene/Word/new-annotation targets, and **zero automatic annotation saves or Word navigation commands**. Existing Focus synchronisation tests additionally cover delayed/out-of-order chapter responses and obsolete Reader scroll restorations. + +F2 exercises valid original source, the actual persisted shape with absent optional model fields but complete authenticated capture, failed/timed-out acknowledgement, reopened sessions including equal numeric revisions and changed preceding text, copied properties, missing session/revision/capture, mismatched source session, changed capture/hash, changed live revision, unsaved Word, wrong author/book/manuscript/instance, expired/replaced leases, ambiguous duplicate source sessions and non-boundary offsets. Unsafe cases issue no native command (therefore no simulated Word selection); review reading/decisions remain available for the owning author. Navigation assertions compare the source/review record before and after, with repository proxies rejecting unrelated writes. Physical Word selection is not simulated as physical acceptance. + +## Architectural and data preservation + +No SQL migration, schema change, inline application SQL, native/protocol/version change, manuscript identity change, annotation reference rewrite, new editor or ribbon control. Word document binding and accepted content remain authoritative through their existing contracts. Global Focus does not move Word automatically; Word observations do not change Global Focus. Objectives, sessions, intentions and local reading positions keep their independent targets. No R1/R2 reliability work, optional Context acknowledgement change, Phase 3B.2 or 3B.3 was undertaken. + +The unrelated untracked `Docs/Investigations/CanonicalManuscriptArchitectureAssessment.md` remains untouched. Remote fetch/pull completed before changes; shared-branch updates use ordinary commits/push, without rewriting history. + +## Automated qualification + +- Solution build passed, zero warnings/errors. The initial normal build passed; one later build process failed with an internal CLR error before compilation. Retrying serially with `-m:1 -nr:false -p:UseSharedCompilation=false` passed cleanly. This was not reported as an application-test failure or a Windows build. +- Full executable application harness passed **633** checks, exit 0, including new historical-review guards and existing Writer/Review/Focus/Reader/Word checks. +- New F1 rendered-MVC Chromium suite passed in normal browser and simulated PWA with all nine requested transition/retention scenarios and zero automatic annotation/Word commands. +- Current Phase21 Review browser/simulated-PWA suite passed chapter/scene/passage annotation create/edit, classification/resolution, responsive layouts, panels and Focus navigation. +- The historical `writer3-review.cjs` suite stopped at a superseded “Reading & Audio Review” summary (now a hidden dialog heading). It is not claimed to pass. Current Phase21 Review covers the actual audio dialog/ribbon and annotation UI. No production UI was altered to satisfy the obsolete selector. +- The Phase21 Word test initially dispatched the superseded objective-save event and assumed process-global fixture Focus would reset between browser contexts. The test now initialises its own Focus and uses `PlotDirectorNarrativeFocus.set`, preserving an explicit objective-target assertion. Current normal-browser/simulated-PWA repeated navigation, unique command IDs, updated focus and cross-book rejection pass. + +- Global Focus synchronisation and Manuscript Reader browser suites passed, including stale chapter responses/scroll restorations and three widths × four themes × browser/PWA. Reader accepted-metadata freshness passed in browser/simulated PWA, preserving selected text and prose DOM. Its assertion now waits for attached timestamps because current Review deliberately collapses metadata details; production metadata visibility was not changed. + +### Persistence qualification correction + +Final persistence inspection established that `dbo.NativeChapterReview_Access` returns the review table, while `NativeReviewSource_Save` stores session/revision in the retained encrypted capture and result JSON, rather than dedicated `SourceSession`/`SourceRevision` columns. The first server guard safely refused unverifiable targets but also depended on those optional model fields being populated. Before completion, this was corrected to derive authority from the authenticated capture and cross-check optional fields only when present. + +A permanent `persisted source-only` regression now keeps the optional fields null and requires valid exact-session navigation. A real Development SQL repository save/read round-trip additionally confirmed that actual persisted rows have that shape and that the production guard can queue the exact source position into an isolated presence store. The SQL test used a disposable account, synthetic capture and ephemeral test protector; it did not operate Word or claim successful native execution. Missing session/revision inside the capture, mismatched hashes or another live session still fail closed. The normal legacy UI explanation makes no promise that resubmitting cached analysis can refresh old positional provenance. + +## Final qualification and Development deployment + +Final source: **`bcef86e1cc47764ae2165e4d9d1232fd666bbe13`**, incorporating initial F1/F2 implementation **`0aeb9d1005b892858c7f5ed4f1689351f2b3c125`** and the retained-provenance compatibility correction. Both commits were pushed normally to the existing shared branch. The subsequent completion-report/evidence commit does not change deployed binaries and is identified in the final handoff. + +Final source build passed with zero warnings/errors, and the full executable application harness passed **633** checks again after the provenance correction. The focused source-navigation suite also passed again. Native source/protocol were unchanged; preservation qualification passed **292 foundation** and **453 chapter synchronisation** assertions. These are managed/Linux fixture results, not physical Windows acceptance. + +[Qualification manifest](Evidence/Phase3B1/qualification.json) records exact release/hash/data results. [Evidence directory](Evidence/Phase3B1) contains successful build, full application, native, current browser, real SQL round-trip, deployed-browser and preservation/cleanup logs. The existing obsolete `writer3-review.cjs` selector failure is explicitly recorded above rather than counted as a pass. + +| Deployment evidence | Result | +|---|---| +| Final release | `/srv/apps/plotdirector-dev/releases/bcef86e-20261120T214617Z` | +| Previous application backup | `/srv/apps/plotdirector-dev/current-before-bcef86e-20261120T214617Z` | +| Running application informational version | `1.0.0+bcef86e1cc47764ae2165e4d9d1232fd666bbe13`, read from the deployed DLL | +| Service | `plotdirector-dev` active after restart and authenticated acceptance | +| Local/public smoke | Real GET 200 at `http://127.0.0.1:5050/` and TLS-validated `https://dev.plotdirector.com/` | +| Before stopping | Zero active work across eight import/analysis/generation/commit/pipeline/synthesis/enrichment/build status sources. Pending editorial review candidates are not worker jobs | +| Final service journal | Zero warning/error entries from final deployment through acceptance/cleanup | +| Configuration/data | Deployed appsettings, environment files, data protection, uploads and log directories preserved; no migration or configuration change | +| Native deployment | None; no Windows process, installation or document was operated | + +Published and deployed SHA-256 values match: + +| Artifact | SHA-256 | +|---|---| +| `PlotLine.dll` | `27fbaac9f38ebedf1a6b744f1ed3149b8c6e80fabd3fcfd869ab5d979ca28cc8` | +| `wwwroot/js/writer-review.js` | `32831976d52bc0ce51b5c6c981c76b6c70a3922b87d06164984a0b209ce03b0b` | +| `wwwroot/js/narrative-focus-review.js` | `3fdcb1515a46374262588b892860343dcf05b91a001ae1b3ce0fe1986d21c56c` | + +The initial Development release `0aeb9d1-20261120T213346Z` was superseded after the persistence compatibility issue was found during final qualification. It failed closed rather than navigating unverifiable positions. The final release above contains the corrected source-only provenance handling and passed the full application harness and actual SQL round-trip. An earlier temporary-filesystem publish hit quota before deployment; the successful final publish used a fresh disk-backed staging directory. Failed publish output was never installed. + +### Authenticated deployed acceptance and preservation + +Real Chromium and simulated standalone/PWA contexts logged in through normal authentication as a disposable Development account. They exercised the deployed MVC/Razor/JavaScript, without replacing manuscript/Focus/Review endpoints with fixture responses: + +- Mapped scene→chapter-only and mapped scene→unmapped scene in the same accepted chapter: Global Focus/chapter remain correct, Review panel has no old scene, exact Word paragraph/scene references clear, and a new annotation has no inherited passage or scene fields. +- Chapter-only refresh and cached-return lifecycle preserve the cleared targets. The accepted unmapped scene remains unmapped; no paragraph association is manufactured. +- A legacy native review remains readable with decision controls and an explanatory unavailable-position message. Its unsafe chooser is absent; an authenticated CSRF-valid direct navigation POST returns **409**. No Word document was connected or selected. +- The separate real SQL round-trip confirmed valid retained source-only provenance with the production guard and an isolated native command queue. This establishes actual repository compatibility, not a live Word/UI navigation result. + +The synthetic accepted manuscript/paragraph/scene/checkpoint payload had the same SHA-256 before and after browser acceptance, and **zero annotations** were written. Existing annotation reference/provenance behaviour is additionally covered by the full harness and current annotation browser suite; no observation schema or save implementation was changed. + +Before provisioning, the existing guarded identity helper verified `PlotDirector_Development`, made a copy-only/checksum backup and verified its file was nonempty. The final provisioning backup is `/var/opt/mssql/backup/pwa-desktop-20261120T214223-bfd877dbbc894f828b3dd6a028dcb738.bak`. Only owned disposable fixture data was written. The first fixture attempt correctly hit the existing scene-map completeness guard; only that synthetic fixture was corrected to represent the unassigned scene explicitly, without assigning any paragraph to it. + +Normal account deletion removed both rounds of disposable projects and private identities. Final read-only checks found zero remaining synthetic account/project/snapshot/annotation/native-review rows; the private credential file was deleted. No author's manuscript collection or real accepted content was used. Production was untouched. + +## Native version implications and outstanding physical acceptance + +There is **no native package/version change or new installation requirement from these server/browser fixes**. Native source remains **1.0.0.40**, with the existing acknowledged-navigation capability, command identity, session/revision/manuscript fences, expiry and adapter acknowledgement protocol. This does not assert which version is currently installed on a Windows device. + +Physical Windows/Word and an actually installed Windows PWA were unavailable. The portable native queue, real SQL, Chromium and simulated standalone contexts must not be described as physical acceptance. Phase 3B.4 should use an authorised disposable manuscript and matched existing capability-supporting add-in/agent to verify: + +1. Valid retained capture in its original saved live session selects the intended document/range and reports the actual adapter acknowledgement; queueing alone remains requested. +2. Reopen with the same numeric revision, copied properties, changed preceding content, changed/unsaved revision, stale/expired session or late acknowledgement never selects a stale range. Reading and decisions remain usable. +3. F1 chapter-only/unmapped fallback, dirty annotation/note deferral, explicit reselection, refresh and real PWA return preserve intended targets and drafts while Word remains independent. +4. Existing large-manuscript typing/scrolling/cancellation and document-switching behaviour is preserved; no new Word responsiveness or performance result is claimed here. + +No installation, Word closure, real manuscript mutation or production change is authorised merely by this report. Stage 3B.1's automated and Development acceptance is complete; **stop for review**. Phase 3B.2/3B.3 has not begun.