Watchfire
Components

CLI / TUI

The Watchfire CLI provides scriptable commands while the TUI offers an interactive split-view interface for managing tasks and monitoring agents.

CLI / TUI (watchfire)

The CLI/TUI is the primary interface for developers. A single binary (watchfire) operates in two modes: CLI commands for scripting and automation, and TUI mode for interactive work. It's project-scoped — run from within a project directory.

CLI Commands

Global

CommandAliasDescription
watchfireStart TUI
watchfire version--version, -vShow version (all components)
watchfire help-hShow help
watchfire updateUpdate all components
watchfire initInitialize project in current directory

Project Lifecycle

CommandAliasDescription
watchfire definedefEdit project definition in $EDITOR
watchfire configureconfigConfigure project settings (interactive)

Task Management

CommandAliasDescription
watchfire task listtask lsList tasks (excludes deleted)
watchfire task list --deletedList soft-deleted tasks
watchfire task addAdd new task (interactive)
watchfire task <taskid>Edit task (interactive)
watchfire task delete <taskid>task rm <taskid>Soft delete task
watchfire task restore <taskid>Restore soft-deleted task

Execution

CommandAliasDescription
watchfire runStart chat mode
watchfire run <taskid>Run specific task
watchfire run allRun all ready tasks sequentially
watchfire planGenerate tasks from project definition
watchfire generategenGenerate project definition
watchfire wildfirefireAutonomous three-phase loop

Daemon

CommandAliasDescription
watchfire daemon startStart the daemon
watchfire daemon statusShow daemon info
watchfire daemon stopStop the daemon

watchfire init Flow

1. Check for git → if missing, initialize git repo
2. Create .watchfire/ directory structure
3. Create initial project.yaml
4. Append .watchfire/ to .gitignore
5. Commit .gitignore change
6. Prompt for project definition (optional)
7. Prompt for project settings
8. Save project.yaml
9. Register project in ~/.watchfire/projects.yaml

TUI Mode

Launch by running watchfire with no arguments. The TUI provides a split-view interface:

┌──────────────────────────────────────────────────────────────────────┐
│ ● project-name  Tasks | Definition | Settings    Chat | Logs  ● Idle│
├────────────────────────────────┬─────────────────────────────────────┤
│  Task List                     │  Agent Terminal / Logs              │
│                                │                                     │
│  Draft (2)                     │  > Starting session...              │
│    #0001 Setup structure       │                                     │
│    #0004 Add authentication    │  Claude Code v2.1                   │
│                                │                                     │
│  Ready (1)                     │  > Working on task...               │
│  ● #0002 Implement login [▶]  │                                     │
│                                │                                     │
│  Done (2)                      │                                     │
│    #0003 Create schema   ✓    │                                     │
│    #0005 Add tests       ✓    │                                     │
├────────────────────────────────┴─────────────────────────────────────┤
│ Ctrl+q quit  Ctrl+h help  Tab switch panel           a add  s start │
└──────────────────────────────────────────────────────────────────────┘
InputAction
TabSwitch between left/right panels
j/k or ↓/↑Move up/down in lists
h/l or ←/→Switch tabs
1/2/3Switch left panel tabs
EnterSelect/edit item
EscClose overlay / cancel
Ctrl+qQuit
Ctrl+hHelp overlay

Task Actions

When the task list is focused:

KeyAction
aAdd new task
e / EnterEdit selected task
sStart task (set to Ready + start agent)
rMove task to Ready
tMove task to Draft
dMark done
xDelete (soft)

Left Panel Tabs

TabContent
TasksTask list grouped by status
DefinitionProject definition (press e to edit in $EDITOR)
SettingsGit config, automation toggles

Right Panel Tabs

TabContent
ChatLive agent terminal output
LogsPast session logs per task

TUI Features

  • Mouse support (click, scroll, drag divider)
  • Vim-like + arrow key navigation
  • Resizable panels (40/60 default split)
  • Real-time streaming from daemon
  • Context-sensitive keyboard shortcuts
  • Agent issue banners (auth errors, rate limits)
  • Auto-reconnect on daemon disconnection

On this page