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/roles/platform-administrator.md796 words

Platform administrator

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

Status today: /admin is reachable on loopback with no identity at all (app/lib/admin-access.ts:42) — the file describes itself as an interim boundary pending exactly this.


1. Who this is

Ours. They keep the platform running and provably tamper-evident.

admin is not the top of a ladder — it is a different ladder. It carries platform authority and no compliance signature (SoD-5). The most privileged compliance role is manager. Otherwise the person who can rotate keys can also close every ticket, and no audit trail means anything.

2. Why they open the portal

TriggerThe questionWhat good looks like
New starterWho are they, and what may they see?An identity with organisation and employment relation; band and scope granted separately, by a manager
Leaver / ended engagementIs their access gone?Immediate revocation — and every signature they made still stands
A device is lostCan it still submit?Device binding revoked; the records it already produced are untouched
Something looks wrongIs the chain intact?Quarantine, chain-integrity and export-trail surfaces (workers/esg-query/src/authz.ts:362)
RetentionWhat must go, and what must never go?Retention and soft-delete guards, already scripted but not yet wired into CI

3. Screens

ScreenPurposeToday
Identitiescreate, grant, revoke❌
Devicesbind, revoke, last contact❌
Integrityquarantine · chain-integrity · location-history⚠️ policy exists, no read path (divergent shapes 501)
Platform trailevery admin act, separate from the decision ledger❌

4. Features and functionality required

IDFeatureWhat it must doToday
F-ADM-1Identity provisioningCreate an identity with organisation and employmentRelation; no band, no scope by default — it can reach nothing until granted❌
F-ADM-2Grant is not an admin actThe band and scope are granted by a manager, as an event naming the grantor. An admin granting a compliance band needs a second admin (SoD-5, RD-6)❌
F-ADM-3Device bindingSign-in binds a person to a device for the session; the device attests where and when, the credential attests who (FR-ROLE-16)❌
F-ADM-4Revocation, immediate and non-retroactive on the recordAccess ends now; past signatures stand (FR-ROLE-17). This is what stops "we removed the auditor" from meaning "the audit lost its author"❌
F-ADM-5Expiry for external identitiesEngagement windows close themselves; renewal is a new decision❌
F-ADM-6Integrity surfacesQuarantine · chain-integrity · location-history — the AUDIT band, manager/admin only⚠️ 501, divergent shape
F-ADM-7Platform trail, separate from the decision ledgerEvery provisioning act, with the grantor. It must not be possible to mistake an admin action for a compliance decision❌
F-ADM-8Retention and soft-delete guards in CIguard-no-llm-in-proof-chain · soft-delete · retention scripts exist; no CI job runs them yet⚠️
F-ADM-9Replace the loopback boundaryadminAccessAllowed() is an interim host check with a documented spoofing risk. Real authn/authz retires it⚠️

5. Denied

Signing, verifying, closing, assigning, approving or releasing anything in the compliance record (SoD-5) · granting themselves a compliance band without a second admin · reading record content where a scope claim would not admit them.

6. Done means

Every person in the system was provisioned by a named admin and granted by a named manager; leavers lose access the same day; and no admin action can be mistaken for a compliance decision.

R. Their Rita

Every role has their own agent instance. Same person, same scope, no authority (PORTAL-ROLES §3.4).

  • Answers platform questions — provisioning state, device last-contact, chain integrity.
  • Reads no record content, because her principal may not (§5). An admin's agent is the shortest path to an admin reading everything, and it is closed deliberately.
  • Cannot grant, revoke or bind. Those are acts with a grantor's name on them (F-ADM-2).

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

FR-SEC-4/5 · FR-ROLE-1/5/11/16/17 · SoD-5 · RD-6 · PORTAL-ROLES §6.10