Repository navigation
fix(context): keep bounded native references readable - #7735
Open
loopx-agent wants to merge 1 commit into
Open
loopx-agent wants to merge 1 commit into
loopx-agent wants to merge 1 commit into
Conversation
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.
原生
quota should-run已经完成准入后,较长的捕获路径会与重复的分页说明一起撑破调用方的 4 KB 输出上限,最终返回quota_decision_transport_failed。本 PR 使该路径仍能返回可读的原始捕获引用。复用 saved projection 已有的引用构造逻辑,统一 guard 与
context-project的 path、digest 和有界读取命令。导航保留在外层;完整分页与截断恢复说明使用同一常量,随首个有界全文页返回。历史无界响应保持兼容,原始捕获、准入和结算身份不变。同步了中英文使用说明。验证版本:
af1808afb6fc7073f534c4875840cef9a0b2e0ad,不可变基线a2c8c940c36e046beaef728750f2451bc46458d0。同一 33,657 字节合成捕获、7,900 字节输出上限下,引用由 4,978 降至 3,857 字节;完整投递计入首次分页说明后由 41,488 降至 41,330 字节,读取仍为 5 次。4 KB 路径由拒绝恢复为可用,该更小预算需要 10 次读取。此证据仅说明传输修复,不证明模型决策、实际 App 采用或长期成果收益。
这是可独立回滚的现有传输路径修复,可先于 #7430 合并;没有引入新的决策 owner、状态或协议选项。C1 的完整契约切换、旧 reader 退出和原 quota 单会话成果/完整成本验收仍保留在原任务。精确版本 change-quality 记录为 pass;合并留给维护者。