OpenTine v0.69.0: Containment evidence and budgets
Release notes reproduced from the pinned changelog. Source.
-
Code mirror: when a fetch passes the size limit or times out, the kill now reaches every process git started (its own process group, or
taskkill /Ton Windows). Before,index-packsurvived and kept writing after the mirror was deleted. Deleting a partial mirror also retries briefly while Windows closes the killed processes' files. -
tine budget sign-policy|apply|record|status|ledger|check|gate: budget policies per loop or agent (opentine-budget-policy/1: tokens, GPU-hours, wall clock, egress bytes, money), signed and applied to a per-subject ledger. See docs/BUDGETS.md. -
The budget ledger: signed
annotationentries (opentine.budget-ledger/1: spend, policy, flag) chained byprevious_idand held underbudget-ledger:SUBJECT, released never. Spend comes from each run's recordedtine costaggregate, so the ledger total equals the cost export. -
Once a limit is reached, the next action is refused (
deny) or refused and routed to oversight (escalate): bytine budget gateon the agent hook path and bytine mcp-proxy --budget SUBJECT --budget-key KEY(JSON-RPC error-32002). -
An agent raising its own limit is refused and the policy in force stays. This covers an edited policy, one signed by an optimizer or non-
policykey, and a rolled-back serial. Each is afail:finding recorded as a held flag and listed in the oversight queue asbudget:ANNOTATION(new route sourcebudget). -
A budget policy signed by a pinned
policykey is compared only with the highest serial a pinned policy key put in force, so a fresh key cannot lock out the owner's policy with a huge serial. With no policy in force, the gate denies. A run recorded twice counts once (the largest value per unit), so the ledger still equals thetine costexport. -
tine containment record RUN --policy FILE --key KEYsigns a run's sandbox policy (network allowlist, mounts, privileges, container image digest, seccomp profile digest) as anopentine.sandbox-policy/1claim on an attestation. The policy is canonicalised before it is digested, so equal sandboxes give equal digests. The record is held and never released. -
tine containment check RUN [--policy FILE | --digest DIGEST]compares the recorded digest with the declared one and exits 1 with the command-level codesandbox-policy-mismatch(not atine verifycode). Two differing records on one run are a mismatch too, and the allowlist the detectors use is their intersection, so a later, wider record cannot widen it. -
tine containment scan RUN [--key KEY]: advisory detectors (D12) over recorded tool steps for egress outside the recorded allowlist, credential access, self-replication, unmonitored processes, persistence and edits to the sandbox or limits. Each input string is read unquoted. With a key, findings are signed (opentine.containment-finding/1) and held. The monitor gate runs the same detectors on every action and records findings without changing its decision. -
The oversight queue lists held containment findings, and the policy records of a run whose check fails, as
containment:ATTESTATIONitems (new route sourcecontainment). -
tine queryindexessandbox_policies,containment_findingsandbudget_ledger;--verifyneeds a pinnedrunner(or, for budget ledgers,policy) signer withoutoptimizer. -
New optional key role
runner(signs ledger entries and sandbox policies), guarded against optimizer keys like the other guarded roles. -
New schemas:
tine-cli-containment-1,opentine-sandbox-policy-1,opentine-containment-finding-1(claim conventions, not object kinds); see docs/CONTAINMENT.md.