Environment
- codeburn CLI: 0.9.12
- Menubar: v0.9.13
- macOS: 26.5.1 (Build 25F80)
- Node: v25.3.0
What happens
After installing via codeburn menubar, the menubar app launches but
immediately shows:
Couldn't load Today
decode(DecodingError.dataCorrupted: Data was corrupted. Debug description:
The given data was not valid JSON.. Underlying error: Error Domain=NSCoco...
Clicking Retry does not resolve it.
What I checked
codeburn today --format json works and outputs valid JSON (~1s)
codeburn status --format menubar-json works and outputs valid JSON (~1s)
~/.cache/codeburn/menubar-status.json was NOT created by the menubar app
on launch — had to write it manually
~/Library/LaunchAgents/com.codeburn.refresh.plist was NOT installed by
codeburn menubar
- App is not sandboxed, no quarantine attributes
- Killed and relaunched the app — same error persists
Expected
Menubar loads today's usage data on launch.
Suspected cause
The menubar app may not be successfully running the CLI as a subprocess
(possibly due to the app's subprocess PATH not including /opt/homebrew/bin),
and falls back to reading a cache file that doesn't exist yet, producing the
decode error.
Environment
What happens
After installing via
codeburn menubar, the menubar app launches butimmediately shows:
codeburn today --format jsonworks and outputs valid JSON (~1s)codeburn status --format menubar-jsonworks and outputs valid JSON (~1s)~/.cache/codeburn/menubar-status.jsonwas NOT created by the menubar appon launch — had to write it manually
~/Library/LaunchAgents/com.codeburn.refresh.plistwas NOT installed bycodeburn menubarExpected
Menubar loads today's usage data on launch.
Suspected cause
The menubar app may not be successfully running the CLI as a subprocess
(possibly due to the app's subprocess PATH not including /opt/homebrew/bin),
and falls back to reading a cache file that doesn't exist yet, producing the
decode error.