Repository navigation
Releases
wfwatch 0.6.1 – grouped CLI subagents
wfwatch 0.6.1 – grouped CLI subagents
Codex and OpenCode sessions launched by a Codex agent now appear beneath their parent instead
of as duplicate top-level sessions. Orca-created Codex chats are linked using its local native-ID
mapping. Links require exact session identities; a shared project directory is never sufficient.
The patch also handles redirected output and Windows file URIs. Regression tests cover nested
agents, repeated scans, completion, missing parents, changed transcripts, conflicting links and
unavailable Orca databases. Unsupported wrappers and launches without verifiable identities
remain separate.
Update
uv tool install --force 'git+https://github.com/zamirka/wfwatch.git@v0.6.1'Restart an already running monitor after updating. Existing plans and agent configuration are
preserved. To roll back, install the same URL with @v0.6.0.
Validation
Release artifacts are the wheel, source distribution and SHA256SUMS. CI runs on the tagged
commit; tests use synthetic provider stores. See grouping validation
for the regression matrix and implementation boundaries.
Local release checks: 696 passed / 1 skipped from the checkout; 688 passed / 9 skipped from
the source distribution, both with encoding warnings treated as errors. Clean-wheel installation
acceptance, Ruff and strict Twine metadata validation passed. Distribution files and checksums
are saved under dist/0.6.1/ and attached to the GitHub release after the CI gate.
wfwatch 0.6.0 – optional Codex plans
Codex plans without a native update_plan tool
wfwatch 0.6.0 adds an optional companion skill and session-scoped plan commands. Plans survive
restarts, stay separate across parallel threads, and use revision checks to reject stale updates.
The monitor continues to read native Codex/OpenCode plans without setup.
Installing the package does not change Codex configuration. To opt in:
wfwatch codex setup
wfwatch codex setup --apply
wfwatch codex statusSetup previews changes, backs up originals, preserves personal instructions and refuses conflicts.
Re-run setup after package upgrades to update the skill. wfwatch codex remove --apply removes
only managed integration content and preserves plans. Use --home or CODEX_HOME for other homes.
Strict approval before all tools, including reads, is a separate choice:
wfwatch codex setup --require-approval --applyStart a new Codex session after setup. These are behavioral instructions, not a runtime tool lock;
approval references are agent-reported metadata, not authenticated consent.
Readable plans and navigation
- Long titles wrap in the diagram column and selected-stage block.
- Up/Down select stages; Home/End jump to the first/last;
ffollows the active stage. popens the full plan with line/page scrolling; Escape returns.- Missing plans show setup help; file errors are distinguished from missing records.
- The skill encourages short action titles, usually 3–7 words.
Also included: stale workflow startup and OpenCode activity/replay fixes, and refreshed English
and Russian documentation. Restart running wfwatch processes after updating.
Verification
Local full suite: 686 passed, 1 skipped. Source distribution: 678 passed, 9 skipped.
Clean-wheel acceptance covers setup, both modes, updates, separate sessions, rendering and removal.
A live test with codex-cli 0.171.0 observed zero tool operations before approval, then verified the
requested file and completed plan after approval in a writable test workspace. A read-only resume
stopped rather than claiming success. This is an observed acceptance case, not a universal guarantee.
See setup and limitations
and validation details.
wfwatch 0.5.1 – OpenCode session plans
OpenCode sessions can now show their plan.
- An experimental
todowritechecklist becomes the session plan: completed/total and the step in progress in the overview, the full list in cards view. - Every call carries the whole list, so the latest call replaces the plan, an empty list clears it, and cancelled items are left out.
- The activity log shows
Todo 1/3 · the current stepinstead of the raw tool input. - A malformed todo list changes nothing and hides no other tool.
Update:
uv tool install --force 'git+https://github.com/zamirka/wfwatch@v0.5.1'wfwatch 0.5.0 – OpenCode sessions
OpenCode sessions beside Claude Code and Codex.
- Local OpenCode sessions from
~/.local/share/opencode/opencode.db(XDG andWFWATCH_OPENCODE_DBare honoured), read in SQLite read-only mode: model, tokens, tool calls, the shared activity log, child sessions grouped under their root, and subagent reports. - Background commands show their output file, last line, exit code and, on macOS and Linux, the process that writes them. A command started by a child session is visible on the root card.
- A message row is rewritten in place while the agent streams: the reader keeps a watermark, re-reads a recent tail and re-applies a row when its stored JSON changed, so two updates in one millisecond are both seen. A finished task is never resurrected, and a session or child silent for an hour stops counting as working.
scripts/demo_data.py --opencodewrites a small database for trying it without sessions of your own.- Docs: OpenCode parity audit.
The database schema belongs to OpenCode and may change between versions; a schema this reader does not know is reported as its own error, leaving the Claude Code and Codex readers untouched.
Update:
uv tool install --force 'git+https://github.com/zamirka/wfwatch@v0.5.0'wfwatch 0.4.1 – Codex workflow plans
Codex plans now use the workflow phase diagram.
- The phase column shows recorded completed, active and pending steps; the selected step connects to the session block.
- The overview shows completed/total progress and the active step.
- Plans are restored from local rollout history and updated incrementally from
update_plancalls andplan_updateevents. - Long plans remain reachable in cards view (
v, then PgUp/PgDn). Child threads keep separate plans.
Codex must explicitly record a plan. Steps are not inferred from messages or command activity, and ending a turn does not complete the checklist.
Update:
uv tool install --force 'git+https://github.com/zamirka/wfwatch@v0.4.1'wfwatch 0.4.0 – Native Windows support
Native Windows support is now available without WSL.
- Full-screen keyboard input uses the Windows console, including arrow keys and navigation keys.
--listand--oncewrite UTF-8 when redirected to a file or pipe on Windows.- Out-of-range Windows process IDs are rejected.
- CI covers Windows, macOS and Linux on Python 3.10–3.14.
On Windows, use Windows Terminal or another console with escape-sequence support. Background commands are displayed, but process details, CPU usage and discovery of redirected output files remain macOS/Linux-only.
Thanks to @Takiyo0 for the contribution in #4.
Install or update:
uv tool install --force 'git+https://github.com/zamirka/wfwatch@v0.4.0'
wfwatch --versionwfwatch 0.3.2
Fix false Codex background activity that could persist for days.
- Match sequential code-mode command launches and polls with their own output/exit result, including cells that yield and resume through functions.wait.
- Parse lifecycle headers only in protocol positions. Printed source code and command output no longer invent tasks.
- Require command-specific output or positive process evidence to preserve background work beyond an hour. An open session file alone is insufficient; stale tasks never receive invented exit codes.
- Keep positively observed long-running commands visible and handle malformed timestamps without crashing discovery.
The local investigation found 50 unconfirmed tasks across four old sessions. Corrected replay removed the old false activity without terminating any processes. Unit/e2e regressions cover all three causes, continuations, quoted argument keys and long-running process preservation.
Full local verification: 580 passed, one Linux-only skip on macOS; Ruff, wheel/sdist build and strict metadata checks passed. See GitHub CI for the supported OS/Python matrix.
wfwatch 0.3.1
Fix phantom background tasks for completed Codex code cells.
Identifiers such as g5:26 are now preserved in full. Previously wfwatch truncated them to g5, merging distinct cells and failing to match their completion records. A regression covers multiple cells in one generation and their independent completion.
The fix was checked against the two affected local sessions: both have recorded completion events and neither retains running background tasks after replay.
wfwatch 0.3.0
Local Codex CLI/app sessions now appear alongside Claude Code, with nested agents, shared activity, tokens and background work.
- Track
exec_command,write_stdin, code-mode results and yielded code cells through completion, failure and interruption. - Keep long silent agents visible using verified rollout writers; show associated child processes, CPU and redirected output.
- Recover commands at startup, preserve nested work after parent completion, and handle out-of-order results, replaced transcripts and large image records.
- Include the historical Claude-to-Codex audit, English/Russian documentation, security notes and unit/e2e regressions.
Local verification: 569 passed, 1 platform-specific skip, including explicit-encoding mode. The clean wheel passed 32 Codex tests; sdist tests passed 562 with 8 documented source/platform skips. Ruff, build and strict Twine checks passed. GitHub CI covers the complete supported OS/Python matrix.
Data-source boundaries: web-only ChatGPT conversations and Claude Workflow phase journals are not Codex rollouts; exact approval state is not reliably recorded. Unknown process exits are marked stale without inventing an exit code.
Install:
uv tool install --force 'git+https://github.com/zamirka/wfwatch@v0.3.0'wfwatch 0.2.2
Fixed
- A session running a background command that wfwatch does not find in its transcript, such as a
Monitor, no longer vanishes from the overview. Claude Code gives such a session the status
shell, which wfwatch did not know: the session looked idle and was not listed at all. It now
shows as "◐ background task" while the status holds, only without the command.
Update: uv tool upgrade wfwatch or pipx reinstall wfwatch.