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 fork

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 fork

Fork a legacy run

tine fork [-h] --from-step FROM_STEP [--save SAVE] [--force] [--harness {aider,amp,auggie,claude-code,cline,codex,continue,copilot,crush,cursor,droid,gemini,generic,goose,grok,hermes,kimi-code,kiro,openclaw,opencode,openhands,pi,qoder,qwen-code,vibe}] [--prompt PROMPT] [--cwd CWD] [--harness-command HARNESS_COMMAND] [--harness-arg HARNESS_ARG] [--harness-login-env] [--harness-env HARNESS_ENV] [--harness-timeout SECONDS] [--harness-max-output CHARS] [--harness-max-events N] [--harness-max-line-bytes BYTES] [--legacy] [--repo REPO] [--ref REF] [--set PATH=VALUE] [--unset PATH] [--edit-file FILE] [--json] [--text] run_id
Argument / flagContract
run_idRequired

Positional argument.

--from-stepRequired

Positional argument.

--save

Positional argument.

--force

Positional argument.

Default: false

--harness

Positional argument.

Choices: aider, amp, auggie, claude-code, cline, codex, continue, copilot, crush, cursor, droid, gemini, generic, goose, grok, hermes, kimi-code, kiro, openclaw, opencode, openhands, pi, qoder, qwen-code, vibe

--prompt

Positional argument.

--cwd

Positional argument.

--harness-command

Positional argument.

--harness-arg

Positional argument.

Default: []

--harness-login-env

Positional argument.

Default: false

--harness-env

Positional argument.

Default: []

--harness-timeout

Positional argument.

Default: 3600

--harness-max-output

Positional argument.

Default: 4000000

--harness-max-events

Positional argument.

Default: 10000

--harness-max-line-bytes

Positional argument.

Default: 1000000

--legacy

Act on legacy .tine files

Default: false

--repo

A v3 repository (default: discover from .)

--ref

v3: the ref to write the fork to

--set

Edit the fork step before forking (inputs.KEY..., model, tool_info.KEY); VALUE is JSON, else a string; PATH[+]=VALUE appends to a list

Default: []

--unset

Delete a field or list item of the fork step before forking

Default: []

--edit-file

A JSON object of PATH: VALUE edits for the fork step

--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