Keep context relevant and inspectable.
Retain source provenance and visible gaps. Retrieved text cannot grant itself permission.
An agent can propose a refund. A reliable harness must establish whether it is eligible, whether it is permitted, and whether it actually happened.
Explore one request“Refund order ord_881 for INR 4,200.”
The application resolves the caller and tenant before collecting order and policy evidence. Untrusted instructions in source material cannot grant new authority.
Useful context starts with sources you can identify and access.
Select a boundary to inspect it, or follow the run in order.
0 example write attemptsThis interactive story models the documented refund contract. It does not execute the reference compiler, call a model, evaluate live policy, or connect to a payment provider. Your implementation supplies and tests those controls.
ContextOS gives teams a common contract for context, decisions, effects and evidence. The implementing runtime enforces it; the observed outcome earns acceptance.
Retain source provenance and visible gaps. Retrieved text cannot grant itself permission.
Check the caller, tenant, actual arguments and current approval at the effect boundary.
Connect accepted outcomes to tool results, controls and replay references. A transcript alone does not establish success.
Define domain-specific acceptance criteria and authority. Then preserve the connection between the request, permission and observed result.
RequestRefund this order.
AuthorityA scoped caller and current approval.
Accepted resultThe provider confirms the permitted refund.
RequestRestore this service.
AuthorityAn approved action on the affected environment.
Accepted resultService health meets the recovery criteria.
RequestFix this defect.
AuthorityChanges stay within the granted repository scope.
Accepted resultThe change passes the declared checks and review.
The specification, schemas and compiler reference are open. Start with accepted outcomes and prohibited effects in the runtime you already use.
Adopt the contractAssess an existing harness