OpenTine v0.59.0: Measuring-stick integrity
Release notes reproduced from the pinned changelog. Source.
.tine/protected.tomlnames the protected surfaces of a self-improving agent loop (graders, tests, holdout manifests, sandbox policy, scorer code) as globs with pinned sha256 digests. The list counts only when pinned by anopentine.integrity.protected/1attestation from apolicy-role key that is not an optimizer key (0.57 key roles), so a loop cannot edit the list:tine integrity pinwrites current digests,tine integrity signpins the bytes.tine integrity check RUNjudges the run's tool calls (file tools and shell commands) and every pinned digest and exits 1 onfail:protected-surface-modified(a hash fact),fail:protected-list-unsignedorfail:protected-list-missing.advisory:test-deletedandadvisory:holdout-readare reported and block only with--strict(owner decision D12).--jsonprints the new published schematine-cli-integrity-1.--keyfiles a signed taint for a failing run, an existing attestation under the claim conventionopentine.integrity.taint.tine promoterefuses a tainted candidate, or one that trips afail:against the protected list at promotion time, withpromote.score-tainted.tine lineage checkandwhyreportlineage.score-taintedfor a variant whose mutation run is tainted.- The TS verifier has the same check (
checkProtected); both answer the shared fixturetests/data/integrity_check.json, outside the frozen vector family.tine verify, the pyz, object kinds, wire formats and vectors are unchanged (freeze-safe). See docs/INTEGRITY.md. - Advisory reward-hack detectors (
opentine._integrity_advisory,opentine._integrity_advisory_evidence):advisory:test-deleted,advisory:test-skipped-added(pytest skip/skipif/xfail, unittest skip, JS.skip/.only),advisory:special-casing,advisory:visible-holdout-gap,advisory:judge-ground-truth-disagree,advisory:fabricated-tool-evidence,advisory:conftest-tampered,advisory:timing-fakeandadvisory:env-answer-leak. Findings print one line each and never block by default (D12); onlyfail:facts block.tine integrity check RUN --record FILEruns them over a run record next to the protected-surface check. - Red-team corpus
tests/data/integrity_redteam/: 30 seeded reward hacks with a manifest of their classes and 200 benign refactor runs, regenerated byte-for-byte byscripts/gen_integrity_redteam.py. Tests require >= 27/30 detected and a false-positive rate <= 5% (count-based). - New guide docs/SELF-IMPROVING-LOOPS.md ties 0.57 promotion, 0.58 lineage and
0.60 integrity together.
tine verify, the pyz, object kinds, wire formats and vectors are unchanged. - Key roles are anchored in the owner-signed trust bundle (SPEC 8.26). A
bundle may carry
key_roles({"version": 1, "roles": {...}}, the JSON of.tine/key-roles.toml);tine trust bundle create --key-roles FILEsigns existing roles (migration). Roles grantpolicy,scorerandstopperpowers only from a bundle whose owner key is pinned outside the repository ($OPENTINE_TRUST_OWNERor$XDG_CONFIG_HOME/opentine/trust-owner; bundle at$OPENTINE_TRUST_BUNDLEor.tine/trust-bundle.note); a lower serial than the highest seen is refused. Roles only in the unsigned.tine/key-roles.tomlareroles: unpinned: they still refuse (key separation), butpromotewith apolicyrole refusespromote.policy-unsigned, lineage reports signersunpinned, astopperrole verifies no stop and no policy key pins the protected list. Closes a red-team finding: a loop that could write the file could add its own key as a policy key.tine keys lintprintsroles: pinned|unpinned|absent(--jsonpinning);tine-cli-trust-bundle-1gainskey_roles; the TSopenTrustBundlereturnskeyRoles..tine/trust-bundle.noteis a protected control path. - Integrity taints are also held:
--keystores the signed taint attestation and adds atine holdrowintegrity-taint:RUNthattine hold releaserefuses; promote and lineage read held taints, so deleting.tine/integrity/taints/does not launder a score (red-team finding). An unreadable holds file taints (fail closed).tine-cli-integrity-1gainstaint.hold. - Detection is stated honestly in docs/INTEGRITY.md and
docs/SELF-IMPROVING-LOOPS.md: on a blind held-out set the advisory detectors
caught 2 of 13 hacks before tuning; advisories are heuristics, and the
fail:facts are the guarantee.