Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,39 @@ covers one tight-budget pair. Matched policy benefit and forecast calibration
remain open. [Read back observed handoff, original validation and replay for each Turn](https://github.com/loopx-project/loopx/pull/9688#issuecomment-7296065904).
[LoopX source revision](https://github.com/loopx-project/loopx/tree/21c6ddf4782617b2eec4f733010bf8c79ed7e3d2)

### C1 cold full-context comparison on the native Host

On 2026-12-01, the original quota packet and current Complete Turn ran the same
final Todo and immutable proof on isolated File storage. Both used Codex CLI
0.172.0, GPT-5.6-Sol at medium effort, and one cold attempt capped at 180 seconds.
The original-quota arm ran first. Tool calls ran in a network-restricted workspace
and explicitly selected the executable from the pinned checkout. The original
source used a local port of the shipped stdio Effect transport. The stock TCP
source and the stdio port produced the same settlement-plan digest. In the
existing scripted 12,000- and 64,000-byte terminal fixtures, they emitted the
same request byte counts and reached the same debit and closeout states.
Earlier native attempts failed before admission under the workspace's TCP
restriction or when the shell picked a different installed LoopX.
[Original source](https://github.com/loopx-project/loopx/tree/513b6f168a405d5c071c79ae23fb18d2b4f5ae5d)
[Shipped stdio transport](https://github.com/loopx-project/loopx/pull/9140)
[Current source](https://github.com/loopx-project/loopx/tree/1bdf851e9447bc7c22ab29d10948a674bf4687c4)

| Contract | Guard output bytes | Host tool calls | Uncached input tokens | Cached input tokens | Output tokens | Setup through receipt check |
| --- | ---: | ---: | ---: | ---: | ---: | ---: |
| Original quota packet | 55,307 | 11 | 47,345 | 499,072 | 4,332 | 119.957 s |
| Complete Turn | 48,610 | 12 | 53,753 | 573,312 | 4,828 | 134.535 s |

Both Hosts read the original proof. Each original Turn admitted once, debited
once, and returned a terminal receipt that a separate read verified. Complete
Comment thread
cocolord marked this conversation as resolved.
Resolved
Turn performed runtime-owned spend and made an additional capture read that
returned 52,018 bytes. The observed time and model token counts increased in this
pair. Billing and study design effort remain unmeasured.
[C1 adoption](controller-executor-unified-contract-v0.md#default-adoption-and-retirement-qualification)
still needs evidence for warm continuation, replan, a missing baseline, interrupted
recovery, the DeepSeek profile, and complete costs.

[Recompute both native Turns and reconstruct the historical transport tree](https://github.com/loopx-project/loopx/pull/9695#issuecomment-7298924474).

## 10. Success criteria

**Structure:** common rules have one owner, real callers have migrated, and duplicate normal producers retire. **Behavior:** prior expectations, execution, feedback and next work correspond; supporting and refuting evidence are used without recovery breaking original identity. **Outcomes:** better accepted results at comparable complete budgets, or lower complete cost for equivalent results. Correct structure, complete evidence and more accurate predictions do not individually establish policy benefit.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,31 @@ GPT-5.6-Sol。每个任务每组只有一次 Host 尝试。表中同一任务的
[逐轮核对实际交验、原后置检查与重放](https://github.com/loopx-project/loopx/pull/9688#issuecomment-7296065904)。
[LoopX 源码版本](https://github.com/loopx-project/loopx/tree/21c6ddf4782617b2eec4f733010bf8c79ed7e3d2)

### C1 原生 Host 冷启动完整上下文对照

2026-12-01,旧 quota packet 和当前 Complete Turn 在隔离 File 存储上执行同一个末尾 Todo,读取同一份不可变证据。
两组均使用 Codex CLI 0.172.0、中等推理强度的 GPT-5.6-Sol 和一次 180 秒上限的冷启动尝试。
旧 quota 组先跑。工具在限制联网的工作区内运行,并显式选择固定 checkout 的可执行文件。
旧版仅在本地移植已发布的 stdio Effect 传输。原版 TCP 与移植版 stdio 生成的结算计划摘要一致。
现有 12,000 和 64,000 字节的脚本化终结用例中,两者的请求字节数相同,扣额和终结状态也一致。
先前原生尝试受工作区 TCP 限制,或因 shell 选到另一份已安装的 LoopX,均在准入前失败。
[旧版源码](https://github.com/loopx-project/loopx/tree/513b6f168a405d5c071c79ae23fb18d2b4f5ae5d)
[已发布的 stdio 传输](https://github.com/loopx-project/loopx/pull/9140)
[当前源码](https://github.com/loopx-project/loopx/tree/1bdf851e9447bc7c22ab29d10948a674bf4687c4)

| 契约 | 准入输出字节 | Host 工具调用 | 未缓存输入 token | 已缓存输入 token | 输出 token | 准备至回执复核 |
| --- | ---: | ---: | ---: | ---: | ---: | ---: |
| 旧 quota packet | 55,307 | 11 | 47,345 | 499,072 | 4,332 | 119.957 秒 |
| Complete Turn | 48,610 | 12 | 53,753 | 573,312 | 4,828 | 134.535 秒 |

两组 Host 均读到原证据,原 Turn 各准入一次、扣额一次,且终结回执通过独立读回复核。
Complete Turn 由运行时负责扣额,额外一次捕获内容补读返回了 52,018 字节。
本对照中耗时和模型 token 均更高。实际账单和试验设计耗时尚未测量。
[C1 默认采用](controller-executor-unified-contract-v0.zh-CN.md#默认采用与退役资格)
仍需热接续、重规划、缺基线、中断恢复、DeepSeek profile 和完整成本证据。

[逐轮重算原生观测并复现旧版移植源码树](https://github.com/loopx-project/loopx/pull/9695#issuecomment-7298924474).

## 10. 成功标准

**结构:** 共同规则一处维护,真实调用方已迁移,重复正常 producer 退役。**行为:** 事前预期、执行、反馈和下一工作对应,支持/反证均能被使用,恢复不破坏原身份。**结果:** 可比完整预算下验收成果更好,或同等成果的完整成本更低。结构正确、证据完整与预测更准都不单独证明策略收益。
Expand Down
Loading