13 KiB
Phase3D.2A — complete capability inventory and dependency specification
17 November2026. Audit/specification only; stop for review before Phase3D.2B. Shared branch: codex/word-companion-native-phase1-20261104. Source baseline: eb9dec261cae8ffadcae4f3ed0d758f6b8c51e87, retaining deployed application62fa292 and subsequent Phase3D.1 evidence. The delivery commit is the commit containing this report and is identified in the final handoff.
No application behaviour, existing questionnaire, domain records, numbered SQL migration, public Problem Solver, native/Windows binaries or deployed service was changed. No dependency engine, readiness resolver, planner, preparation-question catalogue or Family Tree was implemented. No application deployment was needed or performed. The unrelated canonical-manuscript investigation file was preserved.
Inventory and coverage
| Measure | Result |
|---|---|
| Functional areas audited | 43 |
| Catalogue entries | 251 |
| Implemented, general source-backed capability | 210 |
| Implemented with specific environment/AI/admin/native restrictions | 34 |
| Implemented total, including those restrictions | 244 |
| Partial | 1 |
| Retained legacy-accessible | 1 |
| Explicitly planned, no runtime entry claimed | 5 |
| Entries with identified hard/useful/optional conditions | 225 |
| Entries with no explicit story-data condition | 26 |
| Reusable condition definitions | 74 |
| Unresolved prerequisite producer definitions | 1 |
| Intentionally subjective, not automatically verifiable condition | 1 |
| Typed relationships | 1,418 |
| Requires / BenefitsFrom / ProducesDataFor / WorksWith | 510 /195 /703 /10 |
| Verified source entry actions | 246, including the partial feature’s read entry |
| Verified implemented-or-legacy entry actions | 245 |
| Documented primary benefits | 251 |
| General implemented capabilities potentially usable as destinations/support/preparation/enhancements | 210 |
| Controller source files / declared controller classes | 76 /78 |
| Heuristic public-action index | 595 methods; not a runtime route count |
| Navigation command occurrences / unique controller-action destinations | 59 /52 |
| Toolbar destinations specifically cross-checked | 23 |
| Development metadata | 197 tables,361 FK columns,716 procedures |
| Exact source anchors validated | 450 |
| Explicit unresolved/coverage/compatibility issues | 10 |
“General implemented” does not mean universally available, free, editable by all roles or ready for every book. Authentication, access and the global edit/subscription filter remain distinct. The34 restricted entries have additional specific gates. The26 entries without story-data conditions include account/support/global surfaces and planned work; they are not a claim that credentials, valid input or runtime permission are unnecessary.
All declared toolbar/contextual ribbon destinations and every controller file have an explicit disposition. Controllers were expanded into meaningful outcomes rather than counted as features: map geometry/linking/geography/story lenses, floor/room/transition/stair/background work, scene cast/knowledge/attributes/custody, narrative contributions, private review decisions, scheduling, independent Context/Intent/Word targets and recovery operations all appear separately where justified. PWA and native transports were cross-checked without pretending every endpoint is an author tool.
No100% runtime completeness claim is made. This is a source/schema-based audit with targeted view/JavaScript/business-path inspection. The index is not a compiler-generated endpoint catalogue, and no author workflow, provider or Windows/Office installation was executed during this audit. Status and benefits remain reviewable claims with source evidence. Exact permission/configuration/readiness for a particular account/book was not measured.
Significant prerequisite chains
- Active project → book → chapter → scene → scene intentions/workflow/knowledge/custody, with cast/settings optional until an operation actually consumes them.
- At least two relevant characters → a recorded connection or inline visual-workspace edit → relationship exploration. Baseline networks do not require later relationship history.
- Blank/provisional map → editable pieces/areas/routes; canonical Locations and real-world geography are optional branches. Eligible hierarchy → current lookup candidate → confirmation → linked map feature supports explicit geographic positioning.
- Floor plan creation can create its root Location and Ground Floor. A room can select an existing location or create one inline. Valid distinct placed endpoints are required for transitions and reciprocal stairs.
- Plot line → thread → scene contribution events → plot workspace/health and narrative inspection. Project-wide and book-specific scope must remain explicit.
- Saved scene sources plus explicit optional AI context/entitlement → scene analysis → character-identity gate → persisted peer reviews → whole-book narrative synthesis and explicit materialisation.
- Exact Word/document binding plus current accepted proof → acknowledged navigation. Accepted paragraphs support Reader/passage observations; chapter-level observations can exist without prose. Audio recording is distinct from a live supported player.
- Saved availability/plan plus eligible scoped work/capacity → explicit schedule allocation/completion; planned work, scene revision and measured accepted changes remain separate.
- Owner-scoped supported backup graph → validated staged package/reservation → explicit restore. Archived Project recovery must not require an already active root Project.
Requires links reference data conditions and OR producer alternatives, not compulsory screen visits. There are74 shared conditions, not1,418 independent setup tasks. Static validation found no strongly connected component in this snapshot’s Requires union or single-producer projection. Complementary and data-maintenance loops must not be treated as invalid hard cycles automatically.
Key architectural findings
Phase3D.1 embeds five capability adapters inside immutable catalogue versions. Prerequisites are flat answer rules, not a feature graph. Its numeric evidence is already independent of availability, but terminal recommendations are filtered by eligible destinations. The next integration must retain desired diagnostic capabilities separately from currently actionable destinations so preparation does not erase the original recommendation.
A shared, separately versioned capability/condition/edge registry should supply investigation, readiness, preparation and both Family Tree perspectives. Use the supplied schema1 aliases and public Solver crosswalk; preserve original catalogue JSON/events and resolver compatibility. Introduce private preparation answers/steps separately from Investigation.Answers, diagnostic counts and weights. Additive migrations will likely be needed for shared graph publication and durable preparation state. Do not rewrite migration273.
Minimal readiness aggregates do not yet exist as a shared API. Existing Dapper reads and current procedure names are supplied where verified, but many return full editor/prose graphs. Implement bounded scoped fact reads after approval; do not probe workflow routes. GET is not proof of purity: project export records activity, and core scan/review paths can update wizard state or ensure candidates. Readiness must not initiate AI/import/geography work.
Global POST subscription enforcement also affects private investigation saves. Review read-only-account policy deliberately before adding preparation persistence. Do not conflate edit permission, AI entitlement, provider configuration, story data and runtime Word/media proof. Detailed Story Intelligence batch handles are held in memory, so plans need stable book/module/generation identity and explicit handle resolution on resume.
Unresolved and bounded findings
- Floor-plan occupant authoring: saved read projection and repository/SQL write exist, but no application caller of the write interface was found. The corresponding authoring capability is partial, not a guaranteed preparation step.
- Source-store bridge: accepted paragraph snapshots and SceneManuscriptSources are distinct contracts. Readiness must use the actual consumer store; universal update equivalence was not asserted.
- Publishing: verified outputs are HTML/Markdown/text reference briefs and supported recovery packages. No dedicated EPUB/PDF/typesetting/publisher submission implementation was verified. A book status is not a publishing engine.
- Runtime proof: real Word/Office/player/monitor permissions and provider availability cannot be established by metadata; physical acceptance is outside this read-only phase.
- Aggregate selectors: exact bounded production readiness procedures still need implementation and focused source/live-body qualification after approval.
- Batch handles: in-memory analysis review context cannot be persisted as a durable URL without a resolution strategy.
- Private author preparation: absent records do not establish that the author has not already developed the material privately.
- Private export/retention: new preparation state and existing private investigation/observation records need explicit private retention/export coverage, not automatic inclusion in shared project backups.
- Ideas/reflective inference: existing notes, intentions, plot context and exploration support idea work; no unrestricted brainstorming chat/idea board was verified. Reflect’s process/style inference is explicitly planned.
- Offline: PWA worker deliberately has no fetch cache/offline editor/background sync. Installation is not offline story editing.
These limitations are also machine-readable. They are not replaced with guessed routes or invented data selectors. Planned dependency/readiness/planner/tree capabilities and planned writing-process insights are distinguished from currently openable features.
Deliverables
Machine-readable, under Docs/Writer/Investigations/:
- Capability-Catalogue.json
- Feature-Dependencies.json
- Readiness-Specification.json
- Capability-Coverage.json
Human-readable:
- Complete-Feature-Inventory.md
- Feature-Dependency-Analysis.md
- Progressive-Readiness-Design.md
- Feature-Family-Tree-Design.md
- This report:
Docs/Writer/Writer3/Phase3D2A-Report.md
Evidence/contract: Docs/Writer/Investigations/Audit-3D2A/ contains450 source anchors with excerpts/hashes, read-only schema/reference snapshots and guarded SQL, validation report and Export-Contract.md. Tooling: Tools/WriterCapabilityAudit/build_inventory.py and validate_inventory.py.
Validation passed for schema/bundle versions, stable/unique IDs, statuses, all capability/condition/edge/alias references, typed relationships/expressions, source-backed entity/procedure names, navigation/controller dispositions, Help paths and exact source lines/hashes. Nine deliberate invalid-export cases are rejected. Regeneration is offline; no application build, executable regression harness or deployment was needed for documentation-only changes.
Recommended Phase3D.2B and review checkpoint
Review/approve IDs, granularity, edge semantics, inline alternatives and unresolved producer/source boundaries first. Then:
- Implement one immutable shared registry/import validator with typed context and compatibility adapters.
- Add operation-specific authority/runtime adapters and minimal pure scoped fact selectors; qualify counts, associations, AND/OR and Unknown cases before badges or planning.
- Add separately retained private preparation sessions/steps/answers, preserving original diagnosis/target/evidence and graph/catalogue versions.
- Implement cycle-safe minimal preparation with existing-record selection, inline entry, optional deferral, external-work recognition and re-evaluation.
- Integrate relevance/readiness/preparation presentation with proof that missing prerequisites never change diagnostic evidence.
- Add a developer upstream/downstream Family Tree from the same graph, then simplify for authors after accuracy/accessibility review.
Stop here for catalogue review. No Phase3D.2B implementation, production question matrix or Phase4 is authorised by this audit.