PlotDirector/Docs/Writer/Audit/Writer-Audit-Coverage.md

13 KiB
Raw Blame History

Writer audit coverage and evidence register

Audit date: 16 November 2026. Source baseline: fad26c3. Development: https://dev.plotdirector.com/.

Audit boundary and reproducibility

  • Shared branch: codex/word-companion-native-phase1-20261104. git fetch origin and git pull --ff-only advanced baseline 2c89a8d to fad26c3 before inspection. The incoming change was Windows Audio Review qualification documentation.
  • Existing untracked Docs/Investigations/CanonicalManuscriptArchitectureAssessment.md was left untouched. No Companion working files were edited. No production endpoint/database was used. No deployment/service restart was performed.
  • Read effective Development connection configuration privately, parsed with SqlConnectionStringBuilder; explicitly verified both configured InitialCatalog and SELECT DB_NAME() as PlotDirector_Development. No connection values/passwords entered documentation or command output.
  • Metadata SELECTs inspected relevant objects, parameters and procedure bodies. No migrations applied. Fixture writes used existing stored procedures, then normal authenticated Development controls. No real manuscript records were browsed in authenticated tests; all entity URLs used the newly created fixture.
  • No existing @example.invalid test author was found by the scoped discovery query. A dedicated synthetic verified author, synthetic projects/book/chapter and four scenes were created through existing stored procedures. Partial fixture provisioning retries created extra synthetic project/book records; all were within the same dedicated owner and removed together. This was fixture setup, not a product defect.
  • Browser: Playwright1.58.2 / installed Chromium,1440×1000 initial desktop viewport. Logged in through Account/Login with the synthetic credentials; no authentication bypass. No installed PWA/Office/Windows session was represented as browser proof.
  • Temporary operational helpers/results were stored outside the repository at /home/nick/writer-audit-20261116/; credentials were not committed. Fixture credential file was removed after successful cleanup.
  • Cleanup: project prepare-dependencies and account-deletion stored procedures under an exact fixture identity/name/ownership guard, then UserHardDelete_ForAccountDeletion. Final query: RemainingSyntheticAccounts = 0. Account deletion returned true. No rollback/reset of Development was performed.

Counting method

Measure Identified / examined scope Interpretation
Primary page families 16 P01–P16 inventory. Fifteen reached in authenticated/browser navigation; P16 chooser source inspected only. Solver browse/results grouped into P15 and not all graph pages executed.
Significant panel/feature units 62 F01–F62; a card/tab/editor/modal template is one unit. This is the feature count used here, not a separate arbitrary count of every field.
Interaction families 96 I001–I096; shared controls grouped where handler behavior matches. Grouped labels are not96 individual buttons.
Individual Razor control templates 318 T001–T318 over40 relevant Razor files; lexical source locations. Repeated entity rows/dates/options and dynamically generated JS controls are not additional template instances.
Help Me rules 10 All append rules, dedup/order/cap/fallback/dismissal traced.
Browser initial page inspections 10 Overview, Journey, Workspaces, Plans, Setup, Reports, Chapter, Context, Intent, Reader.
Browser scripted checks beyond initial pages 41 First run8 result records; follow-up29; mutation run4. These are recorded observations, not a formal assertion-test pass count or exhaustive interaction count.
External destinations reached 4 principal related workspaces Timeline, Warnings, Analytics, PlotLineWorkspace each200; plus Scene editor/Problem Solver included among15 page families. DisplaySetup redirect also observed.

Do not add these measures together: features contain many controls and pages reuse panels. This is a broad source-led audit with explicitly incomplete runtime/state coverage, not a claim that every possible Writer control/state has been exercised.

Page, panel and control coverage register

Area / inventory IDs Source examination Development browser examination Remaining gap / status
P01 Overview / F01–F07 Controller, service, objective/reminder/activity data, Razor and JS Book title, sparse data, Help open/dismiss/reopen; objective save/Continue Writing; no accepted baseline Both verified for observed states; existing manuscript progress display source only
P02 Journey / F08–F11 Calendar/history/evidence repositories, month/year/day links Empty month, session evidence context, previous month to October2026 Month navigation Browser verified; year/day filtering, all source-evidence variants and exports not clicked this run
P01 sessions / F12–F13 Work/native controllers, repository, audio metrics, JS, SQL262 Planning start/end/note; Audio Review start and four disabled controls without native support; end Both verified supported start/end and unsupported-audio state; live media/source/reconnect/state races not executed
P03 Workspaces / F14–F16 Queue handler/membership, summary/card links, reminders, live procedure body All five tabs; missing chapter goal;4 status scenes absent; D01 verified Each queue tab examined beyond load, but populated cards unavailable live; external queue card links source only
Today tasks / F17 Completion/skip service and form/SQL traces No legacy tasks created; reviewed planner used instead Source verified; complete/skip/regenerate/rebalance not executed
Display / F18 Launcher/workspace code, button visibility, named windows and preference logic DisplaySetup redirect and target page inspected No physical multi-monitor/popup/window focus/detect-permission matrix; Source verified
P04 plans / F19–F20 Management, mutation handlers and per-plan deletion modal Empty personal list initially; selected plan shown later in Preview Activation/deactivation, filtered-list mutations and deletion modal behavior Source verified only
P05 setup / F21–F22 Form fields/options/validation and CreateScheduleFromSetup Saved availability and goal, Review activities navigation to candidate review Both verified valid submit; invalid cross-project book/date/no-day and dynamic project changes not exercised
P06 review / F23–F24 Candidate eligibility, starting budgets, allocation/confirmation/replace logic One chapter-only candidate, confirmation, commit to Preview Both verified minimal path; >1000 rows, budget overflow, blocked/manual-task exclusions, completed reallocation refusal source only
P07 preview / F25–F27 Plan selection; derived and legacy tables; completion; rebalance rendering gap Reviewed allocation persisted,30 planned minutes, Mark complete changed status Done Both verified reviewed path; legacy table and rebalance source only; no multi-plan context switch exercise
P08 edit / F28 Immutable scope fields, availability/save validation and reallocation link Page and fields inspected; jQuery errors captured Source verified save outcome; no edit POST performed
P09 chapter / F29–F31 Chapter goals, summary, source procedures and export/link destinations Workflow loaded; GoalSummary saved and value reloaded Both verified goal persistence; other goal fields/export/empty-scene transition source only
P10 reports / F32–F35 Pagination/export/baseline/settings/erase/retention handlers and SQL Empty evidence; pause setting persisted and disabled baseline; resume; baseline POST400 sync-first message Both verified pause and absent-baseline behavior; JSON cursors, reducing retention, destructive erase source only
P11 Context / F36–F44 All partials, follow/navigation JS and lazy endpoints; canonical data provenance All eight tabs clicked on manual pinned synthetic scene; purpose/outcome, empty people/relationships/maps/floor/story, plot scene strip, metrics definitions/gaps Both verified sparse/manual reference; populated maps/relationships/events/values, native following, Word jumps and races not exercised
P12 Intent / F45–F51 Six tabs, fallbacks, assessment inputs/validation/cache/decisions/client, SQL All six tabs, default8 checklist items, DraftStatus Planned versus scene Outlined; Show saved evidence loaded empty-source guidance Both verified saved reference and no-evidence state; AI request/cancellation/result decisions/stale conflicts source only
P13 Reader / F52–F54 Controller/model/view/refresh client and embedded toolbar Empty accepted-text message; Help Reader destination; return route source traced Both verified no-prose state; populated text, live accepted refresh, focus keyboard and cross-chapter running-session behavior source only
P14 scene support / F55–F60 Inspector card,5 editor partials, handlers/service/repository writes Scene Edit200, purpose/reference/default checklist observed through Context/Intent Drawer open/save/delete/upload controls source only; no attachment/file or user prose writes
P15–P16 solver / F61–F62 Journey controller, answer validation, editorial/catalogue route context, workspace chooser /problem-solver200, initial question rendered Browse, all branch/result pages and chooser/capability destination selections not executed; not a complete graph regression
Native Word/Office.js controls Ribbon.xml, NativeRibbon, Word integration boundary and README/taskpane shell No Windows/Word host available Source verified only; physical end-to-end acceptance remains separate, not inherited from prior docs
External narrative destinations Route/argument sources and implementation boundary reviewed Timeline/Warnings/Analytics/PlotLineWorkspace all200 with fixture context; headings inspected Destination route/identity Browser verified only; entire unrelated sections intentionally not fully audited
Subscription/collaboration/state gates Owner checks, report gate, StoryIntelligence entitlement, storage quota, native capability conditions Synthetic owner; unavailable native source Collaborator, subscribed AI, denied entitlement, archived/deleted entity, ambiguous/multiple native source and large manuscript state matrix not exercised

Inventory IDs are functional units, not claims that every input was clicked. Individual template source locations and family-level outcomes are in the interaction register. Some family rows combine tested and untested members; this table governs the precise execution claim.

Retained concrete evidence

jQuery errors were observed on ScheduleSetup and EditWritingPlan: /lib/jquery-validation/dist/jquery.validate.min.js and /lib/jquery-validation-unobtrusive/dist/jquery.validate.unobtrusive.min.js throw ReferenceError. Valid setup submission still succeeded; this observation does not prove every form is broken or bypasses server validation.

Explicit unverified areas

Physical Windows Word, ElevenReader/player integration, installed PWA, actual playback/pause-on-edit latency, source ambiguity/loss/recovery, multi-monitor permission/focus behavior; paid Intent AI calls and saved evidence decisions; high-volume/collaborator/archived/deleted states; full published solver graph/editorial pages and chooser; populated relationship/map/floor/plot/metric navigation; cross-pipeline prose freshness; populated Reader automatic updates; uploads/storage limits; destructive history/plan deletion controls (fixture cleanup used account procedures); legacy schedule generation/rebalance/completion/skip; broad responsive/theme/accessibility/keyboard testing; all external narrative-section controls. Reasons are lack of corresponding physical host, entitlement/persisted fixture states, explicit avoidance of paid execution, or scope boundary. Source rules were traced where stated; runtime outcomes remain Not verified.

Documentation verification

Documentation-only changes do not require a rebuild or full regression harness. No application test suite is claimed as passed by this audit. Final checks validate local Markdown targets, expected deliverables, count consistency, accidental credentials, and Git diff scope. Browser observations are investigation evidence, not a replacement for product regression tests. Existing qualification documents were used only for context, not reclassified as this audit's observations.