From bce75549bb1663c67fac1a56d6f9a34fb452a471 Mon Sep 17 00:00:00 2001 From: Ayla Croft Date: Sun, 29 Nov 2026 20:27:35 -0500 Subject: [PATCH] Release 0.12.0: the quiet minor No public entry, wire byte, exported byte or default moved: the full minor release unchanged that the README's 1.0.0 condition asks of 0.11.0's surface. docs/public-api.txt did not move (release_markers!("0.12.0") wrote nothing). The package's code is 0.11.0's. The version the results carry moves, so the wire recording's ten version lines are re-taken and the two cross-OTP wire hashes re-pinned; each new body, with its one 0.12.0 set back to 0.11.0, hashes to the old pin. Instruments and pages since 0.11.0: the patched OTP floors (27.3.4.20, 28.5.0.9, 29.1.3), the FIPS leg under OpenSSL FIPS providers 3.5.9 and 3.1.2, the weekly advisory watch, docs/fips.md on platforms a provider's certificate does not name, and a No-CUI notice. The README recommends ~> 0.12.0; UPGRADING, SECURITY, the roadmap and HANDOFF say 0.12.0. Signed-off-by: Ayla Croft --- CHANGELOG.md | 2 ++ HANDOFF.md | 25 ++++++++++++++++++------- README.md | 8 ++++---- SECURITY.md | 3 ++- UPGRADING.md | 15 +++++++++++---- docs/api-stability.md | 4 ++-- docs/roadmap.md | 22 ++++++++++++---------- mix.exs | 2 +- test/beam_mcp/readme_claims_test.exs | 6 +++++- test/beam_mcp/wire_bytes_test.exs | 4 ++-- test/fixtures/wire/pre-017.json | 20 ++++++++++---------- 11 files changed, 69 insertions(+), 42 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c3f7057..dee8e2c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,8 @@ All notable changes to this project are documented here. The format follows ## [Unreleased] +## [0.12.0] - 2026-11-30 + ### Documented: running on a platform the provider's certificate does not name, and a No-CUI notice - `docs/fips.md` quotes the FIPS 140-3 CMVP Management Manual's section 7.9.2: a user may port a diff --git a/HANDOFF.md b/HANDOFF.md index 0b4d9f2..76c88a1 100644 --- a/HANDOFF.md +++ b/HANDOFF.md @@ -3,10 +3,10 @@ SPDX-FileCopyrightText: 2026 Sudo Apt Holdings LLC SPDX-License-Identifier: Apache-2.0 --> -# HANDOFF: beam_mcp, release 0.11.0 prepared (freeze-readiness and a security floor); publish and tag are the owner's +# HANDOFF: beam_mcp, release 0.12.0 prepared (the quiet minor); publish and tag are the owner's Tag and publish are owner steps: never `mix hex.publish`, never push a tag, never bump the -version in `mix.exs`. For 0.11.0 the version bump is this release commit, reviewed like any +version in `mix.exs`. For 0.12.0 the version bump is this release commit, reviewed like any other change; publishing and tagging remain the owner's, in the order the runbook below gives. The slice records (plans, findings, lane reports, signoffs, archived gate runs) live in the @@ -15,6 +15,18 @@ happened. ## State +- **`0.12.0` is the quiet minor**: the "full minor release unchanged" the README's `1.0.0` + condition asks of `0.11.0`'s surface. No public entry added, removed, renamed, hidden or + changed in arity (`docs/public-api.txt` did not move; `release_markers!("0.12.0")` wrote + nothing), no wire, exported or envelope byte beyond the version the results carry (the + recording's ten version lines re-taken; the two cross-OTP wire hashes re-pinned, and each new + body, with its one `0.12.0` set back to `0.11.0`, hashes to the old pin, measured). The + package's code is `0.11.0`'s. Instruments and pages: the patched OTP floors of 2026-11-24 + (27.3.4.20, 28.5.0.9, 29.1.3), the suite in FIPS mode under two validated OpenSSL FIPS + providers (3.5.9, CMVP #5586, which approves ML-DSA; 3.1.2, #4985), with a negative control + that can now fail; the weekly advisory watch; `docs/fips.md` on platforms a provider's + certificate does not name (FIPS 140-3 Management Manual section 7.9.2); a No-CUI notice. The + README recommends `~> 0.12.0`. Publish under `tools/hex-version` (Hex 2.5.3). - **`0.11.0` is freeze-readiness and a security floor, with two documented breaks.** The host contract: dispatch's third argument carries a reserved `:mcp` key (the request's `_meta`, the client's capabilities, the revision it is served under). The exported bytes: resource @@ -146,10 +158,9 @@ happened. ## What is next -**`0.12.0`, the quiet minor**, then **`1.0.0`** once it has stood: the README's condition, that -the public API and the stated threat model have each survived a full minor release unchanged. -`0.11.0` changed the host contract and the threat model's HTTP/2 row, so the stand starts -again at `0.12.0`. The freeze is `docs/public-api.txt` as it stands; `docs/api-stability.md`'s +**`1.0.0`**, once `0.12.0` has stood: the README's condition, that the public API and the +stated threat model have each survived a full minor release unchanged. `0.11.0` changed the +host contract and the threat model's HTTP/2 row, so `0.12.0` is that minor. The freeze is `docs/public-api.txt` as it stands; `docs/api-stability.md`'s 1.x rules take effect. After it, as additions at the minor: the federation seam (held on another board's answer), effective connectivity, the Tasks extension. A compiler-tracer census (module-body code run at compile time) is scheduled with its lift measured. Sign-aware @@ -192,7 +203,7 @@ workaround in `tools/sbom.sh` goes when an upstream release reads it). - The `2025-11-25` revision is served on stdio only; over HTTP the conformance row for it is 0 / 30 by design, and the README says so beside the number. -## The release steps, the runbook (followed for 0.6.0 to 0.10.1; the same for 0.11.0) +## The release steps, the runbook (followed for 0.6.0 to 0.11.0; the same for 0.12.0) 1. The release PR merged to `main` by rebase (the ruleset requires two green checks); `main` is then the release commit. diff --git a/README.md b/README.md index f82810b..c8fa0c4 100644 --- a/README.md +++ b/README.md @@ -19,11 +19,11 @@ and refuses one that is not; what a tool *does* is the host's business. ```elixir def deps do - [{:beam_mcp, "~> 0.11.0"}] + [{:beam_mcp, "~> 0.12.0"}] end ``` -**`~> 0.11.0`, not the more usual `~> 0.11`.** While this package is `0.x` it documents breaks +**`~> 0.12.0`, not the more usual `~> 0.12`.** While this package is `0.x` it documents breaks at the **minor** position, and it has used that position six times: `0.2.0` removed two fields from results for legacy-declared requests, `0.3.0` added the HTTP transport and the `ttlMs`/`cacheScope` fields `2026-07-28` requires on `tools/list`, `0.4.0` replaced the @@ -38,8 +38,8 @@ exported bytes), and `0.11.0` hands dispatch the request's context under a reser exported bytes), each with a how-to-tell sentence in the changelog (`0.7.0` is an addition at the minor, the signer seam; `0.8.0` a quiet minor in which no public entry moved; `0.9.0` two additions at the minor, the `:server` seam and the scheme beside the signature; `0.10.0` a -quiet minor again; none a break). `~> 0.11` would admit a `0.12.0`, so it -would carry you across the next such break on a routine `mix deps.update`; `~> 0.11.0` does not. The tighter form is deliberate and is not an over-pin to be tidied away. What the pin +quiet minor again; `0.12.0` a quiet minor again; none a break). `~> 0.12` would admit a `0.13.0`, so it +would carry you across the next such break on a routine `mix deps.update`; `~> 0.12.0` does not. The tighter form is deliberate and is not an over-pin to be tidied away. What the pin buys is written down: [`docs/api-stability.md`](docs/api-stability.md) says what is public (what ex_doc lists, `docs/public-api.txt` line by line), how a deprecation runs (three steps, three minors), and what a `0.x` break must say; a census holds the surface to that record. diff --git a/SECURITY.md b/SECURITY.md index 65af5f4..bb26500 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -128,7 +128,8 @@ entry says so when it does. | version | supported | |---|---| -| `0.11.x` | yes | +| `0.12.x` | yes | +| `0.11.x` | no, superseded | | `0.10.x` | no, superseded | | `0.9.x` | no, superseded | | `0.8.x` | no, superseded | diff --git a/UPGRADING.md b/UPGRADING.md index 85a553c..1deb707 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -13,7 +13,7 @@ says **BREAKING**, which the census requires. ## The rule for `0.x` -Breaks land at the **minor** position and nowhere else. Pin `~> 0.11.0` (the current minor, +Breaks land at the **minor** position and nowhere else. Pin `~> 0.12.0` (the current minor, three numbers), not `~> 0.11`: the tighter pin stops at the next minor, which is where the next documented break can be, so a routine `mix deps.update` never carries you across one. To move a minor: read the release's rows below and their CHANGELOG entries, apply each "how @@ -81,6 +81,10 @@ arrived as strings); a host that compared against `"true"` compares against `tru keyword, where it had been advertised and ignored. No public entry moved; `~> 0.10.0` admits the patch. Take `beam_mcp_signer` `0.2.1` beside it. +**`0.12.0` breaks nothing.** No public entry, wire byte, exported byte or default moved; the +package's code is `0.11.0`'s. Raise the pin to `~> 0.12.0`. `beam_mcp_signer` `0.4.0` +(requirement `~> 0.7`) resolves beside it. + **`0.11.0` breaks two things, and raises a security floor.** Dispatch's third argument is your `dispatch_opts` followed by one reserved key, `:mcp`, holding the request's `_meta`, the client's capabilities and the revision it is served under: a host whose `dispatch_opts` has @@ -120,11 +124,14 @@ Stated here so nobody infers it from a plan's label or a folder's name: work had to land first, so that `1.0.0` freezes this package's own call surface and nothing a shared contract or a sibling system may still move; it changed the host contract, so the clock restarts at `0.11.0`. -7. **`0.11.0`**, this release: freeze-readiness and a security floor. Two documented breaks +7. **`0.11.0`**: freeze-readiness and a security floor. Two documented breaks (the host contract, the exported bytes), the wire's bytes stable across OTP releases, the growth table, and `Bandit` `~> 1.15`. -8. **`0.12.0`**, the quiet minor: the "full minor release unchanged" for `0.11.0`'s surface, - measured by `docs/public-api.txt` not moving. +8. **`0.12.0`**, this release, the quiet minor: the "full minor release unchanged" for + `0.11.0`'s surface, measured by `docs/public-api.txt` not moving. Instruments and pages: the + patched OTP floors of 2026-11-24, the suite in FIPS mode under two validated OpenSSL FIPS + providers (3.5.9, which approves ML-DSA, and 3.1.2), the weekly advisory watch, and + `docs/fips.md` on running where a provider's certificate names no platform of yours. 9. **`1.0.0`**, after `0.12.0` has stood: the surface frozen as `docs/api-stability.md` says. ## What `1.0` will ask diff --git a/docs/api-stability.md b/docs/api-stability.md index 5922586..f9f4542 100644 --- a/docs/api-stability.md +++ b/docs/api-stability.md @@ -44,7 +44,7 @@ removes a callable arity and is a change to the entry), then markers: `R` is a release number, or the word `Unreleased` while the change waits in the CHANGELOG's Unreleased section; the release that ships it writes its number in -(`MIX_ENV=test mix run -e 'BeamMCP.PublicAPI.release_markers!("0.11.0")'`, one step of cutting +(`MIX_ENV=test mix run -e 'BeamMCP.PublicAPI.release_markers!("0.12.0")'`, one step of cutting a release), and the census refuses a leftover `Unreleased` once that section is empty. That step is the one place that knows the release's number, so it holds the three rules the census cannot: with a `removed_in=Unreleased` line in the file it refuses a patch number, and on @@ -83,7 +83,7 @@ From the release this page ships in, a break is a CHANGELOG heading carrying the census holds the Unreleased section to that), and `UPGRADING.md` lists them. Earlier releases documented their breaks under headings of their own wording (`0.2.0`'s "two fields are REMOVED", `0.4.0`'s "BREAKING, and it breaks a host contract"); `UPGRADING.md` names each with -its CHANGELOG heading. That is why the README recommends the current minor at three numbers (`~> 0.11.0`) rather than two (`~> 0.11`): the +its CHANGELOG heading. That is why the README recommends the current minor at three numbers (`~> 0.12.0`) rather than two (`~> 0.12`): the tighter pin stops at the next minor, which is where the next documented break can be. A patch release carries no break to the public surface, the wire, the exported bytes or the host contract, a rule the census cannot check (it does not know which number the next release diff --git a/docs/roadmap.md b/docs/roadmap.md index 9bb9ede..97c6226 100644 --- a/docs/roadmap.md +++ b/docs/roadmap.md @@ -10,7 +10,15 @@ gathers what `UPGRADING.md`, the README and `docs/will-not-implement.md` already place. The order is firm; the dates are not promised. When this page and one of those disagree, those are the record and this page is corrected. -## Now: `0.11.0`, freeze-readiness and a security floor +## Now: `0.12.0`, the quiet minor + +`0.11.0` changed the host contract, so the stand the README's `1.0.0` condition asks for started +again: `0.12.0` is a minor in which no public entry is added, removed or changed, measured by +`docs/public-api.txt` not moving. Instruments and pages only: the patched OTP floors, the suite +in FIPS mode under two validated OpenSSL FIPS providers, the weekly advisory watch, and +`docs/fips.md` on platforms a provider's certificate does not name. + +## Before: `0.11.0`, freeze-readiness and a security floor So that `1.0.0` freezes this package's own call surface and nothing a shared contract or a sibling system may still move: the request's context reaches dispatch under a reserved `:mcp` @@ -26,16 +34,10 @@ instruments and pages, no public entry added, removed or changed (the suite in F on the validated OpenSSL FIPS provider, a CycloneDX SBOM attested to each release tarball, the documentation free of em dashes). -## Next: `0.12.0`, the quiet minor - -`0.11.0` changed the host contract, so the stand the README's `1.0.0` condition asks for starts -again: a minor in which no public entry is added, removed or changed, measured by -`docs/public-api.txt` not moving. - -## Then: `1.0.0`, the freeze +## Next: `1.0.0`, the freeze -`1.0.0` follows once the public API and the stated threat model have each survived a full -minor release unchanged (the README's condition). From `1.0.0`, `docs/public-api.txt` is +`1.0.0` follows once `0.12.0` has stood: the public API and the stated threat model have each +survived a full minor release unchanged (the README's condition). From `1.0.0`, `docs/public-api.txt` is frozen as `docs/api-stability.md` describes: an incompatible change ships only in a major version, after three minors of deprecation warnings. `UPGRADING.md` says what a `0.x` consumer needs to do to reach it. diff --git a/mix.exs b/mix.exs index 77e6716..22adab3 100644 --- a/mix.exs +++ b/mix.exs @@ -4,7 +4,7 @@ defmodule BeamMCP.MixProject do use Mix.Project - @version "0.11.0" + @version "0.12.0" @source_url "https://github.com/ScriptKittyOS/beam_mcp" # The oldest OTP this project supports. Mix has an `elixir:` key but none for OTP, so the diff --git a/test/beam_mcp/readme_claims_test.exs b/test/beam_mcp/readme_claims_test.exs index 1a5cc16..f2917e2 100644 --- a/test/beam_mcp/readme_claims_test.exs +++ b/test/beam_mcp/readme_claims_test.exs @@ -137,7 +137,7 @@ defmodule BeamMCP.ReadmeClaimsTest do describe "the dependency requirement the README hands a consumer" do test "it does not span the wire break this release documents" do - requirement = "~> 0.11.0" + requirement = "~> 0.12.0" claims("{:beam_mcp, \"#{requirement}\"}") version = Mix.Project.config()[:version] @@ -151,6 +151,10 @@ defmodule BeamMCP.ReadmeClaimsTest do "carried across them by a routine deps.update would fail, or read the new bytes " <> "as malformed, which is what the minor bump was chosen to prevent." + refute Version.match?("0.11.0", requirement), + "0.11.0 is one minor back; 0.12.0 was a quiet minor that moved no public entry, so " <> + "a host on ~> 0.11.0 moves by raising the pin alone." + refute Version.match?("0.9.0", requirement), "0.9.0 is two minors back; 0.10.0 was a quiet minor that moved no public entry." diff --git a/test/beam_mcp/wire_bytes_test.exs b/test/beam_mcp/wire_bytes_test.exs index 7679172..a067c63 100644 --- a/test/beam_mcp/wire_bytes_test.exs +++ b/test/beam_mcp/wire_bytes_test.exs @@ -102,7 +102,7 @@ defmodule BeamMCP.WireBytesTest do test "tools/list with a 40-property schema is the same bytes on every OTP release" do assert sha256(post("tools/list", %{}, [])) == - "333969afe44262bbb34fa086165b38ace6ae52eb41bcce8e9dd351322bcf82d0" + "ad383688645059540e8e17b8726721f74e6eaa7d7e20de3feed80de8736318c1" end test "a tools/call whose result has 40 keys is the same bytes on every OTP release" do @@ -110,7 +110,7 @@ defmodule BeamMCP.WireBytesTest do conn = post("tools/call", %{"name" => "wide", "arguments" => args}, [{"mcp-name", "wide"}]) assert sha256(conn) == - "f2708ed1ef6970b2feef29b50bcc7b036d4b2edcae6fa6e56c5862ab9f9eeb75" + "36561b6376e92e74a4006be21fef62f62899ba5a0c2571d6da9c9d7546da6d9b" end # A refusal is bytes on the wire too: which property it names, and in which order it lists diff --git a/test/fixtures/wire/pre-017.json b/test/fixtures/wire/pre-017.json index cf1718d..f7f7c3d 100644 --- a/test/fixtures/wire/pre-017.json +++ b/test/fixtures/wire/pre-017.json @@ -7,7 +7,7 @@ "_meta": { "io.modelcontextprotocol/serverInfo": { "name": "fixture", - "version": "0.11.0" + "version": "0.12.0" } }, "cacheScope": "private", @@ -27,7 +27,7 @@ "_meta": { "io.modelcontextprotocol/serverInfo": { "name": "fixture", - "version": "0.11.0" + "version": "0.12.0" } }, "cacheScope": "private", @@ -50,7 +50,7 @@ "_meta": { "io.modelcontextprotocol/serverInfo": { "name": "fixture", - "version": "0.11.0" + "version": "0.12.0" } }, "cacheScope": "private", @@ -71,7 +71,7 @@ "_meta": { "io.modelcontextprotocol/serverInfo": { "name": "fixture", - "version": "0.11.0" + "version": "0.12.0" } }, "cacheScope": "private", @@ -95,7 +95,7 @@ "_meta": { "io.modelcontextprotocol/serverInfo": { "name": "fixture", - "version": "0.11.0" + "version": "0.12.0" } }, "cacheScope": "private", @@ -116,7 +116,7 @@ "_meta": { "io.modelcontextprotocol/serverInfo": { "name": "fixture", - "version": "0.11.0" + "version": "0.12.0" } }, "cacheScope": "private", @@ -140,7 +140,7 @@ "_meta": { "io.modelcontextprotocol/serverInfo": { "name": "fixture", - "version": "0.11.0" + "version": "0.12.0" } }, "cacheScope": "private", @@ -171,7 +171,7 @@ "_meta": { "io.modelcontextprotocol/serverInfo": { "name": "fixture", - "version": "0.11.0" + "version": "0.12.0" } }, "cacheScope": "private", @@ -204,7 +204,7 @@ "_meta": { "io.modelcontextprotocol/serverInfo": { "name": "fixture", - "version": "0.11.0" + "version": "0.12.0" } }, "cacheScope": "private", @@ -251,7 +251,7 @@ "_meta": { "io.modelcontextprotocol/serverInfo": { "name": "fixture", - "version": "0.11.0" + "version": "0.12.0" } }, "cacheScope": "private",