docs: stop pinning a test count in prose
'84 assertions' / '87 assertions' in the README is the same defect as a probe asserting today's catalogue size (lesson (bs)): the number goes stale the first time a test is added, and a reader cannot tell whether it is wrong because the count moved or because coverage regressed. The suite prints its own count.
AuthorPico <picobot@scorpioplayer.com>
Date2026-11-14 08:07:47
Commitcdce71b0
Parents7c66e20b
Changed files
README.md+14−5■■■■■
1 file+14−5
Diff
README.md+14−5■■■■■
index 4e211d6..4059c9f 100644
--- a/README.md
+++ b/README.md
@@ -5,11 +5,17 @@ an agent one `web_search` tool across six backends, and gives you a page to pick
55 backend, store keys and try a real search.
66
77 ```sh
8-make # -> ./plugin_websearch
9-make test # the offline suite (84 assertions, no network, no credentials)
10-make e2e # Playwright at 1440/1024/390, dark + light
8+make # -> ./plugin_websearch
9+make test # the offline suite (no network, no credentials)
10+make e2e # Playwright at 1440/1024/390, dark + light
11+make e2e --shots /tmp/shots # ...without overwriting the committed docs/*.png
1112 ```
1213
14+Every `src/*.h`, `vendor/*.h` and `vendor/bearssl/*.h` is a rebuild prerequisite: a
15+one-line edit to a header (a version bump, a provider id, a buffer size) forces a
16+rebuild, because `make` reporting "Nothing to be done" while the previous binary
17+stays in place is a success message about a stale artifact.
18+
1319 | | |
1420 |---|---|
1521 | Slug / binary | `websearch` / `plugin_websearch` (`--meta` name `websearch`, desc `Web search MCP`) |
@@ -156,8 +162,11 @@ deliberate, and it is the honest answer for this connector:
156162 * **Verified against a recording mock, end to end.** `tests/mockapi.py` serves all six
157163 providers, records the method, path, query, credential header and JSON body of every
158164 request it receives, and the suite diffs that against what each provider's API
159- documents. That is 84 assertions covering request shape, normalisation, error text,
160- auth gating and secret hygiene — the part a plugin can be *wrong* about.
165+ documents, field by field. It covers the request shape, the
166+ normalisation, the error text, auth gating and secret hygiene — the part a plugin can
167+ be *wrong* about. The suite prints its own count; this file deliberately does not
168+ repeat one, because a number written in prose goes stale the first time a test is
169+ added (lesson (bs): a probe describes the behaviour, never today's count).
161170 * **Not verified with a paid key.** Searching Brave/Tavily/Exa/Perplexity for real
162171 needs a paid account, and a plugin that claims `"live"` on the strength of a mock has
163172 told you nothing. The unauthenticated paths were exercised against the real hosts:
164173
README.md+14−5■■■■■
index 4e211d6..4059c9f 100644index 4e211d6..4059c9f 100644
--- a/README.md--- a/README.md
+++ b/README.md+++ b/README.md
@@ -5,11 +5,17 @@ an agent one `web_search` tool across six backends, and gives you a page to pick@@ -5,11 +5,17 @@ an agent one `web_search` tool across six backends, and gives you a page to pick
5 backend, store keys and try a real search.5 backend, store keys and try a real search.
6 6
7 ```sh7 ```sh
8-make # -> ./plugin_websearch8+make # -> ./plugin_websearch
9-make test # the offline suite (84 assertions, no network, no credentials)9+make test # the offline suite (no network, no credentials)
10-make e2e # Playwright at 1440/1024/390, dark + light10+make e2e # Playwright at 1440/1024/390, dark + light
11+make e2e --shots /tmp/shots # ...without overwriting the committed docs/*.png
11 ```12 ```
12 13
14+Every `src/*.h`, `vendor/*.h` and `vendor/bearssl/*.h` is a rebuild prerequisite: a
15+one-line edit to a header (a version bump, a provider id, a buffer size) forces a
16+rebuild, because `make` reporting "Nothing to be done" while the previous binary
17+stays in place is a success message about a stale artifact.
18+
13 | | |19 | | |
14 |---|---|20 |---|---|
15 | Slug / binary | `websearch` / `plugin_websearch` (`--meta` name `websearch`, desc `Web search MCP`) |21 | Slug / binary | `websearch` / `plugin_websearch` (`--meta` name `websearch`, desc `Web search MCP`) |
@@ -156,8 +162,11 @@ deliberate, and it is the honest answer for this connector:@@ -156,8 +162,11 @@ deliberate, and it is the honest answer for this connector:
156 * **Verified against a recording mock, end to end.** `tests/mockapi.py` serves all six162 * **Verified against a recording mock, end to end.** `tests/mockapi.py` serves all six
157 providers, records the method, path, query, credential header and JSON body of every163 providers, records the method, path, query, credential header and JSON body of every
158 request it receives, and the suite diffs that against what each provider's API164 request it receives, and the suite diffs that against what each provider's API
159- documents. That is 84 assertions covering request shape, normalisation, error text,165+ documents, field by field. It covers the request shape, the
160- auth gating and secret hygiene — the part a plugin can be *wrong* about.166+ normalisation, the error text, auth gating and secret hygiene — the part a plugin can
167+ be *wrong* about. The suite prints its own count; this file deliberately does not
168+ repeat one, because a number written in prose goes stale the first time a test is
169+ added (lesson (bs): a probe describes the behaviour, never today's count).
161 * **Not verified with a paid key.** Searching Brave/Tavily/Exa/Perplexity for real170 * **Not verified with a paid key.** Searching Brave/Tavily/Exa/Perplexity for real
162 needs a paid account, and a plugin that claims `"live"` on the strength of a mock has171 needs a paid account, and a plugin that claims `"live"` on the strength of a mock has
163 told you nothing. The unauthenticated paths were exercised against the real hosts:172 told you nothing. The unauthenticated paths were exercised against the real hosts:
164173