Repository navigation
WIP: unify captured Turn inputs and scoped outcome delivery - #7430
loopx-agent wants to merge 13 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
d970950 to
19a44bb
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>
…fication 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>
19a44bb to
72b88cc
Compare
Quota admission and native Turn delivered the same decision through different layouts. This C1 proposal composes one complete contract before capture, preserving original requirements, evidence and settlement identity. New Host requests consume that checked source through the existing typed owner. Codex CLI and the operation-equipped app-server now prepare prompt and result schema with one source check per launch instead of two; the internal reply returns resolved metadata without echoing the complete source.
Author work remains unfinished. This integration stays Draft for remaining consumers, historical-reader retirement, packaged adoption and the original-quota comparison of actual decisions, accepted outcomes and complete costs. The local Codex preparation improvement does not establish overall benefit.
Behavior and ownership
quota/turn_envelope.tscomposition serves quota and Turn before capture. Acceptance, authoring, Explore guidance, Task title and vision references share typed owners; duplicate Python matching algorithms are removed.The scoped presentation remains opt-in: current-Agent and relevant outcomes expand while global intent, checks, permissions, stops and pending reads remain. Other independent outcomes retain current-state indexes and exact original-source references. Goal/Agent/Todo, provider/outcome revision and whole-source digest must match. Unknown relevance/fields/guidance, unresolved acceptance reads and broad replans widen to full; newly required bodies reach the delta as text. Canonical requirements are never filtered. These source/coverage checks do not establish semantic independence, model retention or C2 adoption.
Independent proposals and rollback
e9ef554ea; its duplicate patch is absent.This branch is genuinely rebased onto target
f31e06885ac5033d81810280cb99689f811807e7, its verified merge base. Current head:72b88ccf14014cb8c409eae30f81e9fb03f36602. All 96 changed files retain identical bytes after this last rebase; the target added only an unrelated browser-test scroll precondition. The open prerequisites still overlap this integration; remove overlap after actual main adoption and validate the resulting combination. The Host replacement requires C1's complete source, so it remains here. Revert cohesive owner/caller changes together and reconcile original outstanding receipts before changing new admission.Validation
75bd69bf6at the repeated-check assertion, then pass on the candidate. Each of two fresh attempts checks again; invalid source rejects before a new native effect. Detached structured authority is independently checked.Runtime/test files are unchanged from the validated
54903bc21; the final commit only narrows documentation wording. The exact final committed-head premerge and bilingual checks were rerun. This increment changes four runtime paths, four durable test paths and the paired RFC/protocol documentation; no new caller-facing capability, setting or UI journey is introduced.Historical failures remain preserved: the first launch-suite run had 15 tests still injecting faults at the retired
_promptseam; those hooks now target the joint preparation boundary with their original assertions intact. The earlier 589-pass/12-failure report run used a synthetic model that only parsed the retired prompt marker; the corrected reader and its predecessor counterexample retain their own evidence. Initial ineffective observation/whitespace probes, raw-approval failures and old launcher setup failures are retained rather than counted as passes. The earlier full TS result (5,617 pass/75 skip) belongs tod9709501d, not this final head. Full remote CI, real PostgreSQL, installed App adoption and native SDK/model delivery are not newly qualified.Matched local cost
Compared with rebased predecessor
75bd69bf6312e50041ab2f34066c6baec28ef76con the same target: six sequential interleaved cohorts, 93 warm samples per arm/case, identical frozen requests and full output parity.Codex local preparation medians are about 46% lower. Both structured timings remain negative observations, despite lower transport volume. Codex internal JSON request bytes are 86,293/86,399 → 43,144/43,197 (File/SQLite), responses 62,554/62,606 → 211. Structured requests decrease by five bytes and responses become 422 bytes; its post-execution source check stays independent. Framing is excluded.
The workload covers prompt/schema construction or structured prompt plus candidate conversion. File/SQLite labels indicate request provenance; samples perform no authority-store IO or real model work. Separate owned runtimes and sequential arms avoid this Agent's validation overlap; machine/background load remains uncontrolled. An owned baseline V8 profile identifies hashing/key ordering as substantial TS CPU work, without measuring Python/transport/provider cost or proving elapsed savings. Startup, other calls, full CLI/Turn, model/cache tokens, billing, implementation/human cost and accepted outcomes are outside this measurement.
Earlier negative observations remain in the paired RFC: the preceding Host-consumption change had four negative warm timing comparisons; execution-read cost also regressed while response size grew 77 → 1,693 B. Original-quota cold JSON growth of 4.18–6.44%, small-source overhead of 1,655 B, unchanged warm-artifact bytes and mixed recovery/detail tails remain open. This improvement does not cancel them or qualify original-quota net benefit.
Remaining author work
The bilingual controller RFC and Turn protocol describe this input lifecycle and its limits. No merge, installation, release, new paid-model/benchmark run or manual CI dispatch was performed.