PlotDirector/Docs/Writer/Writer3/Phase3C-Execution.md

4.7 KiB
Raw Blame History

Phase3C execution and persistence contract

Scope: Phase3C only. Fetched and fast-forwarded81b57a5 to55bdce3 before editing, preserving merged Windows ribbon/Audio Review, typed authenticated Return to Writer and independent recording-control corrections. Native source version1.0.0.40; this phase changes no native binaries/contracts or Windows installation.

3C.1–3C.2

Review previously linked to Reader. The existing canonical Reader is now a shared Razor partial embedded in Review, keeping its controller, accepted-version requests, selectable text, paragraph renderer, Focused Reading, refresh/pause/selection/anchor policy and session toolbar. Review URL chapters remain separate from saved objectives and session/Word/pinned/Intent targets. Scene context comes only from accepted paragraph assignments, with chapter fallback for unknown, mixed, stale or unavailable scenes. Existing Phase3A pure authoring service provides intentions, notes/reminders and workflow. Full editing uses existing canonical editors in another window rather than reproducing Write.

3C.3 storage decision

SceneNotes cannot represent chapter-level observations, accepted version or paragraph ranges. Session return notes require a real session and have separate retention/lifecycle. Story Intelligence/native suggestions carry machine provenance and author approval semantics; they are not free-form reader annotations. No existing suitable anchored author-review store was found. New author-private WriterReviewObservations therefore holds only entered observation/decision, its own Open/Working/Resolved state, immutable accepted manuscript/version/paragraph/offset/hash references and timestamps. No copied quote, manuscript-specific logic or inferred fact is stored.

Migration272 adds scoped stored procedures, the observation table and a pure paragraph-position lookup reusing existing current checkpoint/hash/identity joins. Chapter/user cascades and book foreign key support existing guarded deletion. Author/book/chapter checks, optimistic versions, client-generated idempotency IDs and canonical-revision locking protect writes. Creation validates the displayed chapter fingerprint and exact range; update cannot change original references. Resolving never changes canonical scene status, sessions or prose. Pagination bounds list payloads. Reads do not seed rows.

3C.4–3C.5

Review reuses Phase3B acknowledged navigation. Optional paragraph handoff uses exact current accepted revision/paragraph plus live proof and targets the paragraph start, not an assumed character range. Rejection never automatically falls back; the separate verified chapter action remains explicit. Native identity/session/revision/expiry/ack fences stay intact. Reader metadata-only changes update its revision without replacing text. No observation is resolved by accepted text changing. Missing references never search for similar text.

Existing Audio Review controls, target/UUID, timing, native media safeguards and return notes remain in the shared Reader toolbar. Observation saves replace only the companion's recorded context/list. Dirty editors pause Reader replacement and restore the prior pause preference on Save/Cancel. Existing findings remain distinct optional Intent/book tool routes; opening Review invokes no analysis.

3C.6 bounded follow-ups

Five-destination geometry captures at1440,1024 and390 showed normal viewport-bottom fit before changes, with a large header consuming work area. Shared compact header/tools reclaim height; viewport measurement uses rendered rather than document-relative top, fixing scrolled-shell subtraction. Reader is not constrained by a second fixed-height scrollport. Resizing/collapse/overlay/short-window flow remain authoritative.

Explore's first two choices pointed at public Problem Solver routes. They now use authenticated scoped Write and Plot Lines/threads, with honest tool labels. Timeline remains the distinct authenticated shape tool. No iframe or Phase5 guided engine is introduced.

Qualification, deployment, data hashes, screenshots, native baseline and remaining physical acceptance are recorded in Phase3C-Report.md. Phase4 is not started.

Phase3C Development qualification complete

Application 78865cf deployed in release 78865cf-20261116T230802Z. Build,600 application checks,292 native preservation checks, browser suites and authenticated Development Review acceptance passed. Read-only data hashes matched; disposable account and observations were removed. Native1.0.0.40 is unchanged; physical Windows/media/installed-PWA/multiple-monitor acceptance remains manual. Review Help popup, More drawer and full article passed. See Phase3C report for evidence and limitations. Phase4 has not started.