Repository navigation
A batch receipt's summary keeps every operation: each is summarized by its own typed verb (Codex's #5422 blocker, card 83384e44) - #5424
Merged
Conversation
…y its own typed verb (Codex's #5422 blocker, card 83384e44) result_summary tried Shape::Code over an act's whole combined receipt, and levels::outline drops every unnumbered line after the first numbered one: a long read followed by an error, or by a second file, kept only the first read's declarations, and the Output fallback never ran once Code met the quarter bound (Codex, #5422 comment 6400580748; it merged open, and my PASS missed it). It now builds the level per OPERATION from its typed verb: a read takes its outline (else its ends), any other output its head and tail; several operations are each summarized under their call's name, a part with no smaller level kept whole, and the whole is offered only within the quarter bound. Fixture through record_receipt_typed: read+error keeps the error, read+read keeps both files' headers, a lone shell log keeps its ends and never takes a code outline. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
…ach act's recency header over its humanized body (Codex on #5424) The many-operation branch summarized each act's raw content, which is the executor's serialized JSON: a read's numbered lines are escaped there, so no code level was found and the escape-soup either stayed or failed the quarter bound, while the single-act branch read the rendered receipt. Observation::render_summary_part renders an act as the receipt does (its name and args by the recency fold, then body_text, the one humanizing decode) with the body at its level, so both branches read the same seam and each part keeps its call's typed path. The fixture now uses real serialized ReadResults and a failed result through record_receipt_typed, the receipt rendered by render_recency: the error survives, both files' paths and outlines survive, and a shell log keeps its ends. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
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.
Why
This repairs Codex's blocker on #5422 (comment 6400580748), which merged with it open; my PASS there missed it.
result_summarytriedShape::Codeover an act's whole combined receipt, andlevels::outlinedrops every unnumbered line after the first numbered one. So a long read followed by an error, or by a second file, kept only the first read's declarations, and the Output fallback never ran once Code met the quarter bound. A resident's view would then show her an outline missing the error she needs.Change
result_summary(result, acts)builds the level per operation from its typed verb (ToolOutput.verb):LEVEL_RATIO).Test
a_batch_receipts_summary_keeps_every_operation, throughrecord_receipt_typed:CI is the compile; no cargo runs beside enrico's lanes.
🤖 Generated with Claude Code
https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE