Cogneris
Environmental Compliance & Inspection

Intent · Every environmental obligation current and evidenced — zero reportable exceedances at Woodbine (UTS).

Operating tolerance: issues closed in ≤ 5 days · no repeat findings · every permit condition met.

← Documentsdocs/revised-end-to-end-2026-07-29/GAP-ANALYSIS-revised-end-to-end.md1,597 words

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

CapabilityCurrent evidenceGap to revised baselinePriority
Camera/photo captureWeb and field capture components existEvidence contract, consistent metadata, AI review, and portal presentation are not one pathP0
Voice captureRecording/transcription components and deterministic intent work existMultiple voice concepts compete; transcript-to-record review is not unifiedP0
Inspection walkStrong offline and report-oriented implementationEntry/navigation is complex; explicit coverage and full delivery must be provenP0
AI summarySummarize route and per-note/whole-inspection UI existProvenance, schema validation, acceptance states, fallback, and portal history need definitionP0
NCR lifecycleDevice lifecycle fold and substantial UI existReachability, server persistence/projection, assignment, and portal inbox are missing or partialP0
SubmissionLocal sign/report capability existsSigned-local versus received is not consistently modeled or displayedP0
Sync/ingestServer estate is scaffoldedDevice authentication boundary and end-to-end delivery remain severedP0
Portal submissionsInspection pages and console surfaces existOne inbox/detail object with evidence, receipt, tickets, activity, and report is absentP0
ReportsGolden fixture, IR, and renderers existPortal generation/preview and traceability to received revision need completionP1
AuditProcess/specification presentVocabulary, capture, grading, delivery, and portal experience are absentP2
Incident/investigationEvent vocabulary is partialComplete case model, capture, investigation, and report workflow are absentP2
Portal registersObligations, permits, compliance helpers and pages existNavigation is fragmented and much content is staticP2

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

GateEvidence
ContractSchema compatibility and idempotency tests
OfflineAirplane-mode capture, sign, restart, reconnect, receipt
EvidenceHash/metadata checks, media playback, image display
AISchema rejection, timeout, edit/accept/discard, provenance
TicketValid/invalid transition tests and origin trace
PortalGolden journey using only public product controls
ReportStructural assertions and visual regression
UXFirst-use completion, task time, error recovery, field conditions
AccessibilityKeyboard, screen reader, focus, contrast, target size
SecurityTenant isolation, authorization, upload validation, audit trail

8. Immediate decisions

  1. Approve the golden journey as the mockup’s definition of done.
  2. Approve the field and portal information architecture.
  3. Approve “AI draft; human confirmation” as a hard product rule.
  4. Select the device authentication pattern and media store.
  5. Decide retention/consent requirements for audio, photos, location, transcript, and model inputs.
  6. Provide authenticated deployed-portal access for final visual revalidation.