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.
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.
Record the pseudo-terminal harness, task 48, and the green run for 4eaf7e9
Document that redirected monitor frames carry only their content
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 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.