Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
25 changes: 18 additions & 7 deletions HANDOFF.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down
3 changes: 2 additions & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
15 changes: 11 additions & 4 deletions UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/api-stability.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
22 changes: 12 additions & 10 deletions docs/roadmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion test/beam_mcp/readme_claims_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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."

Expand Down
4 changes: 2 additions & 2 deletions test/beam_mcp/wire_bytes_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,15 @@ 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
args = Map.new(@properties, fn {k, _} -> {k, "x"} end)
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
Expand Down
20 changes: 10 additions & 10 deletions test/fixtures/wire/pre-017.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"_meta": {
"io.modelcontextprotocol/serverInfo": {
"name": "fixture",
"version": "0.11.0"
"version": "0.12.0"
}
},
"cacheScope": "private",
Expand All @@ -27,7 +27,7 @@
"_meta": {
"io.modelcontextprotocol/serverInfo": {
"name": "fixture",
"version": "0.11.0"
"version": "0.12.0"
}
},
"cacheScope": "private",
Expand All @@ -50,7 +50,7 @@
"_meta": {
"io.modelcontextprotocol/serverInfo": {
"name": "fixture",
"version": "0.11.0"
"version": "0.12.0"
}
},
"cacheScope": "private",
Expand All @@ -71,7 +71,7 @@
"_meta": {
"io.modelcontextprotocol/serverInfo": {
"name": "fixture",
"version": "0.11.0"
"version": "0.12.0"
}
},
"cacheScope": "private",
Expand All @@ -95,7 +95,7 @@
"_meta": {
"io.modelcontextprotocol/serverInfo": {
"name": "fixture",
"version": "0.11.0"
"version": "0.12.0"
}
},
"cacheScope": "private",
Expand All @@ -116,7 +116,7 @@
"_meta": {
"io.modelcontextprotocol/serverInfo": {
"name": "fixture",
"version": "0.11.0"
"version": "0.12.0"
}
},
"cacheScope": "private",
Expand All @@ -140,7 +140,7 @@
"_meta": {
"io.modelcontextprotocol/serverInfo": {
"name": "fixture",
"version": "0.11.0"
"version": "0.12.0"
}
},
"cacheScope": "private",
Expand Down Expand Up @@ -171,7 +171,7 @@
"_meta": {
"io.modelcontextprotocol/serverInfo": {
"name": "fixture",
"version": "0.11.0"
"version": "0.12.0"
}
},
"cacheScope": "private",
Expand Down Expand Up @@ -204,7 +204,7 @@
"_meta": {
"io.modelcontextprotocol/serverInfo": {
"name": "fixture",
"version": "0.11.0"
"version": "0.12.0"
}
},
"cacheScope": "private",
Expand Down Expand Up @@ -251,7 +251,7 @@
"_meta": {
"io.modelcontextprotocol/serverInfo": {
"name": "fixture",
"version": "0.11.0"
"version": "0.12.0"
}
},
"cacheScope": "private",
Expand Down