Repository navigation
Prepare provider 0.10.1 - #1579
Conversation
Set ProviderCore.version to 0.10.1 and render the v0.10.1 changelog entry from the 13 fragments added since v0.10.0: the GLM-5.3-Flash and Nemotron 3.5 Super OpenRouter readiness work (#1561, #1560) and the many-file download progress display (#1558), plus already-merged installer, sign-in and release-note fixes (#1505, #1493, #1482). Order the entries by theme behind an upgrade and rollout section. Logprobs are deferred, so the native-engine entry keeps the typed refusal and calls the GLM logprob code disabled groundwork. Drop the forced-tool-choice refusal that the GLM JSON and forced-choice entry supersedes, and clarify the GLM startup savings and the wired-limit notice. Mark v0.10.0 as published on 2026-10-23. Record in the provider release runbook that darkbloom-platform#411 must be deployed before tagging, that no catalog row gains the logprobs capability for 0.10.1, and that #1561 re-pins mlx-swift-lm to the #340 squash commit before it merges. No tag, registration, upload or deployment is performed.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Threat model review — advisoryReviewed head Review not completed for this head. Previous findings are superseded, not confirmed resolved. Models: budgeted Sonnet / selective Opus / selective Sol 6.1. Findings require human validation; this review never requests changes or blocks merging. Human review required: CI did not complete the security review. A maintainer must review the saved findings and remaining scope. A green advisory job is not security clearance; do not manually rerun the paid scan. Failure diagnostics: Coverage: 34/94 source units; cross-file integration pending. 0 selected depth batch(es) pending. All threat definitions indexed; relevant full definitions selected. Unchanged callers are not scanned. Cost this run: $0.0000 reported, $0.0000 reserved with unknown cost; 0 paid request(s), 0 reused batch(es), 0 provider cache-hit tokens. Saved findings and earlier report · Historical findings are not confirmed resolved. Bedrock: 11 request(s), 503607 uncached + 0 cache-read + 0 cache-write input / 8247 output tokens; 0 request(s) with unknown usage. OpenRouter backup used 0 time(s). Dollar amounts above cover OpenRouter only; AWS billing is reconciled separately. |
The desktop app (#1518) merged to master after this preparation was rendered, so its six changelog fragments were still pending. Render them verbatim into the v0.10.1 entry and remove them: the desktop control API and hardware report ship in the provider CLI. Note in the rollout notes and the runbook that the provider release does not build, sign or publish the Electron desktop app, whose public distribution still needs a signed, notarized build and an update feed.
|
Heads-up for 0.10.1: I'd like #1565 to go out in this release. It covers Autopilot serving every downloaded build, downloads on the operator's behalf (on by default with consent; operators can cap storage and model count or turn them off), per-model placement holds, and busy reasons plus the transition watchdog.
|
Autopilot placements, downloads and busy reasons (#1565) merged to master after the desktop update. Render its fragment into the v0.10.1 entry and remove it, correcting "startup is not slower": with consent, start first fetches the catalog, waiting up to 10 s. Add rollout notes: changes apply only to Macs with saved consent; the wider selected_models also counts toward reward qualification, approval counts and operation victims on the current coordinator; one reconnect after start; holds, adopted routing and downloads need darkbloom-platform#439.
|
Step 2 is done: the production coordinator now runs platform
|
Summary
Prepares provider 0.10.1. It sets
ProviderCore.version, renders the v0.10.1 changelog entry from the 20 fragments merged since v0.10.0, marks v0.10.0 as published, and records the release prerequisites in the runbook. This PR does not tag, register, upload or deploy anything.0.10.1 is a patch release for OpenRouter readiness. Its model changes are #1561 (GLM-5.3-Flash) at
aad44243and #1560 (Nemotron 3.5 Super) ata86de72c, plus #1561's pin-only SDK re-pin. The source also includes already-merged #1558 (download progress), #1505 (macOS 27 for new installs), #1493 (desktop sign-in approval), #1482 (release-note formatting) #1518 (the macOS desktop app) and #1565 (Autopilot placements, downloads and busy reasons), both merged after the first preparation; their existing fragments are rendered too. Super logprobs and the GLM logprobs qualification are not included.stricttools, returned reasoning, JSON mode, structured outputs, forcedtool_choiceand variable-frame-rate video;doctor,startandstatus.darkbloom desktop serve/ensure/login/logout, user LaunchAgentio.darkbloom.desktop-api) anddarkbloom doctor --hardware, which ship inside the signed provider runtime. This release does not build, sign or publish the Electron desktop app:release-provider.ymlpackages only the Swift CLI app, anddesktop.ymlbuilds an unsigned review DMG on manual dispatch (CSC_IDENTITY_AUTO_DISCOVERY=false). Public desktop distribution still needs a Developer ID signed, notarized build and an update feed.selected_modelsbecomes every verified cached build the Mac can run; adoption, placement holds, busy reasons, a stuck-transition watchdog and downloads on the operator's behalf. Macs without consent are unchanged on the wire. On the current coordinator the wider list also counts toward reward qualification, approval counts and operation victims; holds, adopted routing and downloads need darkbloom-platform#439. Each opted-in Mac reconnects once after start, when idle. Three independent reviews found it safe for 0.10.1 with no blockers (follow-ups under Limitations).generation_failurethat cooled every provider of the model;logprobs, and this release adds no catalog capability.libs/mlx-swift-lmmoves (7bed8216→6148b6da), and only Swift sources change. MLX, MLX-Swift and every.metalsource are unchanged. The test metallib built for the pre-merge simulation is156f2624…, the same as the published v0.10.0metallib_hash.Rollout order: deploy the coordinator first, then tag
Production (
api.darkbloom.dev) still reportsf512258ain the read-only/healthcheck on 2026-10-23, after #411 merged to platformmasterasfa4d5214. The running build already has v9 normalization, the Super floor at0.10.0and the GLMglm5_next_v1gate, but no logprobs guard. Merging #411 alone does not establish deployment.Why darkbloom-platform#411 has to be deployed first:
generation_failure, which strikes the inference-error breaker; two strikes cool every GLM provider. perf(coordinator): use WriteString for per-chunk SSE writes #411'slogprobsFailFastrefuseslogprobson GLM5-Next,mimo_v2andnemotron_h_omniwith a 400 before reservation, unless the model's catalog row listslogprobs.EngineV2.acceptsLogprobRows), so perf(coordinator): use WriteString for per-chunk SSE writes #411's catalog check is what keeps that groundwork disabled.stricttools, returned reasoning, thethinkingobject, JSON modes, forced choice). Prod's sidecar plans them cold.coordinator-deploy.md/healthbuild_commitmatches; GLMlogprobs: true→ 400param: logprobs; 0.10.0 fleet keeps servingv0.10.1on T/v1/releases/latestreports 0.10.1 with the published hashes; providers converge (first update check after 5 min, then every 30 min)scripts/provider-contracts.py snapshot T) and setLatestProviderVersion = "0.10.1"in the same change (TestLatestProviderVersionMatchesProviderCore). Fallback only; it does not gate publicationlogprobsto the GLM-5.3-Flash, MiMo V2.6 or Nemotron 3.5 Super catalog rows for 0.10.1param: logprobsMixed fleet until step 3 converges: 0.10.0 providers keep refusing the new shapes with 400. Those are client errors and don't strike the breaker. Coordinators already route forced
tool_choiceonly to providers that advertise it (registry/request_traits.go,providerSupportsToolConstraintLocked), and only 0.10.1 advertises it for GLM.Platform findings (no platform change in this PR)
nemotronSuperRegistryMinimumProviderVersionstays"0.10.0"(catalog_version_floor.goatf512258a, unchanged by perf(coordinator): use WriteString for per-chunk SSE writes #411). Raising it to0.10.1would make OpenRouter'sinput-video-urland JSON-with-tools results consistent across a mixed fleet. It would also drop today's ~1 Super machine from routing until that machine updates, so I don't recommend it.catalogProviderVersionFloorgates only Qwen4 and Super). 0.10.1 advertises the sameglm5_next_v1capability (ModelRuntimeRequirements.glm5Next), so the serving gates don't change.logprobscapability is per model (LogprobsAdvertisedreads the catalog row), not per provider version. A GLM provider still on 0.10.0 fails logprob requests with a 500 that cools the pool. Before listinglogprobsfor GLM, either confirm that no GLM provider older than the enabling release is connected, or addglm-5.3-flashtocatalog_version_floor.go. Super would need the same.ProviderCore.swift(version),fixtures/prompt-contract/glm53-flash/README.md(wording from fix(glm): GLM-5.3-Flash OpenRouter readiness: VFR video, strict tools and returned reasoning #1561) andscripts/install.sh(the macOS 27 new-install requirement from fix(install): refuse new provider installs below macOS 27 #1505). The Nemotron corpora don't change.Blockers before tagging
09d72c8a(scopedaad44243+ 1 pin-only commit(s)); fix(nemotron-super): OpenRouter readiness: inlined video above 8 MiB, JSON response format with tools #1560 merged ata86de72c(scopeda86de72c)); this PR is prepared onorigin/mastere483dcc3.6148b6dais on mlx-swift-lmmain.qualify-sdkjob.POST /v1/releasescaps the body at 64 KiB. Proposed message:Proposed annotated tag message (about 1.2 KB)
What changed in this PR
provider-swift/Sources/ProviderCore/ProviderCore.swift:0.10.0→0.10.1.CHANGELOG.md, newv0.10.1 — candidate (unpublished)entry:logprobsfor 0.10.1, mixed-fleet behaviour, the SDK pin and fleet-wide page-cache accounting.v0.10.0marked as published 2026-10-23, the UTC date of the GitHub release (2026-10-23T00:35:14Z). Tagv0.10.0points at1ef9c89f, so the entry's content is unchanged. Everything from v0.10.0's### Upgrade and rollout notesdown is byte-identical.native-engine-output-control-refusal: logprobs are deferred, so the entry no longer says GLM-5.3-Flash serves them. It is retitled "Typed refusals for unsupported logprobs on native engines" and keeps the MiMo / token-constraint refusal (the outage fix) verbatim. The GLM serving bullet is replaced by "groundwork … not enabled": a coordinator with darkbloom-platform#411 refuses GLM logprobs until the catalog lists them, and 0.10.1 does not add that.glm-openrouter-returned-reasoning: removed "forced tool choices" from the still-refused list. The JSON / forced-choice entry in the same release servesrequiredand named choices.glm-startup-single-verification: "about 50 s per start" → "saving about 50 s per start".glm-startup-single-verification: "; about 25 s more per restart" → ", saving about 25 s more per restart".glm-wired-limit-notice: "memory admission, KV grants and capacity are unchanged" → "the notice does not change memory admission, KV grants or capacity". The page-cache entry in the same release does change admission.docs/operations/provider-release.md: the 0.10.1 preparation paragraph and prerequisites (deploy perf(coordinator): use WriteString for per-chunk SSE writes #411 before tagging; no cataloglogprobsfor 0.10.1; fix(glm): GLM-5.3-Flash OpenRouter readiness: VFR video, strict tools and returned reasoning #1561's pin-only re-pin to the fix(coordinator): schedule the read-cache purge janitor #340 squash commit), the Super floor and snapshot follow-ups, pinned platform evidence, and the published history (v0.10.0, v0.9.22, v0.9.21).Before And After
Legend: grey = unchanged, blue = changed or action step, green = verified outcome, orange = gap or risk.
Behaviour: rollout and the logprobs outage fix
flowchart TB subgraph BEFORE["Before: production today"] direction LR B1["Providers 0.10.0"]:::old --> B2["Coordinator f512258a<br/>no logprobs guard"]:::old B2 -.->|"logprobs on GLM"| B3["0.10.0 native engine<br/>500 generation_failure"]:::warn B3 -.-> B4["breaker cools every<br/>GLM provider"]:::warn B2 --> B5["GLM strict tools and JSON modes,<br/>Super JSON with tools, inlined video<br/>refused with 400"]:::warn end subgraph AFTER["After: coordinator first, then tag"] direction LR A1["1. Deploy platform PR 411<br/>logprobs need the<br/>catalog capability"]:::new --> A2["Logprobs on GLM, MiMo, Super:<br/>typed 400, nothing cools"]:::ok A2 --> A3["2. Push signed tag v0.10.1<br/>CI signs, notarizes, registers"]:::new A3 --> A4["3. Providers auto-update<br/>new GLM and Super shapes served"]:::ok A4 --> A5["Catalog unchanged:<br/>logprobs deferred"]:::old end BEFORE ~~~ AFTER classDef old fill:#eceff1,stroke:#546e7a,color:#263238 classDef new fill:#e3f2fd,stroke:#1565c0,color:#0d47a1 classDef ok fill:#e8f5e9,stroke:#2e7d32,color:#1b5e20 classDef warn fill:#fff3e0,stroke:#e65100,color:#bf360cCode and release artifacts
flowchart LR subgraph BEFORE["Before: master with 1561 and 1560"] direction TB C1["ProviderCore.version<br/>0.10.0"]:::old C2["changelog.d<br/>20 pending fragments<br/>one says GLM serves logprobs"]:::warn C3["CHANGELOG.md<br/>v0.10.0 marked unpublished"]:::warn C4["provider-release.md<br/>prepared as 0.10.0"]:::old end subgraph AFTER["After"] direction TB D1["ProviderCore.version 0.10.1<br/>check-release-version.sh<br/>accepts tag v0.10.1"]:::new D2["changelog.d<br/>20 rendered and removed"]:::ok D3["CHANGELOG.md<br/>v0.10.1 candidate, logprobs deferred<br/>v0.10.0 published 2026-10-23"]:::ok D4["provider-release.md<br/>platform PR 411 before tagging<br/>no catalog logprobs"]:::new end C1 -- "version bump" --> D1 C2 -- "changelog.py render" --> D2 C3 -- "tag evidence" --> D3 C4 -- "runbook" --> D4 classDef old fill:#eceff1,stroke:#546e7a,color:#263238 classDef new fill:#e3f2fd,stroke:#1565c0,color:#0d47a1 classDef ok fill:#e8f5e9,stroke:#2e7d32,color:#1b5e20 classDef warn fill:#fff3e0,stroke:#e65100,color:#bf360cValidation
On this tree (
origin/mastere483dcc3, generated byregen.pyon 2026-10-23; scope: #1561 merged at09d72c8a(scopedaad44243+ 1 pin-only commit(s)); #1560 merged ata86de72c(scopeda86de72c)):./scripts/check-release-version.sh v0.10.1givesrelease version integrity: 0.10.1. It also accepts-dev.Nand-staging.Nsuffixes and refusesv0.10.0.make changelog-checkgiveschangelog: 0 valid fragment(s)(left pending: none).make changelog-previewandpython3 scripts/test-changelog.pypass.make docs-checkgivesdocs-check: 195 file(s) OKafter the desktop update, withlibs/mlx-swift-lminitialized as in CI Docs Lint.make docs-impact-checkon the committed tree:BASE=HEAD~1(this commit alone):docs-impact: 16 changed file(s), canonical documentation coverage OK;BASE=origin/master:docs-impact: 16 changed file(s), canonical documentation coverage OKbefore the desktop update;22 changed file(s)after it, and23 changed file(s), canonical documentation coverage OKafter the Autopilot update.97f906ee): feat(desktop): Darkbloom macOS desktop app (Electron) backed by the Swift CLI #1518 merged tomaster(09692e53) after the first render. A signed merge ofmaster(no conflicts) plus one signed commit renders its six fragments verbatim, removes them, adds the desktop rollout note and updates the runbook. Rechecked: release version,changelog-check(0 pending), preview,test-changelog.py, docs lint and docs impact.f3d14af7): provider(autopilot): serve every downloaded build, download on the operator's behalf, keep placements, report busy reasons #1565 merged tomaster(2902b026). A signed merge ofmaster(no conflicts; it does not touch the version, changelog or runbook) plus one signed commit renders its fragment with the startup correction, adds three rollout notes and updates the runbook. Rechecked the same set: all pass, docs lint 195 files.### Upgrade and rollout notesthrough all older history inCHANGELOG.mdis byte-identical; only v0.10.0's heading and publication line change.regen.pyguard).6148b6da fix(glm5next): sample variable-frame-rate video at the track's average rate (#340).Pre-merge simulation, 2026-10-23:
aad44243and fix(nemotron-super): OpenRouter readiness: inlined video above 8 MiB, JSON response format with tools #1560a86de72cmerge with no conflicts, in either order, to the same tree (c53dcc3b). They share four docs but no Swift file.swift build --build-testspassed on the merged tree.mastercf3c4510+ fix(glm): GLM-5.3-Flash OpenRouter readiness: VFR video, strict tools and returned reasoning #1561aad44243+ fix(nemotron-super): OpenRouter readiness: inlined video above 8 MiB, JSON response format with tools #1560a86de72c(2026-10-23),run-nested-suite.sh 'NemotronSuper|GLM5Next|GLM5ToolFailure|NativeOutputControlRefusal|ToolChoice|ToolConstraint|SystemMemory|InferenceFailure|ErrorMapping|MediaIngest|ProductionPromptParity' --no-parallelpassed 589 Swift Testing tests in 68 suites plus 6 inProviderCoreFoundationTests, with 0 XCTest failures. 46 gated tests (real checkpoints, protected factory, managed synthetic, reference tokenizer) were skipped, so the runner's any-skip tripwire exits 1, as on both PRs.Both Mermaid figures render with
mmdc11.17.0 (2026-10-23).Not run: the full provider suite (only the version string changed in Swift; CI covers the rest).
Refactor Pass
A dedicated refactor subagent reviewed the first version: the commit (
ProviderCore.version, the v0.10.1CHANGELOG.mdentry,provider-release.md), this body andregen.py. It checked them against the #1561 and #1560 fragments, the provider's native-engine refusal, darkbloom-platform#411 and #1557. It made these text-only edits, all in the regeneration kit, soregen.pyreproduces them after the merges:master, so the scope sentence agrees with the fix(provider): redraw many-file download progress in place #1558 bullet.master, rollout step 1 no longer asks to merge fix(glm): GLM-5.3-Flash OpenRouter readiness: VFR video, strict tools and returned reasoning #1561 and fix(nemotron-super): OpenRouter readiness: inlined video above 8 MiB, JSON response format with tools #1560.regen.pynow checks the-dev.Nand-staging.Ntag forms that Validation cites. It reports docs-impact on the committed tree, asmake docs-impact-checkdoes; before, it also counted the fragment deletions while they were staged. The Mermaid figures were rendered.Reviewed without change: the release scope and fragment selection, the other corrections, the logprobs wording guard, the v0.10.0 history, the runbook narrative, the commit message and the figures. It rechecked #411 at
1692564a(LogprobsNeedCatalogCapabilitycoversmimo_v2,nemotron_h_omniand GLM5-Next), the v0.10.0 release time and tag, and the PR heads. The checks above are from the regenerated tree.Final dedicated post-merge refactor pass on
d4e88078a(2026-10-23): no tracked source changes warranted. Reviewed the full commit, this body and the regeneration kit, including the three additional verbatim fragments (#1505, #1493 and #1482), the installer upgrade note and the platform snapshot'sscripts/install.shdelta. Corrected only this body and its template: rollout step 2 deploys the already-merged #411, and the history/limitations wording distinguishes recording v0.10.0's publication from publishing v0.10.1. Re-ran docs lint (192 files), docs-impact (16 files), changelog check/preview and 14 changelog tests, release/dev/staging version checks and old-version rejection; verified the local commit signature withallowed_signers_darkbloom. No Swift builds or tests, live qualification, or new Mermaid rendering were performed in this final pass; the figures are unchanged. No new source commit was needed.Limitations
provider(autopilot): serve every downloaded build, download on the operator's behalf, keep placements, report busy reasons #1565 follow-ups (non-blocking, from today's reviews): opted-in Macs on scheduled windows re-hash every model at each window boundary, and every start re-hashes extra cached builds before its one reconnect (reuse
VerifiedWeightHashStore); revoking consent does not cancel a download in flight; a corruptautopilot-downloads.jsonresets the download caps; untracking a stalled preload also drops itspreloadbusy reason and shutdown handle, which the docs understate; agree the hold policy (explicit clear, pause) before the coordinator sendshold_seconds.This PR records v0.10.0's existing publication; it does not publish v0.10.1 or activate any model, catalog or coordinator change.
The rollout notes cite darkbloom-platform#411 at reviewed head
1692564a, now merged asfa4d5214. Verify its deployment before tagging.OpenRouter readiness itself isn't verified live. Rerun the GLM and Super capability tests after providers converge on 0.10.1.
Components touched
Protocol/interface: no changes. Changelog: explicitly authorized release-history update.
Merge Danger
Door: Two-way before tagging; publication and rollout are separate approvals.
Blast Radius: Release identity and documentation. This PR changes only the Swift version constant, release notes and runbook, and removes the rendered fragments.