wiki: rewrite the project tracker to the task-table standard
f614712
T6: the wiki describes what is, not what changed
Seven passages narrated the project's own development — "The list used to…", "previously ran each
instance as a Colima container", "An earlier version of this page concluded… That was wrong", "`e` used
to hide the engine data". A reader arriving at a page wants to know how the thing works, and every one of
those sentences made them read a diff first.
Each is rewritten to state the current behaviour and keep the substance. "It used to carry a loopback
`this-mac` and `node1`… which made four machines report as five" becomes "**A machine is counted once**,
which matters because the engine warning threshold is a fraction of the node count" — the reason the
behaviour matters survives; the history does not.
One of the seven was mine: the note I added to `Security.md` explaining that an earlier version had
recorded the missing pin as an accepted limitation. That belongs in the tracker or the changelog, not in
the middle of a reader's explanation.
Swept all 14 pages afterwards; the only remaining matches for the history phrases are `cannot be used to
hide depth` and the `Refused to fetch` heading, both false positives on the substring.
a91549b
Testing: the test-layout table named four files that no longer exist
`CoreUnitTests`, `FusionAndReliabilityTests` and `MonitorTests` were each a grab-bag of unrelated test
classes; splitting them by class means those names are gone, and a table telling a reader to look in a
file that does not exist is worse than no table. The rows now name the files that are actually there.
Also corrected while in the table: `HTTPClientTests` claimed a "Latin-1 fallback", which is the behaviour
the charset work replaced — it now decodes by the declared charset.
And one addition that the splits made necessary: a note that a class past a comfortable size is split
into a base file plus a `+Topic` extension, and that XCTest discovers tests in extensions the same way,
so the suite count is identical either way. That is the question a reader will have when they see
`StdioServerTests+Arguments` and wonder where those tests went.
`TestSupport`, `TestDoubles` and `LoopbackServer` now have a row too — they are the harness, not tests,
which the table did not previously say.
51afc02
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.
b666c70
Testing: drop the reference to T1, which no longer exists
Closing an entry means deleting it, so a pointer to it is a dead link — the same problem a citation to a
deleted ledger would be. The sentence now says what is actually true: the live-coverage gap follows from
credentials being optional and mostly absent, which is design rather than a shortcoming.
Swept the other 13 pages for references to T1-T6; this was the only one.
f2bf991
Tracker: one open entry, with a status column
**T4.** The page listed no closed work already, but its table had no status — `# | Task | What it
needs` cannot say whether something is open, blocked or in progress, which is most of what a tracker is
for. It is now `# | Problem | Status | What it needs`.
**T7 is the one genuine open entry**, and it is new because it was previously recorded only as prose in
`RELEASE.md`: `main` is unprotected. Verified rather than repeated — the branch-protection API answers
`404 Branch not protected` and the rulesets list is empty. Nothing stops a failing change merging, so
every check this project runs is advisory, including the security gates. Some of the repository's own
automation pushes to `main` directly, which protection would either permit explicitly or stop.
Nothing else qualifies. `RELEASE.md`'s other open-sounding note — the release script checks for a
competing build only once — is explicitly accepted there with a working rule, so it is a limitation and
this page does not track limitations. There are no TODO or FIXME markers in the code, and the wiki's
other "not yet" statements are decisions (Apple silicon only, bearer-token auth out of scope).
**T3.** Confirmed exactly one tracker: `Project-Tracker.md` is the only page titled as one, and all 24
navigation links point at it. The two pages that looked like they might duplicate it are `## OpenAI`,
`## Open Responses` and `## Open Web Search`.
9b1d4a8
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.
5bbe1b3
T1 and T2 close as intended; the credential rule becomes a scope statement
**T2** was the audit's `A0001` — the `tvly-` prefixed literals in the history. It is closed in the
ledger as intended for testing, on evidence the finding did not have: they are arguments to
`isUsableKey(...)`, a key validator, and to config and probe paths, never to a live request, and they
come in six different lengths (19 to 47) — the shape of validator fixtures, not one issued credential.
**T1** — four providers without credentials — is closed as intended too. Nothing here was broken: every
credential is optional, a provider without one fails over cleanly, and the server says what is missing.
Rather than just delete the row and wait for someone to file it again, that is now a **scope statement**
in the preamble, alongside the two exclusions already there: a provider reporting `not_configured` is by
design and not a defect.
The rest of the wiki already said so — `Configuration.md` ("the server never refuses to start over
missing configuration"), `Providers.md`, `Tools-Reference.md` and the README — so the tracker was the
only page implying the opposite.
Open work is now **T4**, **T5** and **T6**.
c248648
Tracker: put T6 after T5
Numbers are not reused and the sequence should read in order; T6 was inserted above T5 because that is
where the anchor was, not because it belongs there.
95655cc
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.
f89d9cb
The depth model failed against real pages, and that is now on the record
`Security.md` claimed the guard was "a sound upper bound ... exact on 24 of 25 representative
constructs". That corpus was hand-written, and the model turned out to read *shallower* than the parser
on **18 of 37 real pages** — the direction that lets a crash through. The page now says so, with what
the two defects were and where they were fixed.
The tracker's **T3** — "the nesting bound is verified against 25 hand-written constructs, not real
pages" — is done, so it is deleted rather than archived, and the number is not reused.
`Testing.md` now names the opt-in run so the check is repeatable: `MARKUP_DEPTH_CORPUS=<dir>`, skipped
by default so the suite stays hermetic, which is the same arrangement as the live provider tests.
a78fc5d
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.
d3afc49
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.
b2559a2
Tests: 610, matching the suite after the audit's additions
Home.md carried the count twice — the summary table and the release-gate paragraph.
0a5582d
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.
1d9c47d
Testing: name the harness-tests job, and what it now owns
The static-analysis list named the linters and the version gate but never mentioned
`scripts/harness_tests.py`, so the page did not say where the harnesses no Swift test can reach are
actually driven.
It matters more after the soak assertions moved into it: they were inline heredocs in that job, and
the release gate runs this module without reading CI's steps, so while they lived there the release
checked less than CI did.
290f2c7
Tracker: the two-executable contract is asserted now; Testing: how
The open entry asked for "a test that points SwiftWebSearchMCP and mcps-mon at the same stub and
compares what each reports". `scripts/dual_client_contract.py` is that test, wired into CI's
build-and-test job and into the release gate's parity step, so the entry leaves this page: closed
is deleted here, not archived.
Testing.md gains the section it belongs in, including the negative result that makes it worth
trusting — removing NodeProbe's unresponsive_engines mapping, the historical defect it exists to
catch, makes it fail.
213ce96
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).
1fac553
Monitor: the local machine is not a second node, and the field meant to say so now does
The default node list carried a loopback `this-mac` *and* the local machine's own Tailscale entry.
They are the same machine — this Mac is node1 — so a four-machine fleet reported **five nodes**,
and because the engine-warning threshold is a fraction of the node count, one node's failing engine
was doubled into *"unavailable on 2 node(s)"*: a fleet-level warning for a single machine. Measured
live before the fix: `SEARCHXNG NODES 5 up` with `this-mac` and `node1` side by side.
The list is now built from the host: the local instance is the loopback entry, named after the
host, and the matching remote entry is dropped. `macbook-ab` is absent by design — it binds
loopback only, so no other machine can probe it; it is the local node when the monitor runs there.
`NodeProbe.Target.isLocal` existed for exactly this distinction and stopped at `Target`: set in
five places, read nowhere, never carried into `NodeStatus`. It is now carried through, and used to
separate the one warning that deserves its own line — this machine's own instance being down means
the local server has lost its local provider, which is not the same as a remote node being
unreachable and is the more urgent of the two to read.
One stale comment corrected: `probeTargets` claimed "usable first, then unconfigured ones". Nothing
sorted — the display is the operator's `SEARCH_PROVIDER_ORDER`, which is the right behaviour and
the wrong description.
Asserted, with the host injected so the rule does not depend on the machine running the tests:
`defaultNodes(localHostname: "node1")` is exactly node1–node4 with one local entry;
`localHostname: "macbook-ab"` keeps all four cluster nodes and adds itself; no name appears twice;
and a down local node produces its own warning without also being counted among the remote ones.
e895c2e
Self-Hosting: provisioning is native now; the tracker gains the four providers awaiting keys
**Provisioning.** The page told operators the script installs Colima, the docker CLI and a
container. It installs the native SearXNG the fleet actually runs — `deploy/install.sh --method
native --searxng-only` — and the install has one implementation, so provisioning cannot drift from
the deployment again. Rewritten, with the option list and why `--searxng-only` is what lets a node
skip both the Swift toolchain and the published release.
The container material is now labelled as the alternative it is: the digest pin belongs to
`docker-compose.yml`, which nothing in the fleet runs. The "instance on this Mac" and Docker
autostart sections described a state that no longer exists — no SearXNG container on any machine,
Docker Desktop not running, the LaunchAgent not installed — so they say that instead. The traps
table keeps the one that still applies (a non-login shell never applies `brew shellenv`), marks
the rest as container-path knowledge, and gains the `grep -q`/`pipefail` trap found while testing.
**Tracker.** Two stale entries and one new one:
* Added: four providers have no credential here — Brave, Mojeek, Exa and Open Web Search report
`not_configured` on all five machines. They are enabled and fail over cleanly, so searches
succeed; they simply never contribute. The next step is one key at a time.
* Deleted: the accepted limitation that the engines block this cluster by DNS. It was true and it
is fixed at the tailnet level, and this page's rule is that closed is deleted.
* Corrected: Startpage is described as staying listed and enabled, not disabled — everything is
enabled by default now.
The intro said credentials are not tracked here. Which providers are waiting for one is work with a
known next step, so it is tracked; the credentials themselves still never appear.
114a7b2
Record the eight public resolvers now in the tailnet DNS configuration
Cloudflare and Google are added as global nameservers alongside the Cloudflare DoH entry, all
with useWithExitNode so exit-node devices honour them. Tailscale groups a provider's addresses,
so 8.8.8.8 alone brings Google's four; they are listed explicitly here because that is what the
configuration now holds.
They are safe additions rather than a risk because Tailscale upgrades public global nameservers
to DoH — queried directly over UDP/53 the same addresses return the ISP block page for
duckduckgo.com. Verified on all five machines after the change: the client receives all nine
resolvers and a forced provider=duckduckgo search returns results on each.
319cca5
Correct the macOS per-service DNS claim, and record the resolvers now set there
This page claimed per-service DNS beats MagicDNS on macOS and that clearing it was what fixed a
blocked machine. Setting all eight public resolvers on every network service of all five machines
shows otherwise: scutil --dns still reports 100.100.100.100 as resolver #1 with 8.8.8.8 as #2, and
DuckDuckGo resolves everywhere. The machine that looked broken was on an exit node and its new DNS
configuration had not been applied yet; clearing its per-service DNS coincided with the fix rather
than causing it. Recording a coincidence as a mechanism is worse than recording nothing, because
it sends the next person to change settings that were never the problem.
Also records that those eight resolvers are now set in macOS itself as an addition, and why that
is safe: Tailscale upgrades public global nameservers to DoH, while querying them directly over
UDP/53 returns the ISP block page.
18e26c4
DuckDuckGo is fixed at the tailnet level; record how
The ISP redirects UDP/53 to a resolver that answers duckduckgo.com with an RPZ block page. The
tailnet's DNS configuration now carries Cloudflare over DoH as a global nameserver, with
useWithExitNode and overrideLocalDNS, so MagicDNS resolves the real address on every machine. All
five return real DuckDuckGo results.
Records the four details that made it fiddly, because each cost time and each will recur:
* POST /dns/preferences replaces the object — sending only overrideLocalDNS turned MagicDNS off.
* GET /dns/preferences does not report overrideLocalDNS, so a successful write looks ignored;
/dns/configuration reports everything.
* /dns/nameservers rejects useWithExitNode (flat strings only); the combined /dns/configuration
endpoint accepts it, and without it an exit-node device ignores the tailnet nameserver.
* macOS per-service DNS beats MagicDNS even with overrideLocalDNS, including on a service named
'Tailscale'; clearing each with networksetup was the last step.
00ad779
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.
97d9875
Correct the DNS diagnosis: UDP/53 is redirected, not every resolver poisoned
This page concluded that the DuckDuckGo block 'applied to every resolver including 8.8.8.8 and
1.1.1.1', and that no resolver change could help. The observation was real and the inference was
wrong: those queries never reached the resolvers they named, because the ISP redirects UDP/53.
The responder's own identity settles it, and it takes two commands:
dig @1.1.1.1 CH TXT id.server # UDP/53 -> noc-dev (the ISP's Unbound 1.19.2)
dig @1.1.1.1 +tcp CH TXT id.server # TCP/53 -> cgk01 (Cloudflare, Jakarta)
TCP/53 and DoH return the real address, so this is fixable in place. On a Tailscale network it
is one setting: MagicDNS is the system resolver everywhere and forwards to the DHCP-provided ISP
resolvers, so a DoH global nameserver in the admin console, with Override local DNS, lifts the
block for the whole tailnet.
Providers.md carried the same wrong claim and is corrected with it; the DuckDuckGo entry also now
distinguishes this fault from the CAPTCHA, which a different egress is the only cure for.
242228e
Self-Hosting: the docker context can hide a running instance
On a machine with both Colima and Docker Desktop, the docker CLI may default to the
desktop-linux context while SearXNG runs inside Colima. `docker ps` is then empty and a
perfectly healthy node looks uninstalled; `docker --context colima ps` shows the container and
its real uptime. Recorded because it was hit while verifying all four nodes, and because it
costs nothing to check and a lot to misread.
Also notes that deploy/install.sh adopts a working instance rather than installing a second
one: it probes the loopback port with a real query before touching anything, so an instance
that is already serving is left alone however it was started.
9885a60
Installation: the installer, and why a local SearXNG is mandatory
Documents deploy/install.sh as the recommended path and the reasoning behind making SearXNG a
requirement rather than a suggestion: every vendor provider is optional and metered, so an
install with no provider is a server that answers every query with 'no search provider is
configured'.
Records the two things that make this installer worth having rather than a list of commands: it
verifies through the JSON API and not /healthz, because an instance without the json format
answers health checks with 200 and returns 403 to the API the server uses; and a Docker failure
mentioning credentials or the keychain is the login keychain being unavailable to a
non-interactive session, which --method native sidesteps entirely.
bcbfeb5
Docs: DuckDuckGo — why a DNS block looks like a TLS bug, and why fixing DNS is not enough
Two findings from making this provider's failure legible, both worth writing down because
each one cost a debugging session:
* A DNS-blocking network makes the failure surface as a *certificate* error. The name
resolves to a block page, the connection lands there, and TLS trust fails first. Every
plain resolver on that network — including 1.1.1.1, 8.8.8.8 and 9.9.9.9 — returned the
same block-page address, so changing resolvers does not help. The failure reason now
names interception, and this records why.
* Reaching the real address is not a fix. DuckDuckGo then serves an interactive CAPTCHA
("select all squares containing a duck") as HTTP 202, on every endpoint, with either
user agent, requests spaced well apart. Its Instant Answer API is challenged too, and
SearXNG's own DuckDuckGo engine is unresponsive on the same host. The remedy is a
different egress, not a different request.
2b7b660
Docs: the tracker lists only work that is this project's to do
Removes two entries that were never this repository's to track:
* node5 is a host this project has no access to, by the owner's decision.
* the PAT rotation is the owner's responsibility, and issue #16 is closed.
What remains is the one unasserted contract, and one authored-identity commit recorded so it is
not misread later. Adds a line saying operational matters outside this project are deliberately
not tracked here.
3cb699d
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.
a95b5ca