OpenTine v0.49.0: Audit kit and public proof
Release notes reproduced from the pinned changelog. Source.
Behaviour changes
tine verify --offline --witnesses REGISTRY.jsonaccepts anopentine-witness-network/1registry and checks the log's cosignatures against its majority-of-three policy; a split view fails closed.tine watch --alertsevaluates the repository's alert rules on every event it reports.
Added
tine audit-kit build RUN...|BUNDLE --out DIR [--zip] [--allow-unredacted](SPEC 8.4.1): a self-contained, air-gapped audit kit withtine-verify.pyz, an offline single-page TS verifier (verify.html, runs embedded, no outside loads under its Content-Security-Policy), the evidence folder, a Provenance Run Crate per run, areplay/v1attestation (--attest-keyreplays the run and signs the result), the pinned witness set and log keys, a Markdown and HTML report andSHA256SUMS. It refuses runs the redaction rules would still change; build fromtine bundle create --redacted-publicinstead.tine audit-kit verify DIR|ZIP [--pyz] [--pubkey FILE]re-checks a kit with the network refused.--pubkeychecks the run signatures against a key from outside the kit (theanchorcheck); without it the result proves integrity only.- An artifact-evaluation package (
ae/) in every kit: an ACM-badge README (Available, Functional, Reproduced), a standard-library-onlyverify_kit.py [PUBKEY],verify.sh,verify.ps1andreproduce.sh. tine publish zenododeposits the named refs (plus--attachfiles such as a run crate) through the Zenodo REST API, as a draft unless--publish;--sandboxtargets sandbox.zenodo.org.tine publish hfuploads one run's redacted, signed public copy to a Hugging Face Hub dataset with a dataset card taggedagent-traces.--dry-runneeds no token or network;--jsonwritestine-cli-publish-1.tine servecan store objects in S3 Object Lock or Azure immutable blobs (TINE_REMOTE_OBJECT_STORE), with governance or compliance retention (TINE_REMOTE_RETENTION_MODE,TINE_REMOTE_RETENTION_DAYS). Deletes inside retention, under an OpenTine hold or under a cloud legal hold are refused, and OpenTine never bypasses governance retention. OpenTine holds can be copied to the cloud as legal holds (the store'ssync_holdsmethod; no command yet). Tombstones and--uncompressed-tenantwork as on the filesystem store.admin purgedefers objects in object storage, andadmin resealrefuses it. See docs/STORAGE.md.- Payloads of 8 MiB or more in the object store are stored as FastCDC chunks with a chunk manifest. This is a stored form and oids are unchanged. Reads fetch only the chunks they need, check each chunk's digest and re-hash the oid. A reused chunk's retention is extended to match the newest object that uses it. Bench: a 1% append to a 32 MiB transcript stores 2.3% new bytes, and a 4 KiB range read fetches one chunk.
tine alert add|list|remove|test: alert rules forverify.failed,policy.denied,cost.thresholdandwitness.disagreement, evaluated on existingtine-event/1events and sent as signedtine-webhook/1POSTs (the alert in an addedalertfield) and/or OTLP/JSON log records toENDPOINT/v1/logs. Output schema:tine-cli-alert-1.tine import --format jules: Jules sessions in the documented v1alpha API shapes (prompt, messages, plans, approvals, failures; bash, change-set and media artifacts, with media bytes left out).tine import --format a2a: Agent2Agent tasks, messages and status/artifact stream events, bare or JSON-RPC wrapped, de-duplicated bymessageId.- The witness network operator kit: the runbook
docs/witness/OPERATING.md(hardware, key ceremony, rotation, monitoring, incident response), a container definition indeploy/witness/(pinned base image, no secrets), theopentine-witness-network/1registry (docs/witness/NETWORK.md; a pinned configuration, not a kind),docs/witness/RECRUITING.mdandtine witness doctor(tine-cli-witness-doctor-1). Tests require 2-of-3 cosignatures from three local witness processes. - Integration tests run against moto (now in the
devextra), and against MinIO (TINE_TEST_MINIO_ENDPOINT), AWS (TINE_TEST_S3_BUCKET) and Azurite or Azure (TINE_TEST_AZURE_CONNECTION,TINE_TEST_AZURE_CONTAINER) when those are available. Each skips with its reason otherwise. - CI: a new audit-kit job builds a kit and verifies it offline, against an outside key, on Linux, macOS and Windows, with an extra Linux run inside a network namespace (1.0 criterion 4).
- The suite is now 1112 conformance vectors; 489 of the 1112 refuse input, and the adapter contract still has one entry point: 68 ops.
Security
tine audit-kit verifyrefuses changed or unlisted files, symbolic links and special files in a kit directory,kit.jsonrun entries outsideruns/, and zip entries that are links, repeat a name ignoring case, carry.or empty segments, or exceed the size and count caps. Run ids taken from a bundle never become output paths;ae/reproduce.shquotes file names.- Publishing runs the pre-push redaction gate over every object before any
request (
zenodohonours a logged--allow-unredacted REASON;hfhas no override). Tokens are read only fromZENODO_TOKEN/HF_TOKEN(or--token-env), never printed or logged, and never sent off the API host. Duplicate deposit names and a bundle with no redacted-copy record are refused. - Webhook and OTLP alert targets must not carry credentials or point at
private, loopback or reserved addresses unless
--allow-private(webhooks must also be https); OTLP delivery checks every resolved address. Stored rules are re-checked when read and their number is capped. - Importers drop URI queries, fragments and credentials (presigned-URL
tokens) from A2A file parts and the Jules session URL, and redact the Jules
change-set
source. Media and file bytes are never imported. - A chunk reused by a newer object is re-locked to the newer retention, never shortened, and becomes compliance if either object is.
- A lock being published by another process (two names for one file until
its temp name is removed) no longer trips the repository's hard-link guard;
a concurrent
tine gcagain reports "another tine gc is running" instead of "repository path contains a hard-linked file". Only*.locknames may have two links; every other repository file still must have one. tine witness doctorrefuses a non-http(s)--url.
Compatibility
- No object kind or wire format was added (the 0.48 cutoff holds;
tests/freeze_inventory.pyis unchanged). FastCDC chunk manifests are a stored form; alerts reusetine-event/1andtine-webhook/1; the witness registry is pinned configuration. Fetch, clone and push are unchanged for 0.34–0.48.0 clients. - SPEC 0.49.0 adds 8.4.1 and the witness registry in 8.23; Part 12 adds
opentine-witness-network-1,tine-cli-audit-kit-build-1,tine-cli-audit-kit-verify-1,tine-cli-publish-1,tine-cli-alert-1andtine-cli-witness-doctor-1. - moto joins the
devextra.
Deferred
- For humans: operating the project's public witness, recruiting at least two independent operators so three are live with 2-of-3 cosignatures, publishing the production registry and pinning the witness image by digest; claiming the ACM badges.
- Object Lock: the integration tests have not run against live MinIO, a real
AWS bucket with Object Lock, Azurite or Azure (the roadmap acceptance
criterion). A delete racing an upload that reuses a chunk can remove it when
no retention mode is set; no sweep removes expired leftover chunks;
sync_holdshas no command; purge needs an age from last-modified; chunking runs at about 10–14 MiB/s in pure Python; chunk names reveal sharing to anyone who can list the bucket. The 0.40cdc-*bake-off rows are invalid (the gear table had 256 identical entries) and must be re-run. - Audit kit: the new CI job (including the
unshare --netstep) has not yet run on GitHub; the browser page checks a signature only against the run's own key; the replay attestation's signer key comes from the kit; a kit checked by another tine version skips the pyz rebuild comparison. - Alerts: an OTLP send can be re-resolved to a private address between the
check and the request (webhooks pin the address); the remote's event hub does
not evaluate rules; no event exists for a failed
tine verifyortine witness; nothing was sent to a real collector or receiver;alert listcreates the signing key if missing. - Importers: Jules has no documented web export (API shapes only); A2A push-notification configs and agent cards are ignored.
- Publish: Zenodo and the Hugging Face Hub were never contacted (tests use recorded answers).