{
  "sampleType": "illustrative-planning-example",
  "exportMetadata": {
    "exportedAt": "2026-04-20T14:09:02Z",
    "exportFormat": "jsonl-flattened",
    "exportScope": "single-run",
    "redactionLevel": "illustrative",
    "notice": "Illustrative sample. Real exports redact PII, apply tenant-scoped signing, and ship with a separate tamper-evidence manifest. Not a legal representation of any specific customer deployment."
  },
  "run": {
    "runId": "run_illustrative_01JZX8K4W7",
    "flowId": "flow_refund_resolution",
    "flowVersion": "v12",
    "tenantId": "tenant_illustrative",
    "startedAt": "2026-04-20T14:03:00.000Z",
    "endedAt": "2026-04-20T14:09:02.000Z",
    "outcome": "approved-and-sent",
    "deploymentMode": "self-hosted",
    "customerRef": "customer_hash_A14-8820",
    "channel": "help-desk",
    "language": "en"
  },
  "governance": {
    "guardrailsRun": 23,
    "guardrailsBlocked": 2,
    "humanReviewRequired": true,
    "humanReviewer": "reviewer_hash_MAYA",
    "humanReviewDurationSeconds": 42,
    "policyVersion": "refund-policy-v4.2",
    "confidenceScore": 0.78,
    "confidenceGateThreshold": 0.85
  },
  "events": [
    {
      "timestamp": "2026-04-20T14:03:12Z",
      "stage": "context_load",
      "actor": "system",
      "action": "Loaded 14 events from help desk and CRM",
      "verdict": "ok",
      "latencyMs": 2134,
      "tags": ["context"]
    },
    {
      "timestamp": "2026-04-20T14:03:14Z",
      "stage": "pii_screen",
      "actor": "ai_draft",
      "action": "Screened draft against PII-v3.2 ruleset",
      "verdict": "stopped",
      "reason": "card_number_detected_in_draft",
      "redactionApplied": true,
      "tags": ["pii", "block"]
    },
    {
      "timestamp": "2026-04-20T14:03:18Z",
      "stage": "pii_screen_retry",
      "actor": "ai_draft",
      "action": "Re-screened redacted draft",
      "verdict": "ok",
      "tags": ["pii"]
    },
    {
      "timestamp": "2026-04-20T14:03:22Z",
      "stage": "policy_check",
      "actor": "ai_draft",
      "action": "Matched refund-policy v4.2 within 30-day window",
      "verdict": "ok",
      "policyMatched": "refund-policy-v4.2:within-30-days",
      "tags": ["policy"]
    },
    {
      "timestamp": "2026-04-20T14:03:31Z",
      "stage": "confidence_gate",
      "actor": "ai_draft",
      "action": "Confidence below 0.85 gate threshold",
      "verdict": "gate",
      "confidence": 0.78,
      "threshold": 0.85,
      "routedTo": "reviewer_hash_MAYA",
      "tags": ["approval", "human-review-required"]
    },
    {
      "timestamp": "2026-04-20T14:04:13Z",
      "stage": "human_approval",
      "actor": "reviewer_hash_MAYA",
      "action": "Approved rewritten draft",
      "verdict": "approved",
      "durationSeconds": 42,
      "reviewerRole": "team-lead",
      "decisionNotes": "Draft tone adjusted; amount within personal authority.",
      "tags": ["approval", "human"]
    },
    {
      "timestamp": "2026-04-20T14:04:47Z",
      "stage": "reply_dispatch",
      "actor": "help_desk_api",
      "action": "Dispatched approved reply via help-desk API",
      "verdict": "sent",
      "externalTicketId": "ticket_4881",
      "tags": ["dispatch"]
    },
    {
      "timestamp": "2026-04-20T14:04:48Z",
      "stage": "audit_log_write",
      "actor": "audit_service",
      "action": "Durable audit entry #3481 written",
      "verdict": "logged",
      "auditEntryId": "audit_entry_3481",
      "storageClass": "worm-equivalent",
      "tags": ["audit"]
    },
    {
      "timestamp": "2026-04-20T14:08:19Z",
      "stage": "related_policy_check",
      "actor": "ai_draft",
      "action": "Policy check on related escalation",
      "verdict": "stopped",
      "reason": "tier-2-policy-mismatch",
      "tags": ["policy", "block"]
    },
    {
      "timestamp": "2026-04-20T14:08:22Z",
      "stage": "routing_decision",
      "actor": "reviewer_hash_ETHAN",
      "action": "Routed to Tier-2 support queue",
      "verdict": "escalated",
      "routedTo": "queue_tier2_refunds",
      "tags": ["routing", "escalation"]
    }
  ],
  "tamperEvidence": {
    "note": "Illustrative sample. Production exports include per-event signatures and a chained-hash manifest; omitted here for readability.",
    "signatureAlgorithmReference": "omitted from this public planning example"
  },
  "disclaimer": "This file is a synthetic sample intended to illustrate the shape of a PrivateFlow audit export for a single flow run. All identifiers and timestamps are illustrative. Real deployments redact or route sensitive fields per tenant policy, and this sample does not constitute evidence of any specific customer deployment, certification, or regulatory attestation."
}
