# SatNav (satnav) — core production engine — GlobalGrid2050 Explore Code (text shard) Attribution: Ventus Ltd — GlobalGrid2050. Cut 2026-12-06T03:07:51+00:00. Generated deterministically from the public Ventusltd repositories by tools/explore/build.py (rules explore-agent-rules-v1); every statement is evidence-keyed and links to the exact commit and lines. Fields per file: Source (GitHub commit URL with line range), Page (Explore Code section), Synopsis, What it achieves (provenance), the four-part block, Signatures, VEDIC, domain_stage, commercial_user, canonical_status, data_contracts, Edges. Rules: https://code.globalgrid2050.com/explore-code/llms.txt (Agent Navigation Protocol) and GRAPH-CONTRACT.md. Repository page: https://code.globalgrid2050.com/explore-code/repos/satnav.html. Licence: Apache-2.0. Commit ea69138ca5d5a9632233220e5cbe1cd3f1c83432. 5 files. Summary (draft awaiting owner approval): SatNav is GlobalGrid2050's open-source project for reaching UK electricity infrastructure on and off road: substations, projects and powerlines. It is a development preview, published at https://ventusltd.github.io/satnav/scope/, and the part available for testing is a GPS field compass for mobile devices. Live pages: SatNav — Scope Page https://ventusltd.github.io/satnav/scope/ Order below: live entry pages, other entry points, most-used files; tests and CI last. ### SatNav — Scope Page - File: satnav/scope/index.html (HTML, 63 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/satnav/blob/ea69138ca5d5a9632233220e5cbe1cd3f1c83432/scope/index.html#L1-L63 - Page: https://code.globalgrid2050.com/explore-code/s/0715.html#f9 - Published at: https://ventusltd.github.io/satnav/scope/ - Synopsis: A web page that draws pipeline headlines snapshot, solar, battery storage (BESS) and LiDAR terrain, and uses data from the GridAtlas, kuiper-belt and ventus-grid-engine repositories. Published at https://ventusltd.github.io/satnav/scope/. - What it achieves (comment): It sets reading (`setReading`) and is built from the safe link helper (`safeLink`) and the valid step (`valid`). UK electricity infrastructure navigation in development, with a GPS field compass test preview. It responds to click, focusin and pointerdown events. - What it does: It draws pipeline headlines snapshot, solar, battery storage (BESS) and LiDAR terrain. Defines safeLink, valid, render, setReading, load. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage field_execution (repository name word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: solar, battery storage (BESS), LiDAR terrain. - Inputs & outputs: In: data source: gridatlas data; data source: kuiper-belt data; data source: ventus-grid-engine data; data source: globalgrid2050 data; JSON file pipeline_headlines.json; JSON file pipeline_headlines.snapshot.json. Out: web page. - Downstream impact: Used directly by 3 files: Build (cosmic); SatNav Public Scope Served Workflow (satnav); SatNav Public Scope Workflow (satnav). Reached from 4 other entry points, including Cadastre 27 (cosmic); Ship (cosmic); Test Build (cosmic). It is itself an entry point, published at https://ventusltd.github.io/satnav/scope/. - Signatures: `safeLink(value)`; `valid(doc)`; `render(doc,saved)`; `setReading(on)`; `load(url)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: kuiper-belt data; data source: ventus-grid-engine data; data source: globalgrid2050 data; JSON file pipeline_headlines.json; JSON file pipeline_headlines.snapshot.json]; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (link 3); used by 3; mentioned by 0 ### Compass - File: satnav/preview/9698781539e549deaa6ecaa4a2b34610c1f9fd29/nav/compass.mjs (JavaScript, 18 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/satnav/blob/ea69138ca5d5a9632233220e5cbe1cd3f1c83432/preview/9698781539e549deaa6ecaa4a2b34610c1f9fd29/nav/compass.mjs#L1-L18 - Page: https://code.globalgrid2050.com/explore-code/s/0715.html#f8 - Synopsis: A JavaScript module in the nav folder of SatNav that works with fix quality (`fixQuality`). It is built from the fix quality helper (`fixQuality`) and the guide step (`guide`). - What it achieves (code): Its `fixQuality` function gives location fix quality from longitude latitude accuracy timestamp fix and optional reference time ms (VEDIC: check location fix). - What it does: It calculates its inputs. Defines fixQuality, guide. - Why it exists in the grid workflow: Domain stage field_execution (path word 'compass'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: Preview — Nav (satnav). - Signatures: `export fixQuality(fix,now=Date.now())`; `export guide(fix,target,now=Date.now())` - VEDIC: CHECK LOCATION FIX (GG2050-VEDIC-000062): SatNav · Location and navigation data. longitude_latitude_accuracy_timestamp_fix, reference_time_ms_optional -> location_fix_quality - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Preview — Nav - File: satnav/preview/9698781539e549deaa6ecaa4a2b34610c1f9fd29/nav/app.mjs (JavaScript, 63 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/satnav/blob/ea69138ca5d5a9632233220e5cbe1cd3f1c83432/preview/9698781539e549deaa6ecaa4a2b34610c1f9fd29/nav/app.mjs#L1-L63 - Page: https://code.globalgrid2050.com/explore-code/s/0715.html#f7 - Synopsis: A JavaScript module in SatNav that sets target (`setTarget`). It sets target (`setTarget`) and is built from the stop step (`stop`). - What it achieves (name): Defines `setTarget`, `render`, `acquire` and 1 more. It responds to submit, release and visibilitychange events. - What it does: Defines el, setTarget, render, acquire, stop. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'nav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `el(id)`; `setTarget(t)`; `render()`; `acquire()`; `stop(message='Location stopped')` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### SatNav Public Scope Served Workflow - File: satnav/.github/workflows/public-scope-served.yml (YAML, 84 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/satnav/blob/ea69138ca5d5a9632233220e5cbe1cd3f1c83432/.github/workflows/public-scope-served.yml#L1-L84 - Page: https://code.globalgrid2050.com/explore-code/s/1856.html#f7 - Synopsis: A GitHub Actions workflow using data from the GlobalGrid2050 and GlobalGrid2050-homepage repositories. Runs on push and by hand. - What it achieves (comment): Named “SatNav public served-byte verification”. - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage field_execution (repository name word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: data source: globalgrid2050 data; data source: globalgrid2050-homepage data; JSON file homepage-owner.json; JSON file homepage.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: globalgrid2050 data; data source: globalgrid2050-homepage data; JSON file homepage-owner.json; JSON file homepage.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### SatNav Public Scope Workflow - File: satnav/.github/workflows/public-scope.yml (YAML, 188 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/satnav/blob/ea69138ca5d5a9632233220e5cbe1cd3f1c83432/.github/workflows/public-scope.yml#L1-L188 - Page: https://code.globalgrid2050.com/explore-code/s/1856.html#f8 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push and on pull requests. - What it achieves (comment): Runs `/tmp/satnav-scope-cvaa/inoculate.mjs`. - What it does: It builds and publishes its content. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage field_execution (repository name word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: JSON file snapshot.json. Out: JSON file cvaa-comparison.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file snapshot.json]; out [JSON file cvaa-comparison.json]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0