Repository navigation
Prepare provider 0.10.7 - #1756
Conversation
ProviderCore.version is 0.10.7; ./scripts/check-release-version.sh v0.10.7 prints "release version integrity: 0.10.7". CHANGELOG.md: a v0.10.7 candidate entry. Its upgrade and rollout notes say that both Macs of a pair must update (the Gemma 4 and MiMo plans change in #1706, #1707 and #1715, the Qwen tensor-parallel control wire in #1727, and a pair of mixed builds refuses to pair); that a 0.10.6 pair updates by hand once (darkbloom update on both Macs, then log out and back in, as docs/provider/two-mac-cluster.md describes) and from 0.10.7 on updates itself (#1702); that Gemma 4 and MiMo-V2.6-Flash tensor parallel are public (#1736); darkbloom update --rollback (#1729); the enabled-model filter (#1730); the single-Mac text changes; the unchanged registration; and the MLX pins, with the expected metallib hash. Below them, the 39 pending fragments rendered verbatim by `python3 scripts/changelog.py render --version 0.10.7 --date 2026-11-03` (without its heading line), and exactly those fragments are removed. v0.10.6 is marked published on 2026-10-31 (tag object 138dfc3, target 84ddfdb). docs/operations/provider-release.md: the 0.10.7 section (scope, checks before the tag, rollout order, platform evidence) replaces 0.10.6's, and v0.10.6 joins the published history. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Refactor pass on "Prepare provider 0.10.7" (6df640d16). The rendered entries are unchanged and still byte-identical to `changelog.py render --version 0.10.7 --date 2026-11-03`. - MLX pins: mlx-swift-lm 7933a0fa..32f5c744 adds one Metal kernel (MiMo's FP32-output decode down projection, mimo_v26_mxfp4_decode_down_float32) through MLXFast.metalKernel, so "changes no Metal source" was wrong. It compiles at run time, not into mlx.metallib, so the expected metallib_hash stays v0.10.6's 98bab9d7...614be. - 0.10.6 pairs: the m step (#1723) is conditional, as its entry says. The cluster service plans the model again by itself after an update. - Rollout step 1 names #679's merge commit f9c1b2d6a3 and checks /health build_commit against it. The evidence cites cluster_generation_mode.go at f9c1b2d6a3 and adds the platform's contract pin and LatestProviderVersion (both still v0.10.4), which step 6 moves. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
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. LOW: Sandbox setup now executes the downloaded installer (--plan) before the user confirmsCHANGELOG.md:398 · T-061, TB-013 The changelog says `darkbloom sandbox setup` now downloads install.sh before the confirmation question and runs it with `--plan`, relying on the installer to "verify the release and size this Mac without installing anything". On an already set-up Mac it runs the plan again on every `setup` call (line 405). If the installer is tampered with (misissued certificate or compromised sandbox service), it now executes as the Mac owner without any consent. The "Nothing is installed" guarantee comes from the script's own behaviour, which a tampered script does not honour. Earlier, the script plausibly ran only after `y`, so this widens TB-013/T-061 exposure. Fix: verify the installer's signature or pinned hash before the first execution, or render the plan without running remote code. Update T-061 to cover pre-consent execution. Raised by: anthropic/claude-sonnet-5.5 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: 62/168 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: 19 request(s), 888123 uncached + 0 cache-read + 0 cache-write input / 15300 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. |
Summary
Release preparation for provider 0.10.7, following
docs/operations/provider-release.mdand mirroring #1695 (0.10.6). It setsProviderCore.versionto0.10.7, renders the 39 pendingchangelog.dfragments into a v0.10.7 candidate entry with upgrade and rollout notes, marks v0.10.6 published and writes the 0.10.7 section of the release runbook. This PR does not tag, register, upload, deploy or enable anything.Stacking: it was prepared on #1754's tree (head
f1f68c227), which is whatmasterholds after David's squash of #1754. After that squash, this branch is re-based ontomasterby cherry-picking its two commits. A simulated squash of #1754 on today'smaster(e287c1fd2) takes the first cherry-pick cleanly to the identical tree06d4b0a18; the second changes only the notes inCHANGELOG.mdand the runbook, givingfa6610a53.Linked issue
None. The owner asked for the 0.10.7 production release on 2026-11-03.
Test plan
On this branch's head
689bb720e(treefa6610a53), Apple silicon Mac, Python 3:./scripts/check-release-version.sh v0.10.7printsrelease version integrity: 0.10.7;v0.10.6is refused (source=0.10.7 requested=0.10.6).make changelog-checkprintschangelog: 0 valid fragment(s);make changelog-previewprints only## Unreleased;python3 scripts/test-changelog.py: 14 tests OK.python3 scripts/changelog.py render --version 0.10.7 --date 2026-11-03on Release dev into master: provider 0.10.7 (squash; master keeps the prod default) #1754's head renders 39 fragments (SHA-25617c0fba7…3165). The inserted block is byte-identical to that output without its heading line and the blank line after it. Exactly those 39 files are removed, andchangelog.d/holds onlyREADME.md.make docs-check:206 file(s) OK(withlibs/mlx-swift-lmchecked out at the pin, which three existing links need).make docs-impact-check BASE=pr/1754:42 changed file(s), canonical documentation coverage OK.git diff pr/1754 -- provider-swift/Package.swiftis empty, andpython3 scripts/provider-build-default.py --branch masterprintstarget 'master': plain-build default is 'prod'.git diff --check pr/1754 HEAD: clean. The only removed lines inCHANGELOG.mdare v0.10.6's candidate heading and its "Prepared on" line.CHANGELOG.md,changelog.dand one runbook, and Release dev into master: provider 0.10.7 (squash; master keeps the prod default) #1754's CI covers its code. The read-only production facts dry run on the exact tag tree is a separate gate (rollout step 3).Components touched
ProviderCore.versiononlyProtocol / interface changes
0.10.7, and the registration payload keeps 0.10.6's fields and itsdarkbloom_cluster_runtime_v2block.Documentation impact
docs/operations/provider-release.md(the 0.10.7 section: scope, checks before the tag, rollout order, platform evidence and the published history, now with v0.10.6).Changelog
Published 2026-10-31(GitHub release published 16:42:39Z; tagv0.10.6, object138dfc341, target84ddfdba6).The v0.10.7 entry's upgrade and rollout notes carry the operator facts the fragments state only in part:
darkbloom updateon both Macs, then log out and back in (docs/provider/two-mac-cluster.md). From 0.10.7 on, pairs update together automatically (cluster: pairs set up with darkbloom cluster update themselves like a single Mac #1702). Ifdarkbloom clusterthen says that a Qwen pair of two different Macs, which 0.10.6 saved with unequal shares, is not offered for pairing,mplans it again with equal shares (cluster: Qwen pairs of two different Macs register with the coordinator (equal tensor-parallel shares when served through Darkbloom) #1723).darkbloom update --rollback(provider:darkbloom update --rollbackreturns a Mac to its previous release, and quarantines the bad one so auto-update can stay on #1729), and a pair rolled back to 0.10.6 needs the rollback on each Mac, because cluster: the other Mac of a pair follows a rollback #1739's follow needs both releases to have it.metallib_hash.Notes for reviewers
v0.10.6. That is fix(provider): take a child's exit from its termination handler, not waitUntilExit() #1425, fix(provider): keep status on an unexpired App Attest lease #1427 (with fix(provider): require fresh readiness for MDM removal advice #1433), Gemma 4 and <think> models: client stop sequences skip reasoning and tool calls #1650, test(provider): stop the paused-sweep telemetry test hanging the SSD suites #1665, perf(provider): prepare the checkpoint row encoder once per segment (Gemma donor stream end 1.7–2.0 s → 1.0–1.2 s) #1668, perf(provider): check each restored checkpoint row once for non-finite values (Gemma cached follow-up TTFT −26.6%, ~0.2 s per SSD restore) #1669, fix(provider): Gemma 4 text keeps its spaces before punctuation (git add . came back as git add.) #1693, cluster: a running cluster service answers the new pairing after a re-pair #1701 to perf(provider): GPT-OSS plain decode commits by operation count #1713, cluster: tensor parallel for fastest-plan families only on measured evidence and full feature parity (owner decision) #1715 to cluster: fix the pair engine's cancellation deadlock that left the GLM pair refusing every start #1717, cluster: Qwen tensor parallel keeps prompt prefixes to the request's context, as one Mac does #1720 to cluster: Qwen tensor-parallel prompts prefill in merged steps that overlap their sums (bitwise identical) #1725, cluster: Qwen tensor-parallel decode steps carry the next step's control in their selection sum (bitwise identical) #1727, provider:darkbloom update --rollbackreturns a Mac to its previous release, and quarantines the bad one so auto-update can stay on #1729 to CI: Blacksmith-only macOS jobs, PR cache saves only on a cold restore, eight provider shards #1733, cluster: simpler two-Mac setup with arrow-key lists and split markers, the set-up Mac leading, and MiMo and Gemma public #1736, ci: run the darkbloom-cluster test suites in PR CI #1737, cluster: the other Mac of a pair follows a rollback #1739, ci: guard master's prod plain-build default (and dev's dev default) #1741, Fix two cluster test flakes: prelude cancel race and record lock race #1743, fix(provider): arm the App Attest restart on the first episode after an update #1744, CI: retry every transfer error in the MiMo audio fixture download #1747, CI: run the cluster jobs only when cluster inputs change; 3 provider shards #1749, Unblock dev release: restore the .48 provider shard weights (release shard 2 SIGBUS) #1750 and test(provider): evaluate the Qwen4 paging fixture's weights (release shard SIGBUS root cause) #1753 fromdev, plusmaster's feat(provider): sandbox setup shows the add-on's own sizing plan #1687, ci: route each provider shard as its own Darkbloom lane #1691 and feat(provider): sandbox setup re-checks the add-on's plan on a set-up Mac and offers new slot counts #1735.f9c1b2d6a3, deployed by its runbook), then Release dev into master: provider 0.10.7 (squash; master keeps the prod default) #1754's squash, then this PR, then the tag. 0.10.7's registration itself needs nothing new from the coordinator.scripts/provider-release-publication.pyis unchanged since v0.10.6, and the generation modes of the new parity qualifications, including MiMo'spipeline_mtp_v1, are known to feat(provider ops): uncapped earnings history + per-provider/model $ breakdown for multi-host operators #679's merge commitf9c1b2d6a3, as to482ca9dbbefore it (ClusterPlanModeFamily).libs/mlx72dffa2dandlibs/mlx-swiftc633d221are unchanged since v0.10.6.libs/mlx-swift-lmmoves7933a0fa→32f5c744, its fork'smain: SDK fix(coordinator): calibrate TTFT preflight admission #370, feat(stats): add animations and refactor stats components #371, feat(coordinator): routing telemetry, rejection ledger, admin export + non-blocking sink #375 to KV-quant foundation: benchmark gate + validated modes + mask fix (DAR-313) #377 and fix(provider): bound the Gemma batching memory envelope #379 to Metal [metal::malloc] Resource limit (499000) still crashes provider on 0.6.12 — count-aware trim doesn't bound LIVE buffers (two co-resident models) #384, 31 Swift files, none in Cmlx. The one Metal kernel they add (MiMo's FP32-output decode down projection) compiles at run time throughMLXFast.metalKernel, not intomlx.metallib. The tag build'smetallib_hashshould equal v0.10.6's98bab9d7…614be.validaterefuses an oversized body before staging. The dry run measures the real block.Before And After
Release identity and notes (behavior):
flowchart LR subgraph Before["Before: master after #1754's squash"] B1["ProviderCore.version 0.10.6<br/>39 pending fragments<br/>CHANGELOG: v0.10.6 candidate (unpublished)"] -->|tag v0.10.7| B2["refused: tag/source version mismatch<br/>(check-release-version.sh)"] end subgraph After["After: master with this PR"] A1["ProviderCore.version 0.10.7<br/>changelog.d = README.md only<br/>CHANGELOG: v0.10.7 candidate (39 rendered + notes), v0.10.6 published"] -->|signed tag v0.10.7 on this PR's squash| A2["release-provider.yml: build, SDK qualification, sign, notarize,<br/>cluster runtime facts (PROD_CLUSTER_RUNTIME_ENABLED=true), R2, register"] A2 --> A3["coordinator derives release/0.10.7/model/s1|s2;<br/>pairs on 0.10.7+ update together by themselves"] A2 --> A4["0.10.6 pairs: darkbloom update on both Macs, then log out and in, once"] endCode path (what this commit changes):
flowchart LR subgraph Before P1["ProviderCore.swift: version = 0.10.6"] --> V1["check-release-version.sh v0.10.7: exit 1"] F1["changelog.d/*.md (39)"] --> C1["changelog.py check: 39 valid fragments"] end subgraph After P2["ProviderCore.swift: version = 0.10.7"] --> V2["check-release-version.sh v0.10.7: integrity 0.10.7"] F2["changelog.py render 0.10.7 → CHANGELOG.md; git rm the 39"] --> C2["changelog.py check: 0 valid fragments"] endNavigation (docs):
flowchart LR subgraph Before R1["provider-release.md: 0.10.6 section<br/>(#643 deploy, migration 58, first facts run;<br/>published history v0.10.5 to v0.10.2)"] end subgraph After R2["provider-release.md: 0.10.7 section<br/>(pins, metallib, facts dry run, catalog room, coordinator #679 first,<br/>#1754 then this PR, tag, 0.10.6 pairs by hand once, platform snapshot;<br/>published history v0.10.6 to v0.10.3)"] --> T["two-mac-cluster.md#updating-darkbloom-on-the-pair"] endRefactor Pass
Done. A dedicated refactor subagent reviewed
6df640d16against #1754's headf1f68c227: the fragments, the provider source, the docs and darkbloom-platform#679's mergef9c1b2d6a3. Its fixes are in one signed commit,689bb720e. The rendered entries are unchanged.17c0fba7…3165, byte-identical and present once);138dfc341→84ddfdba6), and its release notes' metallib98bab9d7…614be;32f5c744is the SDK fork'smain, and its merges are exactly SDK fix(coordinator): calibrate TTFT preflight admission #370, feat(stats): add animations and refactor stats components #371, feat(coordinator): routing telemetry, rejection ledger, admin export + non-blocking sink #375 to KV-quant foundation: benchmark gate + validated modes + mask fix (DAR-313) #377 and fix(provider): bound the Gemma batching memory envelope #379 to Metal [metal::malloc] Resource limit (499000) still crashes provider on 0.6.12 — count-aware trim doesn't bound LIVE buffers (two co-resident models) #384;ClusterConfiguration.peerBuildDiffers,ClusterSetupPlanning.differentBuilds);--rollback's refusal on a pair and cluster: the other Mac of a pair follows a rollback #1739's follow rule;ClusterPublicModels, provider: the operator's enabled-model filter wins over coordinator model changes (a deselected model no longer comes back or re-downloads) #1730, and the unchanged registration;689bb720e:mimo_v26_mxfp4_decode_down_float32throughMLXFast.metalKernel. That kernel compiles at run time, not intomlx.metallib, so the expectedmetallib_hashholds. The notes, the runbook and the tag now say so.mis conditional, as its entry says. The tag no longer says such a pair "registers again", because it never registered.f9c1b2d6a3and checks/healthbuild_commitagainst it. The evidence citescluster_generation_mode.goatf9c1b2d6a3and adds the platform's contract pin andLatestProviderVersion, both still v0.10.4.689bb720eand passing (test plan above).After merge
master./healthshows the new coordinator; the catalog rows are final; the facts dry run exits 0 on the exact tag tree; the catalog room holds;PROD_CLUSTER_RUNTIME_ENABLED=true; and themastercommit is verified, withchangelog.d=README.md, version0.10.7and the?? "prod"default.v0.10.7(signed, annotated) on this PR's squash commit with the message below.metallib_hash=98bab9d7…614be, the job summary's facts,GET /v1/cluster/approvalsforrelease/0.10.7/…and the coordinator log forrelease cluster approvals omitted.darkbloom updateon both Macs, then log out and back in. Check that each pair actually serves, not only that it registered (DEPLOY-GUIDE L37).LatestProviderVersion = "0.10.7".Annotated tag message
3,623 bytes, ASCII (
mainnet/tag-v0.10.7.txt)Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.