Configuration
Arclasp configuration is split between:- the Python SDK runtime;
- organization-side governance state in the Arclasp backend/dashboard.
Minimal hosted configuration
ARCLASP_API_KEY; your application reads it and passes the value.
Hosted Arclasp is the default backend. For local SDK/backend development,
explicitly pass backend_url="http://localhost:8000".
Environment tag
environment is attached to Chain context and can be used to distinguish workloads such as production, staging, and development.
Backend timeout
max_retries and retry_backoff_base_ms are supported transport settings. They do not make governed execution fail open; after transient retries are exhausted, backend unavailability still raises.
Approval timeout and fallback
default_approval_timeout_hours controls the SDK’s approval wait configuration.
fallback_approvers participates in the approval flow.
The current product does not expose a general per-Chain approver-routing DSL through Chain(metadata=...).
Financial thresholds
Single-action threshold
A fresh organization currently uses a default single-action financial approval threshold of $5,000 for supported top-level amount fields. The legacy init argument:Per-Chain cumulative threshold
Use:Agent risk
Use the dashboard/backend Agent Registry for enforced registered-agent risk behavior. The source-supported rule to rely on is that a registered Critical agent requires approval for governed actions. The oldhigh_risk_agents=[...] init argument is compatibility-only for the deprecated local policy path and should not be documented as an active backend control.
External-domain configuration
The oldexternal_domains_allowlist=[...] init argument remains in the call signature for compatibility.
Do not present it as the current customer control for the backend policy’s domain behavior. The current public product does not expose a mature general rule/allowlist editor through the Python init call.
Backend unavailability always fails closed
The current public SDK does not supportfail_mode or fail_modes init() keywords.
There is no fail-open init() setting that authorizes governed execution when the backend is unavailable.
Current behavior is:
Payload sanitization
The SDK sanitizes governed payloads before submission using field-name and value-prefix patterns plus string-length truncation. Example:prail_.
Treat SDK sanitization as defense in depth.
Do not promise that every value across every product surface can never be persisted unsanitized. Avoid sending secrets in governed payloads in the first place.
Local fast path
The current public SDK does not support anenable_local_fast_path init() keyword.
The current public governance path is backend-authoritative.
Do not rely on local evaluation to bypass backend latency or availability.
Offline buffer
offline_buffer_max_events remains a compatibility parameter.
It does not create a supported “execute now, govern later” path.
Governed execution does not silently continue when Arclasp is unavailable.
Chain metadata
Policy records
The dashboard can create named Policy records with modes:enforceshadowdisabled