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/UX-simplicity-design-and-plan.md3,438 words

UX — Simplicity as a Requirement, and the Plan to Meet It

Status: Revision B, 2026-07-29 — reconciled with the revised end-to-end set and with the shell shipped at 2bf7e93. Companions:

Authority, stated once. Where this document and the revised set disagree about information architecture, the shipped shell wins, because it is the operator's decision and it is running on a handset. Where they disagree about anything else, the revised set wins and this document defers to it. Sections below say which applies.


0. Revision B — what changed

#ChangeCause
1§4.2 field IA is superseded. Revision A proposed Today · Capture · Issues; the revised set proposed Today · My Work + Capture. Five tabs shipped, by operator decision: Today · My Brief · Speak · Capture · My WorkVerified in apps/esg-field/app/index.tsx:130
2U6 CLOSED — the NCR flow is routedNcrFlow imported at apps/esg-field/app/index.tsx:84, rendered at l.533
3U3 PARTIALLY closed — primary targets now meet spec; nine sub-44 dimensions remainMeasured, §3
4§4.3 portal IA replaced with the revised set's Overview · Submissions · Issues · RegisterTheir §3.2 is better reasoned than Revision A's — see §4.3
5Three additions adopted: delivery-state model, AI-as-bounded-draft, evidence unificationRevised set §4 Screen 9, §2.3, RATIONALE §3–4
6New top risk: voice is unproven on deviceHandoff, 2026-07-29
7One place I differ from the revised set — transcription default§4.9
8Revision A's claim that the no-model rule was unenforced is withdrawn; the fence exists and runs in CI§4.8

1. The standard

The revised set's five questions are the user-facing test, and they are better than Revision A's framing because they are answerable on a screen: What am I doing? What did the system capture? What must I confirm? What happens next? Did it arrive?

Four internal tests remain, because they catch things a journey walkthrough does not:

#TestFailure it catches
T1One sentence. Every surface answers "what is this for?" in words a site tech would say aloudSurfaces that exist because a data model exists
T2No mode, no manual. The primary action is visible without a menu, a toggle, or a roleRole switches, hidden tabs, nested pickers
T3Count the taps, then cut them — without lying. Simplicity is the right default, never an assumed answerPre-filled forms that make progress "read full"
T4Say what the user says. Domain terms users speak are kept; invented product words are deleted"Live Brief", "Decision Log", "Weekly capture"

T3 remains the one most easily faked, and RATIONALE §8 reaches the same conclusion independently: "Prefilling an inspection as satisfactory is visually efficient but evidentially false." Two documents arriving at that separately is the strongest signal in this set.


2. Verified state at 2bf7e93

Measured, not reported:

Field app (shipped)Console (app/, live)
Top-level destinations5 tabs — Today · My Brief · Speak · Capture · My Work12 nav entries (2 are the same route)
NCR lifecyclerouted and reachable — inbox, raise, detail, full ticket ladderabsent
Touch targetsminHeight 44 ×3, 56, 64, 76 — plus nine remaining sub-44 dimensions—
On-device transcriptionWhisper int8 ONNX — tiny 99 MB (shipped), small 358 MB, medium 902 MB available—
Destinations reading real datamost2 of 13, both broken in production (GA-1)
Overlapping registers—4 — Compliance, Obligations, Permits, Decision Log

Unproven: nobody has completed a real transcription on the device. The model is present and byte-verified, the wiring typechecks, 74/74 tests pass — and none of that is evidence that speech becomes text on a handset. It fails honestly if it fails (it names the reason rather than falling back to a script), which is the right behaviour and not a substitute for the test. This is the highest-value two minutes available to anyone on this project.


3. Defect status

IDDefectStatus
U1Design authority inverted — the field tool is a port of a web page that simulates a phone (apps/esg-field/app/index.tsx:4, apps/esg-field/ui/theme.ts:1: "ported from the web design system"). The page it ports has a fake bezel and a fake "9:41"OPEN — the root cause of U3 and U7. UD-2
U2Twelve console destinations, four the same idea, /app listed twice, "Voice" as a destination, "Field app" as a console surfaceOPEN — §4.3
U3Touch targets below Apple's 44 pt floor in a product specified for glovesPARTIAL — primary actions now 44/56/64/76. Nine sub-44 dimensions remain: apps/esg-field/ui/voice.tsx:547, apps/esg-field/screens/WorkItemDetail.tsx:204, apps/esg-field/screens/ProjectDetail.tsx:167, apps/esg-field/screens/ConversationTab.tsx:424, apps/esg-field/screens/TodayTab.tsx:251 & :361, apps/esg-field/screens/SpeakTab.tsx:476, apps/esg-field/screens/_shared/PresentationView.tsx:432, apps/esg-field/app/index.tsx:747. Each needs classifying as decorative or interactive — a 32 dp chip that responds to touch is still a defect
U4Simple by lying — the walk opens pre-filled "so progress reads full" (apps/esg-field/screens/InspectTab.tsx:4), fabricating the exact claim FR-DM-2/BR-S2 forbidsOPEN — the one that must not survive. Corroborated by RATIONALE §8
U5Invented words beside real ones. Keep NCR, non-conformance, the severity ladder. Delete "Live Brief", "Decision Log", "Weekly capture"OPEN — the revised set's §2.5 names the same words. Note "My Brief" ships as a tab; the tab is the operator's call, the label is still T4's business
U6The best-designed flow had no door — 1,589 lines of NCR UI imported by nothingCLOSED at 2bf7e93
U7Mode-heavy shell (role toggle) and a palette chosen indoors — faint 5.00:1, accent tang 5.48:1 on paperOPEN. Ratios are legal; that is not the finding. A dark 5:1 accent is defensible in a tunnel and unproven in sunlight, and contrast ratio does not model sunlight. Needs a phone, a bright afternoon, gloves

4. The design decisions

4.1 The product sentence

Capture what happened, confirm the record, send it, and know it arrived.

Adopted from the revised set. It is better than Revision A's two sentences because it contains the delivery clause — the thing the product has never once done.

4.2 Field app IA — SUPERSEDED by the shipped shell

Shipped and authoritative: Today · My Brief · Speak · Capture · My Work.

Revision A proposed three destinations; the revised set proposed two plus Capture. The operator specified five and five were built. That decision stands and is not reopened here.

But it carries obligations, because five tabs cannot be justified the way two can — the reduction argument has to be won inside the content instead of in the navigation:

ObligationWhy it follows from five tabs
Today, My Brief and My Work must not answer the same question. Today = what I do next; My Brief = what changed since I last looked; My Work = what is assigned to me over timeThree destinations that all read "what needs me" is the T2 failure the two-tab proposals were avoiding. With five tabs shipped, distinctness must be enforced by content — and tested
Speak is a destination now, so it must earn one. The revised set's "voice is an input, not a destination" still holds for capture; a persistent chronological conversation is a different thing and can justify a tabOtherwise it is U2's "Voice" defect ported to the handset
Capture stays one action over three inputs — camera, voice, textRATIONALE §2. Non-negotiable
Inspection is launched from Today/My Work, never a tabAlready true; keep it true
The role toggle leaves the inspect buildIt is a demo affordance (U7)

4.3 Portal IA — the revised set's structure is adopted

Overview · Submissions · Issues · Register, with role-gated utilities behind an account menu.

This replaces Revision A's Today · Sites · Register · Records. Their reasoning is better, on one point Revision A missed: the submission detail page is the portal's product centre (RATIONALE §7). A reviewer should not reconstruct an inspection by touring evidence, conversation, ledger, ticket and report modules. One page holds accepted record, original evidence, transcript and AI provenance, findings and tickets, append-only activity, and the report.

Revision A's substance survives inside it: twelve destinations still collapse to four, the four overlapping registers still merge into Register, Voice is still a capability rather than a room, /app is still de-duplicated behind a Demo link, and Issues is still the genuinely new surface nobody has built. Nothing valuable is deleted — the change is hierarchy, not capability.

4.4 What "static" means, and what it costs

Unchanged from Revision A, because it is still true. Each app/lib/*.ts module is two things and only one is fake:

  • Fake: the rows — PERMITS[], OBLIGATIONS, work items, conversations, ledger entries, mock.ts.
  • Real and keepable (~1,880 lines): the arithmetic and the presentation. permits.ts exports six tested functions; obligations.ts has no literals at all and derives from mock.ts. Cleanest migration is export const PERMITS = [...] → await listPermits(siteId); functions, pages, sorting and tests do not move.
  • Not a defect: TODAY = "2026-07-18" is a prerender anchor; the client advances asOf to the real date after mount (app/permits/page.tsx:31). Expiry maths is live.

Do not wire eight surfaces to a store that does not exist. GA-1 first: app/lib/db.ts writes a node:sqlite file and wrangler.jsonc declares zero bindings. RATIONALE §10 adds the requirement that makes this honest in the meantime — seeded data must be visibly labelled Demo, with a resettable golden scenario and at least one journey that writes a record and reads the same record back.

4.5 The tap budget

WalkTaps
Clean site, 9 sections, nothing wrong9 + 1 sign = 10
Each exception+2 — mark it, speak it
Each NCR from a finding+1, pre-filled with section, GPS, time, photo; origin recorded automatically (FR-NCR-3)
Section not reached+2 — mark + reason (FR-INS-7)
Today's pre-filled flow0, and it fabricates 9 coverage claims

Nine taps is the honest floor and the design target. The gesture must be good enough that nine feels like none: one large thumb-reachable section-affirmation that advances on release. RATIONALE §8 lists the same compensations — short-section focus, large controls, automatic context, fast finding capture, no duplicate entry.

4.6 Targets and field conditions

Aligned to the revised set's §6.4, which is stricter than Revision A's:

RuleValue
Primary targets (attest, capture, next, sign)≥ 56 pt, bottom thumb zone
Secondary targets≥ 44 pt
Body text≥ 16 px equivalent; never faint below 15 pt
Destructive actionsseparated from primary, and confirmed
Colournever the sole carrier of state
Daylightmeasure outdoors before deciding. Prepare a high-contrast variant; ship no untested claim about sunlight legibility

4.7 Delivery states — adopted, and the reason it matters most here

Signed and saved → Queued → Sending → Received → Failed / Not received. Five visible states, plain language, never collapsed into one checkmark or one animation.

This is the single most important addition the revised set makes, because it is the exact seam where this product has always failed: the device holds a complete signed record and the office has never seen one. A generic "Submitted ✓" would make that failure invisible, which is worse than the failure. FR-X-6 already forbids it; now there is a UI vocabulary that complies.

Corollaries: no spinner after work is safely queued; a small persistent Offline / Syncing / All-received indicator with the queue reachable from it; and "safe to close" said explicitly at the point the operator wants to put the phone away.

4.8 AI is a draft — and the fence already exists

Adopted in full: original media, original transcript, human edits, AI draft, accepted record, and model/prompt/schema provenance are six distinct things. AI may reduce typing, structure information and suggest fields. It may not invent missing facts, mark coverage, sign, submit or close a ticket. Generated content carries a restrained "AI draft" label — never a glow, never "AI verified".

Correction to Revision A. I earlier repeated that the no-model rule was documented but unenforced. That is wrong, and the revised set's central AI constraint is already a CI gate: scripts/guard-no-llm-in-proof-chain.mjs runs in .github/workflows/security-guards.yml and fails the build if esg-compliance, esg-projection, esg-export or esg-report couples to a model — by SDK dependency, by Workers-AI binding, by import including type-only, and through the reachable first-party workspace closure, so esg-report → @esg/report-helper → openai is caught too.

So "AI is a bounded drafting sidecar, never in the authoritative compliance path" is not an aspiration to design toward. It is FR-SEC-5, and it bites today. Design freely upstream of it; the fence tells you where the edge is.

4.9 Transcription — where I differ from the revised set

The revised set specifies OpenAI transcription and argues realtime should stay optional so the field workflow works offline. The same argument applies one level down, and reverses the default.

What is on disk: lib/audio/whisperModel.ts, whisperKit.ts, whisperKitNative.ts and cloudWhisper.ts; on-device Whisper int8 at three tiers, with the 99 MB tiny model shipped in the installed app.

Recommendation: on-device transcription is the default; cloud is the enhancement. A construction site is exactly where connectivity fails, transcription is on the critical path of the golden journey, and BR-X1 makes connectivity a non-precondition for any capture. Cloud transcription earns its place on quality — a better transcript when there is signal, and the model tiers make that a real choice — but it cannot be the only path, or "record a voice note and see its transcript" becomes the one step of the demonstration definition of done that fails in a basement.

This is a smaller disagreement than it looks: both documents want store-first and asynchronous. It is a decision about which engine is the fallback, and it needs recording either way (UD-6).


5. The plan, with UX gates

The golden journey is the acceptance spine: camera/voice/text → durable evidence → transcript → AI draft → human confirmation → finding/NCR → signature → local submission → delivery receipt → portal review → report. Phases remain independently mergeable per AGENTS.md.

PhaseUX workGate — not done until
0 · Prove voiceNone. Press the mic on the deviceA real transcription completes on a handset, or the failure is named and understood. Nothing else in the journey is worth sequencing behind an unproven spine
0.5 · Truth-upLabel seeded data Demo; show data source/state; resettable golden scenarioNo screen implies capture, delivery or reporting works where it does not
1 · Honest consoleDe-duplicate /app; collapse 12 → 4 (Overview · Submissions · Issues · Register); Voice becomes a capability; Field app moves behind a Demo linkA first-time user names the surface holding a given answer, without a tour
2 · Ingest + receiptImplement §4.7's five states end to endAn operator can tell, offline, exactly what has and has not left the device — and never mistakes Queued for Received
3 · NCRU6 is closed; remaining work is inline creation from a finding, returning to the walk at the same point with "NCR 1048 created"A finding becomes an owned ticket in one tap plus a description, without leaving the walk
3.5 · Touch passClassify and fix the nine sub-44 dimensions; 56 pt primaries in the thumb zoneNo interactive element below 44 pt; primaries ≥ 56 pt
4 · Coverage ≠ conformityReplace the pre-fill with the 9-tap attestation gesture. Unanswered stays blank; progress counts only explicit answersA walk where nobody attested renders as not inspected — and a clean 9-section walk still costs ≤ 10 taps
4.5 · Capture + reviewOne Capture sheet over three inputs; Review-capture in one vertical reading order — photos, audio, editable transcript, AI draft, extracted fields, outcomeNo participant believes AI text is original evidence; nobody looks for a separate camera or voice module
5 · Portal submission detailThe one page that owns the story: record, evidence, transcript + AI provenance, tickets, activity, reportA reviewer finds evidence, ticket and report from one page
6 · AuditFour graded choices; the two that raise a ticket look different from the two that do notAn auditor cannot mis-grade by mistaking which choice creates a ticket
7 · IncidentOne screen, under 30 seconds. occurredAt and reportedAt asked as two visibly different questions. Remove "New investigation" until an investigation is a caseTimed on a handset, in gloves, by someone seeing the screen for the first time
ContinuousOutdoor legibility test; the U5 naming pass; usability panel per revised §1090% unassisted golden-journey completion; median simple finding ≤ 30 s

Phase 4 is still the hinge — where honesty and simplicity stop competing and become the same feature. Phase 0 is now ahead of it, because a golden journey whose second step is unproven is not a plan, it is a hope.


6. Decisions

IDDecisionStatus
UD-1Console 12 → 4Superseded — resolved as the revised set's Overview · Submissions · Issues · Register (§4.3)
UD-2Is the handset the primary design surface, with the console following it?Open — still the root cause of U1/U3/U7, and unaddressed by the shipped shell
UD-3Confirm the honest 9-tap floor over the 0-tap pre-fillEffectively decided — two independent documents concur (§4.5, RATIONALE §8). Needs one explicit yes, because it deliberately adds taps
UD-4Keep NCR and the domain vocabulary; delete the invented wordsOpen — cheap, and expensive to get wrong either way
UD-5Who runs the outdoor/glove test, and when?Open — NFR-2 is otherwise an untested claim
UD-6On-device transcription as default, cloud as enhancement?New — §4.9. Blocks nothing today; decides whether the demo survives a basement
UD-7Do Today, My Brief and My Work have three distinct jobs?New — §4.2. Five tabs shipped; this is the obligation that comes with them

7. The short version

Two of Revision A's seven defects are closed or closing, and the two that mattered most are unchanged.

Closed: the NCR flow has a door (U6). Primary touch targets meet spec (U3, partially — nine dimensions still need classifying).

Still open, still the same two things: the field tool's design authority is a browser mock of a phone (U1), and the walk is simple by lying (U4). Neither is a polish item; U4 forges the exact claim the product exists to make defensible, and two independent specifications now say so.

Newly first-class, and correctly so: the delivery receipt. Signed-and-saved, Queued, Sending, Received, Failed — five visible states where there was one checkmark. That is the seam this product has always failed at, and naming it in the UI is what stops the failure being invisible.

The one thing ahead of all of it: nobody has pressed the mic. The model is present, byte-verified and correctly wired, and none of that is evidence that speech becomes text on a handset. Voice is the spine of the golden journey. Two minutes, one phone.