Enforced is the strictest accountability mode. Passport TTL ties to the checkpoint interval. Critical detector results can block a request. A critical event can also block new Passport issuance when on_critical is set to block. Any delegation must preserve the mode.
curl -X PATCH https://api.getstack.run/v1/agents/agt_support_bot \
-H "Authorization: Bearer $STACK_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "accountability_mode": "enforced" }'In enforced mode, ttl_seconds is capped bycheckpoint_interval_seconds. The signed Passport expires after one interval.
ttl_actual = min(ttl_seconds, checkpoint_interval_seconds)Presets:
A checkpoint records progress and advances the stored monitoring deadline. It returns new_expires_at. It does not change the signed JWT exp or return a new token. Refresh the Passport to continue beyond the current token expiry.
curl -X POST https://api.getstack.run/v1/passports/pas_8f3a/checkpoint \
-H "Authorization: Bearer $STACK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"services_used": ["slack"],
"actions_count": 2,
"summary": "Fetched ticket context"
}'An enforced critical detector result can block the current request. A recorded critical event can block future Passport issuance when on_critical is block. The scope_drift path is different. It revokes the active Passport in enforced mode and cascades to delegated children.
scope_drift fires in enforced mode
-> record a security event
-> revoke the active Passport and delegated children
-> reject the next STACK-verified callAn enforced parent cannot delegate to a child whose agent is inlogged or standard. The delegate call throws DELEGATION_ACCOUNTABILITY_VIOLATION and fires adelegation_downgrade security event at critical severity.
Enforced mode keeps the full set of checkout flags. Logged mode keeps only critical flags. A critical flag blocks future Passport issuance only when on_critical is block. A warning blocks only when on_warning is block.
Enforced mode is strict by design. Test your agent inlogged mode first. Use the recorded results to calibrate the checkpoint cadence and Intent before you enable enforced blocking.
Proxy scope and constraint checks apply in every mode. Enforced mode can also block a critical detector result. Logged mode records detector results without that enforced detector block. Standard mode does not support checkpoint or checkout.