Environmental manager
Band manager · Scope one project, all its sites · Signs in on the
portal.
Status today: the console already draws this person's authorities as
five fully-styled buttons with no onClick
(app/my-work/page.tsx:151). Right verbs,
right rows, no writes.
1. Who this is
"Verifies closures, reviews reports, answers to the client" (BRD §4). One project, in delivery. This is the role the portal is mostly for — the point where field evidence becomes governed execution.
2. Why they open the portal
| Trigger | The question | What good looks like |
|---|---|---|
| Daily | What needs me personally? | A finite list that empties — ncrsNeedingManager() app/lib/ncr.ts:433 already returns it |
| A closure arrives | Did the work happen, and did anyone independent say so? | Verified corrective work, self-verification disclosed, evidence attached |
| A retraction is requested | Was the finding wrong, or is it inconvenient? | not-a-non-conformance requires their signature, never the raiser's (SoD-1) |
| Weekly | Is the record defensible? | Coverage vs conformity, closure by reason, failed-first-fix, attestation method mix |
| Client asks | Can I evidence it? | The signed inspection report in the pinned ONxpress format |
3. Screens
| Screen | Purpose | Today |
|---|---|---|
| Decision queue | the finite list of decisions only they can make | ⚠️ /my-work renders it; buttons are dead |
| Ticket detail + history | the full fold, raise → close (ncrHistory() app/lib/ncr.ts:449) | ✅ read |
| Project workspace | everything about one project (/projects/[id]) | ⚠️ partial |
| Integrity panel | evidence quality, not crew performance | ⚠️ derivations exist |
| Report sign + issue | ONxpress-format inspection report | ❌ |
4. Features and functionality required
| ID | Feature | What it must do | Today |
|---|---|---|---|
| F-MGR-1 | Decision queue that empties | Every row states what happens when you act, and acting makes the list shorter. A count that never reaches zero is ignored within a fortnight | ⚠️ |
| F-MGR-2 | Assign / reassign owner and due date | Appended event; overdue is measured against the committed date (BR-CA4) | ❌ |
| F-MGR-3 | Authorize mitigation | The action, the date, and the verification evidence required — the third is the one that gets skipped and it is what makes verification objective | ❌ |
| F-MGR-4 | Close a verified NCR as corrected | Refused unless corrective work has been recorded and verified (BR-CA5) — the system enforces this, it is not a convention | ❌ |
| F-MGR-5 | Approve a retraction (not-a-non-conformance) | Never available to the raiser (SoD-1); requires grounds; the finding is retracted without asserting a correction that never happened (BR-CA6) | ❌ |
| F-MGR-6 | Countersign a self-verified closure | Triggered by disclosure (BR-CA7); the countersignature is the act the disclosure exists to provoke | ❌ |
| F-MGR-7 | Reject with a reason | Rejection returns the item to its originator with the grounds attached — never a status flag (SoD-10) | ❌ |
| F-MGR-8 | Accept a not-reached section | A section the inspector could not reach is accepted or challenged, explicitly (BR-S4) | ❌ |
| F-MGR-9 | Accept an investigation conclusion and its stated method | Root cause is a judgement; the method must be stated and must not be presented as compelled by evidence when it was not (BR-I7) | ❌ |
| F-MGR-10 | Sign and issue the inspection report | Pinned ONxpress structure, tri-state per item, watermarked photos, multi-party signature (BR-S5) | ⚠️ device-side renderer exists |
| F-MGR-11 | Integrity panel | Closure by reason · failed-first-fix · self-verified count · coverage vs conformity · attestation method mix · records with no GPS or photo. Reports on the evidence, not the crew | ⚠️ derivations exist, unwired |
| F-MGR-12 | Recurrence link (repeatOf) | A decision that keeps coming back is the signal a fix belongs above the site — the field already exists on DecisionRecord (app/lib/ledger.ts:15) | ⚠️ mock only |
| F-MGR-13 | Every act appends a decision event | Person · timestamp · grounds · state before and after. Never a status flag, never an in-place edit (BR-X2) | ❌ |
5. Denied
Releasing to a client, regulator or board — that is the director's · approving their own delegation · raising and closing the same finding · anything outside their project.
6. Done means
Every one of the five buttons on /my-work does what its label says, the act
lands as an event naming a person and the grounds, and the queue is shorter
afterwards.
R. Their Rita
Every role has their own agent instance. Same person, same scope, no authority (PORTAL-ROLES §3.4).
- Prepares the decision queue — for each row, what happened, what is being asked, and what the evidence supports.
- Drafts the decision rationale the manager edits and signs. The grounds are the manager's words once accepted, and attributed to them (FR-ROLE-15).
- Surfaces the disclosure — this closure was self-verified, this correction is the second attempt.
- Cannot close, assign, retract or countersign. She writes the sentence; the manager signs it.
Never, in this instance or any other: mark coverage · sign · submit · close a ticket · assign an owner · release anything · supply a value no person or sensor produced. She reads with this person's scope claim and holds none of this person's grants.
7. Traceability
BR-CA4/CA5/CA6/CA7 · BR-S2/S4/S5 · BR-I7 · BR-X2 · FR-X-8 · FR-ROLE-6/7/8/9/10 · SoD-1/2/10 · PORTAL-ROLES §6.5