T6: a worked walkthrough instead of a list of parts
The pieces were all here — a client config on this page, JSON-RPC examples in Tools Reference — but
nothing joined them into *what happens when you ask a question*, which is the first thing a reader wants
to know. `Home.md` now walks one question through all four tools: a search that returns ranked results
with per-engine attribution, opening a page when a snippet is not enough, a grounded answer that abstains
rather than inventing, and the status call that tells "no results" apart from "no provider".
Every claim in it was checked against the code rather than written from memory: the mode names are
`fast`/`balanced`/`thorough`, the statuses include `not_configured` and `circuit_open`, the fetch cap is
10 MiB by default and applies during transfer, `web_answer` reports its missing key rather than answering
from nowhere, and the four tool names match the schema constants.
Two other things:
- **`Home.md` claimed 624 tests.** The suite is 627 — the depth-guard and peer-address tests landed
after that number was written. It is the same drift the README and AGENTS.md had.
- **`Testing.md`'s "What CI has caught" is gone.** It was a list of three past defects CI happened to
find: development history on a reader-facing page, which is what this task asked to remove. The CI
section above it already says what the gates do, which is the part a contributor needs.
1.3.0 is out; the tracker is empty
**`v1.3.0` is released** — `mcps-1.3.0-macos-arm64.tar.gz` with its checksum and `SHA256SUMS`, built
native `arm64` from the tag, published. The wiki's release pointer, the test count (627) and the two
security pages follow it.
**T6 is closed, and the tracker has nothing open.** It was the last entry: the security fixes were on
`main` and in no release, and now they are in one. Both of the caveats this wiki added when the fixes
were unreleased are rewritten to say what a release contains rather than what it lacks — the address
check is in `v1.3.0`, and the older, unsound nesting model is a `v1.2.0` property now.
The two security fixes are on main and in no release — say so
`v1.2.0` is the current release, and it has neither fix: no address check at all, and the nesting guard
with the older model that read shallower than the parser on 18 of 37 real pages. This wiki was
describing the fixed behaviour without saying so, which is the one thing a security page must not do —
a reader on the released binary would believe they had protections they do not.
So each of the two sections now ends with what a release does and does not contain, `Home.md` no longer
attributes the suite count to "the released build", and the tracker gains **T6**, because fixes that no
release carries are open work with a known next step.
Tests: 623 → **624**, and the skip note now names both opt-in runs — the six live provider tests and
the nesting guard's real-page corpus — rather than implying there is only one reason a test can skip.
Tracker: open work only, numbered — and the limitations it held moved to where they belong
The tracker was a mix of three things: open tasks, accepted limitations, and information. It is now
open work only, every entry numbered, with nothing closed and nothing that is merely informational.
**Numbered.** `T1`–`T5`. Numbers are never reused, so a gap means a closed entry rather than a
renumbered one — which is the point of numbering a page whose entries are deleted when they close.
**Removed**, because none of it is open work:
- the `Node1 <node1@Node1.local>` author note, which the page itself said needed "nothing that should
be done";
- the whole **Accepted limitations** table — decisions, not tasks, and the table claimed each was
already documented where a user meets it;
- **How something gets fixed here** — process, not work. The two rules a reader of this page needs are
now in its preamble: closed entries are deleted, and numbers are never reused.
**Removing the limitations table was not free, and it is worth saying what it cost.** Four pages linked
into `#accepted-limitations`, and that anchor died with the section. Worse, two of the five limitations
— the macOS-runner dependency and the absence of JavaScript execution — were **only** stated here; the
table's own "Documented in" column pointed at `Testing.md` and `Tools-Reference.md`, where neither was
actually written down. Deleting the section would have deleted them from the wiki. So they were moved
to the pages that were always supposed to carry them:
- `Testing.md` gains **What CI cannot promise** — shared runner capacity, a run that queues for fifteen
minutes, and `cancel-in-progress` superseding it, so "did not run" is not "failed";
- `Tools-Reference.md` gains the no-JavaScript boundary under **Extraction**.
The remaining dead links were repaired: `Compatibility.md` and `Security.md` pointed at the deleted
anchor, and `Testing.md` and `Troubleshooting.md` credited the tracker with entries it never had.
**T5 is new**, and it is the reason the page is more than a restructure: `Testing.md` called a scheduled
live smoke test on CI "still open work on the Project Tracker", and the tracker had never listed it.
Open work that a page points at should exist on the page it points to.
Sync with the code: the rebinding gap is closed, and the counts are right
Three things on this wiki no longer matched the code.
**The DNS-rebinding limitation is closed.** `Security.md` recorded the missing address
pinning as an accepted limitation, and `Project-Tracker.md` listed it as a decision. The
transport limitation is real and remains — `URLSession` exposes no pinning — but it no
longer decides whether an attacker gets the content: the fetch now reads the address the
connection actually used off the task metrics and refuses the body unless it was one the
policy resolved for that host. `Security.md` describes that, including what it is not
(detection, not prevention) and where it does not apply, and the tracker row is rewritten
to the residual rather than deleted, because the connection is still made.
**The test counts were stale** — 610 and 590 against an actual 623.
**The nesting bound had no page.** `MarkupDepth` is a denial-of-service defence on the
fetch path and was undocumented: it is measured on the raw bytes before parsing, models
HTML's implied end tags rather than counting brackets, and is a sound upper bound on the
tree the parser builds. It now has a section in `Security.md`, a row in the threat model,
and its test file in `Testing.md`'s layout table.
`Monitor.md`'s "6101ms" is a latency in a screenshot and was left alone.
Tests: 610, matching the suite after the audit's additions
Home.md carried the count twice — the summary table and the release-gate paragraph.
Home: the suite is 597 tests after the audit's four additions
A0045 added three SearXNG answer-shape tests and A0046 one Mojeek filter test, so the 'current
release' counts on this page were stale by four.
Home: 1.2.0 is the current release, and the suite is 593 tests
The release shipped, so the two references that describe "the current release" are stale: the
version link still pointed at v1.0.1, and the test count was 591 (now 593, with the two monitor
tests added for the local-machine rule).
All providers on by default; the fleet is native; the CAPTCHA is transient
Three corrections, all of them things this wiki stated the other way.
**Nothing is opt-in.** The scrapers and Parallel were listed as opt-in. Every provider is now
enabled by default, including the ones needing no credential: a provider without a credential
reports not_configured and the rest still answer the query, so an install with no keys searches
instead of refusing.
**The fleet runs natively.** All five instances are native under launchd now, not Colima
containers — same listener, no VM in the path, and no login-keychain dependency during install.
The table also listed this Mac twice, once as 'this Mac' and once as 'node1', which made five
machines look like six; it is one machine, and the table now says so.
**The DuckDuckGo CAPTCHA is transient.** This page called it a second fault that only a
different egress could clear. A burst of probing provoked the challenge on every endpoint, and a
single polite request afterwards returned HTTP 200 with 12 real results. It is back-pressure to
be rate limited around, not a verdict on the engine.
Docs: make the wiki a user guide, and reduce the tracker to open work
The wiki had drifted into a development record. This is the pass that makes it something a user can
read: the audit history comes out, the tracker keeps only what is open, and the three reference pages
that had no examples get them.
Project Tracker
* 1011 lines -> ~60. It was a history of the audit, an action plan, observations and decisions; the
task now is what is open. Closed items are deleted rather than archived, so an entry that is gone is
done — the CHANGELOG and release notes are where a shipped fix belongs.
* What remains: the four open items (the PAT rotation, now issue #16; `node5`; the unasserted
second half of the "two executables against one stub" contract; and one commit authored under a
worker identity, which is recorded rather than rewritten), plus the six **accepted limitations**
as decisions with the reason and the page that documents each.
* Adds how a fix happens here, because that is what a reader needs to judge whether to report
something.
Home
* Drops the "Project status" audit history — PR numbers, commit SHAs, ledger IDs, Phase E runs and a
path into `AUDIT/` that no longer exists — for a "Current release" section a user can act on.
* Test count 590 -> 591.
Examples
* **Providers**: a working two-provider configuration, and asking `web_search_status` what the server
actually sees instead of assuming the environment took effect.
* **Reliability**: the two knobs that cover most tuning, and what a partial answer looks like.
* **Security**: the supported way to expose the HTTP transport — reverse proxy, loopback bind, and the
declared host name that everything else is refused against.
Also removes two stale ISSUE- references from Compatibility and Security, and repoints an anchor at
the tracker's accepted-limitations table, which is what the old `#known-limitations` anchor had named.
Every internal wiki link and anchor now resolves.
Docs: 1.0.1, and stop the install snippet going stale
Installation
* The download snippet pinned `V=1.0.0`. Since 1.0.1 is now `latest`, every URL in it 404s —
the page would have told a new user to fetch an archive that no longer exists at that path.
It now resolves the newest tag with `curl -w '%{url_effective}'`, so it cannot go stale again.
Ran the whole snippet end to end against the live release: resolves 1.0.1, downloads,
checksum verifies, extracts, `lipo -archs` says arm64, `--help` runs.
* `lipo -info` -> `lipo -archs`, which is the assertion the release standard actually makes.
* Archive contents now name `README-binaries.txt`, which the packaging step adds.
Testing
* `mcp_smoke.py` now asserts the server reports the version in `VERSION`; the CI list said only
that it checked the handshake and stdout purity.
* `static-analysis` gains the version-agreement gate, and records that shellcheck covers
`tools/*.sh` as well as `deploy/provision-node.sh`.
Home
* "590 tests" -> 591, and "139 audit tasks" -> 140, to match the tracker.
Project Tracker
* Records the 1.0.1 release: the single-sourced identity, what `tools/release.sh` does, and that
the dry run refused to publish three times before it was clean.
Deliberately not changed: the Phase E results quoted in the tracker and Home ("590 tests, all 18
gates, coverage 91.6/91.7 %"). Those describe specific runs at specific commits and were true
then; rewriting them to match today would falsify the audit record rather than update it. Only
present-tense claims about what `main` carries were corrected.
Docs: 1.0.0 release, and make the getting-started path actually work
Release v1.0.0 exists now, so the wiki can point at it — and two things needed fixing first.
Installation
* Adds a "Fastest path: use a prebuilt binary" section ahead of Requirements, with the download,
checksum verification, and the archive's contents. The old page sent every reader to a source
build, which is the slowest possible onboarding for a tool that ships a binary.
* States the architecture up front: Apple silicon only (arm64, M1 and later), no Intel slice. That
is the failure a wrong architecture claim actually produces -- someone downloads it and it will
not run.
* Notes that the binaries are not notarised, and that a curl download carries no quarantine flag
while a browser download does.
* Fixes two stale facts: swift-nio was described as "a version range, not an exact pin" (it has been
pinned exactly at 2.102.0 since the audit), and the tools-version mismatch example still showed
6.3/5.10 and recommended Xcode 26.6. It now shows the real 6.4/6.3.3 error and Xcode 27.
* Corrects the extract step: the archive has a top-level directory, so the documented `./SwiftWebSearchMCP`
needed a `cd` first.
Home
* Quick start now leads with the binary download and shows the full client config inline, so the
first screen answers "how do I run this" without a second click. Links the changelog.
Project Tracker
* Records the release, with what was built and what was tested before publication.
The audit is merged into main: record the merge and close ISSUE-19
PR #1 was merged on 2026-09-15 as the merge commit 9c3b533, after CI on the final head passed
every check. It was merged rather than rebased so that every audited commit keeps the SHA the
ledger, the evidence artifacts and this tracker cite -- main's recurring badge-refresh commits
also mean a fast-forward is not a stable target.
Home.md no longer says main is still the pre-audit tree; the tracker header reads 139 DONE /
0 BLOCKED with the verified commit and the gate numbers, and ISSUE-19 is resolved with the
reasoning for the merge method. Recently resolved gained the merge row.
Mirror the go-live session: B122-B127 closed, Phase E on node2, tracker resynced
Project-Tracker: header and status at a glance now read 139 DONE / 0 BLOCKED, 590 tests,
Swift 6.4 / Xcode 27, PR #1 MERGEABLE after main was merged into the branch. ISSUE-18 (B122) is
resolved as "propagate cancellation" with B97 re-pinned and the rejected alternative recorded;
ISSUE-19 updated to the post-reconciliation state; ISSUE-20 records that the cleartext PAT was
re-confirmed in two local wiki clones (rotation stays a human action). Recently resolved gained
the go-live entries, the Action plan is marked superseded by the audit ledger.
Home/Testing/Installation: Swift 6.4, 590 tests, xcode-27 runner, and the manifest-floor note
(the floor stays 6.3 so GitHub's CodeQL scan keeps building).
Ledger is authoritative; this page mirrors it.
Document every open item and topic in the project tracker
The tracker still described the audit as in progress and did not list its three
genuinely open items. Adds:
- ISSUE-18: B122, cancellation during answer synthesis is swallowed so the tool
layer's cancelled arm is unreachable - a contract decision needing an owner, with
both mutually exclusive resolutions stated.
- ISSUE-19: the fixes are not in main until PR #1 merges.
- ISSUE-20: operational housekeeping - the PAT in cleartext in .git/config, the one
Node1-authored commit, and B99's still-open two-executables contract.
- Three new Known limitations: B79's real-but-not-resident allocation, B93's
unreachable fallback, and the eleven false/stale audit premises.
Also marks the audit complete, corrects the stale 371-test count to 588, refreshes
the CI row, adds an Audit row to Status at a glance, records the completion and the
last tasks under Recently resolved, and brings Home.md in line.
Mirror the ledger at 3644fbc; correct Home's stale status line
Project-Tracker: 89 DONE / 40 START of 129, HEAD 3644fbc, and B116 (the
intermittent suite failure found while establishing the baseline on the
independent host) added to the closed list.
Home: the Project status paragraph quoted main at 4eaf7e9/run 34731005495, two
commits and one run behind reality, and said the 371-test suite without noting
that the audit branch carries 489. It now states main's real position and that the
tracker's counts describe the branch rather than main - the split that produced
most of this wiki's inaccuracies.
Close ISSUE-6 as refused, not pending
Bring the at-a-glance counts to 371 and record the verified green CI
Record the 368-test suite, the new coverage, and the defects it found
Follows the test-coverage pass (c02c969, 5afa7a7, bc56236):
- Test count 309 -> 368, 6 opt-in live tests gated on SEARCH_LIVE_TESTS plus a
usable key; README, Home, Testing and Project-Tracker.
- Testing layout: HTTPTransportTests (7), FetchFallbackTests (11), ProbeTests
(15, NodeProbe + ProviderProbe); ProviderContractTests 27 -> 51 now runs the
shared failure taxonomy across every adapter; LiveProviderTests 7 -> 8 with the
opt-in guard. Contract section no longer lists coverage gaps; the only gap is
live-only Tavily, moved to Known limitations.
- Two defects the new tests found recorded in the audit trail: NodeProbe read
unresponsiveEngines while SearXNG emits unresponsive_engines, so the monitor's
unavailable-engine column was always empty; OpenWebSearchProvider documented a
bare top-level array it could not decode. Both fixed in 5afa7a7.
- Resold-provenance folding reworded in Architecture and Known limitations:
folding needs per-result engines (SearXNG, Open Web Search); a response-level
adapter gets the discount without folding.
- Project-Tracker: HEAD bc56236, tasks 26-33 marked done (33 except the scheduled
live smoke), ISSUE-5 resolved, audit note updated, ff7ffbc corrected to ff7ffbb,
the write-one-response-per-request HTTPMCPHost fix recorded, and status/CI
brought up to date (run for bc56236 in progress).
Reconcile the wiki with the implementation
Corrects every page the 17-commit correctness pass made stale:
- Test count 287 -> 309 (6 opt-in live tests); Home, Testing, Project-Tracker.
- Smoke test is a presence check against REQUIRED_TOOLS; exactness lives in
StdioServerTests/SchemaCompatibilityTests. Testing reworded.
- SSRF: embedded-IPv4 unwrapping documented in Security, 0.0.0.0/8 added to
reserved, DNS-rebinding window recorded as an accepted limitation.
- Jina is not a provider: Providers table row removed, section rewound,
Configuration explains JINA_API_KEY only raises the reader limit.
- ProviderCapabilities deleted; adding-a-provider no longer lists capabilities.
- SEARCH_CONNECT_TIMEOUT_MS removed from Configuration; request timeout is what
bounds a connect, and Reliability says so.
- Transport flags reject an explicit --transport stdio conflict (Installation,
Troubleshooting).
- Reliability: deadline no longer trips breakers, last-resort local wait,
fan-out refill.
- Monitor: providers probed once on the first frame only; --watch and
--allow-expensive-probing documented.
- Self-Hosting: pinned digest, canary validation, per-node secret key, local
instance loopback-only, Docker Desktop LaunchAgent and its removal.
- Security/Compatibility: no built-in auth by design; human-readable text block
rather than a JSON mirror of structuredContent.
- Project-Tracker: CI status corrected to green-pending-the-run, resolved issues
moved to the audit trail (open issues 17 -> 6), 47-task plan annotated with
completions, decisions added for the connect timeout, Jina, DNS rebinding and
auth.
- Testing: local builds need --scratch-path outside Dropbox; .build is now
com.dropbox.ignored.
Document web_answer: grounded synthesis, and why the model is not a provider
Adds the tool reference, the four configuration variables, the architecture
placement and the measurements behind the design.
The load-bearing finding is that the model has no web access. That is why it
cannot be a search provider -- as one it would emit plausible prose with
invented URLs, which is the failure this project exists to avoid -- and why
grounding it in already-fetched results is safe: it cannot cite a document
the search never retrieved.
Evidence recorded, all measured against deepseek-flash (V4.1-Flash):
- unaided it answered 'newest macOS is 26.4.1' while the machine ran 26.6.2
- grounded on the reference query it replied INSUFFICIENT rather than
inventing the explanation the results did not contain
- grounded on a live price query it answered from six real sources
- ~2s to synthesise, ~7s per balanced call, ~$0.0003 per answer, no
fabricated URLs in any run
Also documents the thinking-mode trap: the API default is enabled, the
reasoning pass shares the output-token budget, and a call can return
completion=4000/reasoning=4000/content='' under HTTP 200.
Corrects the stale test counts to the measured 287 and the tool count to
four throughout.
Correct the DuckDuckGo diagnosis: DNS poisoning, not IP reputation
Measured per node (account matches hostname) rather than inferred:
node1..4 egress 182.253.9.73, no exit node, distinct public IPv6
this Mac egress 91.99.176.243 via the deltasona exit node
Probing each engine directly shows the earlier 'blocked by IP' note was
wrong. The Indonesian ISP poisons html.duckduckgo.com for EVERY resolver
including 8.8.8.8 and 1.1.1.1, so the name is dead before a connection is
made; pinning the real address returns HTTP 200 and real results from the
node. Bing and Brave resolve normally there.
The second fault is separate: SearXNG's DuckDuckGo engine is CAPTCHA'd
even from the clean German egress, because it uses scripted form POSTs.
Our own adapter does not share that fault and returned 10/10.
Also: node5's account hypothesis is disproved, the stale 179/216 test
counts are corrected to the measured 256, and Self-Hosting now documents
the two-egress engine tables and the extra_hosts workaround.
Rebuild the project tracker around open issues and observations
The tracker had grown into a chronological changelog: the top sections were
completed work, and open items were scattered through it with no way to see what
actually needed attention. Reorganised so the open work is the first thing on the
page.
- Status at a glance: one line per area.
- Open issues: 13 numbered, stable IDs, each with severity, area, the measured
evidence behind it, and a proposed action. ISSUE-1 through ISSUE-13.
- Observations: measurements that are not defects but would otherwise have to be
rediscovered - the measured provider limits, engine availability from this
network, the fusion weight invariant, and five tooling traps from the node
rollout that each presented as something else.
- Decisions: eight choices recorded with their reasoning, because several look
arbitrary without it - notably why registry fusion weights are all 1.0 and why
the schemas are closed with additionalProperties.
- Recently resolved: the previous changelog, compressed to a commit-indexed
table so the audit trail survives without dominating the page.
Four of the new issues were found by auditing rather than by a failure: the
web_open title duplication, the unpinned SearXNG image, the URLError descriptions
reaching diagnostics, and this Mac's container daemon not starting at login.
Document the mcps-mon dashboard
New Monitor page: what it shows, why provider probing is opt-in, every flag and
key, and how the two probe paths work.
Two design decisions are worth recording because they are easy to get wrong:
- Nodes are asked for JSON directly, not through the MCP server. An instance that
is running but has JSON disabled answers 403, and reporting that as "down"
would send an operator looking for a network fault. It shows as DEGRADED with
the real reason instead.
- Providers are probed one at a time through the same adapters the server uses,
never through the orchestrator, because a fused answer deliberately hides which
provider failed - which is precisely what the dashboard exists to show.
Also notes that the testable parts live in the library rather than the
executable, since an executable's symbols cannot be imported by a test target.
Document the SearXNG cluster deployment
New Self-Hosting page: the five instances and their Tailscale addresses, how to
provision a node, the four traps that cost the most time during rollout, and the
measured behaviour.
It records the result honestly rather than just the success. The cluster does not
deliver what was hoped for: all four nodes share one egress IP behind a single
NAT, so they add no network reach, and DuckDuckGo fails from both egress points
tried - CAPTCHA from the German exit and a connection error from the Indonesian
one. Four instances behind one address are redundancy, not diversity. Nor is this
an independent index: every instance queries the same upstream engines.
Also records what is still blocked: node5 rejects key authentication, and the
server takes one SEARXNG_BASE_URL at a time, so the extra instances are a choice
of endpoint rather than parallel fan-out.
Document client compatibility, OpenAI/Anthropic/Open Responses
Adds a Compatibility page recording what each client and API requires, verified
against official documentation, plus the schema rules the server must follow and
why each one exists. Several of those rules are counter-intuitive - notably that
additionalProperties:false is required rather than risky, and that nullable type
unions are officially supported - so the reasoning is captured rather than the
conclusion alone.
Also documents the Streamable HTTP transport: endpoints, the session and Accept
requirements it enforces, and the security posture (loopback by default, no
authentication, TLS behind a reverse proxy).
Updates Installation (transport flags), Tools Reference (nullable optionals, and
text carried once rather than duplicated), Testing (209 tests, HTTP smoke
coverage, the schema rule tests), Home and every navigation strip, and the
Project Tracker, which now records the remaining HTTP gaps honestly: no auth, no
TLS, no server-initiated streaming, and no end-to-end test against a real vendor
client yet.
Write the full project wiki
Grows the wiki from eight short pages into a complete, navigable reference of
eleven pages, and adds the two that were missing:
- Installation: requirements, building, client configuration, verification.
- Tools Reference: every argument, response field, mode, error category and
example call for the three tools.
- Reliability: the timeouts, retries, circuit breakers, rate limits and cache
that enforce the "one vendor outage never fails a search" rule, with the
failover matrix.
- Architecture, Providers, Configuration, Security, Testing and Troubleshooting
are expanded into full references rather than summaries.
Every page carries a navigation strip, all internal links are verified, and the
detail that was previously duplicated in the repository README now lives here.
Build the wiki: architecture, providers, config, security, testing, tracker
Replaces the placeholder Home page with real documentation and adds the
project tracker.
Beyond reference material, several pages record findings that are easy to
lose:
- Providers.md documents the API quirks each adapter depends on: Mojeek
authenticates by query parameter and returns HTTP 200 for a bad key,
Brave reports an invalid token as 422 plus an error code, Exa answers a
missing key with 402 and has no score field, SearXNG returns 403 when
JSON is disabled, and DuckDuckGo signals its bot challenge with HTTP 202.
- Security.md explains why three SSRF layers are needed and what exactly is
refused.
- Testing.md documents the hermetic-environment requirement, which was a
real defect: end-to-end tests used to inherit ambient provider keys.
- Project-Tracker.md is the living task list, with the same-index
double-counting limitation recorded honestly as open rather than solved.