Skip to content

Tiza CLI and Console

Germán Aracil Boned edited this page Sep 19, 2026 · 6 revisions

Command-line reference

pizarra runs the hub. tiza provides every native client role: one-shot commands, the interactive human console, and the remote host daemon.

Examples below assume TIZA_CONF points to the intended identity. In services and scripts, prefer --config /absolute/path.

pizarra

pizarra [--config PATH] [--migrate-only] [--host-session NAME] [--version]
Command Effect
pizarra --config PATH Run the hub with an explicit INI file
pizarra --migrate-only Initialize/upgrade/import and verify SQLite, then exit without a listener or watchdog
pizarra --host-session NAME Preserve an existing tmux session or create it once with the hub inside; the launcher then exits
pizarra --version Print suite version and SQLite availability
pizarra --help Print the compact usage line

The hub normally remains in the foreground and handles SIGINT/SIGTERM cleanly. --host-session is the opt-in deployment alternative for an operator who wants a visible hub pane instead of systemd. Pizarra itself performs the check and creation. An existing session always wins: it is never killed, replaced, or given a second launch command.

tiza global behavior

tiza [--config PATH] <command-or-destination> ...
tiza --config PATH --health [--wait SECONDS]
  • Identity always comes from [pizarra] self in the selected configuration.
  • A normal --from is ignored; use the correct identity file.
  • TIZA_CONF selects the configuration when --config is absent.
  • Inside a host-daemon-managed tmux session, the session's @pizarra_conf option selects its identity file when neither --config nor TIZA_CONF is present. A missing tagged path fails closed rather than falling back to the host's default identity.
  • --version, --help, manual, and workflow help operate without a hub.
  • Human-readable tables are used on a terminal; redirected output is plain.
  • A command that reaches the hub is still subject to its identity and authority checks.
  • --health requires authenticated version and capability replies, verifies the credential binding, and rejects suite-version skew. --wait accepts zero through 120 seconds.

Messaging and inbox

Command Meaning
tiza <team> <message...> Send to a team by name or numeric ID
tiza all <message...> Send one durable copy to every other team
tiza @<group> <message...> Send to all non-excluded group members
tiza <group> <message...> Bare group name; a team wins a name collision
tiza <a>,<b> <message...> Several destinations at once: teams, groups, @group or all, mixed
tiza <a>, <b> <message...> The same; spaces around the commas are absorbed
tiza <dest> --file PATH Use a file as a multiline body; - reads stdin
tiza inbox Show unread messages and advance through returned entries
tiza inbox --keep Peek without advancing the cursor
tiza inbox --all Show history rather than only unread entries

A comma-separated destination is resolved completely before anything is sent, so one unresolvable name refuses the whole send and says which name it was. A partial broadcast can never be reported as a complete one. Repeated names collapse to a single copy, and naming yourself does not send the message back to you.

Message files are capped at 256 KiB. The native line frame is capped at 1 MiB. When a destination is temporarily unavailable, a successful send reports queued; retry is automatic.

Human terminal console

tiza chat
tiza chat --plain

Normal mode provides a live bus feed, colors, line editing, UTF-8-aware backspace, cursor movement, persistent Up/Down history, and redraw-safe incoming events. --plain is suitable for limited terminals or redirected input.

Sending:

builder: short message
@release: message to the group
/send builder short message
/msg builder
first line
second line
.
/file builder /path/to/message.txt

In compose mode, a line containing only . sends and /cancel aborts.

Principal console commands:

Command Meaning
/teams Refresh team index
/tree Show hierarchy
/inbox Read the console inbox
/log [n] Show recent bus history
/full <seq> Expand a message cached in this console session
/task ... Task commands
/wf ... Workflow commands
/team ... Team registry
/group ... Group registry
/project ... Project registry
/app ... Application registry and manuals
/header ... Delivery-header settings
/share ..., /files ..., /cat ... Shared-file operations
/fleet, /update ... Fleet status and update
/clear, /quit Clear or exit
/help [topic] Embedded task-oriented manual

The watch stream reconnects from its last processed sequence. The console sends batched acknowledgements only after events have been rendered.

Terminal into a team, and a shell on its host

Command Meaning
tiza attach <team> Watch that team's terminal session, read-only
tiza attach <team> --write Drive it as well, when the caller is allowed to
tiza shell <team> A login shell on the HOST where that team runs

Both are relayed by the hub over whichever route reaches the target, including a host with no inbound route at all, which is reached over the connection it already holds open outward. Both are off by default, and both need the owner of the target host to opt in; the hub cannot override a host that refuses.

attach joins an existing session. shell opens a login shell on the machine underneath it, as an ordinary configured account, so it reaches a host that declares no session at all. Leave a shell with exit or Ctrl-D; leave an attach with Ctrl-b d or Ctrl-] then q.

Read Security model before enabling either. In particular, attach is usually the more direct grant of the two, and hardening the shell account does not contain it.

Tasks

tiza task add <team|-> <title...> [--milestone LABEL] [--parent ID]
tiza task done <id>
tiza task reopen <id>
tiza task delete <id>
tiza task note <id> <text...>
tiza task assign <id> <team|->
tiza task list [open|done|all|STATE] [team|@group]
tiza task show <id>

- means backlog/unassigned. Task states are open strings; done, superseded, and cancelled are terminal in the current engine. A workflow may gate state and assignment changes for linked tasks.

Deleting a task is refused when it is linked to a workflow or has subtasks. Notes are append-only, attributed, and timestamped.

Workflows

wf and workflow are equivalent:

tiza wf create <name> <group>
tiza wf step <name> <team> <milestone...> [--after K[,K...]|0] [--eta 4h]
tiza wf start <name>
tiza wf done <name> [step|-] ["how tested..."]
tiza wf error <name> <why...> [--step N]
tiza wf fixed <name> <what-fixed-and-how-tested...>
tiza wf verify <name> ok|fail [note...]
tiza wf show <name> [--from K] [--depth N] [--detail]
tiza wf tasks <name>
tiza wf list [--mine] [--team TEAM]

Draft editing and history:

tiza wf insert <name> <team> <milestone...> --after K [--eta 4h]
tiza wf remove <name> <step>
tiza wf set <name> <step> team|milestone|after|eta <value...>
tiza wf set <name> eta <duration|off|factory>
tiza wf set <name> strict on|off
tiza wf clone <source> <new-name> [group]
tiza wf history <name>
tiza wf undo <name> [snapshot]
tiza wf save <name> [file.wf.json]
tiza wf restore <name> <file.wf.json>
tiza wf export <name> [file.sqlite|file.sql|file.mmd|file.dot]
tiza wf abort <name> [why...]
tiza wf delete <name> [why...]

--after 0 makes a root. Multiple dependencies form a join. A dependency may also reference another workflow as other-workflow#3. See Workflow Engine for authority and lifecycle rules.

Teams and hierarchy

tiza team list
tiza team show <name> [--detail]
tiza team add <name> <speciality...> [--parent TEAM]
              [--remote HOST[:PORT]] [--session NAME|-]
              [--launch COMMAND] [--prompt TEXT]
tiza team set <name> <field> <value...>
tiza team remove <name>
tiza tree

Settable fields are prompt, speciality, parent, launch, session, user, project, slave, workdir, hold_when_blocked, host, dial, delegate, and secret. Prefer tiza team set <name> secret --file PATH|- so credentials do not enter argument history. secret, delegate, host, and dial require the real console identity rather than delegated team authority.

All team, group, project, application, manual, and application/project changes are committed to the authoritative org.sqlite registry. They do not create or rewrite registry sections in pizarra.conf.

Removing a team does not kill its terminal session and does not erase its task history. Referential and open-work checks may refuse removal.

Groups and projects

tiza group list [name]
tiza group show <name>
tiza group add <name> <team...>
tiza group remove <name> [team...]
tiza group boss <name> <team>
tiza group project <name> <project>
tiza group exclude <name> [team...]
tiza group onidle <name> off|boss|all|team[,team]
tiza group onidlemsg <name> [text...]
tiza group onidlefrom <name> [identity]
tiza group onidlereply <name> [identity]
tiza group onblock <name> alarm|log|default
tiza group header <name> [standing instruction...]

group remove <name> deletes the group; adding team arguments removes only those members. exclude replaces the complete muted set; no members clears it. onblock log records detected permission blocks quietly for the group; alarm selects the loud operator alarm and default clears the group override back to that normal behavior. A non-excluded membership in any log group is enough to make that team's block log-only; another group's alarm does not override it. The real console, a team delegated the group family, or that group's boss may change this policy; an ordinary member may not. The command does not change hold or auto_enter policy.

tiza project list
tiza project show <name>
tiza project boss <name> <team>
tiza project remove <name>

Assigning a boss to a new name creates the project. Removal is refused while teams or groups still refer to it.

Applications

tiza app list [team]
tiza app show <name>
tiza app add <name> --team TEAM [--repo URL] [--path PATH]
             [--purpose TEXT] [--detail TEXT]
tiza app set <name> team|repo|path|purpose|detail <value...>
tiza app remove <name>
tiza app doc <name>
tiza app doc <name> --file FILE
tiza app doc <name> --at <snapshot>
tiza app history <name>
tiza app undo <name> <snapshot>
tiza app project <name> <project> [--role TEXT]
tiza app unproject <name> <project>

Each application has one responsible team but may participate in several projects, with a different role in each. Manuals and changes are historized.

app undo restores application FIELDS. A project link is a separate record, so undo does not bring one back: re-attach it with tiza app project <name> <project> --role "...". That distinction matters most right after an assignment goes wrong, which is exactly when undo looks like the repair.

Delivery-header configuration

tiza header show
tiza header short
tiza header full
tiza header set <key> <value>
tiza header note [standing instruction...]

Supported keys are mode plus the [header] keys described in Configuration Reference; mode selects the [server] header value (short or full). These commands affect context delivered to the whole fleet and require appropriate authority.

Shared files

tiza share <team|console> <file> [note...]
tiza files [team|console]
tiza put [<dest>] <file> [note...]
tiza get <shared-path> [local-file]
tiza cat <shared-path>
  • share copies through a locally mounted shared directory.
  • put uploads over the bus for a host without that mount.
  • get and cat retrieve over the bus.
  • A local share consumer must see the same absolute mount configured as hub [shared] dir; pzweb [web] shared must name it exactly as well.
  • The shared tree is external exchange data, not /var/lib/pizarra state, and is excluded from built-in backup and restore.
  • Transfers are limited to 10 MiB, chunked under the wire cap, and verified by SHA-256 before final publication.
  • Destination basenames begin with an alphanumeric character and otherwise use only letters, digits, dot, underscore, and hyphen.
  • Collisions produce .2, .3, and later names; existing files are not overwritten.

Activity and delivery holds

tiza hold <team> on|off
tiza fleet
tiza ver

Activity sampling is configured per host-daemon session. A reliable blocked report may auto-hold a team when hold_when_blocked is enabled; heuristic reports alarm but do not automatically hold. Manual holds keep messages pending until released.

Backup, restore, and updates

tiza backup [directory] [--force]
tiza backup verify <directory>
tiza restore <directory> --dry-run
tiza restore <directory> --confirm [--force]
tiza update <team|all> [--force]

Backups contain credentials. Verification is local. Restore requires the hub to be stopped and discovers its target configuration explicitly; use a dry run first. Update installs the release published by the hub, not an arbitrary version supplied by the caller.

See Operations Runbook before using these commands.

Local manual and version

tiza --help
tiza manual
tiza wf help
tiza --version
tiza ver

--version reports only the local binary. ver also queries the hub when a configuration is available.

Clone this wiki locally