Skip to content

Commit 9728a89

Browse files
committed
Replay agent harness terminal receipt documentation
1 parent cfe1783 commit 9728a89

1 file changed

Lines changed: 53 additions & 0 deletions

File tree

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Agent Harness Terminal Receipt Surface
2+
3+
Status: v0.1 planning baseline
4+
Owner plane: TurtleTerm governed operator surface
5+
Consumers: SourceOS spec, AgentPlane, Policy Fabric, Memory Mesh, SCOPE-D, Delivery Excellence
6+
7+
## Purpose
8+
9+
This document defines the TurtleTerm receipt boundary for agent-harness operator work. The surface is intended to make sessions visible, bounded, policy-referenced, and replayable without assigning independent authority to agents or cognition layers.
10+
11+
## Boundary
12+
13+
TurtleTerm owns the local operator experience, wrapper receipts, approval receipts, pane references, local gateway evidence, and replayable workflow records.
14+
15+
TurtleTerm does not own AgentPlane graph execution, Policy Fabric authority decisions, Agent Machine provider lifecycle, Delivery Excellence scoreboards, Memory Mesh artifact storage, or SCOPE-D exercise execution.
16+
17+
## Receipt classes
18+
19+
TerminalSessionReceipt records a governed session with session id, actor ref, workspace ref, profile refs, policy admission ref, AgentPlane refs, timestamps, pane refs when applicable, and environment profile hash.
20+
21+
CommandReceipt records an execution event with event id, session ref, event hash, working directory, environment hash, artifact pointer refs, exit code, duration, policy decision ref, side-effect class, and replay eligibility.
22+
23+
MutationReceipt records an observed change with change id, execution ref, change class, target scope, run mode, policy decision ref, human-control event ref when required, before and after artifact refs when available, rollback ref, and denied operation refs.
24+
25+
OperatorApprovalReceipt records a typed human decision with approval id, actor ref, subject ref, decision, reason, timestamp, policy gate ref, AgentPlane ref, and Delivery Excellence human-control event ref.
26+
27+
## Integration notes
28+
29+
AgentPlane should cite TurtleTerm receipts in run, replay, session, evidence, diagnosis, and promotion surfaces.
30+
31+
Large outputs, transcripts, generated files, diffs, and local artifacts should be represented through Memory Mesh ArtifactPointer refs when large, sensitive, replay-critical, or customer-proof relevant.
32+
33+
Delivery Excellence should consume derived readouts such as success or failure, policy-blocked counts, change posture, approval latency, replay eligibility, operator intervention count, workflow cycle time, and customer-safe proof of work. It should not consume raw local transcripts unless policy permits it.
34+
35+
SCOPE-D should validate the governed-workflow boundary and provide checks that the policy reference model is preserved.
36+
37+
## Non-negotiables
38+
39+
- TurtleTerm must not grant ambient authority to agents.
40+
- Agent Machine owns machine-local provider lifecycle.
41+
- Policy Fabric decides controlled action authority.
42+
- Outputs may require redaction and artifact pointers.
43+
- Host-level changes must be explicit, policy-referenced, and rollback-aware.
44+
- Human approvals are typed control events, not freeform notes.
45+
- Delivery Excellence receives metrics and readouts, not uncontrolled raw logs.
46+
47+
## Near-term implementation path
48+
49+
1. Align wrapper receipts with SourceOS execution receipt boundaries.
50+
2. Add examples for session, execution, change, and approval receipts.
51+
3. Add a verifier requiring policy refs for controlled action classes.
52+
4. Add Delivery Excellence projection examples.
53+
5. Add SCOPE-D boundary checks for the governed operator workflow.

0 commit comments

Comments
 (0)