Introduction · 2 August 2026
ESG Management
A field record system for the weekly environmental inspection —
built for a wet phone, a gloved hand, and no signal.
Ontario Line · ONxpress CJV
Exhibition to Science Centre · 15.6 km — the weekly environmental
inspection, walked at Woodbine (UTS)
This deck states what works today, what does not, and what it takes to close
the difference. Nothing in it is a claim we cannot show you running.
The weekly inspection is a legal record. Today it is a form.
It is filled in from memory
A clipboard that is slower than the work gets completed at the truck at the end of the
day. Everything written after that point is reconstruction, not observation — and it is
the reconstruction that goes in the file.
Four processes, one form
A non-conformance, an inspection, an audit and an incident are four different objects
with four different lifecycles and four different owners. A form flattens them onto one
page and closes none of them.
The challenge comes a year later
The question is never do you have a form . It is who observed this, when,
exactly where, what evidence is bound to it, and what has been changed since.
A compliance tool that is slower than the clipboard does not produce better
records. It produces the same records, later, from memory.
Four processes, and one place they all close
Three of them find non-conformances, and all three funnel into one ticket
that outlives the walk that found it. That ticket is the only thing in the system that
closes anything.
ESG — The Four Processes and How They Interlock
Three processes find non-conformances; all three close them through one ticket. Each still produces its own distinct document.
WHERE A NON-CONFORMANCE IS FOUND
2 · SITE INSPECTION
a section-by-section walk
of the whole site
BUILT — offline, end to end
3 · AUDIT
a full site walkabout
against a standard or scope
ABSENT ENTIRELY
4 · INCIDENT
reportable by anyone on site,
immediately, minimal ceremony
CONTRACTED, NEVER BUILT
OBSERVATION / OFI
recorded in the audit
report only
must NOT raise an NCR · BR-AU5
INVESTIGATION
a case: evidence, witnesses,
timeline, root cause
the method must be stated
ABSENT
1 · NCR — THE TICKET
owner · due date · status
raised → assigned → actioned
→ verified → closed
the single closure mechanism for a
non-conformance found by ANY
process — inspection, audit, incident
PARTIAL — the raise reaches the console; the rest is device-only
BR-X6
finding · BR-S6
major or minor only · BR-AU4
recommended action · BR-I8
VERIFIED CLOSURE
corrective work recorded, then verified
before it may close as corrected · BR-CA5
or closed as not-a-non-conformance,
retracting the finding · BR-CA6
WHAT EACH PROCESS PRODUCES — four distinct documents, and not one of them closes anything
ONxpress inspection report
tri-state per item · watermarked
photos · multi-party signature
generated on the device, offline
BUILT — pinned to a golden fixture
Audit report
scope · standard · auditor
findings by grade
plus a conformity conclusion
ABSENT
Investigation report
method · timeline · root cause
recommended actions
revisable; never overwritten
ABSENT
Regulatory notification
against a stated deadline
a named person is accountable
dated from occurred-at
ABSENT
These documents record what happened. Closing a non-conformance is the NCR process and nothing else — which is why an audit that raises no ticket has not closed its finding.
Green is built, amber is partial, red is absent. Only one of the four processes is green, and its output never leaves the device.
Built — exists and is exercised
Partial — exists, does not yet meet its rule
Absent or blocked
Four rules the platform enforces, so nobody has to remember them
The rule How it is enforced What it means for you
Append-only A correction is a new record
No edit and no delete exists in any vocabulary, on the server or the device. It cannot be expressed.
Nobody can quietly revise last month's inspection. A revision is visible as a revision.
No invented values Unknown prints as unknown
There is no default coordinate and no default verdict to fall back to. Missing is a typed state.
A report never asserts a location, a verdict or a coverage claim that no person supplied.
No model in the compliance path
The compliance package forbids any AI SDK, checked by an automated guard on every build.
Where a claim is asserted, the answer is deterministic. AI assists capture; it never decides conformity.
Tamper-evidence
Hash-chained event store, hourly roll-up, external timestamp anchor.
Every line of a report traces to a captured event with an author, a time, and its evidence.
These are the reason a record survives a challenge. They are properties of the
store, not promises about behaviour.
How it is put together
One field client, one office console, and an event backbone that keeps the
authoritative history separate from every view of it.
ESG — Platform Architecture
Twelve Cloudflare Workers, one React Native field client, one Next.js console. CQRS throughout — and a delivery boundary that exactly ONE path now crosses.
FIELD DEVICE — React Native, iOS and Android, offline-first
Capture screens
Home (day · work · actions)
Chat (Rita) · flows · capture
lib/store — the append-only SQLite event log
schemaVersion 1 · 11 event types · two aggregates in one log: the walk and the NCR ticket
a correction is a NEW event — there is no edit or delete kind · BR-X2
lib/ncr
ticket fold + submission client
lib/report
IR → HTML → PDF, on device
lib/audio
on-device STT + TTS read-back
camera · gps · signature
evidence bound at capture
Everything above works offline, report included.
Capture, fold and render make no network call. The device holds a complete, durable, signed record — and the field app declares no @esg/* dependency.
THE DELIVERY BOUNDARY — one path crosses it, and only one
CROSSED: an NCR RAISE posts straight to the console at /api/ncrs and is acknowledged — keyed on the device’s own ncrId, so a retry cannot double-file. No photo bytes.
STILL SEVERED, for the inspection log: esg-sync demands an HMAC gateway assertion that a handset cannot mint.
The esg-sync ingest route sits behind Cloudflare Access, which returns 403 to a device — the NCR route is reachable on a LAN, and unauthenticated.
Resolving the rest is an operations dependency (DP-1 / AS-5) as much as a code change. Objective BO-6 no longer fails at the FIRST hop — it fails at the second.
SERVER PLANES — Cloudflare Workers · scaffolded, boot green, fed by nothing
IDENTITY
+ INGEST
esg-auth
P-256 device enrollment · session JWT (ES256)
clock-independent revocation quarantine
esg-sync
SyncCoordinator Durable Object, one per session
preserves event order and device timestamps
WRITE
PLANE
the only
writer
esg-command
validate the command, then append a
signed, hash-chained event
D1 event store + R2 evidence
esg-anchor
hourly: roll both chain heads into one
global Merkle digest
RFC 3161 trusted-timestamp token
READ
PLANE
rebuilt,
never
mutated
esg-projection
rebuild the read models from the event
stream: inspections, issues, coverage, scores
composite cursor over a versioned log boundary
esg-query
versioned read API; verifies the
session JWT on every read
reads are served here, never fanned out to devices
Each plane owns an isolated D1. The write plane is the only writer; the read plane is rebuilt from the log and never mutated in place.
DERIVATION AND OUTPUT
esg-compliance — the certified deterministic path
obligation register · proven / at-risk / gap status rules,
evaluated over the projections
NO model or LLM SDK may ever be added here — enforced by a CI guard
esg-report
cron 06:00 — deterministic periodic and regulatory drafts
generated from the signed record + the obligation register; no model in the path
esg-export
server-side regeneration of the signed inspection report and
location / obligation packages, against the shared report IR → R2
esg-memory — the Ask layer
ESG-scoped Vectorize corpus + R2 artifacts
grounded narrate-out. It answers questions; it never becomes the compliance authority
esg-import
historical PDF / scan → reconstructed corpus; monitoring logs
and lab reports → EvidenceRecord, appended via esg-command
AI-extracted, then HUMAN-CONFIRMED before it reaches the deterministic path
esg-voice-gw
the online manager path: sherpa-onnx STT in, cloud TTS read-back out
models served from an ESG-scoped R2 bucket
CONSOLE — Next.js on Cloudflare
esg.cogneris.com · eleven surfaces:
Live Brief · My Work · Conversations · Compliance · Permits · Decision Log
Obligations · Reporting · Inspections · Field app · Voice
Only Inspections touches the four processes, and it persists three flat tables
with a two-state lifecycle: open → submitted. No NCR, no audit, no incident.
Every worker here holds real bindings — D1, R2, Vectorize, KV, crons — and not one of them is fed by a real device.
read models
Three layers exist and do not meet: contracted vocabularies govern nothing on a device, the server estate is fed by nothing, the client delivers to nobody.
Built — exists and is exercised
Partial — exists, does not yet meet its rule
Absent or blocked
The field tool: two places, three actions, one agent
Not a portal with a phone skin. Every capture is written to durable storage on
the device the moment it is made — so connectivity is never a precondition, and walking away
from a half-finished walk costs nothing.
Field Intelligence — information architecture
TWO destinations and a microphone. Home is the day; Chat is Rita. Everything else is a flow you enter and can always leave.
PERSISTENT CHROME — on every screen, including inside a flow
FIELD INTELLIGENCE
long press the wordmark to open Diagnostics
Settings
the gear took the space the Rita chip held
Home
the day, and everything on you
Chat
Rita — ask in your own words
ALWAYS the microphone — hold to speak from ANY screen · tap to open Chat with it already listening. It no longer changes identity by screen.
HOME — one screen, in the order the day actually runs
1 · WHEN IT IS
the date and the ticking clock — the stamp a record is about to carry
2 · WHAT IS ON ME — four counted tiles, not a segmented control
Inbox
arrived — sample only
Tasks
owed to someone
In prog
carried, not signed
Submissions
finished · sent
The COUNT is the point: “Tasks 3” is the difference between opening a list to find out and knowing before you touch it.
3 · WHAT I START — named on the screen, one touch, no sheet to open
NCR
photo, say what is wrong
Inspection
walk the site
Investigation
work a cause
Audit
DRAWN, NOT BUILT
Audit is on the screen and refuses when pressed, in words. It grades findings against a standard and an inspection does not, so borrowing the walk
would file a record that misstates what was performed (BR-AU1…AU7).
4 · WHAT IS RUNNING
one card per unfinished job — a walk you left is on this screen, not behind a menu
tickets are excluded on purpose: an NCR is OWED, not carried
WHAT THE MERGE DELETED
The Today screen, the My Work segmented control, the start sheet, its scrim, and the
centre button’s dual identity — a “+” here, a microphone there. Three surfaces answered one question.
CHAT — Rita is a destination now, not an overlay
One bar, one door to her
The Rita chip that sat in the app bar is gone. She is IN the bar now, and a second
door would be two answers to one question.
Nine destinations you can SAY instead of tap
“show me today” · “open my work” · “raise an NCR” · “start an inspection” · “inbox” ·
“tasks” · “in progress” · “submissions” · “home” — matched from ANY screen.
The button rail under her answers was removed because it only repeated these.
Anything heard clearly that matches no command is a QUESTION, and is handed to her
rather than refused. See diagram 11.
LEAVING IS SAFE — which is what lets the bar stay live inside a flow
Every record is durable in the append-only log the MOMENT it is recorded.
Tapping Home or Chat mid-walk parks the work and goes there; the half-finished
walk waits under “Running now” with its own progress on the row.
AND THE MICROPHONE STAYS THE MICROPHONE
Inside a flow the centre control is still hold-to-speak. An earlier shell changed the
glyph by screen, which made one control mean two different things.
Breadcrumbs run above every flow — “Running now › Woodbine (UTS) › Review” — and every level above you is tappable.
The four work lists are opened FROM a Home tile and behave like a flow: a place you go into and come back out of.
EVERY FLOW HAS THE SAME SHAPE — and delivery is no longer one story
Name the scope
site · subject
no ASSET to name yet — diagram 13
Capture
photo · voice · typing
a GPS fix is taken at capture
Review
confirm before signing
Sign
the signature is local
Delivery — two stories
NCR → POST /api/ncrs, acknowledged
Inspection → still queued (BR-X5)
COLOUR IS STATUS
built and exercised
exists but does not meet its rule
absent or blocked
Assessed against this repository at feat/rn-app-parity, 2026-07-30 · app/index.tsx · screens/HomeTab.tsx
Fast enough to be used — without claiming anything nobody said
The adoption target
A field worker who has never seen the app completes a finding — capture, confirm, save —
unassisted, in under 30 seconds, with no training. Adoption is a compliance risk rather
than a preference: a tool nobody opens on site is a tool that produces records from memory,
which defeats every other guarantee in this deck.
The constraint on it
No screen, default or shortcut may cause the record to assert a coverage, a verdict, a
location or a conclusion that no person supplied. Where speed and honesty conflict,
honesty wins — and we have already removed one screen of our own that broke
this by opening an inspection pre-answered.
The second card is why the first one is credible. Any tool can be made fast by
answering the form for you.
The operator always knows what the office has
Saved on this device and received by the office are different facts, and the app
never lets one stand in for the other. Delivery state is stated in words — never implied by an
animation or a tick.
ESG — Completing an NCR IS the save
Delivery is not a second thing a person does. The local commit is immediate and never needs a network; reaching the office follows on its own.
WHAT IT WAS, AND WHY IT WAS WRONG
Raising a ticket wrote it to the device log and stopped. Delivery was a SECOND, MANUAL act: open Submissions, find the row, press “Send to portal”.
So an operator who finished an NCR had every reason to believe they had finished — and the office never saw it. Reported from a handset, 2026-08-01:
“you shouldnt have to send to portal... simply completing the NCR is saving to database.” That was not a step someone forgot. It was a step that should not have existed.
THE HANDSET — where the record is made
The operator completes the NCR
severity, description, photos, and a GPS fix if there is one
this is the ONLY action a person takes — there is no second one
COMMITTED LOCALLY — durable, immediate, offline
NcrRaised appended to the append-only log. This never fails for want of a
network, which is the whole reason the app exists: it has to work in a tunnel.
deliverSoon(log) — fired by the raise itself
Fire-and-forget: the raise has already succeeded and is durable, so a failure
here can never surface as a failure of the raise. lib/ncr/delivery
A SWEEP IS TRIED AGAIN, NOT ASKED FOR
on every raise · on opening Submissions · collapsed onto ONE in-flight sweep, so two never double-send
NOT YET: nothing fires the moment signal returns while the app sits on another screen
RETRYING IS SAFE BY CONSTRUCTION
the device's own ncrId is the PRIMARY KEY at the far end — a re-send cannot create a second ticket
POST /api/ncrs
WHAT CAME BACK — and what may be claimed
answer?
observed here
2xx — the far end acknowledged it
A receipt is written. This is the ONLY state that may read as delivered
— BR-X5: never report a submission as delivered unless delivery was
observed. The row says “At the portal”.
no answer, or one that cannot be read
timeout · offline · TLS · DNS · a 3xx, which is an access gate and not
the portal answering. The ticket MAY have landed, so neither success
nor failure is claimed: it stays PENDING and is tried again.
The row says “Saved here · sending”. On a site this is the COMMON case, not the rare one.
4xx / 5xx — refused
Retrying will not help and a person must look. Recorded to the device
diagnostic log, not raised as a task for the operator standing on site.
no portal configured in this build
Nothing is attempted and the sweep stops rather than walking the list
failing. The row says: “On this device only — no portal is configured.”
AND THEN EVERY APPLICATION CAN SEE IT — one saved ticket, read by whatever asks
POST /api/ncrs
idempotent on the device's ncrId
the store
D1 in production · sqlite in dev — NOT the same database
GET /api/submissions
a live read — not a build-time snapshot
the console Inbox, and anything else
esg.cogneris.com/submissions
UNVERIFIED ON A HANDSET: the delivery that prompted this change has still never been observed arriving. A build must carry EXPO_PUBLIC_PORTAL_URL, and one pointed at
the LAN dev server writes to a DIFFERENT database than production — the phone can say “At the portal” while esg.cogneris.com is empty, because both are true of different stores.
The operator's job ends when the NCR is complete. Everything after that is the system's job — and diagram 20 says which actions the system does that job for.
Ask the device about the site, in your own words
By voice or by typing, from any screen — including mid-walk, standing in front of
the thing you are asking about. There is no language model on the handset and no network call
from that screen: where there is no basis for an answer, it says so and stops.
Rita — the agent, and the conversation she is
A way of asking THIS DEVICE about THIS PROGRAM in your own words. No language model, no API key, no network call from her screen.
TWO WAYS IN
The Chat destination, in the tab bar
She is a PLACE now, not a chip in the app bar. Tap the microphone and it opens with her already listening.
Hold the microphone, on any screen
Words heard clearly that match no command are a QUESTION, and are handed to her.
“Sorry, I didn’t catch that” was the app declining to answer something it could often answer.
THE SCREEN — it is a chat, so it is built like one
RITA
Ask about the programme…
box on top · thread below
THE BOX IS AT THE TOP, and the suggestions sit under it.
Anchored to the top, nothing can cover it — so nothing has to rise when the
keyboard opens. Two earlier revisions put it at the bottom, then in the middle
of the page where it slid away the moment a conversation started.
THE THREAD READS FORWARD.
Oldest first, newest at the bottom, two bubbles a shade apart: yours to the
right, hers to the left. It is a conversation, not a page that replaces itself.
IT SURVIVES LEAVING.
Turns live in a module store, not this screen’s state, so going to Home and
back does not throw the conversation away.
The four suggestions stay: not onboarding, but the questions she answers best.
THE BOUNDARY — what she will not do
· No language model. No API key. No network call from this screen.
· No fabricated answer. A plausible answer about a spill or a permit is worse than none.
· No fabricated question. Her mic refuses any engine that is not on-device, and states why.
· No scripted fallback. If the recogniser cannot run she says so — she does not invent the words.
· No button rail under the answer. The doors are SPOKEN, not drawn — nine of them, from any screen.
She cannot yet answer “what happened at THIS asset” — nothing binds a record to an asset. See diagram 13.
TWO STEPS, IN ORDER — and the answer says which one produced it
1 · matchScripted
routes the question to a briefed answer by its aliases
provenance chip: “briefed”
2 · composeLocal
composes on-device from the obligation register and the compliance areas
provenance chip: “on-device”
3 · neither matched
she says she has no basis for an answer — and stops
THE ANSWER — one Presentation per turn, in the thread
rendered as a full presentation rather than a line of text, carrying its provenance chip
NOT READ BACK ALOUD — that changed. Answers used to be spoken; they are not any more.
Dictation does not talk back: on a site, an app reading your own words back to you is noise.
VOICE IS REAL OR IT IS ABSENT
BATCH, NOT STREAMING
Live partial transcription was built and then removed: it cost the working path
and gave nothing back. Push-to-talk, then one pass over what was heard.
ONE RECOGNISER, LOADED ONCE AT LAUNCH
with honest progress. Two models would not fit — a release build died proving it,
and the size was measured rather than guessed.
AND IT IS ALLOWED TO FAIL, OUT LOUD
No model, permission refused, simulator, native module unlinked → the mic is
DISABLED and names its own cause.
“Testing 1-2-3” runs a real self-check that can report a failure. The shell’s canned
“All systems working” is gone — it was a claim with nothing behind it.
THE KIND OF QUESTION SHE IS FOR
“what’s overdue on me?”
“what did I flag at Woodbine?”
“what’s left on this inspection?”
Assessed against this repository at feat/rn-app-parity, 2026-07-30 · screens/Rita.tsx · screens/_shared/conversationLog.ts · lib/audio · lib/selfTest.ts
Where site data goes — and where it stops
One question decides whether an ESG tool is approvable: what leaves the handset,
and what reaches a third-party model. This is that boundary, drawn where it actually is rather
than where it would be convenient.
ESG — The frontier-model boundary
Three tiers, and only one of them is a control. The handset and the console are the same trust domain; the line that matters is where content reaches somebody else.
INSIDE THE COMPANY — one trust domain, two tiers
TIER 1 · ON-DEVICE / EDGE
Capture + the append-only log
every event, durable, offline, on the handset
On-device STT — sherpa / whisper
inference runs here. No audio leaves the phone.
cloudWhisper.ts — NEUTRALIZED
every method fails loudly; kept only as a factory seam
The report, rendered here
IR → HTML → PDF, with no network call in the path
Evidence bytes
photos · recordings · signatures — none are carried on
Nothing in this tier reaches an outside service. Verified,
not assumed — see the inventory in the policy.
apps/esg-field
crosses
NOTHING
TIER 2 · COMPANY CLOUD
Workers · D1 · R2 · the console
our infrastructure, our data, our people
The four CERTIFIED workers
compliance · projection · export · report
mechanically barred from touching a model at all
esg-memory retrieval
embeds with a deterministic hash — no service is called
app/api/summarize
THE ONE LIVE CROSSING. It sits in this tier and reaches
out of it, sending RAW FIELD TRANSCRIPTS VERBATIM.
Nothing anonymizes it. Nothing logs that it happened.
Nothing marks the answer unverified. Gated only on two env vars.
A ticket arriving here has not left anything. This is
a completeness question — see diagram 20.
workers/ · app/
THE ONLY CONTROL BOUNDARY
TIER 3 · OUTSIDE — third-party inference
A frontier model, or any hosted LLM
content handed to an organisation that is not us
Cloudflare Workers AI — FM-1, UNDECIDED
Our infrastructure vendor AND a third-party inference service.
Same contract, different exposure. Which side of this line it
sits on is not yet decided — so it is drawn open, not resolved.
What they may do with it
log it · retain it · train on it — unless a contract forbids it,
which is decision FM-4 and is not yet made either.
WHAT IS AT STAKE — four exposures, not one
· Client confidentiality — naming a client's non-conformance
· Personal data — a name, a voice, a shift's worth of positions
· Legal exposure — a finding is potentially discoverable
· Proprietary methodology — how this organisation reasons
The fourth is the actual asset. The facts age; the method is the product —
and it is the one given away by accident, because it leaks through SHAPE.
Everything upstream of this line is ours. Everything past it is a disclosure.
DECOMPOSE THE SITUATION — a submission is BUILT from what passes, never a record with the names taken out
PURPOSE
why we are asking at all
the general question behind
the particular one
CROSSES
INTENT
what decision the answer
serves, and who acts on it
state it TO the model
CROSSES
FACTS
the particulars — who, where,
which client, what was measured
keep the mechanism, drop the identity
ONLY GENERALIZED
METHODOLOGY · RULES
how we reason, grade
and decide
not as content, not as structure
NEVER
MEMORY
what this organisation has
learned across sites and years
the compound asset
NEVER
Methodology leaks through the SHAPE of a prompt, not its content: a request that redacts every name while explaining our grading ladder has handed over
the method and kept the facts, which is backwards. Where a submission needs the method to make sense, that is the signal not to send it.
THE RETURN CONTRACT — a model's output is an INPUT TO A PERSON, never a record (BR-P2 / FR-SEC-5)
WE ASK FOR
general domain knowledge — how this class of control behaves and why it fails
regulatory interpretation, framed as possibilities rather than answers
candidate reasoning and failure modes we had not considered · drafting over text we supply
WE REFUSE, WHATEVER IS OFFERED
a determination — compliant / non-compliant, a grade, a status
a severity, a due date or an owner · anything reading as a fact about a real site
Everything returned carries unverified:true until a named person confirms it.
Verified against the repository on 2026-08-01. None of this is enforced in code yet: the gate does not exist, the guard is not extended, the submission log does not exist.
Your site is a place before it is a table
A register says four open non-conformances. A plan says three of them are in the
same block. The Ontario Line runs 15.6 km through a century of industry — contaminated soil,
a river being rebuilt, and ground holding the first Parliament of Upper Canada. On a corridor the
obligation that applies is a function of where the inspector is standing, so the register is
spatial before it is tabular.
Ontario Line — the environmental layer over the real street geometry
Roads, rail, the Don and the alignment itself are OpenStreetMap data in Web Mercator — not a drawn grid. Toronto is not square, and this shows it.
Yonge St
Bayview Ave
Danforth Ave
Broadview Ave
Lake Shore Blvd East
Carlaw Ave
Bathurst St
Gardiner Expwy
Eglinton Ave East
Queen St West
Spadina Ave
Dundas St East
Gerrard St East
Pape Ave
Coxwell Ave
Don Mills Rd
King St East
Queen St East
Overlea Blvd
Don Valley Pkwy
Exhibition
Exhibition
King/Bathurst
King/Bathurst
Queen/Spadina
Queen/Spadina
Osgoode
Osgoode
Queen
Queen
Moss Park
Moss Park
Corktown
Corktown
East Harbour
East Harbour
Riverside
Riverside
Gerrard
Gerrard
Pape
Pape
Cosburn
Cosburn
Thorncliffe Pk
Thorncliffe Pk
Flemingdon Pk
Flemingdon Pk
Science Centre
Science Centre
Exhibition shoreline
Exhibition shoreline
dust · shoreline works
Tunnel dewatering
Tunnel dewatering
combined sewer · settlement
Downtown receptors
Downtown receptors
NPC-300 · night work
First Parliament
First Parliament
Stage 3–4 archaeology
East Harbour brownfield
East Harbour brownfield
excess soil · RSC
Port Lands naturalisation
Port Lands naturalisation
the river was moved
Don valley · TRCA
Don valley · TRCA
valleyland · bird window
Map data © OpenStreetMap contributors (ODbL) · rendered from vector data, no tiles
WHAT IS REAL HERE, AND WHAT IS NOT
REAL — OpenStreetMap vector data:
· every road, drawn from its node list
· the rail corridors and the Don
· the ALIGNMENT itself, from the ways
tagged railway=construction
BY HAND — and therefore approximate:
· station points, snapped to the line
· the environmental zones, as circles
CATEGORY COLOUR
Spill / watercourse
Vegetation
Erosion & sediment
Air & dust
Waste & excess soil
Lighting & noise
Archaeological
Wells / groundwater
the alignment (OSM)
WHY NOT GOOGLE MAPS
Google’s tiles cannot be redistributed in
a repository, and a screenshot of them
cannot be regenerated when the zones
change. OpenStreetMap’s DATA can be, so
this is drawn from the data itself — it
rebuilds from source, prints, and works
with no network.
For pan-and-zoom over live tiles, that is
a viewer, not a drawing.
WHAT THIS IS NOT
Not a survey and not an alignment sheet.
The basemap and the route are real; the
station points are approximate published
locations snapped to the line, and the
zones are indicative circles drawn by eye.
Nothing here decides what applies at a
point. The register does that.
The environmental layer over real OpenStreetMap geometry — the street you would be standing on is the street on the plan. Zones and station points are approximate and drawn by eye: nothing here decides what applies at a point. The register does that.
Where the build actually is
Eight process families. Two are built, three are partial, three do not exist.
Colour carries status in every diagram in this deck, and nothing else does.
Every process the app must handle — and where each one stops today
Eight process families. Two are built, three partial, three absent. The NCR ticket is the spine all of them close through — and the only one that reaches the console.
PROCESS
WHERE IT LIVES IN THE UI
WHAT IT PRODUCES
STATUS
1 · NCR ticketing
raised → assigned → corrected →
verified → closed · reopenable
Home › NCR — one touch, no sheet
Home › Tasks tile — the whole lifecycle
site + category chosen at capture
A ticket with its own identity,
owner and due date
BUILT — and it CROSSES
the RAISE posts to /api/ncrs and is
received; the rest stays on the device
2 · Inspections
section-by-section walk of a
governing checklist
Home › Inspection
walk → review → sign → delivery
resumable from In progress
The ONxpress report, on
device, offline, signed
BUILT — device only
coverage ≠ conformity, enforced
3 · Investigations
incident → investigation →
report, three chained records
Home › Investigation
observations + evidence, no checklist
no incident record, no root cause
A record of observations
— but not an investigation report
PARTIAL
the middle stage only; BR-I3, I6, I7
are unmet
4 · Audits
internal / external walkabout
against a standard
DRAWN on Home, and it refuses when pressed
it says, in words, that an audit grades against a
standard and an inspection does not
An audit report: scope, standard,
auditor, findings BY GRADE
major/minor/observation/OFI
ABSENT — largest gap
BR-AU1…AU7 · nothing exists
5 · Status updates
progressing someone else's
ticket to the next step
Home › Tasks tile → ticket detail
assign · record action · verify · close
every actor is "device" — no identity
Appended lifecycle events,
never an edit in place
PARTIAL
transitions work; WHO did them
is not yet a real person
6 · Notifications
work arriving; deadlines;
something needing you now
Home › Inbox tile — the shape is there
and it says, in words, that it is empty
because nothing can reach this device
A push, a badge, a deadline
a person is accountable for
ABSENT — no inbound channel
needs sync first; BR-I4 unmet
7 · Approvals
a second person accepting
or rejecting the record
Home › Inbox tile → approve / reject
with a reason, which is part of the record
rejection returns it to In progress
A decision event naming
the approver and the grounds
ABSENT
no vocabulary, no identity, no route
8 · Asset & location
binding every activity and
incident to WHERE and WHAT
the site map IS the console home page
pick a spot, see everything that happened there
and every asset standing in it
A history that accumulates
against a THING, not just a walk
“has this been a problem before?”
PARTIAL — seeded, not bound
locations and assets exist on both sides and
the console plots them; no capture screen
names one · diagram 13
THE SPINE — BR-X6
An NCR is the SINGLE closure mechanism for a non-conformance found by any process. Inspections, audits and investigations
raise them and cite them; none of them closes one. Build the ticket once and every other process inherits its closure.
Green = built and exercised · amber = exists but does not meet its business rule · red = absent or blocked. Assessed at feat/rn-app-parity, 2026-07-30.
Built — exists and is exercised
Partial — exists, does not yet meet its rule
Absent or blocked
The same thing, as a scorecard
Process Vocabulary Capture on device Office console Delivery Verdict
1 · NCR ticket contracted full lifecycle none none Closes out on the device; invisible to the office
2 · Site inspection contracted capture, sign, report — offline flat tables only none Captured, never delivered
3 · Audit none none none none Absent entirely — the largest gap in scope
4 · Incident → investigation → report incident only none none none Contracted, never built
What that adds up to in your favour
The hardest part is done. A complete weekly inspection and a full non-conformance
lifecycle run on a handset with no signal, and the record they produce is honest,
durable and defensible.
And what it costs you today
No process in scope completes end to end, because none of it is visible from the
office yet. The device now holds more good evidence than it can hand over.
The one finding that matters most: captured work does not yet reach the office
Exactly one action completes the journey. Everything else is captured well and
stops somewhere — refused by the receiver, or sitting in a queue that nothing drains.
ESG — How far each capture action actually gets
A COMPLETENESS question, not a confidentiality one: the handset and the console are one company. One action completes the journey; the rest stop, and this says where.
ACTION
COMMITTED ON THE DEVICE
WHAT IS SENT
STILL ONLY ON THE DEVICE
REACHES THE CONSOLE
NCR — raise
a non-conformance, owned
and driven to closure
THE ONE THAT ARRIVES
NcrRaised → the log
append-only, durable the
instant it is written
never needs a network
POST /api/ncrs — automatically, on completion
id · site · area · severity · description · raisedBy
raisedAt · gps or null · photoCount · the raise event verbatim
retried until acknowledged — see diagram 21
every byte of evidence
photos, the recording, the
signature image
not withheld — simply never carried
ACCEPTS
D1 → /api/submissions →
the Inbox on esg.cogneris.com
accepts.ncr = true
Inspection — the walk
checks, coverage, findings
across 9 sections / 34 items
CAPTURED, NEVER DELIVERED
AreaInspected · IssueLogged
PhotoCaptured — all of it,
durably, offline
this half genuinely works
NOTHING
submitFinding, submitSummary and sealInspection exist
in lib/ncr/api.ts and NOTHING CALLS ANY OF THEM.
a written path is not a used path
the entire walk
every verdict, every photo,
every coverage attestation
REFUSES
the receiver says so itself:
accepts.inspection = false
Inspection — sign-off
the walk closed off, signed
by more than one party
QUEUED, NEVER DRAINED
InspectionSigned
plus a durable signature
record the ref points at
a queue failure cannot undo it
enqueue() → the local outbox, and no further
a sync_queue row: durable, survives restart, backoff ready
but NOTHING IN THE APP EVER DRAINS THE QUEUE
no drain, flush or run-sync call exists anywhere
the signature images
only a signatureRef would
travel; the PNG never does
NOTHING ARRIVES
the holding pen is honest —
it just never empties
Photo
watermarked at capture:
time, GPS, address
PhotoCaptured + the file
copied out of the camera
cache into document storage
a COUNT. photoCount, and nothing else.
No FormData, no multipart, no uploadAsync anywhere in the app.
shipping stills over a site connection is its own decision, not an accident
the image itself
the evidence a challenge
would actually turn on
A NUMBER, NOT A PICTURE
“1 photo” is all the Inbox
can honestly say
Voice note
dictated on site, transcribed
on the device
transcript + the RECORDING
retained out of the cache so
the OS cannot reclaim it
playable on the ticket
the WORDS travel, inside the raise payload
The audio does not. There is no field for it in the wire shape
at all — not an empty one, none.
a transcript is a machine's READING of what was said
the recording
the only thing that can
correct a misheard word
CANNOT PLAY IT BACK
it reads the transcript and
has no audio to check it against
The report
the ONxpress PDF, folded
from the event log
generated on the handset
IR → HTML → PDF, with no
network call in the path
NOTHING — there is no upload path for a document
It is opened or shared from the phone by a person, which is
a human handing over a file, not a system delivering a record.
the PDF
regenerated from the log on
demand, never stored and stale
MAKES ITS OWN
from what it received — which
today is NCRs and nothing else
Incident · Investigation
Audit
NOT BUILT AT ALL
nothing
incident is contracted in a
package; audit is not modelled
nothing — there is no screen to capture one on
A delivery question cannot arise for a record that is never made.
n/a
nothing is captured, so
nothing is held
REFUSES BOTH
accepts.investigation = false
accepts.audit = false
Two things this table is for
• Exactly one action completes the journey. The NCR. Everything else is captured well and stops somewhere — refused by the receiver, or sitting in a queue nothing drains. The device half is not the weak half: every row's middle column works.
• No evidence byte reaches the console. Photos travel as a number, audio has no field at all — so the office holds a claim it cannot check. This is a COMPLETENESS gap inside one company, NOT a protection control.
The right-hand column is not read from the code: GET /api/submissions returns an accepts map and the receiver states its own limits. Verified against esg.cogneris.com, 2026-08-01.
THE DEVICE-TO-CONSOLE HOP IS NOT A TRUST BOUNDARY. Both are inside the company. The only control boundary is EXTERNAL MODEL PROCESSING — see docs/FM-BOUNDARY-and-submission-policy.md.
Assessed against feat/rn-app-parity. Green means it works; amber means it is honest about not finishing; red means it does not happen.
Two causes, and neither of them is in the application
Cause 1 — the door is shut at the edge
The console hostname sits behind an access gateway that adjudicates before any
application code runs. A handset cannot be let in by changing the app, because the app is
never reached.
Cause 2 — there is nowhere to land
The deployed console declares no server-side storage, and eleven of the twelve backend
services are built but unpublished. Opening the door alone would still not produce an
ingest to reach.
Both are configuration and deployment decisions, not engineering ones — which is
the good news. Closing this is days of operations work between us, not a rebuild.
What it takes to finish
Ours to do
Publish the ingest and read services, with real storage bound to them.
Build the office surfaces for all four processes, not just inspection.
Contract and build the audit process — vocabulary, capture and graded report.
Prove voice capture on a real device in real site conditions. It is wired and
byte-verified; nobody has yet completed a transcription on a handset, and we will not
claim it until someone has.
Yours to decide
Device access. How a handset authenticates through your access
gateway. This is the single blocker on delivery.
The audit standard. Which standard and clause set audits are graded
against. Nothing can be built until it is named.
Conversation policy. Whether asking questions of the assistant may
send site data off-device, or stays on-device and bounded. We built it on-device;
lifting that ceiling is a policy call, not an engineering one.
Is a non-conformance the same object as a corrective action in your
process, or its parent?
What is real today
You can run this now
A full weekly environmental inspection on a phone with no signal — captured, signed,
and rendered to the pinned report format, entirely on the device.
A non-conformance raised, assigned, corrected, verified and closed, with every
transition kept as its own record and no closure reachable without verified work.
A site plan of the program, with findings plotted where they actually happened.
You cannot do this yet
See any of it from the office. The record is complete, durable — and on the handset.
Run an audit, or an incident investigation.
Rely on voice capture, until it is proven on a device.
The hard part — a record that is honest, offline and defensible — is built.
What is left is a delivery boundary and two processes, and none of it is a rewrite.