Repository navigation
Conversation
Signed-off-by: Lihua <1017343802@qq.com>
Signed-off-by: Lihua <1017343802@qq.com>
Signed-off-by: Lihua <1017343802@qq.com>
Signed-off-by: Lihua <1017343802@qq.com>
…tion-write-gate Signed-off-by: Lihua <1017343802@qq.com>
huangruiteng
left a comment
There was a problem hiding this comment.
评审 #5280,精确提交 21a2d9d3fc5403c653f2aa108f578f3c5e3d1831。结论:请求修改。
动机
#5214 与研究探索 RFC 的 M3 要求把显式组合缺口、原始 replan obligation、同一 Agent 的实验 Todo、实验输入和结果证据连成可验证的因果链。合并的 M1/M2 仅提供只读研究观察和候选投影;单靠读回、通用进度或 Todo 完成不能证明组合实验已执行。本 PR 把 M3 做成默认关闭的独立行为切片,并补上配置、CLI/status、现有 Lark Summary 投影及 File/SQLite Todo 终结路径。这是有用的交付边界,但当前头在既有诊断观察上会让后续实验无法写入,尚未满足持续推进和可恢复的体验要求。
改动思路
现有 Goal 配置和能力编辑器声明 explicit_only 与覆盖范围;Explore 结果日志及权威 Todo 提供事实,TypeScript Explore owner 判定精确 lineage,Python 只负责读取图、Todo 和源。共享 goal-frontier 在较高优先级的用户/运行中工作之后选择组合缺口;原 Turn 的 guard 进入收据,refresh-state 按这个 guard 验证后继、观察、候选否定或临时 blocker。原义务的来源失效可作无额度扣减的 Turn 退役,不修改现行目标验收。原有 File/SQLite 提交、Actor/lease/CAS 仍负责 Todo 终结。这个拆分大体复用现有 owner;coverage scope 是显式用户配置,gap 与状态应由权威图和 Todo 推导,不应由紧凑展示卡片决定。
具体改动
65 个文件,约 +3025/−99:49 个生产/配置文件、5 个文档文件、11 个测试或浏览器夹具文件。配置和前端加入策略/范围字段与文案;Explore CLI、status 和 Lark Summary 消费同一有界投影。explore_research.ts 扩充观察归一化、候选否定及完整 gap 推导;新 explore_research_execution.ts 联结 obligation、Todo 与结果并作写入判定。research_frontier.py 汇集权威历史 Todo、提供组合根;research_evidence.py 的写入器在日志锁内读取当前 Todo。终结路径的图快照 host 与 TS guard 保留原有 provider 事务;quota 收据、共享 replan 语义及 settlement 增加精确、无扣费的来源失效退役。RFC/协议及合成测试说明了启用、停用和未覆盖的现场验证。
关键代码讲解
researchCompositionGaps(loopx/control_plane/capabilities/explore_research.ts:208) 从全部节点、显式候选和输入指纹推导冷态 gap;这里把无execution_lineage的旧终态实验也计为observed。projectResearchComposition(loopx/control_plane/capabilities/explore_research_execution.ts:55) 用当前 obligation、权威 Todo 和精确结果组成热态;无 lineage 的旧结果不能满足它,因此同一 gap 仍可显示pending/scheduled。validateResearchExecution(loopx/control_plane/capabilities/explore_research_execution.ts:285) 验证写入者、Todo、实验及输入,却在 310–314 行要求上述冷态 gap 必为pending,与热态冲突。append_research_observation(loopx/capabilities/explore/research_evidence.py:79) 在真正的explore observe写入路径调用 TS 判定;终态诊断观察本身仍可合法保存。ResearchTerminalEvidenceHost(loopx/control_plane/capabilities/explore_research_terminal.ts:14) 锁住权威图供 File/SQLite 终结事务判定;这不能修复写入器提前拒绝新实验的问题。
对主干的风险
[P1,阻断] 既有终态诊断结果会使显式组合实验无法完成。 在同一对输入已有 M1/M2 式终态观察、但该观察没有 M3 execution_lineage 时,冷投影把 gap 标成 observed,热投影正确地不承认旧观察,仍显示新 joint_probe Todo 为 scheduled。我用隔离合成 Goal、真实 File 权威 Todo 与 append_research_observation 写入器复现:新增 joint2 的 actor、obligation、Todo、输入指纹都匹配,写入却被 310–314 行以“需要 pending gap”拒绝;同一夹具去掉旧诊断观察后写入成功。这同时发生于开启策略前已有 M2 数据和开启后合法写入诊断观察的情况;反复重试或新建同一输入对的实验不会恢复进度。请让执行写入的资格依据当前热态尚未被精确 lineage 覆盖来判定,同时保留对已观察、陈旧输入和重放的拒绝;在真实 explore observe + File/SQLite Todo 路径加入“旧诊断终态 → 新绑定实验 → 结果写入/关闭”的回归用例。
语义与 CI 对齐
这是现行 M3 的精确 lineage 义务,不是未来 M4 推断触发要求。现有 researchCompositionGaps 的 M2 冷态词汇与 M3 热态写入资格被误当成同一枚举;两者应共享输入事实,但不能让无 lineage 的诊断结果替代执行证据。审阅端未查询远端 CI(本 Goal 配置 wait_for_ci=false)。本地精确头的 96 个 Python 测试、119 个 TS 测试、控制面 typecheck 和 git diff --check 通过;上述真实写入反例失败,说明现有正向测试尚未覆盖旧观察共存。协议文档开头第 8 行称退役/恢复和 status/Explore 呈现“remain open”,与本 PR 后文声称已实现相矛盾,请一并校正为实际交付边界。现场模型选择和远端 Lark 效果仍未验证,作者已明确留给后续阶段。
我的整体评价
有用的 M3 切片与默认关闭、权威源/收据、独立 Todo 终结边界基本吻合;目前没有证据表明它扩大了执行或合并权限,也没有发现把 generic control-plane 错写成研究专用义务的新增规则。代码规模较大,但跨 UI、CLI、图日志、共享 gate 和两个权威后端有实际调用点;可保留这条单一规则 owner,优先消除冷/热态双重资格判断,而非增加另一套持久状态或兼容框架。对长期推进和用户纠错体验的结论均为回归:合法的既有数据会让任务显示可运行却无法记录结果。本次为 REQUEST_CHANGES;修复后请在新精确头重跑上述正反例、同输入重放与状态读回,再做完整复审。本审阅不授予合并或上线权限。
English verdict: REQUEST_CHANGES - head 21a2d9d3fc5403c653f2aa108f578f3c5e3d1831; a legacy terminal diagnostic observation leaves the live M3 gap scheduled while the real Explore writer rejects its exact bound result. Local 96 Python and 119 TypeScript tests, typecheck, and diff check passed; an isolated real File-authority writer counterexample fails only when the legacy observation is present.
Signed-off-by: Lihua <1017343802@qq.com>
Signed-off-by: Lihua <1017343802@qq.com>
Signed-off-by: Lihua <1017343802@qq.com>
Signed-off-by: Lihua <1017343802@qq.com>
huangruiteng
left a comment
There was a problem hiding this comment.
English verdict: APPROVE - exact head 1636697; prior old-diagnostic/live-writer blocker is repaired. Identical old/new probe, 13 focused TS tests, 108 Python tests including real File/SQLite, full TS suite (3474 passed, 30 skipped), isolated PostgreSQL authority suite (305 passed), browser scenario and both typechecks pass; remote CI was not consulted.
Reviewed exact head: 163669713b2e14d6bebab8a47ed5ebee01599edb. This is a new whole-PR review; the previous 14650fdd194eb713cf3d0627ae6e8b96d16b8ba2 conclusion was not inherited. The final seven-file change repairs the writer/frontier join and corrects both protocol openings.
动机
M1/M2 的研究证据只能只读观察;本 PR 的 M3 要把当前证据缺口、Todo、二元实验与可归属结果接成真正可结算的工作,而不是只在状态页显示“已排程”。尤其已有旧 terminal diagnostic 时,新 bound experiment 的结果仍应由当前 scope/obligation/输入血缘判定;诊断记录可留在历史,却不能抢走或否定新 duty。上个提交正卡在这里。当前提交把这条长期推进路径修通,并没有把整个 #5214 RFC 或后续真实模型/远端 Lark 资格宣称完成。
改动思路
入口仍是既有 Goal 能力编辑器和 CLI:只有用户明确启用 explicit_only 并给出 scope,Explore 才生成 live composition frontier。TypeScript 持有 gap、实验血缘和收尾状态的判定,Python 只负责取完整 canonical Todo 历史、File/SQLite 事件与调用 typed owner。写入器现在消费与 status/Explore 同源的 live frontier,保留 M2 cold diagnostic 的历史含义,却不让它充当 M3 的当前执行裁判。精确 replay 是只读;不匹配的 actor、scope、Todo 或输入在落盘前被拒绝,真正的 Todo 应用仍受 lease/CAS 与当前接纳门槛约束。
具体改动
整个 PR 是 65 文件、+3149/-100,覆盖 Explore 的 TS 规则与 Python IO 桥接、CLI/status/Todo/quota 读回、Dashboard 配置与本地化、EN/ZH 协议/RFC、File/SQLite 与浏览器测试。这个范围对应 M3 的端到端阶段,不是为了放大 diff 新建框架;最后一轮修复只改七个相关文件,把旧 cold-gap veto 替换为当前 live lineage 的同一判定,并补旧诊断在启用前/后出现的真实后端用例。相邻 future-facing 整理也落在现有 owner:完整 Todo 源共用读取,通用 replan gate 不直接依赖 Explore transport。
关键代码讲解
- append_research_observation 在事件日志锁内先处理精确 replay,再从当前 registry 与完整 canonical Todo 历史构建 live frontier,交给 TS 验证后才追加事件。旧诊断与新实验并存时,最终是否写入不再依据 capped Todo 显示或 M2 cold 状态。
- projectResearchComposition 是 status/Explore 使用的当前 gap/lineage 投影。历史诊断可以令 cold frontier 显示 observed,但没有当前 execution_lineage 时,它不会把新 bound duty 的 scheduled 误判成已完成。
- validateResearchExecution 现在检查 live frontier 的 schema、Goal/actor、当前 pending/scheduled gap、obligation 与 coverage scope,同时核对 exact Todo、节点和输入。已观测、错误 scope、伪造 actor 或已退休/重试的旧 duty 都不能因此获得新结果权限。
- read_research_todo_history 从 canonical active+retained 全集读取事实;archive 是血缘而非新可执行工作,避免三卡展示上限或顺序改变写入判断。
- Goal 能力编辑器 沿用现有 revision-locked 预览/应用与 scope 选择,只有明确操作才改变配置;桌面和窄屏均做了读回验证。
对主干的风险
最强反例仍是旧 terminal diagnostic 与新 bound experiment 共享当前输入。我用同一生产 TS 输入对比 14650fdd194eb713cf3d0627ae6e8b96d16b8ba2 与本 head:旧提交 cold=observed、live=scheduled、writer 拒绝 pending gap;本提交保留前两项的各自语义,但 writer 接受当前 exact-lineage typed_research_observation_v0。新增 TS 用例同时拒绝外来 actor、错误 scope、已经 observed 或用 archived duty 冒领的 retry。33/33 核心 Python 用例通过真实 CLI 和独立 File/SQLite,覆盖旧诊断启用前/后、append/replay、closeout、lease release 与 stale 改写;另 75/75 相邻 Python 用例通过。配置浏览器场景、Dashboard 与控制面类型检查、git diff --check 都通过。
风险边界也要说清:没有运行活模型/科学结论或远端 Lark 资格测试;这属于 #5214 后续门槛,不是把现有合成证据说成真实实验。干净检出首次缺少仓库根依赖 pg;安装声明依赖后,完整控制面 TS 测试为 3504 项、3474 通过、30 项因默认未设 PostgreSQL URL 跳过、0 失败。另用隔离的真实 PostgreSQL 16 跑通通用 authority-store 305/305;但未声称研究专用 PostgreSQL completion 已验证。评审配置明确不查询远端 CI;是否满足合并要求由 maintainer 另判。
语义与 CI 对齐
本 PR 在既有 Explore 能力中扩展研究执行 vocabulary,而不是创造通用 agent 权限模型。受影响的当前义务是显式 scope 内的 typed lineage、源限定退休和 Todo 接纳;它们是机器门槛,不只是提示。EN/ZH 协议开头已修正为“本 M3 实现状态/恢复,维护者集成与真实模型/远端 Lark 仍待验证”,与代码及此次测试边界一致。默认关闭与同 Goal 非覆盖工作继续走旧路径,不能因为安装或看见能力就自动启用。
我的整体评价
长期推进现在从 scheduled 到持久结果、可追溯收尾和重新开始有了同一判定;用户也能通过配置、CLI 与状态页读到真实的执行边界。65 文件是完整阶段的代价,但共用 TS owner、完整 canonical 事实和两种后端测试比另立一套补丁规则更容易维护;相关小范围重构已随本 PR 完成,没有要求无关 TS 重写。就当前 exact head 的 M3 可验证范围,我给出 APPROVE,未把暂缺的活模型/Lark 或未查询的远端 CI 说成通过,也不授予自合并或部署权。
…tion-write-gate Signed-off-by: Lihua <1017343802@qq.com>
huangruiteng
left a comment
There was a problem hiding this comment.
这个的验证情况怎么样,偏效果相关的我们希望在一些场景进行验证,最低限度是比如你自己的某些探索场景
huangruiteng
left a comment
There was a problem hiding this comment.
精确 head:20ce37d3d7eae9096ba57847bef6c3327f0a22a7。这是针对维护者最新“效果场景验证”意见的独立复审;未继承本 head 早先的 APPROVE,也没有把合成测试说成真实探索效果。远端 CI 按当前 capability 配置未查询。
动机
#5214 / 研究探索 RFC 的 M3 需要把显式组合缺口、当前 replan 义务、同一 Agent 的实验 Todo、输入指纹、二元实验结果与收尾连接起来。M1/M2 的终态诊断只能解释历史,不能替代当前实验的执行证据。此前 writer 被旧 diagnostic 的 cold 状态误挡;本 head 的代码与定向回归已修复这个合同缺陷。维护者现在进一步要求在某个实际探索场景观察效果,而不是只看到规则测试绿;这是当前复审的未完成验收点。
改动思路
沿用已有 Goal 能力配置和显式 scope;未启用时保持旧行为。TypeScript Explore owner 计算 current composition frontier、精确 lineage 及 writeback/closeout 资格,Python 适配 canonical Todo 历史与 File/SQLite 事件。共享 replan gate 仅消费已归一化事实;CLI/status、Dashboard 能力编辑器与本地 Lark Summary 呈现相同有界状态。原义务来源失效时可按来源退休且不虚构额度扣减;Todo 终结仍由 lease/CAS 与现行接纳规则负责。相关小型整理是让 writer/status 共用 live frontier、从完整权威 Todo 历史读取,而非复制另一套 cold/hot 判定。
具体改动
完整 PR 为 65 文件、+3149/−100,包含 Explore TS 判定、Python 观察写入与图/Todo 读取、共享 quota/replan/终结集成、CLI/status、Dashboard 设置与中英协议/RFC,以及 File/SQLite 和前端测试。关键路径是 read_research_todo_history → projectResearchComposition → append_research_observation / validateResearchExecution → 权威 Todo closeout。旧 terminal diagnostic 与新 bound experiment 共存时,冷投影可保留历史 observed,但没有当前 execution_lineage 的旧记录不能取消 live scheduled duty;写入器按当前 actor、scope、Todo、fingerprint 和 obligation 接纳一次,重放只读。
我在当前 head 的独立检出重跑 Explore execution、quota settlement、replan、lease lifecycle 的 120/120 项 TS 测试,以及 research composition/evidence/execution authority 的 49/49 项 Python 测试;控制面 typecheck 与 git diff --check 也通过。测试覆盖显式启用/未覆盖、旧 diagnostic 共存、错误 actor/scope、陈旧输入、replay、File/SQLite 终结路径。没有在本轮重跑先前评论中提到的完整 TS、PostgreSQL、浏览器或远端 Lark 矩阵,不能借其结果替代本次独立验证。
对主干的风险
[P1,效果验收未闭合] 这些结果证明合成场景下的接纳/拒绝和真实 CLI/File/SQLite 存储路径,不证明一个探索 Agent 在真实问题中会选择正确的联合实验、产出有用证据、再从实际用户可见路径继续推进。RFC 自己把确定性脚本 transport 与 live-model 证据分开;当前 PR 也将独立 live 模型/科学结论列为未测。维护者已明确要求最低限度一个自己的探索场景,因此本次不能仅依据早先 exact-head APPROVE 或测试数量再次批准。这个阻断与远端红 CI 无关,也不是要求本 PR 扩展到 M4 自动推断。
请提供一个公开安全、真实使用的最小案例:两个已有研究节点出现需要联合验证的缺口;操作者显式启用覆盖范围,Agent 看到可执行 successor,选择并执行二元实验,写入有来源的结果;从 CLI/状态页读回后关闭或继续原义务。附一条反例(陈旧输入、未覆盖工作或不做实验时不能靠普通进度清除义务),披露实际使用的模型/工具路径、是否人工引导、通过/失败/未测边界。只需有界证据和可复现步骤,不要上传私有 Goal、原始轨迹、凭据或内部素材。若现场模型或费用权限暂不可用,应保留现有 REQUEST_CHANGES,并把此 PR 的可合并范围与后续效果资格由维护者明确拆分;本轮没有擅自使用凭据或运行生产模型。
我的整体评价
REQUEST_CHANGES,原因是维护者要求的实际效果验证尚未提供,而不是发现新的代码回归。M3 的 typed owner、默认关闭隔离、旧诊断修补、File/SQLite 写入与终结已有可观的局部证据;范围虽大但对应从设置到持久收尾的一个可逆阶段,没有必要另造平行决策源。真正的长期推进与用户体验现在只能说“合同路径可运行,真实探索效果待证”。完成上述小型公开安全案例后,在同一 head 补证或新 head 修复,再按 capability 重审;本评审不授权合并、上线或模型/远端 Lark 晋升。
English verdict: REQUEST_CHANGES - exact head 20ce37d; 120 focused TypeScript tests, 49 Python tests, control-plane typecheck and diff hygiene pass, but the maintainer-requested real exploration-effect scenario is still unverified. This is an evidence gap, not an unrelated CI failure.
|
This pull request has merge conflicts with Choose the remote for the base repository, not an out-of-date fork. git fetch upstream
git rebase upstream/main
# Resolve each conflict, git add the resolved files, then git rebase --continue.
git push --force-with-lease origin HEADFor a same-repository clone whose Keep the DCO |
Signed-off-by: Lihua <1017343802@qq.com>
Signed-off-by: Lihua <1017343802@qq.com>
huangruiteng
left a comment
There was a problem hiding this comment.
精确 head:fed89c20f368889a7f3464ed7a4405723a8b14a9。这是整份 PR 的重新评审;未继承旧 head 的批准结论。正文按 LoopX PR review capability 的五块结构组织。
动机
#5214 / 研究探索 RFC 的 M3 要把显式组合缺口、当前 replan 义务、同一 Agent 的实验 Todo、输入指纹和结果接成可持续推进的闭环。此 PR 修补 M1/M2 只读诊断不能证明实际执行的缺口,交付边界有价值。当前合同路径已有较强验证,但维护者要求的最低限度实际探索效果案例仍未提供,不能把确定性存储验证当作实际探索效果验收。
改动思路
沿用 Goal 能力设置声明 explicit_only 和覆盖范围;TypeScript Explore owner 判定 live frontier、实验血缘、writeback 和 closeout,Python 负责完整 canonical Todo 历史及图日志 IO。CLI/status、本地 Lark Summary 与设置界面复用已有配置和投影。原始 guard 随 Turn 收据保留;输入或来源失效可作来源限定的无扣费退役,不顺带完成 Todo/Goal。File/SQLite 终结仍经过 actor、lease、CAS 和当前图快照,不新增另一套持久化决策源。
具体改动
整份差异为 66 文件、+3151/−100,包含生产/配置、五份文档、测试/浏览器夹具及派生的 registry IO 清单。不是只检查最后的 smoke 调整:已逐段检查 Explore typed owner、真实观察写入、共享 replan/quota/终结、配置 API 与三处 Dashboard 设置改动,以及全部测试和中英协议。新增 frontier/snapshot 模块均有当前生产调用点;完整 Todo 历史用于资格判断,三张显示卡只用于呈现,不能以展示缺席推出权威事实不存在。
关键代码讲解
- read_research_todo_history 汇集 canonical active 与 retained Todo;旧显示文件的 owner 不能覆盖已晋升的真实权威源,archive 保留血缘而非再次排程。
- projectResearchComposition 按显式 scope、当前 obligation、Todo 和精确 observation 联结热态。旧 diagnostic 可以解释历史,但没有当前 execution lineage 时不能替代新实验。
- append_research_observation 在日志锁内读取当前事实,再调用 typed execution 判定后追加;精确 replay 只读,不允许通用 JSON 写入伪造执行来源。
- qualifyResearchCompletion 与既有 Todo 终结事务联动;完成必须有精确结果,重试/退休不能拿历史义务冒充当前义务。
对主干的风险
[P2,当前验收证据缺口] 维护者要求的实际探索效果尚未闭合。 维护者已明确要求至少一个实际探索场景;当前 PR 正文仍说明本地公共材料 exercise 只是准备给 owner 看、尚未提交独立回复,且不声称真实模型选择。当前评论/评审记录也没有给出 Agent 选择并执行联合实验、产出有来源结果、从用户可见入口继续推进的实际案例。这不是新的代码回归,也不是要求实现未来 M4/M5 或证明通用科学质量。
最小补证:用一个公共、安全、有界的实际探索案例,展示两个既有节点、显式候选及覆盖范围 → Agent 选择和执行二元实验 → 有来源的结果写入 → CLI/状态读回后关闭或继续原义务;再展示一条陈旧输入、未覆盖任务或未执行实验不能靠普通进度清除义务的反例。披露模型/工具路径、人工介入及通过/失败/未测边界,无需发布私有 Goal、原始轨迹、凭据或内部材料。若模型/费用权限暂不可用,保留现有 hold,或请维护者明确将可合并的 M3 合同切片与效果资格拆分;审阅者不能替维护者撤销该要求。
语义与 CI 对齐
亲自重跑:124 项 Python、120 项 TS、控制面 typecheck、标准 canary 19 个选择检查及 5 个直接检查均通过。另用隔离真实 PostgreSQL 16.15 跑 authority-store 集成,308 通过、0 跳过;这是通用 authority/事务覆盖,不冒称研究专用 PostgreSQL 实验闭环。七种普通 CLI status/Goal Chat configure/start/resume 情况在不可变基线 649826221289cd4cb3dd8880d016e0afbbaca0fc 与本 head 使用同一夹具,完整归一化输入、诊断、持久读回与 dispatch 观察一致。定向真实 File/SQLite 用例覆盖旧诊断共存、错误 actor/scope、缺失结果、replay/archive、当前 guard 与无扣费退役。
远端 CI 按能力配置未查询;不存在以无关红 CI 请求修改的问题。本轮未执行实际模型/研究效果、远端 Lark 或打包 Dashboard 交互;配置 API 测试与浏览器夹具源码检查不等于现场 UI/效果读回。shared gate 是机器义务,不称为纯 guidance;研究专用词留在 Explore owner,通用 settlement 保持目标无关语义。
我的整体评价
REQUEST_CHANGES,原因是维护者要求的有界效果验收仍为 not_yet_proven,不是测试数量不足或未查询 CI。长期推进与用户体验的合同路径已验证多种正反例,但实际探索选择—结果—后续推进尚待证。规模较大,仍对应从设置到持久收尾的同一 M3 阶段;本轮 future-facing 检查确认 writer/status 共用 typed live frontier、Python 保持 IO 边界是值得保留的收敛,不需要另造框架或无关语言迁移。补上上述最小案例或维护者明确接受阶段拆分后,再按新鲜精确 head 复审。本评审不授予合并、部署或付费模型权限。
English verdict: REQUEST_CHANGES — exact head fed89c2. Local contract, canary and isolated PostgreSQL validation pass; the maintainer-requested bounded real exploration-effect evidence remains missing. This is not an unrelated CI failure.
Signed-off-by: Lihua <1017343802@qq.com>
huangruiteng
left a comment
There was a problem hiding this comment.
English verdict: REQUEST_CHANGES — exact head fdc2b80. The maintainer-requested bounded exploration-effect case is still unpublished. Focused contract validation passes; the install smoke times out at the same 120-second bound on both main and this head and is recorded separately, not presented as a new PR regression or a green gate.
动机
#5214 / 研究探索 RFC 的 M3 要把显式组合缺口、当前义务、实验 Todo、输入血缘、结果与收尾连接起来。只有诊断或排程不等于执行证据。此 PR 的合同切片有明确价值,但维护者已要求至少一个实际探索效果场景;当前正文仍说本地案例等待 owner review、尚未对维护者提交,最近评论也没有该补证。这个具体验收不能由测试数量或早先批准替代。
改动思路
用户在既有能力设置或 CLI 显式启用 explicit-only 与覆盖范围;TypeScript Explore owner 决定当前 gap、实验血缘、writeback 和 completion,Python 提供完整 canonical Todo 历史和图事件 IO。共享 replan/settlement 只消费来源限定的归一化事实;CLI/status、本地 Lark Summary 和配置界面复用已有投影。旧 terminal diagnostic 留作历史,不抢占新 execution duty;来源失效可退休原义务/Turn且不扣费,不顺带完成 Todo、Goal 或撤销历史扣费。原 actor、lease、CAS 和图锁仍有各自权威。
具体改动
本次从最新基线完整读取了 68 文件、+3166/−102,涉及 Explore 规则与 IO、quota/replan/终结、CLI/status、Dashboard 设置、本地化、中英协议/RFC、派生清单和测试。不是只看最后两处测试:已核对完整运行时和相邻调用者。与上次被评审的 fed89c20f 相比,当前 head 仅在 generated-twin 和 turn-start-hook 两份测试中 +15/−2;测试改为核对真实生成路径与原始/投影 hook 命令,没有调整 M3 runtime。既有历史证据可在明确失效检查后复用,但不继承旧批准,也不把历史 PostgreSQL 或浏览器运行报成本轮重跑。
关键代码讲解
- read_research_todo_history 从 canonical active/retained 全集读取血缘;展示上限不是权威事实全集,归档引用也不等于新可执行工作。
- projectResearchComposition 联结显式 scope、当前 obligation、Todo 和 observation。旧 diagnostic 没有当前执行血缘,不能因此消除 live scheduled duty。
- append_research_observation 在日志锁下先识别精确 replay,再读取当前事实、交给 typed writer 判定后追加;通用写入和伪造 IPC 不能跳过 actor、scope、输入与 Todo 联结。
- qualifyResearchCompletion 将精确结果资格交给既有终结事务;没有实验结果、使用旧义务或失效输入不能冒领当前完成,正常 replay 仍只读。
对主干的风险
[P2,仍未闭合的验收项] 代码规则与合成真实存储路径能运行,不证明 Agent 在实际问题里选择并执行了有用的联合实验,产出可追溯证据后还能从用户入口继续推进。当前修订不改变这个缺口。最小补证仍是一个公开安全、有界的实际案例:两个既有节点和显式候选/scope → Agent 选择并执行二元实验 → 有来源的结果写入 → CLI/状态读回后关闭或继续原义务;附陈旧输入、未覆盖工作或未做实验不能用普通进度清除义务的一条反例,披露模型/工具与人工介入、通过/失败/未测。无需上传私有 Goal、原始轨迹或凭据,也不要求整个 M4 自动推断、长期科学质量或付费模型调用。若现场资源暂不可用,应保持 hold 或请维护者明确接受阶段拆分,不由审阅者自行撤销要求。
语义与 CI 对齐
本轮亲自重跑七个相关 Python 文件 146 项、四组 TS 120 项、控制面 typecheck、Ruff 与 diff 检查,均通过,覆盖原诊断共存、精确 writer、File/SQLite completion、source retirement、replay 与配置 API。标准 canary 五个直接检查和 18 个选择检查通过,另一个安装 smoke 在 120 秒超时。相同命令在不可变 main 649826221289cd4cb3dd8880d016e0afbbaca0fc 与本 head 均以空 stdout/stderr 在同一 120 秒边界终止;installer、安装 smoke、bundle builder、skills 和依赖声明未改。未放宽预算或称整个 canary 通过;安装超时的更深原因尚未查明,单独保留为安装验证观察,不据此要求本 PR 修无关代码。
远端 CI 按 capability 配置未查询。本轮也没有新跑实际探索效果、远端 Lark、打包 Dashboard 或研究专用 PostgreSQL。上轮七种普通 CLI/status/配置/start/resume 的基线对比仅复用其未变运行时边界,并保留原来尚未验证的完整显示顺序、未来主体及现场交互维度;不能以局部严格拒绝证明整份 PR 的所有兼容路径。新增执行 vocabulary 属于 Explore;通用 settlement 保持目标无关语义。显式 scope 与精确 lineage 是机器义务,不只是 guidance,能力安装或可发现并不自动启用。
我的整体评价
REQUEST_CHANGES,主要理由仍是维护者要求的有界探索效果证据尚未提供,不是无关红 CI,也不是测试修订引入了新的 runtime 回归。长期推进和用户体验已有合同层正反例,但实际选择—执行—结果—后续推进仍为 not-yet-proven。完整阶段的规模较大,复用 typed live frontier、完整 canonical 来源和既有 provider/CAS 是值得保留的 future-facing 收敛;没有要求额外框架或无关语言迁移。补交最小案例或取得维护者明确的阶段接受后,再按新鲜 exact head 复审。本评审不授予合并、部署、模型费用或 provider promotion 权限。
Signed-off-by: Lihua <1017343802@qq.com>
huangruiteng
left a comment
There was a problem hiding this comment.
REQUEST_CHANGES — 本轮没有发现新的实现回归;阻塞仍是维护者明确要求的最小实际探索案例未提交,而不是红 CI。评审 head:4e3d77f1c8e3cf71c964d0fb78b7deabb4f4cf99;不可变 merge base:3ec049e138917a8cce4f84197ba196d26445b2b0。
动机
这是 #5214/RFC M3 从 M1/M2 的诊断观察走向显式组合执行:当前 gap 应连接准确 obligation、实验 Todo、二元结果和后续 closeout,不能把调度、旧观察或 ACK 当完成。维护者要求至少一个自身探索场景仍有效。当前正文已说明 exact-head public-material 案例在本地完成,但回复未公开;我承认这个声明,不把它当成可独立审阅的实际工具/结果证据,也不要求完成整个 M4。
改动思路
完整设计把决策保留在 TypeScript Explore owner,Python 负责当前图与 canonical Todo 完整历史的 IO;共同 replan/terminal/quota owner 仍掌握执行与结算权限。composition scope 是不能从状态推断的用户意图,live gap/lineage 是由原图和当前 Todo 派生的投影。正路径是显式设置、当前义务、绑定 joint experiment、准确输入结果、closeout;负路径拒绝错 actor、过时输入、无关 progress 和直接 IPC 绕过。小修只补 observation serializer 不足以覆盖真正用户闭环,但现在也不需要再加结构来补证据。
具体改动
本轮审的是完整 68 文件、+3166/-102 的 M3 范围,包含现有设置入口、配置 API、CLI、状态/本地 Summary、图读写和原子 terminal/settlement。相对已审 fdc2b80f,66 个 PR 路径逐字节不变;另两处是 upstream receipt-inbox 接线与重新生成 IO census,均逐项检查。main 已变,所以旧整组观测未直接冒充当前证据:Todo lossless-codec/index 的 upstream 交集已检查,并重新运行当前 source 的 tests 与 ordinary base/head 对照。
关键代码讲解
read_research_todo_history(loopx/capabilities/explore/research_frontier.py:17)读取原 canonical active 与 retained rows,promoted provider 优先,不从前三张展示卡推断缺失;历史归档只提供 lineage,不授予 runnable 权限。projectResearchComposition(loopx/control_plane/capabilities/explore_research_execution.ts:55)按当前 scope、input observations、obligation、owned Todo 与 exact result 做 join,区分 scheduled/observed/dismissed/deferred;总量源完整,再压缩展示。grants_execution_authority为 false,当前 graph 不能替代 actor/lease/CAS。qualifyResearchCompositionWriteback(同文件 186)只接受选中当前 duty 的准确 successor/result/blocker,重放 fingerprint 不能再次结算。source invalidation 的 retirement 只关闭原 duty/Turn、保留当前验收与历史 debit,并非 Todo 接受或 quota 返还。qualifyResearchCompletion(同文件 252)只有当前绑定实验的 typed observation 才可 closeout;历史 terminal replay 不执行新工作。legacy/native 使用同一 typed rule,原 graph lock/provider/CAS admission 保留。
对主干的风险
我亲自运行当前 head 的 146 Python tests、120 TypeScript tests、控制面 typecheck,以及当前 base/head 的七个完整普通入口对照:所有退出、错误详情、配置、状态、dispatch/readback 经仅临时标识规范化后相同。对照使用真实 OS/File/durable Chat/native acceptance,只有 adapter startup 与 worker dispatch 被替换;它证明 ordinary/off 合约,不是 live 模型效果。当前 stale/unrelated/actor/archival/retirement/legacy/File/SQLite 负路径通过;未把 packaged UI、remote Lark、PostgreSQL 或尚未运行的新 subject/order 维度说成已验证。
native premerge 本轮五个 direct 通过、19 个 selected 中 18 个通过,安装 smoke 在原 120 秒上限超时;原始失败保留,整体不称全绿,作者另次通过也不覆盖我的失败。本轮没有对这个新 base 独立确认超时根因,不宣称 PR 引入、修复或持续性能达标;它作为单独安装就绪限制记录。本评审的 Request Changes 来源是缺失当前维护者效果案例,不是红检查,也未查询或等待 CI。
语义与 CI 对齐
状态按显式类型与 transition 区分,未用 substring 判定完成;generic replan/quota 的词汇保持 goal-neutral,机器 enforce 的 duty 不称为可忽略 guidance。共享 gate 使用 capability evidence,不另造 Python 策略源。最小修复是公开已有 exact-head 案例的公有安全摘要:问题/输入组合、选择依据、实际工具操作、来源化二元结果、独立 CLI 回读和下一步,附一条 stale/unrelated 拒绝,并区分 model、tool 与人工干预。不需上传私有原始材料、不要求付费模型;若阶段仅声称确定性 M3 transport 验证,请取得维护者对这个切片的明确接受。
我的整体评价
机制有合理价值与现有 owner 归属,完整范围对 M3 闭环相称;future-facing 整理已应用于统一 live frontier/图锁/typed owner,保留 M1/M2 持久诊断与 replay 兼容,不需增加新框架。当前 ordinary/default-off 对照通过,但 long_horizon 和 user_experience 的实际探索结果、干预和 continuation 仍未能从已公开材料独立判定,因此不能继承旧 approval。提交已有案例或维护者明确认可阶段边界即可重新审这条 acceptance gap,不把它扩大为 M4、全平台或科学效果认证。该控制面 PR 留给维护者合并。
English summary: The whole exact-head M3 scope and its source/owner boundaries were reassessed. Current 146 Python and120 TypeScript tests, typecheck and seven complete current-base/head ordinary-entry observations pass. The actual public-material case is described as locally completed but its requested evidence is still unpublished; that specific maintainer acceptance gap blocks approval, not a red CI label or an invented runtime defect. The current native install120s timeout remains a separate unqualified readiness limitation. Publish the prepared bounded question/selection/tool/result/readback case with intervention limits, or obtain explicit maintainer acceptance of the deterministic stage boundary; no paid model, private raw evidence or fullM4 qualification is demanded.
English verdict: REQUEST_CHANGES
|
This pull request has merge conflicts with Choose the remote for the base repository, not an out-of-date fork. git fetch upstream
git rebase upstream/main
# Resolve each conflict, git add the resolved files, then git rebase --continue.
git push --force-with-lease origin HEADFor a same-repository clone whose Keep the DCO |
Signed-off-by: Lihua <1017343802@qq.com>
Signed-off-by: Lihua <1017343802@qq.com>
Signed-off-by: Lihua <1017343802@qq.com>
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent; gpt-6.1-sol; OpenAI; runtime_reported; xhigh
Exact head: 013f43c95de8b3465f9fd6dbc2f28e0ed6f6c7fb; accepted pre-change revision: 95868b661045b00f85d8ff6049c331dff9268a1e. 全部71文件(+3208/-112)按本次 head 核验;65个路径与本人上一轮已读 blob 相同,另外六个路径的当前 diff 及集成影响重新读取并验证。
动机
探索者应能把两个已完成输入需要的联合验证推进成可归属的实际结果。当前精确 head 的状态与权限约束通过;正文仍说 effect-case 草稿等待发布,完整公共讨论没有最低实际探索案例。缺少这项案例,使用者仍无法判断新增门禁是否让研究更有效,反复形式验收也会积累人工纠正成本。
这是可识别的 M3 增量;M4 自主多候选选择、科学收益、远端 Lark 和整个 Goal 关闭独立保留。当前最低修复是公开已有实际案例,并补齐共享 off 对照与连接真实后端的 packaged 操作;无需增加新 runner、付费模型或私有轨迹。
[P1] 最低实际探索案例仍未发布。 对照维护者验收及accepted RFC:§14.1 的状态/重放和 §14.2 的同一 causal identity 有 native 证据;§14.3 / M3 的实际业务案例与全部 shared-off/packaged real-backend qualification 尚未完成;maintainer-review-5351400622 的最低案例仍缺;M4 不作为当前阻塞要求。请发布真实问题、两个输入、选择或否定 joint probe 的理由、执行步骤/结果、独立 Explore/status 读回及 stale/unrelated-progress 负例,说明 Agent 判断与脚本执行边界。
改动思路
既有 Explore capability 拥有 evidence/lineage 语义;显式开启 harness、composition_mode=explicit_only 和 scope 后,canonical Todo/graph/input 事实进入同一个 TS 决策 owner。原 replan builder 生成义务,actor/lease/CAS、Todo 和 Turn settlement 负责效果;Python 承担 source/graph IO 与桥接。cold diagnostic、注册、卡片展示、旧 receipt 和配置发现不授执行权限。
相邻有界重构检查结论:保留既有 canonical reader、common obligation builder 和 terminal snapshot host,避免重建 Python scheduler/classifier。当前 legacy writer 仍由现有 actor/lease/CAS 完成,新增终结 guard 在这条真实入口有必要;本次没有证据要求整个图存储迁移。当前 PR 边界仍是显式 M3 evidence enforcement;先完成已有真实案例及资格,继续增加抽象不会消除验收缺口。
具体改动
全 diff 覆盖 TS policy/lineage/resolution/terminal,Python active/retained Todo 和 locked graph IO,native terminal/hard-lease wait,quota/refresh/no-spend retirement,CLI/配置/API/status/Explore/本地 Lark 投影,既有 Goal editor、双语协议以及 source IO/build inventory。共享 editor 的 draft 同步、解释器 fingerprint 和 prerequisite wait 也是行为变化,不能把它们统称为 off 时零变化。
projectResearchComposition(explore_research_execution.ts:55)先 join 完整 canonical source,再截断公开卡片;scheduled 不是 observed,归档 done 证据不变成 runnable work。qualifyResearchCompositionWriteback(同文件186行)拒绝 generic ACK、重复 fingerprint、wrong actor 与 stale inputs,分开实际 observation、dismissal、fresh blocker wait 和精确 no-spend retirement。qualifyResearchCompletion(同文件252行)和ResearchTerminalEvidenceHost(explore_research_terminal.ts:14)在原 actor/lease admission 后读取真实 provider Todo 和锁定 graph,再由原 CAS writer 完成;approved=true、换 terminal verb、historical receipt 都不提供新效果权限。read_research_todo_history(research_frontier.py:17)保留 canonical active/retained 历史,CLI/refresh/status/Explore 消费同一事实。
对主干的风险
本次当前 source 验证:五个核心 Python suites 110 passed,四个集成 suites 49 passed,四个 TS suites 166 passed;control-plane typecheck 通过;先跑 semantic advisory,再跑 premerge,19 selected +5 direct 全部通过。覆盖真实 CLI/File/SQLite、配置 API、旧 completion/lease recovery、source失效/归档/重放和原 admitted duty 的 no-spend retirement。初次集成命令误写了不存在的测试路径,修正后运行上述实际 suites;这些命令错误不归为 PR defect。没有读取、轮询或等待 CI。
65个旧 head 路径 blob 相同;六个变更是 debt/legacy completion、orchestration、quota、source IO census 与 ratchet 验证。逐项检查主干集成后,门禁仍使用 canonical identity/lease/CAS,没有放宽 module budget。旧 head 上本人已做的 packaged editor 和5 Goal/11 Agent/121项合成模拟保留原 revision,不能计为本次重跑或真实领域效用。
[P2] 同一 packaged 用户操作到真实配置 owner、再到 Explore/status 的旅程仍未接通;共享 off 的完整匹配对照仍未完成。 本次真实配置 API 验证通过,但旧 browser fixture 使用 map 模拟后端,不能证明 packaged persistence/adoption。请连接隔离真实后端,完成 correction/refusal/recovery/readback,并比较所有共享 off 输出的完整 guide、decision、receipt 和效果;明确共同 wait/fingerprint/draft 的有意变化。机器证据门禁不能靠 generic progress 或 disable 消除已 admitted duty;这些义务与 guidance 的区别已在协议说明。远端 Lark、真实模型研究、持续长期收益和当前用户安装未测。
我的整体评价
REQUEST_CHANGES。可验证的机械价值是减少“安排了、回放了或泛化 progress”被误当为当前实验完成,保留 archive、blocker 恢复及原 duty 退役的可追溯性。预期长程错误闭环减少,但研究效果与净效率仍未证明:canonical IO、typed bridge、graph lock 都有成本,最低实际案例和同一真实用户旅程尚缺。先公开已有案例并完成上述资格;无需扩展 M4。本评审不关闭父 RFC/Goal,不授合并或部署权限。
English verdict: REQUEST_CHANGES - 013f43c. The full current diff has fresh159 Python tests,166 TS tests, typecheck and19+5 premerge checks passing.65 blobs reuse this reviewer's prior analysis with six integration invalidations inspected. The maintainer's minimum actual exploration case is still unpublished; complete matched shared-off behavior and a joined packaged real-backend journey remain unqualified. Publish the bounded actual case and connect existing qualification. Historical simulations or a fixture map do not establish scientific utility; M4 and paid models are not required.
…plore-composition-write-gate Signed-off-by: Lihua <1017343802@qq.com>
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent; gpt-6.1-sol; OpenAI; runtime_reported; xhigh
Exact head: 7ee8ba5b890ba8827ddf4b641dac6b39124aab55; immutable pre-change base: 5f3ae2add3e0262b263199539e5acb0347ac68ef. Whole PR:71 files,+3208/-112.68 blobs match my previous complete review;3 mainline integration changes were re-read and current tests rerun.
动机
探索者应能把两个已完成输入需要的联合验证推进成可归属的实际结果。当前精确 head 的状态与权限约束通过;正文仍说 effect-case 草稿等待发布,完整公共讨论没有最低实际探索案例。 缺少公开可核验的实际结果,探索者仍无法判断新门禁是否帮助选择下一步、减少错误闭环或只是增加填写和评审成本。旧的只读观察不能把实际执行归属到当前任务;当前精确门禁的机械正向有测试支持,但实际效果尚未证明。
这是可识别的 M3 增量;M4 自主多候选选择、科学收益、远端 Lark 和整个 Goal 关闭独立保留。 在本 PR 发布已有真实探索案例的公开安全摘要,明确 Agent 判断与脚本执行边界、两个输入、probe 选择理由、实际结果与独立 Explore/status readback;补齐共享 feature-off 对照和连接真实配置后端的 packaged journey。无需新增机制、付费调用或提前交付 M4。
[P1] 最低实际探索案例仍未发布。 维护者原始要求一直要求至少一项自己的实际探索案例,当前正文仍明确说草稿等待发布,公开讨论只有机器人集成提示。请公开真实问题、两个实际输入、选择或否定联合验证的理由、实际步骤/结果、独立 Explore/status 读回,以及陈旧输入/无关进度拒绝;区分 Agent 判断与脚本执行。无需付费模型、私有轨迹或新增框架。
改动思路
既有 Goal 编辑器/CLI 声明显式策略和 scope;canonical Todo、完整图和当前输入进入单一 TypeScript Explore owner。原 replan 产生义务,actor/lease/CAS 和 settlement 继续拥有效果;Python 保留源读取、图锁及传输。注册、历史观察、展示卡片和诊断不能代替执行授权。保留既有 canonical reader、common obligation builder 和 terminal snapshot host,避免重建 Python scheduler/classifier。 当前 PR 边界仍是显式 M3 evidence enforcement;先完成已有真实案例及资格,继续增加抽象不会消除验收缺口。
具体改动
全 diff 包含 typed lineage/resolution/terminal、Python canonical history/graph IO、原生终结与 prerequisite wait、quota/refresh/no-spend retirement、配置/API/status/Explore/本地 Lark 投影、既有编辑器、双语说明及验收。当前 legacy guard 在 control_plane/todos/legacy_mutation.py,不再描述成已移动的 todos.py。共享编辑器 draft、解释器 fingerprint 和普通 hard-lease wait 的变化必须分别说明,关闭 Explore 不证明这些共同变化字节相等。
关键代码讲解
projectResearchComposition(explore_research_execution.ts:55)完整 join 后截断三张卡;scheduled 不等于 observed,done/archive 的归属历史不成为可运行授权。qualifyResearchCompositionWriteback(同文件186行)区分真实结果、否定候选、fresh blocker 与来源失效退役,拒绝无关 ACK/重复指纹/陈旧输入。qualifyResearchCompletion(同文件252行)与ResearchTerminalEvidenceHost(explore_research_terminal.ts:14)使用实际 provider Todo/锁定图,再由原 actor/lease/CAS 写入;caller approved、换 terminal verb、旧 receipt 不产生权限。read_research_todo_history(research_frontier.py:17)保留全部 canonical active/retained history,既有 CLI/refresh composition root 传递同一事实。
独立规格依据为变更前 mainline RFC:§14.1 状态/重放、§14.2 同一 causal identity 有当前 source 验证;§16/M3 的完整 default-off/packaged journey 尚未满足;maintainer-review-5351400622 的最低实际案例仍缺。§14.3 live-tool promotion 和 M4 自主多候选资格分别保留,不把它们与 M3 的 off/UI 验收混成同一个条款,也不新增付费合并条件。
对主干的风险
当前独立159 Python tests(真实 CLI/隔离 File/SQLite/配置 API/终结/lease recovery)、166 TS tests、control-plane typecheck 通过。先 advisory 再当前 full-tree premerge,19 selected+5 direct 全过、0 failures/warnings/manual holds;没有读取或等待 CI。68个已读 blob 相同,其余是原生 effect handler 注册和 mainline 新增的两条 replan guidance/测试;五条当前指导完整保留,指导仍不能解除机器 gate 或冻结预算。源码、解释器及实际 module 归属已核对。旧5 Goal/11 Agent/121项模拟与 fixture 浏览器证据保留原 revision,不算本次重跑或科学效果。
[P2] 完整 shared-off 配对与同一 packaged→真实 owner→Explore/status 旅程仍未资格化。 当前真实 API 测试通过,历史浏览器 fixture 配置后端仍是 map;两段通过不能证明实际打包用户操作的持久化/采用。最小补齐是相同输入的 immutable base/head 关闭路径,比较完整 decision/guide/receipt/效果并披露共同 wait/fingerprint/draft 有意变化;连接隔离真实配置后端完成启用、纠正、拒绝/恢复与独立读回。没有新运行时缺陷反例不能把未验证列改成通过。
语义与 CI 对齐
capability_evidence_gap 与 capability_duty_retired_no_spend 扩展现有 frontier/replan/settlement owner,Explore 状态留在本 capability;无 substring 权限规则或第二 Python 决策源。开启后的 evidence gate 是强制,generic progress/disable 不可消除原 admitted duty;来源失效退役只关闭精确原 Turn 且不扣费,不证明研究或 Goal 完成。
我的整体评价
REQUEST_CHANGES。这是可识别的 M3 增量;M4 自主多候选选择、科学收益、远端 Lark 和整个 Goal 关闭独立保留。 机械正向是减少把排程、历史回放和泛化 progress 当作当前实验完成,并保留 blocker/archive/retirement 的因果归属。长程效果与净效率、真实用户体验仍 not_yet_proven:增加的 canonical IO/typed bridge/graph lock 有成本,但最低实际案例、完整 off 对照与连接真实后端的旅程仍缺。相邻未来重构保留单一 TS owner 与已有 IO/helper,当前不需要加框架;优先补已有交付证据。当前评审不关闭父 Goal、不授合并或发布资格。
Motivation
An explorer who has two individually completed inputs needs to decide whether their combination requires a joint probe, then attribute its result to the current task. Cold observations alone cannot prove that execution happened. This head's exact lineage gates have mechanical support, but the promised actual exploration case is still unpublished: the PR explicitly says its reply draft awaits owner review, and the public discussion has only integration notices. [P1] Publish the maintainer-requested bounded actual case: the real question, two observations, choice or rejection of a joint probe, executed steps and result, independent Explore/status readback, and stale-input/unrelated-progress refusal. Identify Agent judgment versus scripted lifecycle execution. No private trajectories, new framework, paid model or early M4 implementation is needed.
Approach
The existing Goal editor and CLI declare explicit policy and coverage scope. Canonical Todo history, locked graph facts and current inputs feed the existing TypeScript Explore decision owner. Common replan creates the duty; actor/lease/CAS and Turn settlement retain effect authority. Python performs source/graph IO and transport. Registration, historical observations, compact cards and configuration discovery grant no execution permission. Keep the canonical reader, common obligation builder and terminal snapshot host; a parallel Python scheduler or classifier would duplicate authority. The current boundary is explicit M3 enforcement, with actual-case and qualification work still open.
Changes
The full71-file diff covers typed lineage/resolution/terminal gates, canonical active/retained-history IO, graph locking, native terminal and prerequisite wait, quota/refresh/no-debit retirement, CLI/API/configuration/status/Explore/local Lark projections, the existing editor and bilingual protocol/validation. The legacy guard now lives in control_plane/todos/legacy_mutation.py. Shared draft timing, interpreter fingerprints and ordinary hard-lease waiting are disclosed common changes, not automatically byte-identical feature-off behavior.
Key code
- projectResearchComposition at explore_research_execution.ts:55 joins complete authority before limiting public cards; scheduled is not observed, and archived attribution never grants runnable work.
- qualifyResearchCompositionWriteback at186 separates actual results, scoped dismissal, fresh blocker and source invalidation; unrelated ACK, duplicate fingerprints and stale inputs cannot satisfy the duty.
- qualifyResearchCompletion at252 and ResearchTerminalEvidenceHost at explore_research_terminal.ts:14 inspect the actual provider Todo and locked graph before existing actor/lease/CAS effects. Caller approval flags, terminal verb substitution and old receipts grant nothing.
- read_research_todo_history at research_frontier.py:17 retains canonical active/archive history for existing CLI/refresh composition roots.
The linked immutable pre-change RFC is the specification, not this PR's edited status claims. Sections14.1 and14.2 have current state/replay and causal-identity evidence. Section16/M3 still lacks complete shared-off and packaged real-owner qualification; maintainer review5351400622 still lacks the actual case. Section14.3 live-tool promotion and M4 autonomous selection remain separate, without adding a paid-model merge requirement.
Mainline risk
Current independent159 Python cases exercise real CLI, isolated File/SQLite and configuration API, terminal/lease recovery and retirement;166 typed cases and control-plane typecheck pass. Advisory preceded full-tree semantics/premerge:19 selected+5 direct checks pass with no failures,warnings or manual holds. Remote CI was not fetched or awaited.68 previously inspected blobs match the prior complete review;3 integrated effect-dispatch/replan/test changes were read and their current paths rerun. All five mainline planning clauses remain, including candidate-rule reconsideration and executed-path probes; advice cannot discharge the gate or relax frozen acceptance. Historical five-Goal/11-Agent/121-case simulations and fixture browser evidence retain their original heads, not current execution or scientific value.
[P2] Complete shared feature-off comparison and the joined packaged real-backend journey remain unqualified. Current real API tests and a historical browser map are separate proofs; they do not establish packaged persistence/adoption. Compare immutable base/head full decisions,guidance,receipts and effects for every shared off surface, explicitly preserving intentional wait/fingerprint/draft changes. Connect the packaged operation to the real isolated configuration owner and Explore/status, with correction, refusal, recovery and independent readback. Keep unverified dimensions visible; absence of a newly reproduced defect is not qualification.
Semantic alignment
capability_evidence_gap and capability_duty_retired_no_spend extend existing frontier/replan/settlement vocabularies; Explore states stay capability-local. No substring authority classifier or parallel Python decision source is introduced. The admitted evidence gate is enforced, not optional guidance. Generic progress or disabling policy cannot erase the original duty; qualified invalidation closes only the exact original Turn without debit, not the research Goal.
Overall assessment
English verdict: REQUEST_CHANGES - 7ee8ba5. This is an identifiable M3 increment; M4 autonomous selection, scientific usefulness, remote Lark and complete Goal closure remain separate. Preventing schedule/replay/generic progress from masquerading as current evidence is mechanically positive and should reduce false closure. Long-horizon net efficiency and actual user experience remain not_yet_proven: canonical IO, bridge and graph-lock costs exist without the accepted actual case or complete off/packaged qualification. The bounded future-facing pass retains existing typed owners and IO seams; publish the existing case and connect qualification before adding plumbing. Review does not grant merge, deployment or parent-Goal completion authority.
…tion-write-gate Signed-off-by: Lihua <1017343802@qq.com>
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent; gpt-6.1-sol; OpenAI; runtime_reported; xhigh
结论:REQUEST_CHANGES,精确 head e6e94ee12ccb9a4e5be8b224fac9595672cefe71。机械集成验证通过;下面两项仍是验收缺口,不能用新合入的 main、更多测试或作者的完成声明替代。
- P1:最低实际探索案例仍待发布。 当前正文明确说 effect-case public reply draft 仍待 owner review/publication。原维护者 review5351400622 要求至少用自己的真实探索场景验证效果。请公开安全地说明一次实际问题、两个输入、为何选这个 probe、Agent 判断与脚本执行的边界、真实结果及独立 Explore/status 读回;再见证陈旧输入和无关进度不能结案。无需提前实现 M4、另建 runner、付费调用或公开私有原始数据。
- P2:共享 feature-off 及连接真实 owner 的 packaged journey 仍未资格化。 当前源码负例通过;已有浏览器配置后端仍是 map fixture,独立 source API tests 不能合成一个真实配置旅程。请补同输入、不可变 base/head 的共享 schema/完整指令/状态/terminal/receipt/off 副作用对照,明确有意共有 wait/fingerprint/draft 差异;用 packaged frontend 对真实隔离配置 owner 完成启用→拒绝/修正→独立 Explore/status 读回。
动机
当前机械状态/lineage限制通过,新的public body仍说effect-case draft待owner复核/发布;目前没有最低实际探索案例、完整off pair或packaged-real-owner连接证据。 live promotion 和 M4 自主多候选/重复科学效益资格独立保留,不升级为本次修复前置条件。
要解决的是探索者已完成两个输入后,联合验证能成为可归属的实际结果,而不是把 diagnostic/replay/别人的结果作为当前任务的完成证据。验收来源 docs/architecture/rfcs/research-exploration-control-plane-v0.md,spec_revision: 5fb256a4d71e6fd654bc1989fed06b17a277140e,并结合原维护者 review5351400622;使用本 PR 之前的 main 文本,不用它自己改写的 RFC 证明完成。
criterion_id §14.1:状态/replay、陈旧与错误归属机械约束当前通过;§14.2:同因果身份及 canonical 权限/source 路径的当前机制检查通过;§16/M3:真实 provider/state、default-off 与 packaged enforcement 旅程仍有上述缺口;maintainer-review-5351400622:最低实际案例未满足。§14.3 的 live promotion 和 M4 自主多候选/重复科学效益资格独立保留,不升级为本次修复前置条件。
改动思路
沿既有 Explore capability、canonical Todo、通用 replan/settlement/lease/CAS 边界扩展:TypeScript 决定归属/eligibility,Python 读取图和 authority IO。配置的 explicit mode/scope 是 owner 意图,frontier 是派生视图,不因 graph/profile 存在而启用。当前 PR 边界仍是显式 M3 evidence enforcement;先完成已有真实案例及资格,继续增加抽象不会消除验收缺口。未来变更成本检查重新执行:复用通用 effect/terminal owner,保留实际旧记录兼容路径;legacy IO 的精确依赖例外不能扩大成第二个决策源,未要求无关 TS 迁移或新框架。
具体改动
完整 71文件 +3208/-112 及前次 head 7ee8ba5b890ba8827ddf4b641dac6b39124aab55 到当前的 delta 均纳入。63个 head blob 相同,8个是 main 集成改变;71个实际 base→head 增删行序列全部与前次一致。已重新读 successor/dispatch/monitor-wait/settlement/recovery/legacy IO 与 manifest 的集成点,并重新运行当前检查。这是有界复用源码分析的依据,不能继承旧 verdict 或把历史模拟写成当前实测。
配置 editor/CLI、Explore lineage/证据 frontiers、原生 Todo terminal、quota/receipt、replan/status 与公开协议逐项归属仍成立。历史五 Goal/11 Agent 的隔离 identity 模拟及浏览器/API证据保留原版本、各自边界;它们没有提供实际探索收益、所有 shared-off 对照或 packaged-to-real-owner 完整链。
本轮实际检查:六组 source Python suite 227 passed,四组 typed TS 150 passed/0failed/0skipped;control-plane typecheck 通过。语义 advisory 的两个候选分别扩展现有 replan/settlement closeout vocabulary,随后 full semantic/原生 premerge 19 selected + 5 direct 全通过,0失败/警告/manual hold,71文件 public boundary clean;涵盖 install/packaged install/update、typed风险/维护性、quota resume/wait、semantic、canary runner。没有查询/等待 GitHub CI。历史159/166来自不同 suite/revision,不重标成当前结果。当前通过的检查仍不填上面的两项 required evidence。
对主干的风险
exact actor/input、canonical terminal 与原 lease/CAS/source stale 限制可防止机械误归属,有界机制价值正向。共享 lifecycle/text/receipt 的扩展同时影响研究 gate 外的调用者,因此 default-off 必须由完整行为证据证明,不能只证明不返回研究对象。浏览器 map 能证明 UI fixture 交互,却不足以证明真实 backend 的拒绝、修正与读回。关闭配置后保留已 admission guard 的语义、历史 replay 和只读诊断不结案仍须保留。
我的整体评价
当前可识别 M3 增量的组织和复用是合理的;机械 correctness 不是实际探索效果与完整使用体验的验收。长期效果/效率仍 未证明:没有实际 adopted result 或 matched 净收益,不能由测试数量、native receipt、merge 次数或记忆建议得出正向科学收益。最小补充就是已有真实案例的公开安全证据、shared-off counterfactual 和一次 packaged→真实隔离 owner→独立 readback,不需要扩展 roadmap 或新机制。原两项缺口在新精确 head 重新成立,故保持 REQUEST_CHANGES;通过项、失败项和未测项按边界分别保留。
English review
English verdict: REQUEST_CHANGES
REQUEST_CHANGES at e6e94ee12ccb9a4e5be8b224fac9595672cefe71. The mechanical integration passes; two accepted evidence gaps remain: (P1) the original maintainer's minimum real exploration case is still an unpublished owner-review draft, and (P2) complete shared-feature-off counterfactuals and a packaged-to-real-configuration-owner refusal/correction/readback journey are unqualified. Publish a bounded public-safe actual question, two inputs, probe choice, Agent-versus-script boundary, result and independent Explore/status readback, plus stale/unrelated-progress negatives. No paid-model call, new runner or premature M4 delivery is required.
Specification: docs/architecture/rfcs/research-exploration-control-plane-v0.md at immutable pre-change revision 5fb256a4d71e6fd654bc1989fed06b17a277140e; criteria §14.1, §14.2, §16/M3, maintainer-review-5351400622, §14.3, M4. Current state/attribution mechanisms pass; accepted M3/effect evidence remains unmet. Live promotion and autonomous M4 selection remain separate.
I re-reviewed the complete71-file+3208/-112 change and integration delta.63head blobs match the preceding full review,8main-integrated blobs were re-read, and all71actual PR added/removed-line sequences match the previous delta. This supports bounded analysis reuse, not inherited approval or relabeled historical simulations. Fresh source227 Python and150TS tests, typecheck, vocabulary advisory then full semantics, and native19selected+5direct checks pass with zero failures/warnings/manual holds.71changed public files scan clean. No GitHub CI fetched or awaited.
The existing built-in Explore, typed decision, canonical IO, terminal and common lease/CAS/settlement owners are proportionate; a speculative framework would not repair the evidence gap. Mechanical attribution has bounded positive evidence. Scientific utility, complete user journey and sustained net efficiency do not. Earlier cross-goal identity simulations and separate map-browser/API checks retain their original revisions and limits. Keep the admitted guard/replay semantics and complete off behavior; complete the evidence rather than add abstract machinery.
|
This pull request has merge conflicts with Choose the remote for the base repository, not an out-of-date fork. git fetch upstream
git rebase upstream/main
# Resolve each conflict, git add the resolved files, then git rebase --continue.
git push --force-with-lease origin HEADFor a same-repository clone whose Keep the DCO |
Signed-off-by: Lihua <1017343802@qq.com>
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent; gpt-6.1-sol; OpenAI; runtime_reported; xhigh
动机
探索者:要解决的是探索者已完成两个输入后,联合验证能成为可归属的实际结果,而不是把 diagnostic/replay/别人的结果作为当前任务的完成证据。
当前 source 机械归属/状态路径通过134 Python与172 TypeScript检查;PR仍明确实际effect-case未公开,完整shared-off对照和packaged→真实owner组合旅程仍未资格化。
live promotion 和 M4 自主多候选/重复科学效益资格独立保留,不升级为本次修复前置条件。
改动思路
沿既有 Explore capability、canonical Todo、通用 replan/settlement/lease/CAS 边界扩展:TypeScript 决定归属/eligibility,Python 读取图和 authority IO。
当前 PR 边界仍是显式 M3 evidence enforcement;先完成已有真实案例及资格,继续增加抽象不会消除验收缺口。
独立验收依据是修改前 RFC docs/architecture/rfcs/research-exploration-control-plane-v0.md@5fb256a4d71e6fd654bc1989fed06b17a277140e 及原维护者 review5351400622:§14.1 的 exact state/replay、§14.2 的共同因果来源已获当前机制检查支持;§16/M3 的真实 provider/默认关闭/packaged journey 仍有缺口。maintainer-review-5351400622 要求最低实际探索效果案例,也未在当前公开材料完成。§14.3 的 live promotion 与 M4 多候选/重复科学效益继续作为独立后续边界,未抬高本轮门槛。
具体改动
本次完整 own-base/head 为 b6217cb236035ca1508c993398f7886dba3847d7 → 82b81acaae2685fb255d6f5af098ec5e6a6df8ae,71 文件 +3214/-112。projectResearchComposition 从完整当前来源派生范围内候选后才限制展示;qualifyResearchCompositionWriteback 与 qualifyResearchCompletion 限定当前 actor/input/Todo/result;ResearchTerminalEvidenceHost 持图锁连接既有 canonical terminal、claim/lease/CAS。Python 是图及 authority IO adapter,资格与效果决策继续在既有 TypeScript owner。现有配置 editor、CLI、status/Explore/Lark 及双语协议同步扩展,不引入自主调度器。
相对上次评审 head e6e94ee12ccb9a4e5be8b224fac9595672cefe71,57 个 head blob、69 个自身增删行序列未变,只据此复用对应源码分析;14 个受 main 集成改变的文件和完整集成 diff 重新读过。两个自身变化文件保留 Explore transition 与通用 lifecycle candidate,并传递原准入 guard 时间戳。旧测试、模拟、browser fixture 或 verdict 没有改标为本轮证据。
当前独立运行六个 Python suite(composition gate、research evidence、execution authority、frontier replan、Chat configuration API、turn contract generation):134 通过。四个 TypeScript suite(Explore execution、hard-lease blocked lifecycle、quota settlement readback、replan semantics):172 通过。类型检查、增量语义 advisory 后的完整 semantic-vocabulary drift smoke 都通过。初次相对 compiler 路径不存在而 exit127,使用已确认的完整 compiler 路径对同一源码重跑通过,原失败保留;未报成源码错误或删掉失败历史。
[P1] 最低真实效果验收仍未发布。 当前 PR 明确写着 effect-case draft 待 owner 复核公开。当前 scoped lineage、脚本观测与终态检查证明能拒绝误归属,不能证明探索者实际作出了有用联合选择、拿到结果并采用。最小补齐是在本 PR 公开已有案例的安全摘要:实际问题、两个输入、联合验证选择理由、Agent 判断与脚本执行的边界、真实结果和独立 Explore/status 读回;无需付费新调用、M4 runner 或私有原始数据。
[P2] 共享默认关闭与 packaged→真实 owner 的组合旅程仍未验收。 当前 head 的 off/legacy/负向单测和分开的 API 测试通过,但并未给出完整 shared quota/projection/terminal/receipt/指导文字的同输入 immutable base/head 对照。浏览器 fixture 配置 map 与真实隔离 backend 的单独测试也不能组成真实使用路径。请给出一条 packaged 启用→拒绝/纠正→独立配置及 Explore/status 读回的实际 owner 旅程,并明确普通 hard-lease wait 等有意共享变化;不要求重跑所有截图/每种状态。
对主干的风险
明确 opt-in 的来源、current actor/input、native claim/lease/CAS 和 exact retirement 不能被 diagnostic、旧 replay、任意 ACK 或关闭 capability 绕过;retirement no-spend 是原义务生命周期收口,不是科学成功或 Goal 完成。路径分类依靠类型化来源及身份,不靠说明文字/名称子串。共同 hard-lease wait 是有意通用改变,不能仅靠不存在 research 对象宣称所有 off 行为一致。
按配置未查询、轮询或等待 CI。本轮重新验证 source mechanism,未重跑历史 authority 身份模拟、native canary 或 browser fixture,也未资格化实际探索采用、完整 shared-off 输出和组合真实后端旅程。没有新增并行 Python decision owner;后续结构检查认为最近 Explore/通用 lifecycle owner 足够,先完成已有验收证据比继续添加抽象有价值。
我的整体评价
REQUEST_CHANGES。本轮依据当前 exact head 和新鲜集成/验证作出结论,保留两个具体验收缺口。机械归属修复有有界正向价值,但真实体验和长程净效果/效率仍未证明;重复绿测试或增加 review 数不能填补它们。原承诺范围可以通过现有案例和现有 packaged/config owner 补齐,未要求提前交付整个后续 roadmap。
English verdict: REQUEST_CHANGES
The current exact head 82b81acaae2685fb255d6f5af098ec5e6a6df8ae passes 134 focused Python tests, 172 typed tests, corrected typechecking and semantic checks. Source reuse is limited to independently unchanged blobs/deltas; current main integration was re-read. Two accepted gaps remain: the maintainer's minimum real exploration effect case is still unpublished, and complete shared-off pairing plus the joined packaged-to-real-owner journey is unqualified. Publish the bounded existing case and connected readback; future M4/live promotion and paid calls are not prerequisites.
…ion owner The packaged Goal capability editor now routes its configuration calls to a disposable ChatHTTPServer with an isolated registry and Explore log. The journey proves an unsafe scope and a stale preview are refused without writes, the corrected apply is read back independently through the CLI Explore summary and status, and disabling composition restores the inactive projection. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Lihua <1017343802@qq.com>
|
回应 维护者验收 与最新 review 的 P1/P2。P2 证据针对当前 head P1:一次真实探索案例问题。 本 PR 的 M3 聚焦测试( 两个输入(各自单独测量,记录为已完成的 Explore 假设节点和 typed observation):
B 被否定的原因:effect-runtime 服务器本来就按临时目录和源码指纹在所有测试间共享,并自带温缓存;耗时在 Python CLI 子进程启动,而不在 Node 编译。 为什么仍然运行 joint probe,而不是 dismiss。 记录 A 时,Agent 声明了对 B 的显式组合候选( 结果。 同一 head 上配对对照:joint( Agent 判断与脚本执行的边界。 由 Agent 决定的:问题与两个杠杆、组合候选及交互类型、执行而非 dismiss joint probe、对结果的解读和采用结论。由脚本执行的:基准测试(固定测试集、junit 计数、墙钟时间、缓存条目数)。LoopX CLI 只负责记录、门禁和读回,不做研究判断。 真实 CLI 流程(均通过
独立读回。 负例(均在同一真实 Goal 上被拒绝,状态文件字节不变):
P2a:共享的功能关闭对照同一 fixture(两个输入加一个 joint 实验)与同一命令序列(
effective action、replan packet、heartbeat receipt、Todo add/complete 回执、turn-context、Explore summary(含 #3173 的 P2b:打包前端 → 真实隔离配置 owner → 独立读回新增浏览器场景
截图见 验证范围与未测试项
|
|
针对 EdgeBench 的长程研究价值,我建议把 #5280 看作可信实验 lineage 的基础,而不是已经证明有效的探索策略。以下基于当前 head 作者补充的真实案例有价值:并行测试有效、共享缓存单独无效,组合后没有额外收益,最后只采用并行方案。这比强求正结果更合理。不过,约 3.8× 的提速来自并行测试;要归因于本能力,还需要证明它改变了实验选择、减少了重复或促进了后续采用。案例在 我建议按以下顺序改造、验证:
验证分两层,避免再用“测试通过”代替“研究更好”:
允许一个有用的负结果不涨分,但总体需要表现为更好的目标推进或更少的无效成本。继续采用统一 native 反馈规则做公平比较;不要只比较最好一次,也不要把不同输入或历史批次拼成收益。若只增加了门禁、记录和 CLI 操作,应保持为已验证的正确性基础,不宣称 EdgeBench 效率或效果提升。修好本 PR 的有界 transport 问题后,最优先的后续交付是 §11.5 的单实验结果采用,而非扩大组合状态机。 |
loopx-agent
left a comment
There was a problem hiding this comment.
动机
研究 Agent 可能把“安排了实验”或历史结果当作这次实验完成,导致后续重复探索、误结算或丢失归属。本 PR 让显式组合实验绑定当前输入版本、具体任务和实际结果;这是有用的正确性基础,尚不证明长期研究提分或节省模型成本。研究策略、外部评分和新实验启动不由这条门禁授权。
[P2] 合法历史增长会被当成 graph invalid,并阻止非组合任务收尾。 在当前 head 的真实 ResearchTerminalEvidenceHost → 固定 Python graph host → TS owner 链路,使用隔离 registry、空 Explore 图和一个普通 research Todo(仅有通用 replan 绑定):无历史时返回 required=false, allowed=true;增加 20,000 条已完成、已归档的合成 Todo 后,返回 research_graph_snapshot_invalid,要求修复当前图。直接调用相同 frontier builder,实际原因是 TypeScript Effect runtime request is oversized。这不是非法证据,也不是测到了研究无收益。该复现验证真实 transport/callback,但没有执行完整 File/SQLite terminal transaction;未声称当前 EdgeBench 已达到这个规模。
位置:loopx/capabilities/explore/research_frontier.py:72-73、loopx/capabilities/explore/research_evidence.py:15-19、loopx/control_plane/capabilities/explore_research_terminal.ts:23-27,52-73。新路径传输全量历史 facts,却使用默认 2 MiB RPC;research 方法没有采用已有私有大快照机制。普通任务的通用 replan_obligation_id 也会进入此路径。仅压缩外部三张 card 不限制内部传输,graph host 的全量响应还另有 2 MiB 上限。
最小修改请求: 在现有 owner 内限制到证明当前任务所需的事实/锁内 qualification,或正确复用既有受信任 snapshot transport,同时保留归档 lineage、图锁和提交前 source fence。不要删历史、截断有归属作用的记录或仅提高上限。超限/不可用与 graph 内容无效应分别报错,给出真实恢复办法。补真实隔离 File/SQLite 回归:大历史仍能完成已验证 joint probe;普通非组合 replan Todo 不受无关历史阻塞;陈旧结果仍拒绝,feature-off 仍不读取/启动 research host,同身份重试不重复效果。
改动思路
保留 Explore 的 TS 决策 owner、既有 Todo/lease 权限和同 Turn 结算机制;Python 只做来源读取、锁与桥接。当前 PR 的边界应是“可恢复、不会误闭合的显式实验归属”,先修上述 transport 边界,避免增加另一份历史或调度状态。真实案例与功能关闭/前端证据已有公开补充,不再以“没有公开真实案例”维持上一轮 P1。后续效果接入优先 §11.5 的单实验结果采用;不要求本 PR 完成 M4 选择策略或支付模型实验来修这个有界问题。
具体改动
审查 head:4e03b21064659c7c94a915e63cc68a5c75bb3775;全量 diff 相对 base b6217cb236035ca1508c993398f7886dba3847d7 为 73 文件、+3462/-112。上次 review 的 82b81acaae2685fb255d6f5af098ec5e6a6df8ae 到当前 head 只新增浏览器场景与注册,共 +248;本次仍检查整个 PR,没有继承旧 verdict。
判断依据:接受于本 PR 修改前的 docs/architecture/rfcs/research-exploration-control-plane-v0.md,revision 5fb256a4d71e6fd654bc1989fed06b17a277140e。§11.4 要求可用的输入结论和有界证据;§14.1 要求状态/重试/失效恢复;§14.2 要求投影一致;§16 将 M3 与 M4 分开。§11.5 是拟议结果采用路径,本次只建议明确后续交付,不把整个设计清单升级为当前 blocker。
代码流程已跟到 researchCompositionFacts / projectResearchComposition → common replan obligation → 精确 successor / validateResearchExecution → qualifyResearchCompositionWriteback → receipt/debit/readback,以及 qualifyResearchCompletion 的 native 与 legacy 路径。已有 terminal diagnostics 不代替热路径结果,归档证据不恢复执行权限,源失效的 retirement 不删除既有 debit。新增 enum/closeout 扩展现有 owner;未发现分数解释混入通用内核。
独立当前-head验证:组合/证据 real-CLI 27 项、File/SQLite execution authority 22 项、共享 API/replan/source/hook 82 项均通过;相关 TS 状态/语义 52 项和 lease/settlement 139 项均通过。语义 advisory 指向两项既有词汇扩展。另做了上述模型无关 transport 反例。小型 read-only status 测量受顺序和并行验证影响,不据此宣称提速或回归。
对主干的风险
新策略默认关闭,但开启后的共享 Todo terminal path 会读取完整历史;这正是当前可复现风险,修复应验证“开启但当前任务不属于该义务”的情形。既有 receipt/replay、source fence 和默认关闭行为需要保留。作者报告的当前-head三类功能关闭对照、打包编辑器→真实 owner 的拒绝/恢复路径已阅读,不能与本次独立跑过的项目混称。此次没有独立重跑完整 base/head 对照、打包浏览器、远端 Lark、Windows、完整 CI或长期模型收益;按当前 review 策略未等待 CI。独立 typecheck 因本地缺少 TypeScript 工具未完成,不将环境缺失当作 PR 代码错误。
我的整体评价
Request changes。 当前 head 有具体、可复现的历史增长/收尾缺陷,请先在现有 transport 与 typed proof 边界修复并补回归。该修复也能减少未来长程研究的冗余读取,适合本 PR;结果采用、按交互价值选组合和重复配对实验作为后续通用价值验证。作者的负结果案例是合格的诊断材料,约 3.8× 测试提速不能归因于本门禁;我没有要求每项实验都涨分,也没有要求把 M4 塞进本 PR。修复后再评当前 exact head,不以累计测试数、严格门禁或单次高分代替净价值。
Reviewer: model_agent; model=gpt-6.1-sol; provider=OpenAI; reasoning_effort=xhigh; declaration_source=runtime_reported; execution_observation_id=08db7e45ade8b95562620198ac3454da3321ce704111404e13678ace4088d082.
English verdict: REQUEST_CHANGES — At head 4e03b21064659c7c94a915e63cc68a5c75bb3775, retained valid history exceeds the research RPC boundary and is misreported as an invalid graph, blocking even an ordinary non-composition Todo with a generic replan binding. Bound the trusted completion proof/transport without discarding lineage, distinguish capacity from invalid evidence, and cover real File/SQLite recovery plus enabled-but-unrelated and feature-off cases. The author's published negative-effect case addresses the previous publication gap; M4 selection and long-term score uplift remain separate qualifications.
| facts = _research_result("explore.research.composition_facts", params) | ||
| bindings = [{"gap_id": gap["gap_id"], "obligation": research_composition_obligation(gap, agent_id=agent_id)} | ||
| for gap in facts["gaps"]] | ||
| frontier = _research_result("explore.research.composition", {**params, "bindings": bindings, |
There was a problem hiding this comment.
[P2] Bound retained-history qualification before using the inline research RPC. The actual terminal-host/fixed-Python/TS-owner path allows an ordinary generic replan-bound task with no history, but rejects it as research_graph_snapshot_invalid after 20,000 valid archived synthetic Todo facts. The direct builder reveals TypeScript Effect runtime request is oversized (default 2 MiB), not an invalid graph. Narrow the trusted current-task proof or reuse the existing private snapshot transport without losing archived lineage/source fencing; distinguish capacity errors and cover large-history completion plus enabled-but-unrelated, stale-input and feature-off cases through real isolated File/SQLite terminal calls. This probe exercised real transport/callback with synthetic provider-context rows, not a full provider terminal transaction or a live benchmark failure.
…request With composition enabled, every research projection and closeout sent the complete Todo history, archived rows included, through the 2 MiB Effect runtime request. With enough retained history the request was refused, and the native closeout guard reported that capacity failure as an invalid research graph. That also blocked ordinary Todos with a generic replan binding. The shared frontier builder now transports done or archived rows only when they carry a current gap's obligation, the only way the typed lineage join reads retained history. Open and unarchived rows always travel; history stays in the canonical source untouched. A request that still exceeds capacity raises ResearchTransportCapacityError, and the closeout guard reports research_graph_snapshot_oversized with a recovery step, separate from an invalid graph. Regression tests use the real File and SQLite providers with 20,000 retained Todos. They cover: an ordinary Todo closes; a joint probe still needs and then accepts its exact result; a stale result is refused; a same-identity retry replays; feature-off closeout never reads the research graph; the bounded join matches the unbounded one; and oversized active lineage is a capacity refusal with no write. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Lihua <1017343802@qq.com>
|
回应 17:21 review 的 P2(保留历史增长被报告为 graph invalid),修复在 原因。 开启组合策略后,所有 research 投影与收尾都把完整 Todo 历史(含归档行)经 2 MiB 的 Effect runtime 请求发送给 修复(在既有 owner 内,未提高上限,未删除或截断历史)。
回归测试(
其他验证( 未测试:远端 Lark、Windows,以及本 head 的完整远端 CI。这是控制面 PR,留给维护者合并。 English summary: retained history no longer travels in the research lineage request. Done or archived rows are sent only when they carry a current gap's obligation, which is the only way the typed join reads them. A request that still exceeds capacity is reported as |
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent; gpt-6.1-sol; OpenAI; runtime_reported; reasoning_effort=xhigh
精确 head:1ac4ab9655e67378cd9cfe3759ecaaa2453d90ef。REQUEST_CHANGES:原历史容量问题已通过真实回归,本轮只剩一个新引入的必需 Ruff 错误。
动机
显式研究策略下,需要把组合实验的当前输入、具体任务和结果连起来的研究 Agent。 过去实验安排、冷诊断结果或无关的历史记录可能冒充本次实验结论;新门禁只接受精确当前实验归属。上一 head 中,合法已完成历史超过传输上限还会阻塞普通任务;当前 head 保留历史,只发送当前 join 所需的事实。 当前真实 File/SQLite 和 CLI 验证了拒绝→记录正确结果→任务收尾/回放,以及2万条历史下的普通任务收尾;打包编辑器也完成真实配置 owner 的拒绝、纠正、应用和独立读回。新增测试的一处 Ruff E731 仍需修复。 本次是显式、默认关闭的 M3 归属/写入门禁切片;不启动研究任务,不验收科学真理、自动选组合、远端 Lark、发布或长期模型净收益。
Single-experiment result adoption and model-scientific/long-run net utility remain deferred, not supplied by this gate.
改动思路
既有 Explore typed owner 足够;共用 replan/Todo/lease/settlement 权威,只由固定 Python adapter 读锁内事实,不增加研究 scheduler 或平行 Python 决策。容量修复应按现有 join 的语义筛选事实,保持全部 canonical 历史与活跃事实,不扩大RPC上限。
当前 PR 保留可用的显式实验归属、合法退役和真实配置旅程;§11.5结果采用、M4选择及长期收益留在原RFC边界。新增E731用局部def修复,不改变门禁或扩大机制。
这不是每次研究都自动配对:组合意图由调用者声明,系统只核验当前输入/任务/结果。冷诊断和已完成历史不授予执行资格,原生准入仍先核验 actor/lease/source,再由同一 typed owner 判断证据。负科学结论可以是有效结果;dismiss/defer 与真正观察分别计。doing nothing 不能消掉错误归属;仅加通用结果字段也无法绑定精确输入。维持一个 owner 比新历史缓存或更大 transport 白名单更合适。
具体改动
独立规格:docs/architecture/rfcs/research-exploration-control-plane-v0.md,接受于本变更前的不可变修订 5fb256a4d71e6fd654bc1989fed06b17a277140e;另已读维护者 review5351400622。逐项判断:12共用当前 frontier/write gate;13.1canonical inputs、幂等与有界公开投影;13.2激活不授予任何执行权限;14.1当前结果/失效/回放;14.2同源投影;16-M3真实 provider/off/packaged旅程均有本轮证据;16-M4模型自主选组合在本批之外。
projectResearchComposition/qualifyResearchCompletion:当前 Task、注册 actor、experiment、input fingerprints 和 obligation 精确 join;安排实验不等于观察,历史 done/claim-cleared 只保留归属。公开三张 card 的上限不裁切内部权威集合。ResearchTerminalEvidenceHost与 legacy lock adapter:固定 source-selected Python 只读图并持锁到 native CAS;source变化/进程退出拒绝提交,模型不能自报 executable 或 approval。原 actor/lease 和 receipt/replay owner 仍在。_lineage_todo_facts:完整源先查重复ID;只传全部活跃事实和当前 gap obligation 的 retained事实,canonical历史不删除。新的容量异常映射成 oversized,区分 invalid/busy/unavailable;活跃源仍太大时拒绝且不写。- common replan/scalar guard/settlement:原 Turn 固定证据义务,错误 progress、ACK、stale result 或任意关闭词不能解除;来源失效须真实 source-qualified retirement,保留历史debit和当前frontier,不将阻塞科学当成 Goal完成。
- 原 Goal 配置编辑器/API/双语说明暴露同一显式策略和 scope;draft改为layout初始化防首个toggle丢失。CLI/status/Explore/本地Lark Summary共享事实;hard-lease typed wait复用原生命周期,变化已在handoff-mode披露。
全 PR74路径 +3740/-112:49产品、19验证、5文档、1census;未把机制尺寸当进度。4e03b21064659c7c94a915e63cc68a5c75bb3775到本 head 只改5路径,围绕容量修复/测试/census;本次判断覆盖全PR,没有继承旧 verdict。邻近结构已在本PR收窄到必要事实,不需新增通用框架或第二决策源。
对主干的风险
[P2] 新 history regression 触发必需 Ruff E731。 tests/control_plane/test_research_history_capacity.py:208-209 的 open_rows = lambda ... 在本精确 head 被 Ruff 拒绝;.github/workflows/python-tests.yml:192 使用 root Ruff,会扫描这个新增文件。该文件在不可变 base b6217cb236035ca1508c993398f7886dba3847d7 和上次4e03均不存在,不能归为未改的baseline。最小修复是局部 def open_rows(frontier),保留全部真实 history、retirement、replay 断言;不需要改门禁或放宽 lint。
原 P2容量问题已独立复验:同一 selected oracle 在旧4e03真正 File terminal 因2万条已归档历史报 graph-invalid,当前 head 完成普通Task、joint结果检查/收尾及幂等回放。当前原suite还覆盖SQLite、仍缺结果拒绝、stale结果拒绝、active事实超限无写、bounded/full join和feature-off坏图不读取。第一次private oracle缺helper导入属于测试装配失败,保留并纠正后才得到这个语义红/绿;未把装配错误当产品证据。
本轮116Python、177typed、typecheck、advisory后full semantic通过。三种off状态使用同一冻结fixture,在base/current各执行12个实际CLI调用并比较完整JSON:差异仅62个时间/event/staleness字段、6个已配置策略只读回显和3个源码扫描数量,无决策、义务、完整文字或绑定差异;原生/legacy terminal与refresh/spend在当前真实套件另行覆盖,作者公开完整off序列作为独立、具版本证据阅读,未混称自己重跑。
本次新构建的packaged控件接真实一次性ChatHTTPServer/配置owner:unsafe scope400、stale preview409均不写,纠正后apply200;独立CLI status/Explore同读pending1,再disable去除live投影。其他workspace routes仍是合成fixture,截图已查看。公开负效果案例已读,其xdist约3.8×是测试并行收益,不能归因于M3门禁;当前选择/判断不把无叠加的负结果改写成涨分。没有查询、轮询或等待CI,没有activeGoal故障注入、真实模型、remoteLark、Windows或installedApp长期验收。
我的整体评价
REQUEST_CHANGES,仅要求修复新引入的必需Ruff错误。当前有界长程正确性/体验是正向的:历史增长不会再误阻断独立收尾,当前结果缺失/失效仍拒绝,操作者可从真实配置错误恢复并独立读回。传输不随无关已完成历史增长是可验证的效率方向;全量源读取成本仍在,本轮没有可归因的长期模型净收益或持续wall-time提速数字。
原“未公开真实效果案例”和“packaged真实owner缺证”不再作为旧blocker延续;此处不要求M4或§11.5全量实现。架构可保留最近Explore与common生命周期owner,capacity修复已经做了值得保留的有界结构改善。Earned correctness evidence、公开review、维护者blocker reconciliation和merge权限各自独立。
English verdict: REQUEST_CHANGES - 1ac4ab9; The retained-history defect is independently red/green through the real File terminal, and current116Python/177TS plus the joined packaged configuration/recovery and paired disabled callers pass. A newly added E731 at test_research_history_capacity.py208 violates the repository's required Ruff check; replace the lambda assignment with a local def without weakening coverage. No CI, installed/live-model or sustained net-efficiency claim.
Signed-off-by: Lihua <1017343802@qq.com>
|
This pull request has merge conflicts with Choose the remote for the base repository, not an out-of-date fork. git fetch upstream
git rebase upstream/main
# Resolve each conflict, git add the resolved files, then git rebase --continue.
git push --force-with-lease origin HEADFor a same-repository clone whose Keep the DCO |
Signed-off-by: Lihua <1017343802@qq.com>
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent; gpt-6.1-sol; OpenAI; runtime_reported; reasoning_effort=xhigh
动机
显式研究策略下,需要把组合实验的当前输入、具体任务和结果连起来的研究 Agent。
过去实验安排、冷诊断结果或无关的历史记录可能冒充本次实验结论;新门禁只接受精确当前实验归属。上一 head 中,合法已完成历史超过传输上限还会阻塞普通任务;当前 head 保留历史,只发送当前 join 所需的事实。
原历史容量缺陷的真实恢复、current result拒绝/采用与打包配置owner证据在6089个未变tracked blobs和封存hash核验后仍适用;当前history5项与实际CI范围Ruff通过。根目录广扫的Mapping是非阻塞清理项,不伪造必过CI门禁。
本次是显式、默认关闭的 M3 归属/写入门禁切片;不启动研究任务,不验收科学真理、自动选组合、远端 Lark、发布或长期模型净收益。
§11.5single-experimentresultadoption,M4selection,naturalinstalledApp/remoteLark/Windows andsustainedmodelnetutility remainexistingexplicitnextstage.
当前维护者 frame 仍是有界 M3 实验归属/写入门禁及一项可公开检查的真实案例。已全文读 owner 的验收及作者 public case、容量补正。负组合结果保留为有效科学观察;约 3.8×来自 xdist,不能归因于 M3 门禁。这里不要求提前完成 §11.5 或 M4,也不把真实案例等同长期净收益。
改动思路
既有 Explore typed owner 足够;共用 replan/Todo/lease/settlement 权威,只由固定 Python adapter 读锁内事实,不增加研究 scheduler 或平行 Python 决策。容量修复应按现有 join 的语义筛选事实,保持全部 canonical 历史与活跃事实,不扩大RPC上限。
当前 PR 保留可用的显式实验归属、合法退役和真实配置旅程;§11.5结果采用、M4选择及长期收益留在原RFC边界。先前E731已用局部def修复,剩余CLI-unusedMapping仅为可清理P2,不扩张门禁。
Scope/configuration、当前研究事实、执行/lease、共享 settlement 各有现有 owner。输入组合意图要明确声明;canonical current-input/result 由 typed Explore qualifier 判断,Python 读取 graph/锁和运输必要事实,不判断科学含义。frontier 公开三张卡的显示上限不能限制内部完整事实;原 Task done、冷诊断或 ACK 不能冒充 current experiment evidence。
本次新 head 相对 1ac4ab9655e67378cd9cfe3759ecaaa2453d90ef 只把 history test 的 assigned lambda 改成局部 def。6089 个其他 tracked blobs、全部生产调用方、构建/测试配方、依赖 lock、spec 与 UI 均逐 blob 一致。上轮封存 evidence manifest 的所有 hash 仍匹配;在检查 source/规则/消费者/平台/依赖/claim 的失效条件后保留旧证据的原修订,重新判断整个 PR,而非继承旧 REQUEST_CHANGES 或重新标旧测试为新 head 执行。
具体改动
独立规格:docs/architecture/rfcs/research-exploration-control-plane-v0.md,修改前版本 5fb256a4d71e6fd654bc1989fed06b17a277140e,并结合维护者 review5351400622 的公开实际案例要求。
- 12 — implemented:The write gate must reuse the same current goal-frontier and Explore gap projection as quota.
- 13.1 — implemented:Canonicalize input sets for idempotency; keep full gap lists out of the hot quota packet.
- 13.2 — implemented:Enabling research projection grants no network, filesystem-write, worker, claim, lease, quota, or external-system authority.
- 14.1 — implemented:An old obligation, unrelated Todo, or unrelated evidence cannot close the current gap; replay after each durable write is idempotent.
- 14.2 — implemented:For the same synthetic goal, quota, status, Turn envelope, and refresh-state write gate must agree on selected gap, obligation and outcome.
- 16-M3 — implemented:State/replay matrix, real provider/state readback, default-off parity and packaged journey before enforcement.
- 16-M4 — out_of_scope:Model autonomously selects a legal semantic action from the delivered candidate set.
关键代码讲解
_lineage_todo_facts(research_frontier.py:63)先对完整源检查唯一 ID,再保留所有 live facts 与当前 gap obligation 所需 retained facts。canonical 历史仍存在,不因 2 MiB transport 压力截断或删除。projectResearchComposition/qualifyResearchCompletion(explore_research_execution.ts)精确 join 当前 Task、actor、experiment、inputs 和 obligation;计划/历史记录不能授予新执行或解除证明义务。ResearchTerminalEvidenceHost.qualify(explore_research_terminal.ts:21)由固定 source-selected adapter 读锁内事实直到 native CAS,区分 oversized、invalid、busy、unavailable;不能用 caller approval boolean 代替真实 source。- 共享 replan/settlement/retirement owner 保留原 Turn、guard 和历史 debit,只有 exact source-qualified retirement 才能无新扣费结束原义务,不能隐藏当前 runnable Task。
- 现有 Goal capability editor/config owner 与 CLI/status/Explore/local Lark 同源 projection;draft 初始化防首个 toggle 丢失,scope 操作有 preview/apply/current revision 和真实拒绝/恢复,开放配置不授予权限。
全 PR 74 路径 +3741/-112,生产/文档/验证/IO census 的完整已阅边界保持;唯一新差异是 test_research_history_capacity.py 的局部函数,未放宽断言、容量或授权。相邻结构改进已收窄 lineage 事实输送并复用现有 owner,不需要更大框架。
对主干的风险
没有阻塞发现;先前 E731 已修复。 当前 fresh history suite 5 passed(82.94s),含真实 File/SQLite 20k retained 历史、普通收尾、joint result 缺失/陈旧拒绝、精确结果/回放和 active-facts 超限不写。typecheck、changed-diff advisory 后 full semantic、diff 通过。
上轮 116 Python / 177 typed、旧 4e03 File terminal 红 → 1ac4同 oracle 绿、三种关闭状态各 4 个实际 CLI 的 base/head 完整 JSON对照,以及 packaged→真实隔离配置 owner 的 400/409不写→纠正200→独立 pending1→disable 证据,本次经 sealed hash 与6089blob矩阵资格化复用,明确仍是原 source revision 的执行。两张拒绝/应用截图重新查看;客户端/配置 API/backend/测试和 lock 未变,不声称当前另跑整套 UI 或 installed App。可用负例与实际采用、M4/长期价值仍分别判断。
当前另外使用真实、隔离、临时 PostgreSQL 16.15 服务及 local authority runtime 执行 384 项 shared authority/terminal/CAS/replay/provider 检查,0 failure、0 skip;这是 touched common boundary 的资格,不称 M3 的自然 PG host/科学研究已采用。owned 服务已清理。没有 active Goal fault injection、付费模型、remote Lark、Windows 或 CI 查询/等待。
[P2,非阻塞] loopx/cli_commands/todo.py:5 新增的 Mapping 未使用,可直接删除该 import。本轮 broader changed-path Ruff 对它报 F401,immutable base 的同一文件 lint通过;全根扫描 base604/head605,新增一项为该 import。我核验了实际 workflow:required lint为 tests loopx/canary loopx/control_plane loopx/domain_packs loopx/presentation,不含 CLI,当前这组 Ruff 全通过。不能把 broader 根扫描新立为必过 CI 门禁;保留失败记录和清理建议,不为无运行时影响的 unused import 擅自延续 REQUEST_CHANGES。
语义与 CI 对齐
M3 扩展 existing typed Explore/replan/retirement vocabulary,common obligations仍中性。显式/default-off、当前 scope 与 source proof 的机器要求已经披露,不叫 guidance;shared hard-lease prerequisite wait 的默认扩展在 handoff-mode 中独立说明,不能宣称一切 common 行为因 Explore关闭而完全不变。新 test helper 不新增状态意义;semantic通过不证明模型理解或研究效果。
我的整体评价
APPROVE 435b7d63c80e30ce15f0465a9ccf6135d9be12ad。长程正确性/体验的有界方向为正:无关 retained history 不再阻断普通收尾,current result缺失/失效仍拒绝,配置错误可通过真实 owner 恢复并独立读回。transport不再随无关已完成历史增长,是可验证的效率方向;完整源读取仍有成本,本轮没有可归因的持续 wall-time、模型成本或科学提分数字。
既有 Explore typed owner 足够;共用 replan/Todo/lease/settlement 权威,只由固定 Python adapter 读锁内事实,不增加研究 scheduler 或平行 Python 决策。容量修复应按现有 join 的语义筛选事实,保持全部 canonical 历史与活跃事实,不扩大RPC上限。
当前 PR 保留可用的显式实验归属、合法退役和真实配置旅程;§11.5结果采用、M4选择及长期收益留在原RFC边界。先前E731已用局部def修复,剩余CLI-unusedMapping仅为可清理P2,不扩张门禁。
本轮批准的是接受的 M3 有用切片,§11.5 单实验结果采用、M4、自然安装/平台/远端旅程依原 owner 边界保留。未强求全父 RFC,也不以关闭 Todo或更多 receipt 当全 Goal验收。删除 unused Mapping 是最小邻近清理建议;没有 code修改、历史 review dismissal、merge或安装行为。
English verdict: APPROVE - 435b7d6. The prior E731 is fixed and current5history,actual CI-scoped Ruff,typecheck/semantic and384real shared-provider checks pass. Full unchanged-source/consumer/dependency plus sealed-artifact qualification preserves the prior116Python/177TS,disabled-path and real packaged-owner evidence without relabeling it fresh. An unused CLI Mapping import is a non-blocking cleanup outside current required lint scope. No whole-Goal,installed-model,scientific/net-efficiency or merge claim.
Signed-off-by: Lihua <1017343802@qq.com>
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent; gpt-6.1-sol; OpenAI; runtime_reported; reasoning_effort=xhigh
动机
§11.5single-experimentresultadoption,M4selection,naturalinstalledApp/remoteLark/Windows andsustainedmodelnetutility remainexistingexplicitnextstage.
显式研究策略下,需要把组合实验的当前输入、具体任务和结果连起来的研究 Agent。
过去实验安排、冷诊断结果或无关的历史记录可能冒充本次实验结论;新门禁只接受精确当前实验归属。上一 head 中,合法已完成历史超过传输上限还会阻塞普通任务;当前 head 保留历史,只发送当前 join 所需的事实。
当前8b:115项Python通过、1项cadence清除断言失败;同一失败在immutable ffbd baseline亦精确复现,属于上游stride字段与旧断言不一致。当前178 typed、384真实共享PG、12组off完整CLI配对及packaged真实配置owner恢复通过。保留红色,不称116全绿、自然宿主采用或研究净收益。
本次是显式、默认关闭的 M3 归属/写入门禁切片;不启动研究任务,不验收科学真理、自动选组合、远端 Lark、发布或长期模型净收益。
当前维护者frame是有界M3实验归属/写入门禁和可独立检查的实际案例。已全文读原始验收、实际案例及容量补正。负组合结果是有效观察;案例约3.8×来自xdist,不归因于M3。未要求提前完成§11.5/M4,也不把真实案例当长期净收益。
先前435b批准发布后head重基,原生batch validator拒绝收尾且没有扣费。旧review保留历史;本次对 8b1652f78e683b4695d6d63225bd31c7d5a6f865 独立判断。
改动思路
既有 Explore typed owner 足够;共用 replan/Todo/lease/settlement 权威,只由固定 Python adapter 读锁内事实,不增加研究 scheduler 或平行 Python 决策。容量修复应按现有 join 的语义筛选事实,保持全部 canonical 历史与活跃事实,不扩大RPC上限。
当前 PR 保留可用的显式实验归属、合法退役和真实配置旅程;§11.5结果采用、M4选择及长期收益留在原RFC边界。先前E731已用局部def修复,剩余CLI-unusedMapping仅为可清理P2,不扩张门禁。
composition scope由现有Goal配置owner显式控制;current-input/result由typed Explore qualifier判断;Python只提供锁内graph IO事实,common settlement继续拥有Turn、lease和debit。显示三张卡不限制完整内部事实,原Task done/冷诊断/ACK不能冒充当前研究证明。
新baseline ffbd579502e6559ecf4d551b8837da1d6dd40a90。74路径中73份PR自身增删行与旧435b完全相同,剩余IO census更新并验证294sites;这不等于所有source闭包不变。上游改了25个本PR触及文件及共享Todo/配置/replan消费者:Todo导入改由实际owningmodule、stride默认off但有新prose/qualifiedproposal路径、interaction consistency注册及receipt retry已校正。已读相关消费者,重新执行实际入口、反例、off完整对照、真实provider和打包配置旅程;没有继承旧verdict,也没有把旧116/177改标成当前执行。
具体改动
独立规格 docs/architecture/rfcs/research-exploration-control-plane-v0.md,修改前固定版本 5fb256a4d71e6fd654bc1989fed06b17a277140e;结合维护者public-case要求逐项核验:
- 12 — implemented:The write gate must reuse the same current goal-frontier and Explore gap projection as quota.
- 13.1 — implemented:Canonicalize input sets for idempotency; keep full gap lists out of the hot quota packet.
- 13.2 — implemented:Enabling research projection grants no network, filesystem-write, worker, claim, lease, quota, or external-system authority.
- 14.1 — implemented:An old obligation, unrelated Todo, or unrelated evidence cannot close the current gap; replay after each durable write is idempotent.
- 14.2 — implemented:For the same synthetic goal, quota, status, Turn envelope, and refresh-state write gate must agree on selected gap, obligation and outcome.
- 16-M3 — implemented:State/replay matrix, real provider/state readback, default-off parity and packaged journey before enforcement.
- 16-M4 — out_of_scope:Model autonomously selects a legal semantic action from the delivered candidate set.
关键代码讲解
_lineage_todo_facts(research_frontier.py:63)检查完整源唯一ID,保留所有live facts和当前gap所需retained事实;完整canonical历史继续保存,transport压力不通过截断删除解决。projectResearchComposition/qualifyResearchCompletion(explore_research_execution.ts)join当前Task、actor、experiment、inputs及义务;计划/历史不能解锁新执行,缺失或陈旧结果不终结。ResearchTerminalEvidenceHost.qualify(explore_research_terminal.ts:21)固定source-selected adapter读锁内事实直到native CAS,区分超限/invalid/busy/unavailable;不能接受caller approval boolean代替真实source。- common replan/settlement/retirement保留原Turn/guard和historicaldebit,精确source-qualified retirement才可无新扣费终结原义务,不能隐藏当前runnable Task。
- 现有Goal editor/CLI/status/Explore/local Lark同源projection,draft初始化避免首个toggle丢失;已有scope preview/apply和真实拒绝/恢复,不再造配置owner。
本轮全PR仍是同一有用M3切片,73份自己的代码/文档/测试增删行为未变;IO site变化是重基后的实算census,不是新增决策owner或研究协议。
对主干的风险
没有新的M3阻塞发现。 新8b实际six-suite执行为115 passed/1 failed(241.06s),不是116全绿。唯一失败为machine-inheritable cadence清除断言:actual多了clear_execution_stride_strategy=True。我在immutableffbd及新8b运行同一selector,失败identity及expected/actual字典细节完全相同;该测试函数AST也完全相同,stack行号310/323只是M3新增测试的位移。失败因上游cadence-clear owner已加stride字段,PR在另一个Explore branch增加门禁,未修改该失败分支。M3当前证据独立通过,故按原生pre_existing_unrelated处理,红色保留、不放松断言;相关owner仍需修复它,merge检查可独立保持hold。
当前五个typed owner共178通过(173+5,含新stride默认off对照);真实隔离PostgreSQL16.15/shared local authority执行384项,0失败/0skip(83.52s),容器已移除。它资格化common CAS、terminal、replay/provider边界,不证明自然M3 PG研究宿主。actual CI-scoped Ruff、typecheck、diff、changed advisory后full semantic、turn generation及294site IOmanifest通过;没有查/等待CI或将作者CI陈述当独立结果。
12组fresh immutableffbd/8b actualCLI完整JSON对照覆盖配置absent、composition disabled、harness off。control flags、obligation、authority及plan保持相同;62个时间/观测receipt叶、6个显式inactive配置读回、3个publicscan数量及两个source/interpreter差异分别保留。六个配置展示变化是有意披露,不当clock noise删掉;没有用一份笼统“默认关闭”文本代替shared surface检查。
重建production dashboard/chat后,现有packaged Explore配置场景直接连真实隔离ChatHTTPServer owner:不安全scope400及陈旧preview409均不写;重新preview/apply200,独立CLI Explore/status读回pending1且无executionauthority;disable还原inactive。当前场景12219ms通过,两图重新核验;额外私有DOM恢复probe也确认旧错误提示清除。输入Goal/研究图是synthetic,backend是真实的,不能称自然App/model采用。旧4e03容量red/1ac green及旧sealed证据保留原来源;当前20k retained/missing/stale/replay/容量no-write由当前suite覆盖。
[P2,非阻塞] loopx/cli_commands/todo.py:5 未使用的Mapping仍可删除。broader CLI Ruff F401保留,但当前required workflow lint根不含CLI且全部通过,不制造新必过门禁。相邻重构已经收窄lineage事实输送并复用typed owner,删除该import是最小有界清理,不需要更大框架。
语义与 CI 对齐
M3扩展现有typed Explore/replan/retirement vocabulary;common义务仍领域中性,input/source/claim/lease资格是机器要求,不叫guidance。shared hard-lease prerequisite wait的默认扩展在双语handoff文档独立披露,不能宣称Explore关闭后一切共同默认不变。semantic通过不是模型理解、科学提升或自然持续使用证明。
我的整体评价
APPROVE 8b1652f78e683b4695d6d63225bd31c7d5a6f865。历史owner review5390576670的public-case缺口已逐项核对(inline数量0),当前实际案例和M3证据可独立检查;保留讨论及raw CHANGES_REQUESTED,没有人类授权撤销它或merge此批。已有旧435b批准不替代本次判断。
既有 Explore typed owner 足够;共用 replan/Todo/lease/settlement 权威,只由固定 Python adapter 读锁内事实,不增加研究 scheduler 或平行 Python 决策。容量修复应按现有 join 的语义筛选事实,保持全部 canonical 历史与活跃事实,不扩大RPC上限。
当前 PR 保留可用的显式实验归属、合法退役和真实配置旅程;§11.5结果采用、M4选择及长期收益留在原RFC边界。先前E731已用局部def修复,剩余CLI-unusedMapping仅为可清理P2,不扩张门禁。
长程正确性/体验的有界方向为正:无关历史不再挡普通收尾,当前结果缺失/失效仍拒绝,错误配置可经真实owner恢复和独立读回。减少无关历史transport增长是可证的效率方向,完整source读取仍有成本;本次未提供可归因持续wall-time、模型成本或科学提分。复用既有owner/恢复建议是实际分析,不把经验context送达算utility。
English verdict: APPROVE - 8b1652f. Fresh115Python,178TS,384real shared-provider checks,12full disabled-path pairs and the real packaged-owner recovery pass. One cadence-clear assertion fails identically on immutableffbd and head; its unchanged causal branch is independently attributed and retained as a separate merge concern, not mislabeled green. Unused CLI Mapping remains non-blocking P2. No whole-Goal, natural-host/model, scientific net-utility or merge claim.
Opt-in Explore composition now requires evidence from the current gap, obligation, Todo and experiment before a live research duty can close. File and SQLite use the same typed rule; stale or unrelated receipts cannot discharge it. The existing Goal capability editor and CLI own activation, and feature-off behavior remains unchanged.
The frontier request sends current unarchived work and retained rows needed by the current obligation. Oversized active lineage is reported as
research_graph_snapshot_oversized, separate from an invalid graph. Head8b1652f78integrates official mainffbd57950; its conflict resolution preserves upstream stride control alongside the M3 capability guard and frontier metadata. It also includes the merged upstream Windows UTF-8 test fix from #6294. That upstream PR's full CI was not green, so this head needs its own remote validation.Validation on the integrated source: 67 focused Python real-path cases passed, including research lineage and the merged File/SQLite CLI tests; 37 focused TypeScript cases, control-plane typecheck, Ruff and the packaged Explore configuration-owner browser journey passed. The risk-based premerge gate passed 19/19 checks, including the changed-path public boundary. The registry I/O census has 294 sites and zero unclassified direct sites. The semantic inventory advisory found an upstream presentation-local display class list; it does not certify semantic equivalence.
Remote CI and maintainer Effect re-review remain open on this exact head. The published P1 effect evidence and P2 capacity evidence are available for review. The separate browser CI source-install fix #6287 and Goal composer focus fix #6282 remain independent pending PRs. No merge or release is claimed.