CALIBER
Quickstart

Cookbook 22 · Govern

Governed Evidence Review

Take one synthetic missing-document request through approval, one verified effect, complete evidence and non-mutating replay.

GovernBeta30–60 min
What you build. An evidence-review path that stops for a person. An editor admits a run for the pinned Harborlight case; the scripted model proposes request_missing_document; a distinct approver approves the exact proposal; an operator resumes; the trusted document-request connector commits once and verifies the receipt by read-back. The final export joins the run, proposal, approval, decision, effect and downstream request, and offline replay reports matched without another mutation. The case is synthetic and the scenario never makes a credit decision.
Surfaces: Workflows Observability Audit Log Cookbooks
What you learn
  • Read the Beta scope and reference-profile contract before installing a governed effect recipe
  • Inspect a run parked at waiting_approval and the exact proposal arguments: case MORT-2026-000184, pay_statement, expected version 1
  • See the initiating editor refused with 403 project_role_required, then approve as a distinct project user with the platform approver scope
  • Verify the downstream contract: first commit 201, same-key replay 200, stale If-Match 412, and exactly one mutation
  • Trace causal links across the run, approval, policy decision, receipt and downstream request; export the evidence and replay it without an outbound write
  • Check project isolation and fail-closed unknown/unbound verifier paths rather than treating a missing authority as success

Implementation flow

flowchart LR
  A["Editor admits evidence review"] --> B["waiting_approval"]
  B --> C["Proposal: request_missing_document"]
  C --> D["Editor: 403 project_role_required"]
  C --> E["Distinct approver approves"]
  E --> F["Operator resumes"]
  F --> G["Connector: 201 + verified receipt"]
  G --> H["Case v1 -> v2; one request"]
  H --> I["Export evidence"]
  I --> J["Replay: matched, no mutation"]

Step-by-step UI only

Each step shows the exact navigation path, the fields to fill, the button to click, and a snapshot of the CALIBER screen you'll be on.

  1. Open the Beta scope and reference-profile links before installing the recipe. Confirm that the case is synthetic and the connector is supported only in the configured reference shape.
    Screen snapshot
    caliber · CALIBER
    CALIBER
    Read / inspect this surface — no form to fill.
  2. Install the governed evidence-review recipe and start it as the project-A editor. Inspect the run until it is waiting for approval with one request_missing_document proposal.
    Screen snapshot
    caliber · CALIBER
    CALIBER
    Read / inspect this surface — no form to fill.
  3. As the initiating editor, try to approve the protected proposal. Confirm the project_role_required refusal and that the downstream ledger is still empty.
    Screen snapshot
    caliber · CALIBER
    CALIBER
    Read / inspect this surface — no form to fill.
  4. Sign in as the distinct approver, inspect the exact proposal diff, approve it, then resume the run as the configured operator.
    Screen snapshot
    caliber · CALIBER
    CALIBER
    Read / inspect this surface — no form to fill.
  5. Confirm completed and accepted, then read the receipt and Harborlight case. The case is version 2 and the downstream ledger contains exactly one document request.
    Screen snapshot
    caliber · CALIBER
    CALIBER
    Read / inspect this surface — no form to fill.
  6. Open the run evidence and audit trail. Confirm the run, proposal, approval, decision, receipt and downstream request ids are linked with no missing or unrecorded links.
    Screen snapshot
    caliber · CALIBER
    CALIBER
    Read / inspect this surface — no form to fill.
  7. Download the exact evidence export and replay it offline. Confirm matched and verify that the downstream mutation count remains one.
    Screen snapshot
    caliber · CALIBER
    CALIBER
    Read / inspect this surface — no form to fill.
  8. Switch to project B and confirm the run is not readable. Submit a stale If-Match request only to demonstrate the 412 refusal; refresh the case before a legitimate retry.
    Screen snapshot
    caliber · CALIBER
    CALIBER
    Read / inspect this surface — no form to fill.

Evaluation & quality gates

Quality gateTarget
Admissionproject-A editor starts the run and it pauses at waiting_approval before a downstream call
Authorizationinitiating editor receives 403 project_role_required; distinct project approver approves the exact proposal
Effectone committed proposal and one receipt; Harborlight case advances to version 2; downstream ledger records one mutation
Downstream contractfirst POST 201, same-key replay 200, stale If-Match 412; no duplicate or stale mutation
Isolationproject-B and unknown run reads are scoped 404; missing authoritative verifier refuses before proposal creation
Evidence and replayaccepted run, complete causal links, stable export ids, replay matched and non-mutating
Developer notes & gotchas
  • Profile. Start from docs/start/beta-scope.md and the reference profile. The disposable scenario binds the existing D1 downstream and uses the B15.1 provenance-pinned fixture; it does not create a parallel service.
  • Two people plus an operator. The initiating editor cannot approve. The approver must be distinct and hold the platform approval scope; the worker lease and resume path remain operator-controlled.
  • Refusals are evidence. project_role_required, scoped 404, no_authoritative_verifier, connector_unbound and stale 412 are expected outcomes, not flaky setup failures.
  • Deterministic CI. The model, clock and downstream are scripted/local. The fixture is synthetic and not for credit decisions; ordinary tests never call a live provider or customer system.
  • Run it. scripts/cookbook-run-all.sh --labs 22 runs the registered API path when the dependent V01 and installed SDK artifacts are present; the browser journey is supplied by B15.3b.

CALIBER : Contextual Adaptive Lifecycle for Intelligent Build, Evaluation, and Refinement — Cookbooks — every recipe is UI-implementable on the shipped platform. Source + assets under docs-site/cookbooks/<nn>-…/. Regenerate with python3 docs-site/cookbooks/training/build.py.