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 whoseHostis not127.0.0.1:PORTorlocalhost:PORTgets 403, so a DNS-rebinding page cannot read runs;--portmust be 0..65535. - Verification states are
verified,failed,partial,uncheckedandunpinned, each labelled with who computed it. Integrity and assurance are checked by the localtine; a signature isunpinnedbecausetine uipins no key (usetine 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 localtine's. With no key pinned, a signature that holds under the key the file embeds readsunpinned, an HMAC oneunchecked, and one that does not holdfailed(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 readsunchecked, saying why. - Assets are built from
ts/run-viewer(npm ciints/verifierandts/run-viewer, thennpm run build:tscfor the viewer, pinned esbuild fortine-verifier.js) intoopentine/data/uiand 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.