5.4 KiB
Writer 2.0 technical audit
Audit date: 14 November 2026 (Europe/London). Requirements baseline: the supplied specification, read in full before implementation investigation. Repository HEAD at investigation start: 05327c3ddd2468de7cee2ef02c3a9e7d41c165c4.
Status: Gate 0 audit and recommendations only. No implementation approval is implied.
Executive assessment
Writer 2.0 can build on substantial working infrastructure. Writer already has revision-driven scene queues, chapter goals, notes/checklists, personal writing plans, generated scene tasks, completion/skip actions and a rebalance preview. The PWA shell, themes, Context/Intent windows, native Word transport, accepted paragraph manuscript, chapter checkpoints, read-only Reader and navigable story charts should be retained.
The critical missing foundation is a durable, source-neutral history of accepted writing activity. Current synchronisation is designed to preserve the latest accepted manuscript and validate live Word positions. It is not a record of every edit, writing session or author contribution. Latest paragraph comparison metadata, import captures and occasional restore points provide limited evidence; they do not establish continuous historical provenance. A successful chapter validation can involve no text change whatsoever.
Development inspection found 14 latest manuscript rows, one retained onboarding capture, one restore point containing one paragraph snapshot, one active writing plan, no schedule items, and 467 retained chapter validations, all expired at inspection. Counts include any development fixtures; they are not counts of real authors or complete user journeys. No candidate Writer 2.0 session/activity/pass/availability/insight/provenance tables were found. Existing project collaboration is project-wide and cannot safely supply the proposed chapter/book-scoped editorial permissions unchanged.
The largest new capabilities are the activity ledger and retention policy, durable offline activity delivery, explicit sessions, independent overlapping passes, flexible availability and exceptions, journey projections, confidence-qualified insights and privacy-aware reports. Signed provenance is a separate security project. None requires generative AI to function.
Deliverables
- Existing System Inventory
- Requirements Traceability Matrix
- Activity Capture Assessment
- Architecture Recommendations
- UX Gap Analysis
- Phased Implementation Plan
- Decisions Required
Evidence and limits
Verified source means a route, class, method, SQL definition or test was inspected. Verified Development means SELECT-only inspection of the effective configured PlotDirector_Development, after checking both the connection's database setting and SELECT DB_NAME(). Recommendation means proposed work, not existing behaviour. Unverified marks a runtime or design point not established here. Source implementation, historical deployment reports and actual present-day end-to-end operation are deliberately distinguished.
The following evidence contains schema metadata and aggregates only; no manuscript prose, credentials, personal names, connection strings or reportable author identities were exported:
- Database inventory query and results.
- Historical coverage query and results.
- Recovery coverage query and results. Backup JSON uses camelCase; this query checks both casings. One retained paragraph snapshot is present, not zero.
- Verification record.
Queries were ordinary reads, not a transactionally consistent multi-query snapshot. Aggregate counts are point-in-time observations and are not a usage study. No database write procedures, synthetic fixture imports, repair actions, migrations, restores, deployment or service restarts were executed. SQL files here are audit evidence, not migrations. The connection helper ran outside the repository and refused any configured/effective database other than Development.
The existing untracked Docs/Investigations/CanonicalManuscriptArchitectureAssessment.md was preserved and was not treated as verified evidence. No branch was created. No mockup image was supplied with the baseline; visual conclusions compare inspected UI/source and existing design conventions to the written visual contract, not an unseen approved image. Native Windows/Word/monitor behaviour and real installed-PWA behaviour require Windows acceptance. No production host or database was inspected.
Recommended sequence
- Approve retention, evidence semantics and the event contract; capture a truthful present-day baseline.
- Deliver the ribbon/dashboard/workspace improvements progressively, with explicit history coverage.
- Add flexible rhythm setup and an opportunity-based plan engine.
- Add explicit focus sessions, parallel passes and the Writing Journey.
- Add qualified insights, scoped editorial work and unsigned evidence reports.
- Deliver signed PDFs/verification only after a separate security review and sign-off.
Stop at this audit. Implementation and deployment require subsequent explicit approval.