Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
7b41b85
refactor(turn): compose one complete governed input across callers
loopx-agent Oct 27, 2026
9ca580b
refactor(turn): isolate original captured Host context restoration
loopx-agent Oct 27, 2026
49573d8
docs(controller): reconcile independent delivery and historical quali…
loopx-agent Oct 27, 2026
04c6ae3
docs(controller): record target native budget integration
loopx-agent Oct 27, 2026
9de0d26
refactor(context): compose native scope and encoding in one call
loopx-agent Oct 27, 2026
56c3cbe
docs(context): record native composition cost and recovery boundaries
loopx-agent Oct 27, 2026
e8c6d6b
refactor(turn): read execution facts from the complete source
loopx-agent Oct 27, 2026
c47fb1e
refactor(turn): consume complete Host source before legacy decoding
loopx-agent Oct 27, 2026
9805817
test(turn): qualify report replans against complete Host input
loopx-agent Oct 27, 2026
b3b2135
refactor(turn): prepare Codex input with one source check
loopx-agent Oct 27, 2026
c02aeaa
docs(controller): qualify input preparation cost and remaining gaps
loopx-agent Oct 27, 2026
f23105d
refactor(turn): share selected work in planning and session recovery
loopx-agent Oct 27, 2026
49e69f2
fix(turn): retain historical whitespace in selected work identity
loopx-agent Oct 28, 2026
5b2e91d
fix(turn): bind completion classification to the captured source
loopx-agent Oct 28, 2026
5e3d86f
refactor(quota): share acceptance and context projection transport
loopx-agent Oct 28, 2026
65ea4fa
docs(controller): record packaged quota comparison and compaction gap
loopx-agent Oct 28, 2026
3090dc7
refactor(quota): share typed Todo diagnostic projection
loopx-agent Oct 28, 2026
ac3b2bc
docs(controller): record shared diagnostic costs and independent slice
loopx-agent Oct 28, 2026
ae13554
test(context): qualify scoped overlay adoption and quota costs
loopx-agent Oct 28, 2026
9be5256
fix(context): deliver complete registered Goal material before busine…
hhyykk Oct 28, 2026
99b2f18
fix(context): enforce Goal readiness in Codex prompt preparation
hhyykk Oct 28, 2026
2bdf242
fix(turn): retain lane fencing around staged capture execution
loopx-agent Oct 28, 2026
0e2a01b
test(turn): qualify staged capture and inherited Goal readiness
loopx-agent Oct 28, 2026
e902d23
refactor(turn): bind published input in the capture owner
loopx-agent Oct 28, 2026
614167f
docs(rfc): retain capture-owner repair qualification
loopx-agent Oct 28, 2026
78937d7
fix(quota): preserve original facts across diagnostic projection
loopx-agent Oct 28, 2026
81b3d4a
fix(context): preserve source identity during acceptance sharing
loopx-agent Oct 28, 2026
21be280
docs(rfc): record diagnostic preservation and C1 integration evidence
loopx-agent Oct 28, 2026
094c657
test(turn): check native prompt bytes after main material repair
loopx-agent Oct 28, 2026
19042b8
docs(rfc): retain main transport integration and merge boundaries
loopx-agent Oct 28, 2026
2ca00cb
fix(turn): keep one shared diagnostic import after integration
loopx-agent Oct 28, 2026
396635e
fix(context): reuse verified Goal sources and scoped reading prose
loopx-agent Oct 28, 2026
36e7ac5
docs(controller): record complete input costs and native delivery slice
loopx-agent Oct 28, 2026
87c14a5
fix(context): retain one Goal integrity import after main integration
loopx-agent Oct 28, 2026
4604ee4
refactor(context): share identical complete Todo summary lanes
loopx-agent Oct 28, 2026
c59d82b
test(context): distinguish diagnostic edits from projected documents
loopx-agent Oct 28, 2026
d410e29
docs(context): qualify same-capture diagnostic lane reuse
loopx-agent Oct 28, 2026
5a770d1
Merge main and preserve unified context reader identity
loopx-agent Oct 28, 2026
281910a
Preserve missing-work errors and localize host preparation
loopx-agent Oct 28, 2026
bca6350
Merge current context recovery and shared Todo record owners
loopx-agent Oct 28, 2026
fc47630
Record current integration evidence and remaining C1 qualification
loopx-agent Oct 28, 2026
09fc165
Keep the execution fence on the complete Turn entry
loopx-agent Oct 28, 2026
95deaab
Retain native overhead and intermediate failure evidence
loopx-agent Oct 28, 2026
ea67e99
Merge main for first-call and captured recovery integration
loopx-agent Oct 29, 2026
b339272
Reuse progressive material delivery for signed complete captures
loopx-agent Oct 29, 2026
2358110
Merge current main for complete-context integration validation
loopx-agent Oct 29, 2026
c335aae
docs(controller): prioritize independent current-capture recovery del…
loopx-agent Oct 29, 2026
07cdb0a
docs(rfc): record lossless reference and caller cost findings
loopx-agent Oct 29, 2026
f2a3059
docs(rfc): record independent recovery merge
loopx-agent Oct 29, 2026
fd65514
fix(quota): preserve original facts in context sharing
loopx-agent Oct 29, 2026
dd600ac
docs(rfc): separate context source preservation from C1 qualification
loopx-agent Oct 29, 2026
16626b9
fix(quota): preserve numeric identity during context sharing
loopx-agent Oct 29, 2026
7717614
refactor(context): converge C1 on advisory navigation and shared reads
loopx-agent Oct 29, 2026
4144d09
refactor(context): adopt file-first delivery in unified contract
loopx-agent Oct 29, 2026
263b740
fix(testing): preserve CLI JSON in tuple results
loopx-agent Oct 29, 2026
be65544
test(context): reuse source-faithful CLI transport in C1
loopx-agent Oct 29, 2026
c7756a1
chore: reconcile C1 with current main
loopx-agent Oct 29, 2026
1e9657f
fix(turn): preserve original numeric evidence in journals
loopx-agent Oct 29, 2026
b8b5d66
test(turn): qualify journal source fidelity in C1 recovery
loopx-agent Oct 29, 2026
efce061
chore: reconcile C1 with current main
loopx-agent Oct 29, 2026
9ec8dda
fix(context): preserve source numbers through delivery and recovery
loopx-agent Oct 29, 2026
3afc2d5
docs(rfc): record shared context source fidelity and its costs
loopx-agent Oct 29, 2026
13c7b74
Merge remote-tracking branch 'origin/main' into codex/controller-deci…
loopx-agent Oct 29, 2026
4173cc2
docs(rfc): qualify packaged C1 source delivery and its cost gap
loopx-agent Oct 29, 2026
974cd09
fix(turn): bind complete consumers to original numeric identity
loopx-agent Oct 29, 2026
e18d46d
refactor(turn): retire the unused complete-source echo operation
loopx-agent Oct 29, 2026
fdc8fe4
docs(rfc): record complete numeric binding and measured Host costs
loopx-agent Oct 29, 2026
7a502fc
Merge commit '3b4641c4fc0ec314d347f74b05880bb516012049' into codex/co…
loopx-agent Oct 29, 2026
dfcf7da
docs(rfc): qualify native recovery and optional Host fixtures
loopx-agent Oct 29, 2026
b9d1ce1
fix(turn): reuse sparse numeric provenance across complete consumers
loopx-agent Oct 29, 2026
0f376a9
test(turn): freeze the paired numeric cost source once
loopx-agent Oct 29, 2026
6481049
docs(rfc): reconcile sparse transport costs and pinned binding readers
loopx-agent Oct 29, 2026
60ef2b5
Integrate C1 with shared source identity and current main owners
loopx-agent Oct 30, 2026
af1808a
fix(context): keep bounded native references readable
loopx-agent Oct 30, 2026
35e4ef2
fix(turn): retain historical unbound wait decoding
loopx-agent Oct 30, 2026
c3f243a
Merge current main recovery and lifecycle fixes into C1
loopx-agent Oct 30, 2026
ceb7baa
test(turn): keep staged reader rejection oracles independent
loopx-agent Oct 30, 2026
0adc519
Merge independently proposed native context reference repair into C1
loopx-agent Oct 30, 2026
1910f6a
test(turn): scope preflight observation to the pinned CLI
loopx-agent Oct 30, 2026
abc6f28
Merge current main context and reader owners into C1
loopx-agent Nov 1, 2026
0642146
test(runtime): tolerate retiring directories during fixture cleanup
loopx-agent Nov 1, 2026
5a8453e
fix(context): recognize Codex alpha 11.2 replay metadata
loopx-agent Nov 1, 2026
96bba8f
Merge current main before C1 native integration qualification
loopx-agent Nov 1, 2026
36ffae5
Merge main and bound default Turn plan inspection output
loopx-agent Nov 1, 2026
e95467d
Merge current main host adapter binding into C1 candidate
loopx-agent Nov 1, 2026
d598e5e
test: migrate complete Turn CLI consumers
loopx-agent Nov 1, 2026
b111364
Merge main into complete Turn contract candidate
loopx-agent Nov 1, 2026
b2cc17e
Consolidate heartbeat read and settlement guidance
loopx-agent Nov 1, 2026
ec96131
Merge current main into C1 contract candidate
loopx-agent Nov 1, 2026
f48ac24
fix(heartbeat): qualify the existing exact-Turn settlement locator
loopx-agent Nov 1, 2026
6a82098
test(C1): follow current capture and snapshot boundaries
loopx-agent Nov 1, 2026
958eef4
Merge remote-tracking branch 'origin/main' into codex/controller-deci…
loopx-agent Nov 1, 2026
18b55e0
fix(heartbeat): share complete guidance across prompt consumers
loopx-agent Nov 1, 2026
4547a48
Merge remote-tracking branch 'origin/main' into codex/controller-deci…
loopx-agent Nov 1, 2026
4a15f2b
docs(C1): record shared prompt qualification and remaining cost holds
loopx-agent Nov 1, 2026
f3ae163
Merge commit '6ad80633c4d0ce360e18f3f3d7b1913540355226' into codex/co…
loopx-agent Nov 1, 2026
04ba4bd
Merge commit '035f7ac666cef390676c00b6fb0537ede3c9cf44' into codex/co…
loopx-agent Nov 1, 2026
b852af5
perf(presentation): remove nested padding from complete Turn Markdown
loopx-agent Nov 1, 2026
46bdadd
docs(C1): distinguish Markdown padding savings from complete packet size
loopx-agent Nov 1, 2026
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
2 changes: 1 addition & 1 deletion docs/architecture/rfcs/STATUS.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ appendix may keep dated history, but no dated log heading may precede it.
| [RFC: Capable Agent Manager and Semantic Work Handoff (v0)](capable-manager-semantic-handoff-v0.md) | Accepted | [Personal Follow-through independent proposal](personal-follow-through-v0.md) | [2 entries](ledger/capable-manager-semantic-handoff-v0/) |
| [RFC: Complete State Recovery and Controlled Reactivation (v0)](complete-state-recovery-v0.md) | Accepted | none | — |
| [RFC: Composable State Machines and Recovery Verification (v0)](composable-state-machines-recovery-verification-v0.md) | Accepted | none | — |
| [RFC: Controller / Executor Sessions and One Governed Work Contract (v0)](controller-executor-unified-contract-v0.md) | Accepted | none | [5 entries](ledger/controller-executor-unified-contract-v0/) |
| [RFC: Controller / Executor Sessions and One Governed Work Contract (v0)](controller-executor-unified-contract-v0.md) | Accepted | none | [12 entries](ledger/controller-executor-unified-contract-v0/) |
| [Explicit Todo continuation: Stage A](cross-session-memory-substrate-v0.md) | Accepted | none | — |
| [RFC: LoopX Desktop Execution Frontends v0](desktop-execution-frontends-v0.md) | Accepted | none | — |
| [RFC: External Evidence Research Capability v0](external-evidence-research-capability-v0.md) | Accepted | none | [3 entries](ledger/external-evidence-research-capability-v0/) |
Expand Down
2 changes: 1 addition & 1 deletion docs/architecture/rfcs/STATUS.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
| [RFC:强能力 Agent 管家与语义工作交接(v0)](capable-manager-semantic-handoff-v0.zh-CN.md) | 已接受 | [个人事项持续跟进独立提案](personal-follow-through-v0.zh-CN.md) | [2 条](ledger/capable-manager-semantic-handoff-v0/) |
| [RFC:完整状态恢复与受控重新激活(v0)](complete-state-recovery-v0.zh-CN.md) | 已接受 | 无 | — |
| [RFC:可组合状态机与恢复验证(v0)](composable-state-machines-recovery-verification-v0.zh-CN.md) | 已接受 | 无 | — |
| [RFC:Controller / Executor 会话与统一受治理工作契约(v0)](controller-executor-unified-contract-v0.zh-CN.md) | 已接受 | 无 | [5 条](ledger/controller-executor-unified-contract-v0/) |
| [RFC:Controller / Executor 会话与统一受治理工作契约(v0)](controller-executor-unified-contract-v0.zh-CN.md) | 已接受 | 无 | [12 条](ledger/controller-executor-unified-contract-v0/) |
| [显式 Todo 接续:阶段 A](cross-session-memory-substrate-v0.zh-CN.md) | 已接受 | 无 | — |
| [RFC:LoopX 桌面执行前端 v0](desktop-execution-frontends-v0.zh-CN.md) | 已接受 | 无 | — |
| [RFC:外部证据研究能力 v0](external-evidence-research-capability-v0.zh-CN.md) | 已接受 | 无 | [3 条](ledger/external-evidence-research-capability-v0/) |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,21 @@ reject an unsupported inner version before Codex prompt execution or DSH runner
loading, without spend. The complete-contract/context/DSH/stdio selection passes
352 cases; TypeScript checking and focused lint pass. This qualifies these
interaction semantics, not every required field or packaged-host adoption.
Heartbeat templates now own the ordered settlement instruction; exact-Turn
binding adds only its canonical source locator, instead of repeating the
execution and no-static-reconstruction clauses. Thin prompts combine complete
capture and required-context reads before action, while sharing the unchanged
progress/outcome clauses. On the unchanged full-route fixture (320-character
scope, explicit CLI and five capabilities), the unbound prompt falls from 4,981
to 4,895 budget characters under the original 4,900 ceiling. The exact-Turn
variant falls from 5,198 to 4,987 and still fails that ceiling. The padded-route
negative remains rejected; no route, capability, fixture population or limit
was shortened. The prompt/platform selection passes 115 checks with one skip.
These are presentation and clause-retention results, not model adoption or cost
benefit. Four other original CLI-budget failures remain open. Integration with
opaque reader references also exposed two obsolete digest-field assertions;
their File/SQLite consumers now read the pinned machine descriptor, preserve
the original receipt and reject byte-changed captures without admission or spend.
Remaining cache consistency investigation, other old reader expectations, staged instruction parity and
actual optional/external consumers, version admission and packaged host
continuity remain unfinished. Operation-SDK checks without an explicit native
Expand Down Expand Up @@ -796,6 +811,22 @@ are reconciled. Rollback likewise separates outstanding work from new admission.
A version transition does not rewrite saved prompts, journals or source hashes
as if they had always used the new contract.

Code convergence is part of each migration slice, not only the final C9 cleanup.
Both entrypoints must call the same semantic implementation for composition,
reference validation, context reconstruction and settlement. Keep genuinely
host-specific launch/observation mechanics in thin adapters; do not force their
different lifecycles into a new general-purpose runner. The existing typed owners
remain responsible for their respective decisions.

For each slice, record the before/after callsites, shared owner, removed duplicate
algorithm and remaining compatibility caller with its removal condition. Qualify
both routes with the same independently authored semantic cases and their real
transport/recovery tests. A wrapper that only delegates can be transitional;
copying a rule into a newly named common module while leaving two implementations
is not convergence. The next change to a shared rule should be made and tested in
one owner and reach both routes. Do not make declining line counts an acceptance
metric or remove unique host coverage to meet one.

The first C1 PR must include the two production composition callsites above and
at least one complete producer-to-final-input journey, with an explicit list of
remaining readers. Qualifying that bounded slice does not enable the new writer
Expand Down Expand Up @@ -1188,3 +1219,11 @@ The directory is the index. A planning/source-inspection entry does not establis
runtime delivery; live priorities and claims remain in the roadmap and canonical
work. Keep historical entries append-only and refine the current normative plan
here rather than treating a dated audit as a permanent execution queue.

The [source-convergence checkpoint](ledger/controller-executor-unified-contract-v0/2026-10-30-c1-source-convergence.md)
keeps the candidate's detailed chronology outside this normative plan. Integration
preserves main's presentation/journal owners and shares numeric source identity
and edit transport across acceptance, summaries, authoring and Vision. This does
not qualify writer/consumer cutover, installed adoption or the original-quota
accepted-outcome/full-cost comparison. Remaining reader retirement and negative
cost observations keep C1 open.
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,16 @@ reader 覆盖仍保留。八项聚焦用例通过,使用注入的记录 runner
File/SQLite 原生输入检查确认不支持的内层版本在 Codex prompt 执行或 DSH runner
加载前拒绝,且不扣额。完整契约/context/DSH/stdio 集合 352 项通过,TypeScript
检查及聚焦 lint 通过。这只证明上述交互语义,不代表所有必需字段或打包宿主已验收。
Heartbeat 模板现统一提供按顺序结算的执行要求;精确 Turn 绑定只补充 canonical
来源定位,不再重复执行和禁止静态重建的条款。Thin 将完整 capture 与所需上下文的
行动前读取合并,复用未变的进展/outcome 条款。原完整路由 fixture(320 字符
scope、显式 CLI、五项能力)中,未绑定提示从 4,981 降至 4,895 个预算字符,通过
原 4,900 上限;精确 Turn 变体从 5,198 降至 4,987,仍超过该上限。超长路由反例
仍拒绝;没有缩短路由、能力、fixture 规模或修改上限。提示/平台集合 115 项通过、
1 项跳过。这只证明展示和条款保留,不代表模型采用或费用收益。其余原 CLI 预算
仍有四项失败。与 opaque reader reference 整合还暴露两项过时的 digest 字段断言;
File/SQLite 消费者现读取已钉住的 machine descriptor,保留原 receipt,并确认
capture 字节改变后拒绝读取,不产生新 admission 或 spend。
剩余 cache 一致性调查、其他旧 reader 断言、分阶段指令等价和实际 optional/external
消费者、版本准入及打包宿主连续性仍未完成。缺少显式原生 runtime 的 operation SDK
检查属于未测,不能算资格。默认 writer 变更尚未交付;PR 因作者实现未完而保持
Expand Down Expand Up @@ -595,6 +605,16 @@ Draft,不是仅等待评审。尚无模型或成本收益证据。历史 effec
受支持恢复窗口核清前保留历史 decoder。回退同样区分未结工作与新准入。版本迁移不能
把保存的 prompt、journal 或源 hash 改写成仿佛一直使用新契约。

代码收敛属于每个迁移切片,不只留给最终 C9 清理。两个入口须共用 composition、引用
校验、上下文重建与结算的语义实现。真实的宿主 launch/observation 差异留在薄 adapter;
不为强行统一不同生命周期而另造通用 runner。各项决策仍由既有 typed owner 负责。

每个切片记录迁移前后调用点、共享 owner、已删除的重复算法,以及剩余兼容 caller 和
退出条件。两条路径共用独立编写的语义用例,并分别验证真实传输与恢复。仅委托调用的
wrapper 可以过渡保留;给公共模块起新名字却继续保留两套规则实现,不算收敛。下一次
修改共同规则,应只改、只测一个 owner 并传递到两条路径。代码行数下降不是验收指标,
也不能为此删除宿主独有的验证覆盖。

C1 首个 PR 必须覆盖上述两个生产组合调用点,并交付至少一条从生产端到最终输入的
完整旅程,同时明确剩余 reader。这个有界切片通过资格,不代表可向未验收 host 开启
新 writer,也不关闭 C1。最终切换须在全部受支持 reader 验收后删除活跃格式选择。
Expand Down Expand Up @@ -898,3 +918,9 @@ C1/C2 组合/capture/最终输入工作与这些精简同属一个候选前沿
目录即索引。规划/源码检查记录不证明 runtime 交付;当前优先级与认领仍在 roadmap 和
canonical 工作中维护。历史记录保持 append-only,当前规范性计划在本文修订,不能把
某日审计当作永久执行队列。

[来源收敛检查点](ledger/controller-executor-unified-contract-v0/2026-10-30-c1-source-convergence.zh-CN.md)
将候选的详细沿革保留在本规范计划之外。集成保留 main 的展示/journal owner,让验收、
summary、authoring 与 Vision 共用数值来源身份和编辑运输。这不证明 writer/consumer
切换、installed 采用或原 quota 的验收成果/完整成本对照。剩余 reader 退出与负成本
观察继续使 C1 保持未完成。
Loading
Loading