Repository navigation
Drop the fork-answer paths #5552 left: clerk.queue and response-times' fork_reply row - #5599
Merged
Merged
Conversation
…' fork_reply row Since #5552 a fork of a Claude Code session posts only the agent's working line and always hands the thread over, so no fork answers a message and none queues a line for the session. What still assumed one: - `clerk.queue` had no caller left; `_append` is the clerk's one way to queue. - `leaf-dev response-times` skipped the reply breakdown, pickup and commands of an input "a fork answered", keyed on a `reply` field no fork record carries, and printed a `fork_reply` row that could never fill. The summary now has `fork_hand_over` alone, and `delivered` covers every opened input. - The `hook_transport`, `delivery.deliverable`, `session-lifetime.md` and `leaf-dev journey` prose (and `--forks` help) said a fork may answer. The journey test's first fork record now has the shape `forks.take` writes: a hand-over with its working line, whose comment keeps the session's reply breakdown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Since #5552, a fork of a Claude Code session posts only the agent's working line and always hands the thread over (
forks.pyheader). No fork answers a message any more, and none queues a line for the session. This PR removes the code and prose that still assumed one could. Users see no change. The one tool whose output changes isleaf-dev response-times: its summary loses thefork_replyrow, which could never fill.clerk.queuehad no caller left._appendis now the clerk's only way to queue a line.leaf-dev response-times. It left out the reply breakdown, pickup wait and command time of any input "a fork answered", detected by areplyfield that no fork record has carried since Show the agent's working line from a fork at once, and read On it from the fork's start #5552. The summary'sfork_replyrow is gone, anddeliverednow covers every opened input. RootAGENTS.md, "Stage", treats records from earlier runtimes as disposable, so nothing is kept for them.hook_transportheader and composer comment,delivery.deliverable,src/leaf/session-lifetime.md, theleaf-dev journeyheader and the--forkshelp all said a fork may answer or post a reply through the clerk's queue. They now describe the hand-over.dev/tests/model/test_journey.py::test_a_comment_a_fork_decided_on_keeps_the_forks_recordnow builds its first fork record the wayforks.takewrites one: a hand-over with its working line. Its comment keeps the session's reply breakdown.dev/tests/model/test_journey.py,dev/tests/model/test_response_times.py,tests/model/test_clerk.pyandtests/model/test_forks.pypass locally. There is no regression test, because no behavior a user depends on changed.