From d2e00366c02ea154bdaa679a84d756a6a69ee81d Mon Sep 17 00:00:00 2001 From: Martin Vogel Date: Tue, 20 Oct 2026 21:21:30 +0200 Subject: [PATCH] test(contract): drop the language-count surfaces #2729 stopped claiming The #2729 messaging refresh removed the language count from docs/index.html, docs/llms.txt, pkg/npm/README.md, scripts/package-release.sh and server.json, so Step 0w (tests/test_language_count_contract.sh) failed on main for every PR: each of those files was still registered as a surface but stated no count. They leave SURFACES; README.md and the Chocolatey nuspec still carry the count and stay gated. Section 4 still fails if any dropped file states a count again without being registered (checked by re-adding one). Signed-off-by: Martin Vogel --- tests/test_language_count_contract.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tests/test_language_count_contract.sh b/tests/test_language_count_contract.sh index 33c9a01cb..93d171d6f 100644 --- a/tests/test_language_count_contract.sh +++ b/tests/test_language_count_contract.sh @@ -46,14 +46,12 @@ if [[ "$manifest_count" != "$expected" ]]; then fi # --- 3. Every published surface must claim exactly that number. --- +# The #2729 messaging refresh dropped the count from docs/index.html, +# docs/llms.txt, pkg/npm/README.md, scripts/package-release.sh and server.json; +# section 4 below still fails if any of them states a count again unregistered. SURFACES=( README.md - docs/index.html - docs/llms.txt - pkg/npm/README.md pkg/chocolatey/codebase-memory-mcp.nuspec - scripts/package-release.sh - server.json ) # Files that legitimately say " languages" about something OTHER than the