Skip to main content

RELEASE

Constant RELEASE 

Source
pub const RELEASE: &str = "\
A protocol verb for workers, the integrator and authored baselines; not run by hand while
`vitrify run` builds the SDD.
Reads:   the mainline head (throwaway .vitrify/tx-<pid>-<n> worktree); the unit's claim
Writes:  a published mainline commit: status Ready, holder and expiry cleared, claim_seq kept;
         a release event; the ledger
Prints:  one JSON line: {unit, op, holder, claim_seq, claim_expires, commit, mainline}
Exit status: 0 published · 1 git failure · 2 usage error · 4 unit missing, or not Claimed
         by this holder · 5 lost the publish race after 3 attempts
Config:  mainline (VITRIFY_MAINLINE), after --mainline
Examples:
  vitrify release --unit U-003 --holder w1 --sdd specs/calc
Procedure: vitrify brief build-unit · vitrify brief integrate";