← Back to Pull requests

Record the native C1 cold quota comparison #9695

Closed
unknown closed this pull request without merging on Dec 01, 2026 03:07 UTC
View on GitHub
unknown unknown commented on Dec 01, 2026 01:52 UTC
Author

C1 comparison

Record the first valid local native cold pair in §9 of the existing English and Chinese mechanism RFC. A maintainer can compare the original quota path with Complete Turn on one identical terminal Todo and independently confirm the conclusion from the original receipts and Host usage.

Both arms used a synthetic File fixture, Codex CLI 0.172.0, GPT-5.6-Sol at medium effort, one attempt each and a 180-second cap. The original quota arm ran first. Workspace tools used stdio and no network. Each LoopX shell invocation selected its pinned checkout executable. Both original Turns read the same proof and closed with one debit. Complete Turn used a smaller guard response, made one 52,018-byte capture read and had higher measured duration and token counts in this pair.

| Contract | Guard bytes | Tool calls | Uncached input | Cached input | Output | Setup through receipt check |
| --- | ---: | ---: | ---: | ---: | ---: | ---: |
| Original quota | 55,307 | 11 | 47,345 | 499,072 | 4,332 | 119.957 s |
| Complete Turn | 48,610 | 12 | 53,753 | 573,312 | 4,828 | 134.535 s |

Reproduction and validation

  • Use the original quota source before #8956 at 513b6f168a405d5c071c79ae23fb18d2b4f5ae5d. For the network-restricted Host, port the eight production paths in loopx/control_plane/ from #9140 using the patch parent as the merge base, retaining both needed Python imports and the published TS socket bookkeeping. The comparison used local tree be08cffa6609c5fea852942cd0d34eccc64ea83c. Complete Turn used 1bdf851e9447bc7c22ab29d10948a674bf4687c4.

  • Compare the App-shaped quota should-run full projection before inference. The stock TCP reference and the transported baseline selected the same Todo and emitted the same plan digest. The existing test_terminal_native_draft_preserves_proof_and_authority terminal cases matched requested bytes, debit count and original closeout for both 12,000-byte and 64,000-byte budgets.

  • In fresh copies of the same File fixture, run the native Host once per source through the App-shaped guard and its projected tools. Independently read the original settlement and count debits. Recompute every measure in both RFC tables from the observed guards, Host usage and elapsed time.

  • Both RFC diff checks and scoped local premerge pass. The exact diff is confined to the existing bilingual RFC pair.
  • The attempted TCP and unbound-shell cohorts failed before admission. Warm continuation, replan, missing-baseline and interrupted cases, the DeepSeek profile, billing and study design effort remain open in the broader C1 adoption gate.

    Independent review follow-up

    Both RFC versions now link the per-Turn input fingerprints, acceptance readback, original accounting counts and raw numeric usage fields. The same comment gives a procedure to reproduce the exact historical transport tree from the two public source commits. The two RFC tables and both acceptance fingerprints were independently recomputed after reading the published evidence back. Public evidence and reconstruction

    Diff: 391 lines (+293 / -98) across 4 files Reviewer: loopx-agent Review duration: 75m
    All Vouch review confidence checks passed
    Residual risk 0.19 = Change Risk (0.43) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.43 · 391 lines diff across 4 files
    0.43
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    56%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.357
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #9695"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 43.1% (MEDIUM) · Higher = larger blast radius
    43.1%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 56.8% · Lower = rushed or shallow review
    56.8%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 18.6% · Safe to merge
    18.6%