From babf206be8e69f8229ca008e0902d6f586efeeb3 Mon Sep 17 00:00:00 2001 From: Ayla Croft Date: Sun, 29 Nov 2026 22:00:17 -0500 Subject: [PATCH] Release 0.12.1: a notice removed from the README, and a guard against its return 0.12.0 shipped a notice at the top of the README that did not belong in this package. It is removed from the README, the CHANGELOG and HANDOFF. The publication test now refuses any tracked file that names the company's compliance work, and tools/text_terms.sh refuses the same in commit messages and pull-request bodies. No code, wire byte, exported byte or public entry changes. 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.1 set back to 0.12.0, hashes to the old pin. Signed-off-by: Ayla Croft --- CHANGELOG.md | 10 ++++++++-- HANDOFF.md | 2 +- README.md | 3 --- mix.exs | 2 +- test/beam_mcp/publication_content_test.exs | 19 +++++++++++++++++++ test/beam_mcp/wire_bytes_test.exs | 4 ++-- test/fixtures/wire/pre-017.json | 20 ++++++++++---------- tools/text_terms.sh | 6 +++++- 8 files changed, 46 insertions(+), 20 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b0379ad4..60220b9f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,13 @@ All notable changes to this project are documented here. The format follows ## [Unreleased] +## [0.12.1] - 2026-11-30 + +### Fixed: the README + +- A notice at the top of the README, which `0.12.0` shipped and which did not belong in this + package, is removed. No code, wire byte, exported byte or public entry changes. + ### Added: post-quantum TLS, measured (tests and pages; no public entry) - `test/beam_mcp/transport/pq_tls_test.exs` serves the HTTP transport from `Bandit` over HTTPS and @@ -26,7 +33,7 @@ All notable changes to this project are documented here. The format follows ## [0.12.0] - 2026-11-30 -### Documented: running on a platform the provider's certificate does not name, and a No-CUI notice +### Documented: running on a platform the provider's certificate does not name - `docs/fips.md` quotes the FIPS 140-3 CMVP Management Manual's section 7.9.2: a user may port a validated Level 1 software module, built unmodified as its security policy says, to another @@ -34,7 +41,6 @@ All notable changes to this project are documented here. The format follows continued validation; the CMVP makes no statement about such a port. It names the two modules with aarch64 Linux among their tested environments (AWS-LC 4, #5595; Chainguard's OpenSSL 3.6 provider, #5523) and corrects the earlier line that no OpenSSL provider had one. -- The README asks that no Controlled Unclassified Information be posted to this repository. ### Changed: patched OTP floors, and a second validated FIPS provider in CI (instruments; no public entry) diff --git a/HANDOFF.md b/HANDOFF.md index 76c88a1d..cecf0b18 100644 --- a/HANDOFF.md +++ b/HANDOFF.md @@ -25,7 +25,7 @@ happened. (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 + certificate does not name (FIPS 140-3 Management Manual section 7.9.2). 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 diff --git a/README.md b/README.md index 5354caa6..9982cc15 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,6 @@ SPDX-License-Identifier: Apache-2.0 # BeamMCP -> **No CUI.** Do not paste, upload or describe Controlled Unclassified Information in this -> repository's issues, pull requests or discussions. - [![OpenSSF Best Practices](https://www.bestpractices.dev/projects/14774/badge)](https://www.bestpractices.dev/projects/14774) A Model Context Protocol server core for the BEAM. Protocol handling, two transports (stdio and diff --git a/mix.exs b/mix.exs index 22adab3c..6448387a 100644 --- a/mix.exs +++ b/mix.exs @@ -4,7 +4,7 @@ defmodule BeamMCP.MixProject do use Mix.Project - @version "0.12.0" + @version "0.12.1" @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/publication_content_test.exs b/test/beam_mcp/publication_content_test.exs index 7419a691..a5ed5070 100644 --- a/test/beam_mcp/publication_content_test.exs +++ b/test/beam_mcp/publication_content_test.exs @@ -59,6 +59,25 @@ defmodule BeamMCP.PublicationContentTest do assert hits == [], "consumer names in: #{inspect(hits)}" end + # The owner's rule (2026-11-30): nothing about the company's compliance work (controlled + # information, protected environments) on any public surface. 0.12.0 shipped such a notice at the top of + # the README; it is removed, and this keeps it removed. The words are built from pieces so this + # file does not carry them itself. + # A function, not an attribute: OTP 28 regexes are references and cannot be escaped into one. + defp compliance_terms do + [~r/\bC#{"UI"}\b/, ~r/Controlled #{"Unclassified"}/i, ~r/encl#{"ave"}/i] + end + + test "no tracked file names the company's compliance work" do + hits = + for file <- tracked([]), + {line, n} <- numbered_lines(file), + Enum.any?(compliance_terms(), &Regex.match?(&1, line)), + do: "#{file}:#{n}" + + assert hits == [], "compliance-program text in: #{inspect(hits)}" + end + defp tracked(prefixes) do {out, 0} = System.cmd("git", ["ls-files", "-z", "--" | prefixes]) out |> String.split(<<0>>, trim: true) diff --git a/test/beam_mcp/wire_bytes_test.exs b/test/beam_mcp/wire_bytes_test.exs index a067c63e..ca9dc0be 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", %{}, [])) == - "ad383688645059540e8e17b8726721f74e6eaa7d7e20de3feed80de8736318c1" + "c906ae9bf65c8c664f3523b49b5aefbb17b66c7d6fd40954050a28b5cb6da0cf" 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) == - "36561b6376e92e74a4006be21fef62f62899ba5a0c2571d6da9c9d7546da6d9b" + "486f9a6744a55c92480d1ceff36f49ca0a1ccc95f2973a22aa394c9981ea0cf7" 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 f7f7c3dc..4455f1b0 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.12.0" + "version": "0.12.1" } }, "cacheScope": "private", @@ -27,7 +27,7 @@ "_meta": { "io.modelcontextprotocol/serverInfo": { "name": "fixture", - "version": "0.12.0" + "version": "0.12.1" } }, "cacheScope": "private", @@ -50,7 +50,7 @@ "_meta": { "io.modelcontextprotocol/serverInfo": { "name": "fixture", - "version": "0.12.0" + "version": "0.12.1" } }, "cacheScope": "private", @@ -71,7 +71,7 @@ "_meta": { "io.modelcontextprotocol/serverInfo": { "name": "fixture", - "version": "0.12.0" + "version": "0.12.1" } }, "cacheScope": "private", @@ -95,7 +95,7 @@ "_meta": { "io.modelcontextprotocol/serverInfo": { "name": "fixture", - "version": "0.12.0" + "version": "0.12.1" } }, "cacheScope": "private", @@ -116,7 +116,7 @@ "_meta": { "io.modelcontextprotocol/serverInfo": { "name": "fixture", - "version": "0.12.0" + "version": "0.12.1" } }, "cacheScope": "private", @@ -140,7 +140,7 @@ "_meta": { "io.modelcontextprotocol/serverInfo": { "name": "fixture", - "version": "0.12.0" + "version": "0.12.1" } }, "cacheScope": "private", @@ -171,7 +171,7 @@ "_meta": { "io.modelcontextprotocol/serverInfo": { "name": "fixture", - "version": "0.12.0" + "version": "0.12.1" } }, "cacheScope": "private", @@ -204,7 +204,7 @@ "_meta": { "io.modelcontextprotocol/serverInfo": { "name": "fixture", - "version": "0.12.0" + "version": "0.12.1" } }, "cacheScope": "private", @@ -251,7 +251,7 @@ "_meta": { "io.modelcontextprotocol/serverInfo": { "name": "fixture", - "version": "0.12.0" + "version": "0.12.1" } }, "cacheScope": "private", diff --git a/tools/text_terms.sh b/tools/text_terms.sh index 133d1c33..74556ead 100755 --- a/tools/text_terms.sh +++ b/tools/text_terms.sh @@ -17,5 +17,9 @@ # one pattern; the pattern names nothing the tree does not name already # (test/beam_mcp/publication_content_test.exs carries the consumer names and the board prefix). set -uo pipefail -grep -i -E 'Co-Authored-By:|Claude-Session:|claude\.ai|claude\.com|Generated with \[Claude Code\]|SCR-[0-9]+|Ultraviolet|Trinity' && exit 1 +# The company's compliance work (controlled information, protected environments) is never named on a public +# surface (the owner's rule, 2026-11-30); the words are built from pieces so this file, which the +# publication test reads, does not carry them. +compliance="\\bC""UI\\b|Controlled Un""classified|encl""ave" +grep -i -E "Co-Authored-By:|Claude-Session:|claude\\.ai|claude\\.com|Generated with \\[Claude Code\\]|SCR-[0-9]+|Ultraviolet|Trinity|${compliance}" && exit 1 exit 0