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

Local viewer

From the pinned CLI source. Read upstream.

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

Local run viewer: tine ui (0.45)

tine ui [RUN] [--port N] [--open] serves a read-only viewer on 127.0.0.1 (never another interface; --port 0, the default, picks a free port). Without RUN it lists every run in the runs directory (up to the CLI scan limit). Tabs: timeline (prompt, model, tool, human and steer steps; each step's input parts, tool arguments and results load when expanded), workspace (files rebuilt from recorded writes at step N, and a unified diff between two steps), run DAG (parents[], forked_from, children, merge steps), fleet groups, verify and attribution (the step and model that last wrote each file).

  • Redaction: every string, keys included, is re-redacted at serve time; text the redactor cannot read is withheld.
  • No network: the server answers GET and HEAD only, and its Content-Security-Policy allows nothing but its own origin (connect-src 'self'). The page fetches no external resource. A request whose Host is not 127.0.0.1:PORT or localhost:PORT gets 403, so a DNS-rebinding page cannot read runs; --port must be 0..65535.
  • Verification states are verified, failed, partial, unchecked and unpinned, each labelled with who computed it. Integrity and assurance are checked by the local tine; a signature is unpinned because tine ui pins no key (use tine verify --pubkey). Since 0.45.1 the browser re-checks the run itself: a Web Worker runs the TS verifier's browser bundle (tine-verifier.js) over the artifact bytes and shows its own integrity and signature states beside local tine's. With no key pinned, a signature that holds under the key the file embeds reads unpinned, an HMAC one unchecked, and one that does not hold failed (which fails the badge). The bytes are served only when the current redaction ruleset finds nothing in the decoded artifact; otherwise the request gets 403 and the browser column reads unchecked, saying why.
  • Assets are built from ts/run-viewer (npm ci in ts/verifier and ts/run-viewer, then npm run build: tsc for the viewer, pinned esbuild for tine-verifier.js) into opentine/data/ui and committed; tests rebuild them and compare bytes.

JSON API (same origin, all redacted): /api/runs, /api/run/RUN, /api/run/RUN/step/N, /api/run/RUN/verify, /api/run/RUN/attribution, /api/run/RUN/tree?step=N, /api/run/RUN/diff?a=N&b=M, and (0.45.1) /api/run/RUN/artifact, the raw artifact bytes for the browser re-check (403 when withheld). It is not a stable interface yet.