Review and release flows
The practical path from candidate evidence to human review, explicit apply, release, rollback, and operator recovery.
Disabled by default: release-candidate signoff and Workspace releases. Review, Apply, rollback, the live board, the release timeline and release operations are core and always on. The release-candidate signoff (record-only) and Workspace releases (experimental) are off by default; enable with
CALIBER_FEATURE_RELEASE_CANDIDATES=trueand restart CALIBER. See Release-candidate signoff and Workspace releases below and Feature flags.
Use this page when you need the practical path from candidate evidence to human review, explicit apply, release, or rollback.
At a glance
| Question | Start here | Deep reference |
|---|---|---|
| How does evidence turn into an apply decision? | follow the explicit review path | The refinement loop |
| Where do jobs and apply targets show up? | inspect the release surfaces | REST API HTTP reference |
| What if release or apply is stuck? | use the on-call path | Operations runbook |
| What if runtime and offline trust disagree? | compare the trust surfaces | Trust and governance |
1. What this path is for
CALIBER deliberately separates candidate generation, review, and live apply. That is true for prompts, workflows, and other governed assets even though each asset family has different semantics.
What Apply does
Apply is POST /jobs/{job_id}/apply (SDK jobs.apply(job_id), and the Apply button in the page). It is the explicit human decision, and these are its rules:
- Who may. The caller needs
caliber.operatorand, for a job whose target belongs to a project,owneroreditor. A person outside the project gets 404 and a member with another role gets 403, before anything is claimed. Inside the claim the role is checked again, so a grant revoked while the request is in flight is refused (403,reason_codeapply_permission_revoked). The approval record Apply creates (already approved, naming the caller) is an audit and rollback anchor, not a vote. - A second person, when the rule is on. With
CALIBER_APPLY_REQUIRE_DISTINCT_APPROVER=true(the reference profile requires it) the account that requested the job cannot apply it (403,reason_codeapply_self_approval), and a job with no recorded requester is refused (apply_creator_unknown). With the setting off, the development default, one person can request and apply. - The exact candidate. Apply promotes only the candidate that cleared the evaluation gate. A candidate edited since, or a job with no recorded evaluation digest, is refused (
409,apply_candidate_changedorapply_candidate_unverified): send the job back for another pass with request changes, or recalibrate. Each refusal named above writes anapply_refusedaudit row and changes nothing; lock contention (503,apply_busy: a lock timeout, a deadlock this Apply lost, or a busy SQLite file) decided nothing, is not audited and can be retried. The reason codes, recovery steps and audit rows are in Apply: refusal catalogue, audit and recovery. - Which jobs. Only a job at
candidate_ready. Any other status answers 409. - Intent first. The claim (
candidate_readytoapplying) and the approval record are committed before the promotion runs. If the promotion fails before any release operation exists, the job returns tocandidate_readyand the approval record is withdrawn, so you can retry. If a release operation does exist, the job staysapplyinguntil the release reconciler settles it. - Simulated releases say so. The response carries
simulated, which istruewhen the promoter is the fake one, and the audit rows record it. - Sending it back.
POST /jobs/{job_id}/request-changesreturns acandidate_readyjob to the candidate stage with your notes. It needsowner,editororreviewer.
Release-candidate signoff and Workspace releases
These two areas are off by default. Enable them with CALIBER_FEATURE_RELEASE_CANDIDATES=true and restart CALIBER; turning the flag on means you accept their alpha behavior, below.
| Area | Routes it gates | What it does in this build |
|---|---|---|
| Release-candidate signoff (record-only) | /releases/candidates* and /releases/report-jobs*, and the candidate section of the Releases page | Assembles criteria, evidence and waivers, computes a readiness score on the server, and records a go or no-go signoff with a rationale. A signoff records a decision and deploys or rolls back nothing. A waiver's expires_at is honoured every time the candidate is evaluated (a lapsed waiver stops clearing its blocker), and a signed candidate cannot be evaluated, waived or signed again. Scores and evidence references are entered by people: CALIBER does not read them from Evaluations or check that the artifact exists |
| Workspace releases (experimental) | /projects/{id}/releases* (and caliberctl workspace release) | The default-off owner worker executes a complete release-local pinned evaluation when explicitly enabled; incomplete plans fail closed. Per-example evidence, expired-attempt recovery, and matching-evidence enforcement for governed decisions/break-glass are implemented; broader production apply remains a later Beta slice |
While the flag is off, a call to any of those routes answers HTTP 404 with reason_code: feature_disabled, and the Releases page shows only the live board, the timeline and release operations. Those are core and not behind the flag, and neither are GET /releases/live, GET /releases/timeline and GET /releases/operations. GET /capabilities reports the flag as features.release_candidates, so a client can check it first. The path that governs a release end to end is Apply and rollback, above.
2. Common tasks
| You want to... | Read this next |
|---|---|
| inspect whether a candidate is ready for review | Evaluation and test sets |
| understand the per-asset live-control boundary | The refinement loop |
| recover from a stuck release, lost job, or rollback | Operations runbook |
3. Common failure modes
| Symptom | First thing to check |
|---|---|
| Evidence exists, but nobody can apply it | review and apply are separate from evaluation |
| A release is stuck in an uncertain state | use the runbook instead of retrying ad hoc |
| A rollback path is unclear | inspect the asset-specific control path first |
A release operation returns 409 with reason: adapter_unavailable | Register the named adapter, or enable the CALIBER_* setting named by disabled_by, then retry; no operation lock or external effect was created |
The Releases page has no candidate section, or /releases/candidates answers 404 with reason_code: feature_disabled | CALIBER_FEATURE_RELEASE_CANDIDATES is off (the default); set it to true and restart |