Repository navigation
Conversation
Signed-off-by: aihop <4408344+hhyykk@users.noreply.github.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Signed-off-by: aihop <4408344+hhyykk@users.noreply.github.com>
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent · gpt-6.2-sol · OpenAI · runtime_reported · xhigh
[P2] 五页耗尽会压住已核验的独立信号。 配置了 GitHub 仓库的信号 Monitor 遇到超过 100 个开放 PR 的仓库。五个 20 项页面都返回 hasNextPage=true。 仓库触发上限时,每次轮询都会进入现有恢复分支。监控窗口不变时,它无法通过再次读取恢复,独立委托和 Goal 变化可能都无法唤起后续处理。 保留末页校验,给持续超限的仓库一个有界的完整读取路径,或用现有信号 owner 隔离仓库失败,让已独立验证的 Inbox/Portfolio 变化继续产生后续任务,同时保留上次完整的仓库状态。 保留第五页刚好终止、损坏元数据和游标循环测试,新增六页仓库和一个已验证的新委托,断言不从截断清单判定 PR 消失,且独立 Inbox 信号仍能形成后续任务。 分页上限 收集与重试
动机 / Motivation
使用 Steward 同时跟踪 GitHub PR、待处理委托或 Goal 变化的操作者。 旧采集器读满五页就返回已读的清单。GitHub 仍有下一页时,清单可能因列表排序变化而丢失条目,造成虚假的 PR 变化。 用 loopx-project/loopx 当时的五页真实 GraphQL 响应复放,基线返回 100 项。 新头返回 unavailable,保留上次快照的 hash。把同一个新增委托代入真实 Core,基线能检测到它,新头标记 observation_incomplete、不给出 material_change,只监控委托时仍能检测到它。 PR 不再用截断清单推断删除。持续超过 100 个开放 PR 时,绑了该仓库的组合 Monitor 也会停止发布其他已完整读取的信号。 验证覆盖真实公开仓库响应、同响应复放和本地 Core。Lean 模型做了源码核对,运行结果和远端 CI 未复验。 GitHub GraphQL 分页
改动思路 / Approach
接受明确的 hasNextPage=false。继续页要求非空且没有出现过的 cursor,预算耗尽或元数据无效由现有 unavailable 返回。 GitHub collector 判断分页是否完备。Core 依据仓库、Portfolio、Inbox 计算观察结果。collect_signal_monitor 负责快照和后续任务。 第五页明确结束时仍返回完整清单,异常响应、游标循环和身份无效的 PR 节点会阻止发布。节点校验消除了另一处缺项误报。这个判断纠正了截断时的误报。组合监控的失败出口也需要区分仓库数据不足与其它来源的已验证变化。
具体改动 / Changes
精确提交 80cab8f0b9f9ddb3c8e22a19e36ad86fd9b785f8 对照 509360fb0d3e9e6e578ddf5c12db587886016b23。3 个文件增加 261 行、删除 11 行。生产代码在上一提交的末页和循环检查上补齐 row identity 校验,要求每个节点都带正整数 PR 编号。Python 回归覆盖第五页、坏元数据、游标循环、空或非整数编号和合法空列表。Lean 模型增加节点身份验证,未建模组合信号。 explicit-terminal 已覆盖末页判断,valid-row-identity 已覆盖无效节点。 independent-inbox 在组合 Monitor 上复验失败。
observe_github_repository_prs核对末页和游标。完整时沿现有路径汇总 PR,预算耗尽时从函数返回 unavailable。 采集器observeStewardSignalMonitor在组合其它信号之前处理仓库 unavailable,并保留先前的 hash。 Corecollect_signal_monitor对 incomplete 抛出暂时不可用,发生在保存快照与生成后续任务之前。 调用方
对主干的风险 / Risks
分页和 Steward monitor 合同的 40 项 Python 测试通过。19 项 Core 测试通过,覆盖正常、不可用和未启用仓库观察等路径。 在真实 GitHub 返回的五页各 20 项上,当前逻辑对每页都看到了继续标记。把采集结果与同一合成 Inbox 事件一起交给 Core 复放,复现了同 Tick 的独立信号被压住。没有配置仓库的观察仍能发出该事件。这个影响来自实际 collector 与 Core 路径,Lean 模型的分页结论与之相容。
我的整体评价 / Verdict
保留严格的末页判断。补齐超限仓库的有界恢复,或让组合 Monitor 保留上次完整仓库快照并单独处理已核验的其它来源,再用上述复合输入跑回归。改动触及后台采集、Core 信号和后续任务条件,未改 App 或 Lark 的页面渲染。
English verdict: REQUEST_CHANGES at 80cab8f. The terminal-page guard prevents false removals, but a real five-page GitHub cap stalled independent inbox observation in the existing composite monitor. Forty Python and nineteen Core tests passed, and matched wire replay reproduced the availability regression.
Signed-off-by: aihop <4408344+hhyykk@users.noreply.github.com>
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent · gpt-6.2-sol · OpenAI · runtime_reported · xhigh
[P2] 五页耗尽仍会压住已核验的独立信号。 配置了 GitHub 仓库的信号 Monitor 遇到超过 100 个开放 PR 的仓库。五个 20 项页面都返回 hasNextPage=true。 仓库触发上限时,每次轮询都会进入现有恢复分支。监控窗口不变时,它无法通过再次读取恢复,独立委托和 Goal 变化可能都无法唤起后续处理。 保留末页校验,给持续超限的仓库一个有界的完整读取路径,或用现有信号 owner 隔离仓库失败,让已独立验证的 Inbox/Portfolio 变化继续产生后续任务,同时保留上次完整的仓库状态。 保留第五页刚好终止、损坏元数据和游标循环测试,新增六页仓库和一个已验证的新委托,断言不从截断清单判定 PR 消失,且独立 Inbox 信号仍能形成后续任务。 分页上限 收集与重试 上一轮评审
动机 / Motivation
使用 Steward 同时跟踪 GitHub PR、待处理委托或 Goal 变化的操作者。 旧采集器读满五页就返回已读的清单。GitHub 仍有下一页时,清单可能因列表排序变化而丢失条目,造成虚假的 PR 变化。 用 loopx-project/loopx 的五页真实 GraphQL 响应复放。五页均报告 111 个开放 PR 和下一页,基线仍返回前 100 项。 新头返回 unavailable,保留上次快照的 hash。把同一个新增委托代入真实 Core,基线能检测到它,新头标记 observation_incomplete、不给出 material_change,只监控委托时仍能检测到它。 PR 不再用截断清单推断删除。持续超过 100 个开放 PR 时,绑了该仓库的组合 Monitor 也会停止发布其他已完整读取的信号。 验证覆盖真实公开仓库响应、同响应复放和本地 Core。Lean 模型做了源码核对,运行结果和远端 CI 未复验。 GitHub GraphQL 分页 PullRequestConnection 字段
改动思路 / Approach
接受明确的 hasNextPage=false。继续页要求非空且没有出现过的 cursor。末页验证去重后的 PR 数量与各页一致的 totalCount 相同,预算耗尽或元数据无效由现有 unavailable 返回。 GitHub collector 判断分页是否完备。Core 依据仓库、Portfolio、Inbox 计算观察结果。collect_signal_monitor 负责快照和后续任务。 第五页明确结束时仍返回完整清单,异常响应、游标循环和身份无效的 PR 节点会阻止发布。新增的总数检查也能识别去重后的数量不足,避免把分页重叠导致的缺项当成删除。这个判断纠正了截断时的误报。组合监控的失败出口也需要区分仓库数据不足与其它来源的已验证变化。
具体改动 / Changes
精确提交 f04c236a00b1be72c0a0968f87fc437dfe6f21cb 对照 509360fb0d3e9e6e578ddf5c12db587886016b23。3 个文件增加 398 行、删除 14 行。最新一轮给现有 GraphQL 查询添加 totalCount,要求各页总数一致、去重后实际数量与总数相等。生产代码仍校验页尾、游标和正整数 PR 编号。Python 和 Lean 扩展了重复项、计数漂移及零条目的例子。Lean 不包含组合信号处理。 explicit-terminal 已覆盖末页判断,valid-row-identity 已覆盖无效节点,stable-total-coverage 已覆盖总数和去重后数量校验。 independent-inbox 在组合 Monitor 上复验失败。
observe_github_repository_prs核对末页和游标。完整时沿现有路径汇总 PR,预算耗尽时从函数返回 unavailable。 采集器observeStewardSignalMonitor在组合其它信号之前处理仓库 unavailable,并保留先前的 hash。 Corecollect_signal_monitor对 incomplete 抛出暂时不可用,发生在保存快照与生成后续任务之前。 调用方
对主干的风险 / Risks
分页和 Steward monitor 合同的 50 项 Python 测试通过。19 项 Core 测试通过,覆盖正常、不可用和未启用仓库观察等路径。 真实 GitHub 返回的五页各有 20 项,五页均报告 111 个开放 PR 和后续页。把两版采集结果与同一合成 Inbox 事件分别交给 Core,当前提交仍抑制完整的独立信号。没有配置仓库的观察仍能发出该事件。本地对照只放宽测试进程的页面预算,读取的第六页返回剩余 11 项并明确终止。核齐 111 项后,同一 Core 恢复检测这条委托;固定六页只是该输入的复验边界。
我的整体评价 / Verdict
保留严格的末页判断。补齐超限仓库的有界恢复,或让组合 Monitor 保留上次完整仓库快照并单独处理已核验的其它来源,再用上述复合输入跑回归。改动触及后台采集、Core 信号和后续任务条件,未改 App 或 Lark 的页面渲染。
English verdict: REQUEST_CHANGES at f04c236. The new totalCount check catches missing distinct PRs. It still stalls independent inbox observation when a live repository exceeds the five-page cap. Fifty Python and nineteen Core tests passed, and matched wire replay reproduced the availability regression.
Signed-off-by: aihop <4408344+hhyykk@users.noreply.github.com>
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent · gpt-6.2-sol · OpenAI · runtime_reported · xhigh
动机 / Motivation
使用 Steward 同时监控开放 PR 和待处理委托的操作者。 主干在第五页后可能发布 100 个 PR 的截断清单。上一候选已拒绝截断清单,但五页各 20 项仍不足,使整个组合监控无法检测到新的委托。 固定响应成员后,主干误报 100 项完整,上一提交返回 unavailable,Core 留下原 hash,也跳过已核验的委托。 当前提交用五次真实 GitHub GraphQL 查询核齐 111 项。用同样的 111 项和同一个合成新委托复放,Core 恢复识别实质变化,空变更对照也没有触发。 组合监控能继续处理完整列表和独立委托。100 项普通清单的五页请求和产出与基线完全一致。 上限现在是 120 项。121 项在第一次读取后报告 unavailable。实际 provider 复验关闭评论补读。补读预算经合成 provider 测试验证,Lean 和远端 CI 未独立执行。 GitHub GraphQL 分页依据
改动思路 / Approach
先读取 20 项。总数 101–120 时后续页请求 25 项;其余保留旧尺寸。仍须读到明确末页、校验节点、稳定总数与去重覆盖。评论补读通过同一调用链消耗有限余额。 collector 持有范围明确的 GitHub 读预算和完备性判断。现有 Core 决定组合信号,Host 持久化快照和后续任务。 这种扩页能覆盖当前实际仓库,普通仓库仍按五页各 20 项读取。额外评论的最坏读取次数保留原上限。 GitHub 查询限制
具体改动 / Changes
精确提交 9f4df8aaf026df11f98adfb63a2af1e9460ccdb8 对照 509360fb0d3e9e6e578ddf5c12db587886016b23,上一评审提交为 f04c236a00b1be72c0a0968f87fc437dfe6f21cb。3 个文件,增加 574 行,删除 28 行。Python collector 持有生产变化,回归覆盖 100、101、120、121 边界、异常输入和 300 次补读。Lean 模型说明分页和补读额度,模型没有实际 Core 或 HTTP 的运行环境。 terminal-and-count、bounded-111-recovery 和 comment-coverage-budget 已核验。
observe_github_repository_prs验证真实列表,实测页长为 20、25、25、25、16。 采集_backfill_pr_comments_if_needed把每次尝试记入同一轮的余额。耗尽后保留缺少证据的原标识。 补读observeStewardSignalMonitor继续使用原信号合同。同一完整仓库和一个新委托令 Core 产生变化,空变更继续保留相同 hash。 Core
对主干的风险 / Risks
121 项仍保留上次 verified hash。未到末页、游标循环、总数漂移、ID 缺失或去重后数量不足,均从原 unavailable 路径返回。 55 项 Python、19 项 Core 测试通过。完成 Git diff --check。评论补读仍限每 PR 三次、全局 300 次。101 项补读饱和夹具记录恰好 300 次,第 101 项保留 coverage incomplete,Core 仍按相关监控范围拒绝不完整证据。 实测五次请求合计 29.4 秒,单次最长 7.7 秒。该样本没有测限额点数,也未做时延基准。 固定成员回放确认 100 项结果逐字段保持。111 项到达真正末页并恢复 Core,对坏元数据和未终止快照继续保守处理。超过 120 的组合监控仍会进入原不可用路径,其容量边界已在提案写明。
我的整体评价 / Verdict
APPROVE。 本轮复验未发现新的阻塞项。上一轮实际仓库的 111 项阻塞已消除。真实请求与同源复放都确认完整清单可用,独立委托得以触发。上限与不完整证据保持明确。检查了采集、Core 和 Host 收集路径。此次变更没有 App 或 Lark 界面渲染改动。 上一轮发现
English verdict: APPROVE at 9f4df8a. Five real GitHub requests now cover all 111 open PRs, and the same composite monitor recognizes an independent inbox change. Ordinary 100-item results and comment backfill bounds were verified.
Signed-off-by: aihop <4408344+hhyykk@users.noreply.github.com>
Signed-off-by: aihop <4408344+hhyykk@users.noreply.github.com>
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent · gpt-6.2-sol · OpenAI · runtime_reported · xhigh
动机 / Motivation
使用 Steward 按停滞年龄、作者和评审条件观察开放 PR 的操作者。 上一提交把列表与评论放在一个 100 秒窗口里,但按仓库 PR 编号补读。窄范围监控的最后一次读取可能被一个排除的 PR 消耗。 同样先花 95 秒读五页,上一提交把余下 5 秒用在范围外的 PR,范围内 PR 评论不全,Core 留下原 hash。 当前提交用一次本地 Core 规划,把 5 秒留给符合范围的 PR。及时证据触发 material_change,迟到仍保留原 hash。六组共享预算对照逐字节相同,无年龄过滤也保持无补读、无额外规划。 回放同一公开 GitHub 五页响应,完整读取 112 项。真实 Host 收集入口连接 Core 后,在同一限额内得到范围内的评论证据。 真实 GitHub 响应采集于上一提交,当前精确提交复放相同响应。范围与晚到的复验使用合成时钟和 provider,Node 调用实际 Core。Lean 模型和远端 CI 未独立执行。 Python 子进程时限
改动思路 / Approach
列表与补读继续使用单一 monotonic deadline。已经配置年龄限制时,Host 批量送未覆盖项给原 Core 筛选门,按其选出的编号在剩余窗口读评论,最终观察仍独立查验覆盖。 GitHub collector 持有查询预算和覆盖状态。Host 把已有源范围传给只读 Core。原 Core 决定需要的覆盖与 material_change,Host 继续持久化快照。 含未知覆盖的匹配者仍可能满足年龄条件,因此列表大小之外不额外猜测年龄资格。 GitHub 分页合同
具体改动 / Changes
精确提交 0cce87a4b5801d5189326d4cb58407f652f09cdb 对照目标基线 509360fb0d3e9e6e578ddf5c12db587886016b23 及上一候选 d8a18669ce540e72ebd8697c7df3fc2a09714e3b。8 个文件,增加 873 行、删除 54 行。上一提交加入共享预算。当前提交增加 Host 调用、Core 同源选择及本地 effect handler。回归覆盖时间、范围、覆盖门和关闭补读,Lean 建模预算与分支。 shared-request-deadline、scoped-backfill、bounded-page-parity 已核验。
observe_github_repository_prs保留有限时间和完成性判断,只补读计划选中的未覆盖项。 采集_read_repository_snapshot在存在年龄条件、候选和剩余预算时发出只读规划调用。无年龄条件无额外调用。 Host 收集planStewardSignalCommentBackfill与最终 Core 观察共用原覆盖门。草稿、冲突、评审和作者筛选优先于评论读取。 Core
对主干的风险 / Risks
仍拒绝超时列表、损坏页和不完整快照。若已选范围内 PR 的补读迟到,完整 GitHub 清单保持,Core 保留上次 hash。 59 项 Python 测试、24 项 TypeScript 测试、Control Plane 类型检查与 git diff --check 通过。 固定输入对照中,上一提交请求范围外编号,当前请求范围内编号,均只拿到 5 秒。正常提交能推进,迟到匹配证据保持原状态。列表原始响应复放仍是 112 项,时间相关六组输出在另一个配对中完全相同。
我的整体评价 / Verdict
APPROVE。 当前提交未发现阻塞项。范围内的可用评论能在原预算内出现在 Core,旧的证据缺口与不可用路径仍可观察。检查采集、Core 与 Host 持久化路径,本次没有 App 或 Lark 页面渲染变化。
English verdict: APPROVE at 0cce87a. The scoped Core plan spends the remaining five seconds on the matching PR, preserves the prior signal when that evidence is late, and keeps all 112 PRs in the matched list replay.
Signed-off-by: aihop <4408344+hhyykk@users.noreply.github.com>
Signed-off-by: aihop <4408344+hhyykk@users.noreply.github.com>
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent · gpt-6.2-sol · OpenAI · runtime_reported · xhigh
动机 / Motivation
Steward 的范围监控允许操作者按作者和停滞年龄筛选开放 PR。 上一提交会把范围内未覆盖评论放进补读计划,即使已知窗口结束时仍未满阈值。这样的 PR 可消耗最后一个请求,导致真正达到阈值的 PR 缺少评论证据。 同作者的两条 PR 只差 1 毫秒,前五页耗时 95 秒。上一提交把剩余 5 秒用于尚未到龄的一条,阈值恰好满足的另一条证据不齐,保留原 hash。 当前提交只选能在剩余窗口达到阈值的一条,及时返回时将它计入 24h_to_72h。只有尚未到龄的 PR 时,无须补读也能完成观察。 精确提交真实 GitHub 五页共读回 113 项,上一提交回放同一报文返回等同结果。实际 Host 与 Core 用同一受控时钟复验跨阈值和失败链。 年龄与边界复验使用合成时钟及 provider,调用实际 Host 和 Core。Lean 与远端 CI 未独立执行。配对复跑 scoped monitor 的 precommit-retry 用例,两版均通过。作者报告的扩展套件失败未作为通过证据。 已发布的 Steward 范围监控说明
改动思路 / Approach
Core 先判断已知年龄及作者回复能否绕过阈值,再决定是否要求评论覆盖。Host 将共享 monotonic 窗口余量投影为规划的 UTC 上界,最终观察沿用真实 UTC。 GitHub collector 持有只读查询和共享时限。Host 跨时钟域传递规划上界,原 Core 规则同时决定规划和最终观察。 保留原 scope 和 Core 判断,仅调整证据需求顺序。如按规划时刻直接过滤,会漏掉同一窗口末端达到阈值的行。
具体改动 / Changes
精确提交 a49054cbec061ccf790cba2672c19d8b7c935655。对照目标基线 509360fb0d3e9e6e578ddf5c12db587886016b23 和上次复核的 0cce87a4b5801d5189326d4cb58407f652f09cdb。相对目标基线改动 8 文件,增 986 行、减 59 行。当前增量复用私有 callback,把读窗口剩余时间传给 Host,再把已知未到龄排除移到原 Core 覆盖判断之前。测试覆盖精确阈值、无效时间、回复绕过和窗口内跨阈值。 核对了 threshold-coverage、within-window-threshold 和 bounded-list-parity。
observe_github_repository_prs在原截止时间内把剩余秒数交给补读选择器。真实 GitHub 五页分页为 20、25、25、25、18 项。 GitHub 采集_read_repository_snapshot根据余量计算规划截止时刻。配对复验显示,在相同 95 秒列表后,当前只给恰好到龄的 PR 发出一个 5 秒请求。 HostfilterScopedRepositoryItems在允许作者回复绕过年龄的范围中仍要求评论覆盖。最终观察用实际时间,未知时间不能跳过检查。 Core
对主干的风险 / Risks
读取超过截止时间或墙钟前跳使年龄超出规划时,所需评论仍不完整,Core 保留旧 hash。外部作者回复仍能绕过年龄,关闭年龄筛选仍无补读或规划。 清单数量一致仍无法排除分页间发生同数量的成员置换。59 项定向 Python 测试、56 项 Node 测试、Core TypeScript 类型检查、git diff --check 通过。
我的整体评价 / Verdict
APPROVE。 当前精确提交的观察结果与原规则吻合。原无年龄和回复绕过对照保持一致,完整采集仍保留有界时间和失败状态。本提案只改变监控采集和覆盖规则,既有 App/飞书显示由原观察结果驱动。
English verdict: APPROVE at a49054c. The production Host/Core pair backfills the PR that reaches the age boundary within the remaining five seconds, preserves the prior hash on incomplete evidence, and reads all 113 PRs in five provider pages.
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent · gpt-6.2-sol · OpenAI · runtime_reported · xhigh
[P2] 缺少初页评论连接仍会覆盖快照。 年龄条件命中,原快照中作者已回复。新响应仍返回 PR,但缺整个 comments 连接,或 nodes 为 null 且 hasPreviousPage 为 false。 缺整个连接或节点集合时,新头仍返回完整覆盖,将 awaiting_maintainer_reply 改为 24h_to_72h,覆盖原快照并生成后续待办参数。 在初页要求 comments 为 GraphQL connection 且 nodes 为可读列表,异常标记覆盖未知并保留已有 Core 门。合法空列表和能证明覆盖的锚点或回复按现有规则处理。 初页归一化
动机 / Motivation
Steward 范围监控按停滞年龄和作者回复给开放 PR 分类。 只在评论末页明确,或已有足够评论证明覆盖时发布观察结果。 上一精确提交对缺分页标志和缺连接均可能生成错误观察。当前修正了已存在连接的缺标志分支。 年龄条件命中,原快照中作者已回复。新响应仍返回 PR,但缺整个 comments 连接,或 nodes 为 null 且 hasPreviousPage 为 false。 缺整个连接或节点集合时,新头仍返回完整覆盖,将 awaiting_maintainer_reply 改为 24h_to_72h,覆盖原快照并生成后续待办参数。 现头可正确拒绝连接内缺页标志,明确终页和可独立证明覆盖的评论通过。录制的 113 项真实 GitHub 五页在现头回放一致。 异常响应由受控 provider fixture 注入,真实 Host、Core 和隔离快照执行。未观察到公开 GitHub 实时返回这些异常。Lean 和远端 CI 未独立执行。 GitHub 反向分页合同 评论连接类型
改动思路 / Approach
在现有 collector 中复用一个布尔终页和游标解析函数,保持共享窗口、年龄规划以及最后由 Core 判断覆盖。 GitHub collector 负责识别连接与可用证据,Core 负责 scope、结果 hash 与可否推进,Host 负责快照和后续待办参数。 测试从上一条作者已回复的真实持久化快照开始。伪造一次结构不完整的 provider 响应,进入生产采集器和实际 Core;对照只收紧初页连接形状,迟到或缺证据按同一原门处理。
具体改动 / Changes
精确提交 11ad88b62c5cba362c5ed1b0531ec3d60ddd07ba,目标基线 509360fb0d3e9e6e578ddf5c12db587886016b23,上一精确头 a49054cbec061ccf790cba2672c19d8b7c935655。当前完整差异 8 文件,增 1127 行、减 72 行。自上次评审增量包含初页与历史评论页的明确终止校验、Lean 断言及九个回归。 依次验证 comment-contract、retain-verified-snapshot 和 real-list-parity。
- 初页和更早页共用
_graphql_comment_page_info。连接存在但无合法结束标志时,现头会保留覆盖缺口。 终页检查 - 字段缺失、为 null,或连接的
nodes不可读时,首个连接仍绕过该证明。 采集边界 - 历史页读到锚点时可独立证明范围。最终快照和 follow-up 参数仍由原 Host/Core 路径生成。 观察入口
对主干的风险 / Risks
真实 Host 把无评论结论落盘。测试中仅将初页异常形状标为未知,Core 便保留已验证的旧 hash、快照和后续任务状态。 68 项定向 Python 测试、56 项 Node 测试、Core 类型检查和 git diff --check 通过。独立连接反例仍失败。 正常列表依旧保留有界五页与共享时间窗。复核使用的坏连接是合成输入,未将可能的 provider 异常描述为线上已发生。
我的整体评价 / Verdict
REQUEST_CHANGES。 缺失的连接通过覆盖门,当前会把已确认的作者回复替换成无回复状态。这是同一评论证据边界上的漏判。在初页要求 comments 为 GraphQL connection 且 nodes 为可读列表,异常标记覆盖未知并保留已有 Core 门。合法空列表和能证明覆盖的锚点或回复按现有规则处理。
English verdict: REQUEST_CHANGES at 11ad88b. An absent or unreadable initial comment connection still looks complete, overwrites the verified snapshot and emits follow-up arguments. Keep coverage incomplete unless the connection establishes it.
Signed-off-by: aihop <4408344+hhyykk@users.noreply.github.com>
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent · gpt-6.2-sol · OpenAI · runtime_reported · xhigh
[P2] 裸评论数组仍被当作已验证末页。 监控范围命中已有作者回复的 PR,初始 GraphQL 响应把 comments 作为裸数组返回。空数组和只有无关评论的数组均无 pageInfo。 两种裸数组均被标为覆盖完整,实际 Host 将 awaiting_maintainer_reply 改成 24h_to_72h,覆盖隔离测试中的上次快照并生成后续待办参数。 在生产 GraphQL 读入口要求 comments 为 connection 对象。裸数组进入既有覆盖未知路径。若需兼容已验证的 REST 列表,将其限制在有来源证明的独立入口。 初页归一化
动机 / Motivation
Steward 范围监控按停滞年龄和作者回复给开放 PR 分类。 初始评论连接具备明确末页或独立覆盖证据后,Steward 才更新停滞状态。 上一提交仍误收无连接、空数据和裸数组。新头已挡住缺字段、null 及不可读节点,裸数组分支继续把未知覆盖判为已完成。 监控范围命中已有作者回复的 PR,初始 GraphQL 响应把 comments 作为裸数组返回。空数组和只有无关评论的数组均无 pageInfo。 两种裸数组均被标为覆盖完整,实际 Host 将 awaiting_maintainer_reply 改成 24h_to_72h,覆盖隔离测试中的上次快照并生成后续待办参数。 缺连接、null 节点集合和缺少页标志均保留此前 hash,具有明确终页的空连接、可验证的回复和已读锚点通过。113 项真实 GitHub 五页在现头回放一致。 形状反例由合成 provider 注入,实际 Host、Core 和隔离快照执行。录制的真实 GitHub 响应仅用于正常路径回放。Lean 与远端 CI 未独立执行。 GitHub PullRequest 类型 评论连接字段
改动思路 / Approach
在现有 collector 先检查连接和节点,再复用终页与游标函数。Core 继续在原 scope 下判断证据能否推进。 GitHub collector 负责识别连接与可用证据,Core 负责 scope、结果 hash 与可否推进,Host 负责快照和后续待办参数。 当前设计已能拒绝几种不可读结构。实际 provider 的 PullRequest.comments 是带 pageInfo 的 connection,裸列表即使内部节点可读也不提供末页证明。两类来源需要在采集边界保留各自的覆盖含义。
具体改动 / Changes
精确提交 3b9efbd05fb4e1d93c283d129aa407c0ba0b3f48,目标基线 509360fb0d3e9e6e578ddf5c12db587886016b23,上一精确头 11ad88b62c5cba362c5ed1b0531ec3d60ddd07ba。完整差异 8 文件,增 1216 行、减 80 行。当前增量复用一个节点校验器处理初页及补读,加入九组可读性回归和 Lean 模型。 核对了 comment-contract、retain-verified-snapshot 和 real-list-parity。
_read_graphql_comment_nodes对初页和补读共用校验。缺少节点集合或时间坏掉时停止依赖该页。 节点校验_normalize_graphql_pr_node仍接受不带页信息的裸数组并设置无早页。 初页连接- 已读到锚点、作者回复及有效空末页保持正常。回放真实五页共读回 113 个 PR。 监控观察
对主干的风险 / Risks
现头用缺终页证据的裸数组更新快照。进程内仅收紧初页连接类型,两种反例均保留旧 hash 和快照,没有生成后续待办参数。 77 项定向 Python 测试、56 项 Node 测试、Core 类型检查和 git diff --check 通过。追加的裸数组反例仍失败。 合成响应验证的是防御性判断,正常五页以及原作者回复旁路继续通过。缺连接和 null 的原反例已在这个提交修复。
我的整体评价 / Verdict
REQUEST_CHANGES。 覆盖门仍将缺少页证明的初始裸数组转成已验证完成。在生产 GraphQL 读入口要求 comments 为 connection 对象。裸数组进入既有覆盖未知路径。若需兼容已验证的 REST 列表,将其限制在有来源证明的独立入口。
English verdict: REQUEST_CHANGES at 3b9efbd. A bare GraphQL comments array still bypasses the terminal proof and can overwrite a verified snapshot. Require a connection or retain incomplete coverage at the initial wire boundary.
Signed-off-by: aihop <4408344+hhyykk@users.noreply.github.com>
Signed-off-by: aihop <4408344+hhyykk@users.noreply.github.com>
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent · gpt-6.2-sol · OpenAI · runtime_reported · xhigh
[P2] 裸评论数组仍会覆盖已验证的监控快照。 初次 GraphQL 读取收到 comments: [] 或只有无关评论的裸数组时,归一化会直接标记没有更早页。请在 GraphQL 入口要求 comments 为 connection,对缺少分页证据的输入沿用覆盖不完整的处理。 初页归一化
动机 / Motivation
Steward 用评论和评审回复判断 PR 在等谁。GitHub 的评论连接用 pageInfo 标明是否有更早页。分页证据缺失时,Steward 应保留已有观察,直到读到锚点或找到能独立确认当前状态的回复。 两种输入都把已有状态从 awaiting_maintainer_reply 改为 24h_to_72h,并生成后续待办参数。 明确的空末页、已读锚点和已确认作者回复均通过。实际 GitHub 五页的 113 条记录回放结果一致。 数组反例来自合成响应,五页回放来自正常 GitHub 观测。 GitHub PullRequest 类型 评论连接字段
改动思路 / Approach
GitHub collector 判断连接与回复证据,Core 决定能否推进,Host 写入快照并生成后续待办参数。 GitHub 的评论作者和 PR 创建者字段均可为空。本次增量沿用覆盖不完整的处理。最新回复的角色依赖评论者和 PR 创建者的已知身份。我对照了两种顺序。未知身份的回复较新时,实际观察保留原快照。可辨认的 PR 作者回复较新时,观察维持等待维护者回复的状态。PR 创建者身份缺失时,即使评论者身份已知,观察也保留原快照。 评论作者字段
具体改动 / Changes
当前提交 3b8b17dbdd8c88c815759e32d362b27e6a3bf54e,目标基线 509360fb0d3e9e6e578ddf5c12db587886016b23。上一发布评审绑定 3b9efbd05fb4e1d93c283d129aa407c0ba0b3f48。相对中间提交 3ede75d7d6ff4d4829673a36bceadd5290bfeb78,本次增量涉及 3 个文件,增 72 行、减 24 行。完整差异涉及 8 个文件,增 1421 行、减 93 行。核对了评论连接合同 comment-contract、快照保留 retain-verified-snapshot 和完整列表回放 real-list-parity。
_post_reply_role保留未知身份,最新回复的归类由 collector 传入既有 Core 覆盖判断。 回复角色- 初页和补读共用节点校验,缺连接、不可读节点和缺终页标记的现有用例通过。初页裸数组仍会绕过终页校验。 评论节点校验
- Core 在覆盖不足时拒绝更新,Host 消费该判断后保留快照。 监控观察
对主干的风险 / Risks
在隔离快照上执行了实际 Host 和 Core 路径。收紧初页 connection 类型的进程内对照保留了原快照,两种裸数组都停止生成后续待办参数。98 项定向 Python 测试、56 项 Node 测试、Core 类型检查及 git diff --check 通过。本次独立验证范围未包含 Lean 证明或远端 CI。
我的整体评价 / Verdict
REQUEST_CHANGES。 初页缺少有效分页证据时,应保留上次确认的监控状态。建议把上述裸数组与明确空末页纳入同一回归测试,断言快照与后续待办参数。
English verdict: REQUEST_CHANGES at 3b8b17d. A bare GraphQL comments array still bypasses the terminal proof and can overwrite a verified snapshot. Require a connection or retain incomplete coverage at the initial wire boundary.
Signed-off-by: aihop <4408344+hhyykk@users.noreply.github.com>
Signed-off-by: aihop <4408344+hhyykk@users.noreply.github.com>
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent · gpt-6.2-sol · OpenAI · runtime_reported · xhigh
[P2] 裸评论数组仍会覆盖已验证的监控快照。 初次 GraphQL 读取收到 comments: [] 或只有无关评论的裸数组时,归一化会直接标记没有更早页。请在 GraphQL 入口要求 comments 为 connection,对缺少分页证据的输入沿用覆盖不完整的处理。 初页归一化
动机 / Motivation
Steward 用评论和评审回复判断 PR 在等谁。GitHub 的评论连接用 pageInfo 标明是否有更早页。分页证据缺失时,Steward 应保留已有观察,直到读到锚点或找到能独立确认当前状态的回复。 两种输入都把已有状态从 awaiting_maintainer_reply 改为 24h_to_72h,并生成后续待办参数。 明确的空末页、已读锚点和已确认作者回复均通过。实际 GitHub 五页的 113 条记录回放结果一致。 数组反例来自合成响应,五页回放来自正常 GitHub 观测。 GitHub PullRequest 类型 评论连接字段
改动思路 / Approach
GitHub collector 判断连接与回复证据,Core 决定能否推进,Host 写入快照并生成后续待办参数。 本次增量将作者筛选中的未知创建者和不可读的 PR 列表交给现有不完整观察。 我用有已验证快照的隔离测试核对了 include 和 exclude。创建者缺失时,两种筛选均保留原快照。PR 列表字段缺失、为 null 或为对象时也保留原快照。明确的空列表仍可报告 PR 移除。 作者筛选
具体改动 / Changes
当前提交 72d9dcf36ae285a16fecd5a8922fd5e5524d7a91,目标基线 509360fb0d3e9e6e578ddf5c12db587886016b23。上一发布评审绑定 3b8b17dbdd8c88c815759e32d362b27e6a3bf54e。本次增量涉及 4 个文件,增 243 行、减 9 行。完整差异涉及 8 个文件,增 1663 行、减 101 行。核对了评论连接合同 comment-contract、快照保留 retain-verified-snapshot 和完整列表回放 real-list-parity。
- Core 的
filterScopedRepositoryItems保留作者筛选未知和独立排除的差别,observeStewardSignalMonitor拒绝呈现为缺字段、null 或对象的列表。 观察入口 - 初页和补读共用节点校验,缺连接、不可读节点和缺终页标记的现有用例通过。初页裸数组仍会绕过终页校验。 评论节点校验
- Core 在覆盖不足时拒绝更新,Host 消费该判断后保留快照。 监控观察
对主干的风险 / Risks
在隔离快照上执行了实际 Host 和 Core 路径。收紧初页 connection 类型的进程内对照保留了原快照,两种裸数组都停止生成后续待办参数。98 项定向 Python 测试、59 项 Node 测试、Core 类型检查及 git diff --check 通过。手动注入 Core 边界的异常数组元素在 scoped 路径仍与有效空列表同 hash,与作者声明的范围一致。未在实际 GitHub 记录观察到此形状。本次独立验证未含 Lean 或远端 CI。
我的整体评价 / Verdict
REQUEST_CHANGES。 初页缺少有效分页证据时,应保留上次确认的监控状态。建议把上述裸数组与明确空末页纳入同一回归测试,断言快照与后续待办参数。
English verdict: REQUEST_CHANGES at 72d9dcf. A bare GraphQL comments array still bypasses the terminal proof and can overwrite a verified snapshot. Require a connection or retain incomplete coverage at the initial wire boundary.
Signed-off-by: aihop <4408344+hhyykk@users.noreply.github.com>
Signed-off-by: aihop <4408344+hhyykk@users.noreply.github.com>
|
Hi @hhyykk, the DCO If the log confirms a missing |
Signed-off-by: aihop <4408344+hhyykk@users.noreply.github.com>
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent · gpt-6.2-sol · OpenAI · runtime_reported · xhigh
动机 / Motivation
使用 Antigravity 的会话参与者需要能区分当前命令进展和已结束动作的回放。在已看到命令完成后,后续原生快照仍可能重报同一索引的字段、状态或工具声明。 DONE 或 ERROR 后,输出和退出码各接收首个有效终态值。终态字段重写和旧运行帧的字段回放不再延长这些用例的 idle。 当前独立复验覆盖 Antigravity HTTP 轮询与投影、既有失败反例和完整 diff 的增量归因。
改动思路 / Approach
用每步骤缓存保存已观察输出、退出码及首个有效终态值。 Antigravity 适配器拥有原生轨迹到可见事件的转译,活动和 idle 需要共享相同的终态。 正常活跃输出与迟到的首个有效字段仍可计入进展。 命令进展
具体改动 / Changes
精确提交 3857ea549f4e63313b10549f58a78976eff1ca05,目标基线 811c1a1f66652d3fc3b9830d467e14b45b7423c1。相对上一头 42d6e5e8554d8bc67580d45311c320cb16cc2d07,四文件增量修改命令进展及适配器声明,并新增八项 HTTP 用例和 Lean 模型。
- NATIVE-TERMINAL-TOOL-OWNER。上一轮仅取消帧的输出变化仍在合成时钟第 302 秒超时,界面无新增命令活动。 正常 RUNNING 输出仍能延续轮次。
- NATIVE-TERMINAL-IDLE-AND-PREVIEW。八项终态 HTTP 用例在候选全通过,把同一组轨迹放回上一头后四项本应超时的用例仍收到回答。活跃输出、迟到首字段和零退出码对照通过。 另有两个既有边界。显式空预览后仍会发送追加后缀,末页确认换版后仍可生成重试请求。复测未发送重试请求。 验证契约
关键代码讲解
_observed_command_progress缓存第一份有效终态字段。CANCELED 直接跳过,后续 RUNNING 仍可被缓存。 缓存分支_turn_progress_snapshot把原始状态和缓存字段并入比较。字段固定后,同一已完成命令的状态回放仍能改变比较结果。 进展投影
对主干的风险 / Risks
- [P2] 已结束的命令回放仍能延长 idle。 同一命令经取消后再次被标成 RUNNING,固定输出组在合成时钟第 502 秒取消,变化输出组收到第 503 秒的答复。两个精确头均复现,两组都只显示一次开始和完成。 另以 DONE 收尾后固定所有输出和退出码,再交替回放 RUNNING 和 DONE。候选与上一头均出现同样的 502 秒取消和 503 秒答复分叉,活动仍只有同一行的开始与完成。 请按步骤消费稳定终态并保留新动作的真实进展。 取消终点、状态比较
- [P2] 失败 planner 的声明仍延迟超时。 同一失败 planner 帧只改变 tool call ID。两个精确头的固定 ID 在 302 秒取消,变化 ID 在 303 秒完成,均无工具活动。 请让 idle 只接收有效声明或实际活动。 工具进展
- [P2] 已清除的 planner 仍使工具完成错配。 CLEARED 帧重报已登记的工具 ID 时,两个精确头均另发工具行。实际动作完成被分配到 agy_edit_3,原行 agy_call_1_0 留在未结束状态。CANCELED 和 ERROR 对照仍完成原行。 请在登记前排除已清除的声明。 活动归属
语义与 CI 对齐
三组 Antigravity 套件 524 项通过。八项终态用例的上一头对照为 4 项通过、4 项失败。另复验取消与状态回放、失败 planner、清除声明和原活动行。 Ruff 和 Git diff 检查通过。独立使用真实本地 HTTP 适配器和合成轨迹。未复跑桌面 Language Server、Lean、未改动的 SQLite monitor、完整预合并或远端 CI。 上一轮评审
我的整体评价 / Verdict
REQUEST_CHANGES。 首个有效终态字段的修复通过。命令状态回放与两个 planner 求改项均在当前 head 复现。稳定工具活动与空闲期限仍需一起验证。
English verdict: REQUEST_CHANGES at 3857ea5. The first-valid terminal command fields are stable, but stale states still extend idle after a command closes, and both planner findings reproduce. All 524 targeted tests passed.
|
Hi @hhyykk, the DCO If the log confirms a missing |
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent · gpt-6.2-sol · OpenAI · runtime_reported · xhigh
动机 / Motivation
使用 Antigravity 的会话参与者应能根据活动行了解原生命令是否仍在运行。失败或清除的 planner 可重报声明,已结束命令也可能再次出现在轮询快照里。 只改变 ERROR planner 的 tool call ID 时,上一头固定组 302 秒超时,变化组 303 秒收到答案。候选两组均 302 秒超时并取消,工具活动均为零。 本次独立验证覆盖实际本地 HTTP 轮询与活动投影,并按前一精确提交归因。
改动思路 / Approach
活动和空闲判定复用 ERROR/CANCELED planner 状态表。第一次有效声明仍留在去重缓存,已中断帧不再利用该记录重开重试。 Antigravity 适配器判定原生轨迹的活跃性和可见活动行。当前增量统一 planner 的中断判断,命令与清除帧的生命周期仍有缺口。 共享状态
具体改动 / Changes
精确提交 f313eb418bc6c3480a9db92c65a24cbb79fee882,目标基线 811c1a1f66652d3fc3b9830d467e14b45b7423c1。相对 3857ea549f4e63313b10549f58a78976eff1ca05,五文件增量修改状态表、活动和轮询,扩充 HTTP 回归及 Lean 模型。
- NATIVE-TERMINAL-TOOL-OWNER。只改变 ERROR planner 的 tool call ID 时,上一头固定组 302 秒超时,变化组 303 秒收到答案。候选两组均 302 秒超时并取消,工具活动均为零。 有效的活跃声明可首次计入,DONE 可首次提供工具 ID,真正命令输出和迟到的合法字段仍能更新进展。
- NATIVE-TERMINAL-IDLE-AND-PREVIEW。已关闭命令的快照回放以及清除 planner 的活动归属仍需修复。既有预览清空后仍发送追加后缀,以及末页确认换版后仍生成重试请求,均在候选复现。末页对照未发送重试。 验证契约
关键代码讲解
_planned_tool_call_steps对 ERROR 和 CANCELED 不登记新工具 ID。已有缓存仍负责去重。 声明登记_turn_progress_snapshot防止中断的 planner 以既有声明重开思考重试。命令分支仍比较每次读到的原始状态。 重试边界
对主干的风险 / Risks
- [P2] 已结束命令的回放仍会延长 idle。 同一命令已取消后,固定回放与变化输出分别令轮次在合成时钟 502 秒取消或在 503 秒返回答案。两组活动均只显示一次开始和完成。 DONE 后固定所有输出和退出码,只将同一索引反复在 RUNNING 和 DONE 之间切换,仍出现同样的截止时间分叉。 请保留同一命令的稳定终态,同时继续接受独立的新进展。 取消终点、状态比较
- [P2] 清除 planner 仍使实际工具完成事件错配。 CLEARED planner 重报工具 ID 时额外发出一条工具开始,真实 code action 完成落到 agy_edit_3,原 agy_call_1_0 未完成。ERROR 与 CANCELED 对照仍结束原行。 请在登记前排除清除帧的声明。 活动归属
语义与 CI 对齐
三组 Antigravity 套件 532 项通过。18 项当前 planner 用例在上一头复跑为 13 项通过、5 项失败。当前另有 9 项独立对照。 独立复跑包含本地 HTTP、活动投影、Ruff 和 Git diff。桌面 Language Server、Lean、未改动的 SQLite monitor、完整预合并与远端 CI 未复跑。 上一轮评审
我的整体评价 / Verdict
REQUEST_CHANGES。 ERROR planner 新 ID 推迟超时的问题已关闭。命令结束后回放仍会推迟超时,已清除的 planner 仍可让完成事件落到另一行,两项均待修。
English verdict: REQUEST_CHANGES at f313eb4. Failed planner declarations no longer postpone idle, but stale command observations still do and cleared planner declarations still misroute tool completion. All 532 targeted tests passed.
Signed-off-by: aihop <4408344+hhyykk@users.noreply.github.com>
|
Hi @hhyykk, the DCO If the log confirms a missing |
Signed-off-by: aihop <4408344+hhyykk@users.noreply.github.com>
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent · gpt-6.2-sol · OpenAI · runtime_reported · xhigh
动机 / Motivation
使用 Antigravity 的会话参与者应能根据活动行了解原生命令是否仍在运行。原生 planner 可能重发失败或已完成的 reasoning 摘要,或在部分轮询中暂缺摘要。 失败摘要、已完成摘要改写及部分轮询中的摘要缺失在候选按期取消。13 项摘要轨迹在上一头有 5 项超时断言失败,当前全部通过。 本次独立验证覆盖实际本地 HTTP 轮询与活动投影,并按前一精确提交归因。
改动思路 / Approach
空闲判定改用活动投影已经接收的摘要指纹,按步骤索引读取。即使没有事件订阅,planner 仍执行同一个接收判定。 Antigravity 适配器判定原生轨迹的活跃性和可见活动行。新增代码让 idle 复用原有的摘要接收规则,命令和清除声明仍用原投影。 活动摘要
具体改动 / Changes
精确提交 4ebee6d04b643fd0e16a9b92406757bfcf012ee6,目标基线 811c1a1f66652d3fc3b9830d467e14b45b7423c1。相对 f313eb418bc6c3480a9db92c65a24cbb79fee882,五文件增量修改活动摘要、轮询和对应 HTTP 回归及 Lean 模型。
- NATIVE-TERMINAL-TOOL-OWNER。失败摘要、已完成摘要改写及部分轮询中的摘要缺失在候选按期取消。13 项摘要轨迹在上一头有 5 项超时断言失败,当前全部通过。 活跃摘要更新继续延长合理等待,有无事件订阅都通过。只改变失败 planner 的工具 ID 时仍在 302 秒取消,无工具活动。
- NATIVE-TERMINAL-IDLE-AND-PREVIEW。已关闭命令的快照回放以及清除 planner 的活动归属仍需修复。既有预览清空后仍发送追加后缀,以及末页确认换版后仍生成重试请求,均在候选复现。末页对照未发送重试。 验证契约
关键代码讲解
对主干的风险 / Risks
- [P2] 已结束命令的回放仍会延长 idle。 同一命令已取消后,固定回放与变化输出分别令轮次在合成时钟 502 秒取消或在 503 秒返回答案。两组活动均只显示一次开始和完成。 DONE 后固定所有输出和退出码,只将同一索引反复在 RUNNING 和 DONE 之间切换,仍出现同样的截止时间分叉。 请保留同一命令的稳定终态,同时继续接受独立的新进展。 取消终点、状态比较
- [P2] 清除 planner 仍使实际工具完成事件错配。 CLEARED planner 重报工具 ID 时额外发出一条工具开始,真实 code action 完成落到 agy_edit_3,原 agy_call_1_0 未完成。ERROR 与 CANCELED 对照仍结束原行。 请在登记前排除清除帧的声明。 活动归属
语义与 CI 对齐
三组 Antigravity 套件 538 项通过。13 项当前 reasoning 用例在上一头复跑为 8 项通过、5 项失败。当前另有 9 项独立对照。 独立复跑包含本地 HTTP、活动投影、Ruff 和 Git diff。桌面 Language Server、Lean、未改动的 SQLite monitor、完整预合并与远端 CI 未复跑。 上一轮评审
我的整体评价 / Verdict
REQUEST_CHANGES。 失败、已完成及部分轮询的摘要回放不再延长 idle。命令结束后回放仍会推迟超时,已清除的 planner 仍可让完成事件落到另一行,两项均待修。
English verdict: REQUEST_CHANGES at 4ebee6d. Accepted reasoning now determines idle updates. Stale command observations still postpone idle and cleared planner declarations still misroute tool completion. All 538 targeted tests passed.
|
Hi @hhyykk, the DCO If the log confirms a missing |
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent · gpt-6.2-sol · OpenAI · runtime_reported · xhigh
动机 / Motivation
通过 Antigravity Chat 等待答案或查看原生活动的会话参与者。 原生轮询会重复返回同一步骤。候选让空闲判定复用已接纳的答复预览和推理摘要,避免将反复重写计为新进展。 同一未完成的控制标记,有活动订阅时轮次按时取消,无订阅时却继续等待。正常可见文字在两种模式均能推进。 当前增量落在 Antigravity 预览、活动和空闲判定。完整提案还覆盖 Steward 分页、监控和 Chat 持久层。
改动思路 / Approach
使用 AnswerStream 的每步预览和活动层接纳的推理摘要驱动空闲时间。没有活动回调的调用也会读到推理摘要。已接纳的回复应先经过同一规则,再由有回调的调用把增量送给用户。Antigravity 的预览、空闲与活动投影。复用已接纳的回复状态,统一其入口规则。空闲进展比较 推理和工具活动
具体改动 / Changes
当前精确提交 dffef1723efb7059e2f1ddd15cbfbd042a10afc7,基线 811c1a1f66652d3fc3b9830d467e14b45b7423c1。相对上一独立复验头 3857ea549f4e63313b10549f58a78976eff1ca05,56 个净路径中有 50 个原有路径的基线和提交内容均相同。其余六个路径涉及活动、原生轮询、回复与声明状态、HTTP 测试和 Lean。
- NATIVE-ADMITTED-ANSWER。接受追加文字的正对照在两种订阅模式均于 303 秒完成。有订阅时出现五次可见增量。下方记录未完成控制前缀的对照。回复接纳
- NATIVE-TERMINAL-ACTIVITY。变化的 ERROR planner 工具 ID 与固定对照现在都在 302 秒取消,均无工具活动。已结束命令回放及清除声明的活动归属仍有反例。 真实路径验证契约
对主干的风险 / Risks
- [P2] 未完成控制标记因有无事件订阅而改变空闲行为。 上一独立核验头 3857ea5 的两组都在 303 秒完成。 固定同一原生轨迹,只增长尚未完整的答复控制标记前缀。有订阅时在 302 秒取消,无订阅时读到 303 秒最终答复。两组都没有在最终答复前产生用户可见文字。 首段标记检查位于存在事件接收者的分支内,而无接收者时原始前缀可直接进入已接纳文本表。把控制标记的接纳规则放在可选通知回调之外,用同一份已接纳证据更新空闲进展。 条件分支
- [P2] 已结束命令的回放仍会延期取消。 已结束命令回放固定状态与输出时在 502 秒取消。持续改报已取消命令的输出,或反复切换已完成命令的原始状态,会推迟到 503 秒返回。两组只有同一活动行的一次开始和结束。 复用每个已结束命令的稳定终态,同时保留真正的独立进展。 状态比较
- [P2] 清除的 planner 仍可占用真实动作归属。 已清除的 planner 重报工具 ID 时,真实完成仍落到旧声明的 agy_call_1_0。CANCELED 对照由真实动作的 agy_edit_2 接收完成。 在活动归属登记前过滤已清除的声明,保留真实动作事件。 活动登记
语义与 CI 对齐
548 项 Antigravity 定向测试通过。变化的 ERROR planner 声明已在 302 秒与固定对照一并取消,正常可见文字和先前终态字段对照通过。 独立 HTTP 反例和对照为 11 项通过、5 项失败。Ruff 与 Git diff 检查通过。验证使用源码、本地真实 HTTP 与合成轮询。桌面 Language Server、Lean、其余 Steward 后端、整仓预合并及远端 CI 未复跑。 前一提交的终态评审
我的整体评价 / Verdict
REQUEST_CHANGES。 请用相同的接纳规则驱动两类调用,并保留稳定的命令及工具终态。活动接口的变更通过真实事件序列验证。此次评审聚焦原生运行时行为。
English verdict: REQUEST_CHANGES at dffef17. An incomplete control marker changes the idle outcome based on whether a subscriber is attached. Stale terminal command snapshots and cleared planner ownership still reproduce. All 548 targeted tests passed.
| command_progress.update(_cascade._observed_command_progress(current_steps, command_progress)) | ||
| progress = _turn_progress_snapshot( | ||
| current_steps, | ||
| answer_text_by_step=answer_stream.text_by_step, |
There was a problem hiding this comment.
[P2] 同一步骤的未完整控制标记,在有事件订阅时被延后接纳,无订阅时却进入这里使用的文本表。用同一真实本地 HTTP 轨迹只切换回调,有订阅在合成时钟第 302 秒取消,无订阅则读到第 303 秒的最终答复。普通可见追加在两种模式均完成。请统一接纳规则,再根据回调是否存在决定是否发通知。
Signed-off-by: aihop <4408344+hhyykk@users.noreply.github.com>
|
Hi @hhyykk, the DCO If the log confirms a missing |
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent · gpt-6.2-sol · OpenAI · runtime_reported · xhigh
动机 / Motivation
使用 Antigravity 的会话参与者需要看到准确的命令状态,并在有效进展停止时按期结束等待。原生轨迹地址不变,实际动作结束后继续收到旧状态或者已清除声明。 同一索引 DONE 后反复回报 RUNNING 的旧反例,本次固定和变化两组都在合成时钟 501 秒取消。上一头两组分别在 502 秒取消和 503 秒完成。 使用本地 HTTP 模拟 Language Server 响应,另核对活动投影和 Ruff。独立复核未运行实际桌面 Language Server、Lean 和完整预合并。
改动思路 / Approach
缓存首个 DONE 或 ERROR 为命令终态,由同一索引的已接受进展驱动 idle。 活动行仍由 AntigravityActivity 投影,预览仍由 AnswerStream 接纳。当前命令分支复用每步已有的结果缓存,避免原始状态回放延长等待。本次三文件增量修改命令终态缓存、原生 HTTP 回归及 Lean 模型。完整提案仍涵盖此前审阅的 Steward 分页、监控和 Chat 持久化。 命令观察
具体改动 / Changes
精确提交 5efc92d4ca703cd319afd07f9b8e05639c21aca5,基线 811c1a1f66652d3fc3b9830d467e14b45b7423c1。相对 dffef1723efb7059e2f1ddd15cbfbd042a10afc7。
- NATIVE-TERMINAL-IDLE-AND-PREVIEW。同一索引 DONE 后反复回报 RUNNING 的旧反例,本次固定和变化两组都在合成时钟 501 秒取消。上一头两组分别在 502 秒取消和 503 秒完成。 当前代码允许首个迟到的合法输出或退出码。 idle 比较
- NATIVE-TERMINAL-TOOL-OWNER。用相同 HTTP 轨迹只切换订阅,复验控制标记与普通可见文字。同时复验清除、失败与取消对活动行归属的差异。 预览接纳 活动投影
对主干的风险 / Risks
- [P2] 已取消命令仍可能延长 idle。 命令先 CANCELED 再回报 RUNNING。固定输出在 502 秒取消,反复变化的输出仍会在 503 秒完成。两组都仅看到一次运行和结束。 将取消纳入稳定终态,同时保留真正的新动作。 命令观察
- [P2] 未完整控制标记使两种订阅模式的超时不一致。 同一未完成控制标记有订阅时在 302 秒取消,无订阅时在 303 秒完成。两组在最终回复前均无可见文字。正常可见文本在两种模式都完成。 将接纳判断移出可选回调。 订阅判断
- [P2] CLEARED 声明导致真实工具完成事件错配。 CLEARED planner 重报同一工具 ID 时额外打开一行,随后 code action 完成到 agy_edit_3,原行 agy_call_1_0 未结束。ERROR 和 CANCELED 对照均结束原行。 登记前拒绝清除快照的声明。 工具行归属
语义与验证
并行定向测试 533 项通过,1 项 mypy 内部错误。该项在当前提交串行复跑通过。 命令旧快照的前后对照各两项通过,控制标记、取消后输出和工具行反例保留原始观测。Ruff 和 Git diff 检查通过。当前与上一头的串行 mypy 对照均通过。使用本地 HTTP 模拟 Language Server 响应,另核对活动投影和 Ruff。独立复核未运行实际桌面 Language Server、Lean 和完整预合并。 docs/development/testing-and-quality.md 上一轮评审
我的整体评价 / Verdict
REQUEST_CHANGES。 DONE 状态回放的修复成立。请补齐取消终态、控制标记接纳和工具行归属三个边界,再用相同的运行轨迹复验超时与活动行。
English verdict: REQUEST_CHANGES at 5efc92d. The DONE-state replay now expires consistently in the matched local HTTP probe. A canceled command can still postpone idle, subscriber-dependent control-marker handling still diverges, and cleared planner declarations still misroute tool completion.
Signed-off-by: aihop <4408344+hhyykk@users.noreply.github.com>
|
Hi @hhyykk, the DCO If the log confirms a missing |
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent · gpt-6.2-sol · OpenAI · runtime_reported · xhigh
动机 / Motivation
使用 Antigravity 的会话参与者需要看到准确的命令状态,并在有效进展停止时按期结束等待。原生轨迹地址不变,实际动作结束后继续收到旧状态或者已清除声明。 VIEW_FILE 和 CODE_ACTION 的旧 RUNNING 回放已不再延长空闲,替换为同一索引的另一工具类型仍能计入进展。16 项本地 HTTP 用例当前全过,上一头有 8 项失败。命令 DONE 回放两组仍在 501 秒取消。 使用本地 HTTP 模拟 Language Server 响应,另核对活动投影和 Ruff。独立复核未运行实际桌面 Language Server、Lean 和完整预合并。
改动思路 / Approach
在同一 native index 和 step type 下保存首个 DONE 或 ERROR。文件读取和代码动作共享原来的命令进展缓存,命令输出和退出码继续单独接纳。 活动行仍由 AntigravityActivity 投影,预览仍由 AnswerStream 接纳。命令、读取和代码动作复用已接收证据,按类型分开同一索引。本次四文件增量将命令终态缓存扩展到文件读取和代码动作,修改适配器轮询、HTTP 回归及 Lean 模型。完整提案仍涵盖此前审阅的 Steward 分页、监控和 Chat 持久化。 命令观察
具体改动 / Changes
精确提交 edc1b71aa38eb5eabbbe392d55f873af87a6cc5e,基线 811c1a1f66652d3fc3b9830d467e14b45b7423c1。相对 5efc92d4ca703cd319afd07f9b8e05639c21aca5。
- NATIVE-TERMINAL-IDLE-AND-PREVIEW。VIEW_FILE 和 CODE_ACTION 的旧 RUNNING 回放已不再延长空闲,替换为同一索引的另一工具类型仍能计入进展。16 项本地 HTTP 用例当前全过,上一头有 8 项失败。命令 DONE 回放两组仍在 501 秒取消。 当前代码允许首个迟到的合法输出或退出码。 idle 比较
- NATIVE-TERMINAL-TOOL-OWNER。用相同 HTTP 轨迹只切换订阅,复验控制标记与普通可见文字。同时复验清除、失败与取消对活动行归属的差异。 预览接纳 活动投影
对主干的风险 / Risks
- [P2] 已取消命令仍可能延长 idle。 命令先 CANCELED 再回报 RUNNING。固定输出在 502 秒取消,反复变化的输出仍会在 503 秒完成。两组都仅看到一次运行和结束。 将取消纳入稳定终态,同时保留真正的新动作。 命令观察
- [P2] 未完整控制标记使两种订阅模式的超时不一致。 同一未完成控制标记有订阅时在 302 秒取消,无订阅时在 303 秒完成。两组在最终回复前均无可见文字。正常可见文本在两种模式都完成。 将接纳判断移出可选回调。 订阅判断
- [P2] CLEARED 声明导致真实工具完成事件错配。 CLEARED planner 重报同一工具 ID 时额外打开一行,随后 code action 完成到 agy_edit_3,原行 agy_call_1_0 未结束。ERROR 和 CANCELED 对照均结束原行。 登记前拒绝清除快照的声明。 工具行归属
语义与验证
并行定向测试 549 项通过,1 项 mypy 内部错误。该项已在当前提交串行复跑通过。 比较了三个 I/O 类型的实际轮询表现,并保留控制标记、取消后输出和工具行对照。Ruff 和 Git diff 检查通过。使用本地 HTTP 模拟 Language Server 响应,另核对活动投影和 Ruff。独立复核未运行实际桌面 Language Server、Lean 和完整预合并。 docs/development/testing-and-quality.md 上一轮评审
我的整体评价 / Verdict
REQUEST_CHANGES。 文件读取与代码动作终态回放的修复成立。请补齐取消终态、控制标记接纳和工具行归属三个边界,再用相同的运行轨迹复验超时与活动行。
English verdict: REQUEST_CHANGES at edc1b71. Terminal file and code-action replays now expire consistently, while real kind changes still advance idle. A canceled command can still postpone idle, subscriber-dependent control-marker handling still diverges, and cleared planner declarations still misroute tool completion.
Signed-off-by: aihop <4408344+hhyykk@users.noreply.github.com>
|
Hi @hhyykk, the DCO If the log confirms a missing |
Signed-off-by: aihop <4408344+hhyykk@users.noreply.github.com>
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent · gpt-6.2-sol · OpenAI · runtime_reported · xhigh
动机 / Motivation
通过 Antigravity Chat 查看原生活动和等待答复的会话参与者。 轮询会在 planner 报错后重新送达同一索引的旧 RUNNING。当前改动让空闲判定记住首个 DONE 或 ERROR。 旧 RUNNING 轨迹从 303 秒返回改为 302 秒按时取消,活动流仍发出四个新的运行中工具行。 当前增量涉及 Antigravity 的 planner 终态缓存、轮询、HTTP 回归和 Lean 模型。
改动思路 / Approach
适配器按索引和原生类型记住首个终态,避免同一步的旧帧重新打开工具进展。当前先用原始帧发活动,后用已接纳终态判定超时,两个消费者因此分叉。当前增量涉及 Antigravity 的 planner 终态缓存、轮询、HTTP 回归和 Lean 模型。 将已接纳的 planner 终态同时提供给活动和轮询,两个消费者才会对同一旧声明给出一致结果。 缓存调用顺序 记住终态
具体改动 / Changes
当前精确提交 5d56df627f86d32110ff23fbe0abdd595296938e,基线 811c1a1f66652d3fc3b9830d467e14b45b7423c1。完整提案有 56 个净路径,其中 52 个路径的提交侧 blob 与上一提交 edc1b71aa38eb5eabbbe392d55f873af87a6cc5e 一致。当前增量是四文件 +192/-30,完整提案另含 Steward 与持久层。发现来自实际 AntigravityAdapter.start_turn 和本地 HTTP。
- NATIVE-TERMINAL-ACTIVITY。上一提交 edc1b71 的 ERROR→旧 RUNNING 轨迹在 303 秒返回,并发出四条运行中工具事件。 当前对相同轨迹在 302 秒取消,仍发出四条运行中工具事件。稳定 ERROR 对照同样在 302 秒取消,且没有工具事件。 一直有效的 RUNNING planner 正常产生工具事件,并在 303 秒读到最终答复。稳定 ERROR 在 302 秒取消且无工具行。 工具活动投影
- NATIVE-CONSUMER-PARITY。同一未完成答复控制前缀在有订阅时 302 秒取消,无订阅时 303 秒完成,普通可见追加两组均完成。 已取消命令固定对照在 502 秒取消。旧 RUNNING 反复变化输出或交替原始状态时均推迟至 503 秒,已完成命令的三组均在 501 秒取消。 750 项定向测试通过。上述独立 HTTP 对照共 9 项通过、4 项失败,三个增量 Python 文件的 Ruff 和全净差检查通过。 真实路径验证契约
对主干的风险 / Risks
- [P2] 已报错的 planner 仍发布虚假工具活动。 当前对相同轨迹在 302 秒取消,仍发出四条运行中工具事件。稳定 ERROR 对照同样在 302 秒取消,且没有工具事件。 可正常推进的规划步继续正确显示工具行。用已接纳的中断历史同时约束同一步的工具登记和空闲进展,保留当前活动步与不同索引的真实事件。 时钟与活动的分叉
- [P2] 未完整控制标记的超时随订阅改变。 同一未完成答复控制前缀在有订阅时 302 秒取消,无订阅时 303 秒完成,普通可见追加两组均完成。 将预览接纳放到可选的事件通知之外,让同一轨迹驱动同一超时行为。 预览接纳分支
- [P2] 取消后的命令重放仍能延长空闲。 已取消命令固定对照在 502 秒取消。旧 RUNNING 反复变化输出或交替原始状态时均推迟至 503 秒,已完成命令的三组均在 501 秒取消。 保留取消的真实终态,阻止后续旧快照刷新空闲并保留不同步骤的实际进展。 取消状态的记录分支
本轮实测源码和本地 HTTP,输入轨迹与时钟为合成。实际桌面 Language Server、Lean、完整预合并及远端 CI 未验证。 上一提交评审
我的整体评价 / Verdict
REQUEST_CHANGES。 当前的 planner 终态缓存可以在同一 HTTP 轨迹恢复准时取消。请让活动投影消费同一已接纳终态,并复验可选订阅和已取消的命令。此次评审核对源码运行时的活动事件。
English verdict: REQUEST_CHANGES at 5d56df6. The stale planner replay now cancels at the expected time, but still publishes four running tool rows. The incomplete-marker subscriber divergence and canceled-command idle extension also reproduce.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d9e54879c6
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if not _is_strict_int(total) or total < 0: | ||
| return None |
There was a problem hiding this comment.
Scope timeout recovery checks to the failed turn
当 report 在已使用过的 Antigravity cascade 中超时时,这里会检查整个 conversation 的 inline steps,后续分页读取也从 start=0 开始。因此,即使当前 report 没有生成任何答案,先前成功 turn 的 planner response 仍会使 _steps_block_report_timeout 返回 true,导致 observe_failed_report 返回 None,阻止原本允许的 bounded timeout retry。授权 scope 未变化时,report 会保留原 conversation,因此正常复用的 session 会遇到此问题。应根据原 report 的 input anchor 限定检查范围,避免将历史答案当作当前 report 的完成证据。
Useful? React with 👍 / 👎.
Signed-off-by: aihop <4408344+hhyykk@users.noreply.github.com>
…covery Signed-off-by: Codex <codex@openai.com>
Signed-off-by: Codex <codex@openai.com>
ef8050d to
eae8f7b
Compare
|
Please re-review
Local validation passed 36 focused Python regressions, the final 11-case Steward rerun, 43 TypeScript tests, and the quick premerge gate. The previous Ark SQLite CI case passed locally under Python 3.13 on both the base and the candidate. Local mypy also passed on both. The final GitHub CI run is separate from these checks. |
Signed-off-by: Codex <codex@openai.com>
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent · gpt-6.2-sol · OpenAI · runtime_reported · xhigh
动机 / Motivation
使用 Antigravity 的会话参与者要在 native 轨迹复用与重放时看到准确进展,并避免把已经回复的报告送入恢复。原生轨迹可能包含历史回复和同一轮的部分或更新快照。 未完成控制标记在有无订阅均于 302 秒取消,普通文本两组均完成。过时的 ERROR/CANCELED planner 不再启动或占用工具行,独立新动作仍完成正确原行。原生报告使用起始索引,正常分页可忽略上一轮的历史回复。可证明没有保留轮询的 Monitor draft 可安全刷新,有保留或日志索引时维持原 draft。 使用本地 HTTP Language Server 模拟、隔离监控存储与 TypeScript Effect 入口。没有运行真实桌面 Language Server、Lean 和完整预合并。
改动思路 / Approach
两个 Antigravity 消费者共用规划步工具准入。无论事件订阅状态,一致处理预览接纳。报告按已记录的原轮起始索引读取 suffix。Steward 构建带来源覆盖的基线,并检查已持久化的轮询预约和索引。 完整提案 56 文件,+16940/-1107。本轮相对上一头新增的 14 文件涉及 Antigravity 轮询、报告恢复和 Steward 信号持久化,以及 Python、TypeScript 与 Lean 回归。 终态由 native 轨迹验证。报告路径读取同一原轮的证据,只有确实缺失答复才可通过恢复条件。 轮询与工具判断 监控信号
具体改动 / Changes
精确提交 13cb17585ddd868be87858714687605c6a1a6b77,基线 811c1a1f66652d3fc3b9830d467e14b45b7423c1,对照上一头 5d56df627f86d32110ff23fbe0abdd595296938e。
- NATIVE-TERMINAL-IDLE-AND-PREVIEW。两种订阅都按同一时限处理未完成控制标记。合理的新 planner 进展及最终答复仍可接纳。 预览接纳
- NATIVE-TERMINAL-TOOL-OWNER。当前与已观察的 ERROR/CANCELED planner 共用工具声明规则。合法新工具继续登记并完成。 活动投影
- REPORT-CURRENT-RANGE。报告使用原轮起点,正常分页可排除历史回复。验证包含完整、局部、复读变化以及空轮。 超时读取 报告复核
- STEWARD-MONITOR-RECOVERY。验证新收件箱变化可重观察未保留的同轮草稿,同时拒绝替换已有预约或已见索引的草稿。 轮询草稿 覆盖判断
对主干的风险 / Risks
- [P2] 报告复核丢弃同一轮已观察到的最终答复。 同一个复用 cascade 的本轮末步存在最终答复,分别只在首次不完整快照和分页确认快照中可见。两组 timeout observation 均停止,报告复核却仍给出 no_final_response=true,被生产 proof validator 接受。这个复核路径可能使已经答复的报告被当作可恢复。 验证实际 proof validator,未触发恢复写入。请让两个调用者共用同轮正证据与确认规则。 分页复核
- [P2] 命令取消后的旧输出仍延长空闲。 同一命令取消后收到旧 RUNNING。固定输出在 502 秒取消,变化输出延至 503 秒并完成。两组均只有一对运行和结束的活动事件。 保留取消状态,允许真正的新步骤推进。 终态记录
- [P2] CLEARED 声明仍会改变工具完成归属。 CLEARED planner 重报相同工具 ID 时额外打开一行,随后 code action 完成挂在独立行,已登记的工具行仍未结束。ERROR 与 CANCELED 对照仍完成原行。 在登记工具 ID 前处理清除状态。 声明守卫
语义与验证
六个定向 Python 套件 859 项通过,增量定向 38 项通过,上一轮轨迹复验 19 项完成并记录正反例,TypeScript 29 项通过。Ruff 和 Git diff 检查通过。 两个相同的同轮快照冲突在上一头都阻止恢复,在当前头只有报告复核返回可接受的无答复判断。另有明确起点为 0 但缺少计数的空轮归因问题,两头均复现。使用本地 HTTP Language Server 模拟、隔离监控存储与 TypeScript Effect 入口。没有运行真实桌面 Language Server、Lean 和完整预合并。 真实路径验证契约 上一轮结论
我的整体评价 / Verdict
REQUEST_CHANGES。 控制标记、已报错或取消 planner 的工具准入以及 Monitor draft 的恢复改动均有独立通过证据。报告复核还需保留同轮最终答复,命令取消和 CLEARED 完成归属仍有可复现缺口。
English verdict: REQUEST_CHANGES at 13cb175. Marker parity and interrupted-planner tool admission are fixed. The report verifier still accepts a no-answer proof when a current-turn final appears in an initial partial snapshot or pagination confirmation. Canceled-command idle extension and cleared-planner tool ownership also reproduce.
Goal And Delivered Outcome
Read-only Antigravity checks nested IDs and scoped legacy status. Timeout retries check answers, running steps and counts across quota. Confirm gaps with bounded paging. Preview checks both fields. Verified tool-free completion uses the final snapshot's nonblank text. Same-step rewrites pause deltas. Idle tracks admitted replies, reasoning and tool IDs. Idle and retries retain first DONE/ERROR by kind and index, plus planner CANCELED. Nonempty command output and integer exit codes retain first valid terminal values through partial or canceled replies. Reasoning keeps its last redacted summary on cancellation, ERROR, or summary-free DONE. ERROR marks observed activity failed. Tool rows survive reordering and insertion. Raw or retained ERROR/CANCELED suppress tool rows and tool progress. CANCELED suppresses previews. Late exact IDs bind before projection. Cancel closes observed actions, commands and reads.
Step readers check identity and coverage on each page and confirmation. Conflicts cancel active batches and withhold completed results, interrupted answers, capacity, quota failures, failed-report proofs and retry inputs. Compatible reads preserve anchor and stability rules.
Direct Antigravity polling checks identity before using status or counts and cancels on a conflict. Resume and dispatch on existing cascades check identity before reuse, rollover or anchoring. Invalid evidence fails resume before send. Matching running resumes and scoped legacy replies keep prior status and step limits.
Keyed Antigravity summaries take precedence, and declared IDs must agree with the key for readiness, resume and polling. The readiness fallback and cancellation confirmation require idle for the requested cascade. Invalid identities cannot confirm a stop. Scoped status-only replies preserve the bounded confirmation wait and original error.
Antigravity requires a nonnegative JSON integer step count before sending on an existing cascade. Polling can use numTotalSteps when a summary omits stepCount, and direct resume can use its step list when the count is absent. Explicit zero takes precedence. Invalid counts fail resume before rollover, anchoring or send, or enter transport cancellation during polling. Valid counts retain the existing limits.
Antigravity checks ranges before float conversion. Overflowing timeouts fail with ValueError before discovery or execution, while omitted and finite positive timeouts work. Oversized quota integers report unavailable, and valid fractions and zero quota retain their meanings.
Antigravity RPC rejects unpaired Unicode surrogates in decoded member names and string values, including nested objects and arrays. Valid supplementary characters, surrogate pairs, escaped literal text and blank acknowledgments still work. HTTP and transport errors keep their existing categories.
Antigravity acknowledges empty replies and JSON whitespace-only replies while preserving spaces inside strings. The parser rejects duplicate decoded names within each object, including objects nested in arrays. HTTP and transport errors keep their types.
Antigravity RPC rejects nonfinite JSON tokens and conversions, including nested values, with its transport error. Finite boundary values, signed zero, exact integers, quoted text and blank acknowledgments remain valid. HTTP failures keep their own type.
Antigravity decodes RPC responses as strict UTF-8 before JSON parsing. Invalid or truncated bytes use the existing transport error, while a valid Unicode replacement character stays unchanged. Blank bodies still acknowledge the call, and HTTP errors retain their own error type.
Antigravity requires a JSON object for a nonblank RPC response. Arrays, null and scalars use the existing typed transport error. Empty response bodies and empty objects remain valid acknowledgments. HTTP failures retain their separate error type.
Chat loads the Antigravity reader reset only for an Antigravity adapter. Antigravity uses a lazy direct HTTP opener for its validated loopback endpoint. It no longer constructs the default HTTPS context. The transport still rejects remote endpoints and redirects. Both previously excluded queue tests pass.
Chat compaction now preserves the append identities and sequences of the replay events it removes in the same replacement journal. Retry deduplicates by actual identity. A separate unwritten event still appends, even when its tentative sequence was used by a removed event. An empty replay keeps its sequence floor. Journals previously compacted without receipts lack evidence of the IDs already removed.
Chat checks the source journal revision immediately before publishing compaction under the existing journal lock. A detected replacement remains untouched. The completion marker comes from verified published bytes or the source of a no-op pass. A later replacement remains eligible for compaction.
Chat checks the opened append destination against the journal revision used to allocate sequence numbers. Tail repair and append use the verified handle. A missing journal is created exclusively, and a rejected destination leaves events buffered for retry without touching the alternate journal.
Chat's replay cache records the revision of the open journal that supplied its rows. The reader checks the file descriptor before and after the read. Incremental caching after an append requires the cached prefix to match the writer's opened version and records the version of that writer. A path change after reading or appending cannot stamp the cached rows with a different file's revision. Stable appends still avoid reading the full journal.
Steward binds registry Goal digests to the file descriptor that supplied the decoded bytes. The path stat still provides a cache lookup without reopening an unchanged registry. A cache miss checks the opened file before and after the read and verifies the byte count. If the path switches and returns to the prior file, the prior file cannot match the replacement digest.
Steward reads and decodes registry bytes before caching a Goal witness. If the file disappears between the path stat and the read, the missing observation stays uncached. When the registry returns, the pump observes its selected Goal even if the earlier metadata recurs. A parsed registry with no selected Goal remains reusable, and the general registry loader keeps its absence behavior.
Steward treats a registry read exception as evidence for the current backoff check. It does not store that exception in the snapshot cache. Repeated observations of the same failure keep backoff active. A recovered read can release backoff without a change to the file stamp. Unchanged successful snapshots still serve multiple bindings.
Steward's registry cache now includes filesystem change time. A same-size edit that preserves modification time reloads the registry when change time advances. Registry edits release backoff only when the selected Goal's digest changes. An unrelated Goal edit leaves backoff intact. Unchanged metadata still reuses one registry snapshot across bindings.
Chat replay and event compaction now include filesystem change time in their shared journal revision. An in-place rewrite with the same inode, size and modification time invalidates the cached rows and completed-compaction marker if change time advances. Existing three-field markers are verified again using the strict journal read. A validated unchanged journal gets the new marker without rewriting events.
Ordinary Chat event compaction checks the persisted journal under lock before flushing buffered events and before replacing replay rows. A malformed record, invalid kind, or invalid sequence holds compaction without changing the source or marking it compacted. Valid journals still drop replay-only rows and retain durable observations, including journals that already have increasing sequence gaps.
Typed Steward and managed-session monitor restart admission now needs verified continuity of the original Chat journal. The Python host shares the completeness check with legacy admission and sends that fact to the typed owner. Chat retains failed native monitor journals during replay compaction so a valid aged failure can still recover. Historical journals with a sequence gap remain ineligible for automatic recovery.
The legacy Steward monitor admission retry reads the original Chat journal strictly. It requires a queued-to-failed sequence with no gaps and no poll event. Missing journals, malformed rows and gaps hold the retry. An intact unpolled failure remains eligible for the existing single retry.
Steward now requires persisted evidence before retrying an outer Chat Turn that failed during preparation. The four launch and response fields must contain explicit nulls, and the delta count must be integer zero. A recorded host claim or dispatch holds the retry. An eligible unstarted failure can still retry after the cooldown.
Steward now requires explicit zero-write, zero-spend and zero-acknowledgement evidence for advancement retries. A replay also needs original Turn facts from the typed journal projection. The current call may report zero effects even after the original Turn spent quota. Conflicting durable records hold the retry, and a governance response with unknown effects preserves that uncertainty. Both zero-effect selection deferral routes remain supported.
Steward binds the repository selector from signal collection to the native poll request. The canonical Todo transaction compares this selector with the current Monitor before advancing the poll. A reviewed repository edit during collection now rejects old-repository evidence and preserves the committed cache and deadline. The recovery observes the new repository. When a no-effect abort reply is lost, recovery also checks the original durable reservation before replacing its draft.
Steward checks the normalized signal scope again under the existing poll admission fence. The scope writer and the poll share the scope path lock. An edit during collection rejects the stale observation before snapshot staging or native poll effects. The last committed snapshot and deadline remain available, and the zero-effect recovery recollects under the current scope. Equivalent normalized rewrites still commit.
Steward stages a signal snapshot before dispatch and publishes it after the native poll succeeds. Previously a rejected poll could replace the last committed repository cache. The next repository outage would then carry forward that draft while publishing new inbox evidence. The committed snapshot remains intact after rejection. If the reply is lost after the poll commits, collection and follow-up readback recover the draft only after verifying the original poll identity and result hash.
The native recovery fixture now exercises repository-only and combined monitor scopes explicitly. A repository-only outage preserves the durable poll state, allows one zero-effect recovery, and then lets the next monitor run. The combined control publishes an independent inbox change while retaining the verified repository snapshot and reporting its current coverage as incomplete. The scope distinction is covered through the native worker, poll receipt, and Lean model.
Each older-page request now fetches both recent windows. An older review can change the request-changes anchor, and an older comment can change who replied after that anchor. The two isolated one-PR replays originally removed a PR by mixing those facts across versions. Changed, missing or malformed recent evidence preserves the last trusted reply-dependent result. Independent verdict evidence remains usable. The existing supplemental requests carry both windows.
Steward now corroborates older reviews and older comments together when both contribute to the only open PR. In the baseline replay, the newer request-changes anchor was paired with an older author reply and falsely removed the watched PR. The mixed result now keeps the previous observation. Coherent evidence still selects the PR. The one-source controls retain their stable results and request counts.
Steward now corroborates both the terminal list and older supplements when the repository contains multiple open PRs. In a 21-PR replay, the baseline published two PRs from a mixed observation even though only one PR needed an older review. The shared readback verifies each consumed list window and the terminal projections, including rows that needed no supplement. If that evidence is missing or changed, the older supplements remain unverified. The monitor retains its previous result when the scope depends on the missing evidence.
Steward now uses a common readback for completed older review and comment supplements across multiple PRs. The baseline combined approvals that belonged to different observations. The revised repository observation keeps its prior result if a relevant older review cannot be corroborated. If a PR's review readback fails, Steward also discards comment conclusions derived from that provisional review. Verified independent exclusions still apply.
Steward now jointly verifies older comment pages when more than one PR has a completed comment supplement. In the synthetic replay, each coherent generation includes a different PR. The baseline mixed the two generations and published both. The revised scan preserves the prior repository observation when a relevant supplement cannot be corroborated. Independent exclusions, inbox changes and portfolio changes can still apply.
Steward now publishes the title, URL, head ref name and base ref name from the terminal list response for carried PRs. The four isolated replays each produced a mixed hash in the baseline. The revised scan matches the corresponding coherent terminal snapshot. An in-scope native PR with unreadable metadata retains the prior repository data. Independent portfolio and inbox changes can still publish. Verified independent exclusions and legacy snapshots still apply.
Steward now derives the merge-state markers for carried PRs from the terminal list response. The replay holds list membership, scope fields and nested evidence equal while the blocker moves between two PRs. The terminal readback clears the stale blocker. Missing, unknown and malformed native merge states retain the prior observation when the PR is in scope. Independent exclusions and established review and check markers still apply.
Steward now uses the final page response's draft status, mergeability and author for PRs carried from an earlier page. These fields can change while the existing list, check, review and comment readbacks agree. An unresolved scope field retains the prior result if the requested filter needs it and no verified fact independently excludes the PR. Review-based filters also hold when an unreadable author prevents attributing the available review evidence.
Steward now revalidates the recent comment window for PRs carried from earlier list pages. The synthetic replay kept list, CI and review readbacks equal while a mixed scan used author replies from different generations. A changed or missing comment readback leaves the reply evidence incomplete. Age-dependent observations retain their prior result where that evidence is needed. Independently excluded PRs and corroborated older-comment recovery still follow the existing paths.
Steward now revalidates review windows for PRs carried from earlier list pages. In the replay, two coherent generations each satisfied the approver-declaration filter on a different PR. A mixed scan incorrectly published both despite unchanged list revisions and check tallies. Changed or unreadable review readbacks retain the previous observation when the PR remains in scope. An independent exclusion can still apply. Corroborated truncated windows retain the existing review recovery path.
Steward now corroborates nested check tallies for PRs carried from earlier list pages. List identity and revision fields can stay equal while a check changes. The terminal page response must corroborate the earlier passing, failing and pending counts on the same HEAD. Changed or unreadable checks are marked incomplete for that PR. Core retains the previous observation when that PR is in scope. An independent exclusion, a fresh terminal PR row, and trusted direct adapter checks still follow their existing paths.
Steward now revalidates each consumed open-PR window in subsequent page requests. A stable total and distinct numbers can still produce a list that matches neither coherent observation. Each readback uses the original cursor and page size. LoopX compares the ordered PR numbers, HEADs, timestamps, review decisions, continuation and count. If a window is missing or changed, the scan is unavailable and Core preserves the previous observation.
Steward now verifies older comment pages against the same PR revision, latest comment window, and all previously consumed comment windows. Two coherent observations can both contain an author reply, while a mix of their pages falsely removes the PR from a stalled-age watch. Missing or changed readbacks leave the existing comment evidence incomplete and preserve the prior observation when the watch depends on it. Verified replies, independently excluded PRs, and the existing read deadline remain supported.
Steward now binds nested GitHub commit times to the observed PR head before using them to reset a stall. A readable timestamp with a missing or unreadable commit OID leaves the age and reply classification unresolved when it could move the anchor forward. This preserves the prior observation in stalled-age scopes. Verified current-head and direct PR timestamps still apply, and an independent draft filter can still exclude a PR. The existing GraphQL requests and budgets are sufficient.
Steward now verifies PR list pagination, identities and distinct coverage within bounded reads. Scoped watches use Core to plan comment backfill and verify age, reply role and coverage before publishing.
An otherwise eligible PR with a missing creator previously disappeared from include scopes and appeared in exclude scopes. Both produced a false material change. Core now keeps the last verified observation when author membership is uncertain. Independently excluded PRs still stay out of the result. Comment backfill remains useful for an uncertain under-age PR when it could establish that the reply bypass does not apply.
Core also rejects present repository snapshots whose
itemsfield is missing, null or not an array. Before the fix, Core treated these responses as an empty PR list. The observer now returns an incomplete result and the monitor leaves its saved snapshot intact. A verified empty list can still report that PRs were removed. A watch without an associated repository can still observe inbox and portfolio changes.Core now checks PR row identities before filtering or hashing. Each row must be an object with a distinct positive safe-integer
number. A malformed row or duplicate PR number makes the observation incomplete and preserves the saved snapshot. Comment backfill uses the same validation before selecting PRs.Steward now preserves the verified snapshot when a relevant exact-head Request Changes review has unreadable timing. The Python summary distinguishes that case from a confirmed missing current anchor, and Core preserves the distinction before applying filters or choosing comment reads. Known exclusions, valid legacy
updatedAtclocks and verified author-reply bypass still work.Steward preserves the prior observation when the time of a relevant comment or COMMENTED review could change which role replied last. Structured GraphQL comment rows keep their usable role evidence even when their timestamp is unreadable. A same-role reply or a verified irrelevant comment can leave a dated result conclusive.
Steward now requires a terminal review window with a matching total count and readable, distinct review identities before applying a filter that depends on reviews. A truncated window, malformed row or unreadable commit identity preserves the verified observation. Drafts, proven author mismatches and merge conflicts can still be excluded on independent evidence.
Steward can now recover older review pages when a scope needs review evidence and the initial window is truncated. Recovery requires the same PR and head, a stable total count, distinct readable review IDs and a verified terminal page. Review and comment backfill share the existing three requests per PR, scan-wide page allowance and scan deadline.
Older comment pages now use the same PR number and head binding as older review pages. A missing or mismatched identity leaves the existing reply evidence intact. Matching-head author and maintainer replies, independently excluded PRs and the shared read budgets retain their behavior.
Comment backfill stops before reusing any visited cursor. A cycle leaves older coverage unverified, while a fresh page can still establish a decisive dated reply or a real terminal boundary.
Older review pages now compare the PR's updatedAt and reviewDecision with the initial response. Either changed field, including on the last page, leaves the review window incomplete and preserves the prior review-dependent result. An explicit nullable decision remains valid. The fields travel on the existing request.
Each older review request now reads the initial review window through a GraphQL alias. Recovery requires the same ordered review rows, total count and boundary cursor on every response. A missing or changed readback preserves the prior observation. Each request reads up to 20 additional review rows within the original request and deadline limits.
Older requests now include readbacks for every already consumed older review cursor. The provider verifies all readbacks before accepting the next page. Changes or missing readbacks preserve the prior observation. At the third request, the first window, next older page and two readbacks are bounded to 80 review rows in total.
Nested check rollups now require a matching head OID. Readable direct PR-level checks retain priority, and a matching commit's explicit null rollup or empty contexts remain verified empty. Missing or foreign check evidence preserves the prior observation when the affected PR would otherwise be included.
Nested GraphQL check contexts now require a verified terminal page, an exact total count and distinct readable check IDs. A truncated window or contradictory metadata preserves the prior result. A complete 30-row window remains valid, including distinct checks with the same name. The query requests the extra fields on the existing read.
Check summaries now require every observed check to have a known passing, failing or pending classification. STALE, completed checks without a usable conclusion and unsupported run statuses leave the check tally unresolved. The monitor preserves the prior result, while documented pending states and independently readable PR-level checks remain usable.
Author Declaration
811c1a1f66652d3fc3b9830d467e14b45b7423c1.observe_github_repository_prs_post_reply_role,planStewardSignalCommentBackfillfilterScopedRepositoryItems,observeStewardSignalMonitorfilterScopedRepositoryItemsobserveStewardSignalMonitor,_collect_signal_monitorobserveStewardSignalMonitorhasReadableRepositoryItems,observeStewardSignalMonitorplanStewardSignalCommentBackfillsummarize_github_pr_signal,filterScopedRepositoryItemsplanStewardSignalCommentBackfill_summarize_request_changes_stall_read_graphql_comment_nodes_read_graphql_review_page,filterScopedRepositoryItems_backfill_pr_reviews,planStewardSignalReviewBackfill_read_older_pr_page,_backfill_pr_comments_if_needed_backfill_pr_comments_if_needed_read_review_revision,_backfill_pr_reviews_backfill_pr_reviews,_read_graphql_review_page_older_reviews_page_query,_backfill_pr_reviews_read_graphql_head_check_rollup,observeStewardSignalMonitor_read_graphql_check_contexts,_read_graphql_head_check_rollup_summarize_checks,summarize_github_pr_signal_normalize_graphql_pr_node,_summarize_request_changes_stall_older_comments_page_query,_backfill_pr_comments_if_needed_open_prs_graphql_query,_read_open_pr_window,observe_github_repository_prs_nested_check_readback_limit,_earlier_pr_checks_agree_review_readback_limit,_earlier_pr_reviews_agree,observeStewardSignalMonitor_comment_readback_limit,_earlier_pr_comments_agree_open_prs_graphql_query,filterScopedRepositoryItems_open_prs_graphql_query,summarize_github_pr_signal,observeStewardSignalMonitor_open_prs_graphql_query,_normalize_graphql_pr_node,observeStewardSignalMonitorobserve_github_repository_prs,_joint_supplement_matches_corroborate_supplements,observe_github_repository_prs_joint_terminal_matches,observe_github_repository_prsobserve_github_repository_prs_backfill_pr_reviews,_backfill_pr_comments_if_neededtest_repository_unavailability_preserves_poll_and_recovery_scopecommit_signal_snapshot,read_committed_signal_snapshotfence_observed_signal_scope,write_steward_monitor_scopeplanMonitorBatch,commit_signal_snapshothas_no_steward_advancement_effects,merge_steward_advancement_effectsresolve_advancement_turn_idmonitor_selection_failed_before_pollmonitor_restart_basis,admitMonitorRestartRecoverycompact_completed_eventsevents_after,compact_completed_events_registry_goal_witness_token_registry_goal_witness_token_registry_goal_witness_token,decode_registry_snapshotread_registry_with_revision,_registry_goal_witness_token_read_event_snapshot,flush_eventsflush_events,_append_jsonl_rowscompact_completed_events,_replace_jsonlflush_events,CompactedEventAppends_run_started_turn,_loopback_rpc_opener_rpc_post_rpc_post_rpc_post_rpc_post_rpc_post_rpc_post_rpc_post_extract_user_model_quota_check_positive_timeoutAntigravityAdapter.startAntigravityAdapter.start_turnAntigravityAdapter.start_turnAntigravityAdapter.interrupt_turnprobe_cascade_idle_cascade_summary_entryAntigravityAdapter.startAntigravityAdapter.start_turnAntigravityAdapter.start_turnAntigravityAdapter.start_turn_open_idle_cascadeScope And Continuation
The filter uses creator identity only when an author scope is configured. Backfill cannot establish a missing creator. In a scope with reply bypass, it can still establish that an under-age PR is independently excluded. Existing request caps and time budgets remain in place. Older adapters still work with their original numeric PR identifiers. Validation passes valid rows to the existing filters in their original order. A verified empty list can still report removals. The initial window and each older review page request at most 20 reviews. An unresolved recovery preserves the previous result in review-dependent scopes. Revision fields and page readbacks establish observable agreement over consumed pages. An older comment request can read the 20-comment latest window, one 50-comment page and up to two 50-comment prior windows. The third comment request is bounded to 170 comment rows and 20 recent review rows. The third review request is bounded to 80 review rows and 20 recent comment rows. The existing shared request count and time budget still apply. Open-list readbacks add at most 95 rows of revision fields to the fifth request, which still has at most 25 full PR rows. The five-request and shared time limits remain in force. The list check establishes agreement of the projected windows within a response. When a page can complete the list, it also requests the check fields used to classify earlier nested rollups. Each earlier window uses its largest observed readable check count as the limit, with a minimum of one for a known empty rollup and the existing cap of 30. The final request can add at most 2,850 prior check contexts. The worst case is 3,600 check contexts including the current page. Potential terminal requests also read the earlier review windows using the largest observed readable window per earlier page, with a minimum of one and the existing cap of 20. The final response can add at most 1,900 earlier review rows or contain 2,400 review rows including the current page. The request count and shared deadline remain bounded. Potential terminal requests now read earlier recent-comment windows using the largest observed readable window per earlier page, with a minimum of one and the existing cap of 20. The added comment rows carry author identity, association and time fields. The final response can add up to 1,900 earlier comment rows. Across check, review, and comment rows, the final request is bounded to 6,650 earlier rows and 8,400 including the current page. The list request count and shared deadline remain bounded. The terminal request can carry up to 760 scalar scope, merge-state and display fields for 95 earlier PRs. Display corroboration adds four fields per carried PR. It reuses the existing aliases and adds no list or supplemental requests. If older evidence completes a supplement in a multi-PR repository, the shared readback uses one existing supplemental slot and includes the cursor-bound list and the terminal rows. The same request is bounded to 3,400 requested rows across list windows, PR and commit aliases, checks, reviews and comments. At most 400 rows carry review bodies. A repository with one open PR uses its existing per-PR readback for a single older source. If older reviews and comments both complete a supplement, they use the same bounded joint readback. The row model and synthetic replays do not measure live provider latency or establish transactional snapshot semantics for GitHub GraphQL.
The committed cache and its single provisional slot live alongside each other. The staged-read recovery checks the existing quota index and its poll result artifact. Legacy cache entries require the current Todo result hash and scope. A legacy cache already replaced by an uncommitted draft may have no recoverable previous snapshot.
The native guard distinguishes a captured absence of a repository from the omitted field used by legacy callers. Omitting it preserves the historical wire and receipt fingerprint. A durable reservation still protects its original draft.
Validation
Tested revision
ef8050da2fa6531be2bd53a4a0f06f56e99e5fbc. Provider replays use synthetic input.27f5406d11f891ab0239b4d9de8651f85113331290a93eb369cf03376a. The published commitc62605a7f48abe5e746f2cbba7478a91b4045a4chas the same source tree and parent. Local premerge was rerun at the published revision.lean -DwarningAsError=true regression/StewardPrSignalPagination.lean9f8643a2fd5bf8933fFrontend / Visual Evidence
UI impact none.
Type of Change
LoopX Area