// TRACE
Stages
- Request / intent - Caller submits
POST /executewithsurface,action,context,idempotency_key(see reference spec). - Runtime evaluation - Policy engine evaluates the frame against the active policy version on the hot path (runtime authorization, pre-execution).
- Deterministic decision - Outcome is exactly one of
PERMIT,DENY, orSILENCEfor the same inputs and policy snapshot (deterministic authorization, decision model). - Receipt generation - A signed receipt binds the decision (
PERMIT,DENY, orSILENCE) to request context hash and policy/evaluator references (receipts). Enforcement (EXECUTED/BLOCKED) is recorded separately by the runtime.
// PROOF OF OPERATION
Proof of operation
What the system outputs, what stays deterministic, and what you can verify offline: one concrete receipt shape (illustrative, not live traffic).
Example decision receipt
{
"decision": "DENY",
"decision_code": "TG_RISK_THRESHOLD_EXCEEDED",
"surface": "spendCommit",
"policy_hash": "4d2f7a9b1e...",
"engine_version": "tg-engine@1.3.0",
"protocol_fingerprint": "TG-01",
"request_hash": "c38fa1c9ab...",
"receipt_id": "9f0c1a7e2b...",
"latency_ms": 42,
"timestamp": "2026-04-17T15:32:10Z"
}
Every TrigGuard decision produces a deterministic receipt that can be verified independently.
Deterministic output | Signed receipt | Independent verification
- Verification - Verifiers check signatures and key material via key discovery; use Verify or verification docs for operational flows.
- Execution or withhold - Runtimes record enforcement (
EXECUTED/BLOCKED) separately from the receipt decision. Decisions DENY; enforcement is BLOCKED when execution does not proceed. Fail-closed integrations withhold on non-PERMIT.
// CONTRACT
What to read next
TG-01 reference specification · Decision vs enforcement · Receipt structure · Verify center · Architecture · Pricing
Where this sits in architecture
The same boundary appears in the layer diagram: automation to evaluation to (optional receipt) to execution surfaces only on explicit PERMIT.
Related concepts
// Hub
Category pillar
Cluster hub: AI execution governance. Illustrative trace UI (not production data): Trace explorer.