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.

Library

Documents

62 documents, 177k words, rendered from the markdown in docs/. The file path is printed on every one so the source is never in doubt.

Requirements & proposals

38
Build plan — the field app and the console, one experience

Each is independently shippable and independently reviewable — nothing here blocks anything else landing (CDT PR-independence rule).

docs/PLAN-field-and-console-2026-08-06.md · 1,692 words
Business Requirements — the whole ESG project lifecycle

Status: draft for review. Date: 2026-08-04. Revision A. Written by Claude Opus 5 (Claude Code) at Pete's request: build out the BRD for every state and every phase of ESG.

docs/BRD-lifecycle-all-phases.md · 3,768 words
Business Requirements Document — ESG Field Processes

Scope: the four field processes that must be captured end to end, and the standard of usability they must be captured to. Status: draft for review. Date: 2026-07-29. Revision B — §2 corrected against observed evidence; §3 and §5.6 add usability as a business r

docs/BRD-field-processes.md · 4,451 words
Clarke Gunter, Environmental Director — remit, access and dashboard

Status: PROPOSAL. Written 2026-08-03 by Claude Opus 5 (Claude Code) at Pete's request. Revised the same day after Pete corrected the scope twice over: the field app carries four processes, not one, and operating a site is only the fourth of four project phases

docs/PERSONA-environmental-director.md · 4,622 words
Deep code review — feat/rn-app-parity working tree

Date: 2026-08-06 Reviewer: Codex CLI 0.145.0 (codex exec, read-only sandbox, high reasoning), driven and verified by Claude Code (Opus 5, session e36ef25c). Scope: the uncommitted diff against HEAD (37 modified files, ~3,000 insertions) plus every untracked ne

docs/REVIEW-codex-2026-08-06.md · 3,542 words
Development progress, recorded on the walk and read by management

What this is. The plan for making a site inspection carry PROGRESS as well as compliance, end to end: captured on the handset, delivered, and read on the console. Written 2026-08-05 by Claude Opus 5 (Claude Code, session d44cfa8b) from Pete's direction — "site

docs/PLAN-progress-stage-of-work.md · 1,143 words
Entanglement, QKD, and a hybrid trust architecture

Yes, entanglement is one of the important resources used in quantum computing, but quantum computing is not simply "entanglement."

docs/ARCHITECTURE-entanglement-qkd-and-hybrid-trust.md · 2,190 words
ESG — Process, Architecture and Conceptual Models

Purpose: the diagram set behind BRD-field-processes.md — what the business processes are, what the platform is made of, and where the two do not yet meet. Status: draft for review. Date: 2026-07-29. Assessed against: this repository at feat/rn-app-parity. Diag

docs/ARCHITECTURE-and-process-models.md · 1,521 words
Field Intelligence Agency — the app, Rita, and every process it must handle

Purpose: what the app is today, what Rita is, and what the UI becomes when it handles all seven process families — NCR ticketing, inspections, audits, investigations, status updates, notifications and approvals. Status: draft for review. Date: 2026-07-30. Asse

docs/FIELD-INTELLIGENCE-app-rita-and-processes.md · 2,032 words
Functional Requirements — the whole ESG project lifecycle

Status: draft for review. Date: 2026-08-04. Revision A. Written by Claude Opus 5 (Claude Code). The functional half of BRD-lifecycle-all-phases.md.

docs/FRD-lifecycle-all-phases.md · 3,256 words
Functional Requirements Document — ESG Field Processes

Derived from: BRD-field-processes.md. Status: Revision B, 2026-07-30 — FR-NCR statuses corrected; FR-UX added; gap register and sequence re-ordered. Assessed against: 2bf7e93 on feat/rn-app-parity, verified by inspection of the shipped shell. Companions: GAP-A

docs/FRD-field-processes.md · 5,473 words
Gap Analysis and Plan — the deployed console vs. what is built

Question asked: compare and contrast http://esg.cogneris.com with what this repository actually contains, against BRD-field-processes.md, FRD-field-processes.md and ARCHITECTURE-and-process-models.md. Companion: UX-simplicity-design-and-plan.md — the simplicit

docs/GAP-ANALYSIS-console-vs-build.md · 2,957 words
Handoff — codex review remediation

Session: e36ef25c (Claude Code / Opus 5) · Closed: 2026-08-07 Branch: feat/rn-app-parity · My commit: 908eeba

docs/HANDOFF-2026-08-07-review-remediation.md · 674 words
Handoff — esg-field UI and the NCR capture flow

Session e038f9b9 · Claude Opus 5 (Claude Code) · 2026-08-01 Branch feat/rn-app-parity · State tsc clean, 12 suites / 132 tests pass Scope apps/esg-field only. Nothing in app/ (the console) was touched.

docs/HANDOFF-2026-08-01-field-ui.md · 2,379 words
Handoff — review, resume and correct the session of 2026-08-03 → 08-05

For the agent picking this up. Written 2026-08-05 by Claude Opus 5 (Claude Code), working with Codex (codex-cli 0.144.6). Read this before touching anything it describes. The open tasks live in WORKLIST.md section S; this document is the context that makes the

docs/HANDOFF-2026-08-05-session-review-and-resume.md · 1,330 words
High assurance and zero-authority-by-default — a security architecture position

In cybersecurity, the strongest practical security is not simply "better encryption." It is a high-assurance architecture designed so that even if an attacker compromises a user, service, server, cloud administrator, or network segment, they still cannot reach

docs/ARCHITECTURE-high-assurance-and-zero-authority.md · 2,578 words
Inspections should be walked area by area, not category by category

What this is. A review of the inspection process as it is actually built — in apps/esg-field (the RN field app) and in app/ (the console) — and a recommendation for restructuring it around the place the inspector is standing in rather than the section of the f

docs/INSPECTION-AREA-FIRST-proposal.md · 3,193 words
News & activity: the decision that unblocks ingestion

What this is. The console's News & Activity surface separates four origins — Internal · External · Vendor · Partner — because they differ in who can be held to them. Of the 24 items it shows, 11 are derived from registers the console actually holds and 13 are

docs/DECISION-news-and-activity-sources.md · 881 words
Plan — repository hygiene, and deploying the Cogneris audience sites

Status: PLAN, for approval before execution. Written 2026-08-04 by Claude Opus 5 (Claude Code) after assessing ~/MyProjects on CoreArivant (192.168.50.95) following the laptop migration.

docs/PLAN-repos-and-sites.md · 1,473 words
Plan — secrets management, SecAuth, sovereignty, and notifications

Status: PLAN, for direction. Written 2026-08-04 by Claude Opus 5 (Claude Code). Companion to PLAN-repos-and-sites.md.

docs/PLAN-secrets-secauth-sovereignty.md · 1,617 words
Quantum security and identity — position and strategy

What we assert, in public and internally. Six statements. Each is defensible under scrutiny today, and each is written so a future session does not re-argue it.

docs/POSITION-quantum-security-and-identity.md · 2,213 words
Separation of authority from capability — the nuclear command chain as a security model

The U.S. nuclear authentication system is best understood as a chain of trust, not as the President typing a password that directly launches a missile.

docs/ARCHITECTURE-separation-of-authority-and-capability.md · 1,823 words
Submissions audit — mobile app and console

Findings are re-ranked from codex's severities after verification. Two of its claims were overstated and one was wrong; those are marked and corrected rather than dropped.

docs/AUDIT-submissions-2026-08-04.md · 4,956 words
Test script — Field Agent on the handset, and the portal

1. Home → tap the Ontario Line tile. It should highlight, and the strip below should name Ontario Line. Everything you do from here inherits it. 2. Tap "Inspections". Expect a LIST (empty), with a This project / All projects toggle and "Start a new inspection"

docs/TEST-script-2026-08-07.md · 704 words
The boardroom, and what we build to serve it

Status: PROPOSAL. Written 2026-08-03 by Claude Opus 5 (Claude Code) at Pete's request: what the environmental director must present upward, and what menus, components, services and modules follow from that.

docs/PORTAL-boardroom-and-modules.md · 2,196 words
The device credential — minting it, setting it, rotating it

POST /api/ncrs, GET /api/ncrs, GET /api/ncrs/[id] and GET /api/submissions now require a device credential: Authorization: Bearer <token>, checked against ESG_DEVICE_TOKENS (app/lib/deviceAuth.ts).

docs/OPS-device-credential.md · 837 words
The diamond identity card — what is real, what is not, and what to build

The pitch merges four separate claims. Two are real and buildable, one is real but not in a card, and one is a category error that will embarrass us in front of a client if we say it out loud.

docs/PLAN-diamond-identity-card.md · 3,454 words
The frontier-model boundary — what may be submitted, and what we ask back

Status: draft for review. Date: 2026-08-01. Supersedes a framing error: an earlier diagram drew the control at the device/console edge. That was wrong, and this document exists partly to correct it.

docs/FM-BOUNDARY-and-submission-policy.md · 1,904 words
The inspection experience — independent UX proposal

One correction already applied from it: arch-1 was asked BOTH corridor-wide and at First Parliament, which gives one check id two answers in a single walk. Fixed in data/applicability.ts — it is now asked only at z-ol-parliament.

docs/UX-inspection-experience-codex-2026-08-06.md · 7,985 words
The Ontario Line demo — one path, rehearsed

Said first, because a demo that blurs it teaches the audience the wrong thing.

docs/DEMO-ontario-line-rehearsal.md · 847 words
The Portal — review of what exists, and what it has to become

Status: PROPOSAL. Written 2026-08-03 by Claude Opus 5 (Claude Code) at Pete's request: review the deployed dashboard and the two presentation decks, then propose the portal.

docs/PORTAL-proposal.md · 3,029 words
The portal's information contract — roles, responsibilities, and what it will and will not tell you

Status: PROPOSAL, and a description of what is on the screen today. Written 2026-08-03. Authored jointly by Claude Opus 5 (Claude Code) and Codex (codex-cli 0.144.6): Claude read the role model and the seven role surfaces, Codex audited the library, the genera

docs/PORTAL-INFORMATION-CONTRACT.md · 6,560 words
The portal's users, roles and role requirements

Status: PROPOSAL. Written 2026-08-03 by Claude Opus 5 (Claude Code) at Pete's request: outline all of the users, roles and the requirements for those roles for the portal.

docs/PORTAL-ROLES.md · 7,212 words
The spatial model: one register, more than one drawing of it

What this document is. The argument for why the site map surface is built the way it is, in terms that survive the conversation that produced it. It is not a feature list. The surface is the visible end of a model, and the model is the point.

docs/SPATIAL-MODEL-purpose-and-views.md · 2,505 words
Two intents that need an owner

What this is. The console now measures alignment across three lanes — ESG, Safety and Development. Alignment is distance from a declared intent, so each lane has to declare one. Only the ESG intent was agreed by the programme. The other two were written by the

docs/INTENT-declarations-for-signoff.md · 899 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: - revised-end-to-end-2026-07-29/ — the product baseline. Its golden journey is adopted as the acceptance spine of this document. - UI

docs/UX-simplicity-design-and-plan.md · 3,438 words
What the console should present — proposed information architecture

Status: PROPOSAL. Nothing in sections 3–8 is built. Written 2026-08-01 by Claude Opus 5 (Claude Code) at Pete's request. Section 2 describes what exists today so the gap is legible. Read with SPATIAL-MODEL-purpose-and-views.md, which covers the map surface its

docs/CONSOLE-IA-proposal.md · 1,736 words
Worklist

The single place work is planned and tracked. Not a ticket system — a list that survives a session, so nothing depends on remembering a conversation.

docs/WORKLIST.md · 44,705 words

Roles

13
Agent collaboration — memory, liaison, autonomy, and sponsored disclosure

Every user has their own Rita (PORTAL-ROLES §3.4). This file covers what those instances may do beyond answering their own person: interrogate the institutional memory, talk to each other, work on their own initiative, and — where an answer would cross a bound

docs/roles/agent-collaboration.md · 2,097 words
Client representative

Band reviewer, released records only · Scope one project · Signs in on the portal — if RD-5 says they get a login at all.

docs/roles/client-representative.md · 690 words
Environmental director

Band manager, all projects · Scope the whole operating portfolio · Signs in on the portal.

docs/roles/environmental-director.md · 1,061 words
Environmental manager

Band manager · Scope one project, all its sites · Signs in on the portal.

docs/roles/environmental-manager.md · 949 words
Environmental monitor

Band inspector · Scope one project, assigned sites · Signs in on the esg-field app, and the portal for their own queue.

docs/roles/environmental-monitor.md · 690 words
External auditor

Band reviewer, time-boxed · Scope the audited project, evidence only · Signs in on the portal.

docs/roles/external-auditor.md · 708 words
Field inspector / environmental technician

Band inspector · Scope one project, assigned sites · Signs in on the esg-field app (iOS + Android); the portal is a receipt, not a workplace.

docs/roles/field-inspector.md · 827 words
HSE lead

Band reviewer · Scope one project · Signs in on the portal.

docs/roles/hse-lead.md · 663 words
Internal auditor

Band reviewer + an audit-capture grant · Scope the audited project · Signs in on the esg-field app (the walkabout) and the portal (the report).

docs/roles/internal-auditor.md · 760 words
Parties and non-human actors — named on records, never sign in

The other six actors in PORTAL-ROLES §2. None of them opens the portal, so none has a feature file of its own — but each imposes requirements on the roles that do, and those requirements are listed here so the folder covers all sixteen actors rather than the t

docs/roles/parties-and-non-human-actors.md · 1,074 words
Platform administrator

Band admin · Scope the tenant · Signs in on the platform surfaces.

docs/roles/platform-administrator.md · 796 words
Site supervisor / superintendent / foreman

Band inspector, narrow scope · Scope own sites, assigned items only · Signs in on the portal.

docs/roles/site-supervisor.md · 720 words
The portal, role by role

One file per role: who they are · why they open the portal · which screens · what features and functionality that role requires · what they must be denied.

docs/roles/README.md · 550 words

Revised end-to-end (2026-07-29)

7
Business Requirements Document — ESG End-to-End Evidence-to-Action

Version: 1.0 Date: 2026-07-29 Owner: Product Status: Proposed baseline

docs/revised-end-to-end-2026-07-29/BRD-revised-end-to-end.md · 1,553 words
Diagram Review and Revised Architecture/Flow Model

Version: 1.0 Date: 2026-07-29 Images reviewed: docs/diagrams/01 through 09

docs/revised-end-to-end-2026-07-29/DIAGRAM-REVIEW-and-REVISED-MODEL.md · 1,839 words
ESG End-to-End Product Specification — Revised Set

Version: 1.0 Date: 2026-07-29 Status: Proposed product baseline for mockup and implementation

docs/revised-end-to-end-2026-07-29/README.md · 331 words
Functional Requirements Document — ESG End-to-End Evidence-to-Action

Version: 1.0 Date: 2026-07-29 Status: Proposed baseline

docs/revised-end-to-end-2026-07-29/FRD-revised-end-to-end.md · 2,249 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

docs/revised-end-to-end-2026-07-29/GAP-ANALYSIS-revised-end-to-end.md · 1,597 words
Rationale and Product Decisions

Version: 1.0 Date: 2026-07-29

docs/revised-end-to-end-2026-07-29/RATIONALE-and-DECISIONS.md · 1,220 words
UI/UX Design — The Evidence-to-Action Experience

Version: 1.0 Date: 2026-07-29 Design standard: obvious, calm, truthful, and usable in the field

docs/revised-end-to-end-2026-07-29/UIUX-DESIGN-revised-end-to-end.md · 1,675 words

Audits

1

Decks (source)

2

Diagrams (notes)

1