Operator template

Every decision, every path not taken — preserved.

Log the options you considered, the evidence behind each, and the reason you picked one over the others. Portable. Citable. Compatible with external decision ledgers so the record travels with the decision.

Full option set

Every candidate considered is logged with its evidence trail — not just the one you chose. Reviewers see the complete picture.

Rejected path rationale

Pruned options carry the reason — policy violation, evidence mismatch, or risk flag — so auditors understand the full decision context without a separate write-up.

Ledger-compatible output

Decision records export a portable cite ref compatible with Decionis-style audit ledgers and external governance systems that track decision chains across time.

Contract

Use operatorDecisionLog when you need a decision that survives a review.

The template logs every candidate with its evidence, runs Resolve to surface contradictions in each path, and closes with a proof card carrying a citeRef compatible with external decision ledger systems. Rejected paths are preserved — not discarded.

Decionis interoperability

The citeRef in the proof card follows the patchr:decisionLog:{id}#v1 format, which maps to a portable ledger entry importable by Decionis and compatible governance systems.

Request

curl -X POST https://api.patchr.co/v1/workflows/templates/operatorDecisionLog/run \
  -H "Authorization: Bearer $PATCHR_API_TOKEN" \
  -d '{
    "request": "Log vendor selection decision for Q3 supply chain",
    "conversationId": "conv_decision_q3",
    "metadata": {
      "question": "Which vendor should we onboard for Q3?",
      "candidates": ["cand_acme", "cand_global", "cand_regional"],
      "selectedCandidateId": "cand_acme"
    }
  }'

Response — with rejected paths and citeRef

{
  "ok": true,
  "status": "ready",
  "results": {
    "operatorDecisionLog": {
      "decisionId": "decision_q3_vendor_001",
      "question": "Which vendor should we onboard for Q3?",
      "selectedOption": {
        "candidateId": "cand_acme",
        "name": "Acme Supply Co.",
        "rationale": "Policy-compliant pricing, valid certification, no contradictions"
      },
      "rejectedPaths": [
        {
          "candidateId": "cand_global",
          "name": "GlobalParts Ltd.",
          "reason": "priceVariance",
          "evidence": "att_price_list_global"
        },
        {
          "candidateId": "cand_regional",
          "name": "RegionalWholesale",
          "reason": "certificationExpired",
          "evidence": "att_cert_regional"
        }
      ]
    }
  },
  "proofCard": {
    "cardId": "card_decision_q3",
    "evidenceStatus": "sourceBound",
    "confidence": 0.91,
    "citeRef": "patchr:decisionLog:decision_q3_vendor_001#v1",
    "openQuestions": [],
    "recommendedRestraint": "proceedSafely"
  }
}

Proof-to-decision portability

A decision log that travels with the outcome.

The citeRef on every decision proof card is a stable, dereferenceable identifier. External systems — audit ledgers, governance platforms, or compliance archives — can import the full decision record including rejected paths, evidence hashes, and confidence without re-running the workflow.

Portable cite ref format

# Proof card cite ref
patchr:proofCard:card_decision_q3#v1

# Decision log ledger ref
patchr:decisionLog:decision_q3_vendor_001#v1

# Dereference via API
curl https://api.patchr.co/v1/audit/proofCards/card_decision_q3

# Import into external ledger
{ "ledgerRef": "patchr:decisionLog:...", "format": "patchr/v1" }