Browse documentation

Portable .tine files default to v5 (since 0.42). --for-legacy writes v4. The .tine/ repository format is v3. tine evidence export writes v4. Formats and protocols.

Docs target stable release v0.76.0.Stable vs main checked 2026-11-21

Reference · v0.76.0

Format freeze candidate

From the pinned CLI source. Read upstream.

Review recorded at v0.76.0. This is a freeze candidate, not a declaration that every 1.0 criterion is met.

The format freeze

0.50.0 freeze candidate. ROADMAP 1.0 criterion 2: "The formats are frozen, and the Python, TS and pyz implementations pass the same vectors."

0.48.0 was the freeze cutoff (SPEC 5.5): it is the last release before 1.0 that may add an object kind or a wire format. 0.49 and 0.50 fix, test and document. This page is the frozen list, with the SPEC section that defines each entry, and the result of the 0.50 freeze review.

Frozen means: a later 1.x release may add an optional field where the format allows one (SPEC 5.2), a new reader, or a new stored form that is reversible and checked against the oid on read (ROADMAP §2 invariant 2). It may not change the bytes an existing kind is signed, hashed or framed over, and every format below stays readable for ever (ROADMAP §2 invariant 1). A writer default changes only after the deprecation window in ROADMAP §2.

The machine-checked inventory is tests/freeze_inventory.py; tests/test_048_freeze_cutoff.py enumerates kinds from SPEC headings, docs/schemas/ and the vector families and fails on any the inventory does not list. tests/test_050_parity.py checks this page names every entry.

Object kinds and signed documents

Every kind below has a conformance vector family that the reference (Python), the TS verifier (ts/verifier) and the built tine-verify.pyz answer case by case.

KindSPECNamesFamilies
canonical JSON0.2, 0.3v3 (JCS), v201-selftest, 02-canon-v3, 03-canon-v2, 04-divergence, 09-canon-v4
text and shape0.1, 0.5--00-text, 05-shape
stored objects1.5.6, Part 6link existence, event metrics, run graph, annotation chain15-links, 15b-metrics, 15c-graph, 15d-load
v3 objects1.5blob, event, run, attestation, annotation12-envelope, 13-oid
.tine artifact3, 9, 10.tine v1-v531-artifact-v2, 35-integrity, 51-compat, 54-artifact-v5
signatures4, 9.6, 9.7tine-sig/1, tine-sig/2, tine-sig/3, tine-attest/1, tine-attest/242-signing, 47-verdict, 53-sig-v4, 55-sig-pq
actions4.8tine-actions/148-actions
agent4.9opentine-agent/149-agent
delegation4.10opentine-delegation/156-delegation, 76-delegation-revocation
fleet4.11opentine-fleet/178-fleet
eval verdict4.12tine-eval-verdict/158-eval-verdict
redaction report4.13opentine.redaction-report60-redaction-report
redaction report v24.13.1opentine-redaction/362-redaction-report-v2
tombstone4.14opentine.tombstone63-tombstone
redacted copy4.15opentine.redacted-copy64-redacted-copy
project4.16, 4.17, 4.18opentine.project, opentine.mirror-state65-project, 66-mirror-state
merge4.19opentine.merge68-merge
review4.20opentine.review, opentine.review-gate70-review
prompt4.21opentine.prompt71-prompt
memory4.22opentine.memory69-memory
forge claim4.23opentine.forge-claim72-forge-claim
forge check4.24opentine.forge-check73-forge-check
review finding4.25opentine.review-finding74-review-finding
OMS model signature4.26--75-oms
transparency log8.10opentine-log/157-tlog
keyless signing time8.12.1--77-keyless-tsa
webhook8.13tine-webhook/159-webhook
hook8.16opentine-hook/167-hook
admission VSA8.17--61-vsa
verify report8.1, 8.7tine-verify-report/279-verify-report
custody8.4, 8.9tine-custody/1, opentine-custody/180-custody
replay predicate8.8replay/v181-replay
sealed objects11TINEAES682-sealed6
line attribution8.24opentine-line-attribution/183-line-attribution
cost statement8.25tine-cost-statement/184-cost-statement

Wire formats

FormatSPEC
Envelope framing (<canonical header>\n<body>) and the typed oid type:sha256:<hex>1.2, 1.3
Signature blocks: the five-key header, HMAC-SHA256, Ed25519, ML-DSA-65 and the composite4.1, 4.2, 4.6, 9.6
DSSE / in-toto statements (replay/v1, admission VSAs, keyless bundles)8.8, 8.12, 8.17
Transfer packs: TINEPACK3, and TINEPACK4 toward a peer that advertises it2.8
Transparency log: C2SP tlog-tiles, signed-note checkpoints, cosignature/v18.10, 8.11
RFC 3161 timestamp tokens and the sig:sha256: binding8.6, 8.12.1
Signed webhooks (tine-webhook/1 header and body)8.13
Remote HTTP API v1 and its capabilities8.14, 8.15, 8.18, 8.19, 8.22
The agent hook protocol (opentine-hook/1)8.16

File formats

FormatSPEC
.tine v1/v2 artifact and its integrity digest3
.tine v4 artifact9
.tine v5 artifact (text blobs)10
Repository layout: config.json, objects/, refs/, logs/ (reflog), shallow2.1-2.7
Stored-object wrapper TINEZ1\0 (raw, zlib, zstd; reversible, checked against the oid on read)2.3
Local packs .tpk (TINELP1, TINELP3) and transfer packs2.8
External blob pointers2.10
Remote at-rest sealing TINEAES6 (TINEAES1-5 stay readable)11
Evidence folder (MANIFEST.sha256, custody.jsonl) and the audit kit8.4, 8.4.1
Published JSON Schemas and the --json envelope12

Not frozen: derived indexes. .tine/query/index.sqlite (tine query, 0.65) and .tine/lineage/index/lineage.sqlite are caches rebuilt from the formats above; their tables may change in any release, and they add no object kind and no tine verify code (docs/QUERY.md).

0.52: scoped tokens, CI OIDC exchange and quotas

No object kind, wire format, vector family or docs/schemas object schema was added, and no closed or signed schema changed. Scoped API tokens, the CI OIDC exchange and quotas (SPEC 8.27) are unsigned HTTP admin shapes in docs/api/openapi-v1.yaml (Limits, AuthMethods, Usage, TokenRecord, TokenList, TokenRequest, MintedToken, OidcExchange, IssuedToken); GET /v1/capabilities gains only the optional keys scoped_tokens, limits and oidc_exchange, emitted when served (SPEC 5.2). Only the CLI output schema tine-cli-serve-token-1 (tine serve token --json) was added.

0.51: codec-3 vectors and trust bundles

The owner's sign-off on the pyz storage-family exclusion (2026-11-13) is recorded under "Rulings after the freeze (0.51)" below.

29-localpack gained three cases (no new family, kind or format): codec 3, the zstd-with-dictionary stored form of 0.50 (SPEC 2.3), which the TS verifier now decodes (ts/verifier/src/zstddict.ts). They carry requires: ["zlib", "zstd"]. The suite is 61 families and 1166 cases; the TS verifier answers 1152, the 14 writer-side cases aside.

Browser trust bundles (SPEC 8.26, tine trust bundle create|verify) are a profile, not a kind: a C2SP signed note (the checkpoint format of 8.10) over canonical JSON that carries only existing documents, a trust policy's portable fields, an opentine-witness-network/1 registry, signed-note log keys and opentine.admission-policy documents. Only the CLI output schema tine-cli-trust-bundle-1 was added.

The 0.50 freeze review

Result: no disagreement and no unanswered case on the pinned suite, with one scoped exclusion. Criterion 2 is not declared met here: the pyz does not answer the eight repository storage families below (by design), so "the same vectors" holds for every family except those, and accepting that reading is a decision for the release owner. The CI parity job has not yet run on a pushed commit; until it is green there, the numbers below are from a local run. On the 61 families and 1163 cases of docs/conformance (MANIFEST totals), scripts/check_parity.py reports:

ImplementationCases answered and agreeingNot answered, by design
Python reference1163 / 1163--
TS verifier1149 / 114914 writer-side redaction cases (object.put, redact.*, attest.sign): a verifier never writes
tine-verify.pyzevery reader and verifier case outside the repository storage families (990 at this census)writer-profile cases, and the storage families 16-bounds, 22-layout, 24-refs, 26-reflog, 27-shallow, 28-pack, 29-localpack, 99-repair

The pyz reads exported files and never opens a repository, so refs, reflogs, shallow files, the repository config and packs are outside it; the reference and the TS verifier answer those families. Every other family is answered by the pyz case by case from the built archive.

What the review changed (no kind and no format was added):

  • The freeze-audit allow-lists in tests/freeze_inventory.py are empty: PYZ_FILE_LEVEL (families 31, 35, 42, 47 and 51, previously checked by the pyz only as whole files), PYZ_OP_GAPS (text.validate, artifact.parse, integrity.digest, integrity.verify, sig.message, sig.verify, object.load) and DEFERRED (six kinds without vectors). The 16 families that reached the pyz only through a named test are now answered by _pyz/_conform case by case. The stored-object families 15-15d left the storage list.
  • Families 79-84 add vectors for the six kinds that predated the cutoff without any: tine-verify-report/2, tine-custody/1 (and the opentine-custody/1 log records of 8.9), replay/v1, TINEAES6, opentine-line-attribution/1 and tine-cost-statement/1. SPEC 8.24 and 8.25 now document the last two.
  • scripts/check_parity.py and the CI job parity fail on any disagreement or any unanswered case between the three implementations.
  • 0.53: scripts/check_parity.py --reasons (also run by the parity job) fails on any refusal of a pinned reject case that names no reason code, or names one outside the pinned code's alias group, in any of the three. The pyz names the code of a refusal raised by a module it vendors verbatim (kernel, _agent_identity) through _pyz/_reasons.py, without changing that module; the browser verifier refuses a wrapped file with the CLI's reason text and carries its code as integrity.code.

What the vectors do not cover, recorded rather than hidden:

  • RFC 3161 tokens inside a verify report (signature_timestamps): checking them needs the operator's TSA roots, so family 79 pins reports without tokens, and the pyz and TS ops refuse a report that carries them (verify-report.timestamps-unsupported) instead of ignoring them. Token verification is covered by family 77 and the 8.6 tests.
  • TINEAES6 decryption: family 82 pins the header; opening a sealed object needs a tenant key no verifier of exported files holds, and XAES-256-GCM is covered by its own known-answer tests.
  • RFC 3161 tokens inside custody records (action: "timestamp"): the custody.chain op checks the hash chain and each record's signature, which binds the token bytes, but does not verify the token (that needs TSA roots) and reports no signing time from it. tine custody verify checks the tokens.
  • Reason codes: a refusal is compared by reason code only when the implementation names one (the TS verifier always does; the reference and the pyz mostly raise uncoded errors, see tests/conformance/reasons.py). A programming error (KeyError, TypeError and the like) never counts as a refusal.
  • Line attribution against git: family 83 gives the commit's added lines as input; reading them from git is the CLI's job, not the format's.
  • Cost statements against a run: family 84 gives the statement the run yields as input; recomputing it from a run is covered by the cost tests.

The other 1.0 criteria are not decided here: the third-party audit (1), 30 days of green nightly stress (5) and the compression bench (6) are tracked in ROADMAP 0.50.0.

Rulings after the freeze (0.51)

Predicates and claim schemas inside frozen envelopes

Adopted by the owner on 2026-11-13 (decision D1), as an explicit relaxation of the strict reading, not a clarification. Without this ruling a new in-toto predicateType, or a new claim schema with its own vectors, counts as a new wire format.

A new in-toto predicateType or attestation.claim schema carried inside an existing frozen envelope (attestation SPEC §1.5.4, DSSE/tine-attest/2) may be added before 1.0 only if:

  • (a) envelope bytes, framing, hashing and signature algorithms are unchanged, so no new signature scheme is allowed;
  • (b) Python, TS and pyz verifiers that do not know it report unchecked: and never pass or fail, and a vector proves this in the existing attestation family;
  • (c) its vectors live in an existing vector family, with no new family and no new docs/schemas file;
  • (d) it is listed by name in FREEZE.md and in KINDS under its envelope's entry, with full Python, TS and pyz conformance;
  • (e) the owner signs off each one by name.

What the ruling does not do: it adds no new escape list to tests/freeze_inventory.py, and it does not cover new signature algorithms (WebAuthn, for example), new bound forms (RFC 4998) or new object kinds. Those wait for 1.x.

Granted predicates: none.

Each grant is recorded here by name, with its date and release. The candidates on the 0.51-0.60 plan (ROADMAP §12) are E1 https://opentine.dev/hardware-key/v1 (decided at 0.56, and only with this ruling in force), and E2 https://opentine.dev/promotion/v1 and E3 the memory-provenance claim schema (decided at the end of 0.55). Each has a frozen-safe form that ships if it is refused.

How condition (b) stands in 0.51: no verify path reads attestation.claim to reach a verdict. The reference, the pyz and the TS verifier check the envelope's signature and give the claim no verdict at all, so no claim can pass or fail. The rule that the first granted predicate's checker must follow is in one helper per implementation: the reference (opentine/_claim_status.py), the pyz (opentine/_pyz/_claim.py) and the TS verifier (ts/verifier/src/claim.ts, exported as claimStatus). Each helper returns unchecked (claim.unknown-predicate, or claim.unnamed) for any claim with no granted checker. No verify report shows that status yet: wiring it into the reports and the --json output schemas comes with the first grant. With no predicate granted there is no vector to add, so tests/test_051_unknown_claim.py and ts/verifier/test/claim.test.ts test the helpers and the unchanged envelope check over the shared fixture tests/data/unknown_claim_attestation.json. The fixture holds a tine-attest/1 and a tine-attest/2 attestation that name an ungranted predicate. The first granted predicate brings its own unchecked case into the existing attestation family under condition (b).

Merge-approval nonces and expiry (0.52)

Read under the claim-schema ruling above: local queue state, 1.x for a signed form. The 0.51-0.60 plan proposed carrying a merge approval's queue id, nonce and expiry as a plain JSON claim in an existing attestation over the approval, which tine merge-queue land would require. That claim has a fixed shape that land reads to reach a verdict, so it is an attestation.claim schema in the ruling's sense: it would need its own unchecked vector (condition b), a KINDS entry (d) and the owner's sign-off by name (e), and none is granted. opentine-merge-approval-1 stays closed and unchanged; the queue id, nonce and expiry are kept in the queue's own coord/merge-queue/<id> record (tickets, SPEC 4.19), which is local state, not a wire format, and adds no object kind, schema file or vector family. A signed binding of nonce and expiry to the approval is a 1.x item.

The pyz storage-family exclusion

Signed off by the owner on 2026-11-13. Criterion 2 ("the Python, TS and pyz implementations pass the same vectors") is read as excluding, for the pyz only, the repository storage families 16-bounds, 22-layout, 24-refs, 26-reflog, 27-shallow, 28-pack, 29-localpack and 99-repair (STORAGE in tests/freeze_inventory.py). The pyz reads exported files and never opens a repository; the reference and the TS verifier answer those families. The list may only shrink.

RFC 4998 evidence records

Deferred to 1.1 (decision D2, 2026-11-13). No RFC 4998 bound form is added before 1.0: it would be a new bound form and would reopen the freeze while the audit is reading it. The caveat on long-term timestamp renewal before 1.1, which every compliance profile under docs/compliance/ repeats word for word:

up to 16 root-bound tokens; not a hash-tree renewal; does not survive a SHA-256 break.