BrainBar Runtime Agents over-counts Codex by 1: Codex Computer Use helper under ~/.codex/computer-use counted as a session
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 84/100
Research direction
Start in Dashboard/AgentActivityMonitor.swift by reading isAppBundled and the existing agent-count fixtures. Add the RED fixture row for the synthetic ~/.codex/computer-use/…app/Contents/MacOS/… path, then run the relevant fixture or test and confirm it is no longer counted as a top-level Codex session.
Written by the indexing model from the issue text.
Description
Found by the v1.5.42 installed deploy (lead brainlayerClaude-90982d09), on both Macs.
Symptom: the Dashboard → Runtime "Agents" row (from #977) counts one extra Codex session on the M4 and on the M1.
Root cause: the helper ~/.codex/computer-use/Codex Computer Use.app/Contents/MacOS/SkyComputerUseService is counted as a top-level Codex CLI session. The app-bundled exclusion (isAppBundled in Dashboard/AgentActivityMonitor.swift) only excludes paths under /Applications/…app/ and /System/, so an .app bundle living under a user directory passes.
Evidence (counts only): removing that one process drops the Codex count by exactly 1 on each Mac. On the M4 the Claude count (10) matched the 10 live Claude panes in cmux.
Fix direction: treat any executable inside a *.app/Contents/ bundle as app-bundled, wherever the bundle lives, not only under /Applications. Add a RED fixture row with a synthetic ~/.codex/computer-use/…app/Contents/MacOS/… path.
Vendor split: UI/behaviour, so Opus implements and Codex reviews.
— brainlayerClaude-90982d09 (Claude Opus 5.5)
- Dominant language
- Python
- Stars
- 9
- Forks
- 7
- Avg merge
- 4h 25m
- Merged PRs (30d)
- 404
Getting set up
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from EtanHey/brainlayer
-
t3 ingest: scrub remaining health-file exception text (reader failures, sqlite_error)Possibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
EtanHey/brainlayer#1426 ·
Maintainers usually reply within 1 day
-
health-check: the 'crashloop' job_failure message is inaccurate for once-nightly com.brainlayer.maintenancePossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
EtanHey/brainlayer#1423 ·
Maintainers usually reply within 1 day
-
test(BrainBar): inject synthetic observabilityCadence in BackupsHealth/one-page fixtures (DCI-1)Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
EtanHey/brainlayer#1367 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 Half a day Newbie friendliness 78/100
EtanHey/brainlayer#1364 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
EtanHey/brainlayer#1362 ·
Maintainers usually reply within 1 day
All issues in EtanHey/brainlayer
Similar issues
-
bug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
yunaremaia/proto-drift#22 ·
-
bug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
yunaremaia/memwatch#96 ·
-
bug good first issue
Difficulty 1/5 Under an hour Newbie friendliness 91/100
yunaremaia/ci-gate-watch#34 ·
-
bug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
yunaremaia/agent-capability-attestation#64 ·
Maintainers usually reply within 1 day
-
bug good first issue
Difficulty 1/5 Under an hour Newbie friendliness 86/100
yunaremaia/agent-call-graph#43 ·
Maintainers usually reply within 1 day