OpenTine v0.57.0: Signed promotion and eval statistics
Release notes reproduced from the pinned changelog. Source.
-
tine eval compare A B --ci paired-bootstrap|permutation [--alpha] [--seed] [--resamples]adds per-metric statistics (score,pass_rate): both means, the delta, a paired-bootstrap interval or a sign-flip permutation p-value, and the regressions. The arithmetic is exact (integer micro-units) and the result is deterministic given the seed. It prints a table, or--jsonunder the new published schematine-cli-eval-compare-1. -
--export FILEwrites the paired items the numbers come from;scripts/eval_compare_reproduce.py FILE(standard library only) reproducesstatsfrom it byte for byte.--attest KEY --out FILEsigns the result as an existingattestationwhose claim follows the documented conventionopentine.eval-compare/1. -
tine promote TARGET --baseline LABELis a signed promotion gate. A label moves only when trusted, signed eval verdicts beat the baseline under the policy's test, with a minimum n and a holdout. It also needs approvals from listed approvers, a spend under the budget cap, and anopentine.admission-policythat coverslabels/LABEL. Every refusal is named (promote.n-below-minimum,promote.ci-crosses-zero,promote.missing-approver,promote.over-budgetand others). -
A promotion emits the existing admission VSA. Its
inputAttestationslist the eval folders, approvals and signed comparisons (the frozen-safe lineage), and a signed decision attestation goes with it. -
--approvesigns an approval,--revert --reasonwrites a signed revert decision, and--canary DIRreverts automatically on a signed, significant regression.tine promote TARGET --name NAME(thepromotions/<name>ref) is unchanged. -
No new object kinds, wire formats or vector families. The claim conventions
opentine.eval-compare/1,opentine.promotion-approval/1andopentine.promotion-decision/1are documented indocs/EVALS-PROMOTION.md, and verifiers report themunchecked. A promote, revert, promote sequence verifies offline in the Python reference, the pyz and the TS verifier (tests/data/promotion_chain.json). -
tine keys lintchecks key separation for self-improving agent loops: the key-role policy.tine/key-roles.tomlnames theoptimizer,scorer,dataset,verdictand (optional)approverkeys, and the lint exits 1 when the optimizer key, or a candidate signing key given with--optimizer-key, also holds any of the others (fail:key-separation.shared) or the policy is malformed. Advisory findings (no policy, a role nobody holds) never block unless--strict.--jsonprintstine-cli-keys-lint/1.opentine._key_roles.check_separationis the same check for the promotion gate. -
tine loop stop LOOP --ed25519-key-file KEYis the kill switch: a signed attestation with theopentine.loop-stop/1claim convention (no new object kind), indexed bycoord/loops/LOOP.tine task add --loop LOOPmarks a task as a generation of LOOP; once stopped, itsclaimandheartbeatare refused with codestopped. The fence reads the stop record, never a clock, so a clock-skewed fleet is refused at once and the running generation ends within one lease period.tine loop status LOOPreports the stop and whether it verifies;--jsonprintstine-cli-loop/1. -
The promotion gate and the kill switch close the ways a loop could route around them. With a
policyrole in.tine/key-roles.toml,tine promoteneeds--policy-attestation: anopentine.promotion-policy/1attestation (tine promote promote.toml --sign-policy) over the policy and its label policy from apolicykey that is not the promoting or an optimizer key (promote.policy-unsigned). Approvals name the holder they replace and the label's sequence, so a revert retires them (promote.approval-stale). A first promotion's baseline must score one run other than the candidate, and the canary checks its baseline's run and signer like the gate. The candidate run'sopentine.looporopentine.taskmetadata names its loop, so a stopped loop is refused without--loop. -
A loop stop is also kept by a hold that
tine hold releaserefuses; the fence andpromoteread it, so deleting or rewritingcoord/loops/LOOPdoes not un-stop the loop. An optionalstopperrole reports a stop from another key asunverified(it still fences). A task whose id starts withLOOP.is fenced without--loop, and adding a task to a stopped loop is refused. Limits:--spentis declared, label state is local, and there is no remote loop stop. -
Behaviour change, storage: auto-pack now writes the current local pack format. The first time it packs a version-2 repository (what
tine initwrites) it moves the descriptor to storage version 3, so packs at rest, and each run's own pack after that, areTINELP3: read by every release since 0.13 (the 0.34 peer-compat job now reads a version-3 repository) and by the TypeScript verifier. Existing packs are not rewritten.tine repo storage gc --downgradepins"auto_pack": {"format": 1}so auto-pack never undoes it;OPENTINE_AUTO_PACK_FORMAT=1does the same per process. -
Repo.pack()keeps emittingTINEPACK3, and bundle and transfer defaults are unchanged: the published 0.34 reader refuses aTINEPACK5pack (invalid pack header), so that default cannot flip while 0.34 is a supported peer. -
tine promote --baselineruns the key-separation check on the promoting key (promote.key-separation, from the repository's.tine/key-roles.toml) and, with--loop LOOP, refuses while that loop is stopped (promote.loop-stopped).--revertis never blocked by a stop.