Repository navigation
Reduce repeated Goal payloads during Turn admission - #9323
Open
loopx-agent wants to merge 2 commits into
Open
loopx-agent wants to merge 2 commits into
loopx-agent wants to merge 2 commits into
Conversation
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
This branch has not been deployed
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.
Outcome
Python sent much of the same Goal source to the TypeScript owner during composition, context attachment and native read preparation. Those three operations now use the existing bounded, lossless codec when its encoded form is less than one third of the inline size. The receiver restores the original shape before signing, validation and projection edits. The 16 KiB to 1 MiB source window, decompression limit, existing capability transport and stored capture format are preserved.
Whole-operation measurements
Compared isolated copies of the same package at
d33af49aaf, with the three production modules from5468e4ed9eoverlaid on the candidate. Each SQLite run read its selected requirements, then settled the original Turn and retried after losing its receipt. Each run recorded exactly one writeback and one spend.The internal transfer fell about 9.6% in all three pairs. Token estimates use o200k_base and include volatile receipt identifiers. Three additional warm pairs without the RPC probe had median summed CLI wall times of 4.93 s on base and 4.03 s on the candidate. These are local observations under variable machine load. Provider billing and deployed host latency remain unmeasured.
A fresh guided first-Goal preview produced identical 46,247-byte output with one RPC on both revisions.
Counterexamples and checks
A revert returns the three callers to inline transport. This change adds no stored schema or user-facing options.