mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-09-26 12:47:54 +00:00
- MAJOR: config.example.json was missing geoFilterExemptNodeList entirely — every other Config field in this repo gets a sibling _comment_<field> entry (established, actively-used convention throughout the file, ~20 existing examples), documented here to match. Also corrected the adjacent geo_filter _comment, which predates this PR and claimed it "restricts ingestion" — it doesn't; that's foreignAdverts.mode=drop's job, unrelated to this flag. - MINOR: ?geoFilter=<v> only recognized the literal string "1" to enable and treated anything else (including "true") as disabling — a real footgun since "true" reads as an obviously valid boolean value. Now accepts 1/true and 0/false as explicit overrides; any other value (including absent) falls through to the deployment default instead of silently flipping it off. - Tightened the Foreign Traffic tab's stop-hook test: it previously only asserted stop() doesn't throw, which a no-op stub would also pass. Sandbox's setInterval/clearInterval are now real spies tracking live/cleared ids, so the test verifies render() registers exactly one interval and stop() actually clears that exact id (idempotently on a second call). - NIT: relays.sort now wraps unscoped_relay_count_24h in Number(...) defensively (AGENTS.md § Type Safety — cast at the boundary). - NIT: foreignNodes.sort now parses last_seen once per node (decorate-sort-undecorate) instead of twice per comparator call. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>