Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ These are implementation roles, not a new capability catalog or seven services t

[`machine_defaults.py`](../../../loopx/capabilities/todo_replan_cadence/machine_defaults.py) gives Goals without an explicit cadence override review every **6 effective work Turns** and `evidence_conditioned_v1` Stride when machine configuration has not overridden them. Explicit off, machine settings and legacy configuration retain their meanings; the underlying schema's off is not the complete product default. Yardstick independently defaults to false; Explore is off without explicit/machine configuration. Progress-review, Reward Memory, Decision Context and Material Lifecycle retain their activation boundaries.

| In-flight work / inspected head | Reusable direction | Not a fact about this main revision |
| --- | --- | --- |
| [C1 #8266](https://github.com/loopx-project/loopx/pull/8266) · `c3cb8b2fe7bf` | Unified work source, capture/reader and recovery. | Complete ordinary writer/consumer cutover. |
| [Turn #8484](https://github.com/loopx-project/loopx/pull/8484) · `b7e4e01cc423` | Single/dual roles and a unified runtime entry. | Shipped `loopx turn run`, dual-session benefit or default promotion. |
| [Method operators #8516](https://github.com/loopx-project/loopx/pull/8516) · `5afb98cf8ea8` | Five stages organize six advisory methods over shared measurements/summaries. | Merged operators or Turn execution authority for methodology stages. |
The replacement inventory was verified against [`6b12a4906eccdc9151de117e13abff69564fdf99`](https://github.com/loopx-project/loopx/commit/6b12a4906eccdc9151de117e13abff69564fdf99).

All three were OPEN when checked. Their reported tests are not this RFC's validation.
| Original proposal / final head | Replacements at this checkpoint | Remaining qualification |
| --- | --- | --- |
| [C1 #8266, closed](https://github.com/loopx-project/loopx/pull/8266#issuecomment-7077914025) · `eb21cab8e2f2` | [Default C1 work contract](https://github.com/loopx-project/loopx/pull/8956), [Complete Turn default and legacy selector retirement](https://github.com/loopx-project/loopx/pull/9176) and [selected-scope native replay across epochs](https://github.com/loopx-project/loopx/pull/8942). | Finish ordinary caller migration and retire replaced writers with named history readers. |
| [Turn #8484, closed](https://github.com/loopx-project/loopx/pull/8484#issuecomment-7077914928) · `b7e4e01cc423` | [Batch planning](https://github.com/loopx-project/loopx/pull/9090) and [managed Codex Worker writeback isolation](https://github.com/loopx-project/loopx/pull/9129) support the single-Worker path. | Qualify the opt-in Controller/Worker session lifecycle through its actual callers and compare same-budget outcomes before promotion. |
| [Method operators #8516, closed](https://github.com/loopx-project/loopx/pull/8516#issuecomment-7077915849) · `92c3d38d7adc` | [Todo meta-goal specification](https://github.com/loopx-project/loopx/pull/9209) and [persistence](https://github.com/loopx-project/loopx/pull/9214), the [verifier hook contract](https://github.com/loopx-project/loopx/pull/9262) and [opt-in staged prefetch](https://github.com/loopx-project/loopx/pull/9213) landed under their respective owners. | Qualify adoption and outcomes through each real caller. The Turn lifecycle keeps execution authority. |

### 4.4 Composition this design adds

Expand Down Expand Up @@ -170,7 +170,7 @@ Old context-applied receipts still describe context artifacts only. Missing orig
| Cross-task knowledge and calibration | Reward Memory's `experience_quality.py`, `turn_hooks.py`, `application.py` and `memory_utility.py`; forecast evaluation remains with research experiments and Target/Stride ownership. | Experience references, forecast calibration and policy benefit have separate consumers/evidence. Add needed relations without making recall, the utility reducer or Core another policy scheduler. |
| Product readback | Existing Goal workspace, work details, research history and CLI. | Original records explain then-visible basis, expectations, feedback, next actual work and unknowns; changed journeys qualify App/CLI and supported Lark. |

Reshape internal APIs for this target and migrate real callers together rather than indefinitely adding adapters to preserve old code. Independently evolving rules keep separate owners. Temporary coexistence must name callers, exit conditions and recovery purposes; a common rule has one owner at completion. Respect #8516's review/merge boundary for its in-flight primitives rather than copying an implementation or prebuilding a mechanism-composer.
Reshape internal APIs for this target and migrate real callers together rather than indefinitely adding adapters to preserve old code. Independently evolving rules keep separate owners. Temporary coexistence must name callers, exit conditions and recovery purposes; a common rule has one owner at completion. Reuse the scope and owners of the focused replacements for #8516 in §4.3.

**Route A and C1 context readback.** [Route A](monorepo-distribution-split-v0.md#product-and-benchmark-execution) ships Explore orchestration, branch planning and replay in the matching Research wheel. The small kernel owns the existing `explore turn-context` read, including the bounded evidence projection, source Goal and Agent checks, and revision-bound paging. Both new [C1](controller-executor-unified-contract-v0.md#9-validation-and-acceptance) Turns and saved Turn commands use this reader across installation, removal and reinstallation. Without a ready Research wheel, the reader returns existing scoped evidence and its read commands. Optional planning, full summaries and direct Explore recording remain gated on the matching wheel. Page continuations still check the result revision and restart at the first page when the projection changes. The original capture, admission, authorized settlement and evidence ledger retain their existing owners.

Expand Down Expand Up @@ -788,6 +788,8 @@ unchanged runtime at the pinned base and author/composition sources supports
this path; the obsolete test consumer failed before its reader migration.
This scripted exercise qualifies the local caller path.

**C1 settlement readback for DSH context folding (author source check).** [The DSH fold](https://github.com/loopx-project/loopx/pull/9503) reads the original Turn with `quota receipt --include-settlement`. On File and SQLite, ordinary CLI calls through a registered global link returned the same verified completion as direct source calls. The read rejected an unavailable source and returned the original receipt after restoration. The same checks exercised a different Turn ID, the default read without settlement detail and unchanged source log bytes.

**Author readback of native feedback on one installed Todo (2026-11-30).** Two native Codex CLI
0.172.0 Turns with GPT-6.2-Sol ran on SQLite at the [recorded source revision](https://github.com/loopx-project/loopx/commit/d57f9a75243ba3c18dbc473eb52885bc2208569b).
After the first independent six-case check, a confirmed Explore finding was
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@

[`machine_defaults.py`](../../../loopx/capabilities/todo_replan_cadence/machine_defaults.py)在 Goal 无显式 cadence override、机器配置也未覆盖时,继承每 **6 个有效工作 Turn** 复盘及`evidence_conditioned_v1` Stride。显式 off、机器设置和旧配置各保留原意;底层 schema 的 off 不是产品整体默认。Yardstick 独立默认 false;Explore 无显式/机器配置时为 off。progress-review、Reward Memory、Decision Context、Material Lifecycle 保留各自启用边界。

| 在途工作 / 核对 head | 可复用方向 | 不属于上述 main 事实 |
| --- | --- | --- |
| [C1 #8266](https://github.com/loopx-project/loopx/pull/8266) · `c3cb8b2fe7bf` | 统一 work source、capture/reader、恢复。 | 全部普通 writer/consumer 已切换。 |
| [Turn #8484](https://github.com/loopx-project/loopx/pull/8484) · `b7e4e01cc423` | 单/双角色及统一 runtime entry。 | `loopx turn run`已发布、双会话收益或默认晋升已成立。 |
| [方法算子 #8516](https://github.com/loopx-project/loopx/pull/8516) · `5afb98cf8ea8` | 五阶段组织六类 advisory 方法,复用测量与摘要。 | 算子已合入,或方法阶段可取得 Turn 执行权。 |
替代项表的查证版本为 [`6b12a4906eccdc9151de117e13abff69564fdf99`](https://github.com/loopx-project/loopx/commit/6b12a4906eccdc9151de117e13abff69564fdf99)。

三个 PR 在核对时均为 OPEN。本文不借用其测试声明作为本次验证。
| 原提案 / 最终提交 | 此查证版本包含的替代项 | 待验收 |
| --- | --- | --- |
| [C1 #8266,已关闭](https://github.com/loopx-project/loopx/pull/8266#issuecomment-7077914025) · `eb21cab8e2f2` | [默认 C1 工作契约](https://github.com/loopx-project/loopx/pull/8956)、[默认 Complete Turn 及旧选择参数退役](https://github.com/loopx-project/loopx/pull/9176)和[跨 epoch 保留原选定范围的原生重放](https://github.com/loopx-project/loopx/pull/8942)。 | 完成普通调用方迁移,退役已替换的 writer 并点名保留的历史 reader。 |
| [Turn #8484,已关闭](https://github.com/loopx-project/loopx/pull/8484#issuecomment-7077914928) · `b7e4e01cc423` | [批量计划](https://github.com/loopx-project/loopx/pull/9090)和[受管 Codex Worker 写回隔离](https://github.com/loopx-project/loopx/pull/9129)支撑单 Worker 路径。 | 通过真实调用方验证显式启用的 Controller/Worker 双会话生命周期,晋升前比较同预算成果。 |
| [方法算子 #8516,已关闭](https://github.com/loopx-project/loopx/pull/8516#issuecomment-7077915849) · `92c3d38d7adc` | [Todo meta-goal 定义](https://github.com/loopx-project/loopx/pull/9209)与[持久化](https://github.com/loopx-project/loopx/pull/9214)、[verifier hook 契约](https://github.com/loopx-project/loopx/pull/9262)和[显式启用的分阶段预取](https://github.com/loopx-project/loopx/pull/9213)已按各自归属合入。 | 沿各自真实调用方验证采用和成果。执行权由 Turn 生命周期管理。 |

### 4.4 本次设计要补的组合边界

Expand Down Expand Up @@ -170,7 +170,7 @@ flowchart TD
| 跨任务知识与校准 | Reward Memory 的 `experience_quality.py`、`turn_hooks.py`、`application.py`、`memory_utility.py`;预测评价沿原研究实验与 Target/Stride 归属。 | 经验引用、预测校准、策略收益分别有消费者和证据;按需补关联,不把 recall、utility reducer 或 Core 变成新策略调度器。 |
| 产品回读 | 既有 Goal 工作区、工作详情、研究历史及 CLI。 | 可沿原记录看清当时依据、预期、反馈、下一实际工作及未知;改变交互时验证 App/CLI 和受支持 Lark。 |

允许为这个终态重塑内部 API,并同步迁移真实调用方;不为保留旧代码而永久加 adapter。独立演进的规则仍分别负责。临时共存必须写明调用方、退出条件和恢复用途;完成时修改共同规则只有一个 owner。#8516 的在途原语先按其自身审阅与合入边界处理,不复制另一份实现或预建“机制组合器”。
允许为这个终态重塑内部 API,并同步迁移真实调用方;不为保留旧代码而永久加 adapter。独立演进的规则仍分别负责。临时共存必须写明调用方、退出条件和恢复用途;完成时修改共同规则只有一个 owner。复用 §4.3 中 #8516 各替代项的范围和归属。

**方案 A 与 C1 上下文补读。** [方案 A](monorepo-distribution-split-v0.zh-CN.md#产品与-benchmark-执行) 将 Explore 编排、分支规划和回放放入同版 Research wheel。小内核负责既有的 `explore turn-context` 读取,包括有界证据投影、来源 Goal 与 Agent 校验及按修订版本分页。[C1](controller-executor-unified-contract-v0.zh-CN.md#9-验证与验收) 新 Turn 和已保存的 Turn 命令在安装、卸载和重装时共用此读者。Research wheel 未就绪时仍可读取原有范围内的证据并继续补读。可选规划、全量摘要和直接记录 Explore 结果由同版 Research 提供。续页仍校验结果修订版本,投影变化时从首页重读。原捕获、准入、授权结算及证据账本沿用各自的既有归属。

Expand Down Expand Up @@ -631,6 +631,8 @@ soft claim/hard lease 及历史反馈仅作上下文:保留独立验证的成
未变的 runtime 已支持该路径;迁移 reader 前失败的是过时测试消费者。
这组脚本验证覆盖本地调用路径。

**DSH 上下文折叠的 C1 结算补读(作者源码验证)。** [DSH 折叠](https://github.com/loopx-project/loopx/pull/9503)通过 `quota receipt --include-settlement` 读取原 Turn。File 和 SQLite 上,经全局链接的普通 CLI 与直连来源返回同一已验证完成回执。来源暂时缺失时拒绝读取,恢复后读回原回执。回归还覆盖换一个 Turn ID、默认读取省略结算详情,以及读前后来源日志字节一致。

**同一 Todo 的实装原生反馈(作者回读,2026-11-30)。** 两个 Turn 在 SQLite 上使用原生
Codex CLI 0.172.0 和 GPT-6.2-Sol。[当时的源码版本](https://github.com/loopx-project/loopx/commit/d57f9a75243ba3c18dbc473eb52885bc2208569b)
首轮六条记录通过独立验证后,发布了一条已确认的 Explore finding。第二轮 Host
Expand Down
Loading