Context gauge for Codex team members (TODOS.md)
Maintainers usually reply within 2 days
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 22/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- devtools
Research direction
Start with readContextTokens, which only parses Claude Code transcripts, and with findRollout in codexUsage.ts, which already locates the Codex rollout file. Read the last token_count event and its last_token_usage field to see the context size. Done means a Codex agent's context gauge shows a value, covered by tests using sample rollout files. Pull request #415 is already open against this issue, so check it before starting.
Written by the indexing model from the issue text.
Description
Problem / motivation
The context gauge stays empty for a Codex team member. hive:agentContext reads the agent's transcript with readContextTokens, which only understands Claude Code's transcript format. TODOS.md lists this under "Make a second engine (Codex first) ready for an office", gap 2: "the context gauge for Codex (readContextTokens reads only the default engine's transcripts)".
Proposed solution
For a Codex agent, read the context size from its rollout file, which the app already finds for usage (findRollout in codexUsage.ts): the last token_count event's last_token_usage. Tests with sample rollout files.
I'd like to take this one and will open a PR.
Screenshot, mockup or recording
No response
Alternatives considered
No response
Area
Other
Pre-flight
- I attached a screenshot, mockup or recording above.
- I searched existing issues and discussions, and this isn't a duplicate.
- Dominant language
- TypeScript
- Stars
- 273
- Forks
- 211
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 385
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
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 agentvivekkumar/dontbemichael
-
auto-report
Difficulty 4/5 3-5 days Newbie friendliness 35/100
agentvivekkumar/dontbemichael#667 · 2 comments ·
Maintainers usually reply within 2 days
-
auto-report
Difficulty 4/5 3-5 days Newbie friendliness 35/100
agentvivekkumar/dontbemichael#665 · 2 comments ·
Maintainers usually reply within 2 days
-
auto-report
Difficulty 4/5 1-2 days Newbie friendliness 35/100
agentvivekkumar/dontbemichael#661 · 3 comments ·
Maintainers usually reply within 2 days
-
Difficulty 5/5 Over a week Newbie friendliness 28/100
agentvivekkumar/dontbemichael#607 · 1 comment ·
Maintainers usually reply within 2 days
-
Give Fable a tier and a pricePossibly taken @sahibsiddiqui claimed this 12 days ago. Openenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 15/100
agentvivekkumar/dontbemichael#556 ·
Maintainers usually reply within 2 days
All issues in agentvivekkumar/dontbemichael
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
🔊 a11y
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
betagouv/mon-entreprise#4726 ·
Maintainers usually reply within 9 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Deltares/fews-pi-requests#357 ·
Maintainers usually reply within 1 day
-
bug confirmed js v6
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day