Repository navigation
Prepare provider 0.10.6 - #1695
Conversation
…se modes `darkbloom cluster runtime-facts` prints schema darkbloom_cluster_runtime_v2: the v1 digests, unchanged, plus each model's pair_serving_grant. The grant is the public grant a member of the same build reports for the described artifact (ClusterPairServingGrants.grant), null when there is none: its mode families sorted by byte, and evidence_sha256, the SHA-256 of the records it rests on as canonical JSON Lines (ClusterPairServingGrant.records, evidenceSHA256). The canonical encoder writes null rather than omitting it; the strict decoder init(canonical:releaseVersion:) refuses unknown, missing or repeated fields, schema v1, and a model whose derived IDs (release/<version>/<model>/s2, plus /grant for a granted model) exceed 128 bytes. The model bound is 64. The release modes come back (ClusterRuntimeApprovalFacts+Release.swift): --list-release-models prints the models this build qualifies on a cluster, and --app A --release-candidates DIR describes, for every listed artifact and every catalog model ID among its candidates, the first candidate the app's worker describes as that model. A listed model with no candidate is left out (the environment's catalog lacks it); the output must read back under the strict decoder for this build's version. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The release lane (dev branch, staging, prod) computes the cluster runtime facts of its final signed, notarized app with that app's own CLI and worker, in the step "Compute cluster runtime facts from the final signed app" of build-and-release: after the final hashes, with no secret (the signing keychain is deleted and the identity proven gone first), from the target environment's public catalog and model CDN (provider-cluster-runtime-models.py --environment). A listed model that catalog lacks is left out and named. The job summary shows the block and a run artifact retains it in every lane. The payload carries it (prepare --cluster-runtime) only when CLUSTER_RUNTIME_SEND is true: the run registers a release and the environment's repository variable DEV_, STAGING_ or PROD_CLUSTER_RUNTIME_ENABLED is exactly 'true'. Unset, prepare runs today's command and the payload is byte for byte today's (pinned by digest in the tests), and a facts failure only warns (continue-on-error). Set, a failure fails the release before staging and registration. validate accepts a valid block in every environment and refuses an invalid one and one whose derived approval or grant IDs exceed 128 bytes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…al form Contract A defines the block as canonical JSON (keys sorted by byte, no whitespace, no trailing newline). prepare now refuses a block file that is not canonical, and the registration body is encoded without whitespace when, and only when, it carries the block, so the coordinator receives the block's canonical bytes whether it parses them or compares them. A body without the block is byte for byte the one sent before (pinned in the tests). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…y qualifications Owner decisions (jonathan308, 2026-10-31): "public traffic should not be manual"; "only glm 5.3 flash should be serving public & qwen 3.8 27b they are both good to go they should be approved for serving". The v2 facts no longer carry pair_serving_grant. A coordinator grant restricts its approval to the families it names, and GLM-5.3-Flash's bundled records hold only a pipeline_v1 run, so a derived grant would stop the GLM tensor-parallel pairs M5 members serve today. ClusterPairServingGrants is back to dev apart from the public-traffic line below. ClusterPublicModels (beside the grants, reviewed in PRs) declares exactly GLM-5.3-Flash (registered_glm53_flash, glm-5.3-flash) and Qwen3.8-27B (registered_qwen38_27b, EigenLabs/Qwen3.8-27B-4bit-mtp): tensor_parallel on schedules 1 and 2, evidence placement two Apple M5 Ultras (applegpu_g17d, NAX on) on macOS 27.0, cuts [], equal shares, qualified 2026-10-31T00:00:00Z, and the SHA-256 of the evidence document docs/reports/2026-10-31-public-cluster-models.md (a test holds them equal). It also names the artifact the runtime registers for each model. Each model's parity_qualifications is [] unless the declaration names its runtime model, catalog ID and artifact; then one object per declared family and schedule: numerics classes of the evidence placement with the block's metallib (g17d-nax1-mlx-98bab9d7-macos27.0 on 0.10.5-dev.branch.15 and .16), cuts, mode, tensor_parallel_shares null, promotable, not diverged, evidence_sha256, qualified_at and the request envelope (ClusterPublicModels.requestEnvelope: sampling, tools, 1,048,576 tokens each way, vision and video as the candidate's catalog entry lists image and video; text only without one). Release candidates carry that entry (catalog.json). The strict decoder and validate check the qualifications as a coordinator does and bound the derived IDs release/<version>/<model>/s<s>/q<n>. The setup's public-traffic line says a declared model is qualified in its declared family without a record of it. The GLM block the installed 0.10.5-dev.branch.16 app computes from DevNet's catalog is pinned as a golden. The placement check runner compiles the new file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…alifications provider-cluster-runtime-models.py saves each candidate's catalog entry (its id and input_modalities, canonical, catalog.json) beside its manifest and config.json, so the released app's own CLI gives a declared model's request envelope the media the target environment's catalog lists; a malformed modality list fails that entry, none listed means text only. provider-release-publication.py checks parity_qualifications in place of pair_serving_grant: the exact fields, schedule 1 or 2, two numerics classes, the cuts the mode has, null shares, flags, an instant the coordinator accepts, the envelope bounds, video only with vision, no placement twice, at most 8; and bounds every derived approval and qualification ID (release/<version>/<model>/s<s>/q<n>) at 128 bytes. The pinned GLM block is accepted. Docs and the changelog fragment follow; the release step's comments name the parity qualifications. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Under its supervisor the cluster service beats every 2 s into the file
DARKBLOOM_CLUSTER_MEMBER_HEALTH_FILE names. Its part was started with the
service's environment unchanged, and a coordinator-paired part
(`start --foreground --cluster-member`) beats every 5 s into the file the
same key names, with its own pid. The supervisor's liveness guard reads
the file every 15 s and treats a beat of another pid as no beat. The three
periods are near multiples of each other, so their phases drift by
milliseconds per probe: once the part's beat was the last write at six
probes in a row, the guard recycled a healthy service ("heartbeat missing
for 75 s while its process is alive") and the pair dropped and registered
again. Seen on a DevNet leader about every 15 minutes.
The part now gets the service's environment with the key pointing at
part-health.json beside the service's files. The key stays set, so the
part still waits for its registration as a supervised member does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Docs Impact failed: ClusterService.swift changed without its mapped architecture document. The cluster serving section now says which file the service and its part each write their heartbeat to, and why. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…beat tests Both new tests failed on CI at every run: the member part never started. They dropped the ClusterApprovalMacs fixture (`let (_, service, parts)`), whose deinit removes both homes, so the leader's saved setup was gone before the service's first tick. The fixture now lives until the last check, as in the other tests of the suite. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-hang fix(cluster): the service's part beats into its own heartbeat file
David's finding: a pair member reports only hardware capabilities
(DistributedServingEligibility.memberCapabilities: apple_m5 on an M5), and
without a pair-serving grant the coordinator holds each member to the
model's single-Mac requirements (providerMeetsServingRequirementsLocked),
which no member meets for GLM-5.3-Flash (mlx_nax, glm5_next_v1) or
Qwen3.8-27B (mlx_nax). No pair forms without a grant, so every model in the
v2 facts again carries pair_serving_grant (null, or exactly evidence_sha256
and mode_families) beside parity_qualifications.
A declared public model's grant names its declared families with the
evidence document's SHA-256. Owner ruling 2026-10-31 ("It should be tensor
or pipeline obviously but that shouldn't matter for the coordinator"):
ClusterPublicModels declares pipeline and tensor_parallel for both
GLM-5.3-Flash and Qwen3.8-27B. Any other model's grant is the one this
build's bundled records give its artifact (ClusterPairServingGrants.grant),
with the SHA-256 of those records' canonical JSON Lines
(ClusterPairServingGrant.records, evidenceSHA256); null when they grant none.
The declaration's families drive the parity qualifications: one promotable
record per family and schedule, pipeline first (byte order), so each
approval's q1 is the pipeline and q2 tensor parallel. A pipeline is
pipeline_v1 cut at [num_hidden_layers / 2] of the model's config.json (top
level, else text_config: GLM 45 -> [22], Qwen3.8-27B 64 -> [32]); without a
layer count its records are left out and the command says so on standard
error. An envelope admits media only where the placement serves media
(ClusterModelFeaturePolicy.mediaContract): tensor parallel follows the
catalog entry, a pipeline is text only.
The strict decoder and validate check the grant (1 to 4 known families in
byte order, nonzero evidence) and bound release/<v>/<M>/s<s>/grant at 128
bytes beside the approval and /q<n> IDs. The setup's public-traffic line
follows the declaration (pipeline and tensor parallel); tests about the
records alone pass publicModels: []. The evidence report says the owner
approved both modes for both models, that GLM-5.3-Flash's bundled records
hold a pipeline_v1 run while its tensor parallel rests on the owner's
decision and the DevNet serving results, and why grants are needed; its
SHA-256 is re-pinned. The GLM golden is re-pinned from the installed
0.10.5-dev.branch.17 app, which replaced branch.16 on this Mac.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
provider-release-publication.py checks each model's pair_serving_grant again (null, or exactly evidence_sha256 and 1 to 4 known mode_families in byte order) beside its parity_qualifications, adds the grant's evidence to the digests it checks, and bounds release/<version>/<model>/s<1|2>/grant at 128 bytes with the approval and /q<n> IDs. Its tests cover the grant rows, the ID bound for a model with neither, qualifications only, a grant only and both, the /grant and /q<n> IDs, and the branch.17 GLM golden (q1 the pipeline, text only; q2 tensor parallel). The docs (configuration reference, release runbook, inference architecture, test guide), the changelog fragment and the release step's comments describe the grants and why pairs need them, both declared families, the pipeline cut, the per-placement media and the q1/q2 order. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…'s 64 KiB The coordinator reads POST /v1/releases under MaxReleaseRegisterBodyBytes (64 KiB, as http.MaxBytesReader applies it), the same bound as the cluster_runtime block's own, so a block within its bound could take the body over the limit and fail only at publish, after R2 staging. validate (in prepare, stage and publish) now refuses a payload whose registration body exceeds 65,536 bytes, naming its size and the limit. One function (registration_body) builds the bytes it sizes and the bytes registration sends, so they cannot differ. The test grows a valid block to a body of exactly 65,536 bytes (accepted) and 65,537 (refused before staging, with no payload written), refuses the same limit without a block (release notes), and checks that registration sends the sized bytes. Independent review N1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…og room Independent review fixes (S1, S2, N2, N3, N4, N7, N10, N15 wording). The configuration reference, the release runbook, the inference page and the changelog say how a coordinator applies the declared qualifications: a promotable record qualifies its approval's whole mode family on any numerics classes, cuts and shares within the envelope (parityQualification, platform df61dd6f9), so public traffic for GLM-5.3-Flash and Qwen3.8-27B is admitted in pipeline and tensor parallel on any Apple silicon pair; the declared placement names the evidence, not a limit. No pipeline ran on two M5 Ultras and GLM-5.3-Flash has no tensor-parallel cross-cable record: both rest on the owner's decision and the DevNet serving results. GLM-5.3-Flash serves only the serial schedule, so its schedule 2 entries are inert. The digest-pinned evidence document is unchanged. The runbook adds the catalog-room precondition (64 approvals with the operator's own, 2 per model per release, newest release whole first, older releases left out first), DevNet's numbers on 2026-10-31 (26 served, 4 catalog models: 8 per release, the 4 newest fit), the log check after the first registration (release cluster approvals omitted), the recovery when a facts failure stops a release, "set to true" (GitHub compares case-insensitively; also in the workflow comment), the release-handler link re-pinned to platform df61dd6f9, and "a catalog model ID of a listed artifact". The inference page notes that a grant also bounds owner-formed sessions to its families. The grant's evidence is the passing records it is computed from, without a pass a divergence of the same shape contradicts: said so in the code comment and the reference, with a test row for a family still granted by another pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Releases carry their cluster runtime facts so coordinators approve clusters automatically (off until each environment's variable is set)
Set ProviderCore.version to 0.10.6 and mark v0.10.5 as published on 2026-10-30 (tag target d3bbcd0). Open the v0.10.6 candidate entry with its upgrade and rollout notes: the first production release with two-Mac clusters (darkbloom cluster over one Thunderbolt 5 cable with RDMA, macOS 26.2 or later; GLM-5.3-Flash and Qwen3.8-27B in tensor parallel); releases carry their cluster runtime facts (#1692), from which a coordinator with darkbloom-platform#643 derives approvals, pair-serving grants and public qualifications, off in production until that coordinator runs with its switches on and migration 58, and PROD_CLUSTER_RUNTIME_ENABLED is set after it and before the tag; no coordinator change or version floor for single-Mac serving; the #1690, #1686, #1680 and #1683 changes; the MLX pins (mlx 72dffa2d and mlx-swift c633d221 unchanged, mlx-swift-lm 2beb401f -> 7933a0fa for SDK #373 only, so the metallib hash should equal v0.10.5's); and what the verbatim entries below are. Update the release runbook: the 0.10.6 scope, the pin, metallib and catalog checks before tagging, the rollout order (the platform with #643, its three switches and migration 58 first, then PROD_CLUSTER_RUNTIME_ENABLED, the dev -> master promotion as a merge commit, the tag and the platform snapshot), platform evidence inspected on 2026-10-31, and the published history. The pending changelog fragments are rendered in the next commit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…0.10.6 Insert the output of python3 scripts/changelog.py render --version 0.10.6 --date 2026-10-31 (all 101 pending fragments) verbatim, without its heading line, below the v0.10.6 upgrade and rollout notes, and remove exactly those 101 fragments. The render ran on this branch's base, origin/dev a0413a8, before the v0.10.6 heading existed, because the renderer refuses a version that CHANGELOG.md already names. A render from a git archive export of a0413a8 is byte-identical. This commit is mechanical, so a later roll-up can revert it, merge dev and render again if more fragments land before this merges. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Two client-visible answers of one Mac are new since v0.10.5: a content part of an unknown type is refused with 400 (OpenAIRequestValidationError, from the cluster capability honesty change), and media the model's processor refuses answers 400 invalid_media instead of the retryable 503 (EngineV2VisionPrefill.clientFault). Say so beside "no coordinator change". Both use failure codes the coordinator's closed enum already had in v0.10.5's protocol reference. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…in the 0.10.6 notes From the independent review of this preparation: - S1: three answers to coordinator requests change on one Mac, not two. A response_format answer cut off by max_tokens is now a client error (InferenceErrorClassifier: client_error instead of the retryable tool_noncompliance), so the coordinator no longer retries it on another provider. The local API (darkbloom start --local) normalizes a request that fails to decode as the coordinator path does (InboundChatNormalization), returns logprobs where the model captures them, reports usage.completion_tokens_details.reasoning_tokens and answers the cut-off with 422 and its own message (LocalChatUploadResponder, StandaloneServer+HTTP). Two operator changes without a fragment are named too: provider.toml is written owner-only (ProviderConfigFile), and the 0.10.6 updater extracts releases under umask 022 (SelfUpdater). - S2: production needs four cluster settings, including EIGENINFERENCE_CLUSTER_PAIR_TRUSTED_TLS_PROXIES (the coordinator listens on plain HTTP behind Caddy), and App Attest serving for every account (EIGENINFERENCE_APP_ATTEST_SERVING, _ENVIRONMENT=production, _ROLLOUT_PERCENT=100). - S3: PROD_CLUSTER_RUNTIME_ENABLED waits for #643 plus any follow-up fix and for the DevNet proof with the release's dev build: derived release/ approvals and a session on a real pair. - N4: four repeated single-Mac statements (all published in v0.10.0); N5: the 6% is for one request; N6: the SDK pin moved through #1680 and #1684. The rendered entries are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…cks for 0.10.6 From the independent review of this preparation: - S2: rollout step 1 sets four cluster settings, among them EIGENINFERENCE_CLUSTER_PAIR_TRUSTED_TLS_PROXIES (without it no member connection attaches to pair control behind Caddy, and in the split deployment the trusted-proxy path is the only one), and App Attest serving at a 100% account rollout, because a member without MDM pairs only through App Attest. Evidence rows cite the platform configuration reference, the cluster-control "Member trust" row and appattest/service/config.go. - S3: a DevNet proof step: the 0.10.6 dev build's release/ approvals are listed and a real pair forms a session, on the platform fixes production will run. The variable step checks production /health for that revision; #643 alone is not enough. The DevNet observation (block accepted, no release/ entry) is in the evidence table. - S4: the promotion is a snapshot branch cut at this preparation's merge commit on dev, and before tagging, make changelog-check prints 0 fragments and the tagged commit differs from that merge commit only by master's prod default. - N2: merging into dev starts the DevNet dev-branch release; N5, N6; N7: #644 carries only migration 58; N8: the catalog bounds and what 0.10.6 adds. The cluster runtime facts section now names the trusted-proxy setting and points its production step at the version's rollout. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The dev branch section said "Never merge dev into master", that dev is master plus one commit, that master pushes publish dev providers and that code changes go to master first. None of that has held since #1635, #1637 and #1688, and the release runbook now promotes dev. Describe it as #1688 did: a snapshot branch of dev merged into master with a merge commit (an admin briefly allows merge commits on the squash-only master ruleset), master's one commit of its own (e9babca) that keeps plain builds on prod and is reverted on dev by each master-into-dev sync, and dev pushes that publish DevNet releases through release-dev-branch.yml. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From the dedicated refactor pass of this preparation (edits A-F; the optional G and H are not applied). The 101 rendered entries, the version constant and docs/developer/build.md are unchanged. - A: the DevNet proof is rollout step 1 and the production platform step 2, because production deploys the revision that passed the proof. Before, steps 1 and 2 each referred to the other. - B: the notes state the production gate as a condition. The 2026-10-31 DevNet status and the Caddy detail stay in the runbook and its evidence table, because they stop being true at rollout. - C: the notes name the superseded statements that state a wrong current default (widened Qwen fences, SSD prefix-record precision, Qwen3.8 27B tensor-parallel speculation) and the owner's decisions behind the public qualifications. - D: the notes name the MLX stream-fence fix that v0.10.5's pins already contain, and carry the per-build SSD checkpoint fact, which the runbook's metallib check no longer repeats. - E: the dev-branch lane drops two statements superseded since 2026-10-28: master's verify-source accepts a dev push for environment dev, and pull requests into dev need one approval and land as merge commits. - F: Cluster Runtime Facts separates acceptance (darkbloom-platform#643) from derivation (EIGENINFERENCE_CLUSTER_PAIR_APPROVALS_FROM_RELEASES) and no longer points at the per-version section, which the next preparation replaces. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch is dev at #1692 (a0413a8): the two-Mac cluster work that #1688 brought to master, plus #1690 (the cluster service part's own heartbeat file) and #1692 (releases compute and send the cluster_runtime v2 block; ClusterPublicModels declares GLM-5.3-Flash and EigenLabs/Qwen3.8-27B-4bit-mtp in pipeline and tensor parallel). It reaches master through a pull request into master. master has two commits that dev lacks: e9babca, which keeps master's prod default for plain builds, and #1688's merge commit 6ffeaf0, whose tree equals e9babca's. Merging master here brings that change and nothing else, so master keeps its prod default. No conflicts: the merge base is 7dfba36 (dev at #1685), and dev has not changed provider-swift/Package.swift or BuildEnvironmentTests.swift since. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… shared artifact
Production's catalog lists the Gemma 4 26B artifact a4722b60 twice:
gemma-4-26b and gemma-4-26b-8bit. The build registers two runtime models
on it that only the manifest tells apart (registered_gemma4_26b and
registered_gemma4_26b_8bit), and only the 8-bit one is qualified on a
pair, so only it is a listed release model. ClusterRuntimeApprovalFacts
.release required every catalog model ID of a listed artifact to be
described as the listed model, and the worker describes gemma-4-26b's
manifest as registered_gemma4_26b. Run against production's catalog and
CDN, the release's facts step therefore failed ("Qualified cluster models
the release cannot describe: gemma-4-26b"), and a production release with
PROD_CLUSTER_RUNTIME_ENABLED=true would stop after signing.
A catalog model ID whose candidates the worker describes only as another
registered model is that model's: a member that installed it runs as that
model, which this release does not qualify. It is now left out and named
on standard error (note: left out, the catalog model ID of another
registered model). A catalog model ID of which the worker describes no
candidate at all still fails the step, and so does an empty result, whose
message now names what was left out.
The new test builds production's shape from the checked-in metadata
fixtures (gemma-4-26b and gemma-4-26b-8bit, one configuration): it fails
on the previous code with the production error and passes now; a second
test checks the note in both directions. The runbook's release step and
the configuration reference state the rule.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The owner dropped the DevNet proof for this release. The notes' gate bullet said PROD_CLUSTER_RUNTIME_ENABLED is set only after DevNet lists the dev build's derived approvals and a DevNet pair forms a session under one, which would misstate in the permanent history how 0.10.6 shipped. - CHANGELOG.md: the gate is the production coordinator with #643 and its follow-up fix for the split edge and Conductor deployment, migration 58, the four cluster settings and App Attest serving; a new bullet says the release was not proven on DevNet first and that its derived approvals and a pair session under one are first checked in production. - provider-release.md, 0.10.6 rollout: step 1 says there is no DevNet proof and why production is the first coordinator to derive approvals; step 2 names the split-edge fix; step 3 depends on step 2 only; step 5 adds the production pair session as the check of the derived approvals. The 101 rendered entries are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The release preparation (version 0.10.6, the v0.10.6 notes and the 101 rendered fragments, the runbook's 0.10.6 section, the refactor pass and the mainnet-direct gate) on top of the two-Mac clustering branch and the release facts fix. It reaches master as its own pull request after those two. No conflicts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… 0.10.6 The release facts fix (cluster runtime facts leave out another model's catalog ID of a shared artifact) lands before this preparation and adds one pending fragment. Render it with the other 101 so that changelog.d holds only its README at the tag: - CHANGELOG.md: the v0.10.6 block is a fresh `changelog.py render --version 0.10.6 --date 2026-10-31` of the 102 pending fragments (minus its heading line and the blank line after it), byte for byte; against the 101-fragment render it only inserts the new entry, in filename order. The notes count 102 entries. - changelog.d/cluster-runtime-facts-another-models-catalog-id.md is removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The notes and runbook required what this mainnet-direct release does not have: a follow-up platform fix for DevNet's split edge and Conductor deployment (darkbloom-platform#652, deferred; production runs one combined coordinator) and EIGENINFERENCE_CLUSTER_PAIRS, which production deliberately leaves unset so that approvals derived from releases are the only source. The facts rollout order still waited for a DevNet proof, the pair guide said production serves no approvals, and the runbook promoted dev to master with a merge commit while 0.10.6 reaches master through squash-merged pull requests. - CHANGELOG.md: the gate is #643 with migration 58 and the three lines production gets (EIGENINFERENCE_CLUSTER_PAIR_APPROVALS_FROM_RELEASES=true, EIGENINFERENCE_CLUSTER_PUBLIC_ROUTING=true, EIGENINFERENCE_CLUSTER_PAIR_TRUSTED_TLS_PROXIES=127.0.0.1,::1), with EIGENINFERENCE_CLUSTER_PAIRS unset; the notes name the verbatim entry that still calls production a coordinator without pair control. The 101 rendered entries are unchanged. - provider-release.md, 0.10.6: step 2 sets those lines and drops the split-edge prerequisite; step 3 names the 409 cluster_runtime_conflict; step 4 merges the clustering PR, the facts fix and this preparation into master, each squash-merged, restacked with restack-after-squash.py; step 5 tags this preparation's squash commit; the pre-tag check reads that commit's subject instead of diffing against a dev merge commit. - provider-release.md, Cluster Runtime Facts rollout order: step 4 is the production order (deploy with those lines and the /health check, PROD_CLUSTER_RUNTIME_ENABLED=true, the tag, then the derived release/0.10.6/... approvals), without a DevNet proof, with the trap: a version first registered without the block never gains one (409). - two-mac-cluster.md and configuration.md: production derives approvals from releases once its coordinator runs #643 with approvals from releases; before that deploy it serves none (404). A derived approval ends 90 days after its release registered. - build.md: dev's changes reach master through pull requests into master; #1688 was a merge-commit promotion, 0.10.6 a squash-merged pull request. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The release facts fix is part of the two-Mac clustering pull request now: master is squash-only and asks for a new approval after every push, so each stacked pull request costs the approver another round. Rollout step 4 of the 0.10.6 section therefore merges two pull requests, the clustering one (#1690 and #1692 from dev with master merged in, and the fixes found while preparing this release, such as the release facts fix) and then this preparation, restacked once with restack-after-squash.py after the first squash. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…o the provider 0.10.6 release branch Brings the two text-only amendments of the release preparation: - 8caeea4: the production gate is #643 with migration 58 and the three lines production gets (approvals from releases, public routing, trusted proxies 127.0.0.1,::1), without EIGENINFERENCE_CLUSTER_PAIRS and without the split-edge follow-up fix; the facts rollout order is the production order with the 409 trap instead of a DevNet proof; the pair guide and the configuration reference say production derives approvals after that deploy and serves none before it; the runbook and build.md describe the squash route. - 72bceb8: 0.10.6 reaches master in two pull requests, the clustering one carrying the release facts fix. No conflicts. The tree is this branch's validated tree (f132bbd) plus exactly diff(27dedfe, 72bceb8). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Behaviour-preserving cleanup of 35f7b9f, from the dedicated refactor pass that AGENTS.md requires before the pull request opens. The facts block, --list-release-models and every message and note stay byte for byte the same. - ClusterRuntimeApprovalFacts.release: the left-out list holds the note lines it names (leftOut) instead of a list called othersCatalogIDs that held reason strings and was mapped to those lines afterwards. The doc comment says "whose candidates the worker describes only as another registered model", as the docs do, and that the empty-result error names what was left out. - ClusterRuntimeFactsCommand: one note(_:) writes "note: <line>" to standard error, for the declared families without a qualification and for the catalog IDs release(note:) leaves out, instead of a second copy of that format in a closure. The command's doc comment names both. - ClusterRuntimeApprovalFactsTests: the "another" case of releaseNamesEveryCatalogModelItCannotDescribeAndRefusesAnEmptyResult now passes through the empty-result error, which names the left-out ID; it checks that message's prefix as well as the refusal it already checked. - provider-release.md, release step 6: "every catalog model ID of a listed artifact gets one entry" contradicted the exception the fix added two sentences later. It now reads "every catalog model ID of a listed artifact that it describes as the listed model gets one entry"; the rest of the step is only rewrapped. - configuration.md: the fix's paragraph is rewrapped (one 108-column line); no word changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The clustering branch adds one pending fragment to the 106 this
preparation rendered: kv-reslice-slot-floors.md ("Models load when every
model's minimum KV fits").
CHANGELOG.md: the v0.10.6 block is a fresh
`changelog.py render --version 0.10.6 --date 2026-10-31` of all 107
fragments pending on the clustering branch (249101f), minus its
heading line and the blank line after it, byte for byte. Against the
106-fragment render it only inserts that entry, in filename order. The
notes count 107 entries. The fragment is removed, so changelog.d holds
only its README; the version stays 0.10.6.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… is assembled The re-slice funds every resident's floor first, but a newcomer has no engine yet and counts only the base 1 GiB floor. A newcomer with a small KV rate and its own fixed workspace can therefore still receive less than its floor and fail at assembly with no_kv_headroom: Nemotron 3.5 Lightning loaded seventh beside the reported residents gets 1.443 GB against its 1.587 GB floor (serving width 0), unchanged from 0.10.5. hardware-support.md now states that limit where the floors are described, and inference.md says the re-slice, not every load, refuses only when the floors exceed the fleet KV budget. Behaviour is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…slot's KV floor The fix passes slot floors at both regrow paths and both reserve checks, but only the ProviderLoop pair had a test. Dropping the floors from StandaloneServer.resliceGrowSurvivors and reserveKeepsSurvivorsServiceable left all 350 selected tests passing. The new test mirrors the ProviderLoop one on the same seven-slot scenario: it first checks that the server's own budget starves Lightning under the plain proportional split, then expects the reserve check to pass and the regrow to leave every resident at its floor with serving width, within the budget. With either floors argument removed it fails. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…oves "A load is refused only when the minimums together exceed the budget" promised more than the split can check. The model being loaded counts only the 1 GB base minimum until it is built, so Nemotron 3.5 Lightning loaded beside several high-rate models can still fail with no KV headroom, as on 0.10.5. The entry now says the message appears only when the minimums exceed the budget, and states that limit. Release preparation already rendered this fragment into CHANGELOG.md; the matching one-line change there equals changelog.py render of the new fragment. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… provider 0.10.6 release branch The refactor pass on the KV reslice floor fix: docs for the newcomer floor, a local-server regrow and reserve test, and the release-notes entry that names the refusal it removes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
d0cc185 to
d3d7fba
Compare
davidtai
left a comment
There was a problem hiding this comment.
Approved for master on David's order (2026-10-31). Independent review: no security weakening; model-load fix reads correct.
Threat model review — advisoryReviewed head Review not completed for this head. Previous findings are superseded, not confirmed resolved. Scan incomplete: 1 file(s) could not be fully read as text. Binary, Git LFS and submodule changes require manual review. 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: 50/371 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: 17 request(s), 796345 uncached + 0 cache-read + 0 cache-write input / 12727 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 only conflict was docs/operations/provider-release.md; the preparation's newer release text is kept in both hunks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Release preparation for provider 0.10.6. jonathan308 chose the version on 2026-10-31. This PR follows
docs/operations/provider-release.mdand mirrors #1678 (0.10.5) and #1632 (0.10.4). This PR does not tag, register, upload, deploy or enable anything.It is the second of two PRs into
master, each squash-merged after its approval:dev, the release facts fix, F1, the bounded set-aside, the pair update docs and note, the Qwen pair JSON note and themin_pnote (basemaster);cluster/two-mac-clustering-0.10.6).Gaj then tags
v0.10.6on this PR's squash commit, as for #1678. After the clustering PR's squash, restack this PR withpython3 scripts/restack-after-squash.py 1694 1695 --check, then--push --retarget(docs/developer/pull-requests.md). Keep the clustering branch until the restack is verified.What
ProviderCore.versionis0.10.6../scripts/check-release-version.sh v0.10.6passes.CHANGELOG.mdd3bbcd064ea290fbeb500e5c51c7870e3695741c.python3 scripts/changelog.py render --version 0.10.6 --date 2026-10-31, without its heading line), and exactly those fragments are removed.docs/operations/provider-release.mdchangelog.d;docs/provider/two-mac-cluster.md,docs/reference/configuration.md: production derives approvals from releases once its coordinator runs docs: provider referral program design proposal (share-of-earnings, cohort-locked taper) #643 with approvals from releases; before that deploy it serves none (404). A derived approval ends 90 days after its release registered.docs/developer/build.md: "Thedevbranch" says howdev's changes reachmaster: Release dev into master: two-Mac cluster serving, cluster approvals, CI shards (merge commit, not squash) #1688's merge commit, and 0.10.6's squash-merged pull request.What reviewers should know
Scope: everything on
mastersincev0.10.5:masterintodev(Sync master 228d4b761 (PR 1637: staging-only master lane, dev-push signing gate) into dev #1656, Merge master into dev: 0.10.5, SSD cache, faster hashing, GPT-OSS stops, faster reconnects #1684) and ci: dev builds dev — release-dev-branch.yml calls the reusable release workflow on a dev push #1635 and Release qualification uses production defaults on every branch #1658, whose entries v0.10.5 already published.min_pnote. The provider Qwen pair JSON fix (d01fe976a) is not part of 0.10.6 (refactor pass feat: build Mac private inference core #2, finding M1).No DevNet proof (the owner's decision). DevNet accepted the block of
0.10.5-dev.branch.18but derived no approvals from it, so production is the first coordinator to derive approvals from a release. darkbloom-platform#652 (open, deferred) traces that to DevNet's live settings, which lacked the release-approval switch; the split edge and Conductor were not the cause, and production gets the switch at its deploy. The notes do not claim a DevNet proof.Production facts dry run (read-only GETs of production's public catalog and the model CDN, manifests and
config.jsononly): with the final treefef5eb418,scripts/provider-cluster-runtime-facts.sh <unsigned 0.10.6 app> darkbloom prodpasses (exit 0, 09:50Z; production's catalog is unchanged since 06:50Z: 14 rows, SHA-25668ea826a…, read again at 09:52Z):darkbloom_cluster_runtime_v2block of 12 models and 10,820 bytes (SHA-2564fd4ea8a267e15ccd13f601297bc870b0d613e90ae9fdd6cbdc459db988b67c3), far under 64 KiB, nothing skipped; the model list from--list-release-modelsis SHA-25651c77bdba9e26f9de86077787404e208c9bcfb195602e31594ce890b07e1d9c5; both, and all 26 candidate folders, are byte-identical to every earlier run;gemma-4-26b-8bithas none) and 8 parity qualifications;EigenLabs/Qwen3.8-27B-4bit-mtp,EigenLabs/Ternary-Bonsai-2-9B-MLX-2bit,Qwen3.5-9B,gemma-4-26b-8bit,gemma-4-26b-qat-4bit,glm-5.3-flash,gpt-oss-20b,mimo-v2.6-flash-mopd,nvidia-nemotron-3.5-lightning,qwen3.5-35b-a3b,qwen3.6-35b-a3b-vl-mtp-mxfp8,ternary-bonsai-2-27b;pipeline,tensor_paralleland four qualifications each (table below);gemma-4-26bis left out with a note asregistered_gemma4_26b's catalog ID (the facts fix in Two-Mac clustering for provider 0.10.6: release cluster facts (#1692), heartbeat fix (#1690) and the pair fixes #1694; without it the step fails).Public serving through pairs.
ClusterPublicModelsdeclares exactlyglm-5.3-flashandEigenLabs/Qwen3.8-27B-4bit-mtp, each inpipelineandtensor_parallel. Their qualifications, as production's catalog gives them:g17d-nax1-mlx-<metallib>-macos27.0; the coordinator applies a family's promotable qualifications to any pair of it.response_formatrequest that one Mac would constrain with its grammar is refused on a Qwen pair before any output (constrained_decoding_unsupported, HTTP 400). The coordinator'sfix/coord-pair-refusal-failover, in the platform PR deployed before the tag, moves public ones to a single Mac, which constrains them; the owner's local cluster API gets the refusal. A provider change that skipped the grammar on a pair was dropped: the provider streams every coordinator request and checks a streamed answer only when a grammar was built, so the pair would have answered unchecked.Fragments:
min_pnote and the pair update note add one each;Nothing was corrected in the rendering. The notes name the superseded statements that state a wrong current default, and the four single-Mac statements that v0.10.0 already published.
Single-Mac changes:
invalid_media; aresponse_formatanswer cut off bymax_tokens→client_error;logprobsand reasoning-token counts;min_pnow applies on one Mac too;provider.tomlis written owner-only, and the updater extracts underumask 022.Pins:
libs/mlx(72dffa2d) andlibs/mlx-swift(c633d221) are unchanged since v0.10.5;libs/mlx-swift-lmis7933a0fa(SDK chore(provider): default-on MLX resource-count telemetry in reports (mlx-swift-lm#42) #373, already onmasterwith Release dev into master: two-Mac cluster serving, cluster approvals, CI shards (merge commit, not squash) #1688);metallib_hashshould equal v0.10.5's98bab9d7…614be.Diagrams
Before:
After:
flowchart LR M["master: ProviderCore.version 0.10.6<br/>CHANGELOG: v0.10.6 candidate (106 fragments rendered), v0.10.5 published"] --> G{"production coordinator: #643, migration 58,<br/>approvals from releases, public routing, trusted proxies;<br/>facts dry run exit 0; PROD_CLUSTER_RUNTIME_ENABLED=true"} G -->|signed tag v0.10.6 on this PR's squash commit| R["release-provider.yml: build, SDK qualification, sign, notarize,<br/>cluster runtime facts, R2, register with cluster_runtime"] R --> C["coordinator derives release/0.10.6/model/s1|s2 approvals, grants, public qualifications"] R --> P["platform: provider-contract snapshot + LatestProviderVersion 0.10.6"]Navigation (docs):
flowchart LR subgraph Before B1["two-mac-cluster.md: 'Registered ... (DevNet)'<br/>production serves no approvals"] B2["provider-release.md rollout: dev promotion by merge commit,<br/>DevNet proof before PROD_CLUSTER_RUNTIME_ENABLED"] end subgraph After A1["two-mac-cluster.md: 'Registered ...'<br/>production derives approvals after the #643 deploy (404 before)"] A2["provider-release.md rollout: deploy + /health, facts dry run, variable, tag, confirm;<br/>two squash-merged PRs, restacked once"] endValidation
On an Apple M5 Ultra (macOS 27.0.1, Swift 6.4.2, SDK 27.2), on this branch's final tree
fef5eb418:make changelog-check:0 valid fragment(s).make changelog-preview: only the## Unreleasedheading.python3 scripts/test-changelog.py: OK.changelog.py render --version 0.10.6 --date 2026-10-31of the 106 fragments pending on Two-Mac clustering for provider 0.10.6: release cluster facts (#1692), heartbeat fix (#1690) and the pair fixes #1694's head is byte-identical to the inserted block (minus its heading line and the blank line after it). Against the 102-fragment render it only adds the four new entries, in filename order../scripts/check-release-version.sh v0.10.6:release version integrity: 0.10.6(v0.10.5 is refused).make docs-check:205 file(s) OK, and the docs tests.docs-impact-check.py: coverage OK against Two-Mac clustering for provider 0.10.6: release cluster facts (#1692), heartbeat fix (#1690) and the pair fixes #1694's head (112 files) and againstmaster(153).git diff --check: clean.ProviderCore.swift(the version). Its tree is4df714be2plus the clustering branch's new changes, the render and the step 3 text; the merge19ec3ec80is exactlygit merge-tree's result.the provider test build and the release build;
all five provider shards, counted bundle by bundle because this toolchain prints one summary per test bundle:
the shard 5 extras (desktop API, six native MiMo gates, atomic installer);
Release Integrity: 39 of 40;
the Cluster Metadata Checks: all six pass (worker capability checks with the native build, stage metadata 191 accepted and 36 refused, GPT-OSS stage 534 expectations, Nemotron stage 43, model provisioning 151/151, onboarding 619/619);
the production facts dry run above.
origin/master6ffeaf06c: in shard 1,SandboxAddonTestsreads this Mac's live cluster service andMiMoImageHTTPIngressTestsneeds an image fixture from the model CDN (the same three issue lines as master's own shard-1 run); in Release Integrity, one Python 3.14 case intest-threat-diagnostics.py(the same assertion on master; CI uses 3.12). The shard audit counts one summary per test bundle locally, hence the recount, and Prompt Parity downloads from the CDN.Real-pair E2E (final run, 2026-10-31 09:30–10:08Z). The two Mac Studios ran the CI-signed
0.10.5-dev.branch.18build: this stack's provider code apart from F1, the set-aside fix and the version string. Qwen ran with the tensor assistant off, which is F1's new default for coordinator-registered pairs. The coordinator was built locally from the master-bound platform clustering branch at50d703edd; the final head differs only in names, tests and docs. It ran in production's combined shape and settings: App Attest serving at 100%, the three cluster lines, and a TLS proxy on loopback as host Caddy is.Release: branch.18's exact release registered, deriving 8 approvals, 8 grants and 8 qualifications.
App Attest: both Macs registered with App Attest only (
mda_verified: false). GLM-5.3-Flash and Qwen3.8-27B-4bit-mtp pairs formed in tensor parallel.Public requests served by the pair:
request_outside_envelope, refunded).Every served request was billed once and paid to the owner account: the consumer's net −1,410 µ$ equals the owner's +1,410 µ$.
Qwen
json_object: the pair refused it before any output, and the coordinator's failover ran. With no single Mac in this setup it endeddispatch_exhausted. The reserve was refunded, and no usage or earnings rows were written.Logprobs:
Graceful coordinator restart, five times:
coordinator_close) went out within 1 ms;EIGENINFERENCE_CLUSTER_PUBLIC_ROUTING=false: public requests got 429 and were refunded; the owner's own request got 200.App Attest-only pairs (platform PR B): the pair formed and served public GLM and Qwen requests.
Both Macs were restored to their original configuration afterwards and checked.
Not run:
master's);masterafter merge, before the tag.Open items
darkbloom updateon both, the leader re-plans within a minute, then log out and in so the cluster service runs the new release; after an update from a build before F1, pressmonce if the status says the assistant is not offered. The release notes say so (cluster-pair-update-by-hand.md, rendered here), and the two-Mac guide has the procedure.failingset-aside (registration not delivered in the window, a failed native-pair attach after the acknowledgement), and the hourly retry has a cost: a persistently failing pair loses its local API for a few minutes an hour./healthwas not read for this preparation (refactor pass DGInf: Decentralized private AI inference platform #1, m8); the runbook's step 3 reads it.Refactor pass
f7848077f: a dedicated refactor subagent reviewed it read-only, reproduced the render (SHA-2567180348f…4723for 101 fragments) and left the entries verbatim. Its edits A–F are indd3bd9691: the rollout steps no longer refer to each other; the notes state the production gate as a condition; the notes name the superseded entries and the owner's decisions; the MLX stream-fence fix and the per-build SSD checkpoints; two superseded dev-branch-lane statements are dropped; the permanent Cluster Runtime Facts section separates acceptance from derivation.27dedfe11,8caeea462and72bceb8d7: done (refactor pass DGInf: Decentralized private AI inference platform #1). A dedicated refactor subagent reviewed them againstdf61dd6f.4df714be2names the three platform switches that only DevNet's overlay sets, in the evidence row that read as a contradiction after8caeea462, and drops a planning label. It also merges the clustering branch's refactor pass (cd3409a0f).CHANGELOG.mdwas unchanged by it.739a265e3renders the four new fragments (byte-identical to the tool's output), andfef5eb418(cherry-picked fromdd7da3589) adds the facts dry run to rollout step 3, refactor pass DGInf: Decentralized private AI inference platform #1's recommendation m9.min_pnote were ready with no changes. The Qwen pair JSON fix was dropped from 0.10.6 on its finding M1 (an unchecked streamed answer on public traffic); the coordinator's failover covers those requests instead.Annotated tag message
About 2.6 KB
After merge
master.EIGENINFERENCE_CLUSTER_PAIRS. Check/healthbuild_commit, and thatGET /v1/cluster/approvalsanswers 200 with an empty list. Check that the catalog listsglm-5.3-flash(image and video) andEigenLabs/Qwen3.8-27B-4bit-mtp. Re-run the read-only facts dry run on that catalog; it must exit 0.PROD_CLUSTER_RUNTIME_ENABLED=true.v0.10.6(signed, annotated) on this PR's squash commit with the message above.metallib_hash;gemma-4-26bnote in the log of the step "Compute cluster runtime facts from the final signed app";release cluster approvals omitted.GET /v1/cluster/approvalslistsrelease/0.10.6/<model>/s1|s2. Then the owner's two Macs move to production 0.10.6 (update both, then log out and in; they come from a build before F1, so pressmonce if the status says the assistant is not offered) and form a session underrelease/0.10.6/glm-5.3-flash/s1;GET /v1/me/cluster-pairsshows itsqualification_id.LatestProviderVersion = "0.10.6".Also in these release notes (added 2026-10-31): the model-load fix from #1694. Every co-resident model keeps its KV floor, so loads such as gemma-4-26b-qat-4bit and gpt-oss-20b beside Nemotron 3.5 Lightning are no longer refused when the floors fit.