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

Generated command reference · v0.76.0

tine repo

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

Generated from the pinned release’s tine help --json, validated against tine-help/1. Flags and defaults below come from its parser. A null default means unset or withheld as machine-specific.

All commands

tine repo

Set up, maintain and integrate a v3 repository

tine repo [-h] SUBCOMMAND ...

tine repo archive

Write or restore a whole-repository archive

tine repo archive [--json] [--text]
Argument / flagContract
--json

Emit {command, exit_code, output} JSON (errors as {error: {code, message}})

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine repo branch

List, create or delete heads/* branches

tine repo branch [--json] [--text]
Argument / flagContract
--json

Emit {command, exit_code, output} JSON (errors as {error: {code, message}})

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine repo config

Get or set porcelain settings and aliases; set|get|unset user settings

tine repo config [--json] [--text]
Argument / flagContract
--json

Emit {command, exit_code, output} JSON (errors as {error: {code, message}})

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine repo init

Initialize a v3 .tine repository

tine repo init [--json] [--text]
Argument / flagContract
--json

Emit {command, exit_code, output} JSON (errors as {error: {code, message}})

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine repo integrate

Agent-CLI hooks, plugins, harnesses and git links

tine repo integrate [-h] SUBCOMMAND ...

tine repo integrate disable

Remove the per-turn hooks, restoring each agent config

tine repo integrate disable [--json] [--text]
Argument / flagContract
--json

Emit {command, exit_code, output} JSON (errors as {error: {code, message}})

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine repo integrate enable

Capture every agent turn through `tine hook capture`

tine repo integrate enable [--json] [--text]
Argument / flagContract
--json

Emit {command, exit_code, output} JSON (errors as {error: {code, message}})

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine repo integrate git

Link runs to git commits: hook, notes, commit -> runs

tine repo integrate git [--json] [--text]
Argument / flagContract
--json

Emit {command, exit_code, output} JSON (errors as {error: {code, message}})

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine repo integrate harnesses

List agent CLIs `tine run --harness` can record

tine repo integrate harnesses [--json] [--text]
Argument / flagContract
--json

Emit {command, exit_code, output} JSON (errors as {error: {code, message}})

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine repo integrate hook

Install agent-CLI hooks that import every finished session

tine repo integrate hook [--json] [--text]
Argument / flagContract
--json

Emit {command, exit_code, output} JSON (errors as {error: {code, message}})

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine repo integrate plugin

Export the opentine Claude Code plugin

tine repo integrate plugin [--json] [--text]
Argument / flagContract
--json

Emit {command, exit_code, output} JSON (errors as {error: {code, message}})

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine repo migrate

Upgrade a .tine file to format v4 (the default)

tine repo migrate [--json] [--text]
Argument / flagContract
--json

Emit {command, exit_code, output} JSON (errors as {error: {code, message}})

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine repo pack

Write a deterministic object pack

tine repo pack [--json] [--text]
Argument / flagContract
--json

Emit {command, exit_code, output} JSON (errors as {error: {code, message}})

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine repo reflog

Show where a ref has pointed

tine repo reflog [--json] [--text]
Argument / flagContract
--json

Emit {command, exit_code, output} JSON (errors as {error: {code, message}})

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine repo reset

Point a ref at a run (compare-and-swap)

tine repo reset [--json] [--text]
Argument / flagContract
--json

Emit {command, exit_code, output} JSON (errors as {error: {code, message}})

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine repo serve

Run the minimal self-hosted v3 remote

tine repo serve [--json] [--text]
Argument / flagContract
--json

Emit {command, exit_code, output} JSON (errors as {error: {code, message}})

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine repo storage

Disk usage, gc, repack, prune, compress, fsck, reindex

tine repo storage [-h] SUBCOMMAND ...

tine repo storage compress

Rewrite .tine files compressed (or plain with --decompress)

tine repo storage compress [--json] [--text]
Argument / flagContract
--json

Emit {command, exit_code, output} JSON (errors as {error: {code, message}})

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine repo storage du

Show repository disk usage by kind, run or ref

tine repo storage du [--json] [--text]
Argument / flagContract
--json

Emit {command, exit_code, output} JSON (errors as {error: {code, message}})

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine repo storage fsck

Verify every object, ref, and causal link

tine repo storage fsck [--json] [--text]
Argument / flagContract
--json

Emit {command, exit_code, output} JSON (errors as {error: {code, message}})

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine repo storage gc

Pack loose repository objects into compressed packs

tine repo storage gc [--json] [--text]
Argument / flagContract
--json

Emit {command, exit_code, output} JSON (errors as {error: {code, message}})

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine repo storage prune

List unreachable old objects; delete them only with --delete

tine repo storage prune [--json] [--text]
Argument / flagContract
--json

Emit {command, exit_code, output} JSON (errors as {error: {code, message}})

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine repo storage reindex

Rebuild the legacy run index

tine repo storage reindex [--json] [--text]
Argument / flagContract
--json

Emit {command, exit_code, output} JSON (errors as {error: {code, message}})

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine repo storage repack

Rewrite every object (loose and packed) into one pack

tine repo storage repack [--json] [--text]
Argument / flagContract
--json

Emit {command, exit_code, output} JSON (errors as {error: {code, message}})

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine repo worktree

Add, list, remove or prune per-branch worktrees

tine repo worktree [--json] [--text]
Argument / flagContract
--json

Emit {command, exit_code, output} JSON (errors as {error: {code, message}})

Default: false

--text

Human-readable output even if output.format=json

Default: false

Command-export source · CLI guide and behavioral notes