Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 635 Bytes

File metadata and controls

19 lines (14 loc) · 635 Bytes

Lease violation

An agent calls ctx.authorize("net.fetch", "https://evil.example/") against a lease that does not grant that target; the runtime emits job.error with code LEASE_SUBSET_VIOLATION. Demonstrates the lease validator path and the failure surface in arcp._errors.

Source: ../../examples/lease_violation/.

uv run python -m examples.lease_violation.server &
uv run python -m examples.lease_violation.client

See also