Repository navigation
Open
Labels
Description
Depends on: #2566 (audit records)
Problem
An audit record says which agent made a call and for whom, but not what the agent was doing. An investigator has no way to get from the record to the conversation that led to the call.
Implements
- audit.md: Redaction and audit-store protection: a reference, never transcript content
- implementation.md: Session ownership and isolation: opening the transcript
Scope
- Decision records carry a reference to the session and to the point in it.
- An authorized user opens the transcript at that point, under the existing session access rules.
- The design addition also states that the transcript is context, not evidence. The audit record stays the protected part (Send audit records to storage mecak8s cannot change #2846).
Decide before starting
- What reference does audit.md add, and in which field? For example, the session plus a turn or tool-call ID. This is a design gap.
- Records already carry
mecatl.operation_id, a one-way hash of the root session, the acting session, and the tool-call ID. A transcript point can be found by recomputing it for each tool call in the session the registration record names, but not read from it. Decide whether the reference is that hash, or the host session and tool-call ID recorded directly. - Check whether the transcript keeps the model's reasoning, since investigators will look for it there.
- Records already carry
- Who may open another user's transcript from a record? The design gives access only to the session owner. An administrator or investigator role is not in the design.
- How long is a transcript kept once audit records reference it? The design says nothing about transcript retention yet; the decision goes into audit.md "Retention". Two cases need an answer:
- A scheduled run's session is kept only for result delivery today, so the conversation behind an unattended call can be gone while its records remain.
- A user can delete their own session. Options: the transcript is kept out of the user's view until the retention period ends; deletion is refused while records reference it; or the deletion is recorded and the reference then leads to that record.
Done when
- A decision record leads to the matching point in the transcript for the users the decision above allows.
- Everyone else gets nothing, with negative tests as in "Session ownership and isolation".
- No record contains transcript content.
- The decided transcript retention rule is in audit.md "Retention".
- A reference whose transcript is gone, for a reason the rule allows, leads to a record saying why, not to nothing.
Activity
ChrisJBurns commentedon Nov 18, 2026
Design decision for this ticket: What reference to the session transcript do audit records carry, and in which field? Who may open another user's transcript from a record (the design gives access only to the session owner)? What does a reference mean once the transcript is deleted but the record is retained?
Where it goes: audit.md: Redaction and audit-store protection.
Decide it when this ticket is picked up, and record the answer as a small design edit (reviewed by the design's author) before or with the ticket's first PR.