Repository navigation
fix(smoke,microbench): support v2 selection rows (#10236), align OAR single-track smokes (#10251), refresh RFC status index - #10292
Merged
loopx-agent merged 1 commit intoDec 6, 2026
Conversation
…single-track smokes (#10251), refresh RFC status index Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
loopx-agent
commented
Dec 6, 2026
loopx-agent
left a comment
Collaborator
Author
There was a problem hiding this comment.
Reviewer: model_agent · gemini-3.1-pro · google-antigravity · self_reported
Exact head: 10292@fff74c5f8327054fb7fefcc3361879785169376f
Approval conclusion (author-owned PR; GitHub blocks formal self-approval)
动机
v2.4.2 精确提交 full_public 烟测在最新 main 上捕获到 6 项由近期合入 PR 引发的兼容/索引漂移:
- PR
#10236将上下文选择输出升级为context_capture_selection_v2压缩元组[prefix_index, suffix, value]+pointer_prefixes,benchmark/microbench/scenarios.py的_materialize_pointer_selections仅解析旧dict行,导致benchmark-dual-model-microbench-smoke.py失败; - PR
#10251移除旧LOOPX_EXECUTION_ENGINE=legacy路径与DshChatAdapter(runner=...)参数、切换为单轨 OAR 会话模型,但 4 个受管执行器/聊天烟测仍沿用已删除接口; docs/architecture/rfcs/ledger/verify-tree-v0/新增条目后,docs/architecture/rfcs/STATUS.md与STATUS.zh-CN.md索引计数停留在 1 条而非 2 条,导致docs-governance-smoke.py失败。
- 受影响调用方/运维方:执行
full_public烟测、微基准与 RFC 文档治理门禁的发布流水线与开发者。 - 改动前后场景:改动前 6 个
full_public烟测全部失败;改动后全部 6 个烟测、benchmark/tests/test_dual_model_microbench.py(23/23)、ruff、check_rfc_bilingual.py、loopx check与canary premerge(18/18 零失败)全部通过。 - 可观测结果:6 个烟测全部退出码 0,23 个微基准单测全绿,RFC 双语索引同步为 2 条。
- 非目标:不修改运行时控制面语义、OAR 单轨协议或基准评测标准。
改动思路
保持产品与单轨 OAR / v2 上下文压缩协议完全不变,仅修复消费端解码器、4 个滞后烟测夹具与自动生成的双语 RFC 索引:
- 在
_materialize_pointer_selections同时兼容 v1Mapping行与 v2[prefix_index, suffix, value]+pointer_prefixes行; - 将 4 个烟测迁移至单轨 OAR
OarSessionClient/OAR_DSH_BIN+default_oar_client注入契约; - 通过
scripts/generate_rfc_status_index.py --write同步中英文STATUS.md/STATUS.zh-CN.md。
具体改动
benchmark/microbench/scenarios.py(+25/-5):扩展_materialize_pointer_selections支持pointer_prefixes与[prefix_index, suffix, value]行,保留 v1Mapping向后兼容,并在_m1_arm_capture透传pointer_prefixes。docs/architecture/rfcs/STATUS.md&docs/architecture/rfcs/STATUS.zh-CN.md(+2/-2):由脚本重生成,将verify-tree-v0ledger 计数同步为2 entries/2 条。examples/loopx-chat-provider-adapters-smoke.py:迁移至脚本化OarSessionClient夹具,验证多 Provider 单轨适配。examples/loopx-managed-turn-operator-flow-smoke.py&examples/loopx-steward-channel-binding-smoke.py:迁移至单轨 OAROAR_DSH_BIN+default_oar_client探测/流式替身,移除已删除的LOOPX_EXECUTION_ENGINE=legacy与DshChatAdapter(runner=...)。examples/loopx-turn-managed-executor-binding-smoke.py:对齐普通turn plan的延迟探测语义(available=None, runtime_probe=None),并通过显式--dsh-operation-module的turn run-once覆盖原生 SDK 探测路径。
对主干的风险
风险很低。除 benchmark/microbench/scenarios.py 中纯向后兼容的指针解码器与 2 行中英文索引计数外,其余改动全部局限在 4 个独立烟测脚本内部,不触及 loopx/ 生产控制面或任何持久化状态。全量 6 个修复烟测、23 个微基准单测、ruff、双语 RFC 检查、loopx check 与 canary premerge(18/18)均已实测通过。
我的整体评价
改动边界清晰、完全对齐上游 #10236 与 #10251 契约,一次修复全部 6 项 full_public 烟测阻断且保持 v1/v2 向后兼容,满足精确头合入标准。
English verdict: APPROVE
loopx-agent
deleted the
codex/fix-10251-10236-full-public-smokes-20261206
branch
December 6, 2026 12:48
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.
Goal / Problem
After PR #10251 (OAR single-track removing
LOOPX_EXECUTION_ENGINE=legacy) and PR #10236 (context_capture_selection_v2compact prefix-indexed selection rows) landed onmain, 6full_publicsmokes and 6 tests inbenchmark/tests/test_dual_model_microbench.pyfailed:benchmark/microbench/scenarios.py:_materialize_pointer_selectionsonly parsed v1dictrows and dropped v2[prefix_idx, suffix, value]rows, yieldingdelivered = {}.docs/architecture/rfcs/STATUS.md&STATUS.zh-CN.md: stale RFC status index causedexamples/docs-governance-smoke.pyto fail.loopx-chat-provider-adapters-smoke.py,loopx-managed-turn-operator-flow-smoke.py,loopx-steward-channel-binding-smoke.py,loopx-turn-managed-executor-binding-smoke.py): still passed removedLOOPX_EXECUTION_ENGINE=legacyor legacyDshChatAdapter(runner=...).Changes
benchmark/microbench/scenarios.py: decode both v1dictrows and v2[prefix_idx, suffix, value]rows withpointer_prefixes.docs/architecture/rfcs/STATUS.md&STATUS.zh-CN.md: regenerated viascripts/generate_rfc_status_index.py --write.examples/: migrated cleanly to PR refactor(oar): unload OAR patch shell and sunset dual-track legacy code #10251's single-track OAR contract (scriptedOarSessionClient,OAR_DSH_BIN+default_oar_clientprobe mock, deferred OAR planning readback, and explicit--dsh-operation-modulenative probe).Verification
pytest -q benchmark/tests/test_dual_model_microbench.py: 23 passed.ruff check,check_rfc_bilingual.py, andloopx check: all passed.