52 KiB
Phase 3B.4 physical acceptance matrix
Execute with Windows handover and its ready-to-paste prompt. Stable IDs must not be renumbered between attempts. Record every ID, including BLOCKED/NOT_RUN; for performance record both sizes and each trial. This document specifies tests; it contains no physical results.
Common preconditions P0: source/package/signatures verified per handover; human-approved normal-user interactive window; matched installed .41 agent/add-in; correct Development account and exclusively owned disposable fixture project/books; pristine saved local copies and accepted-baseline metadata retained; no real author documents open or targeted. A01–A02 establish P0 progressively. Install/Word/PWA/fixture writes are never authorised solely by an unattended build. Use correct explicit book/document choices in both Companion and Writer.
Evidence E0 for every case: UTC start/end, source/package/installed/server versions, fixture alias, expected/actual, PASS/FAIL/BLOCKED/NOT_RUN and cleanup result in results.jsonl. Add the row-specific evidence below. N = private native logs and before/after Word Diagnostics/Companion Troubleshooting (sanitised extracts only); B = browser/PWA screenshot plus redacted status/command ID/outcome/timestamps; S = before/after saved/accepted/verified revision, paragraph IDs/order, chapter/scene association and accepted text sentinel/hash, obtained through supported read-only Reader/diagnostics, not direct SQL/secret state. M = handover performance CSV, traces/counters with actual measurement scope. Screenshot a real Word landing when a range is expected. Whole HAR/credentials/private state never enter Git.
Cleanup C0: preserve evidence first; finish/discard only the run's authorised synthetic drafts, end only its sessions, restore its pristine working copy/accepted fixture through normal UI where needed; do not delete shared/author data or erase a failure. Close/reopen only disposable documents normally. If baseline cannot be safely restored, create a new owned fixture book with permission or mark dependent cases BLOCKED.
Each row's pass condition is conjunctive: FAIL on any contrary observable result, particularly wrong document/range, stale completion, accepted unsaved content or overwritten draft. A missing prerequisite/control is BLOCKED, not a pass or an invitation to forge commands. managed-only supplemental results never fill a required physical result. Stop the run on unsafe behaviour; record dependency-blocked remainder.
A. Installation and startup (run first)
| ID | Purpose | Preconditions | Exact actions | Expected result | Evidence beyond E0 | Pass/fail criterion | Cleanup |
|---|---|---|---|---|---|---|---|
| A01 | Clean source, signed package and recovery gate | Existing tools/cert; human installation not yet authorised | Execute handover section 3 in clean shared checkout; record full SHA; validate manifests, payload and MSI/CAB; locate/verify baseline MSI and rollback package; inspect current installation read-only. | Matched .41 payload, 1.0.41 MSI, expected signer/source/hash; no installation side effect. | Build/test transcripts, mage/signatures, package reports and sanitised before inventory. | PASS only all required static gates and recovery artefact verification succeed. Missing baseline/rollback artefact BLOCKS installation; conditional historical failed-fixture test may be separately BLOCKED. | Retain baseline/output separately; no installed-state change. |
| A02 | Approved upgrade/clean normal startup | A01 pass; concrete human approval; Word saved/closed normally | Human launches unified EXE from Explorer; complete normal trust UI; wait for actual setup completion; inspect installed MSI/files/registration and running tray; open Small in Word. | Correct per-user .41 bytes, Complete=3, expected installed manifest and loaded ribbon; no author-state loss. | Installer logs, before/after inventory, file hashes/versions, ribbon/diagnostics and PID path. | PASS only loaded add-in AND actual installed/running agent match signed package; setup exit zero alone fails proof. | Retain installer backups privately; leave only synthetic Small open. |
| A03 | Word before agent | P0; no active sync; normal agent exit/relaunch approved | Exit Companion normally (not X); keep/open Small in Word; observe startup and ribbon; use Open Companion if paused launch requires explicit activation; record both paths. | Word remains usable; one correct agent/IPC attaches; no forced document save. Explicit paused-state activation is distinguishable from auto-start. | N, launch status/PIDs/times, observed pause state. | PASS if normal supported startup connects without duplicate/wrong agent; unexpected need to reset approval fails. | Restore normal agent and record any paused preference through supported UI only. |
| A04 | Agent before Word | P0; no disposable Word windows; tray running | Open installed Companion first, then Small in Word; select its book explicitly if unassociated. | Add-in attaches to existing same-user agent; exact document/session appears. | N, load order/times and session alias. | PASS if one installed agent and correct session/binding; wrong binary/session fails. | Close only Small normally. |
| A05 | Browser before Word | P0; Word fixture closed | Open Development Writer in normal browser, observe disconnected state; open Small and wait for fresh saved position. | Previously accepted text stays readable; status recovers without navigating cursor or retargeting objective. | B/N, accepted-text before/after. | PASS iff disconnected-to-connected recovery is accurate and no implicit navigation/target change. | C0. |
| A06 | Word before browser | P0; Small open and fresh | Place cursor at sentinel; then open Writer/Review; note Global Focus and cursor separately. | Browser attaches to correct live manuscript; cursor and Focus remain independent. | B/N, Word range screenshot and Focus/objective snapshot. | PASS iff opening browser causes neither automatic Word movement nor objective change. | C0. |
| A07 | Actual add-in loading | P0; fresh Word launch | Inspect Word COM Add-ins/Disabled Items, installed manifest, Diagnostics version and PlotDirector ribbon; use Open Companion. | Intended .41 VSTO loads with current IPC, not a debug/old/duplicate deployment. | Word UI, registration target/hash, load error if any. | PASS only actual load/IPC confirmed; registration/LoadBehavior alone insufficient. | Do not re-enable/edit trust automatically; retain failure. |
| A08 | Correct account/server and renewal | P0; authorised Development account; existing approval preserved | Inspect Companion server/account/book; if approval required use Sign in with your browser and normal Development approval; wait/recheck through a renewal interval (>10min across later tests). | Intended Development author/book only; persistent renewal/restart uses same approval unless revoked. | Sanitised account alias, B/N connection/renewal times; no tokens/codes. | PASS if correct authenticated ownership and renewal; wrong binding or token reset fails. | Leave approved binding intact; no website logout merely for cleanup. |
| A09 | Browser refresh | P0; saved objective and live selected document | Record target/draft, reload browser; observe status and accepted Reader; issue one explicit navigation after freshness recovers. | Persisted state survives; no automatic Word movement; exact explicit request works. | B/N, objective and range before/after. | PASS iff persistence and explicit-only navigation hold. Unsaved page drafts obey normal documented reload warning, not fabricated persistence. | C0; do not reload a real unsaved form. |
| A10 | Actual installed PWA startup | P0; existing installed Development PWA, version recorded | Human starts installed PWA via its normal shortcut; open same fixture book; verify standalone display, auth, connection, accepted Reader and explicit navigation. | Real installed PWA uses current server/JS and correct account/session. | Actual installed-app/window/version evidence, B/N. | PASS only actual installation/startup; browser with standalone flag is NOT a substitute. | Close only test PWA window normally. |
B. Document identity and explicit selection (R2)
| ID | Purpose | Preconditions | Exact actions | Expected result | Evidence beyond E0 | Pass/fail criterion | Cleanup |
|---|---|---|---|---|---|---|---|
| B01 | Convenient single document | P0; new browser tab with no prior explicit choice; only Small live | Open Writer for Small's book; observe initial choice; request Chapter in Word once. | Sole eligible live document auto-selects; request targets Small exactly. | B/N, instance/session/range aliases. | PASS if unambiguous initial choice and actual acknowledged landing; no second document involved. | Close test tab; C0. |
| B02 | Two independent documents | P0; Small and Medium mapped to separate disposable books | Open both; inspect Companion sessions and Writer status for each book; explicitly choose intended document where chooser appears. | Book-scoped candidates and independent identities; no title-based association. | B/N, per-book/session map. | PASS iff no cross-book candidate or unexpected navigation. | Keep fixtures open for next cases. |
| B03 | Explicit same-book A choice | P0; associated Small=A and same-property copy=B simultaneously open | In one Writer tab show eligible A/B; explicitly choose A, note its instance/session; request navigation. | Choice is A even if B is active; exact A executes. | B/N, choice and actual active/range proof. | PASS iff selected exact A executes and no action reaches B. | Leave explicit A selection in same tab. |
| B04 | Close selected A (R2 core) | B03; B remains open | Close A normally; do not touch chooser; wait for close/status propagation; attempt existing navigation controls. | A remains selected as disconnected/unavailable; chooser retained, navigation disabled; B never substituted. | B/N, before/after choice/session and command/execution counters. | PASS iff no automatic B selection or navigation; any silent substitution FAILS R2. | Reopen A only in B06; retain tab selection. |
| B05 | Close unselected B | A/B live; explicitly A selected | Close B normally; refresh status without changing choice; navigate to A's known scene. | A stays selected, valid navigation still executes A. | B/N and landing. | PASS iff selection remains exact A; unwanted clearing/retargeting fails. | Restore B from synthetic copy if needed. |
| B06 | Reopen selected document | B04 or equivalent old explicit A session | Reopen same A file; inspect new session; wait without choosing; then deliberately select reopened A and navigate. | Old explicit session stays unavailable until deliberate choice; new session never inherits old execution proof. | Old/new session aliases, B/N and landing. | PASS iff no automatic new-session substitution; fresh explicit selection restores eligibility. | C0. |
| B07 | Active Word window independence | A/B live, explicitly A selected | Alternate active Word windows at least ten times and move cursors; return to same Writer tab without choosing. | Writer selection remains A; Global Focus/objective do not follow Word cursor. | B/N, session/Focus history snapshots. | PASS iff passive window/cursor changes never choose B or rewrite saved targets. | Activate A normally for fresh observation. |
| B08 | Same title, copied properties | Two same-filename fixture copies in separate test directories; both intentionally retain same PlotDirector properties | Inspect GUID/session aliases; choose each separately and navigate to distinct sentinel positions; close one. | Shared title/properties do not collapse live sessions; uncertain mapping is refused rather than guessed. | B/N, alias/GUID equality and distinct ranges. | PASS iff no wrong-copy execution; refusal is acceptable where duplicate provenance cannot be verified, but record limits. | Close/delete only authorised copies after evidence. |
| B09 | Agent restart with open docs | P0; A/B saved; no in-flight mutations; explicit A chosen | Record selection and sessions; quit agent normally, reopen installed Companion; observe reconnect while Word remains open; do not choose another document. | Old identity never silently becomes B; restart/reconcile does not mint saved proof before observation; correct same-session recovery or explicit unavailable state. | B/N, restart PIDs, choice key, saved-proof timeline. | PASS iff no identity substitution or false verification; require explicit choice if session changed. | Restore normal agent; C0. |
| B10 | Browser/PWA refresh and cached return | Explicit A; A disappears with B remaining; normal sessionStorage enabled | In the same tab/window reload, leave/return via history, minimise/restore installed PWA; inspect chooser each time; deliberately choose B only at end. | Explicit unavailable A remains; no navigation until deliberate eligible choice. | B/N, storage-policy metadata (no private content), before/after key. | PASS in same tab iff no substitution through each return; separate tabs and blocked storage must be reported separately, not assumed equivalent. | Restore tab/PWA choice deliberately; C0. |
C. Word observation freshness (R1)
| ID | Purpose | Preconditions | Exact actions | Expected result | Evidence beyond E0 | Pass/fail criterion | Cleanup |
|---|---|---|---|---|---|---|---|
| C01 | Fresh physical cursor observation | P0; saved verified Small | Move cursor between two sentinels; compare Word range/diagnostics and browser verified position without changing Focus. | New STA observations update current physical position only. | B/N with observation counters/UTC and range screenshots. | PASS iff fresh observed positions correspond to Word and do not update Focus/objective. | Return cursor to baseline sentinel. |
| C02 | Fresh saved/unsaved state | P0; accepted Small baseline | Make a synthetic edit without save; wait for observation; inspect browser/status; save normally and wait for verification. | Unsaved state revokes precision/acceptance eligibility; save produces fresh proof, not a forced save. | B/N/S timelines and Word Saved indication. | PASS iff unsaved content is not accepted/current-position proof; saved recovery is evidence-based. | C0. |
| C03 | Normal transport heartbeat | P0; actively observed saved Small | Keep Word responsive for >60s; record actual selection counter and repeated presence sequence/status updates. | Transport renews independently; fresh UI observations keep position eligible; no connection flicker from ordinary timing. | N/B, sequence and observation counter timestamps. | PASS iff both liveness and genuine observations are separately demonstrated. Heartbeat alone is insufficient proof. | C0. |
| C04 | Safe stopped-observation preflight | No destructive mechanism; production source unchanged | Inspect available documented local test hook/control without activating it. Current source has none; if none is verified safe and explicitly authorised, record C05/C06/C08 BLOCKED with reason. Run managed --word-observation only as supplemental evidence. |
No risky freeze/crash/suspend/network-wide intervention or runtime code edit. | Hook identity/authority or blocked reason; managed transcript labelled managed-only. | PASS for safety/preflight only; it does not establish a physical stall. Missing mechanism BLOCKS core physical stall tests. | No process/state change. |
| C05 | Actual observation stall with agent alive | C04 verified safe mechanism and specific human approval; synthetic Word only | Activate only the verified mechanism as documented locally; capture last observation UTC/counter; keep agent running for >45s; prove heartbeat sequence advances while observation counter is stationary. | Healthy agent does not refresh cached cursor/saved proof. | N/B synchronised timeline and mechanism logs. | PASS physically only if actual observation cessation and continuing transport are proven; otherwise BLOCKED/FAIL, never infer from a hidden window. | Release mechanism per its authorised recovery; no kill/suspend improvisation. |
| C06 | Expiry and navigation while stale | C05; Word UI observations absent >=45s | After at least 46s plus observed presence delivery, inspect transport and position; attempt Chapter/Scene/Paragraph in Word where available. | Document can remain connected; saved/cursor/chapter/scene proof absent; precise commands disabled/refused or expire unconfirmed; no execution/success acknowledgement. | B/N, observation age, sequence, command ID/outcome and execution counter. | PASS iff no stale proof authorises actual navigation or false completion. Record publish latency, not a promise of exactly 45.000s browser update. | Release only approved mechanism; retain accepted fixture. |
| C07 | Safe inactive-document observation gap | A/B live, A explicitly selected, saved accepted A | Activate B for >46s; observe A's actual counter/age. If A keeps observing, record branch. If it stops, inspect A proof and attempt navigation without selecting B. | If A observations expire, A transport remains listed and precision is withheld; if fresh observations continue, no artificial expiry expected. | B/N, per-document observations and active-window record. | PASS for observed inactive-document branch iff age policy holds; NOT physical blocked-COM proof. No stale A navigation or B substitution. | Reactivate A; await genuine fresh observation. |
| C08 | Physical stall recovery | C05/C06 executed safely | Release verified stall mechanism; move cursor normally, save if synthetic edit requires; wait for new observation and explicitly navigate. | Fresh eligible proof resumes without reimport or account reset; actual matching acknowledgement works. | B/N/S, recovery time and landing. | PASS only physical safe-stall recovery proven; otherwise BLOCKED. | Restore normal test mechanism configuration, C0. |
| C09 | Inactive-document recovery | C07 exercised stale branch | Activate A, move cursor once, verify new observation; request known scene. | A regains precision through a real observation, not transport alone; no manual reimport. | B/N, stale/fresh counter and landing. | PASS iff fresh proof restores correct exact-session action. If C07 never expired, record NOT_RUN for stale recovery. | C0. |
| C10 | Restart/lease expiry distinction | P0; authorised normal quit/restart; fixtures saved | Quit agent normally; observe immediate removal or >45s lease expiry if removal cannot arrive; reopen and reconcile; compare proof before first new observation. | Transport expiry/disconnect differs from live stale-UI state; reconciliation alone supplies no fresh UI proof. | B/N, heartbeat gap/expiry and restart sequence. | PASS iff old proof cannot survive disconnected/restarted identity; graceful DELETE may remove immediately and must be recorded. | Leave correct agent running; no auth reset. |
D. Writer → Word navigation and acknowledgements
| ID | Purpose | Preconditions | Exact actions | Expected result | Evidence beyond E0 | Pass/fail criterion | Cleanup |
|---|---|---|---|---|---|---|---|
| D01 | Global Focus independence | P0; objective scene fixed; Word at different chapter | Change Global Focus chapter and scene through Focus UI without Word navigation, then move Word cursor without browser action. | Focus/Word/objective remain separate authorities. | B/N, all three targets before/after and execution counters. | PASS iff neither passive direction moves the other authority or rewrites objective. | Restore Focus explicitly, not by assuming cursor adopts it. |
| D02 | Explicit focused chapter | P0; fresh saved verified map; Focus chapter chosen | Click Chapter in Word once; capture request/outcome; inspect actual activated document/range. | Correct document/chapter start; requested then matching actual completion. | B/N/S and Word range screenshot. | PASS iff actual verified chapter landing and correlated acknowledgement both present. 202 alone fails proof. | C0. |
| D03 | Explicit mapped scene | P0; Focus mapped scene different from cursor | Click Scene in Word; inspect document/range and retain saved objective target. | Actual verified scene start only; objective unchanged. | B/N/S and landing. | PASS iff correct mapped scene and exact acknowledgement; no title/text guessing. | C0. |
| D04 | Review paragraph | P0; accepted Reader mapped passage selected explicitly | Click a specific accepted paragraph/passage, then Paragraph in Word; inspect selected Word range and provenance. | Exact accepted/verified paragraph in intended live document, not previous selection. | B/N/S, paragraph ID/alias and range screenshot. | PASS iff actual paragraph correspondence and matching ack; stale/unmapped target must refuse. | Clear only test selection explicitly. |
| D05 | Correct document activation | A/B eligible; choose A in Writer but B active in Word | Request A's known chapter/scene from browser. | A activates and lands correctly, B unchanged. | B/N, two Word window/range before/after records. | PASS iff exact selected live A executes once; any B execution FAILS. | Restore window order normally. |
| D06 | Safe navigation refusal | P0; fresh verified disposable Small | Make one unsaved synthetic edit; wait for observed unsaved state; attempt explicit navigation if offered and capture disabled/refusal feedback. | Saved-state prerequisite blocks precision; no queued/completed claim or forced save. | B/N, saved-state observation and execution counter. | PASS for refusal iff unsaved proof cannot authorise a move. Actual adapter failure is separate D15, not established here. | Discard only synthetic edit normally; C0. |
| D07 | Navigation timeout | Verified safe per-operation delay control, specific authorisation; otherwise BLOCKED | Use only approved control to withhold execution/result past 25s; issue one exact request and observe timeout; release safely. | No completion without native proof; late action/result cannot claim timely success. | B/N, ID, requested/expiry timestamps, actual execution record. | PASS physically only if controlled delayed execution/result tested; missing control BLOCKED. Managed --word-observation supplements, never substitutes. |
Restore approved control; C0. |
| D08 | Expired command at execution | Same safe exact-command control as D07 | Hold a queued command beyond its recorded expiry before adapter delivery, then release; inspect Word execution count. | Expired command is not executed or acknowledged completed. | B/N, ID/expiry/delivery and unchanged Word range. | PASS iff expired command never executes; BLOCKED without safe delivery control. | Restore control; no private queue injection. |
| D09 | Duplicate requests | P0; responsive fresh document | Rapidly click same explicit navigation twice; record whether UI coalesces; repeat after completion; inspect UUIDs/Word execution count. | Pending repeat guarded/coalesced; completed later deliberate request works; duplicate identity cannot replay execution. | B/N, click/command/execution counts. | PASS for real UI repeat guard iff no unintended repeated pending movement. Same-UUID replay covered managed-only unless approved disposable harness exists. | C0. |
| D10 | Wrong document/session refusal | A selected but close A leaving property copy B; also reopen A new session | Attempt available navigation without selecting replacement; if unavailable, record disabled state; then select correct new session explicitly. | Old/wrong session cannot execute against B or reopened A; explicit fresh choice required. | B/N, old/new identity aliases and execution count. | PASS iff stale session never retargeted; direct API token/identity forgery forbidden. | C0. |
| D11 | Revision changes before execution | Approved deterministic safe command-delay control; otherwise BLOCKED | Queue exact request, edit/save synthetic document before delivering it, then release old command. | Old revision invalidated; current document not moved by obsolete command; no completed claim. | B/N/S, revision and command timestamps. | PASS iff deterministic ordering is established and old command refused. An uncontrolled race is INCONCLUSIVE/BLOCKED, not PASS. | Release control, restore fixture baseline. |
| D12 | Delayed/expired acknowledgement | Approved delay of actual adapter result only; otherwise BLOCKED | Execute requested move, hold result past recorded expiry, then release without resubmission. | Actual earlier execution recorded, but late result cannot manufacture a new/current completion receipt. | B/N, physical execution vs receipt timeline. | PASS only actual ordered result delay and correct expiry state proven; managed late-ack test labelled separately. | Restore control; C0. |
| D13 | Word unavailable and return | P0; accepted Review readable, unsaved Writer note in current page | Close only disposable Word normally; inspect controls, then reopen and return via Word PlotDirector/Writing Context and existing browser tab. | Clear unavailability; accepted text/draft retained on safe same-page return; explicit origin adoption only, no objective retarget. | B/N/S, note/Focus/objective/range before/after. | PASS iff no data/target overwrite; if link opens another tab, record tab scope separately rather than claim draft transfer. | Save/discard only synthetic draft explicitly. |
| D14 | Cross-book/uncertain mapping | P0; Medium active, Small book selected; include unmapped scene | Attempt Small's target while no matching live Small exists; attempt unmapped scene paragraph; inspect explanations. | Wrong-book/unverified target refused, never inferred from active window or similar text. | B/N/S, eligibility/refusal. | PASS iff no command executes against Medium/guessed scene. | Restore intended book/document explicitly. |
| D15 | Actual native execution failure | Verified safe per-operation native-failure mechanism and separate approval; none established by Atlas | Inspect mechanism and ordering first; trigger exactly one failed adapter execution against disposable Small and inspect browser outcome. Without safe mechanism record BLOCKED; do not use read-only mode as an assumed failure (Word may legally select read-only text). | Actual native failure reported as failure, never completed; document remains intact. | B/N, actual adapter error, matching command ID and unchanged/correct range. | PASS physically only if an actual safe native failure is observed and correctly surfaced; ordinary prerequisite refusal is insufficient. | Release approved mechanism; C0. |
E. Saved manuscript → accepted canonical content → Reader/Review
Each mutation starts from its own pristine synthetic working baseline and known accepted revision; one case's structural changes must not silently become another case's baseline. Record Word content/saved state, accepted revision/content and live verification separately. Use E01/S artefacts for GUIDs; where supported UI does not expose durable IDs, retain existing authorised diagnostic evidence or mark the ID assertion BLOCKED. Do not inspect/modify live SQL or private tokens just to obtain a green identity result.
| ID | Purpose | Preconditions | Exact actions | Expected result | Evidence beyond E0 | Pass/fail criterion | Cleanup |
|---|---|---|---|---|---|---|---|
| E01 | Initial accepted capture | P0; neutral Small, empty owned book, authorised import | Use normal import wizard/Companion association; preview chapters/scenes then confirm only intended synthetic import; wait for accepted Reader and verified position. | Saved capture becomes accepted canonical text with correct book/chapters; missing scene mapping remains uncertain. | B/N/S, import decisions and baseline paragraph IDs/checkpoints. | PASS iff actual saved fixture, accepted text and live positions correspond; preview alone is not acceptance. | Retain immutable local/accepted baseline; no reset of other books. |
| E02 | Saved paragraph edit | E01 baseline, mapped middle paragraph | Replace a short sentinel with different-length synthetic text; save normally; wait for selective sync and Reader update. | Changed chapter accepted once; unaffected paragraphs retain justified IDs/associations, later positions refreshed. | N/S, timing/reuse/reconciliation counts. | PASS iff actual accepted text matches save and old precise positions are not reused without proof. | C0 baseline or new test-owned book. |
| E03 | Same-length saved edit | Fresh baseline; two equal-length sentinel strings | Replace one string with its exact same-length partner, save; observe auto/periodic detection and explicit Synchronise if required by mode. | Content difference detected despite same length; accepted revision/content updates correctly. | N/S, equal character counts and detection latency. | PASS iff new content accepted and stale hash/position not falsely current; length-only detection fails. | C0. |
| E04 | Unsaved edit | Fresh baseline; current accepted Reader | Edit without saving; wait through >60s periodic opportunity with Word responsive; inspect Reader/status/precise navigation. | Unsaved text may be observed as changed metadata but is not accepted prose/current verified position; no forced save. | B/N/S and Word saved-state screenshot. | PASS iff last accepted text remains labelled accepted and precision is withheld appropriately. | Discard synthetic unsaved edit normally or save only as next explicit test. |
| E05 | Undo/Redo while dirty | Fresh baseline, two small unsaved edits including same-length change | Undo one edit, Redo, inspect observations; finally save known final text. | Dirty-state observations do not claim acceptance; final saved content reconciles coherently. | N/S, operation order and final text hash/sentinels. | PASS iff actual final saved/accepted state agrees and no stale intermediate state wins. | C0. |
| E06 | Insert paragraph | Fresh baseline, known neighbouring IDs | Insert one unique synthetic paragraph mid-scene; save and synchronise. | New identity for insertion; unaffected identities preserved where justified; subsequent positions reverified. | N/S before/after order and IDs. | PASS iff no neighbour identity theft or invented scene assignment. | C0. |
| E07 | Delete paragraph | Fresh baseline with non-annotated removable paragraph | Delete one paragraph; save; inspect Reader, references and navigation. | Removed paragraph absent; historical annotations/provenance not reassigned silently; neighbouring identity stable where justified. | N/S and any historical-reference status. | PASS iff no deleted-position navigation or reassigned provenance. | C0. |
| E08 | Move paragraph | Fresh baseline, distinct sentinel paragraph | Cut/paste paragraph within chapter, then another disposable trial across chapter boundary; save. | Identity is preserved only with justified native evidence; order/positions updated; uncertain association flagged. | N/S for both trials, original/new chapter aliases. | PASS iff no text-based identity guessing or old-position execution. | Restore both trial baselines separately. |
| E09 | Split paragraph | Fresh baseline, known paragraph ID | Insert paragraph break mid-paragraph; save and verify new accepted partition. | Split represented coherently; no duplicate durable identity assigned to both parts. | N/S, exact split position and IDs. | PASS iff accepted partition and live positions agree and provenance is not guessed. | C0. |
| E10 | Merge paragraphs | Fresh baseline, two known paragraphs | Remove separating paragraph break; save and inspect accepted partition/annotations. | Merge coherent; surviving/new identity justified, old separate target not silently reassigned. | N/S, original and new IDs/bounds. | PASS iff canonical/live geometry valid and historical references safe. | C0. |
| E11 | Chapter rename | Fresh baseline, Heading 1 chapter | Change heading text only; save; inspect chapter context and accepted Reader. | Stable chapter identity retained where proof supports it; title updated without cross-chapter retarget. | N/S, heading/chapter ID and title. | PASS iff actual identity/context coherent, not matched solely on old title. | C0. |
| E12 | Chapter reorder | Disposable multi-chapter baseline | Move full chapter including heading between two other chapters; save and verify all affected ranges. | Current order/boundaries revalidated; no old numeric range treated current. | N/S, chapter and paragraph sequence maps. | PASS iff all explicit landings follow actual new order or safely refuse pending review. | C0. |
| E13 | Chapter boundary change | Fresh medium baseline; adjacent chapters | Insert/remove a Heading 1 boundary and move one paragraph across it in separate trials; save. | Changed topology requires valid new evidence/review; no guessed chapter/scene mapping. | N/S, topology decisions and navigation checks. | PASS iff boundary changes do not inherit obsolete precise targets. | C0 for each trial. |
| E14 | Interrupted sync | Authorised normal agent quit; disposable saved edit pending | Start Synchronise, quit agent normally during observable active work; reopen, inspect accepted Reader and recovery. If too fast, use medium/large without artificial hang. | Committed accepted data remains; partial/stale work cannot corrupt/replay into another session; recovery coherent. | N/S, interrupted request/revision timeline. | PASS iff real interruption captured and accepted state/recovery safe; no captured active interval means BLOCKED/NOT_RUN, not PASS. | Restore normal agent, C0. |
| E15 | Agent restart after completed work | Saved accepted baseline, no pending operation | Record IDs/checkpoints, quit/reopen installed agent with Word open, reverify unchanged text. | Same accepted content/identities retained, fresh live proof rebuilt/reused legitimately. | N/S, checkpoint reuse vs reconcile counts and restart identity. | PASS iff accepted data stable and no fabricated fresh UI proof. | C0. |
| E16 | Reader update preserves selection | Accepted Review passage selected; another synthetic saved edit elsewhere | Leave passage selection/Focus Reading active; save unrelated Word paragraph edit; wait for accepted notification and Reader refresh. | Metadata-only notification does not replace selected prose unnecessarily; content-changing refresh protects/invalidates selection coherently. | B/N/S, selected passage IDs and before/after DOM/UI. | PASS iff no silent changed-target annotation or contradictory precise Word control. | Explicitly reselect if invalidated; C0. |
| E17 | Scene association certainty | Mapped scene and deliberate zero-paragraph/unmapped scene | Navigate Focus to each; edit nearby text, save and resynchronise; inspect scene associations and precise controls. | Supported mapping remains correct; unmapped scene stays unassigned unless author explicitly maps it. | B/N/S, associated paragraph ID sets. | PASS iff no invented association based on proximity/title/text. | C0. |
| E18 | Disconnect retains accepted content | Accepted baseline, Word/agent normal close approved | Close disposable Word and quit agent; reload Review/Reader; inspect accepted revision, notes and history. | Accepted prose/annotations remain readable; disconnected live position not represented as fresh. | B/S and offline status. | PASS iff durable accepted content retained with accurate liveness. | Restart normally for F; C0. |
F. Complete Writer, Review and installed PWA workflows
| ID | Purpose | Preconditions | Exact actions | Expected result | Evidence beyond E0 | Pass/fail criterion | Cleanup |
|---|---|---|---|---|---|---|---|
| F01 | Home/Write workspace journey | P0; owned project/book, accepted Small | Select project/book on Home; enter Write, navigate all Writer areas and back; repeat in normal browser and installed PWA. | Correct project/book and fixed saved target; same-window navigation where designed; no Word cursor movement. | B, route/book/objective snapshots and N execution count. | PASS iff scope retained and no hidden retarget or automatic cursor move. | C0. |
| F02 | Saved objective activity/intention | P0; known mapped scene | Create Revising objective with chapter/scene/intention through current wizard; change Global Focus to another scene/chapter, navigate Word explicitly elsewhere; reload Write. | Saved chapter/scene/activity/intention remain fixed until deliberate objective change. | B/N, saved objective summary and independent Focus/Word targets. | PASS iff all saved fields unchanged; any passive retarget fails. | Remove only synthetic objective if authorised; C0. |
| F03 | Sessions and unsaved return note | F02; explicit session recording authorised | Start Editing for objective chapter; type unsaved return note; move Word cursor/return to same Writer tab/PWA, disconnect/reconnect; end session explicitly and reload. | Return events preserve draft; ended record retains intended chapter/note; sync progress is separate. | B/N/S, session start/end/history and note hash/alias. | PASS iff draft not overwritten and final explicit save persists correct note/target; do not assume arbitrary reload preserves an unsaved page. | End only synthetic session; C0. |
| F04 | Explore and Guided Investigation independence | Owned fixture; Word normally closed | Start concern, answer inline questions to result, save/resume after refresh; return to Write and inspect objective/session. | No Word requirement; current inline journey persists; no automatic session/objective change. | B and saved investigation/result alias, session count. | PASS iff current inline flow works independently; removed standalone entry is not required. | Archive/delete only authorised synthetic investigation through UI. |
| F05 | Plan intended work | Owned fixture; baseline session/accepted revision recorded | Add planned activity with scene target, notes/date; use list/board/schedule; change status; return to Write. | Planned work/schedule retained; no recorded manuscript edit/session or objective retarget without explicit Start/change. | B/S, planned item and session/accepted revision comparison. | PASS iff planned/completed manuscript authorities stay distinct. | Remove only synthetic plan item through UI. |
| F06 | Reflect and Dashboard | F03 completed session; accepted baseline | Open Reflect calendar/history and Dashboard; inspect recorded session/note and accepted progress while Word has an unsaved synthetic edit. | Recorded/accepted history shown, no claim to know unsynchronised Word prose. | B/S, compared session/accepted vs unsaved states. | PASS iff projections reflect durable records and distinguish unsaved edits. | Discard only synthetic dirty Word edit; C0. |
| F07 | Three-column Review notes | Accepted Small with mapped scene | Open Review; inspect Chapter Notes/Reader/Scene Notes; edit/save synthetic chapter and scene notes independently. | Correct chapter/scene targets and accepted middle column; note edits are not manuscript changes. | B/S, note target and accepted revision. | PASS iff saved notes attach intended records without prose/target changes. | Restore/remove only test notes. |
| F08 | Annotations, edit and resolution | Accepted mapped passage; annotation writes authorised | Explicitly create Chapter, Scene and Passage observations; edit classification/text; resolve one; revisit passage. | Exact saved provenance/scopes, correct target and resolution; no changed Word prose. | B/S, observation aliases/scope/paragraph IDs and resolution. | PASS iff each scope/provenance is correct and revisiting does not retarget another note. | Delete/archive only synthetic annotations through supported UI; otherwise retain owned book for final cleanup. |
| F09 | F1 chapter-only fallback | Review mapped passage/scene selected, clean editors | Set Global Focus to same chapter with no scene; inspect displayed Reader/panel/Word controls; start new annotation without saving. | Obsolete passage, scene and precise Word targets clear; chapter remains correct. | B, selected target before/after, N command count. | PASS iff no old passage/scene field/control remains authoritative; no unintended write/command. | Cancel only empty synthetic form. |
| F10 | F1 unmapped fallback and explicit reselection | Deliberately unmapped scene in accepted chapter | Select mapped passage, switch Global Focus to unmapped scene; inspect fallback; then explicitly select a current mapped passage. | Unmapped fallback clears old precision; explicit reselection restores only newly chosen supported target. | B/S, selected paragraph/scene IDs and refusal/availability. | PASS iff no guessed unmapped position or old precise target; explicit new selection is distinguishable. | C0. |
| F11 | Dirty-editor deferral | Review synthetic annotation editor or Chapter/Scene note dirty | Change same/cross-chapter Focus while editor dirty, including during slow context load if naturally observable; inspect explanation; save/cancel deliberately, then use Go/resynchronise. | Editing target/draft retained; follow deferred until author action; late response cannot overwrite new target. | B, draft/target hashes and focus/context response order if available. | PASS iff draft survives and no silent form retarget; unobserved response-race branch recorded separately. | Save/discard only synthetic editor; C0. |
| F12 | Focus Reading and accepted updates | Review mapped passage, installed PWA | Enter Focus Reading; navigate next/previous chapter; update accepted synthetic text elsewhere; return/refresh. | Reader mode/valid chapter retained; selection safe; no contradictory passage/Word target after revision change. | B/S, mode/selection/context before/after. | PASS iff visible chapter and all actionable targets agree; no annotation target inferred silently. | Exit focus mode deliberately; C0. |
| F13 | F2 historical AI-review guard | Owned synthetic native review created through supported workflow, with separately approved AI cost; capture original saved session/content | Read review and make supported decisions; verify valid original-source navigation if eligible; close/reopen/change content (even if numeric revision repeats), revisit historical review and attempt locate. | Reading/decisions remain usable; stale/missing source-session/content proof refuses navigation (409/unavailable), never targets reused offset. | B/N/S, review/source session aliases, old/new content/proof and response status. | PASS iff original valid branch lands correctly and historical branch safely refuses. No synthetic stale review available means BLOCKED; do not forge DB records or use author reviews. | Retain/remove only owned synthetic review/book through UI after evidence. |
| F14 | Installed PWA return/refresh across all boundaries | F01–F13 applicable prerequisites; same PWA window/session | Repeat F1 fallback, explicit reselection, dirty-note safe return, objective/session and unavailable-document cases while switching Word→installed PWA; refresh only safe persisted state. | Actual installed PWA current JS retains precise-target correctness and saved state; same-tab R2 pin preserved. | B/N/S with actual PWA/version and task-switch/refresh order. | PASS iff actual installed run proves contracts; simulated browser flag cannot pass this row. | Close only test PWA normally; C0. |
G. Physical large-manuscript performance
Use both neutral 190k and 250k fixtures, verified Word-open without repair and associated to separate owned books. For every G row record fixture/trial/cold-or-warm and at least three comparable trials unless safety stops the run. First establish the human-approved add-in-disabled baseline and then the matched enabled condition, preserving all other settings. Disabling/re-enabling add-ins is a user-approved local test action, never an automated way to bypass loading/signing failure. Record agent process separately. P0 plus measurement scope/threshold decision from handover section 6 is required. Percentiles/counters absent from available instrumentation are UNAVAILABLE; never fabricate them from synthetic hashes or aggregate maxima.
All measured correctness must pass regardless of threshold agreement. Proposed timing thresholds require explicit approval; absent agreement, record values and performance acceptance NOT AGREED. Historical 5–10s aspiration, 16s measurement and scheduler slice budgets have distinct sources and are not promises for these fixtures.
| ID | Purpose | Preconditions | Exact actions | Expected result | Evidence beyond E0 | Pass/fail criterion | Cleanup |
|---|---|---|---|---|---|---|---|
| G01 | Baseline and instrumentation | Both sizes, human approval for disabled/enabled comparison and measurement tools | Record hardware/settings; obtain same-operation disabled baseline then re-enable intended .41 add-in; start process CSV and approved UI/COM measurements; confirm thresholds decision. | Comparable physical baseline with known scope; no hidden author workloads or synthetic CPU surrogate. | M, versions/settings, approved thresholds and enabled/disabled evidence. | PASS for measurement readiness only iff comparable real Word data captured; missing baseline BLOCKS comparative claims. | Restore enabled .41 and normal settings; no reboot. |
| G02 | Opening and add-in startup | G01, closed saved fixture | Human opens each fixture from normal Word; time open-to-interactive, add-in-loaded, first useful verified context and full manuscript verification separately. Repeat cold/warm. | Useful Word UI throughout; correct complete verification with real boundaries. | M/N/S, video/event timestamps, chapter counts and reuse/reconcile/request/byte deltas. | PASS correctness iff actual chapters verified and UI safe; timings pass only approved gates. No sum of overlapping counters as total. | Close each fixture normally between controlled trials; preserve cache condition record. |
| G03 | One-chapter saved edit | Completed baseline each size; cursor outside edited chapter in one trial | Edit one middle chapter, save; record save/debounce/read/first-context/accepted/complete times and per-chapter work. | Selective reconciliation of changed chapter; unchanged checkpoints reused only with fresh evidence. | M/N/S, changed chapter, matches/mismatches, reuse/reconcile and HTTP/byte deltas. | PASS correctness iff accepted edit and justified reuse; compare approved save-to-accept threshold, not full-scan CPU proxy. | Restore authorised trial baseline; C0. |
| G04 | Same-length physical edit | Completed baseline each size | Equal-length replacement, save; measure automatic detection; repeat while already dirty then save; record periodic/manual branch. | No missed content change; unchanged geometry not assumed from length. | M/N/S, equal lengths/fingerprints and detection/accept latency. | PASS iff correct physical detection/acceptance; timing gate only if approved. | C0. |
| G05 | Multiple edits/coalescing | Both sizes, completed baseline | Make several edits rapidly in one chapter then three chapters, save after each planned sequence; observe revision/debounce/supersession. | Bounded work coalesces, final saved revision wins; no stale earlier acceptance. | M/N/S, edit/save order, work counts and queue peak. | PASS iff final state correct and queues bounded/recover; compare approved timings. | C0 for each sequence. |
| G06 | Unchanged periodic verification | Both sizes, complete unchanged saved state | Leave responsive Word open for at least two observed periodic opportunities (~60s scheduling, not hard deadline); record actual passes and HTTP deltas. | Fresh range checks; valid same-revision checkpoint reuse avoids unnecessary prose reconciliation/requests where implemented. | M/N, periodic timestamps, live/XML/reuse/reconciliation/request/byte counts. | PASS iff no false unchanged proof, unbounded rescanning or unintended reconciliation; missing counters reported, not zeroed. | Leave normal scheduler/settings unchanged. |
| G07 | Document switching during sync | Both large docs open, explicit selection known | Start verification of one, switch windows repeatedly while typing/scrolling lightly in the other, then return. | Active author remains responsive; exact sessions isolated; R1 inactive expiry is conservative and R2 pin stays explicit. | M/N/B, switch timeline, per-session queues/verification and range proof. | PASS iff no wrong-session work/navigation and no material responsiveness failure; measure both sizes. | C0; restore intended active fixture. |
| G08 | Cancellation | Approved existing normal cancellation/closure path, large active work | During actual work close only the saved disposable document normally (or use a supported visible Cancel if present); record retirement/cancellation and remaining document state. | Pending exact-session work retired, no late stale commit; other document unaffected. | M/N/S, actual cancel/close timestamps and late responses. | PASS iff observed cancellation preserves accepted data and other sessions; no forced process kill or invented Cancel control. | Reopen fixture normally for recovery case. |
| G09 | Recovery / unchanged reopen | G08 or authorised normal agent restart | Reopen saved fixture/relaunch normal agent as appropriate; time first useful fresh context and complete verification; compare accepted IDs/checkpoints. | Reconnect/reuse restores coherent current proof without reimport/resetting binding. | M/N/S, recovery interval defined from resume eligibility, reuse vs reconciliation. | PASS correctness iff state retained/refreshed; recovery timing only against approved gate. | C0. |
| G10 | Typing responsiveness | Baseline/measurement tools approved; each size synchronising | Type synthetic marked text continuously for two minutes during real extraction; measure keystroke-to-display with approved external sampling; save/discard intentionally. | No lost/duplicated typing or sustained lag; honest UI latency rather than timer proxy. | M, actual input/output observations and UI trace/samples. | FAIL on lost input/unresponsive behaviour; p95 gate only if approved and samples valid. | Remove only test typing or restore trial baseline. |
| G11 | Scrolling and ribbon response | Each size synchronising; baseline measured | Scroll through multiple chapters; invoke Word PlotDirector ribbon/Open Companion/Synchronise once at recorded times; observe visible response. | Responsive scrolling/ribbon; duplicate work controlled; correct status distinct from completion. | M/N, scroll/ribbon input-to-visible timing and queue/work counts. | FAIL on material stall/wrong status; apply only agreed latency gates. | Restore reading/cursor position explicitly, C0. |
| G12 | UI/COM latency and process pressure | Existing approved diagnostics/trace tools | Capture operation counts/total/max and >30/>100ms counts per trial; compute percentiles only from full samples; sample Word/agent CPU, private/working memory and queue depth under actual G02–G11 work. | Bounded queues/resources and accountable slow COM operations; no scheduler-preemption claim. | M/N, process CSV/PID/CPU delta, operation sample scope and peak queues. | FAIL on unbounded growth, unsafe COM/thread behaviour or persistent responsiveness loss; flag >100ms calls for investigation. Missing samples BLOCK percentile claim. | Stop approved traces normally; sanitise private paths. |
| G13 | Network and reconciliation accounting | Existing native counters available; approved narrow agent-specific byte capture if available | For one unchanged pass, one-chapter edit and boundary change, record before/after request counts/bytes, validations/reuses/reconciliations; correlate to accepted revision. | Changed content reconciles as necessary; unchanged chapters have justified checkpoint reuse, not hidden full prose transfers. | M/N/S, redacted agent endpoint/count/byte summary; browser traffic separately labelled; overlapping vs exclusive timings identified. | PASS only measured accounting agrees with actual work; unavailable transferred bytes is BLOCKED for that metric, never inferred as zero. | End scoped capture; keep raw tokens/prose outside Git. |
| G14 | Combined recovery/end-state | Both sizes tested, no author docs touched | Repeat saved edit→switch→normal cancellation→reopen sequence once per size; verify final accepted Reader/Review, correct Word landing and bound account; complete cleanup checklist. | Final state coherent with no lingering test control/session/process or stale precise target. | M/N/B/S and cleanup.json. | PASS iff end-state/cleanup explicit; any unresolved corruption/identity mismatch blocks overall completion regardless of timing. | Human confirms drafts saved/discarded, synthetic records/copies handled, normal add-in/settings/binding restored. |
Final classification
Report PASS only for evidence actually obtained; use BLOCKED with the missing prerequisite and next responsible action. Separate confirmed defect, unverified risk, physical qualification requirement and optional improvement. R1 unsafe-stall coverage, delayed-command ordering or unavailable historical AI review may remain physical requirements; do not change code, invent a fault hook or silently waive them. If any required physical row is blocked, the run is partial. No Production deployment/distribution is authorised by a successful matrix.