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/agent-collaboration.md2,097 words

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 boundary — ask their human sponsor to approve the disclosure.

Written 2026-08-03 · Claude Opus 5 (Claude Code), from Pete's direction: *"the agents are able to interrogate the institutional memory as well as liaise with other colleague agents to collaborate and get information. They would be able to do things on their own but be able to ask their human sponsor to approve dissemination of info."*

Status: none of this is built. The pieces that exist are named in §7.


1. The one rule everything else follows from

An agent-to-agent answer may contain only what the REQUESTING PRINCIPAL could have read themselves. Anything beyond that is a disclosure, and a disclosure is the RESPONDING agent's sponsor's decision — never the agent's.

This is not a restriction bolted onto collaboration; it is what makes collaboration safe enough to be worth having. Without it, agent liaison is a lateral channel that routes around every scope claim, separation-of-duty rule and release decision in PORTAL-ROLES.md — and it does so invisibly, in prose, at machine speed.

Sponsor = the human the agent belongs to. Every instance has exactly one.


2. Interrogating the institutional memory

The memory is the decision ledger, the registers, the evidence and the conversations — *intent → observation → evidence → decision → reason → outcome*, with recurrence.

IDRequirementToday
F-AGT-1A memory query carries the principal's signed claims, and the memory tier derives scope from the verified claims, never from the request body✅ already the discipline — workers/esg-memory/src/index.ts verifies a gateway assertion and derives the site from verified allowed-site claims
F-AGT-2An agent cannot ask memory a question its principal could not ask. No service identity, no elevated retrieval role (FR-ROLE-19)❌
F-AGT-3Every answer carries its sources. A memory answer that cannot cite the records it rests on is not an answer — it is a composition, and it is refused⚠️ provenance chips exist on device (apps/esg-field/screens/Rita.tsx)
F-AGT-4An agent's output never enters memory as a record. Drafts enter as drafts; only a human-confirmed record is indexed (classify-in, FM-BOUNDARY)⚠️ the discipline is stated; the path is unbuilt
F-AGT-5Recall is per-identity (FR-ROLE-20). app/lib/conversations.ts is one shared history today — a per-user agent over a shared memory is the leak, not the fix❌
F-AGT-6Aggregation counts as disclosure. An answer that reveals a protected fact by implication has disclosed it, even quoting nothing. Judgement cases go to the sponsor (§4), they are not resolved by the agent❌

3. Liaison — agent to agent

An agent may ask a colleague's agent for information. That request is evaluated against the original requester's identity and scope, and answered under §1.

3.1 The three outcomes

OutcomeWhenWhat happens
AnswerThe requesting principal could have read this themselvesAnswered directly, with sources. No approval needed — this is discovery and synthesis, not disclosure
Ask the sponsorThe answer exists but sits outside the requester's scopeThe responding agent raises a disclosure request to its own sponsor (§4). Nothing is sent until the sponsor decides
Refuse without revealingThe request is one the requester may not even know the shape ofA uniform refusal that does not disclose that the record exists — the same discipline the read plane already applies with its detail-free 401 (workers/esg-query/src/authz.ts)

3.2 The rules that keep it honest

IDRequirementWhy it exists
F-AGT-7An agent acts as "agent of X", never as XAn agent that can impersonate its sponsor makes every signature in the system arguable
F-AGT-8Transitive requests are evaluated against the ORIGINAL requester, not the last hopOtherwise scope is laundered through a chain: the client rep's agent asks the supervisor's, which asks the manager's, and the answer walks back out. Every hop carries the original identity or the request is refused
F-AGT-9Depth and fan-out are bounded, and the bound is statedUnbounded agent-to-agent traffic is an amplifier: one question becomes fifty. A silent cap reads as "we asked everyone" when it did not (the no-silent-caps rule)
F-AGT-10External principals' agents may not initiate liaison inwardThe client rep's and external auditor's instances query their own released corpus only. An external agent that can question internal agents is a probing channel with a friendly interface (SoD-6)
F-AGT-11An answer received from another agent is hearsay — labelled as such, non-authoritative, carrying the source refsIt may inform a draft. It may never become a record, a figure in a report, or the basis of a closure
F-AGT-12The exchange is itself a record, visible in both principals' trailsTwo people's agents discussed a finding. Both people are entitled to know that happened, and an auditor is entitled to see it
F-AGT-13FM-BOUNDARY still binds every hopInternal liaison is not an exemption. If any hop reaches an external model, Class N (identity, coordinates, evidence bytes, client names) and Class M (our methodology) do not cross — not as content, and not smuggled into the shape of a prompt

4. Sponsored disclosure — the approval loop

This is the mechanism Pete described, stated as a contract.

When an answer would exceed the requester's scope, the responding agent does not refuse and does not answer. It asks its sponsor, and the ask must state, in one screen:

  1. Who is asking — the person, not the agent.
  2. On whose behalf, if the request is transitive (F-AGT-8).
  3. What they want, in their words.
  4. What would be revealed — the actual content, not a summary of it.
  5. Why they say they need it.
  6. What the sponsor's own record shows — has this been released before, to whom, and under what conditions.
IDRequirementToday
F-AGT-14The sponsor approves or refuses, and a refusal carries a reason returned to the requester (SoD-10)❌
F-AGT-15Approval is a release decision with an author — the same decision as any other dissemination (FR-ROLE-14). The sponsor is named in the record; the agent never is❌
F-AGT-16Silence is refusal. A request that is not answered expires unapproved. No timeout ever grants a disclosure❌
F-AGT-17Standing approvals are scoped, expiring, revocable and listed"Approve once" quietly becoming a permanent channel is the failure mode. A sponsor must be able to see every standing approval they hold and end any of them in one action
F-AGT-18An agent may never approve its own disclosure, however trivial the contentThe moment an agent judges triviality, the boundary is the agent's judgement rather than the sponsor's
F-AGT-19Approval covers a disclosure, not a relationshipApproving one answer to one person does not open a channel between two agents
F-AGT-20The requester sees the outcome, never the deliberationA refusal reason is owed. The sponsor's internal reasoning is not

5. Autonomy — what an agent may do unbidden

Agents work on their own initiative. The line is not how much they do; it is whether what they do changes the record or leaves the tenant.

May, without being asked

  • Watch for thresholds and dates crossing, and tell their sponsor.
  • Prepare — assemble a pack, a queue order, a draft response, a briefing.
  • Ask another agent for information (§3), and wait.
  • Research the memory within scope (§2).
  • Notice recurrence and say so.
  • Schedule and re-run their own preparatory work.

May never, in any instance

  • Exercise a governance verb: sign · close · assign · authorize · verify · retract · escalate · release (FR-ROLE-15, and the §4 matrix in PORTAL-ROLES).
  • Accept their own draft (F-AGT-4).
  • Approve a disclosure (F-AGT-18).
  • Act as their sponsor rather than for them (F-AGT-7).
  • Send anything outside the tenant.
  • Mark coverage, supply a value no person or sensor produced, or present a composition as a record (FR-UX-9, BR-U4, BR-X4).
IDRequirementToday
F-AGT-21Autonomous work is visible to its sponsor — what it did, when, and what it asked of whom. An agent working invisibly is an unaudited actor❌
F-AGT-22A sponsor can stop their agent, immediately and completely❌
F-AGT-23An agent's initiative does not survive its principal's revocation. Access ends the same instant the person's does (FR-ROLE-17)❌

6. Where this bites hardest, per role

RoleThe specific risk their instance creates
Client representativeThe sharpest case in the system. Their agent must query released records only and may not initiate liaison inward (F-AGT-10). A shared memory or an inward channel leaks an unreleased finding in one sentence
External auditorTheir instance must expire with the engagement window (F-EAU-1). An agent that outlives its principal's access is the access
Platform administratorTheir agent reads no record content, because their principal may not. An admin's agent is the shortest path to an admin reading everything
Site supervisorDelivery-side. Their agent asking the manager's agent "what is the score for my site" is exactly the disclosure the OVERSIGHT band exists to withhold
Environmental managerReceives the most disclosure requests. If the ask is not one screen with the actual content on it, they will approve without reading — and F-AGT-15 will have laundered it as their decision
Environmental directorBroadest scope, so their agent is the most useful and the most dangerous. Raw audio and raw fix traces stay behind a separate, logged grant (F-DIR-10, CG-1)

7. What exists today

Nothing of the protocol. What exists is the ground it can be built on:

  • Scope-verified memory retrieval — workers/esg-memory/src/index.ts: not publicly reachable, gateway assertion cryptographically verified, site derived from verified claims and never from the request body. This is already F-AGT-1, and it is the most important piece.
  • A detail-free denial on the read plane (workers/esg-query/src/authz.ts) — the shape F-AGT-6's "refuse without revealing" needs.
  • Provenance on every answer, and "I have no basis" over a plausible composition (apps/esg-field/screens/Rita.tsx).
  • A CI guard keeping models out of the proof chain (scripts/guard-no-llm-in-proof-chain.mjs).
  • A classification policy for anything reaching an external model (FM-BOUNDARY §4).

Missing, and load-bearing: identity (every actor is "device"), per-identity memory (conversations.ts is one shared history), the approval loop, and the liaison protocol itself.


8. Open decisions

IDQuestionOwner
AD-1Is liaison agent→agent directly, or agent→broker→agent? A broker is the only place F-AGT-8 (original-requester evaluation), F-AGT-9 (bounds) and F-AGT-12 (both trails) can be enforced once rather than in every agentarchitecture
AD-2Do standing approvals (F-AGT-17) exist at all in v1? They are the feature most likely to be asked for and the one most likely to become a permanent channeldirector
AD-3Does a sponsor's approval bind their deputy when they are away, or does delegation (SoD-9) exclude disclosure approval?director
AD-4Is agent-to-agent traffic retained for the same period as compliance records, or shorter? It is evidence of what was known, whenoperations / legal
AD-5Where an agent's answer influenced a decision, does the decision record cite the exchange? Recommendation: yes — otherwise the reason a manager gives may have a source nobody can findarchitecture

Traceability

FR-ROLE-14/15/17/19/20 · FR-UX-9 · FR-SEC-1/5 · BR-U4 · BR-X4 · SoD-6/7/9/10 · FM-BOUNDARY §4 · PORTAL-ROLES §3.4