CALIBER
Quickstart

Cookbook 11 · Govern

Release Signoff Factory

Record an accountable go / no-go: server-scored criteria, owned waivers, an immutable signoff. A record, not a deployment.

GovernCore20–40 min
What you build. You create 20 release candidates from a dataset and check the server's weighted score, status and blockers against figures worked out independently (14 ready, 6 blocked). On a few of them you record admin waivers, generate an Allure-compatible report snapshot and sign off GO and NO-GO, then see that a signed candidate is final. Releases is a preview, record-only page: signing off writes a decision and deploys or rolls back nothing. No model is involved, so nothing is simulated.
Surfaces: Releases Audit Log
What you learn
  • Create candidates with weighted criteria and read the server-computed weighted_score, status and blockers; ready means score at or above required_score and no unwaived blocker
  • Record an admin waiver (existing criterion key, reason of 8 or more characters, future expiry): it clears a blocker but never a low score
  • Generate Allure after the last change, because a report made earlier is a stale snapshot with a different SHA-256
  • Sign off GO or NO-GO with a rationale; a signed candidate cannot be evaluated, waived or signed again (409)
  • See that a signed GO moves no alias and adds nothing to the timeline; Promote on the prompt is the real release
  • Read who created, waived, reported and signed in the audit log

Implementation flow

flowchart TD
  A["New candidate: criteria, scores, evidence"] --> B{"Server evaluates"}
  B -->|"blocker unmet"| W["Admin waiver: reason, expiry"]
  W --> B
  B -->|"score under the bar"| N["Sign off NO-GO"]
  B -->|"ready"| R["Generate Allure snapshot"]
  R --> G["Sign off GO: needs planned action and rollback target"]
  G --> F["signed_go: final, 409 on any change"]
  N --> F2["signed_no_go: final"]
  F --> X["Deploys nothing: Promote is a separate act"]
  F --> AU["Audit Log: who created, waived, signed"]

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. Prompt lifecycle › Releases creates · Releases page
    Before you start: start CALIBER with CALIBER_FEATURE_RELEASE_CANDIDATES=true; the section is off by default. Open Releases and scroll to Release signoff factory. Signing off here is record-only: it deploys nothing.
    You'll see: A violet note: Signing off a release candidate records a decision. It does not deploy or roll back anything.
    Screen snapshot
    caliber · Prompt lifecycle › Releases
    Releases
    Read / inspect this surface — no form to fill.
  2. Prompt lifecycle › Releases › New candidate creates · release candidate (blocked) release-candidates.jsonl ↓
    Click New candidate and enter row RC16 from release-candidates.jsonl: the artifact, versions and required score, with its criteria and evidence arrays pasted into the two JSON boxes. The form records the planned action (promote_workflow to prod) for you.
    Fill in
    Artifact typeWorkflow
    Artifact ID or registry nameWF-claims-intake
    Candidate version5
    Rollback version4
    Required score0.70
    Click Create and evaluate candidate
    You'll see: The card reads blocked, 72%, 4 criteria · 1 evidence · 1 blockers · rollback 4 and, in red, Blocked by rollback_rehearsed: scored 0.5, needs 1; Sign off GO is disabled. (The other 19 rows go in the same way: 14 read ready, 6 blocked.)
    Screen snapshot
    caliber · Prompt lifecycle › Releases › New candidate
    New candidate
    Create and evaluate candidate
  3. Prompt lifecycle › Releases › candidate
    As an admin, enter the criterion key the card named and a reason of at least 8 characters, with the compensating control; optionally pick a Waiver expiry date (the blocker returns after it), and click Record waiver. A waiver clears a blocker; it does not change the score.
    Fill in
    Waiver criterion keyrollback_rehearsed
    Waiver reasonRollback rehearsal booked for the 25th; on-call holds the previous image. Owner: release-eng.
    Click Record waiver
    You'll see: The card reads ready, 0 blockers, still 72%, and an amber line names the waiver: who granted it, its expiry and the reason.
    Screen snapshot
    caliber · Prompt lifecycle › Releases › candidate
    candidate
    Record waiver
  4. Prompt lifecycle › Releases › candidate
    Click Re-evaluate. It recomputes from what is stored. There is no way to edit a candidate: to change a score, create a new candidate.
    Click Re-evaluate
    You'll see: Still ready, still 72%.
    Screen snapshot
    caliber · Prompt lifecycle › Releases › candidate
    candidate
    Re-evaluate
  5. Prompt lifecycle › Releases › candidate
    Click Generate Allure. The report is a snapshot of the candidate now: generate the one you intend to keep after the last waiver.
    Click Generate Allure
    You'll see: Allure report RRJ-… generated and retained. Note the id.
    Screen snapshot
    caliber · Prompt lifecycle › Releases › candidate
    candidate
    Generate Allure
  6. Prompt lifecycle › Releases › candidate
    Type a Signoff rationale (two characters keep Sign off GO disabled; at least 8 enable it) and click Sign off GO.
    Click Sign off GO
    You'll see: The badge reads signed_go and the rationale box and both sign-off buttons are gone: a signed candidate is final.
    Screen snapshot
    caliber · Prompt lifecycle › Releases › candidate
    candidate
    Sign off GO
  7. Prompt lifecycle › Releases › New candidate creates · release candidate (no-go)
    Create row RC05 the same way (Prompt, pricing-quote, version 9, rollback 8, required score 0.85). Its weighted score is high, but human review is below its blocking threshold. Sign off GO stays disabled; with a rationale, click Sign off NO-GO.
    Click Sign off NO-GO
    You'll see: 95%, blocked, then signed_no_go: a refusal is a decision too.
    Screen snapshot
    caliber · Prompt lifecycle › Releases › New candidate
    New candidate
    Sign off NO-GO
  8. Prompt lifecycle › Releases › New candidate
    Create row RC17 (workflow, required score 0.85) and waive both of its blockers, regression_vs_baseline and human_review, one after the other.
    Fill in
    Waiver criterion keyregression_vs_baseline, then human_review
    Click Record waiver
    You'll see: 0 blockers but still blocked: No blocking criterion is unmet, but the weighted score 66% is under the required 85%. A waiver cannot raise a score. Sign off GO stays disabled.
    Screen snapshot
    caliber · Prompt lifecycle › Releases › New candidate
    New candidate
    Record waiver
  9. Prompt lifecycle › Releases › New candidate
    A candidate can never be edited. When RC16's rehearsal is done, create it again for the next package version: Candidate version 6, Rollback version 5, and rollback_rehearsed scored 1 in the criteria box.
    Fill in
    Candidate version6
    Rollback version5
    Click Create and evaluate candidate
    You'll see: The new card reads ready, 0 blockers, no waiver and a higher percentage than v5's 72%; the two cards side by side are the comparison.
    Screen snapshot
    caliber · Prompt lifecycle › Releases › New candidate
    New candidate
    Create and evaluate candidate
  10. Prompt lifecycle › Prompts, then Releases
    Create the prompt payments-assistant (New prompt, Write / paste; version 1 is live) and save a version 2 with the card's Edit. On Releases create a candidate for it from RC01's row (type Prompt, version 2, rollback 1), type a rationale and Sign off GO. Then, on Prompts, the card's Versions, press Make live on v2.
    Click Make live
    You'll see: After the signoff and a reload the live board still reads v1 and the timeline has no event for the prompt; after Make live it reads v2 and the timeline records the promotion.
    Screen snapshot
    caliber · Prompt lifecycle › Prompts, then Releases
    PromptsPrompts, then Releases
    Make live
  11. Operate › Audit Log
    Type create_release_candidate, then waive_release_blocker, generate_release_allure_report and signoff_release_candidate in Action.
    Click Action
    You'll see: The newest row of each is by admin: the audit log names who created, waived, reported and signed.
    Screen snapshot
    caliber · Operate › Audit Log
    Audit Log
    Action
  12. Prompt lifecycle › Releases
    Reload the page. Then, as lab11-viewer (no scopes), open Releases.
    You'll see: Both candidates still read signed_go and signed_no_go. The viewer has no New candidate or Generate Allure button and does not see the admin's candidates (a candidate outside a workspace is private to its creator).
    Screen snapshot
    caliber · Prompt lifecycle › Releases
    Releases
    Read / inspect this surface — no form to fill.

Assets (copy-paste)

The exact files this cookbook uses — copy each into the matching field. Source: docs-site/cookbooks/11-release-readiness-factory/assets/.

assets/dataset/release-candidates.jsonl
{"id": "RC01", "name": "refund-policy-answer v12", "artifact_type": "prompt", "artifact_ref": "refund-policy-answer", "version_ref": "12", "rollback_version": "11", "required_score": 0.9, "criteria": [{"key": "eval_pass_rate", "title": "Evaluation pass rate on the sealed test set", "weight": 40, "score": 0.96, "threshold": 0.9, "blocking": true, "evidence_refs": ["EVR-960"]}, {"key": "regression_vs_baseline", "title": "No regression against the pinned baseline", "weight": 25, "score": 0.98, "threshold": 0.95, "blocking": true, "evidence_refs": []}, {"key": "human_review", "title": "Expert review of the changed cases", "weight": 20, "score": 1.0, "threshold": 1.0, "blocking": true, "evidence_refs": []}, {"key": "latency_p95", "title": "p95 latency within budget", "weight": 15, "score": 0.88, "threshold": 0.7, "blocking": false, "evidence_refs": []}], "evidence": [{"evidence_type": "evaluation_run", "evidence_ref": "EVR-rc01", "label": "Sealed evaluation for refund-policy-answer v12"}], "note": "clean prompt release: every gate passes", "expect": {"weighted_score": 0.961, "status": "ready", "blockers": []}}
{"id": "RC02", "name": "support-triage workflow v7", "artifact_type": "workflow", "artifact_ref": "WF-support-triage", "version_ref": "7", "rollback_version": "6", "required_score": 0.9, "criteria": [{"key": "scenario_pass_rate", "title": "Scenario pass rate (run monitor)", "weight": 35, "score": 0.97, "threshold": 0.9, "blocking": true, "evidence_refs": []}, {"key": "approval_gate", "title": "Approval gate held in a rehearsal", "weight": 25, "score": 1.0, "threshold": 1.0, "blocking": true, "evidence_refs": []}, {"key": "rollback_rehearsed", "title": "Rollback to the previous version rehearsed", "weight": 25, "score": 1.0, "threshold": 1.0, "blocking": true, "evidence_refs": []}, {"key": "trace_coverage", "title": "Every node emits a trace", "weight": 15, "score": 0.92, "threshold": 0.8, "blocking": false, "evidence_refs": []}], "evidence": [{"evidence_type": "evaluation_run", "evidence_ref": "EVR-rc02", "label": "Sealed evaluation for support-triage workflow v7"}], "note": "clean workflow release", "expect": {"weighted_score": 0.9775, "status": "ready", "blockers": []}}
{"id": "RC03", "name": "invoice-extractor skill 1.4", "artifact_type": "skill", "artifact_ref": "invoice-extractor", "version_ref": "1.4", "rollback_version": "1.3", "required_score": 0.85, "criteria": [{"key": "trigger_precision", "title": "Trigger precision on the labelled set", "weight": 40, "score": 0.95, "threshold": 0.92, "blocking": true, "evidence_refs": []}, {"key": "trigger_recall", "title": "Trigger recall on the labelled set", "weight": 35, "score": 0.91, "threshold": 0.85, "blocking": true, "evidence_refs": []}, {"key": "package_valid", "title": "Skill package validates and installs", "weight": 25, "score": 1.0, "threshold": 1.0, "blocking": true, "evidence_refs": []}], "evidence": [{"evidence_type": "evaluation_run", "evidence_ref": "EVR-rc03", "label": "Sealed evaluation for invoice-extractor skill 1.4"}], "note": "clean skill release", "expect": {"weighted_score": 0.9485, "status": "ready", "blockers": []}}
{"id": "RC04", "name": "hr-policies knowledge base v5", "artifact_type": "knowledge_base", "artifact_ref": "KB-hr-policies", "version_ref": "5", "rollback_version": "4", "required_score": 0.85, "criteria": [{"key": "retrieval_hit_rate", "title": "Retrieval hit rate@5", "weight": 45, "score": 0.92, "threshold": 0.85, "blocking": true, "evidence_refs": []}, {"key": "groundedness", "title": "Answers cite retrieved passages", "weight": 35, "score": 0.95, "threshold": 0.9, "blocking": true, "evidence_refs": []}, {"key": "freshness", "title": "Sources reviewed in the last 90 days", "weight": 20, "score": 0.7, "threshold": 0.6, "blocking": false, "evidence_refs": []}], "evidence": [{"evidence_type": "evaluation_run", "evidence_ref": "EVR-rc04", "label": "Sealed evaluation for hr-policies knowledge base v5"}], "note": "clean knowledge base release", "expect": {"weighted_score": 0.8865, "status": "ready", "blockers": []}}
{"id": "RC05", "name": "pricing-quote prompt v9", "artifact_type": "prompt", "artifact_ref": "pricing-quote", "version_ref": "9", "rollback_version": "8", "required_score": 0.85, "criteria": [{"key": "eval_pass_rate", "title": "Evaluation pass rate on the sealed test set", "weight": 40, "score": 0.97, "threshold": 0.9, "blocking": true, "evidence_refs": ["EVR-970"]}, {"key": "regression_vs_baseline", "title": "No regression against the pinned baseline", "weight": 25, "score": 0.97, "threshold": 0.95, "blocking": true, "evidence_refs": []}, {"key": "human_review", "title": "Expert review of the changed cases", "weight": 20, "score": 0.9, "threshold": 1.0, "blocking": true, "evidence_refs": []}, {"key": "latency_p95", "title": "p95 latency within budget", "weight": 15, "score": 0.9, "threshold": 0.7, "blocking": false, "evidence_refs": []}], "evidence": [{"evidence_type": "evaluation_run", "evidence_ref": "EVR-rc05", "label": "Sealed evaluation for pricing-quote prompt v9"}], "note": "the weighted score (0.9455) is well above the 0.85 bar, but human review reached only 0.90 against a 1.00 blocking threshold: a blocker blocks regardless of the score", "expect": {"weighted_score": 0.9455, "status": "blocked", "blockers": ["human_review"]}}
{"id": "RC06", "name": "escalation-router prompt v4", "artifact_type": "prompt", "artifact_ref": "escalation-router", "version_ref": "4", "rollback_version": "3", "required_score": 0.93, "criteria": [{"key": "eval_pass_rate", "title": "Evaluation pass rate on the sealed test set", "weight": 40, "score": 0.93, "threshold": 0.9, "blocking": true, "evidence_refs": ["EVR-930"]}, {"key": "regression_vs_baseline", "title": "No regression against the pinned baseline", "weight": 25, "score": 0.92, "threshold": 0.9, "blocking": true, "evidence_refs": []}, {"key": "human_review", "title": "Expert review of the changed cases", "weight": 20, "score": 1.0, "threshold": 1.0, "blocking": true, "evidence_refs": []}, {"key": "latency_p95", "title": "p95 latency within budget", "weight": 15, "score": 0.8, "threshold": 0.7, "blocking": false, "evidence_refs": []}], "evidence": [{"evidence_type": "evaluation_run", "evidence_ref": "EVR-rc06", "label": "Sealed evaluation for escalation-router prompt v4"}], "note": "every blocking gate met, but the weighted score (0.922) is just under the 0.93 that was required: blocked with no blocker to waive", "expect": {"weighted_score": 0.922, "status": "blocked", "blockers": []}}
{"id": "RC07", "name": "onboarding-guide prompt v3", "artifact_type": "prompt", "artifact_ref": "onboarding-guide", "version_ref": "3", "rollback_version": "2", "required_score": 0.9, "criteria": [{"key": "eval_pass_rate", "title": "Evaluation pass rate on the sealed test set", "weight": 40, "score": 0.62, "threshold": 0.9, "blocking": true, "evidence_refs": ["EVR-620"]}, {"key": "regression_vs_baseline", "title": "No regression against the pinned baseline", "weight": 25, "score": 0.7, "threshold": 0.95, "blocking": true, "evidence_refs": []}, {"key": "human_review", "title": "Expert review of the changed cases", "weight": 20, "score": 0.5, "threshold": 1.0, "blocking": true, "evidence_refs": []}, {"key": "latency_p95", "title": "p95 latency within budget", "weight": 15, "score": 0.6, "threshold": 0.7, "blocking": false, "evidence_refs": []}], "evidence": [{"evidence_type": "evaluation_run", "evidence_ref": "EVR-rc07", "label": "Sealed evaluation for onboarding-guide prompt v3"}], "note": "weak on every dimension: blocked by score and by three blockers", "expect": {"weighted_score": 0.613, "status": "blocked", "blockers": ["eval_pass_rate", "regression_vs_baseline", "human_review"]}}
{"id": "RC08", "name": "returns-workflow v3", "artifact_type": "workflow", "artifact_ref": "WF-returns", "version_ref": "3", "rollback_version": "2", "required_score": 0.935, "criteria": [{"key": "scenario_pass_rate", "title": "Scenario pass rate (run monitor)", "weight": 35, "score": 0.9, "threshold": 0.9, "blocking": true, "evidence_refs": []}, {"key": "approval_gate", "title": "Approval gate held in a rehearsal", "weight": 25, "score": 1.0, "threshold": 1.0, "blocking": true, "evidence_refs": []}, {"key": "rollback_rehearsed", "title": "Rollback to the previous version rehearsed", "weight": 25, "score": 1.0, "threshold": 1.0, "blocking": true, "evidence_refs": []}, {"key": "trace_coverage", "title": "Every node emits a trace", "weight": 15, "score": 0.8, "threshold": 0.8, "blocking": false, "evidence_refs": []}], "evidence": [{"evidence_type": "evaluation_run", "evidence_ref": "EVR-rc08", "label": "Sealed evaluation for returns-workflow v3"}], "note": "scores exactly at their thresholds are not blockers, and a weighted score exactly equal to the required score is ready (the comparison is >=)", "expect": {"weighted_score": 0.935, "status": "ready", "blockers": []}}
{"id": "RC09", "name": "address-normaliser skill 2.0", "artifact_type": "skill", "artifact_ref": "address-normaliser", "version_ref": "2.0", "rollback_version": "1.9", "required_score": 0.8, "criteria": [{"key": "trigger_precision", "title": "Trigger precision on the labelled set", "weight": 40, "score": 0.92, "threshold": 0.92, "blocking": true, "evidence_refs": []}, {"key": "trigger_recall", "title": "Trigger recall on the labelled set", "weight": 35, "score": 0.85, "threshold": 0.85, "blocking": true, "evidence_refs": []}, {"key": "package_valid", "title": "Skill package validates and installs", "weight": 25, "score": 1.0, "threshold": 1.0, "blocking": true, "evidence_refs": []}], "evidence": [{"evidence_type": "evaluation_run", "evidence_ref": "EVR-rc09", "label": "Sealed evaluation for address-normaliser skill 2.0"}], "note": "precision and recall exactly at threshold: ready", "expect": {"weighted_score": 0.9155, "status": "ready", "blockers": []}}
{"id": "RC10", "name": "kb-freshness drill", "artifact_type": "knowledge_base", "artifact_ref": "KB-product-docs", "version_ref": "8", "rollback_version": "7", "required_score": 0.75, "criteria": [{"key": "retrieval_hit_rate", "title": "Retrieval hit rate@5", "weight": 45, "score": 0.9, "threshold": 0.85, "blocking": true, "evidence_refs": []}, {"key": "groundedness", "title": "Answers cite retrieved passages", "weight": 35, "score": 0.93, "threshold": 0.9, "blocking": true, "evidence_refs": []}, {"key": "freshness", "title": "Sources reviewed in the last 90 days", "weight": 20, "score": 0.2, "threshold": 0.6, "blocking": false, "evidence_refs": []}], "evidence": [{"evidence_type": "evaluation_run", "evidence_ref": "EVR-rc10", "label": "Sealed evaluation for kb-freshness drill"}], "note": "a non-blocking criterion far below its threshold (freshness 0.20 against 0.60) lowers the score but is not a blocker: ready at 0.7705", "expect": {"weighted_score": 0.7705, "status": "ready", "blockers": []}}
{"id": "RC11", "name": "single-criterion prompt", "artifact_type": "prompt", "artifact_ref": "faq-answer", "version_ref": "2", "rollback_version": "1", "required_score": 0.8, "criteria": [{"key": "eval_pass_rate", "title": "Evaluation pass rate", "weight": 1, "score": 0.84, "threshold": 0.8, "blocking": true, "evidence_refs": []}], "evidence": [{"evidence_type": "evaluation_run", "evidence_ref": "EVR-rc11", "label": "Sealed evaluation for single-criterion prompt"}], "note": "one criterion, weight 1", "expect": {"weighted_score": 0.84, "status": "ready", "blockers": []}}
{"id": "RC12", "name": "uneven weights prompt", "artifact_type": "prompt", "artifact_ref": "tone-rewriter", "version_ref": "6", "rollback_version": "5", "required_score": 0.8, "criteria": [{"key": "eval_pass_rate", "title": "Evaluation pass rate", "weight": 90, "score": 0.88, "threshold": 0.8, "blocking": true, "evidence_refs": []}, {"key": "style_review", "title": "Style review", "weight": 10, "score": 0.2, "threshold": 0.5, "blocking": false, "evidence_refs": []}], "evidence": [{"evidence_type": "eval
… truncated — open the file in the repo for the full content.

Evaluation & quality gates

Quality gateTarget
Candidates created20, server score, status and blockers equal the dataset (14 ready, 6 blocked)
WaiverRC16 becomes ready at the same 0.721; RC17 stays blocked (0.6575) after both blockers are waived
GOrefused (409) on a blocked candidate and on one with no planned action or rollback target
After signoffevaluate, waive and a second signoff are refused (409)
Signoff deploys nothingprompt aliases, live board and timeline unchanged; only Promote moves the alias
Developer notes & gotchas
  • Feature flags. CALIBER_FEATURE_RELEASE_CANDIDATES=true shows the Release signoff factory section on Releases and enables /releases/candidates (404 feature_disabled without it); CALIBER_FEATURE_COOKBOOKS=true is only for the gallery. Both are preview areas, off by default. Start with scripts/cookbook-env.sh up lab11 --flags release_candidates,cookbooks.
  • Scopes. Creating, re-evaluating and reporting need the operator scope (CALIBER_OPERATOR_USERS); waivers and signoffs are admin-only (403 otherwise).
  • The scores are typed in. CALIBER does not read them from Evaluations, Review Queues or traces, and does not open evidence references or check that the artifact exists; a candidate for a missing artifact is accepted.
  • The report is a snapshot. Allure-compatible JSON with a SHA-256 of the candidate at that moment, not a CI test report; generate the one you keep after the last waiver.
  • A waiver does not raise a score, and there is no route that edits a candidate: create a new candidate for new evidence. The UI form has no expiry field, so write the expiry into the reason (the API takes expires_at).
  • Candidates cannot be deleted. Those created outside a workspace are private to their creator, so a viewer does not see the admin's list.
  • Run it with sdk/caliber-sdk/examples/cookbooks/cookbook_11_release_signoff_factory.py or the Playwright spec caliber/caliber-ui/e2e/cookbooks/labs/11-release-signoff.spec.ts.

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.