Operator template

From task record to audit-ready report.

Pull any completed task into a human-readable proof pack — evidence status, decision log, receipts, citations — packaged for a regulator, auditor, or board meeting. One call. No manual write-up.

Task-to-pack conversion

Any completed task becomes a citable proof pack with one API call — no manual evidence gathering, no custom export scripts.

Regulator-ready format

Proof packs include source hashes, decision logs, contradiction records, and receipts in a structured, human-readable format built for external review.

Secure sharing by cite ref

Recipients inspect the full evidence chain via a stable cite ref — no access to production systems required, no sensitive data exposed.

Contract

Use complianceAuditExport before any external review.

Point the template at a completed task ID. It extracts the evidence map, decision log, contradictions, and receipts into a sealed proof pack. Set audience to board, regulator, or legal to adjust redaction and framing. The returned cite ref is permanent.

View proof card viewer

Request

curl -X POST https://api.patchr.co/v1/workflows/templates/complianceAuditExport/run \
  -H "Authorization: Bearer $PATCHR_API_TOKEN" \
  -d '{
    "request": "Export compliance audit report for task task_resolve_q3",
    "conversationId": "conv_audit_export_001",
    "metadata": {
      "taskId": "task_resolve_q3",
      "audience": "board",
      "includeRejectedPaths": true,
      "redactPii": true
    }
  }'

Response — sealed proof pack

{
  "ok": true,
  "status": "ready",
  "proofPack": {
    "packId": "pack_audit_q3",
    "status": "sealed",
    "audience": "board",
    "cite": "patchr:proofPack:pack_audit_q3#v1",
    "sections": [
      { "kind": "executiveSummary", "status": "generated" },
      { "kind": "evidenceMap",      "itemCount": 4, "allSourceBound": true },
      { "kind": "decisionLog",      "selectedPath": "cand_acme", "rejectedCount": 2 },
      { "kind": "contradictions",   "count": 1, "resolved": true },
      { "kind": "receipts",         "receiptId": "rcpt_q3_vendor" }
    ],
    "shareUrl": "https://api.patchr.co/v1/audit/proofPacks/pack_audit_q3"
  },
  "proofCard": {
    "cardId": "card_audit_q3",
    "evidenceStatus": "sourceBound",
    "confidence": 0.93,
    "recommendedRestraint": "proceedSafely",
    "cite": "patchr:proofCard:card_audit_q3#v1"
  }
}
Board

Executive summary, selected path with rationale, receipt totals, and confidence — without the full contradiction log.

Regulator

Full evidence map, source hashes, contradiction records, and decision log — PII redacted by default.

Legal

Unredacted evidence chain with cite refs, timestamp proofs, and proxy mission outcomes for contract disputes.