{"kind":"policy-check","profileVersion":"policy-check/v1","rulesVersion":"pc-1.0","service":"policy-check","summary":"Evaluate a proposed commercial action against a CALLER-SUPPLIED policy set. Deterministic rule engine; no LLM; no network; no registry lookup.","decisions":["allow","deny","needs_approval"],"requiredActionFields":["type","amount_usd","at"],"supportedActionTypes":["payment","purchase","api_call","delegation"],"supportedRules":{"max_amount_usd":"number — the action's amount_usd must be <= it","allowed_counterparties":"list — the action's counterparty must be on the list (case-insensitive)","blocked_jurisdictions":"list — the action's jurisdiction must NOT be on the list","allowed_hours_utc":"list of ints 0-23 — the action's UTC hour must be in the list","require_approval_above_usd":"number — an amount above this yields needs_approval","allowed_resources":"list — the action's resource must match; an exact string or a trailing-'*' wildcard","max_calls_per_hour":"number — enforced from the CALLER's own supplied state (calls_in_last_hour or calls_today). This engine has no call history and never pretends to."},"failClosed":{"missingActionField":"deny with reason insufficient_action_detail","unsupportedRule":"reported as unsupported_rule and forces needs_approval — a rule the buyer wrote is never silently ignored","unenforceableRule":"reported as not_evaluated and forces needs_approval"},"output":{"decision":"allow | deny | needs_approval","reason":"why the decision was reached (null for allow)","violations":"list of {rule, detail, observed, limit}","evaluated":"list of {rule, result} where result is pass | fail | not_evaluated | unsupported_rule | needs_approval","policy_sha256":"SHA-256 over the canonical policy as supplied","output_sha256":"SHA-256 over the canonical evidenceCore","signature":"Ed25519 over the canonical evidenceCore","key_id":"short identifier of the signing key"},"disclaimer":"Deterministic policy evaluation over a DOCUMENTED rule vocabulary. Fail-closed: a missing required action field is a DENY, and an unsupported rule key is reported as unsupported_rule and forces needs_approval. The engine never resolves a counterparty, never consults a registry and never invents a limit."}