What this example demonstrates
- Creating an Agent also creates immutable AgentVersion 1.
- A configuration-changing Agent update creates the next immutable AgentVersion automatically. There is no separate draft, publish, release, or deployment lifecycle.
- A preview starts a new Session against the intended AgentVersion. An existing Session keeps the version and Environment frozen at its own admission.
- PermissionAssignments constrain who may read, edit, or use the Agent. Actor identity comes from authenticated server context rather than a caller-selected attribution field, and Audit records structural control-plane decisions.
- The browser talks only to the application backend. Workspace API credentials never enter browser code.
Trust, retention, and support boundaries
Treat cross-user admission as an isolation failure, not as an ordinary denied request. A denial means the trust system worked. Admission into another user’s Session means the application or platform boundary failed and cleanup must not hide it. Standard retention may preserve permitted Session content under the Workspace policy. ZDR does not durably retain execution content. A preview can stream only while an eligible Runner holds live custody, and later content replay is unavailable. Budget enforcement reads authoritative Usage rather than traces. Check capability status before depending on a particular harness, model, or execution topology.Pinned source boundary
The optionalcheckfu-examples source keeps its Checkfu client behind an application-owned platform port. This excerpt is retained byte-for-byte for the repository drift check. It demonstrates the application’s isolation response, not a second Checkfu error ontology.
path=examples/agent-workbench/server/src/platform.ts