Repository navigation
wfwatch 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.