← Documentation indexdocs/v3-evaluation.md

OpenKyrozen V3 matched evaluation

V3 skipped the formal V2/V3 comparisons and routing experiments. The maintainer closed the matched comparison and replanning issues as not planned. This document preserves the evaluation protocol. The published v3.0.0 release passed one live Gemini tool-use test. Protocol recovery, replanning quality, matched task success and efficiency remain unmeasured. Release results

The frozen cohort contains 30 fixtures across ten task categories, with three matched repeats per fixture on V2 v2.0.8 (1bfc82c793df49e76097061ec5adfef0e4e2e883) and the V3 candidate. It includes dedicated replanning, Strategic Plan scope, material-revision approval, and plan-churn scenarios. benchmarks/v3_matched_live.py creates isolated workspace and state for each run, verifies outcomes outside the model, records token/request accounting, and resumes only a report whose hash is pinned in its original budget ledger. Strategic Plan fixtures preserve their accepted workspace-local read/write authority. The independent harness runs acceptance tests after checking original-test integrity; the worker does not gain shell/process authority from the fixture. Scope evidence accepts either a live strategic task binding or a matching completed-plan event for the exact accepted plan ID, version, and fingerprint. A privileged benchmark parent owns fresh numeric actor UIDs and certifies their kernel process sets empty, including detached descendants; permission scenarios require denied runtime receipts and reject secret disclosure.

The benchmark controller requires a disposable privileged Linux or macOS runner. It creates no persistent user accounts or services. Stage the signed source, baseline history and interpreter beneath directories searchable by the fresh actor UIDs; keep personal home directories and the original working tree unchanged. Root workers, authors, reviewers and shell invocations have separate identities and private homes. The original selected product implements each delegation and tool; the benchmark changes their transport and OS boundary. Parent-held fixture policy authenticates new Unix connections by kernel credentials, intersects child scopes and capabilities, and binds single-use shell tickets to the concrete command, directory, sanitized environment and policy revision. Worker JSON and databases cannot widen those grants. Source reads and mutations use fresh selected-source helpers, with writers frozen during final validation and launch. A directory overlay must retain every protected test mount inside its allowed read scope. No-read actors receive no fixture-data view.

Linux prepares private user namespaces without changing the host's AppArmor or namespace policy. Before selected product code runs, the parent verifies actual host IDs, empty supplementary groups, all capability sets cleared and no-new-privileges. Namespace descriptors and setup channels close before execution; nested user namespace creation remains disabled. macOS extends the existing sandbox profile in place. Every backend must pass the complete direct-file, managed-shell, cross-actor, ticket, output, cancellation, disconnect and detached-process preflight before credential lookup. Component checks or an unavailable backend cannot authorize paid execution.

The --repo checkout must contain the pinned V2 commit so the runner can extract its source with git archive. The CI full-suite jobs fetch complete history and verify that exact commit before running tests; for a shallow local checkout, fetch the V2 baseline first.

Both arms receive the same rendered investigation prompts. They name the read_file action and full-source read required by the independent source-fact verifier. The route-handler question asks for the condition expression between the if keyword and colon. The answer and matching read receipt are both required. These prompt clarifications change the benchmark apparatus identity and require a fresh cohort.

When the native runtime requires a Working Plan, a workspace file is available through read_file after the agent starts the task. If the model mistakes a source path for an artifact ID before establishing the plan, the runtime can offer one normal planning continuation. Completion still requires a successful authorized read of that exact source path, bound to the completed plan.

Both arms receive the same paging request to complete the approved fix before staging a separate proposal for a zero-based paging option. The evaluator runs the unchanged original tests and checks that the offset signature stays intact. Both arms receive the same approved paths and acceptance text. The V2 seed uses its text-only format. The V3 seed attaches a read_file verification to that text and the V3 scenario requires completed original work and a pending material revision. The corrected prompt and seeds require a fresh campaign.

V2 does not assign fingerprints to its accepted plans. The observer retains its actual plan events and leaves its accepted-fingerprint list empty. Only a real fingerprint can establish preserved Strategic Plan scope.

The current matched evaluation uses the official DeepSeek Responses API and deepseek-flash at Low reasoning effort for both V2 and V3 and all 54 planning rows. The supported Flash model is DeepSeek-V4.1-Flash-1017. Install the benchmark transport with python -m pip install -e '.[benchmark]' and select --responses --reasoning-effort low. The relay uses HTTP/2 for Low Responses, including smoke. A connection failure before sending the request may be retried once. A response interrupted before verified terminal usage keeps its reservation and stops the campaign. Use --limit-cny unlimited explicitly when the owner has removed the cumulative cap. The fresh ledger retains all settled costs and unknown reservations from earlier campaigns. The matched and planning phases reserve CNY 2.032768 per request at peak Flash rates.

For Low Responses, both benchmark arms use a 220-second worker deadline per model call to accommodate the relay's 180-second upstream wait and connection retry. The relay records upstream failures and local disconnects separately.

After the exact candidate passes the offline gates, use the same Low Responses transport for both request-limited preflights. Include every original prior ledger and use the unlimited budget flag only with the release owner's authorization.

python -m benchmarks.v3_deepseek \
  --source "$FROZEN_SOURCE" --candidate-sha "$FROZEN_CANDIDATE_SHA" \
  --repo "$REPOSITORY_WITH_V2_HISTORY" \
  --output "$CAMPAIGN_OUTPUT/report.json" \
  --budget-db "$CAMPAIGN_OUTPUT/budget.sqlite3" \
  --prior-ledger "$ORIGINAL_PRIOR_LEDGER" \
  --responses --reasoning-effort low \
  --limit-cny unlimited --planning-preflight-only

After the preflights pass, remove only --planning-preflight-only to continue the same campaign.

Only the separate 36-row model routing experiment is authorized to expose the V4 Pro slot. Auto selects between Flash and V4 Pro, and the fixed-simple control is Flash-only. Both use Low reasoning effort. There is no paid Pro smoke call before this experiment. It inherits the exact 54-row ledger and its 180-row ancestor, and requires a signed role and account binding with the official per-model prices. Its financial input bound is 1,048,576 tokens, so Flash and Pro reserve CNY 2.129920 and CNY 9.547776 per call, respectively. The operational input and output limits stay at 1,000,000 and 4,096 tokens. Settlement requires the served ID and complete token usage. Formal routing results remain unpublished.

For streamed Responses calls, OpenKyrozen can discard a single redundant closing brace when the correlated argument deltas, done event and terminal response agree byte for byte and the resulting object matches the declared tool schema. This uses the original model response and call ID in the continuation. Other malformed arguments still follow the existing rejection and bounded regeneration path. A regeneration remains a counted R259 recovery.

Historical PanstarCloud automatic-selection campaign

Predeclare simple gpt-6-sol and complex gpt-5.6-terra, with model_main=auto, identically for both arms. The owner switched the complex slot on 2026-11-15 after two stopped gpt-6.1-sol campaigns. Both current slots are listed by the authenticated model API and priced in the owner's Dia account. The original production selector owns every choice. Record selected and exactly served model IDs for every physical call, including coordinator, delegated author/reviewer, smoke and retry calls. An unknown or changed served identity cannot pass. No expensive Astra slot, hosted tools, media, priority tier or unquoted service is admitted.

Use native Responses at https://ai.panstar.ai/v1. The trusted parent keeps the upstream credential, owns the per-actor relay credentials and binds each child to its parent's actual selected model. Workers cannot override model grants. Four metered native smoke calls prove correlated function-call continuation in both configured slots; the actual V3 planning preflight must then pass before formal rows start. The unchanged original cohorts run as one linear 180 → 54 → 36 accounting chain with the original strict quality, request/token reduction, routing and completeness gates. Stopped Gemini or historical Panstar rows cannot be pooled into this cohort.

The account quote for gpt-5.6-terra observed on 2026-11-15 lists a single rate schedule in USD per million tokens. Input is 0.132, output and reasoning are 0.792, and cache read is 0.0132. The existing gpt-6-sol schedule uses input 0.132, output 0.66 and cache read 0.0132, with a whole-request tier above 272,000 input tokens at 0.264, 0.99 and 0.0264 respectively, plus cache writes at 0.33. Reasoning is included in output. Cache writes without an observed price stop the campaign. The signed proof retains the nonsecret price and catalog evidence and binds the candidate, credential digest, role configuration, paid upper policy and expiry. Historical gpt-6.1-sol costs retain their original dated rates.

Use 8 CNY/USD as a conservative accounting upper bound. Each request reserves the full 1,048,576-token financial input bound at the model's maximum priced input or cache-write rate plus 4,096 output tokens. The reservation is CNY 2.80068096 for 6-sol and CNY 1.133248512 for Terra. The original 1,000,000 operational input limit remains. Only consistent raw terminal usage with an admitted served model can settle. Missing or unpriced usage keeps its full reservation and stops inference. A known failed response is charged and also stops inference. Existing unknown holds remain reserved.

The trusted parent's transport error and physical-call settlements override an optimistic worker provider flag. Responses completion is forwarded after settlement, and cells wait for serial gateway cleanup before recording safety or reading the journal. Cancellation during that wait preserves the worker trace. A recorded provider failure requires investigation and a fresh campaign before credentials are read again; its original results and unknown holds remain retained.

After all exact-candidate offline gates pass, use the guarded entry point with every original prior ledger:

python -m benchmarks.v3_panstar \
  --source "$FROZEN_SOURCE" --candidate-sha "$FROZEN_CANDIDATE_SHA" \
  --repo "$REPOSITORY_WITH_V2_HISTORY" \
  --output "$CAMPAIGN_OUTPUT/report.json" --budget-db "$CAMPAIGN_OUTPUT/budget.sqlite3" \
  --prior-ledger "$ORIGINAL_PRIOR_LEDGER" \
  --model-simple gpt-6-sol --model-complex gpt-5.6-terra \
  --billing-tier paid --billing-proof "$SIGNED_ADMISSION_PROOF" \
  --limit-cny unlimited --planning-preflight-only --execute

Remove only --planning-preflight-only to continue the same candidate/policy into 180 rows. The separate 54-row invocation supplies --core-output and --core-budget pointing to the complete original 180-row campaign, distinct output/budget paths, and no --prior-ledger. The 36-row invocation adds --model-routing and points those parent paths to the complete original 54-row campaign. A parent cannot resume spending after binding its child. Imports, model-list access and offline fake transports do not establish provider acceptance. This historical campaign produced no formal results for the stable release.

Historical Gemini automatic-selection campaign

This section preserves the stopped campaign's policy and accounting. It does not authorize additional Gemini inference for the current Panstar campaign.

Both arms must use their own production selector with the same configured Google simple/complex slots and no main-model pin. Record the selected and served model for every request, including summaries, delegated agents, smoke checks and retries. Automatic selection does not guarantee the same selected model in each paired row; retain those differences and report the comparison as whole-product behavior. A separate routing ablation is still required to establish routing benefit.

Use the native Google Gen AI transport and preserve native tool results and thought signatures. A benchmark-only loopback gateway holds the real credential in the trusted parent, authenticates each actor independently, enforces the approved model policy and caps total generated output, including thinking, at 4,096 tokens. The selected product still owns planning, execution, permissions and completion. Do not translate Responses fixtures into fabricated Gemini continuation evidence or give workers the upstream credential.

Admission requires current model-specific prices, billing-tier evidence and a predeclared conservative CNY upper rate. Finite campaigns additionally require sufficient cumulative budget for both automatic model slots. Gemini financial reservations cover the listed backend input maximum of 1,048,576 tokens plus 4,096 total output tokens. The original 1,000,000 operational context/body limit and stop on input usage above 1,000,000 remain; byte admission is not the financial token-bound proof. Unknown models, prices or usage retain their reservation and stop further inference; a model-list response alone establishes neither a free tier nor billing status. Settle from authoritative raw prompt, cached, candidate and thinking counts, independently of the application's displayed cost estimate. Paid reservations and settlements use 8 CNY/USD as a budget upper bound, not an invoice conversion. Do not release historical unknown use, force a single model or change the frozen role configuration after observing results. A new campaign may predeclare an available model in each existing role slot; the selector and acceptance thresholds remain unchanged. Historical DeepSeek reservations remain unchanged.

At the 2026-11-09 preparation snapshot, the unchanged Google defaults are gemini-3.5-flash-lite and gemini-3.1-pro-preview, both listed by the official API. The official standard pricing makes the Pro financial reservation USD 4.268032, or CNY 34.144256 under the conservative budget rate, exceeding the entire CNY 15 cap. That capped policy was blocked before inference; the 2026-11-10 unlimited amendment removes only its cumulative spending ceiling. Metadata access and offline adapter tests are not a passing model evaluation.

The official API also lists gemini-3.8-flash, whose published free tier supports an alternative complex slot alongside Flash-Lite. Such a two-model configuration uses the existing selector; it does not change the public defaults. It requires account-specific free-tier evidence before zero-price admission, followed by the same native and planning preflights. Published free-tier availability is not proof that this account is unbilled.

An unknown account tier can instead use the full paid Standard rate as an upper bound, retaining that uncertainty explicitly. The predeclared simple gemini-3.5-flash-lite / complex gemini-2.5-flash configuration has a CNY 2.5985024 maximum token reservation per request under the native financial bound and rate. This establishes affordability of the next request only. The 2.5 Flash slot must stop before its announced December 1, 2026 automatic reroute; an alias change cannot silently turn a two-model policy into one model. Neither profile permits provider grounding, audio, explicit cache storage or other unreserved paid services.

Use the guarded native entry point after exact-candidate offline acceptance. Its signed admission proof binds the candidate, credential digest, role configuration, rate tier, validity period and retained nonsecret supporting evidence. A paid-rate upper authorization does not assert the account is paid; a zero-rate authorization additionally requires account-specific proof that both models are unbilled. The supplied credential remains in the trusted parent; worker credentials are local relay nonces.

python -m benchmarks.v3_gemini \
  --source "$FROZEN_SOURCE" --candidate-sha "$FROZEN_CANDIDATE_SHA" \
  --repo "$REPOSITORY_WITH_V2_HISTORY" \
  --output "$CAMPAIGN_OUTPUT/report.json" \
  --budget-db "$CAMPAIGN_OUTPUT/budget.sqlite3" \
  --prior-ledger "$ORIGINAL_PRIOR_LEDGER" \
  --model-simple "$DECLARED_SIMPLE_MODEL" \
  --model-complex "$DECLARED_COMPLEX_MODEL" \
  --billing-tier "$VERIFIED_RATE_TIER" \
  --billing-proof "$SIGNED_ADMISSION_PROOF" \
  --limit-cny unlimited --planning-preflight-only --execute

Explicit unlimited mode starts a fresh ledger with a different immutable pricing identity; capped and uncapped ledgers cannot be converted or resumed across modes. Its SQL limit and JSON limit_cny/remaining_cny are null. Accounting still records every reservation, actual settlement and unknown hold. spent_cny is the new ledger's settled actual cost upper; held_cny includes outstanding reservations and the aggregate archived prior exposure, which itself includes earlier settled amounts and unknown holds. The archived amount is also identified by prior_campaign_hold_cny; it is neither a new charge nor an invoice total. Original prior-attempt provenance and duplicate-copy reconciliation remain required. Per-call reservation overruns still stop execution, and the 1,048,576-token financial input reservation, 1M operational input bound, 4,096 total output bound, signed admission, privacy and offline gates remain unchanged. Unlimited accounting does not authorize publication. The separate owner amendment dated 2026-11-11 excludes retrospective attribution of one retired macOS incident; it does not waive current-candidate reliability, isolation or any model-quality requirement.

Repeat --prior-ledger for each original source needed to reconstruct the cumulative exposure. Remove only --planning-preflight-only to continue the same accepted candidate and policy into the 180-row cohort. The separate 54-row supplement uses the same candidate, role, tier, proof and execution flags, adds --core-output and --core-budget pointing to the complete original core campaign, and uses distinct output/budget paths without --prior-ledger or --planning-preflight-only. An incomplete core cannot authorize the supplement. Imports and offline tests do not opt into provider execution; --execute is required.

After the original 54 rows are complete, --model-routing runs a separate 36-row contrast: the same six supplement fixtures, three repeats, built-in Auto versus its configured simple-model callback. Pass --core-output and --core-budget pointing to the original 54-row campaign, with distinct 36-row output and budget paths. This is one linear 180 → 54 → 36 accounting chain; the parent cannot resume spending after binding its child. An interrupted cell without a complete retained latency measurement cannot be replayed. All historical costs and unknown holds remain included in the inherited ledger, including when its cumulative ceiling is unlimited.

The 36-row contrast must observe a real selected-and-served model change through ordered parent-owned physical-call records. Ambiguous joins are unidentifiable. Benefit requires positive fixture-cluster lower bounds for both accepted and physical success; pairwise identical outcomes instead require improved measured end-to-end latency per accepted task, including failures and retries. This adds model-routing evidence without replacing the original 180 or 54 rows or changing their thresholds. Zero-priced calls do not establish monetary savings. A positive summary cannot override a blocked phase status, and this contrast alone cannot close every default-on decision-assist requirement.

Origin and resume admission for the native routing supplements recheck physical input/output bounds before modifying a checkpoint or looking up credentials. Known over-limit usage remains accounted; restoring a complete set of rows cannot erase that operational stop.

The frozen 30 fixtures, three repeats, independent oracles, original-test protection, complete usage, paired 95% success-interval lower bound greater than zero, at least 10% token and request reductions, zero V3 protocol recovery and all V3 independent/planning acceptance remain required. A new provider policy or candidate starts a fresh cohort; stopped DeepSeek results cannot be reused or rescored as Gemini rows. Run the metered native-tool and actual-planning preflights only after the candidate's offline acceptance and budget admission pass.

Historical Responses compatibility

Independent acceptance also needs the worker's answer, tool receipts, task state and plan events after its temporary workspace is removed. Each normalized receipt retains an independent snapshot of its original arguments, results, status and timing for reproduction and planning review. The parent retains those results outside the checkout with exact candidate/cohort/apparatus/row identity and content hashes. Each actor has a distinct revocable relay credential bound to its fixture cell; credentials, including revoked ones, are redacted from retained worker strings. Credential-bearing output remains incomplete, so redaction cannot turn a failed observation into a passing verdict. The relay's accounting journal continues to store request hashes and usage rather than prompts or answers. Missing, modified or foreign worker artifacts cannot qualify a reusable row or a complete report. Parent execution or cleanup failures retain an incomplete checkpoint and stop before another cell or acceptance command. The adequate-plan fixture seeds the original test command as typed acceptance evidence. Working Plan revisions are counted from committed plan edits after creation, excluding task start and completion requests. The obsolete-assumption fixture scores the original failed test receipt, cancellation of the seeded task, and a passing test bound to the completed replacement task in that order. Both receipts must target the entire original unittest suite in the fixture workspace. Output verbosity and merging stderr into stdout do not change the suite. Automated outcome checks and the identical-task-snapshot churn proxy do not replace the predeclared independent QA, reproduction and planning review; no comparison or routing benefit is claimed without the required evidence.

The repaired cohort keeps the same 30 IDs, ten categories, three repeats and two arms. It adds in-process multi-file API changes, behavior-preserving shared-helper refactors, independently correlated Git tool receipts, and eleven-turn context scenarios. Both arms receive an explicit context window of 1,000,000 tokens for ordinary fixtures and 16,384 for context fixtures, with 4,096 output tokens reserved. Provider-port observations measure the actual dispatched messages, including compaction requests, without changing either runtime's behavior. Estimated components remain distinct from provider-reported usage; unavailable fields stay unknown.

The paired long-context oracle checks the same facts, supersession, complete scripted turns and outbound bounds for both arms. V3 compaction observation is a separate feature acceptance condition and does not alter paired task success. Checkpoints bind the canonical fixture digest and observer, verifier, metric and relay hashes. A changed apparatus cannot reuse old rows; historical calls still count toward cumulative spending.

Read-only and zero-capability fixtures use Ask mode in both arms. The fixture capability list still governs every tool invocation. These fixtures measure scoped inspection or refusal without requiring permission to modify a Working Plan.

The local authenticated Responses relay pins gemini-3.1-flash-lite, caps output at 4,096 tokens, reserves worst-case spend before forwarding, and stores request hashes and usage rather than prompts or answers. It moves system-role messages from input to Responses instructions for both benchmark arms; when no other input remains, it sends Continue.. It stops consuming a stream at its terminal event, preserving unknown usage as a held reservation without attempting to settle the same attempt twice. Worker failures record the exit code and exception class without persisting stderr or its potentially sensitive details. response.failed and HTTP error events record only an ASCII error code of at most 80 characters; HTTP error bodies are capped at 64 KiB for parsing, and free-form provider messages are never stored. Failed workers with partial usage are retried on resume; complete usage and a successful exit are required before a fixture row can be reused. The cumulative Panstar cap is US$20. Panstar's quoted rates are $0.033/1M input, $0.275/1M output, and $0.0033/1M cache reads; cache writes are charged at the input rate because Panstar quoted no separate rate. The CNY SQLite ledger uses the recorded 2026-10-23 USD/CNY rate of 6.67135 and records both the quote and FX source in pricing metadata. Unknown usage retains its reservation. Every fresh run requires an explicit --prior-hold-usd equal to all earlier settled spend and held reservations, including unknown attempts; never reuse a smaller reservation. Before every run, reconstruct cumulative exposure from the original report and budget ledger as settled spend plus every reserved or unknown attempt. Do not use a stored or copied exposure amount; if the source reports and ledger are unavailable, do not start the campaign. The runner requires the hold explicitly and records it in the report. Existing partial reports remain inconclusive and are not used as evaluation evidence. The application-shaped native tool continuation was verified; a separate previous_response_id diagnostic was rejected by the gateway and is not used by OpenKyrozen. Set KYROZEN_BENCHMARK_API_KEY and KYROZEN_BENCHMARK_BASE_URL from the approved provider configuration; the default endpoint is https://ai.panstar.ai/v1.

Before reading provider credentials or starting campaign requests, the runner probes the OS filesystem sandbox. The cohort requires working filesystem restrictions for its permission and scope checks, so an unavailable backend blocks the campaign without provider spend. This benchmark prerequisite does not change the application's best-effort sandbox default.

After reconciling the original reports and ledger, set VERIFIED_PRIOR_HOLD_USD to all prior settled spend plus every still-reserved or unknown attempt. Run the complete cohort from a clean candidate checkout, writing the report and budget ledger outside it:

python -m benchmarks.v3_matched_live \
  --source . --repo . \
  --output /outside/checkout/v3-matched-report.json \
  --budget-db /outside/checkout/v3-matched-budget.sqlite3 \
  --limit-usd 20 \
  --prior-hold-usd "$VERIFIED_PRIOR_HOLD_USD"

The report is descriptive evaluation data, not release authorization. A result is conclusive only when all 180 matched rows have complete provider usage, all independent verifiers pass, the full paired success interval improves, token and request reductions meet their thresholds, and no safety or protocol-recovery control fails. Missing or unknown usage, failed checks, budget exhaustion, or an incomplete run remains inconclusive. Any code change creates a different candidate SHA and requires a new matched run.

Historical DeepSeek Strict Chat CNY campaign

The historical campaign used the official DeepSeek Strict Beta Chat Completions endpoint with deepseek-flash and High reasoning effort on both arms. The cohort and comparison thresholds are unchanged in the current Low Responses protocol above. Historical peak prices were CNY 2/M input, 8/M output, 0.04/M cache reads, and conservatively 2/M cache writes. Each request reserved CNY 2.032768 for 1,000,000 input and 4,096 output tokens. Unknown usage remains reserved. Smoke and retry calls remain in its ledger.

The relay rejects forced tool selections before reservation because the fixed configuration enables thinking. A documented provider interruption stops dispatch and settles usage when the terminal usage and model identity can be verified. Malformed tool arguments retain the response and call identity, argument byte count and digest, and the parser's byte offset where available. The rejected argument text stays out of the diagnostic. For Working Plan verification and execution, the Strict Chat schema offers closed command and path argument objects alongside the recursive key/value form for other fields. Native ordinary Working Plans accept add_command_check for a new command-only check, and bind_command_check adds an exact command to the existing prose criterion of an unstarted task. OpenKyrozen uses the same revision and task validation as a full plan edit. Each task must be explicitly started and receive a matching successful command receipt.

When a complete native response contains malformed tool argument JSON, OpenKyrozen rejects the entire response before dispatch. If the turn still permits tools, it can ask for one fresh generation from the last valid history. When progress text has already streamed, the new request asks the model to continue without repeating it. The worker retains the failed attempt and counts the recovery for R259. Both requests remain in the usage ledger.

An ordinary Working Plan can finish before the original request is fulfilled, for example when a verified inspection leaves edits and tests outstanding. The model can use update_plan with revision zero and no plan ID to start a separate plan for that work. The completed plan remains read-only. Workspace tools become available when the new plan is active and its task and permission checks pass. Strategic Plan work follows the existing approval path.

The planning supplement validates routing observations against the protocol inherited from the original campaign. Before the 36-row stage binds its ledger, the runner revalidates the 54 individual observations and recomputes both planning contrasts from their retained results.

The default cumulative cap is CNY 15 including previous campaigns. An explicitly authorized uncapped run uses --limit-cny unlimited and retains all historical accounting and per-request reservations. Supply original prior ledgers; the reader opens them in SQLite read-only mode, independently reconstructs settled charges from usage, retains reserved/unknown amounts, and deduplicates identical attempt IDs across copies. New aggregate carryovers include the underlying attempt records and a SHA256 manifest so later campaigns can be reconciled with their original ledgers without double counting or releasing unknown exposure. Missing sources, conflicting records, invalid provenance, unknown pricing, and overruns fail closed. Original campaign run1/budget.sqlite3 and its evidence/budget.sqlite3 copy represent one campaign, not two. The code has no fixed candidate SHA or machine-local path.

After the offline protection gates pass, use a clean, signed frozen candidate and output paths outside it. The CLI verifies the configured candidate and release-owner signature; the runner probes the OS sandbox and protected worker/managed shell before reading KYROZEN_BENCHMARK_API_KEY from the environment. It then performs and checkpoints a two-request native-tool smoke through the same relay before starting cohort workers: a typed echo_probe call must carry an unpredictable value, the tool message must use the returned call ID, and the assistant must answer with that value after replaying the original reasoning and native call. The benchmark worker projects strict function definitions before the runtime estimates context, and the relay requires those explicit strict definitions. Optional fields with disjoint omission markers can share a closed wire object. Active plan edits use top-level fields and encode an absent reason as {"omit":true}. The worker decodes the wire values and the runtime applies the canonical field, validation and permission rules. Both requests require complete usage; the probe has no external side effects. The checkpoint pins the two verified attempt IDs. A previously settled smoke for the same candidate can be reused; failed or unknown smoke attempts remain charged or held when retrying.

python -m benchmarks.v3_deepseek \
  --source "$FROZEN_SOURCE" --candidate-sha "$FROZEN_CANDIDATE_SHA" \
  --repo "$REPOSITORY_WITH_V2_HISTORY" \
  --output "$CAMPAIGN_OUTPUT/report.json" \
  --budget-db "$CAMPAIGN_OUTPUT/budget.sqlite3" \
  --prior-ledger "$ORIGINAL_PRIOR_LEDGER" \
  --limit-cny 15

Before formal rows, the protected bug_fix-1 preflight uses the unchanged fixture and verifier, with a ceiling of 16 metered requests. The planning-only flag runs both preflights. Neither contributes formal rows. Strict Chat projects eligible optional fields as typed values with an explicit {"omit":true} alternative. The worker removes only this marker on declared fields and then checks the original registry contract, including which combinations of plan fields are valid. After a successful 180-row comparison, R216 pairs the nine V3 subagent cells with nine direct-only runs on the same fixture and Flash policy. Read-only native subagents cite the persisted metadata.receipt_id returned by successful tools. The parent checks citations against successful reads from the current invocation and assigned files. The verifier compares the same physical outcome and settled usage, and records successful delegation in the treatment arm separately. The direct controls use the same journal with a distinct arm and do not contribute to the 180/54/36 metrics.

CNY checkpoints report their actual CNY cap, prior exposure and remaining balance without an exchange-rate workaround. With the CNY 15 cap, a new request needs at least CNY 2.032768 in unreserved balance. A completed smoke is provider compatibility/accounting evidence only; it does not satisfy the cohort or authorize release.

The shared fixture prompt explicitly identifies the behavior the verifier expects in a newly added task for discovered-verification scenarios. Both matched arms and the protected preflight receive the same clarification. The frozen fixture data, scenario predicate and scoring thresholds remain the same.