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. The first version of this document was NCR-shaped and delivery-only; §2 states the correction so it is not made again.
Read with CONSOLE-IA-proposal.md (routes), FIELD-INTELLIGENCE-app-rita-and-processes.md (§3, process coverage), BRD-field-processes.md (stakeholders and rules) and GAP-ANALYSIS-console-vs-build.md.
§7 states which figures are real today and which are not, so none of this reads as nearer than it is.
0. Scope note — added 2026-08-03, after §2 and binding over it
Pete, 2026-08-03: *"all of the current activities have been focused on operational environmental review, inspection, NCR etc — no planning, no costing, no bidding."*
This does not retract §2. Clarke's remit genuinely spans four phases, and a persona that stopped at delivery would misdescribe the job — that is why §2 exists and it stands. What the note fixes is the difference between a remit and a scope of work:
| The remit (§2, §4) | four processes × four phases. Unchanged. This is what the director actually does |
| The scope of current activity | phase 4, managing, only — environmental review, inspection, NCR, incident and investigation, audit. No planning, no costing, no bidding |
So, read literally and consistently with PORTAL-ROLES.md:
- §4's phases 1–3 and the first four rows of §6's authority table are PARKED. They are named so they are not re-derived later. No role holds them, no surface renders them, and nothing waits on them.
- Phases 1–3 are therefore not a blocker for anything. The one structural blocker on the director role is that the signed session claim carries
projectsingular (workers/esg-query/src/authz.ts:23), so a portfolio reader cannot be minted at all.Projectlacking a lifecycle state (§2) bites only the parked gates. - CG-6, CG-7 and CG-8 are not urgent. They are phase-1–3 decisions; leaving them open costs nothing while there is no bidding or costing activity.
Everything in §3, §5, §6 phase-4 rows, §7 and §8 is unaffected.
1. Who this persona is
The BRD names an environmental manager: *"verifies closures, reviews reports, answers to the client"* (BRD §4). Clarke is one level above that, and the difference is the whole design.
| Environmental manager | Environmental director (Clarke) | |
|---|---|---|
| Scope | one project, in delivery | every project, in every phase — including ones not yet won |
| Question | "how is my site going" | "where is my exposure, and what have we committed to" |
| Console lens | project workspace /projects/[id]/* | portfolio lens — the function-first surfaces |
| Answers to | the director | the client, the regulator, and the JV board |
| Signs | corrective work verified | the bid, the budget, the mobilisation, the closure, the report |
This maps onto the two readers already identified in CONSOLE-IA §3. Clarke is the portfolio reader — with one correction to that proposal, in §2 below: the portfolio contains projects in phases the console has no representation for at all.
2. The correction: two dimensions, not one
The system as currently documented describes one cell of an eight-cell grid.
Dimension A — the four processes the field app carries
Operating a site is four distinct processes, each with its own vocabulary, record and consumer. They are not variations of an inspection.
| Process | What it produces | Who consumes it |
|---|---|---|
| NCR ticketing | a ticket driven to verified closure | the site, and the client at audit |
| Inspections | a periodic coverage record in the pinned ONxpress format | the client, contractually |
| Investigations | root cause and corrective actions traceable to an incident | the regulator, potentially |
| Audits | graded findings and a conformity conclusion against a standard | the certification body / the client |
The one thing that unifies them is already the highest-leverage fact in the design (FIELD-INTELLIGENCE §3): an NCR is the single closure mechanism for a non-conformance found by any of the four (BR-X6). Inspections, audits and investigations raise tickets and cite them; none of them closes one.
That gives the director's dashboard its shape: four record streams, one closure queue. Unify at the closure end. Never unify at the record end — an inspection item verdict (satisfactory / deficient / N-A) and an audit finding grade (major / minor / observation / OFI) are different vocabularies with different consequences, and two of the four grades must raise a ticket while two must not (BR-AU3–5).
Dimension B — the four phases of a project
Clarke's remit does not begin when a site opens.
| # | Phase | The director's question | Repo state |
|---|---|---|---|
| 1 | Bidding | what does this contract bind us to, and can we carry it | absent |
| 2 | Costing · budgeting · planning | what does the environmental scope cost, and what does it gate | absent |
| 3 | Onboarding · mobilisation | is this site actually ready to be operated | absent — partly specified as CONSOLE-IA §6 |
| 4 | Managing | is the record defensible and is anything about to hurt me | the only phase built |
Why this is structural and not a backlog item
The canonical project aggregate is
packages/esg-projects/src/index.ts:70:
export interface Project {
readonly id: ProjectId;
readonly name: string;
readonly client: string;
readonly contractRef: string;
}
There is no lifecycle state. A project comes into existence already being
inspected. The console's own Project type
(app/lib/projects.ts:7) has a phase field, but it
holds prose — "Corridor · tunnel and surface", "Weekly inspection" — which
is a description of the work, not a state anything can branch on. A search of
app/, apps/ and packages/ for bid, tender, budget, costing, estimate,
procurement, mobilisation or onboarding vocabulary returns one incidental
hit. Phases 1–3 are not thin. They are not there.
The reason this matters more than a missing feature
An obligation is the same object in all four phases. A commitment identified while pricing a tender becomes a budget line, then a permit application, then an inspection item, then — when it is missed — an NCR. If those are four systems, nobody can answer the question the director is actually asked in a claim or a review: "you bid this on the basis of X — did you do X?"
The register is the spine that makes the four phases one project. Building the delivery phase alone produces a compliance tool. Building the register across all four produces the thing that prices the next bid from what the last one actually cost.
3. What the director needs from each of the four processes
The dashboard needs four streams, not one. Each answers a different question and fails in a different way.
3.1 NCR ticketing — is work being closed, or just observed
- Live tickets by age, severity and owner; overdue against the committed date
- How the closed pile closed — corrected / retracted / superseded, never one number (
app/lib/ncr.ts:407) - Failed first fix — needed more than one corrective action
- Self-verified closures: BR-CA7 permits one person to perform and verify the work, and requires the record to disclose it. Clarke is the second party who should have been there
- Unowned tickets: an NCR with no owner and no due date is not a ticket
3.2 Inspections — is the coverage real, or merely unflagged
The failure mode here is not a bad score. It is a good score that means nothing.
- Inspections due vs submitted, per site, per period. The denominator is the number that matters — a quiet week may be a week nobody walked
- Coverage vs conformity. BR-S2: that a section was reached is a claim about the inspector; that it was compliant is a claim about the site. A section with no finding must never report as inspected-and-compliant unless coverage was actually attested
- Attestation method mix — whole-section affirmation vs item-by-item (BR-S3,
AreaVerdictMethod). A programme running 95% whole-section affirmation has thin evidence, and only this view shows it - Sections not reached, with the reason (BR-S4) — someone has to accept those
- Reports produced, and which left the building
3.3 Investigations — is the clock running, and does the conclusion hold
The only process with a statutory consumer, and the one where lateness is not a metric but a liability.
- Open incidents by regulatory clock — time since occurrence, and separately, time since report. BR-I2/I3 keep when it happened apart from when it was reported because those are different facts and the gap between them is itself reportable
- Notifiable incidents and whether notification was made, by whom, when
- Investigations open past their target, and incidents with no investigation
- The method used to reach root cause (BR-I7) — a conclusion stated as though evidence compelled it is exactly what falls apart under challenge
- Corrective actions arising, traced through to NCR closure (BO-4)
The incident vocabulary is already contracted at platform level —
packages/esg-events-incident/src/index.ts
carries seven incident types (spill, exceedance, off-site release, complaint,
regulatory visit, regulatory order, wildlife/SAR encounter) and five states. The
device cannot create one: TaskKind is "inspection" | "investigation"
(apps/esg-field/lib/store/events.ts:74), so the
app has the middle of the process and neither end.
3.4 Audits — are we conformant, and who says so
Absent from the product entirely, and the largest single gap in scope. What the director needs once it exists:
- Audit programme vs actual: scheduled, conducted, overdue, by standard
- Internal vs external, with the auditor's identity and organisation — an external auditor is not an employee and the record must say so (BR-AU2)
- Findings by grade — major / minor / observation / OFI, and specifically the count of majors and minors, because those must have raised an NCR (BR-AU4) and an ungrounded major is a finding nobody is fixing
- Observations and OFIs that did not create an NCR (BR-AU5) — recording an improvement idea as a non-conformance misstates the audit
- Repeat findings across audit cycles — the single strongest signal of a systemic failure, and the one a certification body finds on its own if Clarke does not
- The conformity conclusion, per standard, per site
3.5 The three that are not processes but the director depends on
FIELD-INTELLIGENCE §3 names seven families. Three are not walks:
- Status updates — partial: transitions work, but every actor is the literal string
"device". Assignment and accountability are meaningless until a signature names a person - Notifications — absent: nothing can reach the device. Clarke cannot currently ask anyone for anything
- Approvals — absent, no vocabulary at all. This is the director's core primitive. Approve/reject with a reason is the one interaction the whole authority model in §6 rests on, and it does not exist in any layer
4. What the director needs in each of the four phases
PARKED (§0). Phases 1–3 below describe the remit, not current work. There is no bidding, costing or onboarding activity, no role holds any authority over them, and nothing is blocked on them. Phase 4 is the live scope.
Phase 1 · Bidding — what would this bind us to, and can we carry it
The environmental director is a bid input, not a delivery consequence.
- Obligation scope of the tender — which permits, approvals, monitoring programmes and commitments this contract would create, drawn from a library rather than re-read from the spec by whoever is free
- Comparable history — what similar sites actually cost: NCRs raised per inspection, average days open, regulator attention, delay attributable to environmental cause. This is the register earning its keep, and it is the one thing a competitor without records cannot price
- Risk premium — receptors, sensitivities and windows that make this site dearer than its area suggests: watercourses, SAR habitat, residential receptors, contaminated ground, heritage
- Capacity — can we staff the inspection cadence this contract demands against the cadence already committed across the live portfolio
- Prequalification evidence — the client asks for the environmental record, and the register is the answer. Producing it should not be a fortnight of spreadsheet work
Director's action: a go/no-go with the environmental conditions attached.
Phase 2 · Costing · budgeting · planning — what it costs and what it gates
Two distinct outputs, routinely conflated.
The cost line: inspection labour (cadence × duration × sites), monitoring programmes and their equipment, specialist subconsultants (SAR survey, noise and vibration, water quality), permit fees, and a remediation contingency priced from history rather than from optimism.
The schedule constraints — the part that gets missed. Environmental scope does not only cost money, it gates the programme:
- Permit lead times. A permit that takes 90 days to issue is a constraint on the construction sequence, not a compliance item to be tracked once work starts
- Environmental windows — in-water work timing, migratory bird nesting, fish spawning. These are hard dates the schedule must be built around, and they are the most expensive thing to discover late
- Baseline monitoring that must run before work starts to be worth anything
Director's action: sign the environmental budget, and hand the planner a list of dated constraints. Neither has any representation in this repo today.
Phase 3 · Onboarding · mobilisation — is this site ready to be operated
This is CONSOLE-IA §6 — create a project — and it is the largest new build because it is the first thing in the console that writes. Its seven steps are identity · kind · boundary · control areas · assets · applicability · team and access. From the director's side it is a readiness gate, and every item is a yes/no they sign against:
| Ready when | Today |
|---|---|
| Boundary and control areas defined | corridor alignments are hand-recovered TypeScript literals |
| Applicable obligations bound to the project | registers exist; applicability does not |
| Permits in hand, not applied for | register exists, no application state |
| Inspection template chosen and assigned | one template, hardcoded |
| An inspector named, with a device that works | actors are the string "device" |
| Baseline captured | no concept |
| Team and roles assigned | no role model exists anywhere |
Director's action: mobilisation sign-off — this site may now be operated. The single highest-value artefact of this phase is that a site cannot begin producing records until someone accepted it was ready to produce them.
Phase 4 · Managing — is the record defensible, and is anything about to hurt me
The four processes of §3, and the dashboard of §5.
The phase this list does not have
Environmental obligations routinely outlive construction — restoration monitoring, warranty periods, records retention against a limitation period. Whether that is a fifth phase or the tail of the fourth is a real decision, not a detail; it is logged as CG-6 in §9.
5. The dashboard
Layer 0 · The portfolio, by phase
The top of the screen must show projects in all four phases, because a dashboard showing only operating sites shows roughly half the director's exposure and none of the exposure they can still avoid.
BIDDING (2) in tender · decision date · environmental conditions attached
PLANNING (1) budget signed? · permit lead times · dated constraints issued
MOBILISING (1) readiness gate — what is outstanding, who signs
OPERATING (6) the four process streams below
The count and the shape are illustrative; the point is that the phases are visible at once and each carries a different next action.
Layer 1 · Six questions for the operating portfolio, in decay order
A director's home screen is the answer to the questions they would otherwise ring six people to ask, ordered by how fast the answer decays.
Q1 · Is anything about to hurt me? — the only part allowed to be red.
Overdue NCRs; permits expiring inside 60 days and any expired
(app/lib/permits.ts:259); live critical-severity tickets;
open incidents with a regulatory clock running; major audit findings with no
NCR against them; repeat findings in the same area across periods.
Q2 · What needs me personally today? — a finite queue that empties, each row
a decision only Clarke can make.
app/lib/ncr.ts:433 already computes the NCR share
of it. The full queue spans all four processes: closures awaiting signature,
self-verified closures needing a countersignature, retractions requested,
sections recorded as not-reached needing acceptance, investigation conclusions
to accept, audit conformity conclusions to sign, and reports awaiting release.
Every row states what happens when Clarke acts, and the queue gets shorter.
A count that never reaches zero is ignored inside a fortnight.
Q3 · Is the record defensible? — the panel that distinguishes this product, and the one Clarke is grateful for under challenge. It reports on the quality of the evidence, not the performance of the crew: closure split by reason, failed-first-fix, self-verified disclosures, coverage vs conformity, attestation method mix, investigation method stated, audit findings correctly graded and grounded, and records with no GPS or no photo — stated, never inferred (BR-X4).
Q4 · Where is the work concentrating? — new vs closed week over week;
app/lib/ncr.ts:420; findings by category; by project, worst
first; and on the plan, because a director's state is spatial before it is
tabular (SPATIAL-MODEL).
Q5 · Is the field actually reaching me? — the most consequential finding in
the BRD is that no process completes end to end: work captured on a device stays
on the device. A dashboard that does not say so is lying by omission. Tickets
held on an undelivered device (ncrSummary().undelivered, already surfaced with
an explicit caveat line — keep it); inspections due vs submitted; last contact
per device and per inspector, because silence is the signal; and never a
delivered claim without an observed delivery (BR-X5, BO-8).
Q6 · What is coming? — permits expiring, inspections and audits scheduled, obligations due, NCR dates in the next fortnight, client reporting deadlines, and the dated environmental constraints issued at phase 2, which is where the planning phase pays the delivery phase back.
6. Access and authority
Read — the whole portfolio, every phase, unfiltered
Every register, every ticket history
(app/lib/ncr.ts:449), every inspection with its coverage
method, every investigation and audit, every report, the decision ledger, and —
once they exist — bids, budgets and mobilisation records.
One caveat needs a decision rather than a default. FM-BOUNDARY §41 is explicit that a voice recording is the person's voice and a fix sequence *is their location history through a shift*. A director who can replay any inspector's day is a different product from one who can read the record they wrote. Recommendation: transcripts and captured photos by default; raw audio and raw fix traces as a separate, logged access.
Authority — what is Clarke's alone
Live authorities are the phase-4 rows. The first four rows are parked (§0) — named, granted to nobody, and not built.
| Phase | Action | Why it is the director's |
|---|---|---|
| 1 · parked | Bid go/no-go with environmental conditions | they carry what the bid promises |
| 2 · parked | Sign the environmental budget | the contingency is their risk position |
| 2 · parked | Issue the dated schedule constraints | a window missed is not recoverable |
| 3 · parked | Mobilisation sign-off | a site producing records before it was ready produces bad ones |
| 4 | Sign a verified NCR closed (BR-CA5) | the closure asserts the work happened |
| 4 | Approve a retraction (BR-CA6) | not-a-non-conformance is the only closure that says the finding was wrong — it erases an observation made in good faith and must not be self-service |
| 4 | Countersign a self-verified closure (BR-CA7) | the rule discloses it; someone must act on the disclosure |
| 4 | Reassign owner / move a due date (BR-CA4) | overdue is measured against these |
| 4 | Accept an investigation conclusion (BR-I7) | root cause is a judgement, not a computation |
| 4 | Sign an audit conformity conclusion (BR-AU6) | it is a statement about the organisation |
| 4 | Set the audit standard and scope (BR-AU1, DP-2) | open decision, owned by this role |
| 4 | Release a report externally | it becomes evidence the moment it leaves |
| 4 | Escalate a notifiable incident | statutory clock |
Explicitly not Clarke's
Raising findings in the field, recording corrective work, and editing a sealed walk — an inspection is append-only and corrections are new events. A director who can both raise and close a ticket collapses the segregation BR-CA7 exists to disclose.
The blocker, stated plainly
No role or access model is implemented anywhere in this repository — no
role, permission or signOff concept in app/lib/; listed as a missing foundation
in CONSOLE-IA §9 and as decision DP-4 in the BRD. And
approvals have no vocabulary in any layer (FIELD-INTELLIGENCE §3). Every row
of the table above is a specification for something that must be built. Until it
is, "the director's portal" is a layout, not a permission.
Since 2026-08-03 the model itself is specified —
PORTAL-ROLES.md: four bands (inspector · reviewer ·
manager · admin, the closed enum already enforced on the read plane at
workers/esg-query/src/authz.ts:50), scope, grants, ten
separation-of-duty rules and eighteen FR-ROLE-* requirements. Clarke is
manager-banded with portfolio scope; admin deliberately holds no
compliance signature. Still unimplemented — the specification changes what has
to be built, not what has been.
7. What must never appear on it
- A single compliance score with no contributors. A number nobody can decompose is a number nobody defends.
- "Closed" as one figure. §3.1.
- A section with no finding rendered as compliant. BR-S2.
- An audit observation counted as a non-conformance, or a major finding with no ticket behind it. BR-AU4, BR-AU5.
- An inferred value of any kind — no interpolated coverage, no assumed location, no "probably delivered". BR-X4.
- A figure restated by hand. Every number derived from the same register the map and the ticket list draw from, so no two surfaces can disagree (CONSOLE-IA §5).
- AI-authored conclusions presented as record. Anything a model produced enters as classify-in, human-confirmed (FM-BOUNDARY). Vision-origin findings are tagged for calibration and carry no extra weight (FR-VIS-6/7) — that treatment should extend to any summary Rita writes for this screen.
8. What is real today
Honest split across both dimensions, so the estimate is not fiction.
By process
| Process | Device | Console |
|---|---|---|
| NCR ticketing | built | real derivation logic (~489 lines, app/lib/ncr.ts) over a hardcoded array — swap the source, the logic survives |
| Inspections | built | inspection records do not arrive; coverage and attestation method are recorded on the device and asked for nowhere in the console |
| Investigations | partial — middle stage only; TaskKind has no incident end | nothing |
| Audits | absent — no fourth + action, no esg-events-audit package | nothing |
| Status updates | partial — every actor is "device" | — |
| Notifications | absent — no inbound channel | — |
| Approvals | absent — no vocabulary | — |
By phase
| Phase | State |
|---|---|
| 1 · Bidding | absent. No vocabulary in any layer |
| 2 · Costing · planning | absent. No cost, budget or schedule-constraint concept |
| 3 · Onboarding | absent. Specified as CONSOLE-IA §6; blocked on the store decision and the role model |
| 4 · Managing | the built phase — and even here, no process completes end to end |
Cross-cutting
Permits (app/lib/permits.ts), obligations
(app/lib/obligations.ts) and the work queue
(app/lib/mywork.ts) carry real derivation. The scores,
trend, category mix and by-site tiles on /dashboard are mock literals
(app/lib/mock.ts) with no derivation behind them. Reports
are device-only. There is no persistence on the deployed host — no bindings,
/admin is a 404 by design. TODAY is pinned to 2026-07-18 in three modules:
it is a prerender anchor for a static demo, not a clock, and every "overdue" and
"expiring" figure on the deployed console is relative to that date.
The order I would build it
- The decision queue (Q2), NCR share only.
ncrsNeedingManager()already returns it; it needs a screen and a sign-off action. Highest value per hour, and it is what makes Clarke open the console daily rather than weekly. - The approval vocabulary and the role model. Everything in §6 is a button anyone can press until these land, and they are also what phase 3 needs. These two are the foundation, not a later hardening pass.
- The integrity panel (Q3) against what exists, leaving the coverage tiles honestly empty until inspection records arrive.
Phase 3, mobilisation— PARKED (§0). No onboarding activity. The store decision it was going to force is forced instead by step 1, which is also a write.- Audits. Structurally the walk that exists, with a different vocabulary throughout — do not let it be a checkbox on the inspection screen.
- Investigations' two missing ends — the incident record and the stated root-cause method. The event vocabulary is already contracted.
Phases 1–2— PARKED (§0). No bidding or costing activity. When they arrive they are a new domain, scoped separately, and they never block 1–6.
9. Open decisions
| ID | Question | Owner |
|---|---|---|
| CG-1 | Does the director see raw audio and raw GPS traces, or only transcripts and photos? | director / privacy |
| CG-2 | Is retraction (not-a-non-conformance) director-only, or may a manager retract? | director |
| CG-3 | Is the console or the device the system of record for closure? (restates BRD OD-5; urgent — the device closes tickets the console cannot see) | operations |
| CG-4 | Does a self-verified closure require a countersignature, or only disclosure? | director |
| CG-5 | Which client reporting deadlines exist, and who is the named recipient? | client / commercial |
| CG-6 | Is post-construction monitoring a fifth phase or the tail of the fourth? Obligations routinely outlive the works · not urgent — §0 | director / commercial |
| CG-7 | Does Project gain a lifecycle state, or do phases 1–3 live in a separate pre-award aggregate? This decides whether a bid can carry through to a live project without re-keying · not urgent — §0; parked with phases 1–3 | architecture |
| CG-8 | Is the obligation library a shared corpus reused across bids, or authored per project? Phase 1's value depends on the answer · not urgent — §0 | director / architecture |
| CG-9 | Widen the signed session claim to projects: string[]? Today it is project singular, so the portfolio reader cannot be minted at all. This is the live blocker on this persona (RD-1 in PORTAL-ROLES §10) | architecture |