Skip to content

fix(explore): retain every selectable outcome on expanded result pages - #6982

Open
loopx-agent wants to merge 1 commit into
mainfrom
codex/explore-wide-page-selection-20261021
Open

loopx-agent wants to merge 1 commit into
mainfrom
codex/explore-wide-page-selection-20261021

Conversation

@loopx-agent

Copy link
Copy Markdown
Collaborator

Explore 的显式结果页允许读取 1–20 条结果,但同一个 Todo 的 comparison card 仍只保留前三条。Agent 已经读到第四条及后续结果,直接绑定该结果作为下一探测依据时,却会被写回校验拒绝。

现有 Explore 投影和 stride 校验复用同一个 20 条分页上限,让卡片保留该页全部关联结果;普通写回仍按页坐标、当前 Todo 关联和精确源码摘要重放。默认三条、卡片数量上限、关闭状态、权限和评分语义保持。复用现有 Agent 读取→复盘→写回入口,无新增状态 owner 或配置。

验证(3c10a781b86ef9c65de32a8f65b60e047f9fb08f,base 4e6baa51afdc2ad522012c1f691ae166c9d67e7b):

  • TypeScript 聚焦检查 41 通过。修复前新增用例的 4/20 条选择失败,默认3条通过;修复后覆盖页重放、末条绑定、错误摘要、未保留 Todo、21条越界和 evidence-only 分支。
  • Python 121 通过,含4项真实 File/SQLite CLI 比较与后继测试,以及117项 Explore 读回、结果写回和问题演进回归。新增路径实际读取5条结果、拒绝错误摘要且无写入,再成功持久化第五条的选择。
  • 同输入 base/head 对照:默认三条、Harness关闭、Graph/Harness共同关闭的完整投影逐字节一致。显式20条的一个卡片由11,845B增至14,082B,增加的是原先漏掉的17条精确结果引用;完整 token、时间与任务收益尚未测量。
  • Ruff、diff-scoped semantic advisory(无支持的新词汇载体)、git diff --check 和六文件公开边界扫描通过。共享分页数值上限属于现有结果页合同的局部复用。
  • 完整 control-plane typecheck 仍失败:conversation_binding.ts 有7处 previous 可能为null的错误。不可变base与当前head在独立工作树执行后诊断完全相同,未将其改写为通过,也未扩大本PR修复范围。完整远端CI与评审仍待各自确认。

这是源码和真实CLI路径的修复资格;安装采用、模型如何选择以及科学效果仍需独立验证。已有 Explore/stride 默认和执行权不因读到更多结果而改变。

An explicit Explore page can now bind every linked outcome it displays, through the existing source-replayed selection path. The default three-result and disabled projections are byte-identical to base. Focused TS and real File/SQLite regressions pass; the full typecheck retains seven identical baseline errors. Installed adoption and model-level benefit remain unqualified.

Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant