Skip to content

Run the authenticated sota-v3 route preflight; fix the stale qwen endpoint tag - #109

Merged
nedcut merged 3 commits into
mainfrom
run/sota-v3-route-preflight
Aug 4, 2026
Merged

Run the authenticated sota-v3 route preflight; fix the stale qwen endpoint tag#109
nedcut merged 3 commits into
mainfrom
run/sota-v3-route-preflight

Conversation

@nedcut

@nedcut nedcut commented Aug 3, 2026

Copy link
Copy Markdown
Owner

Owner granted route_preflight_authorized on 2026-08-03 and the zero-completion-call probe ran against all ten registered routes. $0.00 spend. No smoke or panel is authorized by this PRspend_authorized, smoke_execution_authorized, panel_execution_authorized, and publication_authorized all remain false.

Full detail: docs/run_logs/sota-v3-route-preflight-2026-08-03.md

Result: 9/10 pins correct, 1 stale label, 0 dead routes

The first run aborted at cell 7 of 10:

OpenRouter endpoint preflight failed for openrouter-qwen3.7-plus-alibaba:
no healthy OpenRouter endpoint matches provider='Alibaba' tag='alibaba'
name='Alibaba | qwen/qwen3.7-plus-20260602'

The runner exits on first failure, so three routes were still untested. Rather than infer their status, all ten pins were checked directly against the authenticated endpoints API — the other nine match exactly, and all ten advertise response_format.

The qwen failure is a label, not a lost model

Field Registered Live
endpoint_tag alibaba alibaba/fp8
provider_name Alibaba identical
name Alibaba | qwen/qwen3.7-plus-20260602 identical
status / uptime 0 / 99.99% 0 / 99.99%
prompt, completion, 256k override all identical to the snapshot

Corrected in config/sota_v3_models.json and in config/sota_v3_pricing_snapshot.json, whose provider_slug the route-catalog test binds to the endpoint tag. Regenerating the cost estimator gives a byte-identical artifact — the reservation holds at $89.845094 / $107.814113.

After the correction, all ten cells pass.

Why this matters more than the diff size suggests

A genuinely dead route would have dropped the Holm family to nine, re-triggering the family size → allocation → reservation cascade that moved 15×1 to 16×1 in #107. Because the only defect was a label, the cohort stays at ten and the 16×1 allocation is untouched. This is exactly the case for running the free probe before generating the seed panel: discovered later, the same correction would have landed against a committed panel.

It also means the public catalog snapshot was wrong about one route in ten. The authenticated check is now the stronger evidence for all ten.

The design claims, verified rather than assumed

  • Zero completion calls — for route-preflight the runner validates the endpoint then continues, never reaching subprocess.run(command).
  • Cannot create run state — checked empirically after the aborted run: no new files, no results/publication*.
  • Unlocks nothing paidexact_route_acceptance is still unresolved; smoke remains blocked by 60 issues, the same count as before the probe.

Test changes

The four failures were all expected consequences of the grant and the tag fix. Updated to assert the new state without weakening the guards — test_public_catalog_snapshot_cannot_unlock_any_provider_phase is renamed to test_completed_route_preflight_cannot_unlock_any_paid_phase and now pins the distinction the lane is built on: the zero-call phase is open, and every phase that spends money is not.

Test plan

  • Full suite: 742 passed
  • ruff check / ruff format --check clean
  • contract_fingerprint() unchanged at a523bdfcebe47bbd
  • Cost artifact regenerates byte-identically
  • Re-ran preflight end to end: all ten cells pass

Summary by CodeRabbit

  • New Features

    • Enabled authenticated, zero-call route preflight for SOTA v3 model routes.
    • Verified all ten configured routes pass preflight checks.
  • Bug Fixes

    • Corrected the Qwen 3.7 Plus Alibaba endpoint and pricing mapping.
  • Documentation

    • Added a route-preflight run log and updated readiness records.
  • Tests

    • Confirmed preflight succeeds while paid execution and publication remain blocked.

Owner granted route_preflight_authorized on 2026-08-03 and the zero-call probe
ran against all ten registered routes at $0.00 spend. No completion call is
possible in this phase: the runner validates the endpoint and continues before
reaching subprocess.run. The "cannot create run state" property was also
confirmed empirically -- the aborted first run left no new files behind.

Nine of ten pins were correct on first contact. The tenth aborted the run:

  no healthy OpenRouter endpoint matches provider='Alibaba' tag='alibaba'
  name='Alibaba | qwen/qwen3.7-plus-20260602'

Because the runner exits on first failure, the remaining three routes were
checked directly against the authenticated endpoints API rather than assumed;
all three match.

The qwen defect is a stale label, not a lost model. The Alibaba endpoint is
healthy at status 0 and 99.99% uptime, its provider_name and name match the
registry exactly, and its prompt, completion, and 256k long-context override
prices are identical to the recorded snapshot. Only the tag moved, from
alibaba to alibaba/fp8. Corrected in the registry and in the pricing snapshot,
whose provider_slug the route-catalog test binds to the endpoint tag. The cost
estimator regenerates a byte-identical artifact, so the reservation holds at
$89.845094 / $107.814113.

The cohort therefore stays at ten and the 16x1 allocation is untouched. A
genuinely dead route would have dropped the family to nine and re-triggered
the Holm family size, the allocation, and the reservation -- which is the
reason for running this free probe before generating the seed panel.

Test updates reflect the new registered state without weakening the guards.
The renamed catalog guard now asserts the distinction the lane is built on:
the zero-call phase is open, and every phase that spends money is not.
exact_route_acceptance is still unresolved and smoke is still blocked by 60
issues, the same count as before the probe.
Copilot AI review requested due to automatic review settings August 3, 2026 22:18
@coderabbitai

coderabbitai Bot commented Aug 3, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 4e3e6c47-8440-4ab0-9a3d-5c1ea248f657

📥 Commits

Reviewing files that changed from the base of the PR and between 0d34f66 and b4e7658.

📒 Files selected for processing (1)
  • docs/PUBLISH_READINESS.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • docs/PUBLISH_READINESS.md

📝 Walkthrough

Walkthrough

The change authorizes authenticated, zero-call route preflight for ten SOTA v3 routes. It corrects the Qwen Alibaba route binding and updates readiness records and tests. Paid execution phases remain blocked.

Changes

SOTA v3 route preflight

Layer / File(s) Summary
Route authorization and binding corrections
config/sota_v3_lane.json, config/sota_v3_models.json, config/sota_v3_pricing_snapshot.json
Route preflight authorization is enabled. The Qwen route metadata and pricing snapshot now use alibaba/fp8.
Preflight results and readiness records
docs/PUBLISH_READINESS.md, docs/run_logs/sota-v3-route-preflight-2026-08-03.md
The documentation records successful ten-route zero-call preflight, unchanged allocation and reservation, and blocked paid phases.
Authorization and fail-closed test updates
tests/test_sota_v3_preregistration.py, tests/test_sota_v3_route_catalog.py
Tests expect successful route preflight while smoke, panel, spend, publication, and other paid phases remain unauthorized.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

  • nedcut/gm-bench#102: Extends the SOTA v3 preflight work with route authorization and Alibaba/fp8 binding corrections.
  • nedcut/gm-bench#103: Relates to SOTA v3 route-catalog authorization and zero-call preflight behavior.
  • nedcut/gm-bench#107: Relates to the ten-model, 16×1 SOTA v3 configuration.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title directly describes the two main changes: running the authenticated sota-v3 route preflight and fixing the stale Qwen endpoint tag from alibaba to alibaba/fp8.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch run/sota-v3-route-preflight

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR records the completed authenticated sota-v3 route-preflight (zero-completion-call probe) and fixes a stale OpenRouter endpoint tag for the Qwen 3.7 Plus route by updating the registry and pricing snapshot to alibaba/fp8. It also updates tests and readiness docs to reflect that route-preflight can be authorized without unlocking any paid execution phases.

Changes:

  • Update config/sota_v3_lane.json to reflect route_preflight_authorized: true while keeping all spend/execution/publication gates false.
  • Fix the Qwen route’s endpoint_tag / provider slug from alibabaalibaba/fp8 in the v3 registry and pricing snapshot.
  • Update tests and documentation to assert that completing route-preflight does not unlock smoke/panel phases, and add a run log describing the preflight results.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tests/test_sota_v3_route_catalog.py Renames/updates the gate test to reflect route-preflight being authorized while paid phases remain blocked.
tests/test_sota_v3_preregistration.py Updates preregistration assertions so route-preflight authorization is no longer treated as a fail-closed “paid” gate.
docs/run_logs/sota-v3-route-preflight-2026-08-03.md Adds a detailed run log for the authenticated route-preflight and the Qwen tag mismatch diagnosis.
docs/PUBLISH_READINESS.md Marks the route-preflight step as completed and records the Qwen tag correction rationale.
config/sota_v3_pricing_snapshot.json Updates Qwen provider_slug to alibaba/fp8 to match the live endpoint tag.
config/sota_v3_models.json Updates Qwen upstream_provider_slug and endpoint_tag to alibaba/fp8.
config/sota_v3_lane.json Sets route_preflight_authorized to true while leaving all paid authorization gates false.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/test_sota_v3_preregistration.py

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/run_logs/sota-v3-route-preflight-2026-08-03.md`:
- Line 27: Specify the language on the fenced diagnostic output block in the run
log by changing its opening fence to use text, resolving the MD040 Markdown lint
violation while leaving the block contents unchanged.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 8771c1a2-425f-46b8-bb33-6addb6ce7ac9

📥 Commits

Reviewing files that changed from the base of the PR and between 7e1fe9d and fa5088f.

📒 Files selected for processing (7)
  • config/sota_v3_lane.json
  • config/sota_v3_models.json
  • config/sota_v3_pricing_snapshot.json
  • docs/PUBLISH_READINESS.md
  • docs/run_logs/sota-v3-route-preflight-2026-08-03.md
  • tests/test_sota_v3_preregistration.py
  • tests/test_sota_v3_route_catalog.py

Comment thread docs/run_logs/sota-v3-route-preflight-2026-08-03.md Outdated
nedcut added 2 commits August 3, 2026 22:33
A ticked box asserts a durable property. A passing route check is not
durable: the first-party deepseek/deepseek-v4-flash-0731 route passed this
very run and was deranked to status -5 the same evening, serving 78% of
requests -- while its 24h availability figure still read 99.24%, so even
the slow window did not show it.

Record what the box actually means (the probe ran, its findings were acted
on) and state the re-run requirement where someone reads it on the way to
authorizing spend.
@nedcut
nedcut merged commit f5ea311 into main Aug 4, 2026
14 checks passed
@nedcut
nedcut deleted the run/sota-v3-route-preflight branch August 4, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants