Repository navigation
C1: converge complete Turn decisions and inspection callers - #7430
loopx-agent wants to merge 88 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>
|
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>
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 |
Problem and resulting behavior
Quota, Turn and heartbeat callers previously composed overlapping executable inputs. This C1 candidate composes one complete source through the existing TypeScript owner before capture and passes that source to the final host input. Python retains source/transport IO. Fresh input uses
loopx_turn_envelope_v1; executor projections must agree with its identity, authority, action and settlement before dispatch. Historical journals keep their recorded decoder, bytes, Turn key and settlement identity.Tested head:
b2cc17ebb1d0de6dcc31132f65a381a37914acf6, integrating maind430c0396017bc9d53350e22126407f30b8bd653throughb11136490. Native context delivery remains opt-in. No live install, default promotion, model experiment or merge is included.Draft reflects unfinished author work: complete quota presentation, crowded-plan cost and remaining reader/rollback qualification still need implementation. Pending review or CI is not the reason for Draft.
Implementation and consumers
turn planis explicitly inspection-only and omits a second complete contract. The explicit--include-transaction-detailconsumer and actual execution keep the complete source, session and transaction. Restoring transaction fields cannot turn a source-less inspection into an executable request.The new prompt work removes duplicate presentation in the existing Python heartbeat owner; it creates no parallel decision engine, protocol vocabulary or configuration. Historical decoders remain named migration consumers until their supported recovery/retirement boundary qualifies. Optional SDK/MemT/installed-host paths remain separately qualified.
Validation at this head
All execution uses synthetic fixtures or deterministic local transports. No external model, paid/scientific run, CI query or manual CI trigger ran.
On the unchanged full-route fixture (320-character scope, explicit CLI and five capabilities), the unbound thin body moves 4,981 → 4,895 budget characters, passing the original 4,900 ceiling. The oversized-route negative still fails. The separately measured exact-Turn variant improves 5,198 → 4,987 and remains over that ceiling. No fixture population, route, capability, required clause or limit was shortened. These character counts are presentation measurements, not token, invoice, model-adoption or outcome-benefit measurements.
The four remaining original output failures are:
Absolute, line and growth gates remain independent. Full unmarked Goal material, unknown controls and required reads cannot be omitted to satisfy these ceilings. The original 5 failed / 35 passed / 1 skipped and earlier 15 / 25 / 1 observations remain failures; the table records the later implementation result rather than relabeling history.
The first integrated matrix exposed two old digest-field assertions (227 passed / 2 failed). An initial test migration then incorrectly assumed the recovery basename was
decision.json; the transport owns a byte-verified full projection. The final consumer compares the actual pinned source and complete content instead. Both failed observations are retained. The earlier explicit-detail regression (4 failures / 44 dependent setup errors), old native-version results and old TypeScript counts retain their original source/qualification boundaries; they do not certify this head.Remaining acceptance
The bilingual C1 RFC and its source-convergence checkpoint remain open. This candidate is a migration step, not final C1 cutover or proof of benefit. It changes no visual layout and grants no historical-reader retirement or merge readiness.
Written by: model_agent; Codex.