Repository navigation
WIP: converge governed work inputs and packaged heartbeat consumers - #7430
loopx-agent wants to merge 22 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>
…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>
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>
d33c1a1 to
9e9d3fb
Compare
…ss work Signed-off-by: aihop <4408344+hhyykk@users.noreply.github.com> (cherry picked from commit 1198fa85ca06f83591f0dcfaf7889e9cc97541ae)
Signed-off-by: aihop <4408344+hhyykk@users.noreply.github.com>
…dispatch fix(context): deliver complete Goal source before host dispatch
|
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 |
Quota and native Turn conveyed admitted work through different layouts and repeated interpretation. This C1 integration composes one complete contract before capture and moves actual consumers onto shared typed owners, preserving requirements, evidence, differential recovery and original settlement identity.
Author integration remains unfinished; this PR stays Draft. The packaged comparison now reaches cold/warm/lost-context recovery and once-only settlement, but does not show a positive complete-cost diff. Warm reconstruction/metadata cost, remaining caller replacement and actual decisions/accepted-outcome qualification remain concrete author work. No default promotion is proposed.
Behavior and ownership
quota/turn_envelope.tscomposition serves quota and Turn before capture. Acceptance, authoring, Explore guidance, task title and Vision retain their existing semantic owners and complete obligations.reference_contextrequest. The separate acceptance operation and duplicate controller-input dispatch are removed; complete composition reuses the same functions. Replan authoring remains a distinct lifecycle.quota/diagnostic_projection.tsalgorithm serves existing reference callers and scoped native composition. Replaced Python Todo-list, candidate and portfolio compaction algorithms are removed. Unknown fields/lists and complex items retain their complete source; retained items, selected work, candidates and portfolio prose are not shortened. The identical module is independently proposed in normal PR #7557.turn_driver/driver.py; its CLI copy is removed. Preparation and post-validation completion classification share the checked TypeScript source. Malformed/conflicting complete input rejects before writeback/spend.driver_lineageand launch checks use shared selected work. Python retains persisted JSON/number and historical scalar/whitespace codecs; it does not independently select fresh work or rewrite the action-hash preimage.The existing native-context opt-in applies current-Agent/relevant-outcome expansion and peer indexes with current status plus exact original-capture readers. Global intent, permissions, stops and pending reads remain; unknown relevance/fields/guidance, unresolved reads and broad replans retain full context. The scope wrapper is presentation, not a second authority. C2 default adoption, semantic independence and model retention are unqualified.
Current qualification
Final source
9e9d3fb0a, genuinely rebased onto verified main19c213324fbb5990288bd374c1b79096f22bb152. This includes merged route owner #7520 and reference owner #7457. All 76 touched product/test paths are byte-identical to pre-rebase measurement sourced33c1a19d91738c66073d9e71586f14466f36d89; the new target adds an unrelated Lark-return change. Frozen measurements remain attached to their actual source, not relabeled as a run of the final head.5b5d9dd3b0a816aae9d5160b849cff4a3c38da13, has 264 Python / 70 typed passes, including real File/SQLite status/plan/detail and exact canonical Todo/provider-revision readback. All 14 selected premerge checks pass. This independently usable legacy-reader slice does not depend on WIP: converge governed work inputs and packaged heartbeat consumers #7430. Status/plan now pays one coarse typed request; full Todo detail bypasses diagnostic transport. The native composition already has its existing request.d33c1a19d; final docs do not change its measured runtime. No global installation or active Goal used as a test fixture.The prior 469-pass/5-skip and 116-typed checkpoint remains versioned in the ledger. Initial author runs retain their failures: two former lossy-output assertions, the foundation's former zero-request assumption (User context still needed compaction), a fixture using the raw authoring reader, and one nonexistent selected test path. The final targeted tests correct the expected semantics and use actual canonical CLI readers; unchanged settlement cases were not needlessly repeated. Earlier rebase call-count, helper-import, build fingerprint/dependency, harness-carrier and concurrent-index failures remain recorded authoring costs. No failed run is relabeled as passed.
A crowded diagnostic unit fixture grows to 43,862 characters because complete candidate records are retained. No public interface budget was increased. The unchanged public v4 multi-Agent budget probe passes on original quota but fails at 27,934 > 13,000 characters on both the preceding and current integration wheels. This existing integration gap remains open and is not covered by a green standard canary selection.
Earlier completion sensitivity remains versioned evidence: eight same-body source-replacement cases commit on the immutable baseline and reject on the candidate before writeback/spend, then recover the original result with one Host invocation/debit. Historical Unicode/BOM identity failures and correction remain in the paired RFC. Older full-tree/SDK/model/remote-CI conclusions do not transfer to this source.
Packaged heartbeat versus original quota
The bilingual measurement checkpoint preserves the earlier negative comparison and adds one matched cohort using the same frozen harness, path lengths and real isolated File/SQLite authorities. Base remains original quota
843be494266774b63b3de61d0adf5dd7f4f877a2; candidate runtime isd33c1a19d91738c66073d9e71586f14466f36d89.Actual wheel CLI calls cover thin bootstrap, guarded native context, all required pages/Goal reads, synthetic native hooks, warm delta, PostCompact/SessionStart and full recovery of the same original capture. Tampering/early debit reject; refresh/spend replays preserve one effect/debit and the open task. All 24 original clauses/owners/work/unverified states survive peer expansion. This is packaged engineering with simulated host continuity, not model retention or a controller/executor experiment.
Both arms use 13/9/13 CLI calls; invalidation is two extra hooks. Candidate expansion of all five peers adds 13,940 content bytes, 10 CLI/logical calls, 17,620 stdout bytes and 4.11–4.88 s per phase; original quota already carries those bodies inline. The seven negative/settlement/readback calls use 226 logical requests in each arm with equal per-backend stdout. Setup, builds, failed probes and optional reads remain separate recorded costs.
Cold/recovery content falls about 5.3 KB, but warm content grows about 2.8 KB and all-peer consumption remains more expensive. All observed candidate phases are slower in this cohort. One observation per arm/backend/phase and uncontrolled background load support no causal speedup, p95 or default SQLite performance qualification. The intermediate repeated-capture-command variant was larger still (File/SQLite warm 45,187/45,303 bytes); the shared-reference correction preserves that negative history.
Four cold/warm File/SQLite presentations independently compare original source captures for complete selected work, boundary, horizon, capability candidates and portfolio. An intentionally mutated QA wheel deleting
capability_gatefails through the real packaged guard/reader path. This establishes sensitivity to lost decision context, not model adherence or outcome benefit.Next C1 work diagnoses warm reconstruction/metadata cost without losing obligations, then qualifies remaining consumers, actual decisions/outcomes and writer cutover. No positive complete-cost diff or default promotion is claimed.
Historical cost evidence retained
Against immutable
2a170247ba3, three balanced sequential cohorts use clean sibling copies, identical source inventories and bytecode disabled. Warm helper rows have 93 samples per arm/case; identical native workload rows have three per arm/case. No other owned validation runs alongside the cohorts; background host load is uncontrolled.Complete completion-intent/recovery classification now adds one coarse source-check request after execution, while the launch guard adds none. Frozen helper medians rise from about 0.002 ms to 19.005–20.770 ms; p95 is 22.458–26.454 ms. Each request carries 43,200/43,253 B for File/SQLite plus a 1,693 B result. Historical classification remains zero requests with equivalent outcomes. Logical JSON counts exclude framing and physical transport retries.
The timed CLI includes actual admission/capture/Host/validation/settlement. Native Todo readback and committed replay are measured separately; complete outcome observations agree, including original effect identity and one debit. Committed replay remains 5 logical requests, zero new effects in both arms. Three samples do not support a p95 or causal speedup. The source check is a demonstrated added cost; whole-CLI results are mixed and default SQLite performance is not qualified.
Earlier negative observations remain: the corrected
6e84e811909planner/recovery comparison kept 2/1 RPCs and equal ordinary bytes, but SQLite complete-plan median/p95 changed 39.600/46.547→40.036/77.714 ms. Initialef479d2b5and its clean control stayed mixed/slower. The earlier Codex 2→1 preparation result does not cancel negative structured-Host rows, original-quota cold JSON +4.18–6.44%, short-source +1,655 B, unchanged warm-artifact bytes or mixed detail/recovery costs. Full tables and original scopes remain in the paired RFC.No matched real-model decisions/outcomes, cache tokens, billing, evaluation, implementation/human costs or long-horizon net benefit are qualified. Owned V8 profiles from the earlier scope do not explain this CLI timing.
Dependencies, remaining work and rollback
a78f9772c), #7457 exact references (97d38f9a8). Main's recovery guards (fix(turn): block ambiguous dispatch and revoked recovery #7456) and managed-operation owner (refactor(turn): unify managed operation IO and fence session initialization #7515) remain intact. test(quota): validate live observation clocks in cache parity #7464's duplicate patch is absent.Independently usable owner slices retain separate PRs. Roll back each owner/caller pair together and reconcile outstanding original receipts before changing admission; historical journal decoding is retained until its real callers/recovery qualify retirement. C1 stays open; local evidence gaps do not stop independent authorized work.
The paired RFC, roadmap, generated RFC index and protocol guidance record the actual boundary and mixed/negative cost results. No self-merge, installation, release, new paid-model call, managed benchmark or manual CI dispatch was performed. Tokens/cache, billing, verification outcomes, full implementation/human cost and long-horizon net benefit remain unqualified.