Skip to content

feat(agents): Claude Code's image installs a protocol whose live atif/1 reads take the header digest and sub-agent cursors - #910

Merged
earakely-scale merged 2 commits into
mainfrom
edgararakelyan/claude-code-live-cursors
Nov 24, 2026
Merged

earakely-scale merged 2 commits into
mainfrom
edgararakelyan/claude-code-live-cursors

Conversation

@earakely-scale

@earakely-scale earakely-scale commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

#903 taught the protocol's live atif/1 reads two things: to send the header only when it changed, and to send a running sub-agent's steps as they close. The shipped Claude Code image doesn't serve them yet. It installs the newest protocol at or above its floor, and it's built again only when its folder changes, so it kept the protocol it had. This raises the floor so the image serves them.

What changes

  • The floor. src/agent_env/agents/agents/claude-code/requirements.txt raises Claude Code's protocol floor from 0.1.640 to 0.1.649, the first release with feat(protocol): a live atif/1 read names the header it holds and how far it holds each sub-agent #903's agent side. Its comment now says what the floor is for.
  • The image. The folder changes, so the image is built again, and the next release publishes it.
  • The card. The image's card then declares the two fields, and the framework's live follow names them.
  • The image-contract tests. Claude Code's and Codex's now check the protocol requirement's shape (the protocol, with its agent extra and a floor) rather than its number. A floor raise used to edit the test in lockstep with requirements.txt; now it touches only requirements.txt, where the number is reviewed.
  • Other agents. Codex and Hermes keep their floors: they serve no atif/1, so the fields mean nothing to them.

Testing

  • Unit: tst/unit/agents/claude_code passes. The two failures are this Mac's known ones, and fail the same way on a clean main here.
  • Real runs with Claude Code (Opus) on a test host, from this branch as it is, about $1.
    • The image installed protocol 0.1.649 from PyPI, so its card declares the fields: every live read on every task named the header digest and sub-agent cursors.
    • Desktop computer-use task: 17 reads, the header sent twice. Reads averaged 10.5 KB, and there were 8 pages. All 6 screenshots were stored, and every live step equals the stored copy's.
    • Two parallel sub-agents: each one's first page was stored before the step that started it closed, from two reads carrying sub-agent steps and no root step. The pages equal the copy's.
    • One sub-agent: its steps and its call's result landed between the same two polls, so no poll fell while it ran. Its pages equal the copy's.

🤖 Generated with Claude Code

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge.

Summary

Raises Claude Code’s protocol floor to 0.1.649 for live atif/1 reads.

  • Claude Code live reads now support header digests and sub-agent cursors.

Reviews (5) · Last reviewed commit: "test(agents): Claude Code's and Codex's ..." · Reviewed by Greptile

…/1 reads take the header digest and sub-agent cursors

Its floor rises to 0.1.649, the first protocol whose task cursor reads name the header the reader holds and how far it
holds each sub-agent, so the shipped image serves them and a live follow gets the header only when it changed and a
running sub-agent's steps as they close.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@earakely-scale
earakely-scale requested a review from a team as a code owner November 24, 2026 06:10
…tocol requirement's shape, not its floor

A floor raise edited the test in lockstep with requirements.txt, where the number is reviewed; the tests now check that
the protocol, with its agent extra and a floor, is the requirement it should be.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@earakely-scale
earakely-scale merged commit 34dfe96 into main Nov 24, 2026
35 of 36 checks passed
@earakely-scale
earakely-scale deleted the edgararakelyan/claude-code-live-cursors branch November 24, 2026 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant