The full overlay for one gated (run, block): every version, every
decision, the audit trail, and the rev CAS token.
Get the full review overlay for a gated block run. The overlay is a versioned sidecar attached to a singleDocumentation Index
Fetch the complete documentation index at: https://docs.retab.com/llms.txt
Use this file to discover all available pages before exploring further.
(run_id, block_id) pair. It records:
| Field | Notes |
|---|---|
versions[] | Every version of the gated block’s output. Sequence 0 is the model’s original; later sequences are corrective edits. |
decisions[] | Every verdict submitted against the overlay (approved / rejected). |
audit[] | The append-only audit trail — every claim, release, edit, and decision, with the acting Actor. |
rev | The overlay’s compare-and-swap token. Read it here, pass it back (as the version_stamp request parameter) on every mutating call. |
claim | The ReviewClaim currently held on the overlay ({holder, claimed_at, expires_at}), or null. |
Actor shape: {kind, id, display_name}.
rev you read here is what every mutating call (append version, submit decision, claim, release) must echo back. If it has advanced since you read it, the mutating call returns 409 — re-read and retry.Successful Response
The HIL review sidecar for one gated block run. Replaces v1 HilRunState.
Stored 1:1 in hil_overlays with _id == block_run_id.
Equals block_run_id — 1:1 with the gated run.
Pinned at gate-fire; resume runs THIS version.
extract, classifier, split, conditional Gate every run.
Ascending seq. versions[0] is always the model's seq=0 output.
1seq of the newest version (== versions[-1].seq).
x >= 0awaiting_review, approved, rejected Higher sorts first in the queue.
Whole-document CAS token. +1 on every mutating write.
x >= 0A soft lease so the UI can show 'Dana is reviewing this'. NOT a lock —
correctness rests entirely on the rev CAS. Claims expire.
Append-only. Empty while awaiting. len>1 means reopened.
seq of the version downstream consumes. Set ONLY by an 'approved' decision. None while awaiting / rejected.