Repository navigation
C1: converge complete Turn decisions and inspection callers - #7430
loopx-agent wants to merge 86 commits into
Conversation
|
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 |
|
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 |
|
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 |
a4e077f to
307d000
Compare
72b88cc to
6e84e81
Compare
6e84e81 to
37618d8
Compare
|
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 |
37618d8 to
6e3cf81
Compare
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.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 |
Token 优化建议:把验收落到实际消费链与完整成本针对本 Draft 当前 head 可以优先验证实际 caller 对已有入口的采用。当前 main 建议把同来源、同任务状态的 original quota / candidate 对照组织为四条消费者路径:
每条都贯通 成本可复用现有 request usage 计量,记录入口正文、全部工具回执与补读、分页、失败恢复、模型请求数、input/cached/output token、压缩请求,以及到达有效工作的时间。若以后采用 controller/executor 两个会话,两边及交接都计入。单个响应字节下降、少一次 CLI 或内部 source 收敛可以证明局部工程变化;净 token 和费用收益仍需完整请求对照。 语义样本建议显式覆盖:候选正文尾部的决定性约束、显示范围之外的有用替代项、跨 Agent 依赖和反证、未知相关性。未知 scope 回到完整来源;只读目录不证明隐藏正文已读,已选 Todo 也不证明其他候选都无关。验收应检查这些事实是否实际改变选择或约束执行。 验证边界:我在上述 main 运行了三个真实 SQLite 源码 CLI 用例,普通 progress/completion 的组合 refresh/settle 两例通过,staged review/writeback 一例通过;前两例覆盖原 Turn 身份与重放单次扣额,第三例覆盖原 capture/digest、无 registry reader、篡改拒绝和有效语义写回。第三例最后使用 fixture refresh,不能扩大为完整 stride+组合结算资格。它们不是此 Draft 的全量验证,也未运行模型或长程 benchmark。 这是一项非阻塞的消费者采用与验收建议;不改变本 PR 已披露的 Draft 状态和剩余资格缺口。 Reviewer: actor_kind=model_agent; model=GPT-6 Astra Pro; provider=OpenAI; declaration_source=self_reported. |
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
Problem and current behavior
Quota, Turn and heartbeat callers previously composed overlapping decision/context inputs. This C1 candidate composes one complete executable source before capture through the existing TypeScript owner, with Python retaining source/IO transport. Fresh executable input uses
loopx_turn_envelope_v1and the existing numeric-identity/edit codec; signed executor projections must agree with that source on identity, authority, action and settlement before dispatch. Historical journals retain their original reader, bytes, Turn keys and settlement identity.The candidate integrates main
1b81d782a18991e579d41fc7d9e7a904d4f01eb2, including the native full/delta cost comparison and first-read entrypoint. Current head isd598e5e9e12d52b5171bc7af3e21bb75bb719d9a; its final commit migrates CLI test consumers, with product code unchanged from the preceding integration. Native context delivery remains opt-in; this does not promote two-session operation or install a running product.Draft is retained for concrete unfinished implementation: crowded/default and complete quota presentation still fail the existing output budgets, and remaining complete-contract callers/readers require migration. Review or CI waiting is not the reason for Draft.
Delivered change
context_deliverytransaction; displaced duplicate algorithms and the standalone planner RPC are removed.turn planstops printing a second complete contract beside its inspection envelope.boundary.inspection_only=trueprevents promoting that projection to a source-less host request, including after transaction/session fields are restored.--include-transaction-detailretain their complete source and session/transaction input. Actualrun-onceand its owning backend retain the complete contract. Selected action, boundaries and writeback routes remain in default inspection.The same existing one-Todo/one-Agent/one-run fixture measured 35,945 → 11,330 characters for default plan; original main is 10,559 and the original 14,000 ceiling is unchanged. The candidate remains larger than original quota/plan baselines in other paths; a local byte reduction is not task effectiveness or complete-cost evidence.
Validation and failures
All execution here uses public/synthetic fixtures or deterministic loopback inference. No external model, paid/scientific run, live install, merge or CI query/manual trigger is part of this update.
e95467d840cabca299d3754cf5c1fd2cc7760acc, 221.11 sCurrent matched plan measurements against main
62390312506d0087b4bd9433e59ef24c01ea6235use the unchanged public fixtures and paths:Passing an absolute cell does not establish the independent growth/line budget. Complete quota Markdown still emits 30,428 > 10,000 characters. The former envelope-mode budget remains 24,224 > 13,000, and the complete thin prompt with all supported capability/CLI routes remains 4,981 > 4,900. These, the two crowded plan variants, and the matrix growth/line checks remain unresolved. Ten obsolete v0 path/diagnostic/hash assertions were migrated; the earlier 15 failed / 25 passed / 1 skipped observation remains historical evidence, not a budget pass. Resolve the remaining wire/owner cost without dropping full registered Goal material, unknown controls, required clauses, or raising limits to hide failures.
An initial inspection change incorrectly omitted the complete contract even from explicit transaction detail. Its 4 failures/44 dependent setup errors are retained; restoring detailed complete input fixed that regression. They are not baseline failures or passing skips.
Historical evidence keeps its original source/version:
96bba8fPython 1,870 passed / 53 skipped; TypeScript 5,757 passed / 76 skipped; earlier 0.163 native16 and isolated-wheel10 checks at5a8453e4b. These do not qualify the current 0.166 native host or installed App. Earlier 25,862 > 13,000 and 102,680 → 344,010-byte cost failures remain failures.Remaining C1 acceptance
The original bilingual C1 RFC and source-convergence checkpoint remain open. This update grants no default promotion, historical-reader retirement, model benefit or merge readiness. No visual surface/layout change is introduced.
Written by: model_agent; OpenAI GPT-6 (Codex).