Skip to content

feat(scope-audit): explain where the declared data comes from - #8

Merged
efiten merged 1 commit into
masterfrom
fix/scope-audit-neutral-unobserved
Sep 6, 2026
Merged

feat(scope-audit): explain where the declared data comes from#8
efiten merged 1 commit into
masterfrom
fix/scope-audit-neutral-unobserved

Conversation

@efiten

@efiten efiten commented Sep 6, 2026

Copy link
Copy Markdown
Owner

Adds a provenance line under the intro and rewrites the empty state, which on a stock install is the whole page. Names both collectors (ESP32 neighbour-report firmware, CoreDrive RX) with links, says an empty table is normal rather than a fault, gives the newest-answer-wins rule, and states what nothing else in CoreScope can tell you: which regions a repeater is configured for, as opposed to which ones its traffic was seen under. Old wording said it "fills in as devices drive", which meant nothing to anyone not using CoreDrive. emptyStateHtml extracted and exported so it is testable; 670 to 676 passed.

…urs is empty

Nobody reading this page could tell how the declared list reaches the database
or why theirs might hold nothing. The old empty state said it "fills in as
devices drive and answer over RF", which is CoreDrive-specific jargon that says
nothing to an operator running the observer firmware instead, and names no
collector at all.

Two changes:

- A provenance line under the intro, always visible: the declared side is the
  repeater's own answer read back off the node, the observed side is forwarding
  CoreScope already sees in its own traffic. That distinction is the whole point
  of the page and it was never stated.

- The empty state now carries the full explanation, because on a stock install
  it IS the page. It names both collectors with links (the ESP32 neighbour-report
  firmware and the CoreDrive RX app), states that neither ships with CoreScope so
  an empty table is the normal state rather than a fault, gives the precedence
  rule now that there are two sources, and says the thing that justifies the page
  existing: nothing else in CoreScope knows which regions a repeater is
  CONFIGURED for, only which ones its traffic was seen under.

emptyStateHtml is extracted and exported rather than left inline so it can be
asserted. Six tests: both collectors named, both linked, empty-is-normal stated,
precedence stated, the configured-vs-observed distinction present, and the old
drive-around wording gone. 670 to 676 passed, 0 failed.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PQS3XLoPD98yu9pxdRujqg
@efiten
efiten force-pushed the fix/scope-audit-neutral-unobserved branch from 3355c3a to 0d1961b Compare September 6, 2026 12:08
@efiten
efiten merged commit 1813393 into master Sep 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant