Gap Analysis — From Capable Parts to One Working Product
Version: 1.0
Date: 2026-07-29
Assessment basis: repository and current project documentation
Deployment limitation: authenticated portal screens were not accessible during this review
1. Executive finding
The system is not short of features; it is short of continuity. Capture, inspection, report rendering, NCR lifecycle, portal registers, voice components, and server scaffolds exist at different levels of maturity. The high-value path between them is incomplete.
The most important product gap is:
A field user cannot create one trustworthy record and then watch that same record arrive, become actionable, and remain inspectable in the portal.
2. Capability assessment
| Capability | Current evidence | Gap to revised baseline | Priority |
|---|---|---|---|
| Camera/photo capture | Web and field capture components exist | Evidence contract, consistent metadata, AI review, and portal presentation are not one path | P0 |
| Voice capture | Recording/transcription components and deterministic intent work exist | Multiple voice concepts compete; transcript-to-record review is not unified | P0 |
| Inspection walk | Strong offline and report-oriented implementation | Entry/navigation is complex; explicit coverage and full delivery must be proven | P0 |
| AI summary | Summarize route and per-note/whole-inspection UI exist | Provenance, schema validation, acceptance states, fallback, and portal history need definition | P0 |
| NCR lifecycle | Device lifecycle fold and substantial UI exist | Reachability, server persistence/projection, assignment, and portal inbox are missing or partial | P0 |
| Submission | Local sign/report capability exists | Signed-local versus received is not consistently modeled or displayed | P0 |
| Sync/ingest | Server estate is scaffolded | Device authentication boundary and end-to-end delivery remain severed | P0 |
| Portal submissions | Inspection pages and console surfaces exist | One inbox/detail object with evidence, receipt, tickets, activity, and report is absent | P0 |
| Reports | Golden fixture, IR, and renderers exist | Portal generation/preview and traceability to received revision need completion | P1 |
| Audit | Process/specification present | Vocabulary, capture, grading, delivery, and portal experience are absent | P2 |
| Incident/investigation | Event vocabulary is partial | Complete case model, capture, investigation, and report workflow are absent | P2 |
| Portal registers | Obligations, permits, compliance helpers and pages exist | Navigation is fragmented and much content is static | P2 |
3. Experience gaps
G-UX-01 — No single golden journey
The mockup presents related capabilities but does not make their relationship inevitable. A user can encounter voice, inspection, capture, ticketing, reports, and portal navigation as separate ideas.
Required change: organize the demonstration around one record and reuse its identifier from field capture through portal report.
G-UX-02 — Navigation reflects features, not jobs
The console exposes too many destinations, including overlapping field-app entries. The field app has more modes and tabs than the daily job requires.
Required change: field = Today + My Work + Capture; portal = Overview + Submissions + Issues + Register.
G-UX-03 — Capture modes compete
Voice is sometimes a destination, sometimes a command layer, and sometimes an evidence input. Camera is embedded in particular flows.
Required change: voice, camera, and text are interchangeable inputs behind one Capture action. Command voice is optional and visually secondary.
G-UX-04 — Review is not the center of trust
AI can summarize, but the product does not yet make source-versus-draft-versus-accepted state the defining interaction.
Required change: a single review sheet shows original evidence, transcript, AI draft, editable fields, and the action that commits them.
G-UX-05 — Status can overpromise
Local submission and server receipt can be perceived as the same event.
Required change: persistent delivery vocabulary and a receipt identifier.
G-UX-06 — Static data looks operational
Portal helper logic is useful, but static datasets and mock cards can be mistaken for live product behavior.
Required change: visible Demo labels, data-source indicators, and a mockup scenario that actually posts and reads records.
4. Functional and architectural gaps
G-ARC-01 — Device-to-server trust path
The current server boundary requires credentials/assertions the handset cannot safely mint.
Required outcome: short-lived field credentials, tenant/project scoping, idempotent ingest, and a receipt query.
G-ARC-02 — Shared contracts are restated
The device and server restate some domain shapes. Drift can break sync while both sides compile.
Required outcome: versioned wire contracts and compatibility tests that can be adopted without forcing shared runtime dependencies.
G-ARC-03 — Projection is not the product bridge
The server workers exist, but there is no proven event-to-submission/ticket/report portal projection.
Required outcome: one vertical projection for the golden journey before adding more process families.
G-ARC-04 — Evidence upload is not complete
Durable local data is not enough. Media needs retry-safe upload, hashing, authorization, retention, and portal retrieval.
G-ARC-05 — AI contract is underspecified
The current summary behavior is an enhancement, but production needs source selection, schema validation, provenance, prompt/model versioning, redaction, timeouts, retries, and human acceptance.
G-ARC-06 — Report equivalence needs an end-to-end gate
Golden structural and visual work exists. It must be tied to an actual received submission revision and exposed through the portal.
5. Requirement gaps in the earlier documents
The earlier documents correctly identify the four business processes, the importance of the NCR lifecycle, the separation of coverage from conformity, and the ingest boundary. The revised baseline adds specificity in areas that were not previously the organizing center:
- the demonstrable cross-device golden journey;
- a formal delivery-state model and receipt;
- AI artifact states and human acceptance;
- one evidence model across camera, voice, and text;
- portal submission detail as the canonical review surface;
- demo/live data distinction;
- usability completion criteria;
- model-provider independence at the business layer;
- security and privacy rules for multimodal evidence.
6. Independently deliverable implementation sequence
Each item below is intended to be mergeable and releasable without requiring another active branch. Shared interfaces are introduced compatibly before consumers switch.
Slice 0 — Truthful demo framing
- Remove or hide duplicate navigation.
- Label seeded content Demo.
- Add a scenario ID and field submission ID to existing mock data.
- Add delivery-state language without changing backend behavior.
Acceptance: no static screen can be mistaken for a live receipt.
Slice 1 — Versioned ingest seam
- Define additive submission-envelope v1 and receipt response.
- Add a mock/local adapter behind the interface.
- Add idempotency and contract tests.
Acceptance: the current field app can post one record to a test adapter and receive the same receipt on retry.
Slice 2 — Unified capture draft
- Introduce one draft model for text, audio, transcript, and photos.
- Route existing capture controls through it.
- Preserve existing inspection behavior.
Acceptance: camera, library, voice, and text produce one reviewable draft.
Slice 3 — AI review contract
- Add schema-validated draft output and provenance.
- Add accept/edit/discard/failed states.
- Keep manual path first-class.
Acceptance: AI failure does not block saving the finding; accepted values are attributable.
Slice 4 — Finding-to-NCR seam
- Expose the existing NCR flow from a deficient item.
- Prefill origin/evidence.
- Persist the link locally.
Acceptance: one action opens a prefilled ticket; cancelling returns without losing the finding.
Slice 5 — Server receipt and field sync
- Add safe device auth.
- Implement retry-safe submission and media transfer.
- Persist server receipt and expose receipt lookup.
Acceptance: offline signed record moves Queued → Received after connectivity returns, with no duplicate on retry.
Slice 6 — Portal submissions vertical
- Build live inbox projection and detail.
- Show evidence, transcript, AI provenance, tickets, activity, and receipt.
Acceptance: the field-created record appears without seeding or database intervention.
Slice 7 — Report vertical
- Generate report from received accepted revision.
- Add preview/download and version information.
Acceptance: portal report passes structural fixture checks and points to its source submission.
Slice 8 — Portal issues vertical
- Project NCRs and lifecycle events.
- Implement assignment, remediation, verification, closure, and reopen.
Acceptance: the ticket created in the golden journey can be completed in the portal with enforced transitions.
Slice 9 — Simplified shells
- Move field app to Today/My Work plus Capture.
- Move portal to Overview/Submissions/Issues/Register.
- Preserve old routes with redirects during transition.
Acceptance: usability test participants find the golden journey without coaching.
Later slices
Audit and incident/investigation should reuse the proven evidence, submission, receipt, portal detail, ticket, and report seams. They should not create parallel infrastructure.
7. Verification plan
| Gate | Evidence |
|---|---|
| Contract | Schema compatibility and idempotency tests |
| Offline | Airplane-mode capture, sign, restart, reconnect, receipt |
| Evidence | Hash/metadata checks, media playback, image display |
| AI | Schema rejection, timeout, edit/accept/discard, provenance |
| Ticket | Valid/invalid transition tests and origin trace |
| Portal | Golden journey using only public product controls |
| Report | Structural assertions and visual regression |
| UX | First-use completion, task time, error recovery, field conditions |
| Accessibility | Keyboard, screen reader, focus, contrast, target size |
| Security | Tenant isolation, authorization, upload validation, audit trail |
8. Immediate decisions
- Approve the golden journey as the mockup’s definition of done.
- Approve the field and portal information architecture.
- Approve “AI draft; human confirmation” as a hard product rule.
- Select the device authentication pattern and media store.
- Decide retention/consent requirements for audio, photos, location, transcript, and model inputs.
- Provide authenticated deployed-portal access for final visual revalidation.