oz0 replay start
For: Operators and developers looking up a command.
Start a replay of the tenant's jobs that finished within --since (7 days by default, never past the namespace's history retention: a longer window is cut to it and the report says so), newest first, at most --max-jobs. Give exactly one candidate:
--policy FILE a whole tool-policy document (JSON, the stored form: read_only, destructive, open_world, undeclared, rules, ...) --promote ID,... shadow rules to make act, by ID (oz0 tenant tool-policy show lists them) --preset NAME a shipped preset (untrusted-then-consequential, confidential-then-egress), or with --preset-rules FILE a proposed level change: a JSON list of tool rules that act with NAME as their origin --budget-usd, --budget-model-calls, --budget-children budget and tree limits per job, decided again from the recorded usage
One replay per tenant runs at a time.
Usage
oz0 replay start (--policy FILE | --promote ID,... | --preset NAME [--preset-rules FILE] | --budget-usd USD ...) [--since 7d] [--agent A] [flags]
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--agent | string | only this agent's or flow's jobs | |
--budget-children | int32 | the most child jobs one job may start | |
--budget-model-calls | int32 | the most model calls one job may make | |
--budget-usd | float | the most one job may spend on model calls, in dollars | |
--json | bool | print JSON instead of a table | |
--kind | string | policy | the replay's kind |
--max-jobs | int32 | 2000, at most 10000 | at most this many jobs, newest first |
--plugin | string | only the jobs of this plugin's agents and flows | |
--policy | string | a whole tool-policy document, as JSON | |
--poll | duration | 2s | with --wait, how often to look |
--preset | string | a shipped preset, or the name of the level change --preset-rules proposes | |
--preset-rules | string | a JSON list of tool rules: a proposed level change | |
--promote | strings | IDs of shadow rules to make act | |
--since | string | 7d; cut to the history retention | how far back to read finished jobs: 7d, 36h, 90m |
--tenant | string | default | tenant |
--wait | bool | wait for the report and print it |
Inherited flags
| Flag | Type | Default | Description |
|---|---|---|---|
--context | string | $OZ0_CONTEXT or <config dir>/orchestrator-zero/context.json | CLI context file written by server init |
--log-level | string | info | log level: debug, info, warn or error |
See all oz0 commands and the global flags.