Repository navigation
Releases
NetScope v0.23.0 — the front desk
[0.23.0] — 2026-11-29
The front desk. The storefront got its doors in v0.18–v0.21 and its doctor
in v0.22; what it never had was a map for the stranger standing in the hall
wondering where to knock. v0.23 completes the community surface:
SUPPORT.md routes each kind of question to its right door -- with the
doctor named as the first responder, because most "NetScope is broken"
reports are the install, not the network -- and the README's new Community
section points at every standard the repo holds itself to, written down in
the repo rather than paraphrased somewhere else. Zero product code, zero
new dependencies -- the fourteenth consecutive release.
Added
SUPPORT.md: the front desk's own map.netscope doctorleads it
(its verdict answers half the questions any bug report gets asked in
follow-up), the docs and ADRs worth reading first are named, a table
routes each kind of question to its door -- Discussions · Q&A for
setup, Show and tell for what you built on top, the typed issue forms
for bugs and features, security reports privately peradr-018's
convention -- and the scope line says what the tool does not do: it
measures and diagnoses, it does not fix networks, and the complaint
about the evening slowdown goes to the ISP, with the tables attached.- The README's Community section: the front door now shows where the
standards live -- help, bugs, contributing, the Code of Conduct,
security, citation, the Sponsor button -- every one of them a file in
the repo, one click from the README that points at it.
Fixed
- The tests badge drifted again: the doctor's platform-pin tests (the
Windows runners' catch, landed after the v0.22 tag was cut) pushed the
real count to 1047 while the badge and the Development section still
said 1046 -- the same honest number, caught and kept honest within the
day.
NetScope v0.22.0 — the doctor
NetScope v0.22.0 — the doctor
"Is it you, or is it me?" — now the tool answers its half
Every diagnostic tool eventually gets asked the same question by its own
user, and until now NetScope could only answer about the network. v0.22
turns the question around: netscope doctor inspects the install itself —
so when diagnose says the gateway is unmeasurable and route renders
without ownership and check resolves nothing, one command steps back and
names which part of the install produced all of it.
The seven checks:
- environment — netscope version, Python, platform.
- config — re-reads the
config.tomlthe loader already consumed:
unknown keys are named as the silently ignored mistakes they are (the
typo'dgatewyaythat has been doing nothing since install), and a
file that is no longer valid TOML fails the run. - database — the file's schema era against the schema this code owns,
plus the cheapPRAGMA quick_checkintegrity sweep; a log at a foreign
era is the doctor's headline failure. - gateway — what
diagnosewould actually probe (config first, then
the OS detector), cited with its source; absence is the documented
honest state, warned and explained. - icmp — can this process take the privileged path, asked without
sending a packet; a "no" names the unprivileged UDP fallback and the
setcap line that upgrades it. - dns — one real resolution through the wired probe, the doctor's
single deliberate touch of the network; a failure warns, because being
offline is a real state a doctor must not punish. - geoip — the optional GeoLite2/ipasn files, age cited, MaxMind's
30-day refresh rhythm the warn bar; absent is the documented normal,
named as off.
The doctor probes the house, never the road (adr-020): its verdicts are
about the tool's own install, never the network's health. Every ambient
dependency is an injection point — the clock, the OS gateway, the socket
privilege, the config location, the home directory — so the doctor is
offline-safe and date-immune by construction, and its every verdict is
testable: 33 new tests ride along.
netscope doctor
netscope doctor --json | jq '.overall'Added
netscope doctor [--json]: seven checks, one table, one honest
overall word (healthy / warnings / failures), the canonical machine
shape under--json.- The exit contract (adr-018's convention, pointed at the tool): exit
0unless the install cannot do its job —1only on a failure a
warning must never become, sonetscope doctor || ...in a setup
script means broken, never could-be-nicer. - Phase M in the roadmap (TASK-062): trust work — every documented
graceful degradation gets a surface that names it. - ADR-020: the decision story — why the doctor re-reads a file the
process already parsed, why "optional and absent" is healthy, why
warnings never take the exit code. - The completions and the man page follow the surface: the three
hand-written scripts learndoctor(the pin tests enforce it), and
docs/netscope.1is regenerated from the live parser. persistencegains two public readers (schema_version(),
integrity()): nothing outside persistence ever touches a connection,
the doctor included.
Fixed
- The tests badge still said 1000 — the number it was set to when
v0.19 made it count passes, not skips; v0.20's thirteen alarm tests
pushed the real count to 1013 and the badge never heard about it. The
doctor's 33 make it 1046, and the badge and the Development
section now say so — the honest number, kept honest.
Notes
- 1046 tests passing, 2 skipped in CI (the opt-in
maxminddbcrosscheck),
ruff clean, mypy clean. Zero new dependencies — the thirteenth
consecutive release. - Deep dive:
docs/architecture/adr-020-the-doctor.mdfor the
full decision story.
Full Changelog: v0.21.0...v0.22.0
Post-release note. The Windows CI runners caught the doctor's one
remaining ambient dependency -- the platform itself was read instead of
injected (adr-020's own contract, violated by its first draft). Fixed
on main minutes after the tag: platform_name is an argument like the
clock and the gateway, and the Windows wording has its own test that
pins the platform and proves the socket question is never asked. The
product's answers were already right on both platforms; the tests were
not platform-neutral. The v0.22.0 tag's CI run is the historical red
that caught it -- which is what CI is for.
NetScope v0.21.0 — the second door
NetScope v0.21.0 — the second door
The demo mirrors onto Vercel's edge
TASK-056 put the demo on GitHub Pages and called it the storefront's front
door (adr-017) — but a front door is a single point of presentation
failure: one CDN, one route, whatever edge node github.io hands a stranger
that day. When that route is slow, the product's first impression is a
spinning tab. v0.21 gives the storefront a second door: the same two files,
mirrored onto Vercel's edge, following main automatically.
- One artifact, two doors. Pages stays canonical — built from the repo
with GitHub's own OIDC and zero secrets. The mirror serves the same bytes
fromdemo/, so there is no fork of the content and no second source of
truth to drift. - Zero configuration surface.
demo/vercel.jsonis the mirror's entire
config:cleanUrls(soreport.htmlalso answers at/report),
trailingSlash: false, and three security headers —nosniff,DENY
framing,strict-origin-when-cross-origin— on everything. No build
command, no framework preset: static files served exactly as committed. - It follows
mainautomatically.deploy-demo.ymldeploys the
demo/directory on every push that touches it (or on demand via
workflow_dispatch), readingVERCEL_TOKEN/VERCEL_ORG_ID/
VERCEL_PROJECT_IDfrom Actions secrets; a concurrency group collapses
a push burst into the newest deploy. Token permissions capped at
contents: read, like every other workflow here. The secrets belong to
the deployer, not the product — nothing grants anything near the Python
package or the measurement data. - The first deployment was pushed by hand (deployments API, files
inlined) so the door opened before the workflow existed:
netscope-three.vercel.app— the
netscopesubdomain was taken globally, so the honest default alias is
on brand for a hand-made project.
# the canonical door
https://abolfazlrwm.github.io/netscope/
# the second door
https://netscope-three.vercel.app/Added
demo/vercel.json: the mirror's entire configuration — clean URLs
and three security headers, nothing else.deploy-demoworkflow (.github/workflows/deploy-demo.yml): the
demo followsmainonto Vercel;pathsfilter keeps it from waking on
Python-only commits.- ADR-019 and TASK-061: the decision story and its roadmap row — why a
mirror and not a move, why Pages stays canonical, why thenetscope
subdomain being taken is honestly fine. - The demo footer links the mirror, and the README's "try it without
installing" block now names both doors.
Fixed
- The Development section's
make testline counted the two opt-in
crosscheck skips too; the badge already said 1000, and now the section
under it says the same. The honest number, everywhere.
Dependencies
- Three dependabot bumps on the Pages pipeline, merged on sight:
actions/configure-pagesv6,actions/upload-pages-artifactv5,
actions/deploy-pagesv5.
Notes
- 1000 tests passing, 2 skipped in CI (the opt-in
maxminddbcrosscheck),
ruff clean, mypy clean. Zero product code, zero new Python dependencies —
the twelfth consecutive release. - Deep dive:
docs/architecture/adr-019-the-second-door.mdfor
the full decision story.
Full Changelog: v0.20.0...v0.21.0
NetScope v0.20.0 — the night shift
NetScope v0.20.0 — the night shift
The alarm is the missing piece — and the exit code is the alarm
The drift watch (v0.15) answers one question per evaluation: is usual getting worse? But it only answers when a human asks — netscope drift prints a table and exits 0 whatever the verdict says. The Prometheus door (v0.17) made the log scrapeable from a cron line, but a scraper that reads series is not an alarm: nothing acted on a degrading verdict at 3 a.m. The roadmap reserved exactly one item after the storefront — the night shift — and v0.20 builds it.
netscope drift example.com --fail-on-degrading || mail -s "example.com is degrading" you@example.net
netscope monitor --drift-every 10 --fail-on-drift--fail-on-degradingturns the degrading boundary into the exit code: 1 when usual is getting worse, 0 when the verdict asks nothing of the reader — stable, improving, and the honest "not enough data" (a coverage finding is not a failure, the conventionhistoryset).--jsonhonors the flag too. The scheduler stays the notifier: NetScope never opens a port, never posts a webhook, and the local-first promise costs nothing — every cron line, systemd timer or CI job NetScope composes with can notify better than NetScope could.--drift-every Ncarries the watch into the monitor loop: every Nth round it is re-asked for every target the round measured (a plain SQLite read, no new probes, no threads), and a per-targetDriftAlarmSession— app/monitoring.py, beside the incident state machine it mirrors — speaks exactly one line per boundary crossing:⚠ drift alarm RAISEDwith the watch's evidence sentences, a dim ongoing line while it stays,✓ drift alarm CLEAREDwhen it recovers. A first evaluation against an already-rotting history raises immediately — silence there would hide the leak the loop exists to catch.--fail-on-driftexits 1 when an alarm is still active when monitoring stops, for a supervisor that acts without parsing output; the parser rejects it without--drift-every(an alarm about a watch that is never asked can never be active). Without the flag, the monitor's exit contract is unchanged: 0 after a normal run, Ctrl+C included.
The alarm owns no thresholds and no notification stack: the verdict word is core's, read at the boundary, and the window math stays exclusively in core/drift.py (adr-014). Decision record: docs/architecture/adr-018-the-night-shift.md.
Added
netscope drift --fail-on-degrading(ui/cli.py): the scheduler primitive — exit 1 on degrading, 0 otherwise,--jsonincluded.netscope monitor --drift-every N(app/monitoring.py,ui/cli.py): the watch re-asked in the loop, per-target alarm transitions rendered one honest line at a time.netscope monitor --fail-on-drift: exit 1 while an alarm is active at stop; parser-rejected without--drift-every.- ADR-018 (
docs/architecture/adr-018-the-night-shift.md): why the exit code, why no webhook door, why transitions and not state lines. - Shell completions (bash/zsh/fish) and the man page regenerated in the same commit as the flags they pin — the byte-for-byte sync test holds.
Notes
- 1013 tests in the suite passing outright, 2 skipped in CI (the opt-in
maxminddbcrosscheck; 13 new across the alarm session, the drift exit code and the monitor loop), ruff clean, mypy clean. Zero new dependencies — the eleventh release in a row. - Deep dives:
docs/architecture/adr-018-the-night-shift.mdand the alarm sections indocs/usage/commands.md.
Full Changelog: v0.19.0...v0.20.0
NetScope v0.19.0 — the door opens
NetScope v0.19.0 — the door opens
The PyPI door: pip install netscope
adr-017 wrote the honest gap down — the only door a package needs is PyPI, and NetScope's was a 404. The README said so, the install guide said so, the roadmap carried it as the one open item. v0.19 builds the door, both halves of it:
- The repository half — a
publishworkflow that, on a version tag, builds the sdist + wheel and uploads them to PyPI with trusted publishing: GitHub mints a short-lived OIDC token for thepypienvironment and PyPI verifies the workflow's identity directly. No token ever lives in the repository — nothing to leak, nothing to rotate. - The pypi.org half — a one-time pending publisher registration naming owner
Abolfazlrwm, reponetscope, workflowpublish.yml, environmentpypi. Until it exists the job sits behind theHAVE_PYPI_PUBLISHERrepo variable and skips — a door that cannot burn red while its other half is missing.
pip install netscope # the one-liner, after this tag lands
pip install "netscope[tui]" # with the live six-screen dashboardAdded
publishworkflow (.github/workflows/publish.yml): tag → build → PyPI, via trusted publishing (OIDC, zero secrets). Gated byHAVE_PYPI_PUBLISHERso the first run only happens when pypi.org expects it.- The sponsor button (
.github/FUNDING.yml): everything here is free, local and open; funding just keeps the maintainer measuring.
Fixed
- All seven CodeQL alerts resolved: the TLS probe pins an explicit TLS 1.2 minimum on its default client context instead of trusting the OpenSSL build default (
py/insecure-protocol), and the six host assertions across the CLI and TUI tests switch from raw substring containment to word-boundary matching (py/incomplete-url-substring-sanitization). - The drift suite's seeded samples derive their clock from the same injected
nowthe drift windows use — seed and window age together, and the suite stays date-immune (the same lesson the report tests taught in v0.15). - The CI workflow's GitHub token is capped at
contents: readlike the other three workflows — least privilege across the board. - The Pages deploy's checkout moves to v7, matching every other workflow's action pin.
- The tests badge counted the suite (1002) instead of the passes —
make testprints 1000 passed with 2 opt-in skips, and the badge now says the honest number.
Notes
- 1000 tests passing, 2 skipped in CI (the opt-in
maxminddbcrosscheck), ruff clean, mypy clean. One product fix rides along (the TLS floor) and zero new dependencies — the eleventh release in a row. - Deep dives:
docs/architecture/adr-017-the-storefront.mdfor the storefront story,docs/usage/installation.mdfor install paths.
Full Changelog: v0.18.0...v0.19.0
NetScope v0.18.0 — the storefront
NetScope v0.18.0 — the storefront.
The tool has been feature-complete for four releases in a row. This release builds the surface a stranger meets first: the repository's front door (adr-017). Zero product code, zero new dependencies — the tenth release in a row.
Try it without installing: open the live sample report — a real netscope report --html artifact, generated on a locked-down VM, framed honestly (the failures stay in the report; the score answers for them). Same page links the source — product and code, one click apart.
Added
- A live sample report on GitHub Pages — one static landing page, one real evidence-report artifact, no site generator and no build step. The demo is honest on purpose: on the locked-down VM that generated it, half the probes genuinely fail, the failures remain in the report as evidence, and the score drops accordingly — the product's core rule ("missing" is never "healthy") doing exactly what it promises, in public.
- The drift watch fires in the README —
docs/images/cli-drift.svgwas captured through the realrun_drift_commandpath: the committed generator seeds two plausible history windows (a line that quietly rots) into a throwaway SQLite repository, and the shipped command renders the verdict — latency +66%, loss +2.5pp, jitter +153%, throughput −22%, overall degrading. - CodeQL static security analysis — every push, every PR, and a weekly schedule, beside ruff and mypy.
CITATION.cff— version-pinned citation metadata the GitHub "Cite this repository" button reads; research and teaching can cite the tool properly.- Typed YAML issue forms — bug reports ask for the exact command, the output (
--jsonis gold) andnetscope --versionup front; feature ideas ask for the problem before the design. Evidence-first, like the tool itself. - Discussions are open for questions, verdict readings and shared reports — linked from the issue-form chooser so questions don't become bugs.
Fixed
- The README's install section pointed at
pip install netscope— a package that does not exist on PyPI, a 404 as the project's first impression. The supported source path is documented instead until a PyPI door actually opens (an owner action, noted in the roadmap's new Phase L). - The tests badge said 1000; the suite has 1002 — badge and Development section now agree with reality.
Quality gates
- 1,002 tests, fully offline (1,000 passed, 2 skipped by design — the opt-in MaxMindDB crosscheck), across Ubuntu/Windows × Python 3.11–3.13 in CI
ruff check+ruff format --checkclean (now coveringscripts/too)mypy srcclean — 68 files- Zero new runtime dependencies
Links
- Decision record:
docs/architecture/adr-017-the-storefront.md - Roadmap Phase L:
docs/architecture/future-roadmap.md - Demo: https://abolfazlrwm.github.io/netscope/
- Full changelog: v0.17.0...v0.18.0
NetScope v0.17.0 — the readings travel
The readings travel
The post-TASK-046 roadmap reserved exactly one item — "export formats beyond markdown/JSON/HTML" — and v0.17 closes it. The evidence report already spoke three renderings (markdown v0.5, JSON v0.5, HTML v0.10) and netscope history answered with a styled table and a --json payload; what none of them reached was the spreadsheet that wants a flat denormalized table and the scraper that wants the Prometheus text exposition format. Both doors now open from the same local log, with zero new dependencies — the ninth release in a row (decision record: docs/architecture/adr-016-export-formats.md).
Usage
netscope history --csv rounds.csv
netscope report --csv evidence.csv
netscope report --prometheus /var/lib/node_exporter/netscope.prom # the whole integration: one cron line
Added
netscope history --csv FILE(app/reports.pyhistory_rounds_csv,ui/cli.py): one row per stored measurement, the owning round's timestamp and score denormalized onto every row — the log stores measurements flat, so the round is the grouping key a spreadsheet needs on each line, not a separate table. Thecsvmodule owns quoting (an error message with commas arrives in its cell intact); explicit UTF-8 andnewline=""for the same Windows-console reason every other exported file obeys. An empty log writes a header-only file and says so.netscope report --csv FILE(evidence_report_csv): the evidence tables flattened to one row per SHOWN reading — the sameREPORT_ROWS_PER_TARGETslice the markdown and HTML tables render, chronological within each target — with the row's own persisted geo/asn enrichment unfolded onto scalar columns (city,country,distance_km,asn,organization), never re-looked-up at export time. Failures ride along as rows; a failed reading is evidence too. The truncation the human formats disclose in prose is disclosed on the command's confirmation line — a CSV is data and carries no prose of its own.netscope report --prometheus FILE(evidence_report_prometheus): the dialect the node_exporter textfile collector reads. Gauge families in one fixed order: report totals (netscope_report_measurements/failures/targets/mean_score), per-target aggregates (netscope_target_measurements/failures/mean_latency_ms), and the latest successful reading per check (netscope_check_latency_ms/jitter_ms/packet_loss_pctwithtarget/checklabels) — the value a scraper wants is the most recent proven one, not a mean over a window that ends whenever the report was cut. Label values go through the spec's escaping (backslash, quote, newline, in that order); a non-finite sample omits its series instead of poisoning the file. NetScope never opens a port.- Honesty rules, machine-format edition: an absent reading is an EMPTY CSV cell — never a fabricated 0 and never the human
--a spreadsheet would coerce; an absent fact omits its Prometheus SERIES (HELP and TYPE included) instead of emitting zeros, and an unscored window omitsnetscope_report_mean_score. The report totals are the one deliberate exception —measurements 0over an empty window is a proven fact, not a fabrication. - One primary rendering per invocation:
--csvand--prometheusare ignored under--json, exactly like--htmlbefore them; the file exports coexist with each other and with the stdout markdown (one command test writes all three at once). The man page (regenerated byte-for-byte) and all three completion scripts carry the new flags through their existing sync tests.
Notes
- 1,000 tests passed (2 skipped, the opt-in maxminddb crosscheck), 23 of them new: renderer contracts (columns, denormalization, quoting, the empty-log header), the latest-per-check selection, label escaping per the exposition spec, series omission, truncation disclosure through the confirmation line, argparser/completions/man-page sync.
ruff check,ruff format --check,mypy src— all clean. - Zero new dependencies — the text exposition format is lines of text, and we already speak lines of text. See
docs/architecture/adr-016-export-formats.mdfor what stays out on purpose (no HTTP listener, no counters or histograms — the log proves snapshots, not rates) anddocs/usage/commands.mdfor the flag reference. - What the roadmap holds next: the night shift — drift verdicts evaluated on every scheduled round, threshold-crossing alerts, an exit code a scheduler can act on.
Full changelog: CHANGELOG.md · Compare: v0.16.0...v0.17.0
NetScope v0.16.0 — the evidence reaches the TUI
The evidence reaches the TUI
GeoLite2 facts have had a complete CLI story since v0.12 and v0.14 — place and distance in the check detail, ownership on every route hop, geography sections in both evidence reports — but the TUI, the surface people stare at for half an hour, never received the memo: its route table showed a bare AS number where the CLI shows "AS13335 Cloudflare, Inc.", its dashboard had nowhere to say where a slow target actually lives, and its network screen knew your interfaces but not whose road you were on. Worse, the TUI's lazy container build never received the loaded config at all — netscope tui wired enrichment from default guesses while every command read config.toml. v0.16 closes that gap at every layer (decision record: docs/architecture/adr-015-tui-evidence-parity.md).
Added
- The TUI shell wires its container from the loaded config (
ui/cli.py,ui/tui/app.py):run_tui_commandloads config.toml exactly like every other command and hands it toNetScopeTUI; the shell's lazybuild_containercall passes the shell's own config through. The geo database path, the user's home, the ASN source — the TUI now reads the same config every command does. - The dashboard's checks table gains the Where column (
ui/tui/screens/dashboard.py): the place (the sharedgeo_place_labelwording the evidence reports use), the distance from home when the geo pass computed one, the AS number when ownership was resolved — all read from the measurement's canonicalextrablock, never re-looked-up in the UI; rows the enrichment never reached render an honest dash. The organization's name deliberately stays off the compact cell — the reports and--jsoncarry the name; the table keeps the number that fits a glance. - The route screen names the network and the country (
ui/tui/screens/route.py): the hops table's ASN column becomes the Network column with the SAME wording the CLI's shared route table renders — the operating organization's name after the AS number when the source can name one, the bare number when it cannot — plus the Country column. A hop no longer loses its ownership and its place by moving from the CLI to the TUI. - The network screen answers where am I and whose road am I on (
ui/tui/screens/network.py): a "Your line" block joins the context card — config'shome_iplooked up in the same wired GeoLite2-City and GeoLite2-ASN databases, rendered with the sharedgeo_summary/asn_summarywording, database-age disclosures included (two editions, two ages; the EULA's aging notice travels with each). Every absence degrades to one honest dim line: no home configured, home coordinates without ahome_ip, no database wired, an address the database does not know, a database that fails to answer — never a crash, never a fabricated place. The lookups run on a background worker of their own (mmdb reads can block) andrre-asks them together with the discovery.
Notes
- 979 tests in the suite, 977 passing outright and 2 skipped in CI (the opt-in
maxminddbcrosscheck; 7 new across shell wiring, dashboard, route and the network screen), ruff clean, mypy clean. Zero new dependencies — the eighth release in a row. - Deep dive:
docs/architecture/adr-015-tui-evidence-parity.md.
Full Changelog: v0.15.0...v0.16.0
NetScope v0.15.0 — the drift watch
The drift watch: is "usual" getting worse?
NetScope finally watches the TREND. Every judgment the tool made until now compares a single sweep against the learned baseline — and that design has one structural blind spot: the baseline is a trailing average of the very measurements it judges. If the line quietly rots — an ISP's peering degrading week over week, an aging router, a resolver that decays by a millisecond a day — every individual sweep still reads "excellent", because the baseline rots with it. No threshold ever fires. Nothing was watching the slow leak.
v0.15 adds the complementary lens and it needs no baseline at all: the stored measurement log is split into two adjacent same-length windows, each vital is aggregated per window with a robust statistic, and the windows are compared against each other (decision record: docs/architecture/adr-014-drift-watch.md).
netscope drift example.com # last 7 days vs. the 7 before them
netscope drift example.com --days 3 # a shorter, more recent pair
netscope drift example.com --json # the full windowed payload for machinesMedian latency 23 ms last week and 31 ms this week is degradation no single check ever flagged — the drift watch is the lens that says so, with the numbers cited in its evidence lines.
Added
netscope drift <target> [--days N](core/drift.py,app/use_cases.py,ui/cli.py): the recent window (default 7 days) against the same-length window before it, four vitals side by side — latency, packet loss, jitter (the three baseline-relative pillars) and download throughput — each with its own window statistic, its own change and a verdict: stable / degrading / improving / not enough data, plus the report-level verdict and the evidence sentences that cite their numbers.- Median for latency, jitter and throughput; mean for loss — the one deliberate asymmetry: a window is a population of sweeps and a few congested sweeps must not move it (the same robustness the speed command's own "median Mbps" convention chose), while loss readings are almost always 0.0 with spikes — a median would read 0.0 for every window ever, so the mean carries "how often it actually dropped".
- Thresholds borrowed, none invented twice: a window with fewer than 5 usable readings has no opinion — the exact maturity
MetricBaseline.deviation_sigma()demands and scoring/diagnosis reuse; the throughput band isTHROUGHPUT_VERDICT_BAND_PCT(15%), the same percentage at which a speed test is already called slower/faster than usual; latency and jitter need BOTH a relative and an absolute move (25% & 5ms, 30% & 1.5ms) because a purely relative rule cries wolf on small medians; loss is purely absolute (2 percentage points) because relative change from a 0.2% floor is meaningless. - Degradation outranks improvement in the overall verdict — a watch that averaged a leaking latency against a healing jitter into "stable" would have missed its own point.
--jsonpayload with the canonical shape: window boundaries (inclusive both ends, the repository's own semantics), per-vital statistics, sample counts (coverage is evidence too), signed changes, the machine verdict words and every evidence sentence.- The
until-clock fix this release surfaced: the threerun_report_commandtests seeded fixed-date rows but relied on wall-clock coincidence — nine days after the release that seeded them, the rows aged out of the default 7-day window and the tests started failing.run_report_commandnow passes throughbuild_evidence_report's own injectableuntil, and the tests pin the clock the same way the use-case tests always have: seed dates and window end must age TOGETHER.
Notes
- 970 tests in the suite, 968 passing outright and 2 skipped in CI (the opt-in
maxminddbcrosscheck; 29 new across drift/use-case/CLI), ruff clean, mypy clean. Zero new dependencies — the seventh release in a row. - Deep dives:
docs/architecture/adr-014-drift-watch.mdand thedriftcommand indocs/usage/commands.md.
Full Changelog: v0.14.0...v0.15.0
NetScope v0.14.0 — "Whose Road Is It"
The second half of the ownership question, answered: TASK-022 could say the NUMBER — "AS13335" — but deliberately not the NAME, because no reliable, license-clean, dependency-free source of organization names existed in its scope. v0.12 built a hand-written MaxMind DB reader that was adapter-agnostic on purpose; v0.14 points it at GeoLite2-ASN and RouteHop.organization — lookup-ready-but-empty since TASK-020 — is finally live. One reader, two databases, one story, and zero new dependencies for the sixth release in a row (adr-013).
AsnLookupport, shared record.lookup(ip) -> AsnInfo | Noneincore/ports.py;AsnInfo(core/asn.py) carries the number, the organization when the source can name one, the matched prefix, and the same disclosure fieldsGeoInfohas (db_type,db_age_days,stale_db) — borrowingcore.geo's 30-day policy so both GeoLite2 editions age on one rhythm.asn_extra()defines the canonicalextra["asn"]payload, the exact disciplinegeo_extra()set in v0.12.- GeoLite2-ASN through the same reader.
MaxMindAsnLookupreads the user's own~/.netscope/GeoLite2-ASN.mmdb. The legacyipasn.dattext table migrates onto the shared record as the number-only fallback —organization=None, honestly bare: a "prefix, whitespace, ASN" file cannot name anything and never pretends to. - The composition root prefers the richer source. The mmdb edition wins when present (
asn_db_pathin config overrides the default path); a corrupt mmdb falls THROUGH to the text table — broken names must not cost the numbers; missing everything wires None and routes render without ownership, the normal state, never an error. RouteHop.organizationis finally live._enrich_snapshotfills the reserved field, and target checks carry ownership inextra["asn"]— reusing the geo pass's resolved IP, one resolution per fact per round.- Visible everywhere the evidence is.
netscope route's table gains the Network column —AS13335 Cloudflare, Inc.when the source can name the operator, the bare number when it cannot; the check detail carries the sameasn_summarywording; the evidence reports (markdown and--html) grow a Geography and ownership section; and every--jsonpayload surfacesextra.asnplus the per-hoporganizationfield that has serialized asnullsince v0.2. - Same EULA discipline as City. The database is the user's own download; attribution in
NOTICE; no redistribution; the same aging notice past 30 days. Setup: docs/usage/geoip.md.
Quality gates: 941 tests in the suite (939 passing outright, 2 skipped in CI — the opt-in maxminddb crosscheck; 39 new), ruff clean, mypy clean, CI 7/7.
Full changelog: CHANGELOG.md