Commit Graph
42 Commits
Author SHA1 Message Date
gadgethd 43e4dc3119 Exercise browser enrollment and restore owner-role access in both database layouts 2026-12-03 17:21:30 +00:00
UKMesh Readiness 2d1a6faae4 Replay public packet frames from committed observations and reserve writer capacity 2026-11-30 22:50:42 +00:00
gadgethd 7323845b4e Document the UKMesh 2.0 DEV migration 2026-11-27 16:11:23 +00:00
gadgethd 97e3ee6d4b Build and run the guided Health Check from its reviewed fork 2026-11-24 02:12:13 +00:00
Codex ed57cf4a83 Make remote GPU propagation the lean HopReach default 2026-11-17 22:40:01 +00:00
Codex 1dcda86447 Use ukmesh-dev in the clone instructions 2026-11-17 22:08:36 +00:00
Codex 2b4613a81a Add CoreScope and Beacon development workspace 2026-11-14 00:41:48 +00:00
Codex 0975d07d0a docs: reconcile 2.0 runbooks, privacy notice and performance evidence 2026-11-12 12:42:09 +00:00
Codex 7896969abf docs(setup): align candidate onboarding and deployment prerequisites 2026-11-12 11:14:20 +00:00
Codex b5c5b6d8ef chore(release): prepare 2.0 candidate identity and upgrade notes 2026-11-12 10:28:32 +00:00
Codex 7b3c191ceb Report bounded document Web Vitals and monitor public route latency and cache hits 2026-11-12 08:04:20 +00:00
Codex f70dc183ed Record actual public SQL plans and lifecycle policy state for qualification 2026-11-12 07:37:31 +00:00
Codex b8572800e4 build(dev): qualify local fixtures and add baseline tooling 2026-11-12 03:41:52 +00:00
ben 5ef4b7bace chore(hopreach): publish and reference derived source v0.1.32-ukmesh.4
Upstream is already at its latest release (v0.1.32, 61efac0); the vendored
tree had drifted from the public corresponding-source tag. Publish the exact
current tree as v0.1.32-ukmesh.4 (58b2eb9) and update provenance, source-offer
and release references. No behaviour change.
2026-11-12 01:53:29 +00:00
hermes-gadget 7ef12767d1 fix(onboarding): surface default MQTT topic denials and document linking 2026-10-25 01:52:43 +00:00
Hermes Agent 9fb5acc06e merge: reconcile deployed 2026-10-20 tree with origin/main
- Keeps every production behaviour from the deployed tree: public feed,
  owner packet sharing (including the Oct-12 publish/claim timeout fix),
  regions, privacy rematerialisation, RAM/durable ingest, owner last-hop
  prewarm.
- Takes main's additive work since the fork: ingest repair series, 1-byte
  path evidence, gitleaks ignore, dependabot pins, publicStatus,
  workloadPolicy and health diagnostics.
- Resolves 26 conflicts; per-file decisions recorded in the campaign
  DECISIONS.md and merge-proposal notes.
- Restores the two migrations missing from the deployed tree byte-exact
  (052_node_identity_packets_raw_columns, 055_message_tags) and defers
  main's unapplied 057 status-column migration to docs/deferred-migrations.
- Fresh-database bootstrap verified: base schema plus 60 migrations apply
  in order; a second run reports no pending migrations.
2026-10-20 11:59:02 +01:00
Hermes Agent 48fb91acda chore(recovery): capture deployed 2026-10-20 working tree
Exact snapshot of the tree that produced the running images (HEAD 1f94bd8)
including the 199 uncommitted/untracked production changes: regions, owner
packet sharing, public feed, RAM ingest, privacy rematerialisation, path-beta
updates, migrations 052-060, tests and deploy scripts.

Excluded: .env*/knowledge.md/.private-config (gitignored secrets); runtime
backup receipts restored to HEAD; mosquitto ACL/passwd are gitignored (kept
in the private pre-change snapshot). No functional changes.
2026-10-20 11:37:34 +01:00
b285cdb288 fix(security,ops): close ukmesh auth/users findings (#50 #51 #52 #53 #58) (#103)
* docs: add C5a mission handoff

* security: classify channel keys and baseline reviewed findings

* security: revalidate MQTT auth and revoke owner sessions

* test(ops): cover concurrent newuser grant updates

* fix(ops): preserve executable newuser test

* fix(ops): cover partial newuser rollback failures

* fix(owner): preserve password whitespace during login

* docs: add C5c mission handoff

* test(cache): drop stale authCache policy entry (cache removed by auth revalidation)

* docs: keep HANDOFF on current mission

---------

Co-authored-by: gadgethd <111318106+gadgethd@users.noreply.github.com>
Co-authored-by: hermes-gadget <284726080+hermes-gadget@users.noreply.github.com>
2026-10-01 00:09:44 +01:00
hermes-gadgetandgadgethd 5574d70139 fix: close High findings #43 + #45 — durable MQTT ingestion, bounded telemetry lifecycle (#100)
* fix(mqtt): ack QoS1 after durable persistence

* fix(retention): bound core telemetry lifecycle

* docs: add C5b durability handoff

* test(rules): 1m cadence for telemetry lifecycle alert windows so for: timers accumulate

---------

Co-authored-by: gadgethd <111318106+gadgethd@users.noreply.github.com>
2026-09-30 23:35:04 +01:00
gadgethd 4d9872768a perf: reduce monitoring load and retire path history 2026-08-09 19:37:59 +00:00
gadgethd 09366e7dec fix: harden HopReach release image 2026-08-02 17:27:48 +01:00
gadgethd 6479529106 perf: vendor optimized HopReach release 2026-08-02 15:59:39 +01:00
gadgethd 4553647f54 feat: integrate HopReach RF coverage 2026-08-02 14:11:11 +01:00
gadgethd 5db382e181 feat: complete codebase reliability upgrade 2026-08-02 03:40:11 +01:00
gadgethd 1ebc496965 Map UI redesign, live-path visibility, feed latency, and security hardening (#19)
* Fix map node freshness consistency

* Harden output, ingest, caches, and WebSocket limits

* Enforce public visibility across derived data

* Harden proxy and operator deployment boundary

* Make owner grants authoritative and reconcile ACLs safely

* Bound path, spam, and statistics analysis

* Make link and coverage jobs crash-safe

* Implement strategic security remediation

* Fix production cutover configuration

* Fix disabled viewshed worker health signal

* Serve stale stats during background refresh

* Retain stale stats through refresh windows

* Bound analytics work to protect ingestion

* Prioritize summary warmup over chart scans

* Throttle path history rebuilds

* Bound path history result memory

* Stream path history aggregation

* Give bounded path rebuild one CPU

* Serve stale charts during bounded refresh

* Prioritize startup stats before chart scans

* Bound path history segment cardinality

* Pin path rebuild context to privacy generation

* Self-host original frontend fonts

* Allow bounded path rebuild to complete

* Improve live map UI and low-latency group feed

- Dock node details on the right with selection highlight and collapsible layers
- Add node legend, 24h activity sparkline, copy-link, and layout/overlap fixes
- Keep all repeaters visible during Live Path focus
- Send GroupText feed packets immediately over WebSocket (no batch delay)
- Cache expensive stats/observer activity more aggressively to protect ingest
- Remove stale local planning/audit markdown from the tree

* fix(ci): supply OPERATOR_SITE_TOKEN for compose validation

Workers/Compose CI failed because docker-compose requires
OPERATOR_SITE_TOKEN. Add CI placeholders for that and MQTT_PASSWORD.
2026-07-27 02:39:12 +01:00
gadgethd 93cc3e1b38 Expand network intelligence and harden operations (#9)
Consolidates the stacked backend, privacy, network-intelligence, frontend, operations, mobile, and owner-cache changes after resolving main conflicts and passing the full CI suite.
2026-07-23 20:50:47 +01:00
BenandClaude Sonnet 4.6 edc8206a22 Add ML path learner, Anubis bot protection, planned coverage, companion page, and misc improvements
- ml-path-learner: new Python worker that trains a prefix→node ML model from gold paths and writes scores to ml_path_prefix_scores
- lazyResolver: integrate ML scores and edge priors into tiered candidate ranking; bidirectional pass-2 propagation; global cross-group direct anchors
- Anubis: add sidecar bot-protection containers for all public HTTP services; botPolicy.yaml
- Planned coverage: new API route + frontend map layers for placing hypothetical repeaters and computing coverage
- Map: light/dark theme toggle; map-tools button group (LOS, Repeater, theme); plan-repeater mode with click-to-place/remove and polling
- Frontend: remove inferred nodes from map display (backend inference kept for internal use)
- Stats page: observer region summary, channel traffic, companion activity endpoints and UI
- UKCompanionPage: new companion activity page
- Teesside site: extracted into standalone build context (teesside-site/)
- healthcheck overrides: share.html, sw.js, region filter support, SVG score ring updates
- DB: dedicated analytics pool; DATABASE_SKIP_SCHEMA_INIT flag; path hash prefix indexes; lateral join fixes for node_link_radio_reports
- docker-compose: ml-path-learner service; anubis sidecars; DATABASE_SKIP_SCHEMA_INIT on all workers; OBSERVER_RETENTION_SECONDS; REGIONS_FILE
- backend-site: internal operator dashboard routes
- docker/mesh-health-check-entrypoint.sh: extract channel secret from MESHCORE_CHANNEL_SECRETS at startup
- scripts: observer key generation, observer registration, healthcheck tunnel check
- vacuum-compressed-chunks.sh: maintenance script

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-03 01:33:48 +00:00
BenandClaude Sonnet 4.6 caaa45c5d6 Remove private radio bot URL from public config defaults
RADIO_BOT_URL is a private integration — strip the default service name
from docker-compose and remove it from the README env table.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-16 02:09:09 +00:00
BenandClaude Sonnet 4.6 441f80229c Update README and open source page
- README: correct GitHub URL, add path-history-worker, RADIO_BOT_URL env var,
  path resolver worker pool notes, updated services table and architecture diagram
- OpenSourcePage: fix GitHub link (teesside-mesh → ukmesh), add Recharts,
  polygon-clipping, cors, express-rate-limit; update geospatial section
  (GDAL, psycopg2, redis-py in place of rasterio; clarify world-atlas usage)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-16 02:07:22 +00:00
Ben f5fcd68105 Refresh README for current public features 2026-03-08 04:00:53 +00:00
Ben 814c94d01f Update README for owner portal and current coverage 2026-03-07 03:25:54 +00:00
Ben b61f7429df Clarify Phase 5 auto-claim via Ed25519 key without login 2026-03-05 00:50:28 +00:00
Ben eca35e0016 Add repeater owner portal roadmap phase and renumber planned phases 2026-03-05 00:49:03 +00:00
Ben 8951db1bad Restore phased roadmap format in README 2026-03-05 00:46:57 +00:00
Ben 7da3b6c54e Sanitize README to remove environment-specific deployment details 2026-03-05 00:43:46 +00:00
Ben 0e365479a6 Split workers, fix frontend proxy resilience, expand health UX/docs 2026-03-05 00:39:44 +00:00
gadgethd d728eb0cde Update repository URL in README 2026-03-04 23:55:41 +00:00
BenandClaude Sonnet 4.6 26d96133af Add Paths (Beta), node elevation, and coverage preview
- Paths (Beta): new map layer with confidence-scored packet path resolution.
  Per-hop candidates filtered by 2-char node ID prefix, ranked by proximity
  to the interpolated src-to-rx line. Each hop scored by ambiguity factor
  (1/n_candidates) and distance factor (reachable within elevation-derived
  range). Threshold slider in the filter panel (default 50%). Purple dashed
  polyline, separate from the existing packet paths layer.

- Node elevation: viewshed worker now writes terrain elevation (m ASL) to
  nodes.elevation_m when computing each viewshed, and backfills existing
  nodes from stored radius_m on startup. Elevation shown in node popup.

- Coverage preview: "Preview coverage" button in node popup shows that
  node's viewshed at lower opacity (10%) for 20 seconds then auto-dismisses.

- Beta path range uses stored radius_m from node_coverage directly instead
  of bounding box estimation.

- Fix homepage Live Map button to link directly to app.teessidemesh.com.

- README Phase 3: clarify nodes must be on MQTT to be claimable.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-03 23:10:18 +00:00
BenandClaude Sonnet 4.6 6fcfda4b5a Expand roadmap with phases 3-6
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-03 22:06:59 +00:00
BenandClaude Sonnet 4.6 e019842e7a Add project roadmap to README
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-03 20:24:42 +00:00
Ben 6fd6242c4c Add full acknowledgements and license compatibility notes to README 2026-03-03 19:23:49 +00:00
Ben cb713d6c1a Initial commit 2026-03-03 19:11:05 +00:00