4.0 KiB
Phase3B authoritative contract and execution ledger
Authorised Phase3B only, shared branch retained; fetched remote and verified no incoming commits before editing. The unrelated canonical-manuscript investigation is untouched. No Windows software installation is authorised by this implementation task.
3B.1 findings
The current VSTO/agent chapter-range implementation, rather than historical README claims, is authoritative. Saved-state fences, paragraph identities, checkpoint/hash joins, three-second saved-change debounce, periodic bounded range verification and per-document/session/revision cancellation remain intact. Unsaved observations do not accept prose or verify navigation positions. Reader already preserves Focused Reading in Previous/Next, selected text and paragraph anchors, with pause/update controls; no replacement Reader is needed.
NativePresenceStore carries expiring authenticated document leases. NativeWorkspace status already supplies accepted revision, mapping state and chapter progress through one existing status loop/SignalR invalidation. Writing.Context/Navigate already verifies scene anchors but reports only requested; VSTO returns adapter-result locally, and the agent did not expose correlated navigation completion to the web. The minimum extension is capability-negotiated acknowledged navigation plus an expiry/manuscript fence, reusing existing exact-session delivery and adapter-result.
ChapterSync.List supplies bounded live chapter starts, but a list row alone is not proof: Writer rechecks its first position with ChapterSync.Position against current accepted hashes, manuscript, session and revision. Existing verified scene-start and paragraph position procedures remain authoritative. No scene title/order approximation or synthetic marker is introduced.
3B.2–3B.5 composition
Write consumes an optional Writer envelope on the existing status request. A new pure metadata procedure returns only accepted snapshot/chapter times; no manuscript payload is sent for routine status. Verified cursor labels come from current server position lookups and authorised structure names. Several matching documents require explicit choice; an exact live Word-origin session hint can select its own document without changing working focus. A separate explicit canonical SaveObjective action adopts its verified chapter if desired.
Explicit chapter/scene handoff requires acknowledged-navigation capability. Server, agent and VSTO fence exact session/revision/document and command expiry; only the correlated adapter result completes the receipt. Bounded receipt checks exist only during that explicit action. No second background native poller or reconciliation engine is created. Check saved manuscript uses the established snapshot endpoint's bounded chapter check; it never requests fullSnapshot or forces a save.
Reader consumes accepted-revision notifications through existing presence and refreshes timestamps without replacing unchanged prose. Existing accepted-text replacement/pause/selection/anchor policy is preserved. Native Return to Writer reuses the authenticated launcher; standalone Context/Intent placement/follow/pinned behavior is unchanged.
3B.6 gates
Build, full web/native executable harnesses, scoped resolver/receipt/adapter-policy assertions, browser/PWA status/navigation/recovery, Reader freshness, existing authoring/focus/layout and standalone follow tests; verified backup and additive metadata procedure; authenticated Development no-Word/permission/rejection checks; scoped author-data hashes and guarded fixture cleanup; final release/report/evidence. Physical VSTO compile/load, real Word navigation/UI timing/media and multiple monitors remain explicitly manual.
Batches3B.1–3B.6 implemented and Development software-qualified at9969c9b. See final report for release/evidence, measured limits, fixture cleanup and exact Windows acceptance/installation steps. No Windows install, Production deployment or Phase3C work occurred.