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
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -26,15 +33,14 @@ 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
general-purpose platform with the listed or a compatible operating system, and affirm its
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)

Expand Down
2 changes: 1 addition & 1 deletion HANDOFF.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
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.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
Expand Down
19 changes: 19 additions & 0 deletions test/beam_mcp/publication_content_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
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", %{}, [])) ==
"ad383688645059540e8e17b8726721f74e6eaa7d7e20de3feed80de8736318c1"
"c906ae9bf65c8c664f3523b49b5aefbb17b66c7d6fd40954050a28b5cb6da0cf"
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) ==
"36561b6376e92e74a4006be21fef62f62899ba5a0c2571d6da9c9d7546da6d9b"
"486f9a6744a55c92480d1ceff36f49ca0a1ccc95f2973a22aa394c9981ea0cf7"
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.12.0"
"version": "0.12.1"
}
},
"cacheScope": "private",
Expand All @@ -27,7 +27,7 @@
"_meta": {
"io.modelcontextprotocol/serverInfo": {
"name": "fixture",
"version": "0.12.0"
"version": "0.12.1"
}
},
"cacheScope": "private",
Expand All @@ -50,7 +50,7 @@
"_meta": {
"io.modelcontextprotocol/serverInfo": {
"name": "fixture",
"version": "0.12.0"
"version": "0.12.1"
}
},
"cacheScope": "private",
Expand All @@ -71,7 +71,7 @@
"_meta": {
"io.modelcontextprotocol/serverInfo": {
"name": "fixture",
"version": "0.12.0"
"version": "0.12.1"
}
},
"cacheScope": "private",
Expand All @@ -95,7 +95,7 @@
"_meta": {
"io.modelcontextprotocol/serverInfo": {
"name": "fixture",
"version": "0.12.0"
"version": "0.12.1"
}
},
"cacheScope": "private",
Expand All @@ -116,7 +116,7 @@
"_meta": {
"io.modelcontextprotocol/serverInfo": {
"name": "fixture",
"version": "0.12.0"
"version": "0.12.1"
}
},
"cacheScope": "private",
Expand All @@ -140,7 +140,7 @@
"_meta": {
"io.modelcontextprotocol/serverInfo": {
"name": "fixture",
"version": "0.12.0"
"version": "0.12.1"
}
},
"cacheScope": "private",
Expand Down Expand Up @@ -171,7 +171,7 @@
"_meta": {
"io.modelcontextprotocol/serverInfo": {
"name": "fixture",
"version": "0.12.0"
"version": "0.12.1"
}
},
"cacheScope": "private",
Expand Down Expand Up @@ -204,7 +204,7 @@
"_meta": {
"io.modelcontextprotocol/serverInfo": {
"name": "fixture",
"version": "0.12.0"
"version": "0.12.1"
}
},
"cacheScope": "private",
Expand Down Expand Up @@ -251,7 +251,7 @@
"_meta": {
"io.modelcontextprotocol/serverInfo": {
"name": "fixture",
"version": "0.12.0"
"version": "0.12.1"
}
},
"cacheScope": "private",
Expand Down
6 changes: 5 additions & 1 deletion tools/text_terms.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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