server: session freshness, tail-only status readers for local Claude Code and Codex transcripts
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- javascript
- Domain
- backend
Research direction
Start with the transcript locator in packages/server/src/transcript-sources.js, including its path-containment checks, and the Claude JSONL reader in packages/server/src/jsonl-reader.js. The Codex format is currently marked unsupported in the locator, so that is where the new tail-only reader starts. Done means fixture transcripts for each format yield the last status block and its time, planted content outside that block never reaches the ledger, and bad input yields error. The issue depends on #9279, which is not yet resolved.
Written by the indexing model from the issue text.
Description
Context
packages/server/src/transcript-sources.js(added in #8950 for #7828, part of #7818) already resolves provider transcripts for the closed-conversation endpoint: the Claude JSONL format is supported and the Codex format is marked unsupported.packages/server/src/jsonl-reader.jsreads the Claude format. Related read-only transcript work: #8323 and #6765.- This issue adds readers that keep only the last authored status block of a session and discard everything else. Builds on #9279.
Scope
- Reuse the existing locator and its path-containment checks.
- Tail-only readers: find the last authored status block, keep it and its time, and discard the rest in memory. Add the tail-only reader for the Codex format, which the locator currently marks unsupported.
- One recorded sample read per source confirms the format before any run against real transcripts.
- A test with content planted outside the status block.
Acceptance Criteria
- Fixture transcripts yield the correct last status block and its time, for each format.
- Content planted outside the status block never reaches the ledger.
- An unreadable or changed format yields
error. - The readers open files read-only and never send input to a session.
Dependencies
- #9279
Out of scope
- Reading anything but the tail.
- Any transcript viewer.
- Dominant language
- JavaScript
- Stars
- 7
- Forks
- 1
- Avg merge
- 2h 3m
- Merged PRs (30d)
- 333
Getting set up
- Ships a Dockerfile or Docker Compose file
- No 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 blamechris/chroxy
-
from-review tech-debt testing
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
blamechris/chroxy#9520 ·
Maintainers usually reply within 1 day
-
priority: low server
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
blamechris/chroxy#9340 ·
Maintainers usually reply within 1 day
-
documentation from-review
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
blamechris/chroxy#9237 ·
Maintainers usually reply within 1 day
-
agent-control client: notify() docstring should say the outbound gate applies only in principal modeOpenenhancement from-review
Difficulty 1/5 Under an hour Newbie friendliness 80/100
blamechris/chroxy#9227 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
blamechris/chroxy#9108 ·
Maintainers usually reply within 1 day
All issues in blamechris/chroxy
Similar issues
-
frontend level2 nsoc26
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
Riya-Kharade/PetSathi#401 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
keyxmakerx/Chronicle#3048 ·
Maintainers usually reply within 1 day
-
blast/small refactor risk/medium spend-dem
Difficulty 1/5 Under an hour Newbie friendliness 85/100
chriskelly/MusicWall#85 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day