Repository navigation
Prepare provider 0.10.4 - #1632
Conversation
Set ProviderCore.version to 0.10.4 and mark v0.10.3 as published on 2026-10-26 (tag target 3ddd11c). Open the v0.10.4 candidate entry with its upgrade and rollout notes: deploy darkbloom-platform#516 close to the rollout (Qwen JSON prompts render without thinking; mixed versions fail cache receipts with prompt_anchor_mismatch but still serve), the client-visible Qwen JSON changes (no default reasoning, a grammar-constrained answer cut short is a 422 after streaming, no MTP beside a constrained row), forced tool_choice on four more models without a version floor, delta checkpoints across upgrade and rollback, the unauthorized re-registration cadence, the status served-line format, the add-on hold (darkbloom-platform#514 already in production), unchanged MLX pins, and the entries that build no provider artifact. Update the release runbook: the 0.10.4 scope, the pin and metallib checks before tagging, the rollout order and post-tag platform snapshot, the 0.10.2 enablement steps that still apply, platform evidence inspected on 2026-10-27, and the published history. The pending changelog fragments are rendered in the next commit.
…0.10.4
Insert the output of
python3 scripts/changelog.py render --version 0.10.4 --date 2026-10-27 \
base-reward-zero-reason.md ci-darkbloom-runner-routing.md \
coordinator-reconnect-stall.md coordinator-traffic-verdict.md \
delta-complete-checkpoints.md desktop-release-sign-dmg.md \
desktop-update-feed.md forced-tool-choice-admission.md \
json-response-format-enforcement.md landing-agent-documents.md \
provider-addon-hold-hardening.md provider-addon-hold.md \
status-served-session-counts.md switch-model-cache-directory.md
verbatim, without its heading line, below the v0.10.4 upgrade and rollout
notes, and remove exactly those 14 fragments. The render ran against an
export of origin/master aa2887f, whose changelog.d matches this branch,
because the renderer refuses a version that CHANGELOG.md already names.
This commit is mechanical so the final roll-up can revert it, merge master
and render again once the in-flight 0.10.4 changes have landed.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…rovider 0.10.4" This reverts commit f673fff.
- A prompt_anchor_mismatch receipt quarantines the provider's cache capability for the whole model (coordinator CacheQuarantineCommit.Apply; ProofFenceBase 60 s, doubling to ProofFenceMax 10 min), not only the mismatched requests' affinity. Say so in the changelog note and runbook step 1, and cite the platform code in the evidence table. - #1599 shipped in v0.10.2 (99e1059 is an ancestor of f9d1af3), not first in the v0.10.3 hotfix. - Drop the runbook's "platform change that pushes trust_status when legacy authorization starts is in progress": that change is darkbloom-platform#541, merged as 6beb8514, which step 1 already requires. - Step 1: deploy shortly before the tag, matching the changelog's "close to this rollout" for #516, and limit #491's 5 s refresh to App Attest serving (startUnauthorizedStatusRefresh returns unless ServingEnabled). - Step 3: name LatestProviderVersion instead of the dangling "That fallback constant", and scope "only ProviderCore.swift should change" to the snapshotted inputs. - Evidence: production 2acffb5c also lacks #491 and #541; add rows for the #491/#541 status behavior and the quarantine.
…layouts, not only Qwen 3.8 Eligibility follows the checkpoint layout (native-paged/contiguous-full-recurrent-v1), which Qwen 3.5/3.6 MTP builds also produce; the fragment is rendered verbatim into 0.10.4.
…0.10.4 Verbatim scripts/changelog.py render output for the 15 fragments pending on master (rendered from a master export, since CHANGELOG.md already names 0.10.4), inserted below the rollout notes; exactly those fragments deleted. #1427 is not in 0.10.4 and its fragments stay with it.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Threat model review — advisoryReviewed head Reviewers: anthropic/claude-sonnet-5.5: first pass completed; anthropic/claude-opus-5.5: selected depth completed (3 batches); openai/gpt-6.1-sol: not needed by escalation policy No actionable findings in the reviewed text. This is not a security approval. Models: budgeted Sonnet / selective Opus / selective Sol 6.1. Findings require human validation; this review never requests changes or blocks merging. Scan completed; human review required. Coverage: 82/82 source units; cross-file integration complete. 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: 19 request(s), 871862 uncached + 0 cache-read + 0 cache-write input / 13940 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. |
#1631 ("CI: finish removing console-ui") landed the same cleanup this branch made, and #1632 released its changelog entry under v0.10.4, so every conflict takes master's side: - 17 files (AGENTS.md, CONTRIBUTING.md, README.md, docs/*, the CI routing and docs-impact scripts and their tests): master's version. This branch's leftover docs-impact rule and tests named protocol fixtures that #1631 deleted, and its console pointer section linked to a page #1631 deleted. - docs/architecture/components/console-ui.md: deleted, as on master. - changelog.d/console-ui-removal-cleanup.md: removed. CHANGELOG.md v0.10.4 already has "Console tooling removed with the console source", and this fragment described the pointer page that no longer exists. After this merge the branch has no changes against master. make changelog-check and scripts/test-ci-component-paths.py, test-docs-impact-check.py and test-darkbloom-route.py pass.
The merge adds #1566, #1591, #1602, #1605, #1606, #1607, #1612, #1621, #1622, #1623, #1625, #1629, #1630, #1631, #1632 (provider 0.10.4), #1633, #1644, #1652 and #1653 to this branch. Conflicts and resolutions: - CoordinatorClient+Connection.swift: #1606 moves the transport setup out of connectAndRun into the static function connectionParameters(for:), and puts the connectAndRun header below it. This branch adds the session parameter to the same header. The merge keeps the layout of master. The moved header has the signature of this branch: connectAndRun(_ session: CoordinatorSessionRecorder). Git merged the other changes without a conflict: the bounded handshake of master (CoordinatorConnectionHandshake.start) and the session recorder of this branch (markOpened after register, the session parameter of sessionLoop and receiveLoop, and the close-code read). - docs/provider/cli-reference.md: the runtime constants table. The merge keeps the three reconnect rows and the ping/pong row of this branch. It adds the handshake deadline row of master after the ping/pong row, where master has it. - docs/provider/troubleshooting.md: only the "Last updated" stamp had a conflict (2026-10-26 on this branch, 2026-10-27 on master). The merge keeps one stamp, 2026-10-27. Git merged the rows: the backoff citation of this branch and the new rows of master. Each decision has one owner after the merge: - CoordinatorReconnectPolicy chooses the wait before the next connection attempt, after each end of a session or of an attempt. - CoordinatorConnectionHandshake (#1606) cancels a handshake that does not complete in 30 s. runLoop catches the timeout error. That attempt did not send register, so the policy gives the next backoff range, as on master. - UnauthorizedConnectionRecovery (#1607, #1633) decides when to start a re-registration of a connection that the coordinator refuses. Its retry backoff counts re-registrations, not connection attempts, and an authorized verdict sets that count to zero. The re-registration closes the session. Then the policy chooses the wait, as for each other end. Checks: against master, the merge has only the changes of this branch, in its 15 files. The troubleshooting stamp is the one exception: it has the date of master. Against this branch, the merge has only the changes of master, in 651 files. The one exception is the connectAndRun header, which has the session parameter. The gitlinks do not change: libs/mlx 31f550af, libs/mlx-swift 4926d3d9, libs/mlx-swift-lm aee6ebb6. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Brings Prepare provider 0.10.4 (Layr-Labs#1632) to dev: the ProviderCore version 0.10.4, CHANGELOG.md with the changelog.d fragments folded in, and the provider-release doc. No conflict. Master did not change a libs/ pin since the last sync (52f79ef), so dev keeps the cluster MLX pins: libs/mlx 72dffa2d, libs/mlx-swift c633d221, libs/mlx-swift-lm d5bd32b8. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Important
Release preparation for provider 0.10.4, ready for review. Merging this PR prepares the source only; tagging
v0.10.4and publication are separate, explicitly approved steps. Built onmaster52f79efcb.Status
f673fff49reverted,master(52f79efcb) merged, and the 15 fragments pending onmasterrendered verbatim (ad0dd25ef) and deleted.make changelog-checkreports 0 fragments.e6df573a5, fragment wording fix in6980926b1.masterCI green again (since CI: finish removing console-ui (master CI green again) #1631)./health(the coordinator with provider: drop fused-MoE-cache accounting; pin mlx-swift-lm to merged fused-cache removal #516, perf(network): streaming hot-path optimizations + dead-code cleanup #491 and Add production-ready Rust coordinator migration path #541 isdarkbloom-platform6beb8514, staged for deploy).Scope:
mastersincev0.10.3(3ddd11ce8d72) through52f79efcb: the 14 changes below plus #1630, #1631 and #1633. Not in 0.10.4: #1427 (status keeps an unexpired App Attest lease) moves to 0.10.5; its fragments stay with it.Summary
Prepares provider 0.10.4, a patch release over v0.10.3. This PR:
ProviderCore.version;v0.10.4 — candidate (unpublished)changelog entry with upgrade and rollout notes;masterinto that entry and removes them;This PR does not tag, register, upload, deploy or enable anything.
Two signed commits, structured so the roll-up can be redone:
99460da2chore(release): prepare provider 0.10.4ProviderCore.version0.10.3 → 0.10.4; v0.10.3 heading → published; v0.10.4 heading,Prepared online and hand-written Upgrade and rollout notes;docs/operations/provider-release.mdf673fff4chore(release): render the pending changelog fragments into provider 0.10.4scripts/changelog.py renderoutput (14 fragments, without its heading line), inserted verbatim below the rollout notes; those 14 fragments deletedScope is everything on
mastersince v0.10.3:qwen3_5/qwen3_5_moetext requests without tools the answer is grammar-constrained (fix(qwen): constrain JSON response_format answers with the JSON grammar #1622).tool_choice: served on Qwen3.5-9B, Qwen3.5-35B-A3B, Qwen3.6-35B-A3B and MiMo-V2.6-Flash; framing newlines are dropped (fix(provider): admit forced tool_choice on Qwen 3.5/3.6 and MiMo; drop framing newlines #1612).Traffic:verdict and re-registration of a connection left unauthorized (provider: show when the coordinator isn't sending work, and re-register a connection left unauthorized #1607); recovery from a stalled coordinator reconnect, andstopfinishes without a session (provider: recover from a stalled coordinator reconnect, and letstopfinish without a session #1606).darkbloom statusserved counts cover (current run, output tokens, ended-early, paid vs free) #1605);darkbloom switchscans the configured model cache (fix(provider): scan the configured model cache in darkbloom switch #1566).Not in 0.10.4: #1609, #1613 (merge right after the tag), #1534, the Gemma perf drafts and the cluster line.
Decisions (resolved)
v0.10.2and fix(desktop): sign the release DMG before notarizing it #1615 inv0.10.3; the rollout notes say so.trust_statuspush: done in darkbloom-platform Add production-ready Rust coordinator migration path #541 (merged,6beb8514), with perf(network): streaming hot-path optimizations + dead-code cleanup #491's 5 s refusal refresh; deploy that coordinator shortly before the tag. Provider side: fix(provider): judge coordinator traffic and re-registration only on current evidence #1633 honours a legacy verdict at any age and acts only on fresh refusals.Final roll-up (done)
Reverted the stale render, merged
master, rendered the 15 pending fragments withscripts/changelog.py render --version 0.10.4 --date 2026-10-27from amasterexport (the renderer refuses a versionCHANGELOG.mdalready names), inserted the body below the rollout notes, and deleted exactly those fragments. The render commit is separately revertible.Rollout order (not performed by this PR)
5a779a11, not deployed: production runs2acffb5c) close to the tag/healthbuild_commitcontains5a779a11v0.10.4on T/v1/releases/latestreports 0.10.4 with the published hashes;metallib_hashshould be6ccc6296…6d45(pins unchanged); providers converge (first check after 5 min, then every 30 min)python3 scripts/provider-contracts.py snapshot <T full SHA>;LatestProviderVersion = "0.10.4"incoordinator/api/server.go; revision row indocs/reference/provider-contracts.mdcontracts/provider/ProviderCore.swiftchanges;make contracts-check;TestLatestProviderVersionMatchesProviderCoreMixed fleet until step 3 converges:
prompt_anchor_mismatchcache receipts and lose cache affinity. Serving works (darkbloom-platform#516's own rollout note). That is why step 2 sits close to step 3.tool_choice: the coordinator sends it only to providers that list the model intool_constraint_models(providerSupportsToolConstraintLocked). 0.10.3 providers never get these requests, so no floor is needed.2acffb5c.Platform findings (no platform change in this PR)
contracts/provider/manifest.jsonpins d-inferencea8556957(fix(qwen): answer JSON response formats without default thinking #1621's squash).origin/masterbyte for byte, so a snapshot at T changes onlycontracts/provider/ProviderCore.swift, assuming the in-flight PRs keep away from those inputs. fix(provider): keep status on an unexpired App Attest lease #1427 and CI: finish removing console-ui (master CI green again) #1631 touch none of them.fixtures/prompt-contract/v1/production_vectors.jsonis sha2566f362600aa4d51d8…both ata8556957and onmaster. Only that file differs between the snapshot and v0.10.3.LatestProviderVersion:"0.10.3"on platformmaster5ba280d8; production2acffb5cstill has"0.10.1"(fallback only).0.10.2.trust_statuspush: see decision 5.Annotated tag message
About 1.3 KB
What changed in this PR
provider-swift/Sources/ProviderCore/ProviderCore.swift:0.10.3→0.10.4.CHANGELOG.md:2026-10-26T23:34:17Z. Tagv0.10.3→3ddd11ce8d7204cc5aadefd2050376c583da4ff8. Everything from v0.10.3's first entry down is byte-identical.v0.10.4 — candidate (unpublished), "Prepared on 2026-10-27". Its Upgrade and rollout notes, each checked against code or platform source:prompt_anchor_mismatchwindow in both directions;tool_noncomplianceafter content streamed;tool_choiceon four more models, with no floor;darkbloom statusserved-line format;docs/operations/provider-release.md(stamp 2026-10-27):hotfix/0.10.2-jit-nax-dsplitbranches, and the expectedmetallib_hash;LatestProviderVersionand revision row;3ddd11ce8d72…, v0.10.2, v0.10.1, v0.10.0.base-reward-zero-reason.mdci-darkbloom-runner-routing.mdcoordinator-reconnect-stall.mdcoordinator-traffic-verdict.mddelta-complete-checkpoints.mddesktop-release-sign-dmg.mddesktop-update-feed.mdforced-tool-choice-admission.mdjson-response-format-enforcement.mdlanding-agent-documents.mdprovider-addon-hold-hardening.mdprovider-addon-hold.mdstatus-served-session-counts.mdswitch-model-cache-directory.mdBefore And After
Legend: grey = unchanged, blue = changed or an approval step, green = verified or expected outcome, orange = gap or risk.
Behaviour: release and rollout flow
flowchart TB subgraph BEFORE["Before: master aa2887f1, production today"] direction LR B1["Providers on 0.10.3"]:::old --> B2["Coordinator 2acffb5c<br/>add-on holds handled<br/>no Qwen JSON thinking rule"]:::old B2 --> B3["Qwen JSON requests think first<br/>budget often spent before the JSON"]:::warn B2 --> B4["Forced tool_choice on Qwen 3.5/3.6, MiMo<br/>400: no provider advertises it"]:::warn B5["master: ProviderCore 0.10.3<br/>14 fragments pending<br/>no 0.10.4 candidate"]:::warn end subgraph AFTER["After: each step separately approved"] direction LR A1["This draft PR<br/>0.10.4 candidate, 14 entries rendered"]:::new --> A2["Final roll-up after in-flight PRs<br/>revert render, merge master, render again"]:::new A2 --> A3["Deploy platform PR 516<br/>close to the tag"]:::new A3 --> A4["Tag v0.10.4<br/>providers converge"]:::ok A4 --> A5["Platform snapshot from the tag<br/>LatestProviderVersion 0.10.4"]:::ok 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 aa2887f1"] direction TB C1["ProviderCore.version<br/>0.10.3"]:::old C2["changelog.d<br/>14 pending fragments"]:::warn C3["CHANGELOG.md<br/>v0.10.3 marked unpublished"]:::warn C4["provider-release.md<br/>prepared as 0.10.3"]:::old end subgraph AFTER["After: two signed commits"] direction TB D1["ProviderCore.version 0.10.4<br/>check-release-version.sh<br/>accepts tag v0.10.4"]:::new D2["changelog.d<br/>14 rendered and removed<br/>in a revertible render commit"]:::ok D3["CHANGELOG.md<br/>v0.10.4 candidate with rollout notes<br/>v0.10.3 published 2026-10-26"]:::ok D4["provider-release.md<br/>pin and metallib checks<br/>PR 516, tag, then snapshot"]:::new end C1 -- "commit 1" --> D1 C2 -- "commit 2: changelog.py render" --> D2 C3 -- "commit 1: tag evidence" --> D3 C4 -- "commit 1: 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
All local checks below ran on this branch (
f673fff4, baseaa2887f1d) on 2026-10-27.Release version
./scripts/check-release-version.sh→release version integrity: 0.10.4.v0.10.4,v0.10.4-dev.1,v0.10.4-staging.1,v0.10.4-dev.branch.7and binary stringdarkbloom 0.10.4.v0.10.3(exit 1).Changelog
make changelog-check→changelog: 0 valid fragment(s)(14 before).make changelog-preview→ empty## Unreleased.python3 scripts/test-changelog.py→ 14 tests OK.changelog.py renderoutput, both from the working tree before the heading existed and from agit archiveexport oforigin/master.Docs
make docs-check→96 problem(s) in 200 file(s). That is the same set as on unmodifiedmasteraa2887f1d, with no new problems:console-ui/(CI: finish removing console-ui (master CI green again) #1631 fixes them);libs/mlx-swift-lm, which isn't initialized here. Both targets (ThirdPartyNotices/Flint.md,.../EngineLoopV2+HistoricalCheckpoint.swift) exist ataee6ebb6(GitHub API), and CI Docs Lint initializes the submodule.git submodule init, because it writes the shared repository config.test-docs-check-historical-links.pyandtest-docs-stamp.py→ OK.make docs-impact-check BASE=origin/master→17 changed file(s), canonical documentation coverage OK(BASE=HEAD~1: 15 files OK).Release Integrity job, every command from
ci.ymlrun locally: all pass except one environmental failure.test-threat-diagnostics.pyfails under the local Python 3.14 and passes under 3.13 and 3.12. The file is unchanged since v0.10.3; this is the same failure Prepare provider 0.10.2 #1600 reported.serving_performancediscovery: 119 tests OK.Redo dry run. In two disposable
--sharedscratch clones (deleted afterwards):Evidence (all verified 2026-10-27)
libs/mlx-swift4926d3d9= mlx-swifthotfix/0.10.2-jit-nax-dsplithead.libs/mlxand the nestedSource/Cmlx/mlx31f550af= mlxhotfix/0.10.2-jit-nax-dsplithead.maincontains its pin (compare: 1 ahead each).libs/mlx-swift-lmaee6ebb6= SDKmain(identical).v0.10.2bundle'sbin/mlx.metallibhashes to6ccc62966bb452b767fbd7261175b06c7653259a25f657524f1c1ef71f556d45(streamed and hashed; nothing stored). That equals v0.10.3's registeredmetallib_hash, and 0.10.3's MLX fix was C++ only. So with unchanged pins, the 0.10.4 tag build should reproduce it./healthbuild_commit=2acffb5c(includes chore(deps): bump the npm_and_yarn group across 1 directory with 8 updates #5146259c9dc, not provider: drop fused-MoE-cache accounting; pin mlx-swift-lm to merged fused-cache removal #5165a779a11)./v1/releases/latest= 0.10.3.UnauthorizedConnectionRecovery;CoordinatorConnectionHandshake.defaultTimeout = 30;StatusCommand+ServedRequests.swift;docs/architecture/inference.md;AddonPeerPolicy(io.darkbloom.sandbox, teamSLDQ2GJ6TL);registry/tool_constraints.go.buildID(binary + metallib hash;SSDHybridCheckpointStoreFactory.namespace,SSDHybridCheckpointEnvelope.layoutEpoch), so builds never share files;envelope.matcheson a delta's chunk layout, throwincompatibleCheckpoint, delete the file (removeCorrupt) and serve cold.Glocally against a temporary allowed-signers file passed with-c(no config change), and GitHub reportsverified: true.mmdc11.15.0.Not run: Swift build or tests (only the version constant changes in Swift; CI runs the provider lanes); SDK qualification; any live, signed-build or hardware check.
Refactor Pass
Done by a dedicated, independent refactor reviewer (separate agent). It checked every rollout-note and runbook claim against the code and the linked platform PRs, and fixed four inaccuracies (
e6df573a5):prompt_anchor_mismatchquarantines the provider's cache capability for the whole model (60 s, doubling to 10 min), not only the one request; both texts and the evidence table now say so;v0.10.2, not first shipped by thev0.10.3hotfix;LatestProviderVersionand says "of the snapshotted inputs".It also verified the version constant, all MLX pins and hotfix branch heads, the metallib hash, provider: show when the coordinator isn't sending work, and re-register a connection left unauthorized #1607/fix(provider): judge coordinator traffic and re-registration only on current evidence #1633 timings and evidence rules, fix(provider): forward the delta-checkpoint rollback to the launchd provider job #1630's forwarding, delta-checkpoint upgrade/rollback safety, the four forced-
tool_choicemodels, the Qwen JSON 422 behaviour, the add-on signer, and the 34 contract inputs. Following its note, thedelta-complete-checkpointsfragment now says "Qwen complete checkpoint with native recurrent state" instead of "Qwen 3.8" (6980926b1), since eligibility follows the checkpoint layout.Validation on the final head:
make changelog-check(0 fragments),make changelog-preview(empty Unreleased),make docs-check(only the threelibs/mlx-swift-lmsubmodule links that are absent in a local worktree),make docs-impact-check BASE=origin/masterOK,./scripts/check-release-version.sh v0.10.4OK,git diff --checkclean, all commits signed and Verified.Limitations
masterCI is red until CI: finish removing console-ui (master CI green again) #1631 merges (console-ui leftovers), so this PR's Docs Lint and any lane that touches the deleted directory fail the same way as onmaster.trust_statuspush isn't visible as a PR yet.metallib_hashis a prediction to check on the tag build.Components touched
CHANGELOG.mdandchangelog.d/(release preparation)Protocol/interface: no changes.
Merge Danger
Door: two-way before tagging. Merge, tag, publication and the coordinator deploy are separate approvals.
Blast Radius: release identity and documentation only. This PR changes the version constant, the release notes and the runbook, and removes the 14 rendered fragments.
Need help on this PR? Tag
@codesmith-botwith what you need.