diff --git a/CHANGELOG.md b/CHANGELOG.md index b0379ad..60220b9 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 76c88a1..cecf0b1 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 5354caa..9982cc1 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 22adab3..6448387 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 7419a69..a5ed507 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 a067c63..ca9dc0b 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 f7f7c3d..4455f1b 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 133d1c3..74556ea 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