# GridAtlas (gridatlas) — 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/gridatlas.html. Licence: Apache-2.0. Commit 98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5. 575 files.
Summary (draft awaiting owner approval): GridAtlas is an open-source browser map of UK renewable energy projects and the electricity grid around them, published at https://ventusltd.github.io/gridatlas/. It compiles the official DESNZ Renewable Energy Planning Database (REPD) into a searchable registry with project addresses and postcodes, and draws transmission circuits and substations beside it.
Live pages: GridAtlas — Atlas Page https://gridatlas.globalgrid2050.com/atlas/; GridAtlas — Index Page https://gridatlas.globalgrid2050.com/; Releases — Atlas V9 Page https://gridatlas.globalgrid2050.com/atlas/releases/202608292311-atlas-v9/; Ventus Corev8engine https://gridatlas.globalgrid2050.com/atlas/releases/202608292311-atlas-v9/; Atlas — World Page https://gridatlas.globalgrid2050.com/atlas/world/
Order below: live entry pages, other entry points, most-used files; tests and CI last.
### GridAtlas — Atlas Page
- File: gridatlas/atlas/index.html (HTML, 124 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/index.html#L1-L124
- Page: https://code.globalgrid2050.com/explore-code/s/0519.html#f6
- Published at: https://gridatlas.globalgrid2050.com/atlas/
- Synopsis: A web page that works with escape attribute (`escapeAttribute`) and sha256 hex (`sha256Hex`), using SHA-256. Published at https://gridatlas.globalgrid2050.com/atlas/.
- What it achieves (readme): It is built from the invariant step (`invariant`), the escape attribute helper (`escapeAttribute`) and the sha256 hex helper (`sha256Hex`). The README says: `atlas/index.html` is the stable composer. It reads `./current.json`.
- What it does: It draws its content. Defines invariant, escapeAttribute, sha256Hex, fail. Uses libraries ${escapeAttribute(blobUrl)}. Side effects: changes the web page (DOM); makes network requests.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "`atlas/index.html` is the stable composer."
- Inputs & outputs: In: JSON file current.json. Out: web page.
- Downstream impact: Used directly by 242 files: Pilot (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609190330-cable-cross-sections/); Links (globalgrid2050); Build N1 Deep Link Candidates (code-generator); Single-Line Diagram (SLD) Mobile Arrival Card Browser (gridatlas); and 238 more. Reached from 317 other entry points, including Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/); Pilot (cosmic, https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html); Iterations — 32 Spider and Galaxy Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/32-spider-and-galaxy/). It is itself an entry point, published at https://gridatlas.globalgrid2050.com/atlas/.
- Signatures: `invariant(condition, message)`; `escapeAttribute(value)`; `sha256Hex(bytes)`; `fail(error)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json]; out [web page]; crs []; voltages []
- Edges: uses 0 estate files; used by 242; mentioned by 1
### GridAtlas — Index Page
- File: gridatlas/index.html (HTML, 2 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/index.html#L1-L2
- Page: https://code.globalgrid2050.com/explore-code/s/0619.html#f3
- Published at: https://gridatlas.globalgrid2050.com/
- Synopsis: A web page. Published at https://gridatlas.globalgrid2050.com/.
- What it does: It draws its content. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: Out: web page.
- Downstream impact: Used directly by 32 files: Build N1 Deep Link Candidates (code-generator); Single-Line Diagram (SLD) Mobile Arrival Card Browser (gridatlas); GlobalGrid2050 — Atlas V9 Page (globalgrid2050, https://globalgrid2050.com/202608300453-atlas-v9/); Prove Federated Deep Links (gridatlas); and 28 more. Reached from 27 other entry points, including Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/); Pilot (cosmic, https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html); GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). It is itself an entry point, published at https://gridatlas.globalgrid2050.com/.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out [web page]; crs []; voltages []
- Edges: uses 1 estate file (link 1); used by 32; mentioned by 1
### Releases — Atlas V9 Page
- File: gridatlas/atlas/releases/202608292311-atlas-v9/index.html (HTML, 271 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/releases/202608292311-atlas-v9/index.html#L1-L271
- Page: https://code.globalgrid2050.com/explore-code/s/0607.html#f2
- Published at: https://gridatlas.globalgrid2050.com/atlas/releases/202608292311-atlas-v9/
- Synopsis: A web page in GridAtlas that draws grid 400kV, grid 275kV, grid 220kV and grid 132kV. Published at https://gridatlas.globalgrid2050.com/atlas/releases/202608292311-atlas-v9/.
- What it achieves (comment): UK Region v8 (Experimental). Its code works with 100 kW, 11 kV and 132 kV.
- What it does: It draws grid 400kV, grid 275kV, grid 220kV and grid 132kV. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV, 275kV, 220kV, 132kV, 66kV, 11kV. README: "`atlas/index.html` is the stable composer."
- Inputs & outputs: In: GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_11kv_ukpn.geojson; GeoJSON file grid_substations.geojson; GeoJSON file power_plants.geojson. Out: web page. Voltage levels named: 400kV, 275kV, 220kV, 132kV, 66kV, 11kV.
- Downstream impact: Used directly by 8 files: GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V030 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v030.html); Homepage V031 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v031.html); Homepage V032 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v032.html); and 4 more. Reached from 87 other entry points, including GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://gridatlas.globalgrid2050.com/atlas/releases/202608292311-atlas-v9/.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_11kv_ukpn.geojson; GeoJSON file grid_substations.geojson; GeoJSON file power_plants.geojson]; out [web page]; crs []; voltages [400kV, 275kV, 220kV, 132kV, 66kV, 11kV]
- Edges: uses 5 estate files (script-src 4, stylesheet 1); used by 8; mentioned by 0
### Ventus Corev8engine
- File: gridatlas/atlas/releases/202608292311-atlas-v9/ventus-corev8engine.js (JavaScript, 1436 lines) · role geodesy · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/releases/202608292311-atlas-v9/ventus-corev8engine.js#L1-L1436
- Page: https://code.globalgrid2050.com/explore-code/s/0608.html#f1
- Published at: https://gridatlas.globalgrid2050.com/atlas/releases/202608292311-atlas-v9/
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps elizabeth line, london underground, UK metros trams and HS2, using haversine. Served with the page at https://gridatlas.globalgrid2050.com/atlas/releases/202608292311-atlas-v9/.
- What it achieves (code): It normalizes status (`normalizeStatus`), toggles zone draw mode (`toggleZoneDrawMode`) and opens popup (`openPopup`). Its `snapLines` function gives line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged from line features and substation point features (VEDIC: snap line ends to substations). It reads `/uk_renewables_pipeline/v9/data/v9.1/build_manifest.json`. It responds to fullscreenchange, webkitfullscreenchange and click events.
- What it does: It maps elizabeth line, london underground, UK metros trams and hs2. Defines 58 functions or classes, including deepFreeze, escapeHTML, normalizeStatus, fmt, haversine. Side effects: changes the web page (DOM); makes network requests.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson; JSON file style.json; JSON file build_manifest.json; GeoJSON file grid_400kv.geojson; form fields (user input). Out: interactive map.
- Downstream impact: Used directly by 2 files: Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/); Releases — Atlas V9 Page (gridatlas, https://gridatlas.globalgrid2050.com/atlas/releases/202608292311-atlas-v9/). Reached from 95 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V030 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v030.html). It is itself an entry point, published at https://gridatlas.globalgrid2050.com/atlas/releases/202608292311-atlas-v9/.
- Signatures: `deepFreeze(obj)`; `escapeHTML(value)`; `normalizeStatus(status)`; `fmt(n, decimals)`; `haversine(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `_zoneDrawGetRadius()`; `_zoneDrawCirclePoints(lon, lat, radiusKm, n)`; `b(i / n)`; `_zoneDrawCalcArea(pts)`; `j(i + 1)`; `_zoneDrawUpdateLayers(dragOnly)`; `_zoneDrawShowPopup()`; `_zoneDrawShowPopupDebounced()`; `_zoneDrawClear()`; `zoneDrawUndo()`; `toggleZoneDrawMode()`; `_zoneDrawNearVertex(px)`; `_zoneDrawNearEdgeDot(px)`; `_zoneDrawOnClick(e)`; `mpp(km * 2000)`; `_zoneDrawOnMouseDown(e)`; `_zoneDrawOnMouseMove(e)`; `_zoneDrawOnMouseUp()`; `openPopup(lngLat, html, maxWidth)` (and 15 more)
- VEDIC: SNAP LINE ENDS TO SUBSTATIONS (GG2050-VEDIC-000106): GridAtlas / Substations · Geospatial data processing. line_features, substation_point_features -> Line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson; JSON file style.json; JSON file build_manifest.json; GeoJSON file grid_400kv.geojson; form fields (user input)]; out [interactive map]; crs []; voltages []
- Edges: uses 0 estate files; used by 2; mentioned by 0
### Atlas — World Page
- File: gridatlas/atlas/world/index.html (HTML, 325 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/world/index.html#L1-L325
- Page: https://code.globalgrid2050.com/explore-code/s/0612.html#f1
- Published at: https://gridatlas.globalgrid2050.com/atlas/world/
- Synopsis: A map page in GridAtlas that maps grid 400kV, grid line and scope pt. Published at https://gridatlas.globalgrid2050.com/atlas/world/.
- What it achieves (readme): It is built from the close all helper (`closeAll`), the item step (`item`) and the toggle step (`toggle`). The README says: `atlas/index.html` is the stable composer. Its code works with 400 kV. It responds to click and change events.
- What it does: It maps grid 400kV, grid line and scope pt. Defines 8 functions or classes, including closeAll, item, toggle, note, Flow. Side effects: changes the web page (DOM); makes network requests.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV. README: "`atlas/index.html` is the stable composer."
- Inputs & outputs: In: GeoJSON file grid_400kv.geojson. Out: web page; interactive map. Voltage levels named: 400kV.
- Downstream impact: Used directly by 2 files: Runners (claude); Summon (claude). It is itself an entry point, published at https://gridatlas.globalgrid2050.com/atlas/world/.
- Signatures: `closeAll()`; `item(menu, label, fn)`; `toggle(menu, label, colour, on, fn)`; `note(menu, text)`; `class Flow`; `constructor(segments)`; `onAdd(_, gl)`; `mk(t, s)`; `render(gl, matrix)`; `stat(id, v)`; `bounds(fc)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [GeoJSON file grid_400kv.geojson]; out [web page; interactive map]; crs []; voltages [400kV]
- Edges: uses 0 estate files; used by 2; mentioned by 0
### Labs — Lightning Grid
- File: gridatlas/atlas/labs/lightning-grid/app.mjs (JavaScript, 277 lines) · role interaction · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/labs/lightning-grid/app.mjs#L1-L277
- Page: https://code.globalgrid2050.com/explore-code/s/0520.html#f1
- Published at: https://gridatlas.globalgrid2050.com/atlas/labs/lightning-grid/
- Synopsis: A JavaScript module in the atlas folder of GridAtlas that draws UK lightning and uses data from the lightning and PipelineNews repositories. Served with the page at https://gridatlas.globalgrid2050.com/atlas/labs/lightning-grid/.
- What it achieves (comment): It maps status (`mapStatus`), downloads JSON (`downloadJSON`) and gets assets (`getAssets`). Standalone Lightning → existing MAP/nearest Grid Engine integration LAB. It responds to change and click events.
- What it does: It draws UK lightning, grid substations and solar. Defines 18 functions or classes, including el, pretty, date, mapStatus, node. Side effects: changes the web page (DOM); makes network requests.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar.
- Inputs & outputs: In: data source: lightning data; data source: pipelinenews data; GeoJSON file uk_lightning.geojson; GeoJSON file grid_substations.geojson.
- Downstream impact: Used directly by 1 file: Labs — Lightning Grid Page (gridatlas, https://gridatlas.globalgrid2050.com/atlas/labs/lightning-grid/). It is itself an entry point, published at https://gridatlas.globalgrid2050.com/atlas/labs/lightning-grid/.
- Signatures: `el(id)`; `pretty(n)`; `date(t)`; `mapStatus(msg)`; `node(tag,value,cls='')`; `clear(id)`; `line(target,what)`; `status(msg)`; `fail(message)`; `downloadJSON(url)`; `features(data)`; `getAssets()`; `currentFlash()`; `setObservation(f)`; `display(ctx,assets)`; `scenario()`; `inspect()`; `start()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [data source: lightning data; data source: pipelinenews data; GeoJSON file uk_lightning.geojson; GeoJSON file grid_substations.geojson]; out []; crs []; voltages []
- Edges: uses 2 estate files (import 2); used by 1; mentioned by 0
### MapLibre Worker Bridge
- File: gridatlas/atlas/releases/202608292311-atlas-v9/202608292311-maplibre-worker-bridge.js (JavaScript, 223 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/releases/202608292311-atlas-v9/202608292311-maplibre-worker-bridge.js#L1-L223
- Page: https://code.globalgrid2050.com/explore-code/s/0607.html#f1
- Published at: https://gridatlas.globalgrid2050.com/atlas/releases/202608292311-atlas-v9/
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that reads grid 400kV, grid 275kV and grid 220kV, using SHA-256 from the data-GridAtlas repository. Served with the page at https://gridatlas.globalgrid2050.com/atlas/releases/202608292311-atlas-v9/.
- What it achieves (name): It maps ready key (`mapReadyKey`), gets manifest (`getManifest`) and gets runtime (`getRuntime`). Defines `invariant`, `requestPath`, `mapReadyKey` and 8 more.
- What it does: It loads grid 400kV, grid 275kV, grid 220kV and grid 132kV. Defines 11 functions or classes, including invariant, requestPath, mapReadyKey, legacyStem, sha256Hex. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: data source: data-gridatlas data; GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_substations.geojson; GeoJSON file power_plants.geojson.
- Downstream impact: Used directly by 1 file: Releases — Atlas V9 Page (gridatlas, https://gridatlas.globalgrid2050.com/atlas/releases/202608292311-atlas-v9/). Reached from 95 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V030 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v030.html). It is itself an entry point, published at https://gridatlas.globalgrid2050.com/atlas/releases/202608292311-atlas-v9/.
- Signatures: `invariant(condition, message)`; `requestPath(input)`; `mapReadyKey(pathname)`; `legacyStem(pathname)`; `sha256Hex(bytes)`; `getManifest()`; `getRuntime()`; `resolvePartition(pathname)`; `artifact(manifest.artifacts || [])`; `rowObject(row)`; `queryOnDemand(pathname)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [data source: data-gridatlas data; GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_substations.geojson; GeoJSON file power_plants.geojson]; out []; crs []; voltages []
- Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0
### Atlas — Codex Page
- File: gridatlas/atlas/codex/202609020010/index.html (HTML, 31 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/codex/202609020010/index.html#L1-L31
- Page: https://code.globalgrid2050.com/explore-code/s/0519.html#f4
- Published at: https://gridatlas.globalgrid2050.com/atlas/codex/202609020010/
- Synopsis: A web page in GridAtlas that reads inputs for lon, lat and Renewable Energy Planning Database (REPD) ref. Published at https://gridatlas.globalgrid2050.com/atlas/codex/202609020010/.
- What it achieves (comment): Codex computation lab.
- What it does: It draws its content. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "`atlas/index.html` is the stable composer."
- Inputs & outputs: In: form fields (user input). Out: web page.
- Downstream impact: It is itself an entry point, published at https://gridatlas.globalgrid2050.com/atlas/codex/202609020010/.
- domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages []
- Edges: uses 2 estate files (stylesheet 1, script-src 1); used by 0; mentioned by 0
### Labs — Lightning Grid Page
- File: gridatlas/atlas/labs/lightning-grid/index.html (HTML, 116 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/labs/lightning-grid/index.html#L1-L116
- Page: https://code.globalgrid2050.com/explore-code/s/0520.html#f3
- Published at: https://gridatlas.globalgrid2050.com/atlas/labs/lightning-grid/
- Synopsis: A web page in the atlas folder of GridAtlas that reads inputs for flash, radius and kV, covering solar and substations. Published at https://gridatlas.globalgrid2050.com/atlas/labs/lightning-grid/.
- What it achieves (comment): Lightning → Grid Scenario Lab. Its code works with 132 kV, 275 kV and 400 kV.
- What it does: It draws solar, substations and the REPD register. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, substations, the REPD register, 400kV, 275kV, 132kV. README: "`atlas/index.html` is the stable composer."
- Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 400kV, 275kV, 132kV.
- Downstream impact: It is itself an entry point, published at https://gridatlas.globalgrid2050.com/atlas/labs/lightning-grid/.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [400kV, 275kV, 132kV]
- Edges: uses 2 estate files (link 1, script-src 1); used by 0; mentioned by 0
### Preview — Lightning Page
- File: gridatlas/atlas/preview/lightning/index.html (HTML, 115 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/preview/lightning/index.html#L1-L115
- Page: https://code.globalgrid2050.com/explore-code/s/0603.html#f2
- Published at: https://gridatlas.globalgrid2050.com/atlas/preview/lightning/
- Synopsis: A web page in the atlas folder of GridAtlas that works with escape attribute (`escapeAttribute`) and sha256 hex (`sha256Hex`), using SHA-256. Published at https://gridatlas.globalgrid2050.com/atlas/preview/lightning/.
- What it achieves (readme): It is built from the invariant step (`invariant`), the escape attribute helper (`escapeAttribute`) and the sha256 hex helper (`sha256Hex`). The README says: `atlas/index.html` is the stable composer. It reads `./current.json`.
- What it does: It draws its content. Defines invariant, escapeAttribute, sha256Hex, fail. Uses libraries ${escapeAttribute(blobUrl)}, ' + escapeAttribute(weatherBlob) + '. Side effects: changes the web page (DOM); makes network requests.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "`atlas/index.html` is the stable composer."
- Inputs & outputs: In: JSON file current.json. Out: web page.
- Downstream impact: It is itself an entry point, published at https://gridatlas.globalgrid2050.com/atlas/preview/lightning/.
- Signatures: `invariant(condition, message)`; `escapeAttribute(value)`; `sha256Hex(bytes)`; `fail(error)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json]; out [web page]; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Atlas — V Page
- File: gridatlas/atlas/v/202609012141/index.html (HTML, 103 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/v/202609012141/index.html#L1-L103
- Page: https://code.globalgrid2050.com/explore-code/s/0611.html#f3
- Published at: https://gridatlas.globalgrid2050.com/atlas/v/202609012141/
- Synopsis: A web page in GridAtlas that works with escape attribute (`escapeAttribute`) and sha256 hex (`sha256Hex`), using SHA-256. Published at https://gridatlas.globalgrid2050.com/atlas/v/202609012141/.
- What it achieves (readme): It is built from the invariant step (`invariant`), the escape attribute helper (`escapeAttribute`) and the sha256 hex helper (`sha256Hex`). The README says: `atlas/index.html` is the stable composer. It reads `./current.json`.
- What it does: It draws its content. Defines invariant, escapeAttribute, sha256Hex, fail. Uses libraries ${escapeAttribute(blobUrl)}. Side effects: changes the web page (DOM); makes network requests.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "`atlas/index.html` is the stable composer."
- Inputs & outputs: In: JSON file current.json. Out: web page.
- Downstream impact: It is itself an entry point, published at https://gridatlas.globalgrid2050.com/atlas/v/202609012141/.
- Signatures: `invariant(condition, message)`; `escapeAttribute(value)`; `sha256Hex(bytes)`; `fail(error)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json]; out [web page]; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### GridAtlas — UI Page
- File: gridatlas/ui/site/index.html (HTML, 40 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/ui/site/index.html#L1-L40
- Page: https://code.globalgrid2050.com/explore-code/s/0698.html#f7
- Published at: https://gridatlas.globalgrid2050.com/ui/site/
- Synopsis: A web page that reads inputs for atlas query, covering the Renewable Energy Planning Database (REPD) register and postcodes. Published at https://gridatlas.globalgrid2050.com/ui/site/.
- What it achieves (comment): Grid Atlas V9 — official REPD address and postcode search with deterministic project fly-to.
- What it does: It draws the REPD register and postcodes. Uses libraries assets/atlas-v9.css, assets/atlas-v9.mjs. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, postcodes.
- Inputs & outputs: In: JSON file repd_v9_manifest_202608290716.json; DuckDB queries; form fields (user input). Out: web page.
- Downstream impact: It is itself an entry point, published at https://gridatlas.globalgrid2050.com/ui/site/.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file repd_v9_manifest_202608290716.json; DuckDB queries; form fields (user input)]; out [web page]; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Loop
- File: gridatlas/tools/scope/loop.mjs (JavaScript, 307 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/scope/loop.mjs#L1-L307
- Page: https://code.globalgrid2050.com/explore-code/s/0689.html#f4
- Synopsis: A JavaScript module in the scope folder of GridAtlas that reads grid 400kV and substations, using SHA-256.
- What it achieves (name): It verifies release checksums (`verifyReleaseChecksums`), validates scope ledger (`validateScopeLedger`) and validates workflow budget (`validateWorkflowBudget`). Defines `existingDirectories`, `existingFiles`, `verifyReleaseChecksums` and 6 more. Its code works with 400 kV.
- What it does: It loads grid 400kV and substations. Defines 9 functions or classes, including existingDirectories, existingFiles, verifyReleaseChecksums, validateScopeLedger, validateWorkflowBudget. Uses libraries node:fs, node:path. Side effects: changes the web page (DOM); reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 400kV.
- Inputs & outputs: In: GeoJSON file grid_400kv.geojson; JSON file current.json; JSON file current-v5.json; JSON file live-set.json; command-line arguments. Voltage levels named: 400kV.
- Downstream impact: Used directly by 8 files: Local CI (gridatlas); CI PR Gate (gridatlas); GridAtlas — Release (gridatlas); Advance (gridatlas); and 4 more. Reached from 25 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); GridAtlas Verify Live Workflow (gridatlas); Acceptance (gridatlas).
- Signatures: `existingDirectories(directory)`; `existingFiles(directory, pattern = null)`; `verifyReleaseChecksums(releaseDirectory)`; `validateScopeLedger()`; `validateWorkflowBudget(master)`; `validateAtlasLayout(scopeState)`; `lint({ quiet = false } = {})`; `renderState(scopeState, { toStdout = false } = {})`; `next(scopeState)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [GeoJSON file grid_400kv.geojson; JSON file current.json; JSON file current-v5.json; JSON file live-set.json; command-line arguments]; out []; crs []; voltages [400kV]
- Edges: uses 2 estate files (import 1, estate-url 1); used by 8; mentioned by 0
### Verify Compose
- File: gridatlas/tools/scope/verify-compose.mjs (JavaScript, 111 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/scope/verify-compose.mjs#L1-L111
- Page: https://code.globalgrid2050.com/explore-code/s/0690.html#f1
- Synopsis: A JavaScript module in the scope folder of GridAtlas that reads grid 400kV and postcodes, using SHA-256 from postcodes.io. It is built from the release directories helper (`releaseDirectories`).
- What it achieves (name): Its name says it verifies compose. Defines `releaseDirectories`. Its code works with 400 kV.
- What it does: It loads grid 400kV and postcodes. Defines releaseDirectories. Uses libraries node:fs, node:path. Side effects: changes the web page (DOM); reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: postcodes, 400kV.
- Inputs & outputs: In: data source: postcodes.io; JSON file current.json; GeoJSON file grid_400kv.geojson. Voltage levels named: 400kV.
- Downstream impact: Used directly by 8 files: Local CI (gridatlas); CI PR Gate (gridatlas); GridAtlas — Release (gridatlas); Advance (gridatlas); and 4 more. Reached from 24 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); Acceptance (gridatlas); Browser Test (gridatlas).
- Signatures: `releaseDirectories(directory)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [data source: postcodes.io; JSON file current.json; GeoJSON file grid_400kv.geojson]; out []; crs []; voltages [400kV]
- Edges: uses 1 estate file (import 1); used by 8; mentioned by 0
### Run Current
- File: gridatlas/tools/proofs/run-current.mjs (JavaScript, 62 lines) · role electrical · stage ingest · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/run-current.mjs#L1-L62
- Page: https://code.globalgrid2050.com/explore-code/s/0662.html#f6
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that runs the proof belonging to the cartridge that is actually composed.
- What it does: It loads data. Uses libraries node:fs, node:path, node:url. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json.
- Downstream impact: Used directly by 7 files: Local CI (gridatlas); CI PR Gate (gridatlas); Shift (gridatlas); GridAtlas — Release (gridatlas); and 3 more. Reached from 25 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); GridAtlas Verify Live Workflow (gridatlas); Acceptance (gridatlas).
- Signatures: `cartridge(current.cartridges || [])`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 7; mentioned by 0
### Render Ready Comparator
- File: gridatlas/atman/202608292311-render-ready-comparator.mjs (JavaScript, 99 lines) · role storage · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atman/202608292311-render-ready-comparator.mjs#L1-L99
- Page: https://code.globalgrid2050.com/explore-code/s/0615.html#f3
- Synopsis: A JavaScript module in the atman folder of GridAtlas that replaces exactly (`replaceExactlyOnce`). It replaces exactly once (`replaceExactlyOnce`) and is built from the git blob sha1 helper (`gitBlobSha1`).
- What it achieves (comment): The complete render-ready comparator is pinned below.
- What it does: Defines gitBlobSha1, replaceExactlyOnce. Uses libraries node:crypto, node:fs/promises, node:child_process, node:url. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Downstream impact: Used directly by 3 files: Build Verify Publish Render Ready V9 (gridatlas); Five Hour V8 V9 Watchdog (gridatlas); Build Verify Promote Exact Renewable Energy Planning Database (REPD) Deep Link (gridatlas).
- Signatures: `gitBlobSha1(bytes)`; `replaceExactlyOnce(source, before, after, label)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 3; mentioned by 0
### Build
- File: gridatlas/tools/lightning/build.mjs (JavaScript, 160 lines) · role storage · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/build.mjs#L1-L160
- Page: https://code.globalgrid2050.com/explore-code/s/0632.html#f2
- Synopsis: A JavaScript module in the lightning folder of GridAtlas that reads generations, using SHA-256.
- What it achieves (comment): It reads generations (`readGenerations`) and is built from the sha256 step (`sha256`) and the module path helper (`modulePath`). Build the UK lightning overlay module (`atlas/modules/` `-uk-lightning-overlay.js`) from its readable source in `tools/lightning/src/`.
- What it does: It loads generations. Defines 7 functions or classes, including sha256, modulePath, readGenerations, sourceFiles, assemble. Uses libraries node:fs, node:path, node:crypto, node:url. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file generations.json; command-line arguments.
- Downstream impact: Used directly by 3 files: CI PR Gate (gridatlas); Make Generation (gridatlas); Build (gridatlas). Reached from 2 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); Map Promotion Rehearsal (gridatlas).
- Signatures: `export modulePath(gen)`; `export readGenerations(file = GENERATIONS)`; `export sourceFiles(srcDir = SRC_DIR)`; `export assemble({ variant, gen, variants, srcDir = SRC_DIR })`; `export newestModule()`; `export check()`; `sha256(buf)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file generations.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 3; mentioned by 0
### Loader Swap
- File: gridatlas/tools/release/loader-swap.mjs (JavaScript, 153 lines) · role automation · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/release/loader-swap.mjs#L1-L153
- Page: https://code.globalgrid2050.com/explore-code/s/0667.html#f3
- Synopsis: A JavaScript module in the tools folder of GridAtlas that works with cli check (`cliCheck`) and cli release (`cliRelease`), using SHA-256.
- What it achieves (comment): It is built from the die step (`die`), the cli check helper (`cliCheck`) and the cli release helper (`cliRelease`). The live loader on its own: step 1 (and its rollback) of a two-step release of a generation whose own loader differs from the live one (`docs/RELEASE.md` "Loader first, then the pointer"; `docs/LIGHTNING-CARTRIDGE.md` "Cache window").
- What it does: It loads data. Defines 7 functions or classes, including proveLoaderSwap, die, ok, cliCheck, cliRelease. Uses libraries node:fs, node:path, node:url. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json; command-line arguments.
- Downstream impact: Used directly by 3 files: CI PR Gate (gridatlas); Loader Swap Test (gridatlas); Rollback Generation (gridatlas). Reached from 2 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); Map Promotion Rehearsal (gridatlas).
- Signatures: `export proveLoaderSwap({ fromLoader, toLoader, pointerText })`; `die(m)`; `ok(m)`; `cliCheck(argv)`; `cliRelease(argv)`; `finish(code)`; `abort()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 3 estate files (import 3); used by 3; mentioned by 0
### Release Generation
- File: gridatlas/tools/release/release-generation.mjs (JavaScript, 367 lines) · role automation · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/release/release-generation.mjs#L1-L367
- Page: https://code.globalgrid2050.com/explore-code/s/0669.html#f1
- Synopsis: A JavaScript module in the tools folder of GridAtlas that checks prep (`checkPrep`), using SHA-256.
- What it achieves (comment): It checks prep (`checkPrep`) and is built from the die step (`die`) and the step step (`step`). Release a published preview generation G to the live route.
- What it does: It lists and searches its content. Defines 6 functions or classes, including die, step, ok, finish, checkPrep. Uses libraries node:fs, node:path. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json; command-line arguments. Out: JSON file current.json.
- Downstream impact: Used directly by 3 files: Loader Swap Test (gridatlas); Map Promotion Rehearsal (gridatlas); Release Accepted (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `die(m)`; `step(m)`; `ok(m)`; `finish(code)`; `checkPrep(label)`; `restore()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json; command-line arguments]; out [JSON file current.json]; crs []; voltages []
- Edges: uses 2 estate files (import 1, estate-url 1); used by 3; mentioned by 0
### Replicate Generation
- File: gridatlas/tools/twin/replicate-generation.mjs (JavaScript, 379 lines) · role energy-data · stage ingest · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/twin/replicate-generation.mjs#L1-L379
- Page: https://code.globalgrid2050.com/explore-code/s/0694.html#f1
- Synopsis: A JavaScript module in the twin folder of GridAtlas that reads generations and substations, using SHA-256.
- What it achieves (comment): It fetches pinned (`fetchPinned`) and is built from the done step (`done`) and the same step (`same`). The twin of a generation: rebuild it from its pinned source in a clean temporary directory, with the repository's own compiler and cut tools, and compare every rebuilt file with the committed one byte for byte. It reads `tools/train/gazetteer/generations.json`.
- What it does: It loads generations and substations. Defines done, same, constant, fetchPinned. Uses libraries node:fs, node:path. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations.
- Inputs & outputs: In: JSON file current.json; JSON file generations.json; DuckDB queries; command-line arguments.
- Downstream impact: Used directly by 3 files: CI PR Gate (gridatlas); GridAtlas Verify Live Workflow (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas). Reached from 1 other entry point, including Map Promotion Rehearsal (gridatlas).
- Signatures: `done(code)`; `same(name, rebuilt, committedRel)`; `constant(name)`; `fetchPinned(what, to)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json; JSON file generations.json; DuckDB queries; command-line arguments]; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 3; mentioned by 0
### Place Postcode Search
- File: gridatlas/atlas/releases/202608291818-atlas-v9/202608291818-place-postcode-search.js (JavaScript, 325 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/releases/202608291818-atlas-v9/202608291818-place-postcode-search.js#L1-L325
- Page: https://code.globalgrid2050.com/explore-code/s/0606.html#f1
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps Renewable Energy Planning Database (REPD) projects, postcodes and the REPD register, using SHA-256.
- What it achieves (code): It normalises compact (`normaliseCompact`), parses groups (`parseGroups`) and verifies manifest (`verifyManifest`). Its `buildWhere` function gives SQL predicate from query text (VEDIC: query). It responds to click, input and keydown events.
- What it does: It maps REPD projects, postcodes and the REPD register. Defines 19 functions or classes, including invariant, escapeHtml, sqlString, normaliseCompact, parseGroups. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: postcodes, the REPD register.
- Inputs & outputs: In: Parquet file repd_projects_202608290716.parquet; JSON file repd_v9_manifest_202608290716.json; DuckDB queries. Out: interactive map.
- Downstream impact: Used directly by 2 files: Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/); Releases — Atlas V9 Page (gridatlas, https://gridatlas.globalgrid2050.com/atlas/releases/202608292311-atlas-v9/). Reached from 95 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V030 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v030.html).
- Signatures: `invariant(condition, message)`; `escapeHtml(value)`; `sqlString(value)`; `normaliseCompact(value)`; `parseGroups(query)`; `sha256Hex(bytes)`; `verifyManifest()`; `runtime()`; `installMapCapture()`; `construct(target, args, newTarget)`; `buildWhere(query)`; `buildScore(query)`; `rowObject(row)`; `queryOfficialRepd(query)`; `hasSafeMapPoint(result)`; `setDeepLink(result)`; `selectResult(result)`; `renderResults(results, resultsEl)`; `executeSearch(input, resultsEl)`; `bindSearch()`
- VEDIC: QUERY (GG2050-VEDIC-000046): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. query_text -> sql_predicate
- VEDIC: SCORE (GG2050-VEDIC-000047): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. query_text -> sql_sort_expression
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [Parquet file repd_projects_202608290716.parquet; JSON file repd_v9_manifest_202608290716.json; DuckDB queries]; out [interactive map]; crs []; voltages []
- Edges: uses 0 estate files; used by 2; mentioned by 0
### Layer Performance Comparator
- File: gridatlas/atman/202608292126-layer-performance-comparator.mjs (JavaScript, 236 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atman/202608292126-layer-performance-comparator.mjs#L1-L236
- Page: https://code.globalgrid2050.com/explore-code/s/0615.html#f2
- Synopsis: A JavaScript module in the atman folder of GridAtlas that replaces exactly (`replaceExactlyOnce`), covering 400kV, using SHA-256.
- What it achieves (comment): It replaces exactly once (`replaceExactlyOnce`) and is built from the git blob sha1 helper (`gitBlobSha1`) and the ratio step (`ratio`). The full comparator remains immutably recorded at the exact source commit below. Its code works with 400 kV.
- What it does: Defines gitBlobSha1, replaceExactlyOnce, ratio. Uses libraries node:crypto, node:fs/promises, node:child_process, node:url. Side effects: changes the web page (DOM); reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV.
- Inputs & outputs: Voltage levels named: 400kV.
- Downstream impact: Used directly by 2 files: Bootstrap Map Ready Source (gridatlas); Build Publish Map Ready V9 (gridatlas).
- Signatures: `gitBlobSha1(bytes)`; `replaceExactlyOnce(source, before, after, label)`; `ratio(value)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages [400kV]
- Edges: uses 0 estate files; used by 2; mentioned by 1
### Build Map Ready V9
- File: gridatlas/compiler/202608292126-build-map-ready-v9.py (Python, 480 lines) · role storage · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/compiler/202608292126-build-map-ready-v9.py#L1-L480
- Page: https://code.globalgrid2050.com/explore-code/s/0618.html#f1
- Synopsis: A Python command-line tool in the compiler folder of GridAtlas that fetches postcodes, using SHA-256. It fetches bytes (`fetch_bytes`), writes bytes (`write_bytes`) and loads JSON bytes (`load_json_bytes`).
- What it achieves (comment): Build a deterministic V8-surface successor with map-ready preload cartridges. Its code works with 400 kV. It accepts `--contract`, `--output` and `--oracle-output`.
- What it does: It fetches postcodes. Defines 15 functions or classes, including canonical, require, sha256_bytes, sha256_file, git_blob_sha1. Uses libraries __future__, argparse, hashlib, json, shutil. Side effects: reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: postcodes, 400kV.
- Inputs & outputs: In: JSON file map-ready-manifest.json; DuckDB queries; command-line arguments. Out: JSON file release-manifest.json; JSON file build-manifest.json. Voltage levels named: 400kV.
- Downstream impact: Used directly by 2 files: Bootstrap Map Ready Source (gridatlas); Build Publish Map Ready V9 (gridatlas).
- Signatures: `canonical(value: Any)`; `require(condition: bool, message: str)`; `sha256_bytes(payload: bytes)`; `sha256_file(path: Path)`; `git_blob_sha1(payload: bytes)`; `fetch_bytes(url: str, attempts: int = 5, timeout: int = 180)`; `raw_url(repository: str, commit: str, path: str)`; `write_bytes(path: Path, payload: bytes)`; `load_json_bytes(payload: bytes, label: str)`; `sql_path(path: Path)`; `parquet_to_geojson(parquet_path: Path, output_path: Path, expected_rows: int, expected_source_id: str)`; `deterministic_tree_manifest(root: Path)`; `write_sha256sums(root: Path)`; `copy_source(path: str, target: Path)`; `main()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file map-ready-manifest.json; DuckDB queries; command-line arguments]; out [JSON file release-manifest.json; JSON file build-manifest.json]; crs []; voltages [400kV]
- Edges: uses 0 estate files; used by 2; mentioned by 0
### CI PR Gate
- File: gridatlas/tools/ci/pr-gate.mjs (JavaScript, 489 lines) · role automation · stage ingest · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/ci/pr-gate.mjs#L1-L489
- Page: https://code.globalgrid2050.com/explore-code/s/0630.html#f2
- Synopsis: A JavaScript module in the tools folder of GridAtlas that runs async (`runAsync`), using SHA-256.
- What it achieves (comment): It is built from the record step (`record`), the run step (`run`) and the tail step (`tail`). The pull-request gate: every check that was run by hand before a cut, run by the runner on every PR to main.
- What it does: It loads data. Defines 13 functions or classes, including record, run, tail, group, step. Uses libraries node:fs, node:os, node:path, node:child_process, node:url. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): 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 current.json; command-line arguments.
- Downstream impact: Used directly by 2 files: Map Promotion Rehearsal (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `record(name, ok, detail = '')`; `run(argv, opts = {})`; `tail(text, lines = 6)`; `group(title, fn)`; `step(name, argv)`; `baseHas(file)`; `check(indexRel, currentRel)`; `runAsync(argv, opts = {})`; `suites(fs.existsSync(suiteDir) ? fs.readdirSync(suiteDir).filter(f => f.endsWith('.test.mjs')).sort() : [])`; `min(head.match(/@gate-min-generation\s+(\d{12})\b/) || [])`; `overlayFile(g)`; `overlayGenerationOf(pointer)`; `own(pointer.cartridges || [])`; `sldEntry(pointer.cartridges || [])`; `pinned(fs.existsSync(vDir) ? fs.readdirSync(vDir) : [])`; `counts(r.stdout.match(/^)`; `offFile(g)`; `modOf(p, id, re)`; `add(o, l, why)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 15 estate files (script-call 15); used by 2; mentioned by 0
### Build
- File: gridatlas/tools/offtakers/build.mjs (JavaScript, 77 lines) · role storage · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/offtakers/build.mjs#L1-L77
- Page: https://code.globalgrid2050.com/explore-code/s/0639.html#f2
- Synopsis: A JavaScript module in the offtakers folder of GridAtlas that reads generations and vicinity delta, using SHA-256.
- What it achieves (comment): It is built from the sha256 step (`sha256`), the module path helper (`modulePath`) and the build step (`build`). Build the potential-offtakers overlay module (`atlas/modules/` `-uk-offtakers-overlay.js`) from its readable source in `tools/offtakers/src/`, with the same deterministic text transform as the lightning overlay (`tools/lightning/build.mjs` `assemble`: files concatenated in name order, `///` source-only lines dropped, `///` line continuations joined, `@@GEN@@` stamped).
- What it does: It loads generations and vicinity delta. Defines sha256, modulePath, build, check. Uses libraries node:fs, node:path, node:crypto, node:url. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file generations.json; JSON file 202611222000-vicinity-delta.json; command-line arguments.
- Downstream impact: Used directly by 2 files: CI PR Gate (gridatlas); Offtakers Cartridge (gridatlas). Reached from 2 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); Map Promotion Rehearsal (gridatlas).
- Signatures: `export modulePath(gen)`; `export build(gen)`; `export check()`; `sha256(b)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file generations.json; JSON file 202611222000-vicinity-delta.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 2; mentioned by 0
### Arrival Identity Browser
- File: gridatlas/tools/proofs/202609040229-arrival-identity.browser.mjs (JavaScript, 309 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202609040229-arrival-identity.browser.mjs#L1-L309
- Page: https://code.globalgrid2050.com/explore-code/s/0648.html#f1
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads Renewable Energy Planning Database (REPD) and solar. It is built from the proof map class (`ProofMap`).
- What it achieves (name): Defines `capture` and `ProofMap`.
- What it does: It loads REPD and solar. Defines capture, ProofMap. Uses libraries node:assert/strict, node:http, node:fs/promises, node:path, node:module. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar.
- Inputs & outputs: In: JSON file current.json; JSON file repd_v9_manifest_202608290716.json.
- Downstream impact: Used directly by 2 files: Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/); GridAtlas Cartridge Proof Workflow (gridatlas).
- Signatures: `capture(candidate)`; `ProofMap(...args)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json; JSON file repd_v9_manifest_202608290716.json]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 2; mentioned by 0
### Vicinity Entry Proof
- File: gridatlas/tools/proofs/202611222000-vicinity-entry.proof.mjs (JavaScript, 46 lines) · role ingest · stage ingest · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202611222000-vicinity-entry.proof.mjs#L1-L46
- Page: https://code.globalgrid2050.com/explore-code/s/0649.html#f9
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that uses SHA-256.
- What it does: It loads data. Uses libraries node:fs, node:path, node:assert/strict, node:crypto, node:vm. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json.
- Downstream impact: Used directly by 2 files: Pipeline Vicinity Button Proof (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas).
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 2; mentioned by 0
### Vicinity A4 Browser
- File: gridatlas/tools/proofs/202611222325-vicinity-a4.browser.mjs (JavaScript, 74 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202611222325-vicinity-a4.browser.mjs#L1-L74
- Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f2
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads the Renewable Energy Planning Database (REPD) register.
- What it does: It loads the REPD register. Uses libraries node:assert/strict, node:fs, node:path, playwright. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register.
- Inputs & outputs: Out: JSON file receipt.json.
- Downstream impact: Used directly by 2 files: GridAtlas Cartridge Proof Workflow (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `ref(await row.getAttribute('id'))`; `pdf(await fs.promises.readFile(await downloaded.path()))`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out [JSON file receipt.json]; crs []; voltages []
- Edges: uses 2 estate files (import 1, estate-url 1); used by 2; mentioned by 0
### Vicinity Controls Rescue Proof
- File: gridatlas/tools/proofs/202611222343-vicinity-controls-rescue.proof.mjs (JavaScript, 76 lines) · role interaction · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202611222343-vicinity-controls-rescue.proof.mjs#L1-L76
- Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f4
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads composition and substations, using SHA-256.
- What it achieves (name): Defines `click`. It reads `atlas/current.json`.
- What it does: It loads composition and substations. Defines click. Uses libraries node:assert/strict, node:fs, node:crypto, node:vm, node:path. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations.
- Inputs & outputs: In: JSON file current.json; JSON file 202611222343-composition.json.
- Downstream impact: Used directly by 2 files: GridAtlas Cartridge Proof Workflow (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `setAttribute(name,value)`; `getElementById(k)`; `addEventListener()`; `click()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json; JSON file 202611222343-composition.json]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 2; mentioned by 0
### Check Served
- File: gridatlas/tools/release/check-served.mjs (JavaScript, 107 lines) · role automation · stage ingest · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/release/check-served.mjs#L1-L107
- Page: https://code.globalgrid2050.com/explore-code/s/0666.html#f1
- Synopsis: A JavaScript module in the tools folder of GridAtlas that reads homepage owner, using SHA-256.
- What it achieves (comment): It is built from the sha256 step (`sha256`), the sleep step (`sleep`) and the get step (`get`). Step 7 of the delivery flow: a served check of www.globalgrid2050.com.
- What it does: It loads homepage owner. Defines sha256, sleep, get, finish. Uses libraries node:fs, node:os, node:path, node:child_process, node:crypto. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json; JSON file homepage-owner.json; JSON file homepage.json; command-line arguments.
- Downstream impact: Used directly by 2 files: Release Status (gridatlas); GridAtlas Verify Live Workflow (gridatlas).
- Signatures: `sha256(b)`; `sleep(s)`; `get(url)`; `finish(status, code)`; `row(html.match(/
[\s\S]*?<\/tr>/) || [''])`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json; JSON file homepage-owner.json; JSON file homepage.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 2 estate files (script-call 2); used by 2; mentioned by 0
### Rollback Generation
- File: gridatlas/tools/release/rollback-generation.mjs (JavaScript, 204 lines) · role automation · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/release/rollback-generation.mjs#L1-L204
- Page: https://code.globalgrid2050.com/explore-code/s/0670.html#f1
- Synopsis: A JavaScript module in the tools folder of GridAtlas that works with rollback loader only (`rollbackLoaderOnly`), using SHA-256.
- What it achieves (comment): It is built from the die step (`die`), the step step (`step`) and the finish step (`finish`). Roll a release back by reverting its release commit (route C of `RELEASE-COMMANDS.md`) and prove the pointer is restored byte for byte.
- What it does: It lists and searches its content. Defines 7 functions or classes, including die, step, ok, finish, abort. Uses libraries node:fs, node:path. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json; command-line arguments.
- Downstream impact: Used directly by 2 files: Loader Swap Test (gridatlas); Map Promotion Rehearsal (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `die(m)`; `step(m)`; `ok(m)`; `finish(code)`; `abort()`; `rollbackLoaderOnly(R)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 2 estate files (import 2); used by 2; mentioned by 0
### GridAtlas Rollback
- File: gridatlas/tools/rollback.mjs (JavaScript, 251 lines) · role storage · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/rollback.mjs#L1-L251
- Page: https://code.globalgrid2050.com/explore-code/s/0670.html#f3
- Synopsis: A JavaScript module in the tools folder that works with committed bytes (`committedBytes`), using SHA-256. It reads JSON (`readJson`) and writes JSON (`writeJson`).
- What it achieves (comment): Roll the live composition back to a generation that has already shipped.
- What it does: It loads data. Defines argv, die, readJson, writeJson, committedBytes. Uses libraries node:fs, node:path, node:child_process, node:crypto, node:url. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json; JSON file live-set.json; command-line arguments.
- Downstream impact: Used directly by 2 files: GridAtlas — Release (gridatlas); GridAtlas Rollback Composition Workflow (gridatlas). Reached from 27 other entry points, including GridAtlas Cartridge Proof Workflow (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas); GridAtlas Verify Live Workflow (gridatlas).
- Signatures: `argv(flag)`; `die(message)`; `readJson(file)`; `writeJson(file, value)`; `committedBytes(relative)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json; JSON file live-set.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 1 estate file (script-call 1); used by 2; mentioned by 0
### Convergence Preview
- File: gridatlas/tools/satnav/guidance/convergence-preview.mjs (JavaScript, 83 lines) · role storage · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/guidance/convergence-preview.mjs#L1-L83
- Page: https://code.globalgrid2050.com/explore-code/s/0674.html#f3
- Synopsis: A JavaScript module in the guidance folder of GridAtlas that reads manifest (`readManifest`), using SHA-256.
- What it achieves (comment): It reads manifest (`readManifest`) and is built from the sha step (`sha`) and the pin step (`pin`). Run `regional-preview.mjs` first in a checkout containing both PRs. It reads `atlas/current.json` and writes `/current.json`.
- What it does: It loads data. Defines sha, readManifest, pin, verify. Uses libraries node:fs, node:path, node:assert/strict, node:crypto. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path 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 current.json. Out: JSON file current.json.
- Downstream impact: Used directly by 2 files: CI PR Gate (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas). Reached from 1 other entry point, including Map Promotion Rehearsal (gridatlas).
- Signatures: `sha(bytes)`; `readManifest(dir)`; `pin(entry,filename,bytes)`; `verify(dir,entry)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json]; out [JSON file current.json]; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 2; mentioned by 0
### Verify Live Bytes
- File: gridatlas/tools/scope/verify-live-bytes.mjs (JavaScript, 195 lines) · role storage · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/scope/verify-live-bytes.mjs#L1-L195
- Page: https://code.globalgrid2050.com/explore-code/s/0690.html#f2
- Synopsis: A JavaScript module in the scope folder of GridAtlas that resolves atlas reference (`resolveAtlasReference`) and collects targets (`collectTargets`), using SHA-256.
- What it achieves (comment): It resolves atlas reference (`resolveAtlasReference`), collects targets (`collectTargets`) and fetches live (`fetchLive`). Byte-for-byte check that the public GitHub Pages site serves exactly what a commit declares.
- What it does: It fetches data. Defines 12 functions or classes, including argument, sha256, committedBytes, committedFiles, walk. Uses libraries node:fs, node:path, node:crypto, node:child_process, node:url. Side effects: reads or writes files; makes network requests; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json; command-line arguments.
- Downstream impact: Used directly by 2 files: Check Live (gridatlas); GridAtlas Verify Live Workflow (gridatlas).
- Signatures: `argument(name, fallback)`; `sha256(bytes)`; `committedBytes(relative)`; `committedFiles(prefix)`; `isCommittedFile(relative)`; `resolveAtlasReference(value)`; `collectTargets()`; `add(relative, why)`; `walk(value, where)`; `fetchLive(relative, attempt)`; `main()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 1 estate file (estate-url 1); used by 2; mentioned by 0
### Import UKPN
- File: gridatlas/tools/secondary/import_ukpn.py (Python, 130 lines) · role energy-data · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/secondary/import_ukpn.py#L1-L130
- Page: https://code.globalgrid2050.com/explore-code/s/0449.html#f1
- Synopsis: A Python command-line tool in the secondary folder of GridAtlas that reads UKPN secondary site transformers, grid UKPN secondary and UKPN transformers, using SHA-256 from UK Power Networks open data.
- What it achieves (comment): It reads source (`read_source`) and compiles sites (`compile_sites`). Compile the pinned UKPN source into the existing GridAtlas Parquet contract. It reads `ukpn-secondary-site-transformers.geojson`. It accepts `--output`.
- What it does: It loads UKPN secondary site transformers, grid UKPN secondary, UKPN transformers and UKPN sites. Defines read_source, compile_sites, main, export. Uses libraries argparse, hashlib, json, math, zipfile. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'ukpn'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: data source: UK Power Networks open data; GeoJSON file ukpn-secondary-site-transformers.geojson; GeoJSON file grid_ukpn_secondary.geojson; Parquet file grid_ukpn_secondary.parquet; Parquet file ukpn_transformers.parquet; Parquet file ukpn_sites.parquet; DuckDB queries; command-line arguments. Out: Parquet file.
- Downstream impact: Used directly by 2 files: Audit UKPN (gridatlas); UKPN Secondary Columnar Workflow (data-grid-gb).
- Signatures: `read_source(path)`; `compile_sites(rows)`; `main()`; `export(query, name)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [data source: UK Power Networks open data; GeoJSON file ukpn-secondary-site-transformers.geojson; GeoJSON file grid_ukpn_secondary.geojson; Parquet file grid_ukpn_secondary.parquet; Parquet file ukpn_transformers.parquet; Parquet file ukpn_sites.parquet; DuckDB queries; command-line arguments]; out [Parquet file]; crs []; voltages []
- Edges: uses 0 estate files; used by 2; mentioned by 0
### Keys
- File: gridatlas/tools/twin/keys.mjs (JavaScript, 237 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/twin/keys.mjs#L1-L237
- Page: https://code.globalgrid2050.com/explore-code/s/0693.html#f1
- Synopsis: A JavaScript module in the twin folder of GridAtlas that reads sources, grid substations and the Renewable Energy Planning Database (REPD) register, using SHA-256.
- What it achieves (comment): It is built from the claim step (`claim`), the grab step (`grab`) and the nearest step (`nearest`). The register of keys of a generation, in the Kuiper manner (Ventusltd/kuiper-belt `README.md`, "The first law: no claim without a key": a statement with a key is a fact anyone can recompute; a statement without one is a candidate).
- What it does: It loads sources, grid substations and the REPD register. Defines 6 functions or classes, including claim, n, grab, nearest, get. Uses libraries node:fs, node:path, node:vm. Side effects: changes the web page (DOM); reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register.
- Inputs & outputs: In: JSON file current.json; JSON file sources.json; GeoJSON file grid_substations.geojson.
- Downstream impact: Used directly by 2 files: CI PR Gate (gridatlas); GridAtlas Verify Live Workflow (gridatlas). Reached from 2 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); Map Promotion Rehearsal (gridatlas).
- Signatures: `claim(id, text, holds, keys, measured = {})`; `n(v)`; `grab(name)`; `nearest(lon, lat)`; `get(rel)`; `keyText(k)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json; JSON file sources.json; GeoJSON file grid_substations.geojson]; out []; crs []; voltages []
- Edges: uses 2 estate files (import 2); used by 2; mentioned by 0
### Preserve
- File: gridatlas/tools/twin/preserve.mjs (JavaScript, 172 lines) · role ingest · stage ingest · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/twin/preserve.mjs#L1-L172
- Page: https://code.globalgrid2050.com/explore-code/s/0693.html#f3
- Synopsis: A JavaScript module in the twin folder of GridAtlas that reads parts and composition, using SHA-256.
- What it achieves (comment): Preservation: every published generation stays a version. It reads `atlas/current.json`.
- What it does: It loads parts and composition. Uses libraries node:fs, node:path. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json; JSON file -parts.json; JSON file -composition.json.
- Downstream impact: Used directly by 2 files: CI PR Gate (gridatlas); GridAtlas Verify Live Workflow (gridatlas). Reached from 2 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); Map Promotion Rehearsal (gridatlas).
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json; JSON file -parts.json; JSON file -composition.json]; out []; crs []; voltages []
- Edges: uses 3 estate files (import 3); used by 2; mentioned by 0
### Build Readiness
- File: gridatlas/202608310050-gridatlas-next-version-builders/tools/202608310050-build-readiness.mjs (JavaScript, 112 lines) · role storage · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/202608310050-gridatlas-next-version-builders/tools/202608310050-build-readiness.mjs#L1-L112
- Page: https://code.globalgrid2050.com/explore-code/s/0516.html#f2
- Synopsis: A JavaScript module in the tools folder of GridAtlas that reads handover and the Renewable Energy Planning Database (REPD) register, using SHA-256. It writes JSON (`writeJson`).
- What it achieves (name): Its name says it builds readiness. Defines `sha256`, `writeJson` and `copy`. It writes `readiness.json`.
- What it does: It loads handover and the REPD register. Defines sha256, writeJson, copy. Uses libraries node:crypto, node:fs, node:path. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register.
- Inputs & outputs: In: JSON file readiness.json; JSON file status.json; JSON file handover.json; command-line arguments.
- Downstream impact: Used directly by 1 file: GridAtlas Next Version Builders Workflow (gridatlas).
- Signatures: `sha256(file)`; `writeJson(name, value)`; `copy(relative, targetDirectory = 'source')`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file readiness.json; JSON file status.json; JSON file handover.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Finalise Stage
- File: gridatlas/202608310050-gridatlas-next-version-builders/tools/202608310050-finalise-stage.mjs (JavaScript, 87 lines) · role storage · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/202608310050-gridatlas-next-version-builders/tools/202608310050-finalise-stage.mjs#L1-L87
- Page: https://code.globalgrid2050.com/explore-code/s/0516.html#f3
- Synopsis: A JavaScript module in the tools folder of GridAtlas that uses SHA-256. It is built from the sha256 step (`sha256`).
- What it achieves (name): Defines `outcome`, `success`, `list` and 1 more.
- What it does: It loads data. Defines outcome, success, list, sha256. Uses libraries node:crypto, node:fs, node:path. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file source-lock.json; command-line arguments. Out: JSON file status.json.
- Downstream impact: Used directly by 1 file: GridAtlas Next Version Builders Workflow (gridatlas).
- Signatures: `outcome(name)`; `success(name)`; `list(directory)`; `sha256(file)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file source-lock.json; command-line arguments]; out [JSON file status.json]; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Prove Federated Deep Links
- File: gridatlas/202608310050-gridatlas-next-version-builders/tools/202608310050-prove-federated-deep-links.mjs (JavaScript, 114 lines) · role interaction · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/202608310050-gridatlas-next-version-builders/tools/202608310050-prove-federated-deep-links.mjs#L1-L114
- Page: https://code.globalgrid2050.com/explore-code/s/0517.html#f1
- Synopsis: A JavaScript module in the tools folder of GridAtlas.
- What it does: Uses libraries node:fs, node:path, playwright. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: command-line arguments.
- Downstream impact: Used directly by 1 file: GridAtlas Next Version Builders Workflow (gridatlas).
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [command-line arguments]; out []; crs []; voltages []
- Edges: uses 2 estate files (estate-url 2); used by 1; mentioned by 0
### Select Build Plan
- File: gridatlas/202608310050-gridatlas-next-version-builders/tools/202608310050-select-build-plan.mjs (JavaScript, 180 lines) · role storage · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/202608310050-gridatlas-next-version-builders/tools/202608310050-select-build-plan.mjs#L1-L180
- Page: https://code.globalgrid2050.com/explore-code/s/0517.html#f2
- Synopsis: A JavaScript module in the tools folder of GridAtlas that lists files (`listFiles`), using SHA-256.
- What it achieves (name): It lists files (`listFiles`) and is built from the london generation helper (`londonGeneration`) and the output step (`output`). Defines `invariant`, `londonGeneration`, `pick` and 7 more.
- What it does: It loads data. Defines 11 functions or classes, including invariant, londonGeneration, pick, output, listFiles. Uses libraries node:crypto, node:fs, node:os, node:path, node:child_process. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file status.json. Out: JSON file source-lock.json.
- Downstream impact: Used directly by 1 file: GridAtlas Next Version Builders Workflow (gridatlas).
- Signatures: `invariant(condition, message)`; `londonGeneration(date = new Date())`; `pick(type)`; `output(values)`; `listFiles(directory)`; `wordCount(text)`; `inspectBuildPlan(directory)`; `refs()`; `materialise(ref, destination)`; `completedStages()`; `main()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file status.json]; out [JSON file source-lock.json]; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 1
### Codex Lab
- File: gridatlas/atlas/codex/202609020010/assets/lab.css (CSS, 12 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/codex/202609020010/assets/lab.css#L1-L12
- Page: https://code.globalgrid2050.com/explore-code/s/0519.html#f2
- Synopsis: A style sheet in the assets folder of GridAtlas.
- What it does: Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief).
- Downstream impact: Used directly by 1 file: Atlas — Codex Page (gridatlas, https://gridatlas.globalgrid2050.com/atlas/codex/202609020010/).
- domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Codex Lab
- File: gridatlas/atlas/codex/202609020010/assets/lab.js (JavaScript, 36 lines) · role interaction · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/codex/202609020010/assets/lab.js#L1-L36
- Page: https://code.globalgrid2050.com/explore-code/s/0519.html#f3
- Synopsis: A JavaScript file in the assets folder of GridAtlas.
- What it achieves (name): Defines `envelope`. It responds to submit events.
- What it does: Defines envelope. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief).
- Downstream impact: Used directly by 1 file: Atlas — Codex Page (gridatlas, https://gridatlas.globalgrid2050.com/atlas/codex/202609020010/).
- Signatures: `envelope(values)`
- domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### G203 Compact Dock
- File: gridatlas/atlas/modules/g203-compact-dock.js (JavaScript, 46 lines) · role interaction · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/g203-compact-dock.js#L1-L46
- Page: https://code.globalgrid2050.com/explore-code/s/0576.html#f2
- Synopsis: A JavaScript file in the atlas folder of GridAtlas. It is built from the mount step (`mount`) and the ready step (`ready`).
- What it achieves (comment): G203-01: one native layout owner; original controls and listeners retained. It responds to satnav, pageshow and pagehide events.
- What it does: It draws its content. Defines mount, ready. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `mount()`; `ready()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### G203 Vicinity Controls Rescue
- File: gridatlas/atlas/modules/g203-vicinity-controls-rescue.js (JavaScript, 132 lines) · role interaction · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/g203-vicinity-controls-rescue.js#L1-L132
- Page: https://code.globalgrid2050.com/explore-code/s/0588.html#f2
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that works with float layers (`floatLayers`) and full mode (`fullMode`) (units: MW).
- What it achieves (comment): It is built from the answered step (`answered`), the float layers helper (`floatLayers`) and the wake step (`wake`). The V9.194 launcher put this button INSIDE the map-controls stacking context. It responds to visibilitychange, pagehide and click events.
- What it does: Defines 8 functions or classes, including answered, floatLayers, wake, fallback, tick. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `tech(q.get('technology')||'')`; `answered()`; `floatLayers()`; `wake()`; `fallback()`; `tick()`; `later()`; `fullMode()`; `reflect()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### SatNav Unified Waypoint Map Agent1
- File: gridatlas/atlas/modules/satnav-unified-waypoint-map-agent1.js (JavaScript, 669 lines) · role geodesy · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/satnav-unified-waypoint-map-agent1.js#L1-L669
- Page: https://code.globalgrid2050.com/explore-code/s/0592.html#f1
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps substations and 11kV. It sets panel open (`setPanelOpen`), updates text (`updateText`) and refreshes guidance (`refreshGuidance`).
- What it achieves (comment): Derived from the immutable 2 km convergence cartridge; native shell geometry stays owned by GridAtlas. Its code works with 11 kV and 33 kV. It responds to click, visibilitychange and offline events.
- What it does: It maps substations and 11kV. Defines 35 functions or classes, including setPanelOpen, notify, updateText, distanceText, bearingText. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage field_execution (path 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: substations, 11kV, 33kV.
- Inputs & outputs: Voltage levels named: 33kV, 11kV.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `setPanelOpen(open)`; `notify(name, detail)`; `updateText(element, value)`; `distanceText(metres)`; `bearingText(degrees)`; `collection(features)`; `pauseFollow()`; `refreshGuidance()`; `changePlan()`; `edit(operation)`; `setPin(which, at, fromGps = false)`; `place(at, fromGps = false)`; `restoreLocalPlan()`; `leaveExample()`; `replacePlan(coordinates, {example = false} = {})`; `undo()`; `setFix(next)`; `fieldState(sample)`; `refreshSources()`; `guidanceText()`; `nativeLayer(id)`; `syncInfrastructureControls()`; `render()`; `arm(which)`; `mapClick(event)` (and 12 more)
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages [33kV, 11kV]
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Pre Snapped Config Adapter
- File: gridatlas/atlas/releases/202608292126-atlas-v9/202608292126-pre-snapped-config-adapter.js (JavaScript, 50 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/releases/202608292126-atlas-v9/202608292126-pre-snapped-config-adapter.js#L1-L50
- Page: https://code.globalgrid2050.com/explore-code/s/0606.html#f3
- Synopsis: A JavaScript file in the atlas folder of GridAtlas.
- What it does: Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Downstream impact: Used directly by 1 file: Releases — Atlas V9 Page (gridatlas, https://gridatlas.globalgrid2050.com/atlas/releases/202608292311-atlas-v9/). Reached from 95 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V030 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v030.html).
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### V8 Product Parity
- File: gridatlas/atman/202608291758-v8-product-parity.mjs (JavaScript, 160 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atman/202608291758-v8-product-parity.mjs#L1-L160
- Page: https://code.globalgrid2050.com/explore-code/s/0614.html#f2
- Synopsis: A JavaScript module in the atman folder of GridAtlas that compares snapshots (`compareSnapshots`).
- What it achieves (name): It compares snapshots (`compareSnapshots`) and is built from the require condition helper (`requireCondition`) and the clean step (`clean`). Defines `requireCondition`, `ready`, `snapshot` and 5 more.
- What it does: It draws its content. Defines 8 functions or classes, including requireCondition, ready, snapshot, clean, compareSnapshots. Uses libraries node:fs/promises, playwright. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file 202608291758-v8-product-parity.json.
- Downstream impact: Used directly by 1 file: Build V8 Product Mirror (gridatlas).
- Signatures: `requireCondition(condition, message)`; `ready(page)`; `snapshot(page)`; `clean(value)`; `compareSnapshots(oracle, candidate, viewport)`; `sameJson(a, b)`; `testBridge(page)`; `toggle(id)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file 202608291758-v8-product-parity.json]; out []; crs []; voltages []
- Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 1
### Prove V8 Product Mirror
- File: gridatlas/atman/202608291818-prove-v8-product-mirror.mjs (JavaScript, 218 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atman/202608291818-prove-v8-product-mirror.mjs#L1-L218
- Page: https://code.globalgrid2050.com/explore-code/s/0614.html#f3
- Synopsis: A JavaScript module in the atman folder of GridAtlas that draws mirror proof, using SHA-256. It normalises pixels (`normalisePixels`) and decodes png (`decodePng`).
- What it achieves (name): Defines `requireCondition`, `blob`, `sha256` and 14 more.
- What it does: It draws mirror proof. Defines 17 functions or classes, including requireCondition, blob, sha256, bytes, byteProof. Uses libraries node:crypto, node:fs/promises, pngjs, playwright. Side effects: changes the web page (DOM); reads or writes files; makes network requests.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file 202608291818-v8-mirror-proof.json.
- Downstream impact: Used directly by 1 file: Prove V8 Product Mirror (gridatlas).
- Signatures: `requireCondition(ok, message)`; `blob(bytes)`; `sha256(bytes)`; `bytes(url)`; `byteProof()`; `ready(page)`; `snapshot(page)`; `round(n)`; `compare(a,b,viewport)`; `normalisePixels(page)`; `shot(page, region)`; `decodePng(buffer)`; `pixelProof(aPage,bPage,viewport)`; `controlState(page,id)`; `display(s)`; `interactionProof(a,b)`; `bridgeProof(page)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file 202608291818-v8-mirror-proof.json]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 1
### Verify Place Postcode Release
- File: gridatlas/atman/202608291818-verify-place-postcode-release.mjs (JavaScript, 202 lines) · role automation · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atman/202608291818-verify-place-postcode-release.mjs#L1-L202
- Page: https://code.globalgrid2050.com/explore-code/s/0615.html#f1
- Synopsis: A JavaScript module in the atman folder of GridAtlas that runs search (`runSearch`), covering place postcode proof, postcodes and the Renewable Energy Planning Database (REPD) register.
- What it achieves (name): It runs search (`runSearch`) and is built from the require condition helper (`requireCondition`) and the clean step (`clean`). Its name says it verifies place postcode release. Defines `requireCondition`, `ready`, `snapshot` and 5 more.
- What it does: It draws place postcode proof, postcodes and the REPD register. Defines 8 functions or classes, including requireCondition, ready, snapshot, clean, assertStructuralParity. Uses libraries node:fs/promises, playwright. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: postcodes, the REPD register.
- Inputs & outputs: In: JSON file 202608291818-place-postcode-proof.json; DuckDB queries.
- Downstream impact: Used directly by 1 file: Build Place Postcode Search (gridatlas).
- Signatures: `requireCondition(condition, message)`; `ready(page)`; `snapshot(page)`; `clean(value)`; `assertStructuralParity(oracle, candidate, viewport)`; `runSearch(page, query)`; `testSearch(page)`; `testV9DataBridge(page)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file 202608291818-place-postcode-proof.json; DuckDB queries]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Verify Exact Renewable Energy Planning Database (REPD) Deep Link
- File: gridatlas/atman/202608300453-verify-exact-repd-deep-link.mjs (JavaScript, 146 lines) · role energy-data · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atman/202608300453-verify-exact-repd-deep-link.mjs#L1-L146
- Page: https://code.globalgrid2050.com/explore-code/s/0615.html#f4
- Synopsis: A JavaScript module in the atman folder of GridAtlas that reads the REPD register and postcodes.
- What it achieves (name): Its name says it verifies exact REPD deep link. Defines `isKnownLegacyDuplicateEngineError`.
- What it does: It loads the REPD register and postcodes. Defines isKnownLegacyDuplicateEngineError. Uses libraries node:fs/promises, playwright. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, postcodes.
- Inputs & outputs: In: JSON file style.json; DuckDB queries.
- Downstream impact: Used directly by 1 file: Build Verify Promote Exact Renewable Energy Planning Database (REPD) Deep Link (gridatlas).
- Signatures: `isKnownLegacyDuplicateEngineError(message)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file style.json; DuckDB queries]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Verify V9 5 Search
- File: gridatlas/atman/202608301624-verify-v9-5-search.mjs (JavaScript, 192 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atman/202608301624-verify-v9-5-search.mjs#L1-L192
- Page: https://code.globalgrid2050.com/explore-code/s/0616.html#f1
- Synopsis: A JavaScript module in the atman folder of GridAtlas that draws search proof, postcodes and the Renewable Energy Planning Database (REPD) register.
- What it achieves (name): It cleans page (`cleanPage`) and is built from the wait ready helper (`waitReady`) and the query step (`query`). Its name says it verifies search. Defines `invariant`, `waitReady`, `record` and 2 more.
- What it does: It draws search proof, postcodes and the REPD register. Defines invariant, waitReady, record, cleanPage, query. Uses libraries node:fs/promises, playwright. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: postcodes, the REPD register.
- Inputs & outputs: In: JSON file 202608301624-v9-5-search-proof.json.
- Downstream impact: Used directly by 1 file: GridAtlas Verify Live Workflow (gridatlas).
- Signatures: `invariant(condition, message)`; `waitReady(page)`; `record(name, action)`; `cleanPage(page)`; `query(page, text, { sequential = false } = {})`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file 202608301624-v9-5-search-proof.json]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Verify Streaming Roads
- File: gridatlas/atman/verify_streaming_roads.mjs (JavaScript, 126 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atman/verify_streaming_roads.mjs#L1-L126
- Page: https://code.globalgrid2050.com/explore-code/s/0616.html#f3
- Synopsis: A JavaScript module in the atman folder of GridAtlas that reads streaming road proof, UK motorways, UK trunk roads and UK primary roads.
- What it achieves (name): Its name says it verifies streaming roads.
- What it does: It loads streaming road proof, UK motorways, UK trunk roads and UK primary roads. Uses libraries node:fs/promises, playwright. Side effects: changes the web page (DOM); reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file streaming-road-proof.json; GeoJSON file uk_motorways.geojson; GeoJSON file uk_trunk_roads.geojson; GeoJSON file uk_primary_roads.geojson; DuckDB queries.
- Downstream impact: Used directly by 1 file: GridAtlas Verify Live Workflow (gridatlas).
- Signatures: `seconds(performance.now() - started)`; `heapMb(await cdp.send('Runtime.getHeapUsage'))`; `bad(!state.label.includes('[OK]') || !state.loaded || state.rows !== target.rows || state.streamedResponses < 1 || state....)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file streaming-road-proof.json; GeoJSON file uk_motorways.geojson; GeoJSON file uk_trunk_roads.geojson; GeoJSON file uk_primary_roads.geojson; DuckDB queries]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Build Render Ready V9
- File: gridatlas/compiler/202608292311-build-render-ready-v9.py (Python, 60 lines) · role storage · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/compiler/202608292311-build-render-ready-v9.py#L1-L60
- Page: https://code.globalgrid2050.com/explore-code/s/0618.html#f2
- Synopsis: A Python module in the compiler folder of GridAtlas that fetches grid 400kV, grid 275kV, grid 220kV and grid 132kV.
- What it achieves (comment): It replaces exactly once (`replace_exactly_once`) and is built from the git blob sha1 helper (`git_blob_sha1`). Run the pinned render-ready compiler with a complete deterministic V8 oracle. Its code works with 400 kV.
- What it does: It fetches grid 400kV, grid 275kV, grid 220kV and grid 132kV. Defines git_blob_sha1, replace_exactly_once. Uses libraries __future__, hashlib, runpy, subprocess, pathlib. Side effects: reads or writes files; makes network requests; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV.
- Inputs & outputs: Voltage levels named: 400kV.
- Downstream impact: Used directly by 1 file: Build Verify Publish Render Ready V9 (gridatlas).
- Signatures: `git_blob_sha1(payload: bytes)`; `replace_exactly_once(source: str, before: str, after: str, label: str)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages [400kV]
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Build Exact Renewable Energy Planning Database (REPD) Deep Link Successor
- File: gridatlas/compiler/202608300453-build-exact-repd-deep-link-successor.py (Python, 258 lines) · role energy-data · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/compiler/202608300453-build-exact-repd-deep-link-successor.py#L1-L258
- Page: https://code.globalgrid2050.com/explore-code/s/0619.html#f1
- Synopsis: A Python command-line tool in the compiler folder of GridAtlas that reads grid 400kV, map ready and deep link receiver, using SHA-256. It replaces once (`replace_once`) and writes JSON (`write_json`).
- What it achieves (comment): Build an immutable GridAtlas successor that receives exact REPD deep links. Its code works with 400 kV. It writes `deep-link-receiver-manifest.json`. It accepts `--parent`, `--output` and `--release-id`.
- What it does: It loads grid 400kV, map ready and deep link receiver. Defines replace_once, sha256, write_json, main. Uses libraries __future__, argparse, hashlib, json, shutil. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV.
- Inputs & outputs: In: GeoJSON file grid_400kv.geojson; JSON file build-manifest.json; JSON file map-ready-manifest.json; JSON file release-manifest.json; JSON file deep-link-receiver-manifest.json; command-line arguments. Voltage levels named: 400kV.
- Downstream impact: Used directly by 1 file: Build Verify Promote Exact Renewable Energy Planning Database (REPD) Deep Link (gridatlas).
- Signatures: `replace_once(source: str, before: str, after: str, label: str)`; `sha256(path: Path)`; `write_json(path: Path, value: object)`; `main()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [GeoJSON file grid_400kv.geojson; JSON file build-manifest.json; JSON file map-ready-manifest.json; JSON file release-manifest.json; JSON file deep-link-receiver-manifest.json; command-line arguments]; out []; crs []; voltages [400kV]
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Evaluate Cross Repo Atlas V9
- File: gridatlas/orchestration/202608300232-evaluate-cross-repo-atlas-v9.py (Python, 187 lines) · role storage · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/orchestration/202608300232-evaluate-cross-repo-atlas-v9.py#L1-L187
- Page: https://code.globalgrid2050.com/explore-code/s/0620.html#f2
- Synopsis: A Python command-line tool in the orchestration folder of GridAtlas that reads GridAtlas current, atlas deep link audit and atlas company Renewable Energy Planning Database (REPD) links, using SHA-256.
- What it achieves (comment): It loads optional (`load_optional`) and is built from the sha step (`sha`) and the milestone step (`milestone`). Evaluate the governed Atlas V9 publication/deep-link chain across four repositories. It accepts `--gridatlas`, `--globalgrid` and `--pipelinenews`.
- What it does: It loads GridAtlas current, atlas deep link audit, atlas company REPD links and atlas deep link contract. Defines load_optional, sha, milestone, main. Uses libraries __future__, argparse, hashlib, json, datetime. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file live-set.json; JSON file gridatlas-v9-current.json; JSON file atlas-v9-current.json; JSON file atlas-v9-deep-link-audit.json; JSON file atlas-v9-company-repd-links-manifest.json; JSON file atlas-v9-deep-link-contract.v1.json; command-line arguments.
- Downstream impact: Used directly by 1 file: Evaluate Cross Repo Atlas V9 (gridatlas).
- Signatures: `load_optional(path: Path)`; `sha(path: Path)`; `milestone(identifier: str, passed: bool, observed: Any, gate: Any)`; `main()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file live-set.json; JSON file gridatlas-v9-current.json; JSON file atlas-v9-current.json; JSON file atlas-v9-deep-link-audit.json; JSON file atlas-v9-company-repd-links-manifest.json; JSON file atlas-v9-deep-link-contract.v1.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Assemble Study Build Controller
- File: gridatlas/orchestration/202608310015-gridatlas-overnight-next-versions/202608310015-assemble-study-build-controller.mjs (JavaScript, 32 lines) · role storage · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/orchestration/202608310015-gridatlas-overnight-next-versions/202608310015-assemble-study-build-controller.mjs#L1-L32
- Page: https://code.globalgrid2050.com/explore-code/s/0620.html#f3
- Synopsis: A JavaScript module in the orchestration folder of GridAtlas that uses SHA-256.
- What it achieves (name): Defines `sha256`.
- What it does: It loads data. Defines sha256. Uses libraries node:crypto, node:fs/promises, node:path. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Downstream impact: Used directly by 1 file: GridAtlas Overnight Next Versions Workflow (gridatlas).
- Signatures: `sha256(value)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Finalise Overnight Candidate
- File: gridatlas/orchestration/202608310015-gridatlas-overnight-next-versions/202608310015-finalise-overnight-candidate.mjs (JavaScript, 155 lines) · role storage · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/orchestration/202608310015-gridatlas-overnight-next-versions/202608310015-finalise-overnight-candidate.mjs#L1-L155
- Page: https://code.globalgrid2050.com/explore-code/s/0620.html#f4
- Synopsis: A JavaScript module in the orchestration folder of GridAtlas that reads GridAtlas programme ledger, using SHA-256. It appends output (`appendOutput`), reads JSON (`readJson`) and writes JSON (`writeJson`).
- What it achieves (name): Defines `appendOutput`, `sha256`, `htmlEscape` and 3 more.
- What it does: It loads GridAtlas programme ledger. Defines 6 functions or classes, including appendOutput, sha256, htmlEscape, readJson, writeJson. Uses libraries node:crypto, node:fs/promises, node:path, node:fs. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file 202608310015-gridatlas-programme-ledger.json.
- Downstream impact: Used directly by 1 file: GridAtlas Overnight Next Versions Workflow (gridatlas).
- Signatures: `appendOutput(key, value)`; `sha256(buffer)`; `htmlEscape(value)`; `readJson(filePath)`; `writeJson(filePath, value)`; `listFilesRecursive(folder, relative = '')`; `ledgerCandidate(ledger.candidates || [])`; `rows(proof.tests || [])`; `files(await listFilesRecursive(candidateAbsolute))`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file 202608310015-gridatlas-programme-ledger.json]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Verify Overnight Candidate
- File: gridatlas/orchestration/202608310015-gridatlas-overnight-next-versions/202608310015-verify-overnight-candidate.mjs (JavaScript, 301 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/orchestration/202608310015-gridatlas-overnight-next-versions/202608310015-verify-overnight-candidate.mjs#L1-L301
- Page: https://code.globalgrid2050.com/explore-code/s/0621.html#f1
- Synopsis: A JavaScript module in the orchestration folder of GridAtlas that draws GridAtlas overnight candidate proof, UK motorways, UK trunk roads and UK primary roads.
- What it achieves (name): It opens candidate (`openCandidate`) and is built from the ensure parent helper (`ensureParent`) and the wait composition ready helper (`waitCompositionReady`). Its name says it verifies overnight candidate. Defines `invariant`, `record`, `ensureParent` and 3 more. Its code works with 400 kV.
- What it does: It draws GridAtlas overnight candidate proof, UK motorways, UK trunk roads and UK primary roads. Defines 6 functions or classes, including invariant, record, ensureParent, waitCompositionReady, openCandidate. Uses libraries node:fs/promises, node:path, playwright. Side effects: changes the web page (DOM); reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV.
- Inputs & outputs: In: JSON file 202608310015-gridatlas-overnight-candidate-proof.json; GeoJSON file uk_motorways.geojson; GeoJSON file uk_trunk_roads.geojson; GeoJSON file uk_primary_roads.geojson. Voltage levels named: 400kV.
- Downstream impact: Used directly by 1 file: GridAtlas Overnight Next Versions Workflow (gridatlas).
- Signatures: `invariant(condition, message)`; `record(name, severity, action)`; `ensureParent(filePath)`; `waitCompositionReady()`; `openCandidate(search = '')`; `submitQuery(text, { sequential = false } = {})`; `seconds(performance.now() - started)`; `heapMb(await cdp.send('Runtime.getHeapUsage'))`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file 202608310015-gridatlas-overnight-candidate-proof.json; GeoJSON file uk_motorways.geojson; GeoJSON file uk_trunk_roads.geojson; GeoJSON file uk_primary_roads.geojson]; out []; crs []; voltages [400kV]
- Edges: uses 0 estate files; used by 1; mentioned by 0
### CI Estate Deep Scan
- File: gridatlas/tools/ci/202609012240-estate-deep-scan.mjs (JavaScript, 266 lines) · role automation · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/ci/202609012240-estate-deep-scan.mjs#L1-L266
- Page: https://code.globalgrid2050.com/explore-code/s/0624.html#f1
- Synopsis: A JavaScript module in the tools folder of GridAtlas that queries contract (`queryContract`), using SHA-256.
- What it achieves (comment): It queries contract (`queryContract`) and is built from the arg step (`arg`) and the trace step (`trace`). Independent estate scanner: evidence first, screening claims labelled.
- What it does: It loads data. Defines 9 functions or classes, including arg, trace, git, code, sha. Uses libraries node:child_process, node:fs, node:crypto, node:path, node:url. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json; JSON file 202609012240-estate-deep-scan.json; command-line arguments.
- Downstream impact: Used directly by 1 file: Estate Deep Scan Proof (gridatlas).
- Signatures: `arg(name, fallback)`; `trace(text)`; `git(repo, args, max = 256)`; `code(path)`; `sha(text)`; `lineOf(text, offset)`; `evidence(repo, path, text, index, claim)`; `finding(severity, confidence, title, detail, items = [])`; `queryContract(repo, mode, { gridAtlasOnly = false } = {})`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json; JSON file 202609012240-estate-deep-scan.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0
### CI Live Bytes Issue
- File: gridatlas/tools/ci/live-bytes-issue.mjs (JavaScript, 192 lines) · role automation · stage ingest · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/ci/live-bytes-issue.mjs#L1-L192
- Page: https://code.globalgrid2050.com/explore-code/s/0629.html#f1
- Synopsis: A JavaScript module in the tools folder of GridAtlas using data from GitHub API. It reads report (`readReport`) and syncs issue (`syncIssue`).
- What it achieves (comment): Open, refresh or close the one GitHub issue labelled "live-bytes" from the result of the live-bytes job (-verify-live.yml).
- What it does: It fetches data. Defines 9 functions or classes, including argument, readReport, issueText, syncIssue, githubApi. Uses libraries node:fs, node:assert/strict, node:url. Side effects: reads or writes files; makes network requests; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: data source: GitHub API; JSON file current.json; JSON file live-bytes.json; command-line arguments.
- Downstream impact: Used directly by 1 file: GridAtlas Verify Live Workflow (gridatlas).
- Signatures: `export readReport(file)`; `export issueText(report, { runUrl = '', now = new Date() } = {})`; `export syncIssue(api, { outcome, report, runUrl = '', now = new Date() })`; `export githubApi(repo, token, base = 'https:)`; `argument(argv, name, fallback)`; `call(method, path, payload)`; `openIssues(label)`; `ensureLabel(name, color, description)`; `fakeApi(seed = [])`; `create(title, body, label)`; `update(number, fields)`; `comment(number, body)`; `selfTest()`; `main(argv)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [data source: GitHub API; JSON file current.json; JSON file live-bytes.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### CI Unified Preservation Gate
- File: gridatlas/tools/ci/unified-preservation-gate.py (Python, 69 lines) · role automation · stage ingest · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/ci/unified-preservation-gate.py#L1-L69
- Page: https://code.globalgrid2050.com/explore-code/s/0631.html#f1
- Synopsis: A Python command-line tool in the tools folder of GridAtlas covering unified authorised changes, using SHA-256.
- What it achieves (comment): It is built from the git step (`git`), the paths step (`paths`) and the check step (`check`). V9.201 additive change gate. Run from a full Git checkout of the exact candidate.
- What it does: Defines git, paths, check, workflows, main. Uses libraries json, subprocess, pathlib. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): 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 unified-authorised-changes.json; JSON file current.json.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `git(root, *args)`; `paths(root, rev)`; `check(root, base, head, register)`; `workflows(items)`; `main()`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file unified-authorised-changes.json; JSON file current.json]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Vicinity Entry Browser
- File: gridatlas/tools/proofs/202611222000-vicinity-entry.browser.mjs (JavaScript, 55 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202611222000-vicinity-entry.browser.mjs#L1-L55
- Page: https://code.globalgrid2050.com/explore-code/s/0649.html#f8
- Synopsis: A JavaScript module in the proofs folder of GridAtlas covering the Renewable Energy Planning Database (REPD) register and substations.
- What it does: It lists and searches the REPD register and substations. Uses libraries node:assert/strict, node:fs, node:path, playwright. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, substations.
- Inputs & outputs: Out: JSON file receipt.json.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out [JSON file receipt.json]; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 1; mentioned by 0
### Single-Line Diagram (SLD) Sandbox Proof
- File: gridatlas/tools/proofs/202611222130-sld-sandbox.proof.mjs (JavaScript, 42 lines) · role electrical · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202611222130-sld-sandbox.proof.mjs#L1-L42
- Page: https://code.globalgrid2050.com/explore-code/s/0448.html#f1
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads composition, using SHA-256.
- What it achieves (name): Defines `read`. It reads `atlas/manifests/202611222130-composition.json`.
- What it does: It loads composition. Defines read. Uses libraries node:fs, node:path, node:assert/strict, node:crypto, node:vm. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow.
- Inputs & outputs: In: JSON file 202611222130-composition.json; JSON file current.json.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `read(x)`
- domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file 202611222130-composition.json; JSON file current.json]; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 1; mentioned by 0
### Vicinity Focus Browser
- File: gridatlas/tools/proofs/202611222130-vicinity-focus.browser.mjs (JavaScript, 99 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202611222130-vicinity-focus.browser.mjs#L1-L99
- Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f1
- Synopsis: A JavaScript module in the proofs folder of GridAtlas covering substations and the Renewable Energy Planning Database (REPD) register.
- What it achieves (name): Its code works with 132 kV.
- What it does: Uses libraries node:assert/strict, node:fs, node:path, playwright. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, the REPD register, 132kV.
- Inputs & outputs: Out: JSON file receipt.json. Voltage levels named: 132kV.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out [JSON file receipt.json]; crs []; voltages [132kV]
- Edges: uses 1 estate file (import 1); used by 1; mentioned by 0
### Layers Visible Browser
- File: gridatlas/tools/proofs/202611222343-layers-visible.browser.mjs (JavaScript, 109 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202611222343-layers-visible.browser.mjs#L1-L109
- Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f3
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that works with panel visible (`panelVisible`). It is built from the panel visible helper (`panelVisible`).
- What it achieves (name): Defines `launch`, `fullscreen`, `state` and 1 more.
- What it does: Defines launch, fullscreen, state, panelVisible. Uses libraries node:assert/strict, node:fs, node:path, playwright. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: Out: JSON file receipt.json.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `launch(generation,viewport)`; `fullscreen(page)`; `state(page)`; `panelVisible(s)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out [JSON file receipt.json]; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 1; mentioned by 0
### UKPN Paired Browser
- File: gridatlas/tools/proofs/202612010912-ukpn-paired.browser.mjs (JavaScript, 82 lines) · role energy-data · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612010912-ukpn-paired.browser.mjs#L1-L82
- Page: https://code.globalgrid2050.com/explore-code/s/0448.html#f2
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads grid UKPN secondary and UKPN transformers. It is built from the memory step (`memory`).
- What it achieves (comment): Identical harness copied into the pinned ZIP worktree and run on the same runner as Parquet.
- What it does: It loads grid UKPN secondary and UKPN transformers. Defines memory. Uses libraries node:assert/strict, node:fs, playwright. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'ukpn'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: Parquet file grid_ukpn_secondary.parquet; Parquet file ukpn_transformers.parquet.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `memory()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [Parquet file grid_ukpn_secondary.parquet; Parquet file ukpn_transformers.parquet]; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 1; mentioned by 0
### UKPN Secondary Browser
- File: gridatlas/tools/proofs/202612010912-ukpn-secondary.browser.mjs (JavaScript, 119 lines) · role energy-data · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612010912-ukpn-secondary.browser.mjs#L1-L119
- Page: https://code.globalgrid2050.com/explore-code/s/0448.html#f3
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads grid UKPN secondary, UKPN transformers and 11kV. It is built from the zoom to helper (`zoomTo`).
- What it achieves (name): Defines `memory` and `zoomTo`. It writes `/receipt.json`.
- What it does: It loads grid UKPN secondary, UKPN transformers and 11kV. Defines memory, zoomTo. Uses libraries node:assert/strict, node:fs, playwright. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'ukpn'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 11kV.
- Inputs & outputs: In: Parquet file grid_ukpn_secondary.parquet; Parquet file ukpn_transformers.parquet. Out: JSON file receipt.json. Voltage levels named: 11kV.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `memory()`; `zoomTo(zoom)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [Parquet file grid_ukpn_secondary.parquet; Parquet file ukpn_transformers.parquet]; out [JSON file receipt.json]; crs []; voltages [11kV]
- Edges: uses 1 estate file (import 1); used by 1; mentioned by 0
### Vicinity Focus Proof
- File: gridatlas/tools/proofs/202612012118-vicinity-focus.proof.mjs (JavaScript, 2 lines) · role other · stage unknown · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612012118-vicinity-focus.proof.mjs#L1-L2
- Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f9
- Synopsis: A JavaScript module in the proofs folder of GridAtlas.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 1; mentioned by 0
### All Controls Browser
- File: gridatlas/tools/proofs/all-controls.browser.mjs (JavaScript, 119 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/all-controls.browser.mjs#L1-L119
- Page: https://code.globalgrid2050.com/explore-code/s/0651.html#f2
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that works with pipeline frame (`pipelineFrame`) and settled frame (`settledFrame`), covering solar, using SHA-256.
- What it achieves (name): It is built from the check step (`check`), the menu step (`menu`) and the pipeline frame helper (`pipelineFrame`). Defines `save`, `tap`, `snap` and 4 more. It responds to beforeprint events.
- What it does: It draws solar. Defines 7 functions or classes, including save, tap, snap, check, menu. Uses libraries playwright, node:fs, node:path, node:http, node:assert/strict. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar.
- Inputs & outputs: In: JSON file current.json; command-line arguments. Out: JSON file report.json.
- Downstream impact: Used directly by 1 file: GridAtlas Cartridge Proof Workflow (gridatlas).
- Signatures: `save()`; `tap(loc)`; `snap(name)`; `state()`; `check(name,fn)`; `menu(name)`; `pipelineFrame(id)`; `points(source?._data?.features||[])`; `settledFrame(id)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json; command-line arguments]; out [JSON file report.json]; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### All Layer Clicks Browser
- File: gridatlas/tools/proofs/all-layer-clicks.browser.mjs (JavaScript, 92 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/all-layer-clicks.browser.mjs#L1-L92
- Page: https://code.globalgrid2050.com/explore-code/s/0651.html#f3
- Synopsis: A JavaScript module in the proofs folder of GridAtlas. It is built from the arg step (`arg`), the open step (`open`) and the point step (`point`).
- What it achieves (comment): Drive every real Grid control and verify paint, feature picking and off-state.
- What it does: It fetches data. Defines arg, open, point. Uses libraries playwright, node:fs, node:path, node:http. Side effects: changes the web page (DOM); reads or writes files; makes network requests.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: command-line arguments. Out: JSON file results.json.
- Downstream impact: Used directly by 1 file: GridAtlas Cartridge Proof Workflow (gridatlas).
- Signatures: `arg(key,fallback)`; `open()`; `value(e,f)`; `eligible(data.features||[])`; `point(g)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [command-line arguments]; out [JSON file results.json]; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Map Receiver Restoration Browser
- File: gridatlas/tools/proofs/map-receiver-restoration.browser.mjs (JavaScript, 51 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/map-receiver-restoration.browser.mjs#L1-L51
- Page: https://code.globalgrid2050.com/explore-code/s/0655.html#f1
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that draws National Energy System Operator (NESO) connection sites lean, map receiver timeout and the Renewable Energy Planning Database (REPD) register.
- What it achieves (name): It writes `work/map-receiver-timeout.json`.
- What it does: It draws NESO connection sites lean, map receiver timeout and the REPD register. Uses libraries node:fs/promises, node:path, node:assert/strict. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register.
- Inputs & outputs: In: JSON file neso-connection-sites.lean.json; JSON file current.json. Out: JSON file map-receiver-timeout.json.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file neso-connection-sites.lean.json; JSON file current.json]; out [JSON file map-receiver-timeout.json]; crs []; voltages []
- Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0
### Menu Bar Mobile Hit Browser
- File: gridatlas/tools/proofs/menu-bar-mobile-hit.browser.mjs (JavaScript, 174 lines) · role interaction · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/menu-bar-mobile-hit.browser.mjs#L1-L174
- Page: https://code.globalgrid2050.com/explore-code/s/0656.html#f2
- Synopsis: A JavaScript module in the proofs folder of GridAtlas. It is built from the bound card to map helper (`boundCardToMap`).
- What it achieves (name): Defines `boundCardToMap`. It responds to click and change events.
- What it does: It loads data. Defines boundCardToMap. Uses libraries node:assert/strict, node:fs/promises, node:path, node:url, playwright. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: form fields (user input).
- Downstream impact: Used directly by 1 file: GridAtlas Cartridge Proof Workflow (gridatlas).
- Signatures: `boundCardToMap()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [form fields (user input)]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Regional Interface Browser
- File: gridatlas/tools/proofs/regional-interface.browser.mjs (JavaScript, 269 lines) · role interaction · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/regional-interface.browser.mjs#L1-L269
- Page: https://code.globalgrid2050.com/explore-code/s/0662.html#f4
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads grid UK Power Networks (UKPN) secondary, UKPN transformers, secondary click and 11kV.
- What it achieves (name): It reads menu (`readMenu`) and verifies file menus (`verifyFileAndMenus`). Defines `capture`, `readMenu`, `verifyFileAndMenus` and 6 more. It writes `-secondary-click.json`.
- What it does: It loads grid UKPN secondary, UKPN transformers, secondary click and 11kV. Defines 9 functions or classes, including capture, readMenu, verifyFileAndMenus, open, closed. Uses libraries node:assert/strict, node:fs, playwright. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 11kV.
- Inputs & outputs: In: Parquet file grid_ukpn_secondary.parquet; Parquet file ukpn_transformers.parquet. Out: JSON file -secondary-click.json; JSON file receipt.json. Voltage levels named: 11kV.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `capture(label)`; `readMenu()`; `verifyFileAndMenus()`; `open(name)`; `closed(title,panel)`; `waitFileClosed()`; `deny()`; `memory()`; `zoomTo(zoom)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [Parquet file grid_ukpn_secondary.parquet; Parquet file ukpn_transformers.parquet]; out [JSON file -secondary-click.json; JSON file receipt.json]; crs []; voltages [11kV]
- Edges: uses 1 estate file (import 1); used by 1; mentioned by 0
### Map Promotion Rehearsal
- File: gridatlas/tools/release/map-promotion-rehearsal.mjs (JavaScript, 85 lines) · role automation · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/release/map-promotion-rehearsal.mjs#L1-L85
- Page: https://code.globalgrid2050.com/explore-code/s/0668.html#f2
- Synopsis: A JavaScript module in the tools folder of GridAtlas that reads before, after and rollback.
- What it achieves (comment): It is built from the run step (`run`), the git step (`git`) and the JSON step (`json`). Full local-only release and route-C rollback; never push or read acceptance.
- What it does: It loads before, after and rollback. Defines run, git, json, invoke. Uses libraries node:fs, node:path, node:assert/strict, node:url, node:child_process. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json; JSON file before.json; JSON file after.json; JSON file rollback.json. Out: JSON file map-promotion-rehearsal.json.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `run(cwd,command,args,{allowFailure=false}={})`; `output(r.stdout||'')`; `git(cwd,...args)`; `json(name)`; `invoke(script,args)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json; JSON file before.json; JSON file after.json; JSON file rollback.json]; out [JSON file map-promotion-rehearsal.json]; crs []; voltages []
- Edges: uses 3 estate files (script-call 3); used by 1; mentioned by 0
### SatNav Build Line Preview
- File: gridatlas/tools/satnav/build-line-preview.mjs (JavaScript, 35 lines) · role storage · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/build-line-preview.mjs#L1-L35
- Page: https://code.globalgrid2050.com/explore-code/s/0671.html#f2
- Synopsis: A JavaScript module in the tools folder of GridAtlas that uses SHA-256.
- What it achieves (name): Defines `read`, `write` and `hash`. It reads `current.json` and writes `index.html`.
- What it does: It loads data. Defines read, write, hash. Uses libraries node:assert/strict, node:crypto, node:fs. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path 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 current.json.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `read(path)`; `write(path, text)`; `hash(text)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json]; out []; crs []; voltages []
- Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0
### SatNav Build Unified Agent1 CI
- File: gridatlas/tools/satnav/build-unified-agent1-ci.mjs (JavaScript, 73 lines) · role automation · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/build-unified-agent1-ci.mjs#L1-L73
- Page: https://code.globalgrid2050.com/explore-code/s/0671.html#f3
- Synopsis: A JavaScript module in the tools folder of GridAtlas that reads composition, using SHA-256. It is built from the read step (`read`) and the sha step (`sha`).
- What it achieves (comment): Build an isolated, disposable CI composition; never change production or a released generation.
- What it does: It loads composition. Defines read, sha. Uses libraries node:assert/strict, node:crypto, node:fs, node:url, node:path. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path 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 current.json; JSON file -composition.json; command-line arguments. Out: JSON file current.json.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `read(p)`; `sha(b)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json; JSON file -composition.json; command-line arguments]; out [JSON file current.json]; crs []; voltages []
- Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0
### SatNav Build
- File: gridatlas/tools/satnav/build.mjs (JavaScript, 60 lines) · role storage · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/build.mjs#L1-L60
- Page: https://code.globalgrid2050.com/explore-code/s/0671.html#f4
- Synopsis: A JavaScript module in the tools folder of GridAtlas that reads the Renewable Energy Planning Database (REPD) register, using SHA-256.
- What it achieves (name): Defines `read`, `hash` and `write`. It reads `atlas/current.json` and writes `index.html`.
- What it does: It loads the REPD register. Defines read, hash, write. Uses libraries node:fs, node:path, node:crypto, node:url. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path 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: the REPD register.
- Inputs & outputs: In: JSON file current.json.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `read(p)`; `hash(s)`; `write(p,s)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json]; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 1; mentioned by 0
### SatNav G203 Dock Browser
- File: gridatlas/tools/satnav/g203-dock-browser.py (Python, 156 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/g203-dock-browser.py#L1-L156
- Page: https://code.globalgrid2050.com/explore-code/s/0673.html#f5
- Synopsis: A Python command-line tool in the tools folder of GridAtlas that opens map (`open_map`).
- What it achieves (comment): It is built from the diagnostic step (`diagnostic`), the historical step (`historical`) and the row ok helper (`row_ok`). G203-01 real-map dock comparison; injected layout is not a published release.
- What it does: It lists and searches its content. Defines open_map, diagnostic, historical, row_ok, run. Uses libraries os, json, re, pathlib, runpy. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `open_map(page,route,require_dock=True)`; `diagnostic(page)`; `historical(browser,name,w,h,generation)`; `row_ok(rects,w,h)`; `run(browser,name,w,h)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### SatNav G203 Swarm 03 Panel Continuity
- File: gridatlas/tools/satnav/g203-swarm-03-panel-continuity.py (Python, 101 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/g203-swarm-03-panel-continuity.py#L1-L101
- Page: https://code.globalgrid2050.com/explore-code/s/0199.html#f2
- Synopsis: A Python command-line tool in the tools folder of GridAtlas. It is built from the scenario step (`scenario`).
- What it achieves (comment): G203-SWARM-03: candidate-only, real composed application acceptance.
- What it does: Defines scenario. Uses libraries json, os, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `scenario(browser, engine, w, h)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### SatNav G203 Swarm 05 Offline Browser
- File: gridatlas/tools/satnav/g203-swarm-05-offline-browser.py (Python, 119 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/g203-swarm-05-offline-browser.py#L1-L119
- Page: https://code.globalgrid2050.com/explore-code/s/0673.html#f7
- Synopsis: A Python command-line tool in the tools folder of GridAtlas that works with no gps (`no_gps`).
- What it achieves (comment): It is built from the live step (`live`), the pins step (`pins`) and the put step (`put`). G203-SWARM-05: exact composed route, real service worker and CacheStorage.
- What it does: It loads data. Defines 7 functions or classes, including live, pins, put, no_gps, key_present. Uses libraries os, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `live(page)`; `pins(page)`; `put(page, points)`; `no_gps(page)`; `key_present(page)`; `save(area)`; `run(browser, name)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### SatNav G203 Verify Composition
- File: gridatlas/tools/satnav/g203-verify-composition.mjs (JavaScript, 12 lines) · role ingest · stage ingest · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/g203-verify-composition.mjs#L1-L12
- Page: https://code.globalgrid2050.com/explore-code/s/0673.html#f8
- Synopsis: A JavaScript module in the tools folder of GridAtlas that uses SHA-256.
- What it achieves (name): It reads `atlas/current.json`.
- What it does: It loads data. Uses libraries node:fs, node:crypto, node:path, node:assert/strict. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path 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 current.json.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### SatNav Serve
- File: gridatlas/tools/satnav/serve.mjs (JavaScript, 3 lines) · role other · stage unknown · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/serve.mjs#L1-L3
- Page: https://code.globalgrid2050.com/explore-code/s/0682.html#f15
- Synopsis: A JavaScript module in the tools folder of GridAtlas.
- Why it exists in the grid workflow: Domain stage field_execution (path 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: command-line arguments.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [command-line arguments]; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 1; mentioned by 0
### SatNav Unified Agent1 Browser
- File: gridatlas/tools/satnav/unified-agent1-browser.py (Python, 109 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/unified-agent1-browser.py#L1-L109
- Page: https://code.globalgrid2050.com/explore-code/s/0684.html#f1
- Synopsis: A Python command-line tool in the tools folder of GridAtlas covering postcodes and uses data from postcodes.io. It is built from the check step (`check`).
- What it achieves (comment): Real unified composition: native search, independent panel and GPS state. Its code works with 11 kV.
- What it does: It draws postcodes. Defines check. Uses libraries os, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path 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: postcodes, 11kV.
- Inputs & outputs: In: data source: postcodes.io. Voltage levels named: 11kV.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `check(browser, name, width, height)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [data source: postcodes.io]; out []; crs []; voltages [11kV]
- Edges: uses 0 estate files; used by 1; mentioned by 0
### SatNav V9202 Neon Dock Browser
- File: gridatlas/tools/satnav/v9202-neon-dock-browser.py (Python, 45 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/v9202-neon-dock-browser.py#L1-L45
- Page: https://code.globalgrid2050.com/explore-code/s/0684.html#f3
- Synopsis: A Python command-line tool in the tools folder of GridAtlas.
- What it achieves (name): Defines `check`.
- What it does: Defines check. Uses libraries os, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `check(browser,name,width,height)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### SatNav Verify Unified Release
- File: gridatlas/tools/satnav/verify-unified-release.mjs (JavaScript, 106 lines) · role automation · stage ingest · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/verify-unified-release.mjs#L1-L106
- Page: https://code.globalgrid2050.com/explore-code/s/0684.html#f4
- Synopsis: A JavaScript module in the tools folder of GridAtlas that verifies manifest (`verifyManifest`), using SHA-256.
- What it achieves (comment): It verifies manifest (`verifyManifest`) and is built from the need step (`need`) and the check step (`check`). G201-07: additive independent release verification; no writes or network.
- What it does: It loads data. Defines 8 functions or classes, including verifyManifest, need, check, digest, git. Uses libraries node:crypto, node:fs, node:path, node:url, node:child_process. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage field_execution (path 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 current.json; command-line arguments.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `verifyManifest(m, read, expected)`; `need(ok,msg)`; `check(entry,kind)`; `digest(b)`; `git(...args)`; `blob(rev,path)`; `same(a,b,label)`; `local(base,path)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0
### Advance
- File: gridatlas/tools/scope/advance.mjs (JavaScript, 432 lines) · role interaction · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/scope/advance.mjs#L1-L432
- Page: https://code.globalgrid2050.com/explore-code/s/0688.html#f3
- Synopsis: A JavaScript module in the scope folder of GridAtlas that fetches grid 400kV and CVAA ratchets, using SHA-256 from postcodes.io.
- What it achieves (name): It removes path (`removePath`), runs node check (`runNodeCheck`) and replaces exactly once (`replaceExactlyOnce`). Defines `moveDirectory`, `removePath`, `runNodeCheck` and 15 more. It reads `./current.json`.
- What it does: It fetches grid 400kV and CVAA ratchets. Defines 18 functions or classes, including moveDirectory, removePath, runNodeCheck, finishScope, finishFinal. Uses libraries node:fs, node:path, node:child_process. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: data source: postcodes.io; JSON file current-v5.json; JSON file live-set.json; JSON file current.json; GeoJSON file grid_400kv.geojson; JSON file modules.json; JSON file cvaa-ratchets.json; DuckDB queries.
- Downstream impact: Used directly by 1 file: GridAtlas Scope Loop Workflow (gridatlas).
- Signatures: `moveDirectory(from, to)`; `removePath(target)`; `runNodeCheck(filePath)`; `finishScope(document, nextScope, slug, title, body)`; `finishFinal(document)`; `temporaryAtlasRouter()`; `rootRouter()`; `rewriteLivePointers(routerGeneration)`; `scope1(document)`; `scope2(document)`; `scope3(document)`; `replaceExactlyOnce(source, search, replacement, label)`; `buildLocationSearchCartridge(source)`; `scope4(document)`; `updateCompositionPointers(current, manifestPath)`; `scope5(document)`; `retireScopeLoopWorkflow()`; `scope6(document)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [data source: postcodes.io; JSON file current-v5.json; JSON file live-set.json; JSON file current.json; GeoJSON file grid_400kv.geojson; JSON file modules.json; JSON file cvaa-ratchets.json; DuckDB queries]; out []; crs []; voltages []
- Edges: uses 4 estate files (script-call 3, estate-url 1); used by 1; mentioned by 0
### Bootstrap
- File: gridatlas/tools/scope/bootstrap.mjs (JavaScript, 75 lines) · role storage · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/scope/bootstrap.mjs#L1-L75
- Page: https://code.globalgrid2050.com/explore-code/s/0689.html#f2
- Synopsis: A JavaScript module in the scope folder of GridAtlas that reads scope bootstrap, using SHA-256. It writes output (`writeOutput`).
- What it achieves (name): Defines `writeOutput` and `sha256`.
- What it does: It loads scope bootstrap. Defines writeOutput, sha256. Uses libraries node:fs, node:path, node:zlib, node:crypto. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file scope-bootstrap.json.
- Downstream impact: Used directly by 1 file: GridAtlas Scope Loop Workflow (gridatlas).
- Signatures: `writeOutput(values)`; `sha256(bytes)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file scope-bootstrap.json]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Regional Preview
- File: gridatlas/tools/secondary/regional-preview.mjs (JavaScript, 45 lines) · role storage · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/secondary/regional-preview.mjs#L1-L45
- Page: https://code.globalgrid2050.com/explore-code/s/0691.html#f2
- Synopsis: A JavaScript module in the secondary folder of GridAtlas that reads substations, using SHA-256. It is built from the sha step (`sha`) and the pin step (`pin`).
- What it achieves (comment): Build a disposable, hashed browser candidate using the existing immutable v2 loader. It reads `/current.json` and writes `/current.json`.
- What it does: It loads substations. Defines sha, pin. Uses libraries node:fs, node:path, node:assert/strict, node:crypto. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations.
- Inputs & outputs: In: JSON file current.json. Out: JSON file current.json.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `sha(bytes)`; `pin(entry,filename,source)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json]; out [JSON file current.json]; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 1; mentioned by 0
### Build Streaming Bridge
- File: gridatlas/tools/v9_5/build_streaming_bridge.py (Python, 297 lines) · role interaction · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/v9_5/build_streaming_bridge.py#L1-L297
- Page: https://code.globalgrid2050.com/explore-code/s/0694.html#f2
- Synopsis: A Python command-line tool in the tools folder of GridAtlas that reads streaming road fix, streaming road build and 400kV, using SHA-256.
- What it achieves (comment): It loads JSON (`load_json`), dumps JSON (`dump_json`) and compiles bridge (`compile_bridge`). Compile a streaming-response bridge cartridge over the immutable GridAtlas shell. Its code works with 400 kV. It accepts `--generation`, `--request` and `--report`.
- What it does: It loads streaming road fix, streaming road build and 400kV. Defines load_json, dump_json, sha256_bytes, compile_bridge, main. Uses libraries __future__, argparse, copy, hashlib, json. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV.
- Inputs & outputs: In: JSON file current.json; JSON file streaming-road-fix.json; JSON file streaming-road-build.json; DuckDB queries; command-line arguments. Voltage levels named: 400kV.
- Downstream impact: Used directly by 1 file: GridAtlas Verify Live Workflow (gridatlas).
- Signatures: `load_json(path: Path)`; `dump_json(path: Path, value: Any)`; `sha256_bytes(value: bytes)`; `compile_bridge(source: str, generation: str)`; `main()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json; JSON file streaming-road-fix.json; JSON file streaming-road-build.json; DuckDB queries; command-line arguments]; out []; crs []; voltages [400kV]
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Release Stream Payload Cache
- File: gridatlas/tools/v9_5/release_stream_payload_cache.py (Python, 108 lines) · role automation · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/v9_5/release_stream_payload_cache.py#L1-L108
- Page: https://code.globalgrid2050.com/explore-code/s/0695.html#f3
- Synopsis: A Python command-line tool in the tools folder of GridAtlas that reads streaming road build, using SHA-256.
- What it achieves (comment): It patches registry (`patch_registry`) and is built from the load step (`load`) and the dump step (`dump`). Release the bridge's reconstructed payload after serialisation and re-pin the cartridge. It accepts `--generation` and `--report`.
- What it does: It loads streaming road build. Defines load, dump, main, patch_registry. Uses libraries __future__, argparse, hashlib, json, pathlib. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file streaming-road-build.json; JSON file current.json; command-line arguments.
- Downstream impact: Used directly by 1 file: GridAtlas Verify Live Workflow (gridatlas).
- Signatures: `load(path: Path)`; `dump(path: Path, value)`; `main()`; `patch_registry(document: dict)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file streaming-road-build.json; JSON file current.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Compare Live vs Candidate
- File: gridatlas/atman/202608290828-compare-live-vs-candidate.py (Python, 125 lines) · role storage · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atman/202608290828-compare-live-vs-candidate.py#L1-L125
- Page: https://code.globalgrid2050.com/explore-code/s/0612.html#f2
- Synopsis: A Python command-line tool in the atman folder of GridAtlas that reads postcodes and the Renewable Energy Planning Database (REPD) register, using SHA-256.
- What it achieves (name): Defines `load_manifest` and `metrics`. It accepts `--incumbent-site`, `--candidate-site` and `--output`.
- What it does: It loads postcodes and the REPD register. Defines load_manifest, metrics, main. Uses libraries argparse, hashlib, json, pathlib, duckdb. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: postcodes, the REPD register.
- Inputs & outputs: In: DuckDB queries; command-line arguments.
- Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it.
- Signatures: `load_manifest(site)`; `metrics(connection, relation)`; `main()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [DuckDB queries; command-line arguments]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Compare Incumbent Successor
- File: gridatlas/atman/202608291239-compare-incumbent-successor.py (Python, 186 lines) · role storage · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atman/202608291239-compare-incumbent-successor.py#L1-L186
- Page: https://code.globalgrid2050.com/explore-code/s/0612.html#f3
- Synopsis: A Python command-line tool in the atman folder of GridAtlas that reads Renewable Energy Planning Database (REPD) browser registry, membership and the REPD register, using SHA-256.
- What it achieves (comment): It reads JSON (`read_json`) and is built from the reject duplicate keys helper (`reject_duplicate_keys`) and the sha256 step (`sha256`). Classify every Atlas V9 live-successor promotion goal. It reads `release-manifest.json`. It accepts `--repository`, `--build-a` and `--build-b`.
- What it does: It loads REPD browser registry, membership and the REPD register. Defines 7 functions or classes, including reject_duplicate_keys, read_json, sha256, tree, goal. Uses libraries __future__, argparse, hashlib, json, pathlib. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register.
- Inputs & outputs: In: JSON file release-manifest.json; JSON file browser-layer-registry.json; JSON file repd_browser_registry_202608290716.json; Parquet file layer_membership.parquet; DuckDB queries; command-line arguments.
- Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it.
- Signatures: `reject_duplicate_keys(pairs: list[tuple[str, object]])`; `read_json(path: Path)`; `sha256(path: Path)`; `tree(directory: Path)`; `goal(status: str, evidence: object)`; `classified(condition: bool, evidence: object, *, expected_change: bool = False)`; `main()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file release-manifest.json; JSON file browser-layer-registry.json; JSON file repd_browser_registry_202608290716.json; Parquet file layer_membership.parquet; DuckDB queries; command-line arguments]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Compare Renewable Energy Planning Database (REPD) Coverage
- File: gridatlas/atman/202608291430-compare-repd-coverage.mjs (JavaScript, 178 lines) · role energy-data · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atman/202608291430-compare-repd-coverage.mjs#L1-L178
- Page: https://code.globalgrid2050.com/explore-code/s/0613.html#f1
- Synopsis: A JavaScript module in the atman folder of GridAtlas that reads REPD browser registry and the REPD register, using SHA-256. It parses args (`parseArgs`) and sets hash (`setHash`).
- What it achieves (name): Defines `parseArgs`, `sha256`, `tree` and 1 more.
- What it does: It loads REPD browser registry and the REPD register. Defines parseArgs, sha256, tree, setHash. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:path, node:url. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register.
- Inputs & outputs: In: JSON file repd_browser_registry_202608290716.json; command-line arguments.
- Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it.
- Signatures: `parseArgs(argv)`; `sha256(value)`; `tree(root, prefix = "")`; `setHash(values)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file repd_browser_registry_202608290716.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Public Browser Readback
- File: gridatlas/atman/202608291430-public-browser-readback.mjs (JavaScript, 215 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atman/202608291430-public-browser-readback.mjs#L1-L215
- Page: https://code.globalgrid2050.com/explore-code/s/0613.html#f2
- Synopsis: A JavaScript module in the atman folder of GridAtlas that draws grid 400kV snapped, membership and public browser claim, and uses data from the data-GridAtlas repository.
- What it achieves (name): It proves sentinel (`proveSentinel`) and is built from the wait ready helper (`waitReady`). Defines `collect`, `waitReady` and `proveSentinel`. Its code works with 400 kV.
- What it does: It draws grid 400kV snapped, membership, public browser claim and the REPD register. Defines collect, waitReady, proveSentinel. Uses libraries node:assert/strict, node:fs, node:path, playwright. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, 400kV.
- Inputs & outputs: In: data source: data-gridatlas data; Parquet file grid_400kv_snapped.parquet; Parquet file layer_membership.parquet; DuckDB queries; command-line arguments. Out: JSON file 202608291430-public-browser-readback.json; JSON file 202608291430-public-browser-claim.json. Voltage levels named: 400kV.
- Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it.
- Signatures: `collect(page)`; `waitReady(page)`; `proveSentinel(browser, repdRef, expected)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [data source: data-gridatlas data; Parquet file grid_400kv_snapped.parquet; Parquet file layer_membership.parquet; DuckDB queries; command-line arguments]; out [JSON file 202608291430-public-browser-readback.json; JSON file 202608291430-public-browser-claim.json]; crs []; voltages [400kV]
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Rendered Browser Audit
- File: gridatlas/atman/202608291430-rendered-browser-audit.mjs (JavaScript, 241 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atman/202608291430-rendered-browser-audit.mjs#L1-L241
- Page: https://code.globalgrid2050.com/explore-code/s/0613.html#f3
- Synopsis: A JavaScript module in the atman folder of GridAtlas that maps projects and Renewable Energy Planning Database (REPD) browser registry, using SHA-256, and uses data from the data-GridAtlas repository.
- What it achieves (name): It maps stub (`MapStub`) and is built from the JSON bytes helper (`jsonBytes`) and the source class (`Source`). Defines `sha256`, `canonical`, `jsonBytes` and 6 more.
- What it does: It maps projects, REPD browser registry and the REPD register. Defines 9 functions or classes, including sha256, canonical, jsonBytes, Source, MapStub. Uses libraries node:assert/strict, node:crypto, node:fs, node:http, node:path. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register.
- Inputs & outputs: In: data source: data-gridatlas data; JSON file projects.json; JSON file release-manifest.json; JSON file repd_browser_registry_202608290716.json; JSON file release.json; JSON file browser-layer-registry.json; command-line arguments. Out: JSON file 202608291430-browser-audit.json.
- Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it.
- Signatures: `sha256(body)`; `canonical(value)`; `jsonBytes(value)`; `class Source`; `class MapStub`; `constructor(options)`; `addControl()`; `addLayer(layer)`; `__push(key,value)`; `getSource(id)`; `removeLayer(id)`; `getZoom()`; `on(event, layerOrHandler, possibleHandler)`; `off(event, layerOrHandler, possibleHandler)`; `emit(event,payload)`; `flyTo(options)`; `class Popup`; `captureErrors(page)`; `configure(context, requests)`; `waitReady(page)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [data source: data-gridatlas data; JSON file projects.json; JSON file release-manifest.json; JSON file repd_browser_registry_202608290716.json; JSON file release.json; JSON file browser-layer-registry.json; command-line arguments]; out [JSON file 202608291430-browser-audit.json]; crs []; voltages []
- Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0
### Verify Live Release
- File: gridatlas/atman/202608291430-verify-live-release.mjs (JavaScript, 213 lines) · role automation · stage ingest · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atman/202608291430-verify-live-release.mjs#L1-L213
- Page: https://code.globalgrid2050.com/explore-code/s/0614.html#f1
- Synopsis: A JavaScript module in the atman folder of GridAtlas that reads Renewable Energy Planning Database (REPD) browser registry, using SHA-256. It sets hash (`setHash`) and parses args (`parseArgs`).
- What it achieves (name): Its name says it verifies live release. Defines `fail`, `invariant`, `digest` and 4 more.
- What it does: It loads REPD browser registry. Defines 7 functions or classes, including fail, invariant, digest, setHash, sha256. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:path, node:url. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file build-manifest.json; JSON file release-manifest.json; JSON file live-set.json; JSON file current-v3.json; JSON file repd_browser_registry_202608290716.json; JSON file release.json; JSON file browser-layer-registry.json; Parquet file layer_membership.parquet.
- Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it.
- Signatures: `fail(message)`; `invariant(condition, message)`; `digest(bytes)`; `setHash(values)`; `sha256(file)`; `filesUnder(directory, prefix = "")`; `parseArgs(argv)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file build-manifest.json; JSON file release-manifest.json; JSON file live-set.json; JSON file current-v3.json; JSON file repd_browser_registry_202608290716.json; JSON file release.json; JSON file browser-layer-registry.json; Parquet file layer_membership.parquet]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Verify Atlas V9
- File: gridatlas/atman/202611132345-verify-atlas-v9.py (Python, 79 lines) · role storage · stage ingest · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atman/202611132345-verify-atlas-v9.py#L1-L79
- Page: https://code.globalgrid2050.com/explore-code/s/0616.html#f2
- Synopsis: A Python command-line tool in the atman folder of GridAtlas that reads the Renewable Energy Planning Database (REPD) register, using SHA-256.
- What it achieves (name): Its name says it verifies atlas. Defines `sha`. It accepts `--site`.
- What it does: It loads the REPD register. Defines sha, main. Uses libraries argparse, hashlib, importlib.util, json, pathlib. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register.
- Inputs & outputs: In: DuckDB queries; command-line arguments.
- Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it.
- Signatures: `sha(path)`; `main()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [DuckDB queries; command-line arguments]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Build Highway Transport Repair
- File: gridatlas/bootstrap/highway-forensics/build_highway_transport_repair.py (Python, 243 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/bootstrap/highway-forensics/build_highway_transport_repair.py#L1-L243
- Page: https://code.globalgrid2050.com/explore-code/s/0616.html#f4
- Synopsis: A Python command-line tool in the highway forensics folder of GridAtlas that reads UK motorways, UK trunk roads and UK primary roads, using SHA-256 from the GlobalGrid2050 repository.
- What it achieves (comment): It builds error (`BuildError`), reads JSON (`read_json`) and writes atomic (`write_atomic`). Build the GridAtlas v9.5 highway transport repair as one hashed cartridge. It accepts `--generation`, `--current` and `--shell-bridge`.
- What it does: It loads UK motorways, UK trunk roads, UK primary roads and REPD master. Defines 9 functions or classes, including BuildError, require, read_json, canonical_json, sha256_bytes. Uses libraries __future__, argparse, hashlib, json, os. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: data source: globalgrid2050 data; GeoJSON file uk_motorways.geojson; GeoJSON file uk_trunk_roads.geojson; GeoJSON file uk_primary_roads.geojson; JSON file repd_master.json; JSON file heavy_emitters_uk.json; JSON file current.json; DuckDB queries.
- Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it.
- Signatures: `class BuildError`; `require(condition: bool, message: str)`; `read_json(path: Path)`; `canonical_json(value: dict[str, Any])`; `sha256_bytes(value: bytes)`; `write_atomic(path: Path, content: str)`; `patch_bridge(source: str, generation: str)`; `make_contract(generation: str, cartridge_sha: str)`; `main()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [data source: globalgrid2050 data; GeoJSON file uk_motorways.geojson; GeoJSON file uk_trunk_roads.geojson; GeoJSON file uk_primary_roads.geojson; JSON file repd_master.json; JSON file heavy_emitters_uk.json; JSON file current.json; DuckDB queries]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Compile Atlas V9 Live
- File: gridatlas/compiler/202608291430-compile-atlas-v9-live.py (Python, 322 lines) · role storage · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/compiler/202608291430-compile-atlas-v9-live.py#L1-L322
- Page: https://code.globalgrid2050.com/explore-code/s/0617.html#f2
- Synopsis: A Python command-line tool in the compiler folder of GridAtlas that reads atlas live release and the Renewable Energy Planning Database (REPD) register, using SHA-256.
- What it achieves (comment): It reads JSON (`read_json`), replaces once (`replace_once`) and compiles release (`compile_release`). Deterministically compile the Atlas V9 coverage successor. It accepts `--repository`, `--output` and `--source-commit`.
- What it does: It loads atlas live release and the REPD register. Defines 11 functions or classes, including reject_duplicate_keys, read_json, canonical_json, sha256, require. Uses libraries __future__, argparse, hashlib, json, re. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register.
- Inputs & outputs: In: JSON file 202608291430-atlas-v9-live-release.json; JSON file build-manifest.json; command-line arguments. Out: JSON file release-manifest.json; JSON file build-manifest.json.
- Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it.
- Signatures: `reject_duplicate_keys(pairs: list[tuple[str, object]])`; `read_json(path: Path)`; `canonical_json(value: object)`; `sha256(path: Path)`; `require(condition: bool, message: str)`; `replace_once(source: str, old: str, new: str, label: str)`; `unresolved_routing(value: object, location: str = "contract")`; `transform_data_client(source: str)`; `transform_atlas(source: str)`; `compile_release(args: argparse.Namespace)`; `main()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file 202608291430-atlas-v9-live-release.json; JSON file build-manifest.json; command-line arguments]; out [JSON file release-manifest.json; JSON file build-manifest.json]; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Compile Atlas V9
- File: gridatlas/compiler/202611132345-compile-atlas-v9.py (Python, 250 lines) · role storage · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/compiler/202611132345-compile-atlas-v9.py#L1-L250
- Page: https://code.globalgrid2050.com/explore-code/s/0619.html#f2
- Synopsis: A Python command-line tool in the compiler folder of GridAtlas that reads Renewable Energy Planning Database (REPD) publication q3, REPD q3 cleaned and solar, using EPSG:27700 and EPSG:4326.
- What it achieves (name): It classifies tech (`classify_tech`), compiles rows (`compile_rows`) and writes Parquet (`write_parquet`). Its name says it compiles atlas. Defines `digest`, `clean`, `norm` and 7 more. It accepts `--source`, `--v8` and `--output`.
- What it does: It loads REPD publication q3, REPD q3 cleaned, solar and the REPD register. Defines 11 functions or classes, including digest, clean, norm, postcode, public_applicant. Uses libraries argparse, csv, hashlib, json, math. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, the REPD register.
- Inputs & outputs: In: CSV file REPD_Publication_Q3_2026.csv; CSV file REPD_2026Q3_cleaned.csv; DuckDB queries; command-line arguments. Out: Parquet file. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326.
- Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it.
- Signatures: `digest(path)`; `clean(value)`; `norm(value)`; `postcode(raw)`; `public_applicant(raw)`; `classify_tech(raw, mounting)`; `row_hash(row)`; `compile_rows(source)`; `write_parquet(rows, target)`; `v8_parity(rows, v8_path)`; `main()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [CSV file REPD_Publication_Q3_2026.csv; CSV file REPD_2026Q3_cleaned.csv; DuckDB queries; command-line arguments]; out [Parquet file]; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Audit
- File: gridatlas/tools/cartridges/audit.mjs (JavaScript, 110 lines) · role ingest · stage ingest · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/cartridges/audit.mjs#L1-L110
- Page: https://code.globalgrid2050.com/explore-code/s/0621.html#f4
- Synopsis: A JavaScript module in the cartridges folder of GridAtlas that reads shift log.
- What it achieves (name): Defines `walk` and `classify`.
- What it does: It loads shift log. Defines walk, classify, mb. Uses libraries node:fs, node:path, node:url. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file shift-log.json; JSON file current.json; command-line arguments.
- Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it.
- Signatures: `walk(dir, out)`; `classify(refs)`; `mb(bytes)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file shift-log.json; JSON file current.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Scan GridAtlas Versions
- File: gridatlas/tools/history/scan_gridatlas_versions.py (Python, 211 lines) · role storage · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/history/scan_gridatlas_versions.py#L1-L211
- Page: https://code.globalgrid2050.com/explore-code/s/0631.html#f2
- Synopsis: A Python command-line tool in the history folder that scans repo (`scan_repo`). It is built from the run step (`run`).
- What it achieves (comment): Bounded Git-history scanner for GridAtlas release and workflow pattern recognition. It accepts `--repo`, `--reference-repo` and `--output`.
- What it does: It lists and searches its content. Defines run, scan_repo, main. Uses libraries __future__, argparse, json, os, re. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: command-line arguments.
- Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it.
- Signatures: `run(repo: Path, args: list[str], deadline: float, *, allow_fail: bool = False)`; `scan_repo(repo: Path, deadline: float, *, include_parent_duplicate_check: bool)`; `main()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [command-line arguments]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Fetch Far End Converters
- File: gridatlas/tools/interconnectors/fetch_far_end_converters.py (Python, 377 lines) · role geodesy · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/interconnectors/fetch_far_end_converters.py#L1-L377
- Page: https://code.globalgrid2050.com/explore-code/s/0445.html#f1
- Synopsis: A Python command-line tool in the interconnectors folder of GridAtlas that fetches generation interconnector, grid substations, interconnector endpoints and overpass converters, using EPSG:4326 from OpenStreetMap (Overpass).
- What it achieves (comment): It fetches converters (`fetch_converters`), loads GB substations (`load_gb_substations`) and loads flows (`load_flows`). Find the far-end converter station for each GB interconnector. It accepts `--root`, `--out` and `--cache`.
- What it does: It fetches generation interconnector, grid substations, interconnector endpoints and overpass converters. Defines haversine_km, fetch_converters, load_gb_substations, load_flows, main. Uses libraries __future__, argparse, datetime, json, math. Side effects: reads or writes files; makes network requests.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'interconnectors'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: data source: OpenStreetMap (Overpass); JSON file generation_interconnector_index.json; GeoJSON file grid_substations.geojson; JSON file interconnector-endpoints.json; JSON file .overpass-converters.json; GeoJSON file interconnectors.geojson; command-line arguments. Coordinate systems named: WGS84 / EPSG:4326.
- Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it.
- Signatures: `haversine_km(lon1: float, lat1: float, lon2: float, lat2: float)`; `fetch_converters(cache: Path, offline: bool)`; `load_gb_substations(root: Path)`; `load_flows(root: Path)`; `main()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [data source: OpenStreetMap (Overpass); JSON file generation_interconnector_index.json; GeoJSON file grid_substations.geojson; JSON file interconnector-endpoints.json; JSON file .overpass-converters.json; GeoJSON file interconnectors.geojson; command-line arguments]; out []; crs [WGS84 / EPSG:4326]; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Build M
- File: gridatlas/tools/lightning/lineage/build-M.mjs (JavaScript, 86 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/lineage/build-M.mjs#L1-L86
- Page: https://code.globalgrid2050.com/explore-code/s/0633.html#f1
- Synopsis: A JavaScript module in the lineage folder of GridAtlas that maps Renewable Energy Planning Database (REPD) master, the REPD register, substations and solar.
- What it achieves (name): It is built from the all step (`all`). Defines `KEEP`, `fin`, `once` and 1 more. It reads `/dist/repd_master.json`.
- What it does: It maps REPD master, the REPD register, substations and solar. Defines KEEP, fin, once, all, b. Uses libraries node:fs. Side effects: changes the web page (DOM); reads or writes files; makes network requests.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, substations, solar.
- Inputs & outputs: In: JSON file repd_master.json; command-line arguments.
- Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it.
- Signatures: `KEEP(t)`; `fin(t)`; `once(from, to, n = 1)`; `all(from, to)`; `b(x)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file repd_master.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 0; mentioned by 0
### Make Generation M4
- File: gridatlas/tools/lightning/lineage/make-generation-M4.mjs (JavaScript, 281 lines) · role energy-data · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/lineage/make-generation-M4.mjs#L1-L281
- Page: https://code.globalgrid2050.com/explore-code/s/0633.html#f9
- Synopsis: A JavaScript module in the lineage folder of GridAtlas that reads composition, Renewable Energy Planning Database (REPD) publication q1 and the REPD register, using SHA-256.
- What it achieves (comment): It reads buf (`readBuf`), reads text (`readText`) and derives composition (`deriveComposition`). `make-generation.mjs` -- cut a NEW immutable candidate generation of the UK lightning implant (issue #32 §8 Step F, §12 E). Its code works with 0 MW. It reads `atlas/current.json`.
- What it does: It loads composition, REPD publication q1 and the REPD register. Defines 12 functions or classes, including die, need, R, readBuf, readText. Uses libraries node:fs, node:path, node:crypto. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register.
- Inputs & outputs: In: JSON file current.json; JSON file -composition.json; JSON file current-v5.json; JSON file live-set.json; CSV file REPD_publication_Q1_2026.csv; command-line arguments.
- Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it.
- Signatures: `die(msg)`; `need(ok, msg)`; `R(p)`; `readBuf(p)`; `readText(p)`; `sha(buf)`; `shaLF(buf)`; `json(obj)`; `countOf(hay, needle)`; `versionNum(v)`; `deriveComposition(src, prefix, kind)`; `write(p, data)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json; JSON file -composition.json; JSON file current-v5.json; JSON file live-set.json; CSV file REPD_publication_Q1_2026.csv; command-line arguments]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Verify Lineage
- File: gridatlas/tools/lightning/lineage/verify-lineage.mjs (JavaScript, 37 lines) · role ingest · stage ingest · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/lineage/verify-lineage.mjs#L1-L37
- Page: https://code.globalgrid2050.com/explore-code/s/0634.html#f4
- Synopsis: A JavaScript module in the lightning folder of GridAtlas that reads the Renewable Energy Planning Database (REPD) register.
- What it achieves (name): Its name says it verifies lineage. Defines `mod`.
- What it does: It loads the REPD register. Defines mod. Uses libraries node:fs, node:os, node:path, node:child_process, node:url. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register.
- Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it.
- Signatures: `mod(g)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Make Generation
- File: gridatlas/tools/lightning/make-generation.mjs (JavaScript, 202 lines) · role energy-data · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/make-generation.mjs#L1-L202
- Page: https://code.globalgrid2050.com/explore-code/s/0634.html#f5
- Synopsis: A JavaScript module in the lightning folder of GridAtlas that reads composition, using SHA-256. It reads buf (`readBuf`) and reads text (`readText`).
- What it achieves (comment): Cut a NEW immutable candidate generation of the UK lightning overlay from `tools/lightning/src`. It reads `atlas/current.json`.
- What it does: It loads composition. Defines 12 functions or classes, including die, need, R, readBuf, readText. Uses libraries node:fs, node:path, node:crypto, node:url. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json; JSON file -composition.json; command-line arguments.
- Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it.
- Signatures: `die(msg)`; `need(ok, msg)`; `R(p)`; `readBuf(p)`; `readText(p)`; `sha(buf)`; `shaLF(buf)`; `json(obj)`; `countOf(hay, needle)`; `files(g)`; `derive(src, prefix, kind)`; `write(p, data)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json; JSON file -composition.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 0; mentioned by 0
### Fetch NESO Connection Sites
- File: gridatlas/tools/offshore/fetch_neso_connection_sites.py (Python, 337 lines) · role energy-data · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/offshore/fetch_neso_connection_sites.py#L1-L337
- Page: https://code.globalgrid2050.com/explore-code/s/0637.html#f3
- Synopsis: A Python command-line tool in the offshore folder of GridAtlas that fetches Renewable Energy Planning Database (REPD) browser registry, grid substations and NESO connection sites lean from NESO data portal.
- What it achieves (comment): It is built from the normalise step (`normalise`), the fetch step (`fetch`) and the substation names helper (`substation_names`). Bind every register project to the substation NESO says it connects at. Its code works with 182 MW, 183.6 MW and 480 MW. It accepts `--apply` and `--limit`.
- What it does: It fetches REPD browser registry, grid substations, NESO connection sites lean and the REPD register. Defines normalise, fetch, substation_names, site_key, main. Uses libraries __future__, argparse, datetime, json, re. Side effects: reads or writes files; makes network requests; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'neso'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, 400kV.
- Inputs & outputs: In: data source: NESO data portal; JSON file repd_browser_registry_202608290716.json; GeoJSON file grid_substations.geojson; JSON file neso-connection-sites.json; JSON file neso-connection-sites.lean.json; command-line arguments. Voltage levels named: 400kV.
- Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it.
- Signatures: `normalise(value: str)`; `fetch(resource_id: str, limit: int = 5000)`; `substation_names()`; `site_key(site: str)`; `main()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [data source: NESO data portal; JSON file repd_browser_registry_202608290716.json; GeoJSON file grid_substations.geojson; JSON file neso-connection-sites.json; JSON file neso-connection-sites.lean.json; command-line arguments]; out []; crs []; voltages [400kV]
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Reconcile Offshore Coordinates
- File: gridatlas/tools/offshore/reconcile_offshore_coordinates.py (Python, 759 lines) · role geodesy · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/offshore/reconcile_offshore_coordinates.py#L1-L759
- Page: https://code.globalgrid2050.com/explore-code/s/0638.html#f1
- Synopsis: A Python command-line tool in the tools folder of GridAtlas that fetches Renewable Energy Planning Database (REPD) browser registry and crown estate wind sites, using EPSG:4326 and Helmert from postcodes.io.
- What it achieves (comment): It fetches layer (`fetch_layer`) and loads registry (`load_registry`). Give every unlocated REPD row a coordinate, or say plainly why it has none. Its code works with 2907 MW, 1008 MW and 1000 MW. It accepts `--out`, `--offline` and `--check`.
- What it does: It fetches REPD browser registry, crown estate wind sites, crown estate scotland wind sites and the REPD register. Defines 11 functions or classes, including point_on_surface, shoelace, osgb36_en_to_wgs84, haversine_km, fetch_layer. Uses libraries __future__, argparse, datetime, json, math. Side effects: reads or writes files; makes network requests.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. README: "Offshore coordinates are reconciled by `tools/offshore/reconcile_offshore_coordinates.py`, run annually and on demand by `.github/workflows/offshore-coordinate-reconcile.yml`, writing `atlas/data/offshore-coordinates.json`."
- Inputs & outputs: In: data source: postcodes.io; JSON file repd_browser_registry_202608290716.json; JSON file offshore-coordinates.json; GeoJSON file crown-estate-wind-sites.geojson; GeoJSON file crown-estate-scotland-wind-sites.geojson; command-line arguments. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326.
- Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it.
- Signatures: `point_on_surface(geometry: dict)`; `shoelace(ring: list)`; `osgb36_en_to_wgs84(easting: float, northing: float)`; `haversine_km(a: tuple[float, float], b: tuple[float, float])`; `fetch_layer(filename: str, spec: dict, offline: bool)`; `repair(text: str)`; `load_registry()`; `unlocated(records: list[dict])`; `build(offline: bool)`; `sanity(report: dict)`; `main()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [data source: postcodes.io; JSON file repd_browser_registry_202608290716.json; JSON file offshore-coordinates.json; GeoJSON file crown-estate-wind-sites.geojson; GeoJSON file crown-estate-scotland-wind-sites.geojson; command-line arguments]; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Ot Filter
- File: gridatlas/tools/offtakers/filter/ot_filter.py (Python, 693 lines) · role geodesy · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/offtakers/filter/ot_filter.py#L1-L693
- Page: https://code.globalgrid2050.com/explore-code/s/0639.html#f3
- Synopsis: A Python command-line tool in the offtakers folder of GridAtlas that reads heavy emitters UK, industrial offtakers, datacentres and power plants, using SHA-256 from the GlobalGrid2050 repository.
- What it achieves (comment): It loads NAEI (`load_naei`), loads GeoJSON (`load_geojson`) and loads gppd (`load_gppd`). Potential-offtakers filter (lane OT-filter), 29 Oct 2026. It accepts `--data`, `--out` and `--dukes`.
- What it does: It loads heavy emitters UK, industrial offtakers, datacentres and power plants. Defines 26 functions or classes, including sha256, hav_km, in_bbox, norm, tokens. Uses libraries argparse, csv, hashlib, json, math. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: data source: globalgrid2050 data; JSON file heavy_emitters_uk.json; JSON file manifest_heavy_emitters.json; GeoJSON file industrial_offtakers.geojson; GeoJSON file datacentres.geojson; GeoJSON file power_plants.geojson; CSV file gppd.csv; CSV file status_curated.csv. Out: JSON file excluded_counts.json.
- Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it.
- Signatures: `sha256(path)`; `hav_km(a, b)`; `in_bbox(c)`; `norm(s)`; `tokens(s)`; `unknown(s)`; `band(t)`; `power_subclass(name, operator, t)`; `load_naei(path)`; `load_geojson(path, src)`; `load_gppd(path)`; `load_status(path)`; `load_dukes(path)`; `load_tec(path)`; `classify_naei(r)`; `btm_flag(cls, sub, s_lower, t, sources)`; `nation(country, lon, lat)`; `main()`; `L(*x)`; `status_of(name)`; `opkey(o)`; `sitetok(n)`; `merge_into_B(rec, src_label, dist_km=2.5)`; `size_metric(s)`; `licence_for(s)` (and 1 more)
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [data source: globalgrid2050 data; JSON file heavy_emitters_uk.json; JSON file manifest_heavy_emitters.json; GeoJSON file industrial_offtakers.geojson; GeoJSON file datacentres.geojson; GeoJSON file power_plants.geojson; CSV file gppd.csv; CSV file status_curated.csv]; out [JSON file excluded_counts.json]; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Build
- File: gridatlas/tools/pipeline-vicinity/build.mjs (JavaScript, 16 lines) · role storage · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/pipeline-vicinity/build.mjs#L1-L16
- Page: https://code.globalgrid2050.com/explore-code/s/0645.html#f5
- Synopsis: A JavaScript module in the pipeline vicinity folder of GridAtlas that uses SHA-256.
- What it does: It loads data. Uses libraries node:fs, node:crypto. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: command-line arguments.
- Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [command-line arguments]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Original Single-Line Diagram (SLD) Finance Fixture
- File: gridatlas/tools/proofs/202609010002-original-sld-finance-fixture.mjs (JavaScript, 351 lines) · role electrical · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202609010002-original-sld-finance-fixture.mjs#L1-L351
- Page: https://code.globalgrid2050.com/explore-code/s/0447.html#f1
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that makes element (`makeElement`), parses elements (`parseElements`) and makes harness (`makeHarness`) (units: MW, MVA, MWh), using SHA-256.
- What it achieves (comment): It makes element (`makeElement`), parses elements (`parseElements`) and makes harness (`makeHarness`). Execute the original GlobalGrid2050 GIS SLD electrical and finance engines against a deliberately small DOM, then emit a deterministic JSON oracle.
- What it does: It loads data. Defines 9 functions or classes, including valueAfter, sha256, attributes, makeElement, parseElements. Uses libraries node:assert/strict, node:crypto, node:fs, node:path, node:vm. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary.
- Inputs & outputs: In: form fields (user input); command-line arguments.
- Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it.
- Signatures: `valueAfter(flag)`; `sha256(text)`; `attributes(markup)`; `makeElement(id, attrs = {})`; `closest()`; `addEventListener()`; `dispatchEvent()`; `parseElements(html)`; `makeHarness()`; `getElementById(id)`; `applyOverrides(elements, overrides)`; `prefixed(prefix, values)`; `runCase(spec)`; `excessAnnualOpex(result.stats.ac_mw - correctedAcMw)`
- domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [form fields (user input); command-line arguments]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Mobile Static Audit
- File: gridatlas/tools/proofs/202609010030-mobile-static.audit.mjs (JavaScript, 189 lines) · role interaction · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202609010030-mobile-static.audit.mjs#L1-L189
- Page: https://code.globalgrid2050.com/explore-code/s/0646.html#f1
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that works with CSS block (`cssBlock`) and active rules (`activeRules`).
- What it achieves (comment): It is built from the CSS block helper (`cssBlock`), the audit step (`audit`) and the active rules helper (`activeRules`). Static mobile gate for the composed GridAtlas shell and single-line diagram (SLD) cartridge. It responds to mousedown and pointerdown events.
- What it does: It draws its content. Defines cssBlock, px, audit, activeRules. Uses libraries node:assert/strict, node:fs, node:path. Side effects: changes the web page (DOM); reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: command-line arguments.
- Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it.
- Signatures: `cssBlock(source, selector)`; `px(declarations, property)`; `audit(cartridge, baseCss, shellHtml)`; `controlCount(shellHtml.match(/class="map-ctrl-btn"/g) || [])`; `activeRules(width, height)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [command-line arguments]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Menu Bar Instrument Panel Browser
- File: gridatlas/tools/proofs/202609041250-menu-bar-instrument-panel.browser.mjs (JavaScript, 366 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202609041250-menu-bar-instrument-panel.browser.mjs#L1-L366
- Page: https://code.globalgrid2050.com/explore-code/s/0198.html#f4
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that works with ventus box (`ventusBox`) and attrib samples (`attribSamples`), covering cables.
- What it achieves (comment): It is built from the fixture HTML helper (`fixtureHtml`), the check step (`check`) and the ventus box helper (`ventusBox`). Proof for: the v8 VENTUS masthead and the SCADA layer panel are restored around the six-menu bar (`atlas/modules/` anything `tools/proofs/menu-bar-attrib-clearance.browser.mjs` or `tools/proofs/menu-bar-mobile-hit.browser.mjs` already prove.
- What it does: It lists and searches cables. Defines 7 functions or classes, including fixtureHtml, check, ventusBox, attribSamples, panelRects. Uses libraries node:assert/strict, node:path, node:url, playwright. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'panel'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables.
- Inputs & outputs: In: form fields (user input).
- Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it.
- Signatures: `fixtureHtml()`; `check(label, condition, detail)`; `ventusBox(page)`; `attribSamples(page)`; `panelRects(page)`; `gridControlSizes(page)`; `allPanelControlSizes(page)`; `covered(samples || [])`
- domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [form fields (user input)]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 1
### Streaming Parquet Bridge Proof
- File: gridatlas/tools/proofs/202609241251-streaming-parquet-bridge.proof.mjs (JavaScript, 266 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202609241251-streaming-parquet-bridge.proof.mjs#L1-L266
- Page: https://code.globalgrid2050.com/explore-code/s/0649.html#f2
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that fetches grid 400kV, not grid and UK metros trams local unwired, using SHA-256 from example.test.
- What it achieves (name): It is built from the native fetch helper (`nativeFetch`) and the native fetch2 helper (`nativeFetch2`). Defines `nativeFetch` and `nativeFetch2`.
- What it does: It fetches grid 400kV, not grid, UK metros trams local unwired and REPD master. Defines nativeFetch, nativeFetch2. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:path, node:process. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV.
- Inputs & outputs: In: data source: example.test; JSON file current.json; GeoJSON file grid_400kv.geojson; JSON file not-grid-data.json; GeoJSON file uk_metros_trams.geojson; Parquet file uk_metros_trams_local_unwired.parquet; JSON file repd_master.json; DuckDB queries. Voltage levels named: 400kV.
- Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it.
- Signatures: `nativeFetch(input, init)`; `queueMicrotask()`; `instantiate()`; `connect()`; `nativeFetch2(input)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [data source: example.test; JSON file current.json; GeoJSON file grid_400kv.geojson; JSON file not-grid-data.json; GeoJSON file uk_metros_trams.geojson; Parquet file uk_metros_trams_local_unwired.parquet; JSON file repd_master.json; DuckDB queries]; out []; crs []; voltages [400kV]
- Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0
### Deep Link Technology Buckets Browser
- File: gridatlas/tools/proofs/deep-link-technology-buckets.browser.mjs (JavaScript, 258 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/deep-link-technology-buckets.browser.mjs#L1-L258
- Page: https://code.globalgrid2050.com/explore-code/s/0652.html#f2
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads the Renewable Energy Planning Database (REPD) register and battery storage (BESS). It is built from the check step (`check`).
- What it achieves (comment): Proof: every technology bucket Pipeline News' MAP link can send arrives with the project's own layer switched on -- or, for the one bucket that genuinely has no layer.
- What it does: It loads the REPD register and battery storage (BESS). Defines check. Uses libraries node:assert/strict, node:http, node:fs/promises, node:path, node:vm. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, battery storage (BESS).
- Inputs & outputs: In: JSON file current.json.
- Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it.
- Signatures: `check(label, condition, detail)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Deep Link Visibility Browser
- File: gridatlas/tools/proofs/deep-link-visibility.browser.mjs (JavaScript, 224 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/deep-link-visibility.browser.mjs#L1-L224
- Page: https://code.globalgrid2050.com/explore-code/s/0652.html#f3
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads solar. It is built from the check step (`check`).
- What it achieves (comment): Proof: a deep-link arrival opened in a HIDDEN tab does not run while hidden, does not burn its layer-control budget while hidden, and completes -- camera, card and links -- once the tab is actually shown.
- What it does: It loads solar. Defines check. Uses libraries node:assert/strict, node:http, node:fs/promises, node:path, playwright. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar.
- Inputs & outputs: In: JSON file current.json.
- Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it.
- Signatures: `check(label, condition, detail)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Menu Bar Attrib Clearance Browser
- File: gridatlas/tools/proofs/menu-bar-attrib-clearance.browser.mjs (JavaScript, 277 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/menu-bar-attrib-clearance.browser.mjs#L1-L277
- Page: https://code.globalgrid2050.com/explore-code/s/0655.html#f2
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that works with attrib hit (`attribHit`) and installed hit (`installedHit`).
- What it achieves (comment): It is built from the fixture HTML helper (`fixtureHtml`), the attrib hit helper (`attribHit`) and the installed hit helper (`installedHit`). Proof: the OpenStreetMap / CARTO / Open Charge Map credit (`.custom-map-attrib`, in the immutable shell) is never occluded by the v9.107 menu bar (`atlas/modules/202609031958-menu-bar.js`), at any width.
- What it does: Defines fixtureHtml, attribHit, installedHit, check. Uses libraries node:assert/strict, node:path, node:url, playwright. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: form fields (user input).
- Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it.
- Signatures: `fixtureHtml(bodyClass)`; `attribHit(page)`; `installedHit(page, { width, height, touch })`; `check(label, condition, detail)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [form fields (user input)]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Acceptance
- File: gridatlas/tools/release/acceptance.mjs (JavaScript, 80 lines) · role automation · stage unknown · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/release/acceptance.mjs#L1-L80
- Page: https://code.globalgrid2050.com/explore-code/s/0665.html#f2
- Synopsis: A JavaScript module in the tools folder of GridAtlas that labels cmd (`labelCmd`).
- What it achieves (comment): It labels cmd (`labelCmd`) and is built from the die step (`die`) and the comment cmd helper (`commentCmd`). Step 3 of the delivery flow: the owner's acceptance of a preview generation.
- What it does: Defines die, commentCmd, labelCmd. Side effects: starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: command-line arguments.
- Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it.
- Signatures: `die(m, code = 1)`; `commentCmd(pr)`; `labelCmd(pr)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [command-line arguments]; out []; crs []; voltages []
- Edges: uses 2 estate files (import 2); used by 0; mentioned by 0
### Check Live
- File: gridatlas/tools/release/check-live.mjs (JavaScript, 85 lines) · role automation · stage unknown · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/release/check-live.mjs#L1-L85
- Page: https://code.globalgrid2050.com/explore-code/s/0665.html#f3
- Synopsis: A JavaScript module in the tools folder of GridAtlas that works with live bytes job (`liveBytesJob`).
- What it achieves (comment): It is built from the die step (`die`), the sleep step (`sleep`) and the live bytes job helper (`liveBytesJob`). Step 5 of the delivery flow: prove the public Pages site serves the committed bytes after a release (or a rollback) reached main.
- What it does: Defines die, sleep, liveBytesJob. Uses libraries node:child_process. Side effects: starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json; command-line arguments.
- Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it.
- Signatures: `die(m, code = 2)`; `sleep(s)`; `liveBytesJob(sha)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 3 estate files (script-call 3); used by 0; mentioned by 0
### Homepage Bump
- File: gridatlas/tools/release/homepage-bump.mjs (JavaScript, 247 lines) · role automation · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/release/homepage-bump.mjs#L1-L247
- Page: https://code.globalgrid2050.com/explore-code/s/0667.html#f1
- Synopsis: A JavaScript module in the tools folder of GridAtlas that reads homepage owner, using SHA-256.
- What it achieves (comment): It cleans origin main (`cleanAtOriginMain`) and is built from the die step (`die`) and the git in helper (`gitIn`). Step 6 of the delivery flow: put the released GridAtlas on www.globalgrid2050.com.
- What it does: It loads homepage owner. Defines 9 functions or classes, including die, ok, sh, gitIn, sha256. Uses libraries node:fs, node:path, node:child_process, node:crypto. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json; JSON file homepage.json; JSON file homepage-owner.json; command-line arguments.
- Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it.
- Signatures: `die(m)`; `ok(m)`; `sh(cmd, argv, cwd, opts = {})`; `gitIn(dir, ...a)`; `sha256(b)`; `cleanAtOriginMain(dir, name)`; `pointerCommit()`; `liveBytesPassed(sha)`; `job(gh(`repos/${GRIDATLAS}/actions/runs/${run.id}/jobs?per_page=50`).jobs || [])`; `homepageGridatlas(text)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json; JSON file homepage.json; JSON file homepage-owner.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 2 estate files (script-call 2); used by 0; mentioned by 0
### Publish Preview
- File: gridatlas/tools/release/publish-preview.mjs (JavaScript, 188 lines) · role automation · stage ingest · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/release/publish-preview.mjs#L1-L188
- Page: https://code.globalgrid2050.com/explore-code/s/0668.html#f3
- Synopsis: A JavaScript module in the tools folder of GridAtlas that works with change set (`changeSet`).
- What it achieves (comment): It is built from the die step (`die`), the show step (`show`) and the check step (`check`). Step 2 of the delivery flow: publish one or more generations cut by `tools/lightning/make-generation.mjs` (step 1) as a preview PR.
- What it does: It loads data. Defines 6 functions or classes, including die, ok, show, check, changeSet. Uses libraries node:fs, node:path. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json; command-line arguments.
- Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it.
- Signatures: `die(m)`; `ok(m)`; `show(rev, rel)`; `check(name, pass, detail = '')`; `changeSet()`; `version(G)`; `scopeTail(meta[G].acceptance?.scope || '')`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 2 estate files (import 2); used by 0; mentioned by 0
### Release Accepted
- File: gridatlas/tools/release/release-accepted.mjs (JavaScript, 106 lines) · role automation · stage ingest · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/release/release-accepted.mjs#L1-L106
- Page: https://code.globalgrid2050.com/explore-code/s/0668.html#f4
- Synopsis: A JavaScript module in the tools folder of GridAtlas. It is built from the die step (`die`).
- What it achieves (comment): Step 4 of the delivery flow: release an ACCEPTED preview generation.
- What it does: It loads data. Defines die, ok. Uses libraries node:fs, node:path, node:child_process. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json; command-line arguments.
- Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it.
- Signatures: `die(m)`; `ok(m)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 3 estate files (script-call 3); used by 0; mentioned by 0
### Release Status
- File: gridatlas/tools/release/release-status.mjs (JavaScript, 147 lines) · role automation · stage ingest · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/release/release-status.mjs#L1-L147
- Page: https://code.globalgrid2050.com/explore-code/s/0669.html#f2
- Synopsis: A JavaScript module in the tools folder of GridAtlas that reads homepage owner.
- What it achieves (comment): It is built from the is line helper (`isLine`), the live bytes helper (`liveBytes`) and the pr state helper (`prState`). Where every candidate is in the delivery flow (`docs/RELEASE.md`).
- What it does: It loads homepage owner. Defines isLine, liveBytes, ci, prState. Uses libraries node:fs, node:path, node:child_process. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json; JSON file homepage.json; JSON file homepage-owner.json; command-line arguments.
- Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it.
- Signatures: `pinnedOnMain(gh(`repos/${GRIDATLAS}/contents/atlas/v?ref=${mainSha}`) || [])`; `isLine(g)`; `job(gh(`repos/${GRIDATLAS}/actions/runs/${run.id}/jobs?per_page=50`).jobs || [])`; `ci(sha)`; `prState(p)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json; JSON file homepage.json; JSON file homepage-owner.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 3 estate files (script-call 3); used by 0; mentioned by 0
### Split Lightning Cartridge
- File: gridatlas/tools/release/split-lightning-cartridge.mjs (JavaScript, 136 lines) · role automation · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/release/split-lightning-cartridge.mjs#L1-L136
- Page: https://code.globalgrid2050.com/explore-code/s/0670.html#f2
- Synopsis: A JavaScript module in the tools folder of GridAtlas that reads substations, using SHA-256.
- What it achieves (comment): It reads JSON (`readJson`) and is built from the die step (`die`) and the rel step (`rel`). Cut a MODULAR lightning generation G from a monolithic one R: the same composition, with the UK lightning overlay as its own cartridge ('UK-lightning-overlay', slot after-cartridge, after single-line diagram (SLD)-sandbox) and SLD-sandbox back to the original cartridge (435,218 bytes). It reads `atlas/current.json`.
- What it does: It loads substations. Defines die, rel, abs, readJson. Uses libraries node:fs, node:path. Side effects: changes the web page (DOM); reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations.
- Inputs & outputs: In: JSON file current.json; command-line arguments.
- Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it.
- Signatures: `die(m)`; `rel(...p)`; `abs(p)`; `readJson(p)`; `lightningSources(refSld.data_sources || [])`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 0; mentioned by 0
### SatNav Compact Browser
- File: gridatlas/tools/satnav/compact-browser.py (Python, 170 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/compact-browser.py#L1-L170
- Page: https://code.globalgrid2050.com/explore-code/s/0672.html#f1
- Synopsis: A Python command-line tool in the tools folder of GridAtlas using data from the SatNav repository. It maps canvas tap (`map_canvas_tap`) and checks browser (`check_browser`).
- What it achieves (comment): Compact SatNav acceptance against the real GridAtlas composer.
- What it does: Defines surface_distance, leg_point, map_canvas_tap, overlay_roles, check_browser. Uses libraries math, os, re, urllib.parse, playwright.sync_api. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it.
- Signatures: `surface_distance(first, second)`; `leg_point(start, end, fraction, offset)`; `map_canvas_tap(page, excluded=None)`; `overlay_roles(page, required, absent=())`; `check_browser(browser, label, width, height)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### SatNav Compass Browser
- File: gridatlas/tools/satnav/compass-browser.py (Python, 206 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/compass-browser.py#L1-L206
- Page: https://code.globalgrid2050.com/explore-code/s/0672.html#f2
- Synopsis: A Python command-line tool in the tools folder of GridAtlas that checks notice (`check_notice`) and heading (`check_heading`), checks viewport (`check_viewport`) and calculates angles.
- What it achieves (comment): It is built from the initial bearing helper (`initial_bearing`), the expect true bearing helper (`expect_true_bearing`) and the sample step (`sample`). Touch-test the real GridAtlas compass page, using simulated heading and GPS samples.
- What it does: It draws its content. Defines 6 functions or classes, including initial_bearing, expect_true_bearing, check_notice, sample, check_heading. Uses libraries importlib.util, math, os, pathlib, re. Side effects: changes the web page (DOM); reads or writes files.
- 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: It is itself an entry point (Python CLI); no other file was found loading it.
- Signatures: `initial_bearing(from_point, to_point)`; `expect_true_bearing(reading, origin_label, start, end)`; `check_notice(page)`; `sample(page, event_type, **properties)`; `check_heading(page)`; `check_viewport(browser, label, width, height)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### SatNav Convergence Browser
- File: gridatlas/tools/satnav/convergence-browser.py (Python, 219 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/convergence-browser.py#L1-L219
- Page: https://code.globalgrid2050.com/explore-code/s/0672.html#f3
- Synopsis: A Python command-line tool in the tools folder of GridAtlas that checks asset actions (`check_asset_actions`) and opens walk panel (`open_walk_panel`) (units: kV), covering 11kV and substations.
- What it achieves (comment): It is built from the walk diagnostic helper (`walk_diagnostic`) and the check step (`check`). Combined regional/SatNav browser acceptance; uses the existing GPS boundary spy.
- What it does: It lists and searches 11kV and substations. Defines check_asset_actions, walk_diagnostic, open_walk_panel, check. Uses libraries os, json, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path 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: 11kV, substations.
- Inputs & outputs: Voltage levels named: 11kV.
- Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it.
- Signatures: `check_asset_actions(page)`; `walk_diagnostic(page, engine, viewport)`; `open_walk_panel(page)`; `check(browser, engine, viewport)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages [11kV]
- Edges: uses 0 estate files; used by 0; mentioned by 0
### SatNav G203 Compact Panel Browser
- File: gridatlas/tools/satnav/g203-compact-panel-browser.py (Python, 80 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/g203-compact-panel-browser.py#L1-L80
- Page: https://code.globalgrid2050.com/explore-code/s/0199.html#f1
- Synopsis: A Python command-line tool in the tools folder of GridAtlas that compares the two historical SatNav panels with the integrated G203 candidate.
- What it achieves (name): Defines `check`.
- What it does: It lists and searches its content. Defines check. Uses libraries os, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it.
- Signatures: `check(browser, name, url, w, h, candidate)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### SatNav G203 Viewport Browser
- File: gridatlas/tools/satnav/g203-viewport-browser.py (Python, 32 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/g203-viewport-browser.py#L1-L32
- Page: https://code.globalgrid2050.com/explore-code/s/0673.html#f9
- Synopsis: A Python command-line tool in the tools folder of GridAtlas. It is built from the run step (`run`).
- What it achieves (comment): G203: real pinned UK Power Networks (UKPN) viewport, no duplicate download, source eviction and neon regression.
- What it does: Defines run. Uses libraries os, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it.
- Signatures: `run(browser,name)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Layout Browser
- File: gridatlas/tools/satnav/interchange/layout-browser.py (Python, 128 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/interchange/layout-browser.py#L1-L128
- Page: https://code.globalgrid2050.com/explore-code/s/0676.html#f6
- Synopsis: A Python command-line tool in the interchange folder of GridAtlas that reads field, native GIS single-line diagram (SLD), cables and 33kV, using EPSG:27700.
- What it achieves (comment): It checks browser (`check_browser`) and is built from the feature step (`feature`) and the local file helper (`local_file`). Exercise local layout import, edit, export and failure recovery on the V4 map. Its code works with 33 kV.
- What it does: It loads field, native GIS SLD, cables and 33kV. Defines feature, local_file, check_browser. Uses libraries json, os, runpy, pathlib, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path 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: cables, 33kV.
- Inputs & outputs: In: user-supplied file (file picker). Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). Voltage levels named: 33kV.
- Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it.
- Signatures: `feature(kind, coords, **properties)`; `local_file(input_element, data)`; `check_browser(browser, name, width, height)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [user-supplied file (file picker)]; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [33kV]
- Edges: uses 0 estate files; used by 0; mentioned by 0
### SatNav Line Browser
- File: gridatlas/tools/satnav/line-browser.py (Python, 216 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/line-browser.py#L1-L216
- Page: https://code.globalgrid2050.com/explore-code/s/0677.html#f2
- Synopsis: A Python command-line tool in the tools folder of GridAtlas using data from the SatNav repository. It maps canvas tap (`map_canvas_tap`), checks basemap (`check_basemap`) and checks browser (`check_browser`).
- What it achieves (comment): Detached browser checks for the GridAtlas line-tracking practice preview.
- What it does: It lists and searches its content. Defines 7 functions or classes, including surface_distance, leg_point, map_canvas_tap, overlay_roles, check_basemap. Uses libraries math, os, re, urllib.parse, playwright.sync_api. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it.
- Signatures: `surface_distance(first, second)`; `leg_point(start, end, fraction, offset)`; `map_canvas_tap(page, excluded=None)`; `overlay_roles(page, required, absent=())`; `check_basemap(page, selector, visibility, geometry)`; `check_browser(browser, label)`; `run()`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### SatNav Offline Plan Browser
- File: gridatlas/tools/satnav/offline-plan-browser.py (Python, 212 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/offline-plan-browser.py#L1-L212
- Page: https://code.globalgrid2050.com/explore-code/s/0678.html#f4
- Synopsis: A Python command-line tool in the tools folder of GridAtlas that sets pins (`set_pins`).
- What it achieves (comment): It is built from the handler class (`Handler`), the log message helper (`log_message`) and the end headers helper (`end_headers`). Exercise the offline plan module and worker in a real browser against a local origin. It accepts `--executable` and `--geodesy`.
- What it does: It fetches data. Defines 10 functions or classes, including test_site, Handler, log_message, end_headers, do_GET. Uses libraries argparse, json, socket, contextlib, functools. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage field_execution (path 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: command-line arguments.
- Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it.
- Signatures: `test_site(geodesy)`; `class Handler`; `log_message(self, *args)`; `end_headers(self)`; `do_GET(self)`; `scopes_and_keys(page)`; `set_pins(page, points)`; `save(page, pins)`; `expect_plan(page, url, expected)`; `exercise(browser, origin, unavailable)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [command-line arguments]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Bristol Browser
- File: gridatlas/tools/satnav/pedestrian-pilot/bristol-browser.py (Python, 104 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/pedestrian-pilot/bristol-browser.py#L1-L104
- Page: https://code.globalgrid2050.com/explore-code/s/0681.html#f3
- Synopsis: A Python command-line tool in the pedestrian pilot folder of GridAtlas that works with tap endpoint (`tap_endpoint`), covering bristol footpaths.
- What it achieves (comment): It checks browser (`check_browser`) and is built from the features step (`features`). Touch acceptance against the combined V4 GridAtlas map and Bristol footpath data.
- What it does: Defines features, tap_endpoint, check_browser. Uses libraries os, playwright.sync_api. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage field_execution (path 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: GeoJSON file bristol-footpaths.geojson.
- Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it.
- Signatures: `features(page, count)`; `tap_endpoint(page, field, coordinates)`; `check_browser(browser, label, width, height)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [GeoJSON file bristol-footpaths.geojson]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Regional Benchmark
- File: gridatlas/tools/satnav/regional/regional-benchmark.py (Python, 48 lines) · role storage · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/regional/regional-benchmark.py#L1-L48
- Page: https://code.globalgrid2050.com/explore-code/s/0682.html#f6
- Synopsis: A Python module in the SatNav folder of GridAtlas that fetches benchmark rows and benchmark summary. It is built from the dist step (`dist`).
- What it achieves (comment): ORIENT-17.2: public fixture measurements, not an independent access oracle.
- What it does: It fetches benchmark rows and benchmark summary. Defines dist. Uses libraries json, math, pathlib, sys, time. Side effects: reads or writes files; makes network requests; starts processes.
- Why it exists in the grid workflow: Domain stage field_execution (path 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: command-line arguments. Out: JSON file benchmark-rows.json; JSON file benchmark-summary.json.
- Downstream impact: It is itself an entry point (Python module); no other file was found loading it.
- Signatures: `dist(a,b)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [command-line arguments]; out [JSON file benchmark-rows.json; JSON file benchmark-summary.json]; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Regional Pilot
- File: gridatlas/tools/satnav/regional/regional-pilot.sh (Shell, 79 lines) · role automation · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/regional/regional-pilot.sh#L1-L79
- Page: https://code.globalgrid2050.com/explore-code/s/0682.html#f9
- Synopsis: A shell script in the SatNav folder of GridAtlas that uses SHA-256.
- What it does: It fetches data. Side effects: reads or writes files; makes network requests; starts processes.
- Why it exists in the grid workflow: Domain stage field_execution (path 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 status.json; command-line arguments. Out: JSON file source-manifest.json.
- Downstream impact: It is itself an entry point (shell script); 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 status.json; command-line arguments]; out [JSON file source-manifest.json]; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Browser
- File: gridatlas/tools/satnav/survey/browser.py (Python, 103 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/survey/browser.py#L1-L103
- Page: https://code.globalgrid2050.com/explore-code/s/0683.html#f1
- Synopsis: A Python command-line tool in the survey folder of GridAtlas. It is built from the check step (`check`).
- What it achieves (comment): Test the actual survey controls and local download using simulated device fixes.
- What it does: It loads data. Defines check. Uses libraries json, os, runpy, pathlib, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it.
- Signatures: `check(browser, label, width, height)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### SatNav Unified Gps Movement Browser
- File: gridatlas/tools/satnav/unified-gps-movement-browser.py (Python, 90 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/unified-gps-movement-browser.py#L1-L90
- Page: https://code.globalgrid2050.com/explore-code/s/0684.html#f2
- Synopsis: A Python command-line tool in the tools folder of GridAtlas. It is built from the check step (`check`).
- What it achieves (comment): Exact-composition GPS movement regression; only the GPS sensor is simulated.
- What it does: Defines check. Uses libraries os, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path word 'gps'): 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: It is itself an entry point (Python CLI); no other file was found loading it.
- Signatures: `check(browser, engine, width, height)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Public Map Browser
- File: gridatlas/tools/satnav/walk/council/public-map-browser.py (Python, 71 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/council/public-map-browser.py#L1-L71
- Page: https://code.globalgrid2050.com/explore-code/s/0684.html#f7
- Synopsis: A Python command-line tool in the council folder of GridAtlas covering bristol footpaths. It is built from the check step (`check`).
- What it achieves (comment): Check the normal phone map and its automatic Bristol routing in both engines.
- What it does: Defines check. Uses libraries functools, json, os, threading, http.server. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it.
- Signatures: `check(browser, url, width, height)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Browser
- File: gridatlas/tools/satnav/walk/gate/browser.py (Python, 206 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/gate/browser.py#L1-L206
- Page: https://code.globalgrid2050.com/explore-code/s/0685.html#f5
- Synopsis: A Python command-line tool in the gate folder of GridAtlas that checks baseline (`check_baseline`), covering road.
- What it achieves (comment): It is built from the quiet handler class (`QuietHandler`), the log message helper (`log_message`) and the point step (`point`). Gate acceptance through the isolated GridAtlas phone map with synthetic GPS.
- What it does: Defines 7 functions or classes, including QuietHandler, log_message, point, emit, network. Uses libraries functools, math, os, threading, http.server. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): 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 road.json; JSON file style.json.
- Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it.
- Signatures: `class QuietHandler`; `log_message(self, *_)`; `point(east, north)`; `emit(page, east, north, accuracy=4)`; `network(route, host, broken_road)`; `check_baseline(browser, engine, base)`; `check(browser, engine, width, height, url, broken_road=False)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file road.json; JSON file style.json]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Browser
- File: gridatlas/tools/satnav/walk/gate/jobs/browser.py (Python, 187 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/gate/jobs/browser.py#L1-L187
- Page: https://code.globalgrid2050.com/explore-code/s/0686.html#f2
- Synopsis: A Python command-line tool in the jobs folder of GridAtlas that draws south meadow fictional and local entrance.
- What it achieves (comment): It is built from the load step (`load`), the position step (`position`) and the check step (`check`). Load two jobs through the phone UI and replay a visit to the second entrance.
- What it does: It draws south meadow fictional and local entrance. Defines load, position, check, emit. Uses libraries functools, json, math, os, threading. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): 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 south-meadow-fictional.json; JSON file local-entrance.json.
- Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it.
- Signatures: `load(page, doc)`; `position(x, y)`; `check(browser, width, height, url)`; `emit(x, y, accuracy=3, age=0)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file south-meadow-fictional.json; JSON file local-entrance.json]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Layers Browser
- File: gridatlas/tools/satnav/walk/layers-browser.py (Python, 79 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/layers-browser.py#L1-L79
- Page: https://code.globalgrid2050.com/explore-code/s/0687.html#f4
- Synopsis: A Python command-line tool in the walk folder of GridAtlas. It is built from the check step (`check`).
- What it achieves (comment): Exercise the actual field-map Layers control while direct guidance is active. Its code works with 400 kV.
- What it does: Defines check. Uses libraries os, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path 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: 400kV.
- Inputs & outputs: Voltage levels named: 400kV.
- Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it.
- Signatures: `check(browser, engine, width, height)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages [400kV]
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Local Distance Browser
- File: gridatlas/tools/satnav/walk/local-distance-browser.py (Python, 102 lines) · role geodesy · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/local-distance-browser.py#L1-L102
- Page: https://code.globalgrid2050.com/explore-code/s/0687.html#f5
- Synopsis: A Python command-line tool in the walk folder of GridAtlas. It is built from the check step (`check`).
- What it achieves (comment): Exercise the switch from the fictional entrance to a personal walk with synthetic GPS.
- What it does: Defines check. Uses libraries functools, os, re, threading, http.server. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it.
- Signatures: `check(browser, size, url)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Saved Plan Browser
- File: gridatlas/tools/satnav/walk/saved-plan-browser.py (Python, 144 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/saved-plan-browser.py#L1-L144
- Page: https://code.globalgrid2050.com/explore-code/s/0687.html#f10
- Synopsis: A Python command-line tool in the walk folder of GridAtlas that opens map (`open_map`), covering walk.
- What it achieves (comment): It checks browser (`check_browser`) and is built from the disclosure step (`disclosure`) and the direct step (`direct`). Start the same walk from map taps, the device's saved plan and a native file import.
- What it does: It lists and searches walk. Defines open_map, disclosure, direct, feature, check_browser. Uses libraries json, math, os, re, pathlib. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it.
- Signatures: `open_map(page)`; `disclosure(page, name)`; `direct(page, metres, bearing)`; `feature(kind, coordinates, role, **properties)`; `check_browser(engine, name, width, height)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### SatNav Waypoint Browser
- File: gridatlas/tools/satnav/waypoint-browser.py (Python, 256 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/waypoint-browser.py#L1-L256
- Page: https://code.globalgrid2050.com/explore-code/s/0688.html#f1
- Synopsis: A Python command-line tool in the tools folder of GridAtlas that emits fix (`emit_fix`), checks bearing (`check_bearing`) and map gestures (`check_map_gestures`) and calculates planar distances and angles.
- What it achieves (comment): It is built from the pins step (`pins`), the clear map pixel helper (`clear_map_pixel`) and the place step (`place`). Touch and GPS regression for the composed GridAtlas waypoint map.
- What it does: It lists and searches its content. Defines 8 functions or classes, including pins, clear_map_pixel, place, emit_fix, measured. Uses libraries math, os, re, pathlib, runpy. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it.
- Signatures: `pins(page, count=None, previous=None)`; `clear_map_pixel(page, cell, used=())`; `place(page, control, cell, used=None)`; `emit_fix(page, at, accuracy=5, age=0)`; `measured(page, at)`; `check_bearing(page, planned, at)`; `check_map_gestures(page, expected)`; `check_browser(browser, name, width, height)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Audit UKPN
- File: gridatlas/tools/secondary/audit_ukpn.py (Python, 84 lines) · role energy-data · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/secondary/audit_ukpn.py#L1-L84
- Page: https://code.globalgrid2050.com/explore-code/s/0448.html#f9
- Synopsis: A Python command-line tool in the secondary folder of GridAtlas that fetches grid 11kV UKPN, historical, UKPN transformers and UKPN sites, using SHA-256 from the data-grid-GB and data-GridAtlas repositories.
- What it achieves (comment): It is built from the acquire step (`acquire`). Real-source network twin: two builds, independent SQL and legacy comparison. It accepts `--work`.
- What it does: It fetches grid 11kV UKPN, historical, UKPN transformers and UKPN sites. Defines acquire, main. Uses libraries argparse, hashlib, json, subprocess, sys. Side effects: reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'ukpn'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: data source: data-grid-gb data; data source: data-gridatlas data; Parquet file grid_11kv_ukpn.parquet; Parquet file historical.parquet; Parquet file ukpn_transformers.parquet; Parquet file ukpn_sites.parquet; DuckDB queries; command-line arguments. Out: JSON file audit.json.
- Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it.
- Signatures: `acquire(url, dest, size, sha)`; `main()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [data source: data-grid-gb data; data source: data-gridatlas data; Parquet file grid_11kv_ukpn.parquet; Parquet file historical.parquet; Parquet file ukpn_transformers.parquet; Parquet file ukpn_sites.parquet; DuckDB queries; command-line arguments]; out [JSON file audit.json]; crs []; voltages []
- Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0
### Build V9 5
- File: gridatlas/tools/v9_5/build_v9_5.py (Python, 200 lines) · role storage · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/v9_5/build_v9_5.py#L1-L200
- Page: https://code.globalgrid2050.com/explore-code/s/0695.html#f1
- Synopsis: A Python command-line tool in the tools folder of GridAtlas that reads request, postcodes and the Renewable Energy Planning Database (REPD) register, using SHA-256.
- What it achieves (comment): Build GridAtlas v9.5 as one immutable-shell search cartridge. It accepts `--request` and `--report`.
- What it does: It loads request, postcodes and the REPD register. Defines main. Uses libraries __future__, argparse, copy, json, re. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: postcodes, the REPD register.
- Inputs & outputs: In: JSON file current.json; JSON file v9-5-request.json; JSON file v9-5-build.json; command-line arguments.
- Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it.
- Signatures: `main()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json; JSON file v9-5-request.json; JSON file v9-5-build.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 0; mentioned by 0
### GridAtlas — Release
- File: gridatlas/tools/release/lib.mjs (JavaScript, 213 lines) · role automation · stage ingest
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/release/lib.mjs#L1-L213
- Page: https://code.globalgrid2050.com/explore-code/s/0667.html#f2
- Synopsis: A JavaScript module in the tools folder that derives current (`deriveCurrent`), cleans tree (`cleanTree`) and runs gates (`runGates`), using SHA-256.
- What it achieves (comment): It parses args (`parseArgs`), reads text (`readText`) and derives current (`deriveCurrent`). Shared helpers for `tools/release/release-generation.mjs` and `tools/release/rollback-generation.mjs`.
- What it does: It loads data. Defines 23 functions or classes, including registeredLoaderOf, pointerSlots, die, parseArgs, run. Uses libraries node:fs, node:path, node:child_process, node:crypto, node:url. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json.
- Downstream impact: Used directly by 18 files: Build (gridatlas); Acceptance (gridatlas); Check Live (gridatlas); Check Served (gridatlas); and 14 more. Reached from 15 other entry points, including GridAtlas Cartridge Proof Workflow (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas); GridAtlas Verify Live Workflow (gridatlas).
- Signatures: `export registeredLoaderOf(buffer)`; `export pointerSlots(pointer)`; `export die(tool, message)`; `export parseArgs(argv, spec)`; `export run(cmd, args, { cwd = ROOT, allowFail = false, input } = {})`; `export git(...args)`; `export gitOk(...args)`; `export gitBlob(rev, relative)`; `export sha256(buffer)`; `export sha256File(relative)`; `export readText(relative)`; `export exists(relative)`; `export deriveCurrent(manifestText)`; `export rerootForPreview(currentText)`; `export cleanTree()`; `export changedPaths()`; `export isTracked(relative)`; `export parityFailRows()`; `export runGates({ expectGeneration, proofs = [], parityBaseline = [], rollbackTo = null })`; `export printGates(rows)`; `export commitWithMessage(message)`; `export trailerBlock(trailers)`; `record(gate, ok, detail, out)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json]; out []; crs []; voltages []
- Edges: uses 6 estate files (script-call 6); used by 18; mentioned by 0
### GridAtlas — Scope
- File: gridatlas/tools/scope/lib.mjs (JavaScript, 308 lines) · role storage · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/scope/lib.mjs#L1-L308
- Page: https://code.globalgrid2050.com/explore-code/s/0689.html#f3
- Synopsis: A JavaScript module in the tools folder that normalises newlines (`normaliseNewlines`) and parses scalar (`parseScalar`) and front matter (`parseFrontMatterText`), using SHA-256.
- What it achieves (name): It normalises newlines (`normaliseNewlines`), parses scalar (`parseScalar`) and serialises scalar (`serialiseScalar`). Defines `registeredLoader`, `slotsUsed`, `invariant` and 25 more.
- What it does: It loads data. Defines 28 functions or classes, including registeredLoader, slotsUsed, invariant, normaliseNewlines, parseScalar. Uses libraries node:fs, node:path, node:crypto. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Downstream impact: Used directly by 11 files: CI PR Gate (gridatlas); Lightning Cartridge (gridatlas); Loader Equivalence Proof (gridatlas); Offtakers Cartridge (gridatlas); and 7 more. Reached from 28 other entry points, including GridAtlas Cartridge Proof Workflow (gridatlas); GridAtlas Next Version Builders Workflow (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `export registeredLoader(filePath)`; `export slotsUsed(current)`; `export invariant(condition, message)`; `export normaliseNewlines(value)`; `export parseFrontMatterText(text, file = '')`; `export readFrontMatter(filePath)`; `export writeFrontMatter(filePath, patch)`; `export writeText(filePath, content)`; `export writeJson(filePath, value)`; `export readJson(filePath)`; `export listScopeDocuments()`; `export masterDocument(documents = listScopeDocuments())`; `export numberedScopes(documents = listScopeDocuments())`; `export activeScope(documents = listScopeDocuments())`; `export sha256Buffer(bytes)`; `export sha256File(filePath)`; `export sha256PublishedFile(filePath)`; `export londonGeneration(date = new Date())`; `export nextGeneration(previous)`; `export scopeFileName(generation, scope, slug)`; `export scopeMarkdown({ generation, scope, parent, title, body })`; `export githubOutput(values)`; `export relativePosix(filePath)`; `parseScalar(raw)`; `serialiseScalar(value)` (and 3 more)
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 11; mentioned by 0
### Serve
- File: gridatlas/tools/journey/serve.mjs (JavaScript, 20 lines) · role ingest · stage ingest
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/journey/serve.mjs#L1-L20
- Page: https://code.globalgrid2050.com/explore-code/s/0631.html#f9
- Synopsis: A JavaScript module in the journey folder of GridAtlas. It creates preview server (`createPreviewServer`).
- What it achieves (comment): Read-only local preview server, serving the same LF text bytes as GitHub Pages.
- What it does: It loads data. Defines createPreviewServer. Uses libraries node:fs, node:path, node:http, node:url. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: command-line arguments.
- Downstream impact: Used directly by 10 files: UKPN Paired Browser (gridatlas); UKPN Secondary Browser (gridatlas); Browser Test (gridatlas); Vicinity Entry Browser (gridatlas); and 6 more. Reached from 2 other entry points, including GridAtlas Cartridge Proof Workflow (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `export createPreviewServer(port=0)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [command-line arguments]; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 10; mentioned by 0
### Flow Lib
- File: gridatlas/tools/release/flow-lib.mjs (JavaScript, 246 lines) · role automation · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/release/flow-lib.mjs#L1-L246
- Page: https://code.globalgrid2050.com/explore-code/s/0666.html#f3
- Synopsis: A JavaScript module in the tools folder of GridAtlas that classifies pr (`classifyPr`), parses verdict (`parseVerdict`) and reads acceptance (`readAcceptance`).
- What it achieves (comment): It classifies pr (`classifyPr`), parses verdict (`parseVerdict`) and reads acceptance (`readAcceptance`). Shared helpers for the delivery-flow scripts in `tools/release/` (cut, preview, acceptance, release, live bytes, homepage label, served check, status).
- What it does: It loads data. Defines 24 functions or classes, including generationFiles, PROGRESS_DOC, runningAsAgent, GhError, gh. Uses libraries node:fs, node:path, node:child_process. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json.
- Downstream impact: Used directly by 8 files: Acceptance (gridatlas); Check Live (gridatlas); Check Served (gridatlas); Flow Test (gridatlas); and 4 more. Reached from 1 other entry point, including GridAtlas Verify Live Workflow (gridatlas).
- Signatures: `export OWNER_LOGINS(process.env.GRIDATLAS_OWNER_LOGINS || 'Ventusltd')`; `export generationFiles(G)`; `export PROGRESS_DOC(G, name)`; `export runningAsAgent()`; `export class GhError`; `export gh(endpoint, { method = 'GET', fields = {}, raw = false, input } = {})`; `export ghAll(endpoint, { perPage = 100, maxPages = 30 } = {})`; `export ghFile(repo, ref, relative)`; `export ghHeadSha(repo, branch = 'main')`; `export prsNaming(G, { pulls } = {})`; `export prFiles(number)`; `export classifyPr(pr, files, G)`; `export acceptLabel(G)`; `export parseVerdict(body, G)`; `export trustedActor(user, app, body = '')`; `export decideAcceptance(G, { comments = [], events = [] })`; `export readAcceptance(G, { since, pulls } = {})`; `export cutAtUtc(G)`; `export workflowRuns(repo, workflow, { branch, headSha, event, perPage = 20 } = {})`; `export checkRunsFor(repo, sha)`; `export dispatchWorkflow(repo, workflow, ref, inputs = {})`; `export openDraftPr({ repo = GRIDATLAS, head, base = 'main', title, body })`; `export writeJson(file, data)`; `export readCommittedJson(rev, relative, cwd = ROOT)`; `export pad(rows)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json]; out []; crs []; voltages []
- Edges: uses 2 estate files (script-call 1, estate-url 1); used by 8; mentioned by 0
### Declared Connections
- File: gridatlas/atlas/modules/202609012128-declared-connections.js (JavaScript, 258 lines) · role render · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609012128-declared-connections.js#L1-L258
- Page: https://code.globalgrid2050.com/explore-code/s/0522.html#f1
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that works with nearest transmission (`nearestTransmission`) (units: kV, MVA, MW), covering substations, 400kV, solar and 132kV.
- What it achieves (comment): It is built from the works at helper (`worksAt`), the provisional step (`provisional`) and the resolve step (`resolve`). The 400kV public record: what each DCO-scale scheme has DECLARED as its point of connection, taken from Development Consent Orders, Planning Inspectorate documents and public project statements. Its code works with 400 kV, 132 kV and 33 kV.
- What it does: It lists and searches substations, 400kV, solar and 132kV. Defines worksAt, provisional, resolve, nearestTransmission. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 400kV, solar, 132kV, 33kV.
- Inputs & outputs: Voltage levels named: 400kV, 132kV, 33kV.
- Downstream impact: Used directly by 6 files: Grid Vicinity (gridatlas); Document Context Test (gridatlas); Document Context (gridatlas); Standalone (stars); and 2 more. Reached from 389 other entry points, including Code Generator — Index Page (code-generator, https://ventusltd.github.io/code-generator/); Generate (code-generator, https://ventusltd.github.io/code-generator/); 404 (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/404.html).
- Signatures: `NS(window.__GRIDATLAS_MODULES__ = window.__GRIDATLAS_MODULES__ || {})`; `worksAt(name)`; `provisional(repdRef)`; `resolve(repdRef, origin, subs)`; `match(Array.isArray(subs) ? subs : [])`; `nearestTransmission(origin, subs)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages [400kV, 132kV, 33kV]
- Edges: uses 0 estate files; used by 6; mentioned by 0
### Loader Composition
- File: gridatlas/tools/proofs/loader-composition.mjs (JavaScript, 86 lines) · role render · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/loader-composition.mjs#L1-L86
- Page: https://code.globalgrid2050.com/explore-code/s/0654.html#f6
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that works with loader script (`loaderScript`) and stub URL (`StubURL`).
- What it achieves (comment): It is built from the response step (`response`), the loader script helper (`loaderScript`) and the compose step (`compose`). Run the GridAtlas composer (`atlas/index.html`) in Node, without a browser, and return exactly what it would hand to document.write: the composed HTML and, in document order, the source of every script tag it points at a verified cartridge blob.
- What it does: It draws its content. Defines response, loaderScript, compose, StubURL, fetch. Uses libraries node:fs, node:path, node:vm, node:crypto, node:url. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json.
- Downstream impact: Used directly by 6 files: Lightning Cartridge (gridatlas); Loader Equivalence Proof (gridatlas); Offtakers Cartridge (gridatlas); Loader Swap (gridatlas); and 2 more. Reached from 5 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); GridAtlas Verify Live Workflow (gridatlas); CI PR Gate (gridatlas).
- Signatures: `export loaderScript(loaderHtml)`; `export compose({ loaderHtml, route = 'atlas/', files = {} })`; `response(file, virtual)`; `json()`; `text()`; `arrayBuffer()`; `class StubURL`; `open()`; `fetch(input)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 6; mentioned by 0
### Orient17a Navigation
- File: gridatlas/tools/satnav/orientation/orient17a-navigation.mjs (JavaScript, 47 lines) · role transform · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orientation/orient17a-navigation.mjs#L1-L47
- Page: https://code.globalgrid2050.com/explore-code/s/0680.html#f4
- Synopsis: A JavaScript module in the orientation folder of GridAtlas that creates arrival (`createArrival`) and calculates planar distances and angles.
- What it achieves (comment): It creates arrival (`createArrival`) and is built from the geometry step (`geometry`) and the point step (`point`). ORIENT-17A safe spherical geometry (GridAtlas radius), proximity and reference boundary.
- What it does: It calculates its inputs. Defines 7 functions or classes, including geometry, point, vector, createArrival, reset.
- Why it exists in the grid workflow: Domain stage field_execution (path word 'navigation'): 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 6 files: Orient17a Continuity Ordered (gridatlas); Orient17a Ordered (gridatlas); Orient17a Navigation Test (gridatlas); Wmm2025 Test (gridatlas); and 2 more.
- Signatures: `export geometry(fix,target,now=Date.now())`; `export createArrival({radiusM=15,maxGapMs=2500,minSpanMs=2000}={})`; `export relativeGuidance(metrics,heading,now=Date.now())`; `point(p)`; `vector([x,y])`; `reset()`; `observe({fix,metrics,key,now=Date.now(),eligible=true})`; `r((metrics.bearingDeg-heading.degrees+540)%360)`
- 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 6; mentioned by 1
### Convergence Unlimited
- File: gridatlas/tools/satnav/guidance/convergence-unlimited.mjs (JavaScript, 69 lines) · role transform · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/guidance/convergence-unlimited.mjs#L1-L69
- Page: https://code.globalgrid2050.com/explore-code/s/0674.html#f4
- Synopsis: A JavaScript module in the guidance folder of GridAtlas that classifies direct leg (`classifyDirectLeg`), reconciles navigation layers (`reconcileNavigationLayers`) and prepares asset destination (`prepareAssetDestination`) (units: kV).
- What it achieves (comment): It classifies direct leg (`classifyDirectLeg`), prepares asset destination (`prepareAssetDestination`) and ranks higher voltage (`rankHigherVoltage`). Direct navigation is not a pedestrian route or evidence of access.
- What it does: It calculates its inputs. Defines 7 functions or classes, including classifyDirectLeg, directLegGeometry, reconcileNavigationLayers, prepareAssetDestination, valid.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: Used directly by 5 files: Distance Dock Proof (gridatlas); Ordered Convergence Unlimited (gridatlas); Orient17a Continuity Ordered (gridatlas); Orient17a Ordered (gridatlas); and 1 more.
- Signatures: `export classifyDirectLeg(maths, from, to)`; `export directLegGeometry(maths, from, to)`; `export reconcileNavigationLayers(map, ids)`; `export prepareAssetDestination(maths, fix, at, tracking, quality)`; `export rankHigherVoltage(nodes, origin, distanceKm, minimumKv = 33, limit = 5)`; `valid(p)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of gridatlas/tools/satnav/guidance/convergence-2km.mjs) · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 5; mentioned by 0
### Handoff
- File: gridatlas/tools/satnav/walk/gate/handoff.mjs (JavaScript, 122 lines) · role transform · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/gate/handoff.mjs#L1-L122
- Page: https://code.globalgrid2050.com/explore-code/s/0685.html#f7
- Synopsis: A JavaScript module in the gate folder of GridAtlas that sets road (`setRoad`). It creates gate handoff (`createGateHandoff`) and sets road (`setRoad`).
- What it achieves (code): Its `createGateHandoff` function gives road or field leg, crossing or manual entry state, quality and available guidance metrics from Agreed gate plan with geometry and width, saved road route (VEDIC: detect gate crossing).
- What it does: It calculates its inputs. Defines 9 functions or classes, including validPoint, createGateHandoff, metres, position, setRoad.
- Why it exists in the grid workflow: Domain stage agent_infra (path word 'handoff'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief).
- Downstream impact: Used directly by 5 files: Controls (gridatlas); Handoff Test (gridatlas); Controls (gridatlas); Plan (gridatlas); and 1 more.
- Signatures: `export createGateHandoff(plan, maths, compass)`; `validPoint(p)`; `metres(a, b)`; `position(at)`; `angle(maths.initialBearingDeg(...gate.centre, ...at) - axis)`; `setRoad(saved)`; `enterField(reason)`; `restart()`; `observe(at, fix)`; `locate(fix, now = Date.now())`
- VEDIC: DETECT GATE CROSSING (GG2050-VEDIC-000098): SatNav · Location and navigation data. Agreed gate plan with geometry and width, saved road route, maths and compass modules, timestamped GPS fixes -> Road or field leg, crossing or manual entry state, quality and available guidance metrics.
- domain_stage: agent_infra · commercial_user: landowner_planner, ai_agent · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 2 estate files (import 2); used by 5; mentioned by 0
### Single-Line Diagram (SLD) Build
- File: gridatlas/tools/sld/build.mjs (JavaScript, 42 lines) · role electrical · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/sld/build.mjs#L1-L42
- Page: https://code.globalgrid2050.com/explore-code/s/0449.html#f2
- Synopsis: A JavaScript module in the tools folder of GridAtlas that reads generations, using SHA-256.
- What it achieves (comment): It builds SLD (`buildSld`) and is built from the digest step (`digest`) and the pinned step (`pinned`). Rebuild the MAP receiver from a pinned immutable baseline and explicit source edits.
- What it does: It loads generations. Defines digest, buildSld, pinned, arg. Uses libraries node:fs, node:path, node:assert/strict, node:crypto, node:url. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. README: "`build.mjs` restores source reproducibility for the accepted V9.190 and V9.191 SLD cartridges."
- Inputs & outputs: In: JSON file generations.json; command-line arguments.
- Downstream impact: Used directly by 5 files: Single-Line Diagram (SLD) Build Test (gridatlas); Single-Line Diagram (SLD) Map Removal Cleanup Test (gridatlas); Single-Line Diagram (SLD) Mobile Arrival Card Test (gridatlas); Cut Grid Explorer (gridatlas); and 1 more. Reached from 3 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); CI PR Gate (gridatlas); Map Promotion Rehearsal (gridatlas).
- Signatures: `export buildSld(generation,root=ROOT)`; `digest(b)`; `pinned(input)`; `arg(name)`
- domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file generations.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 5; mentioned by 0
### Substation Intelligence V9 63
- File: gridatlas/atlas/cartridges/202611180026-substation-intelligence-v9-63.js (JavaScript, 8609 lines) · role geodesy · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/cartridges/202611180026-substation-intelligence-v9-63.js#L1-L8609
- Page: https://code.globalgrid2050.com/explore-code/s/0383.html#f2
- Synopsis: A JavaScript file in the cartridges folder of GridAtlas that maps elizabeth line, using haversine and SHA-256 and uses data from the Ventus Grid Engine, data-federation-map-for-GlobalGrid2050-all-repos and spiders repositories.
- What it achieves (comment): It normalizes status (`normalizeStatus`), toggles zone draw mode (`toggleZoneDrawMode`) and opens popup (`openPopup`). ASSEMBLED by `tools/build-cartridge.mjs` from the parts below. Its code works with 400 kV, 100 MVA and 132 kV. It responds to fullscreenchange, webkitfullscreenchange and click events.
- What it does: It maps elizabeth line, london underground, UK metros trams and hs2. Defines 238 functions or classes, including deepFreeze, escapeHTML, normalizeStatus, fmt, haversine. Side effects: changes the web page (DOM); makes network requests.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 750kV, 400kV, 275kV, 132kV, 66kV, 33kV.
- Inputs & outputs: In: data source: ventus-grid-engine data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: spiders data; data source: npm data; GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson. Out: downloaded file gridatlas-; downloaded file globalgrid2050-grid-atlas-; interactive map; canvas drawing; SVG drawing. Voltage levels named: 750kV, 400kV, 275kV, 132kV, 66kV, 33kV, 11kV.
- Downstream impact: Used directly by 4 files: Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/); Map Removal Test (gridatlas); Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Ventus Grid Engine — Genome Page (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/). Reached from 2 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); Genome Workflow (ventus-grid-engine).
- Signatures: `deepFreeze(obj)`; `escapeHTML(value)`; `normalizeStatus(status)`; `fmt(n, decimals)`; `haversine(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `_zoneDrawGetRadius()`; `_zoneDrawCirclePoints(lon, lat, radiusKm, n)`; `b(i / n)`; `_zoneDrawCalcArea(pts)`; `j(i + 1)`; `_zoneDrawUpdateLayers(dragOnly)`; `_zoneDrawShowPopup()`; `_zoneDrawShowPopupDebounced()`; `_zoneDrawClear()`; `zoneDrawUndo()`; `toggleZoneDrawMode()`; `_zoneDrawNearVertex(px)`; `_zoneDrawEdgeDots(i)`; `_zoneDrawNearEdgeDot(px)`; `_zoneDrawOnClick(e)`; `mpp(km * 2000)`; `_zoneDrawOnMouseDown(e)`; `_zoneDrawOnMouseMove(e)`; `_zoneDrawOnMouseUp()` (and 15 more)
- VEDIC: SNAP LINE ENDS TO SUBSTATIONS (GG2050-VEDIC-000106): GridAtlas / Substations · Geospatial data processing. line_features, substation_point_features -> Line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged.
- VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km
- VEDIC: REPRESENT (GG2050-VEDIC-000002): GridAtlas / Geodesy · Computer science / Geometry processing. geojson_geometry -> coordinate_pair_or_null
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [data source: ventus-grid-engine data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: spiders data; data source: npm data; GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson]; out [downloaded file gridatlas-; downloaded file globalgrid2050-grid-atlas-; interactive map; canvas drawing; SVG drawing]; crs []; voltages [750kV, 400kV, 275kV, 132kV, 66kV, 33kV, 11kV]
- Edges: uses 2 estate files (estate-url 2); used by 4; mentioned by 1
### Geodesy
- File: gridatlas/atlas/modules/202609011950-geodesy.js (JavaScript, 145 lines) · role geodesy · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609011950-geodesy.js#L1-L145
- Page: https://code.globalgrid2050.com/explore-code/s/0521.html#f2
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that works with distance km (`distanceKm`) and representative point (`representativePoint`) and calculates great-circle distances and angles (units: kV), using haversine.
- What it achieves (comment): It is built from the distance km helper (`distanceKm`), the representative point helper (`representativePoint`) and the voltages kV helper (`voltagesKv`). One Earth radius for the whole estate, and the three operations every measurement here is built from. Its code works with 750 kV.
- What it does: Defines distanceKm, representativePoint, voltagesKv, destinationPoint, initialBearingDeg. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 750kV.
- Inputs & outputs: Voltage levels named: 750kV.
- Downstream impact: Used directly by 4 files: Asset Context Test (gridatlas); Model Test (gridatlas); Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Ventus Grid Engine — Genome Page (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/). Reached from 2 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); Genome Workflow (ventus-grid-engine).
- Signatures: `NS(window.__GRIDATLAS_MODULES__ = window.__GRIDATLAS_MODULES__ || {})`; `distanceKm(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `dLon(lon2 - lon1)`; `representativePoint(geometry)`; `voltagesKv(properties)`; `destinationPoint(lon, lat, km, bearingDeg)`; `initialBearingDeg(lon1, lat1, lon2, lat2)`; `dl(lon2 - lon1)`
- VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km
- VEDIC: REPRESENT (GG2050-VEDIC-000002): GridAtlas / Geodesy · Computer science / Geometry processing. geojson_geometry -> coordinate_pair_or_null
- VEDIC: VOLTAGE (GG2050-VEDIC-000003): GridAtlas / Geodesy · Computer science / Data normalisation. voltage_properties -> kilovolt_list
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages [750kV]
- Edges: uses 0 estate files; used by 4; mentioned by 0
### Build
- File: gridatlas/tools/journey/build.mjs (JavaScript, 39 lines) · role storage · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/journey/build.mjs#L1-L39
- Page: https://code.globalgrid2050.com/explore-code/s/0631.html#f5
- Synopsis: A JavaScript module in the journey folder of GridAtlas that reads synthetic branch, using SHA-256.
- What it achieves (comment): It is built from the read step (`read`), the hash step (`hash`) and the assemble step (`assemble`). Deterministic, pinned-source preview assembly. Never modifies a live pointer. It reads `tools/journey/fixtures/synthetic-branch.v1.json`.
- What it does: It loads synthetic branch. Defines read, hash, assemble, build. Uses libraries node:fs, node:path, node:url, node:crypto, node:assert/strict. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "assembleModule({generation}) from build.mjs returns {body,pin,fixture}"
- Inputs & outputs: In: JSON file synthetic-branch.v1.json; JSON file current.json; command-line arguments.
- Downstream impact: Used directly by 4 files: Browser Test (gridatlas); Serve (gridatlas); Cut Grid Explorer (gridatlas); Grid Explorer Proof (gridatlas). Reached from 11 other entry points, including GridAtlas Cartridge Proof Workflow (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas); Browser Test (gridatlas).
- Signatures: `export assemble()`; `export build(check = false)`; `read(p)`; `hash(b)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file synthetic-branch.v1.json; JSON file current.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 2 estate files (import 2); used by 4; mentioned by 0
### Grid Explorer Proof
- File: gridatlas/tools/release/grid-explorer-proof.mjs (JavaScript, 53 lines) · role automation · stage ingest · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/release/grid-explorer-proof.mjs#L1-L53
- Page: https://code.globalgrid2050.com/explore-code/s/0666.html#f5
- Synopsis: A JavaScript module in the tools folder of GridAtlas that reads station, using SHA-256. It proves explorer generation (`proveExplorerGeneration`).
- What it achieves (name): Defines `read`, `hash` and `proveExplorerGeneration`. It reads `tools/train/station-source.json`.
- What it does: It loads station. Defines read, hash, proveExplorerGeneration. Uses libraries node:fs, node:path, node:assert/strict, node:url, node:crypto. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json; JSON file station-source.json.
- Downstream impact: Used directly by 4 files: Grid Journey Preview Proof (gridatlas); Grid Vicinity Proof (gridatlas); UK Gazetteer Flyto Proof (gridatlas); Cut Grid Explorer (gridatlas).
- Signatures: `export proveExplorerGeneration(G, id)`; `read(p)`; `hash(b)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file current.json; JSON file station-source.json]; out []; crs []; voltages []
- Edges: uses 6 estate files (script-call 6); used by 4; mentioned by 0
### Wmm2025
- File: gridatlas/tools/satnav/orientation/wmm2025.mjs (JavaScript, 222 lines) · role transform · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orientation/wmm2025.mjs#L1-L222
- Page: https://code.globalgrid2050.com/explore-code/s/0681.html#f1
- Synopsis: A JavaScript module in the orientation folder of GridAtlas that works with decimal year (`decimalYear`) and evaluate field (`evaluateField`) and calculates great-circle distances and planar distances, using SHA-256.
- What it achieves (comment): It is built from the index step (`index`), the decimal year helper (`decimalYear`) and the check step (`check`). ORIENT-17A support: World Magnetic Model 2025 (WMM2025) declination evaluator.
- What it does: It calculates its inputs. Defines 9 functions or classes, including index, decimalYear, check, evaluateField, declinationSigmaDeg.
- Why it exists in the grid workflow: Domain stage field_execution (path 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: Coordinate systems named: WGS84 / EPSG:4326.
- Downstream impact: Used directly by 4 files: Orient17a Reference Wmm (gridatlas); Orient17a V9211 Heading (gridatlas); Orient17a V9212 Heading (gridatlas); Wmm2025 Test (gridatlas).
- Signatures: `export decimalYear(date)`; `export evaluateField({ latitude, longitude, altitudeKm = 0, year })`; `export declinationSigmaDeg(hNt)`; `export declination({ latitude, longitude, altitudeKm = 0, when = Date.now() })`; `export magneticToTrue(heading, position, { when = heading?.timestampMs ?? Date.now(), sigmaMultiplier = 2, sensorIsMagnetic = false } = {})`; `index(n, m)`; `check({ latitude, longitude, altitudeKm, year })`; `p(rc + altitudeKm)`; `z(rc * (1 - E2) + altitudeKm)`; `k1(2 * n - 1)`; `Hd(X * Xd + Y * Yd)`; `Fd(X * Xd + Y * Yd + Z * Zd)`; `Dd(X * Yd - Y * Xd)`; `Id(Hh * Zd - Z * Hd)`; `normalise(d)`; `fail(reason, d = null)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages []
- Edges: uses 0 estate files; used by 4; mentioned by 0
### Plan
- File: gridatlas/tools/satnav/walk/gate/pilot/plan.mjs (JavaScript, 46 lines) · role other · stage unknown · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/gate/pilot/plan.mjs#L1-L46
- Page: https://code.globalgrid2050.com/explore-code/s/0687.html#f2
- Synopsis: A JavaScript module in the pilot folder of GridAtlas.
- What it achieves (comment): Illustrative coordinates and opening, designed for replay.
- Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): 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 4 files: Controls (gridatlas); Handoff Test (gridatlas); Controls (gridatlas); Replay (gridatlas).
- 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 4; mentioned by 0
### VEDIC Snapshot Routing
- File: gridatlas/tools/vedic/snapshot-routing.mjs (JavaScript, 39 lines) · role transform · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vedic/snapshot-routing.mjs#L1-L39
- Page: https://code.globalgrid2050.com/explore-code/s/0696.html#f5
- Synopsis: A JavaScript module in the tools folder of GridAtlas that builds routing graph (`buildRoutingGraph`) and routes candidate (`routeCandidate`). It builds routing graph (`buildRoutingGraph`) and routes candidate (`routeCandidate`).
- What it achieves (comment): VEDIC E03: bounded snapshot pilot, not a live navigation provider.
- What it does: It calculates its inputs. Defines 7 functions or classes, including buildRoutingGraph, conditional, nodeAllowed, distance, speed.
- Why it exists in the grid workflow: Domain stage agent_infra (path word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief).
- Downstream impact: Used directly by 4 files: VEDIC Snapshot Provider V9214 Test (gridatlas); VEDIC Snapshot Provider (gridatlas); VEDIC Snapshot Provider Test (gridatlas); VEDIC Snapshot Routing Test (gridatlas).
- Signatures: `export buildRoutingGraph(source,mode,compiler=compileTopology)`; `export routeCandidate(g,start,end,objective="shortest",{maxStates=100000}={})`; `export weakComponents(g)`; `conditional(t)`; `nodeAllowed(n)`; `distance(a,b)`; `speed(t)`; `fail(reason)`
- domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 4; mentioned by 0
### Build
- File: gridatlas/tools/vicinity/build.mjs (JavaScript, 27 lines) · role storage · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vicinity/build.mjs#L1-L27
- Page: https://code.globalgrid2050.com/explore-code/s/0696.html#f11
- Synopsis: A JavaScript module in the vicinity folder of GridAtlas that reads station, using SHA-256.
- What it achieves (readme): It is built from the assemble step (`assemble`), the read step (`read`) and the train read helper (`trainRead`). The README says: `build.mjs` deterministically assembles `src/model.mjs`, `src/bootstrap.js` and `src/vicinity.css` into one bounded module.
- What it does: It loads station. Defines assemble, read, trainRead. Uses libraries node:fs, node:path, node:url, node:crypto. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "`build.mjs` deterministically assembles `src/model.mjs`, `src/bootstrap.js` and `src/vicinity.css` into one bounded module."
- Inputs & outputs: In: JSON file station-source.json; command-line arguments.
- Downstream impact: Used directly by 4 files: Cut Grid Explorer (gridatlas); Grid Explorer Proof (gridatlas); Browser Test (gridatlas); Model Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `export assemble({root = ROOT, generation = 'UNRELEASED'} = {})`; `read(p)`; `trainRead(file)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file station-source.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 4; mentioned by 0
### Electrical Distance
- File: gridatlas/atlas/modules/202609012245-electrical-distance.js (JavaScript, 365 lines) · role geodesy · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609012245-electrical-distance.js#L1-L365
- Page: https://code.globalgrid2050.com/explore-code/s/0523.html#f2
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that starts nodes (`startNodes`) (units: kV, MVA), covering transformers and substations.
- What it achieves (comment): It starts nodes (`startNodes`) and is built from the crossing step (`crossing`) and the describe step (`describe`). How far away a substation is, measured in the network operator's own published circuits rather than in kilometres. Its code works with 100 MVA.
- What it does: It lists and searches transformers and substations. Defines 6 functions or classes, including crossing, describe, legality, startNodes, between. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers, substations.
- Downstream impact: Used directly by 3 files: Route Plan Test (gridatlas); Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Ventus Grid Engine — Genome Page (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/). Reached from 2 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); Genome Workflow (ventus-grid-engine).
- Signatures: `crossing(graph, nearNode, farNode)`; `describe(graph, entry, nearNode)`; `legality(kind, cross)`; `startNodes(graph, site, voltageKv)`; `between(index, fromKey, toKey, options)`; `within(index, key, options)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 3; mentioned by 0
### Unified Layer Catalogue
- File: gridatlas/atlas/modules/unified-layer-catalogue.mjs (JavaScript, 91 lines) · role transform · stage transform
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/unified-layer-catalogue.mjs#L1-L91
- Page: https://code.globalgrid2050.com/explore-code/s/0593.html#f3
- Synopsis: A JavaScript module in the atlas folder of GridAtlas that works with canonical voltage (`canonicalVoltage`) (units: kV). It normalizes layer text (`normalizeLayerText`) and creates layer catalogue (`createLayerCatalogue`).
- What it achieves (comment): Metadata only: no DOM, network or map ownership.
- What it does: It calculates its inputs. Defines 7 functions or classes, including canonicalVoltage, normalizeLayerText, createLayerCatalogue, cmp, register.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Downstream impact: Used directly by 3 files: Unified Layer Search UI (gridatlas); Unified Catalogue Independent Test (gridatlas); Unified Layer Catalogue Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `export normalizeLayerText(value)`; `export createLayerCatalogue(initial = [])`; `canonicalVoltage(quantity, unit)`; `cmp(a,b)`; `register(entries)`; `remove(id)`; `search(query = '', {page=1,pageSize=100,selectedOnly=false,selectedIds=new Set()} = {})`; `skip(page-1)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 3; mentioned by 0
### Build
- File: gridatlas/tools/pipeline-lifecycle/build.mjs (JavaScript, 44 lines) · role storage · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/pipeline-lifecycle/build.mjs#L1-L44
- Page: https://code.globalgrid2050.com/explore-code/s/0645.html#f3
- Synopsis: A JavaScript module in the pipeline lifecycle folder of GridAtlas that reads generations, using SHA-256. It applies edits (`applyEdits`) and builds substation (`buildSubstation`).
- What it achieves (comment): Successor-only recipe for the inherited Pipeline News map lifecycle.
- What it does: It loads generations. Defines digest, applyEdits, buildSubstation, arg. Uses libraries node:fs, node:path, node:assert/strict, node:crypto, node:url. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file generations.json; command-line arguments.
- Downstream impact: Used directly by 3 files: Map Removal Test (gridatlas); Cut Grid Explorer (gridatlas); Grid Explorer Proof (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `export applyEdits(source, edits)`; `export buildSubstation(generation, root = ROOT)`; `digest(bytes)`; `arg(name)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file generations.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 3; mentioned by 0
### Data Contract Parity Proof
- File: gridatlas/tools/proofs/202609012214-data-contract-parity.proof.mjs (JavaScript, 145 lines) · role ingest · stage ingest
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202609012214-data-contract-parity.proof.mjs#L1-L145
- Page: https://code.globalgrid2050.com/explore-code/s/0647.html#f2
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads connection points from the data-grid-GB repository. It reads JSON (`readJson`) and joins literals (`joinLiterals`).
- What it achieves (comment): Data-contract parity: what a cartridge's bytes fetch is what its manifest entry declares, product for product and schema for schema. It reads `atlas/current.json`.
- What it does: It loads connection points. Defines 7 functions or classes, including read, readJson, check, joinLiterals, productsNamedBy. Uses libraries node:fs, node:path, node:url. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: data source: data-grid-gb data; JSON file connection-points.v3.json; JSON file current.json.
- Downstream impact: Used directly by 3 files: Local CI (gridatlas); Shift (gridatlas); GridAtlas — Release (gridatlas). Reached from 27 other entry points, including GridAtlas Cartridge Proof Workflow (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas); GridAtlas Verify Live Workflow (gridatlas).
- Signatures: `read(rel)`; `readJson(rel)`; `check(name, ok, detail)`; `joinLiterals(source)`; `productsNamedBy(source)`; `schemaFromModule(source, product)`; `declaredBy(entry)`; `compositionSource(current.cartridges || [])`; `twin(manifest.cartridges || [])`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [data source: data-grid-gb data; JSON file connection-points.v3.json; JSON file current.json]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 3; mentioned by 0
### Convergence 2km
- File: gridatlas/tools/satnav/guidance/convergence-2km.mjs (JavaScript, 72 lines) · role transform · stage transform
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/guidance/convergence-2km.mjs#L1-L72
- Page: https://code.globalgrid2050.com/explore-code/s/0674.html#f1
- Synopsis: A JavaScript module in the guidance folder of GridAtlas that classifies direct leg (`classifyDirectLeg`), reconciles navigation layers (`reconcileNavigationLayers`) and prepares asset destination (`prepareAssetDestination`) (units: kV).
- What it achieves (comment): It classifies direct leg (`classifyDirectLeg`), prepares asset destination (`prepareAssetDestination`) and ranks higher voltage (`rankHigherVoltage`). Direct navigation is not a pedestrian route or evidence of access.
- What it does: It calculates its inputs. Defines 7 functions or classes, including classifyDirectLeg, directLegGeometry, reconcileNavigationLayers, prepareAssetDestination, valid.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: Used directly by 3 files: Convergence 2km Test (gridatlas); Ordered Convergence 2km (gridatlas); Direct Convergence 2km (gridatlas). Reached from 3 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); CI PR Gate (gridatlas); Map Promotion Rehearsal (gridatlas).
- Signatures: `export classifyDirectLeg(maths, from, to)`; `export directLegGeometry(maths, from, to)`; `export reconcileNavigationLayers(map, ids)`; `export prepareAssetDestination(maths, fix, at, tracking, quality)`; `export rankHigherVoltage(nodes, origin, distanceKm, minimumKv = 33, limit = 5)`; `valid(p)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 3; mentioned by 1
### Secondary Vicinity
- File: gridatlas/tools/satnav/guidance/secondary-vicinity.mjs (JavaScript, 92 lines) · role ingest · stage ingest
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/guidance/secondary-vicinity.mjs#L1-L92
- Page: https://code.globalgrid2050.com/explore-code/s/0676.html#f1
- Synopsis: A JavaScript module in the guidance folder of GridAtlas that reads the Renewable Energy Planning Database (REPD) register, substations and transformers, using SHA-256.
- What it achieves (comment): It is built from the patch step (`patch`). Only transformation of the two immutable V9.197 Vicinity modules.
- What it does: It loads the REPD register, substations and transformers. Defines patch, buildSecondaryVicinity. Uses libraries node:fs, node:crypto, node:vm. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path 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: the REPD register, substations, transformers.
- Downstream impact: Used directly by 3 files: Convergence 2km Test (gridatlas); Convergence Preview (gridatlas); Owner Test Proof (gridatlas). Reached from 4 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); CI PR Gate (gridatlas); Map Promotion Rehearsal (gridatlas).
- Signatures: `export buildSecondaryVicinity(root=new URL('../../../',import.meta.url))`; `patch(source,edits)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 1 estate file (url-import-meta 1); used by 3; mentioned by 0
### GeoJSON Interchange
- File: gridatlas/tools/satnav/interchange/geojson-interchange.mjs (JavaScript, 65 lines) · role geodesy · stage transform
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/interchange/geojson-interchange.mjs#L1-L65
- Page: https://code.globalgrid2050.com/explore-code/s/0676.html#f2
- Synopsis: A JavaScript module in the SatNav folder of GridAtlas that imports GIS route snapshot (`importGisRouteSnapshot`). It exports geo JSON (`exportGeoJSON`), imports geo JSON (`importGeoJSON`) and imports GIS route snapshot (`importGisRouteSnapshot`).
- What it achieves (comment): SV07: pure, explicit local interchange; no GPS, network or financial mutation.
- What it does: It calculates its inputs. Defines 12 functions or classes, including fail, point, points, same, ring.
- Why it exists in the grid workflow: Domain stage field_execution (path 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: Coordinate systems named: WGS84 / EPSG:4326.
- Downstream impact: Used directly by 3 files: GeoJSON Interchange Test (gridatlas); Layout Import (gridatlas); Layout Import Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `export exportGeoJSON({pins=[],plannedRoute=null,perimeter=null,walkedTrack=[]}={})`; `export importGeoJSON(doc)`; `export importGisRouteSnapshot(snapshot)`; `fail(msg)`; `point(p)`; `points(a, min=0)`; `same(a,b)`; `ring(a)`; `fix(f)`; `track(a)`; `feature(role,type,coordinates,props={})`; `ordered(a)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages []
- Edges: uses 0 estate files; used by 3; mentioned by 0
### GeoJSON
- File: gridatlas/tools/satnav/interchange/geojson.mjs (JavaScript, 72 lines) · role geodesy · stage transform
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/interchange/geojson.mjs#L1-L72
- Page: https://code.globalgrid2050.com/explore-code/s/0676.html#f4
- Synopsis: A JavaScript module in the interchange folder of GridAtlas. It normalises geo JSON (`normaliseGeoJSON`) and exports geo JSON (`exportGeoJSON`).
- What it achieves (comment): Local 2D WGS84 interchange only; no network, legal access, engineering accuracy or route calculation.
- What it does: It calculates its inputs. Defines 7 functions or classes, including normaliseGeoJSON, fail, point, line, feature.
- Why it exists in the grid workflow: Domain stage field_execution (path 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: Coordinate systems named: WGS84 / EPSG:4326.
- Downstream impact: Used directly by 3 files: GeoJSON Test (gridatlas); Interchange (gridatlas); Model (gridatlas). Reached from 4 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); Interchange Test (gridatlas); Layout Import Test (gridatlas).
- Signatures: `export normaliseGeoJSON(input)`; `export fromGisSnapshot(snapshot)`; `export exportGeoJSON(input)`; `fail(message)`; `point(p)`; `line(p,min)`; `feature(f)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages []
- Edges: uses 0 estate files; used by 3; mentioned by 0
### Orient17a V9212 Navigation
- File: gridatlas/tools/satnav/orientation/orient17a-v9212-navigation.mjs (JavaScript, 50 lines) · role transform · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orientation/orient17a-v9212-navigation.mjs#L1-L50
- Page: https://code.globalgrid2050.com/explore-code/s/0680.html#f11
- Synopsis: A JavaScript module in the orientation folder of GridAtlas that creates arrival (`createArrival`) and calculates planar distances and angles.
- What it achieves (comment): It creates arrival (`createArrival`) and is built from the geometry step (`geometry`) and the point step (`point`). ORIENT-17A safe spherical geometry (GridAtlas radius), proximity and reference boundary.
- What it does: It calculates its inputs. Defines 7 functions or classes, including geometry, point, vector, createArrival, reset.
- Why it exists in the grid workflow: Domain stage field_execution (path word 'navigation'): 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 3 files: Orient17a V9212 Ordered (gridatlas); Orient17a V9212 Test (gridatlas); Orient17a V9212 Direct (gridatlas).
- Signatures: `export geometry(fix,target,now=Date.now())`; `export createArrival({radiusM=15,maxGapMs=2500,minSpanMs=2000}={})`; `export relativeGuidance(metrics,heading,now=Date.now())`; `point(p)`; `vector([x,y])`; `reset()`; `observe({fix,metrics,key,now=Date.now(),eligible=true})`; `r((metrics.bearingDeg-heading.degrees+540)%360)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of gridatlas/tools/satnav/orientation/orient17a-navigation.mjs) · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 3; mentioned by 0
### Regional Config
- File: gridatlas/tools/satnav/regional/regional-config.mjs (JavaScript, 3 lines) · role other · stage unknown · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/regional/regional-config.mjs#L1-L3
- Page: https://code.globalgrid2050.com/explore-code/s/0682.html#f7
- Synopsis: A JavaScript module in the SatNav folder of GridAtlas.
- What it achieves (comment): Deployment-owned immutable configuration. Disabled until a controlled same-origin service and verified graph exist.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: Used directly by 3 files: Orient17 Regional Proof (gridatlas); Orient17b Proof (gridatlas); Orient17a Proof (gridatlas).
- 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 3; mentioned by 0
### Regional Interface
- File: gridatlas/tools/secondary/regional-interface.mjs (JavaScript, 108 lines) · role render · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/secondary/regional-interface.mjs#L1-L108
- Page: https://code.globalgrid2050.com/explore-code/s/0690.html#f7
- Synopsis: A JavaScript module in the secondary folder of GridAtlas that reads composition, substations and 11kV, using SHA-256. It replaces once (`replaceOnce`), patches native engine (`patchNativeEngine`) and splits secondary adapter (`splitSecondaryAdapter`).
- What it achieves (comment): Generate replacement native engine plus separate data/card modules. Its code works with 11 kV. It reads `manifests/202612010912-composition.json`.
- What it does: It loads composition, substations and 11kV. Defines 11 functions or classes, including replaceOnce, patchNativeEngine, regionalEligible, handleLayerToggle, splitSecondaryAdapter. Uses libraries node:fs, node:crypto, node:vm, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 11kV.
- Inputs & outputs: In: JSON file 202612010912-composition.json; command-line arguments. Voltage levels named: 11kV.
- Downstream impact: Used directly by 3 files: Owner Test Proof (gridatlas); Regional Interface Test (gridatlas); Regional Preview (gridatlas). Reached from 4 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); CI PR Gate (gridatlas); Map Promotion Rehearsal (gridatlas).
- Signatures: `export patchNativeEngine(s)`; `export splitSecondaryAdapter(s)`; `export assertDataBoundary(source)`; `export readPinnedEngine()`; `export buildRegional()`; `replaceOnce(s, a, b)`; `regionalEligible(layerId)`; `handleLayerToggle(layerId, isVisible)`; `visible()`; `attach()`; `read(p)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file 202612010912-composition.json; command-line arguments]; out []; crs []; voltages [11kV]
- Edges: uses 1 estate file (url-import-meta 1); used by 3; mentioned by 0
### Station Index
- File: gridatlas/tools/train/src/station-index.mjs (JavaScript, 57 lines) · role transform · stage transform
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/train/src/station-index.mjs#L1-L57
- Page: https://code.globalgrid2050.com/explore-code/s/0692.html#f3
- Synopsis: A JavaScript module in the train folder of GridAtlas that works with substations.
- What it achieves (comment): It normalises train stop (`normaliseTrainStop`) and is built from the train coordinate helper (`trainCoordinate`) and the copy step (`copy`). Full source inventory. Display limits never change inventory or itinerary limits.
- What it does: It calculates substations. Defines 6 functions or classes, including trainCoordinate, normaliseTrainStop, buildStationIndex, copy, limitValue.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations. README: "`station-index.mjs` reads the original loaded `src-subs` FeatureCollection."
- Downstream impact: Used directly by 3 files: Itinerary (gridatlas); Place Bridge (gridatlas); Scenario Stations (gridatlas). Reached from 2 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); Route Plan Test (gridatlas).
- Signatures: `export trainCoordinate(at)`; `export normaliseTrainStop(stop)`; `export buildStationIndex(features, {geodesy, datasetPin = null} = {})`; `copy(row)`; `limitValue(limit)`; `result(matches, limit, query = null)`; `search(query, {limit} = {})`; `near(at, {radiusKm, limit} = {})`; `get(stationId)`; `snapshot()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 3; mentioned by 0
### GridAtlas — Twin
- File: gridatlas/tools/twin/lib.mjs (JavaScript, 71 lines) · role ingest · stage ingest
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/twin/lib.mjs#L1-L71
- Page: https://code.globalgrid2050.com/explore-code/s/0693.html#f2
- Synopsis: A JavaScript module in the tools folder that reads sources, using SHA-256. It reads JSON (`readJson`) and is built from the abs step (`abs`) and the exists step (`exists`).
- What it achieves (comment): Shared by the three twin tools. It reads `tools/twin/sources.json`.
- What it does: It loads sources. Defines 15 functions or classes, including abs, exists, sha256, sha256Of, readJson. Uses libraries node:fs, node:os, node:path, node:crypto, node:child_process. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file sources.json; JSON file current.json; command-line arguments.
- Downstream impact: Used directly by 3 files: Keys (gridatlas); Preserve (gridatlas); Replicate Generation (gridatlas). Reached from 4 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); GridAtlas Verify Live Workflow (gridatlas); CI PR Gate (gridatlas).
- Signatures: `export abs(rel)`; `export exists(rel)`; `export sha256(bytes)`; `export sha256Of(file)`; `export readJson(rel)`; `export sources()`; `export liveGeneration()`; `export tmpDir(tag)`; `export arg(flag, fallback = null)`; `export has(flag)`; `export run(argv, opts = {})`; `export keyOf(rel, needle)`; `export composition(gen)`; `export reporter(title)`; `cartridges(pointer.cartridge_order || [])`; `say(state, name, detail = '')`; `finish(extra = '')`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file sources.json; JSON file current.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 3; mentioned by 0
### VEDIC Regional Io
- File: gridatlas/tools/vedic/regional-io.mjs (JavaScript, 95 lines) · role ingest · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vedic/regional-io.mjs#L1-L95
- Page: https://code.globalgrid2050.com/explore-code/s/0696.html#f3
- Synopsis: A JavaScript module in the tools folder of GridAtlas that reads verified shard (`readVerifiedShard`), creates shard session (`createShardSession`) and syncs desired (`syncDesired`), using SHA-256.
- What it achieves (comment): It reads verified shard (`readVerifiedShard`), creates shard session (`createShardSession`) and syncs desired (`syncDesired`). Regional shard transport. No map, DOM, routing provider, or national fallback.
- What it does: It lists and searches its content. Defines 10 functions or classes, including readVerifiedShard, createShardSession, drop, syncDesired, pump.
- Why it exists in the grid workflow: Domain stage agent_infra (path word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief).
- Downstream impact: Used directly by 3 files: VEDIC Snapshot Provider V9214 Test (gridatlas); VEDIC Snapshot Provider (gridatlas); VEDIC Regional Stream Test (gridatlas).
- Signatures: `export readVerifiedShard(entry,{signal,fetcher=globalThis.fetch,subtle=globalThis.crypto?.subtle}={})`; `export createShardSession({maxBytes,maxEntries=64,maxConcurrent=2,fetcher,subtle}={})`; `drop(key)`; `syncDesired()`; `pump()`; `setDesired(entries)`; `borrow(key,fn)`; `idle()`; `snapshot()`; `close()`
- domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 3; mentioned by 0
### Neon Substation Links V9 6
- File: gridatlas/atlas/cartridges/202608311910-neon-substation-links-v9-6.js (JavaScript, 707 lines) · role geodesy · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/cartridges/202608311910-neon-substation-links-v9-6.js#L1-L707
- Page: https://code.globalgrid2050.com/explore-code/s/0369.html#f4
- Synopsis: A JavaScript file in the cartridges folder of GridAtlas that maps grid substations, 33kV, solar and wind, using haversine.
- What it achieves (comment): It loads substations (`loadSubstations`), removes card block (`removeCardBlock`) and stops animation (`stopAnimation`). Slot: replace-script for… Its code works with 33 kV and 11 kV. It responds to keydown and visibilitychange events.
- What it does: It maps grid substations, 33kV, solar and wind. Defines 24 functions or classes, including distanceKm, voltagesKv, representativePoint, loadSubstations, nearestSubstations. Side effects: changes the web page (DOM); makes network requests.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 33kV, solar, wind, 11kV.
- Inputs & outputs: In: GeoJSON file grid_substations.geojson. Out: interactive map. Coordinate systems named: WGS84 / EPSG:4326. Voltage levels named: 33kV, 11kV.
- Downstream impact: Used directly by 2 files: Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Ventus Grid Engine — Genome Page (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/). Reached from 1 other entry point, including Genome Workflow (ventus-grid-engine).
- Signatures: `distanceKm(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `dLon(lon2 - lon1)`; `voltagesKv(properties)`; `representativePoint(geometry)`; `loadSubstations()`; `nearestSubstations(lon, lat, subs)`; `nearestProjects(map, lon, lat)`; `installStyles()`; `escapeHtml(value)`; `caveatHtml()`; `cardBlockHtml(links, direction)`; `injectIntoCard(links, direction)`; `removeCardBlock()`; `emptyCollection()`; `ensureLayers(map)`; `stopAnimation()`; `startAnimation(map)`; `step()`; `clearLinks()`; `drawLinks(map, origin, name, tech, links, direction)`; `interactiveLayerIds(map)`; `install(map)`; `attach(map)`; `boot()` (and 1 more)
- VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km
- VEDIC: VOLTAGE (GG2050-VEDIC-000003): GridAtlas / Geodesy · Computer science / Data normalisation. voltage_properties -> kilovolt_list
- VEDIC: REPRESENT (GG2050-VEDIC-000002): GridAtlas / Geodesy · Computer science / Geometry processing. geojson_geometry -> coordinate_pair_or_null
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [GeoJSON file grid_substations.geojson]; out [interactive map]; crs [WGS84 / EPSG:4326]; voltages [33kV, 11kV]
- Edges: uses 0 estate files; used by 2; mentioned by 0
### Substation Lookup
- File: gridatlas/atlas/modules/202609011950-substation-lookup.js (JavaScript, 82 lines) · role electrical · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609011950-substation-lookup.js#L1-L82
- Page: https://code.globalgrid2050.com/explore-code/s/0395.html#f2
- Synopsis: A JavaScript file in the atlas folder of GridAtlas covering substations. It is built from the normalise step (`normalise`) and the index step (`index`).
- What it achieves (comment): Finding a substation by the name someone wrote, and by position.
- What it does: It lists and searches substations. Defines normalise, index. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 400kV, 275kV, 132kV, 66kV, 33kV.
- Inputs & outputs: Voltage levels named: 400kV, 275kV, 132kV, 66kV, 33kV, 11kV.
- Downstream impact: Used directly by 2 files: Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Ventus Grid Engine — Genome Page (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/). Reached from 1 other entry point, including Genome Workflow (ventus-grid-engine).
- Signatures: `NS(window.__GRIDATLAS_MODULES__ = window.__GRIDATLAS_MODULES__ || {})`; `normalise(name)`; `index(points)`; `minimumKv(options && options.minimumKv)`; `limit(options && options.limit)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages [400kV, 275kV, 132kV, 66kV, 33kV, 11kV]
- Edges: uses 0 estate files; used by 2; mentioned by 0
### Sizing Arithmetic
- File: gridatlas/atlas/modules/202609012205-sizing-arithmetic.js (JavaScript, 573 lines) · role render · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609012205-sizing-arithmetic.js#L1-L573
- Page: https://code.globalgrid2050.com/explore-code/s/0522.html#f2
- Synopsis: A JavaScript module in the atlas folder of GridAtlas that builds stats (`buildStats`) and applies development stage defaults (`applyDevelopmentStageDefaults`) and mounting bifacial (`applyMountingBifacial`) (units: MW, MVA, MWh).
- What it achieves (comment): It builds stats (`buildStats`), applies development stage defaults (`applyDevelopmentStageDefaults`) and applies mounting bifacial (`applyMountingBifacial`). The screening arithmetic of the single-line diagram (SLD) sandbox: physical inputs to array statistics, the three named ratios (design, export, headroom), the string and central topologies with their corrected nameplates, the finance port of `gis-sld-v5-finance.js`. Its code works with 4.4 MVA, 352 kVA and 44.8 MW.
- What it does: Defines 12 functions or classes, including physicalInputs, buildStats, consistency, stringStats, centralStats. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers, cables.
- Downstream impact: Used directly by 2 files: Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Ventus Grid Engine — Genome Page (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/). Reached from 1 other entry point, including Genome Workflow (ventus-grid-engine).
- Signatures: `physicalInputs(inputs)`; `buildStats(inputs, o)`; `dcMwp(o.module_count * p.mod_wp)`; `consistency(inputs, stats)`; `stringStats(inputs)`; `inverterAcMaxMva(i.y_invs * i.string_inv_kva)`; `centralStats(inputs)`; `strDcKwp(i.x_mods_c * i.mod_wp_c)`; `financeNumber(value)`; `applyDevelopmentStageDefaults(financeInputs, stageValue)`; `applyMountingBifacial(financeByMode, mode, gcrValue)`; `values(financeByMode || {})`; `screeningFinance(financeInputs, stats, context)`; `centralInverterAc(stats?.mode || (context && context.fallbackMode))`; `computeStats(inputs, financeByMode, defaults)`; `fitToStatedCapacity(sld, computeSldStats)`; `oneMore(() => { sld.inputs[outerKey] = best.outer + 1; const s = computeSldStats(); sld.inputs[outerKey] = best.outer; const ...)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 2; mentioned by 0
### Network Topology
- File: gridatlas/atlas/modules/202609012245-network-topology.js (JavaScript, 384 lines) · role render · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609012245-network-topology.js#L1-L384
- Page: https://code.globalgrid2050.com/explore-code/s/0396.html#f1
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that works with physical units (`physicalUnits`) (units: kV, MVA), covering transformers, 132kV and 400kV.
- What it achieves (comment): It is built from the voltage of helper (`voltageOf`), the band key helper (`bandKey`) and the ratings of helper (`ratingsOf`). What the network operator publishes about ONE site: its nodes, the circuits that land on them, the transformers between them, the changes it has published for future years, and which other sites those circuits reach. Its code works with 100 MVA, 132 kV and 400 kV.
- What it does: It lists and searches transformers, 132kV and 400kV. Defines 11 functions or classes, including voltageOf, bandKey, ratingsOf, physicalUnits, parametersOf. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'topology'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: transformers, 132kV, 400kV.
- Inputs & outputs: Voltage levels named: 400kV, 132kV.
- Downstream impact: Used directly by 2 files: Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Ventus Grid Engine — Genome Page (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/). Reached from 1 other entry point, including Genome Workflow (ventus-grid-engine).
- Signatures: `NS(window.__GRIDATLAS_MODULES__ = window.__GRIDATLAS_MODULES__ || {})`; `voltageOf(node)`; `bandKey(kv)`; `ratingsOf(row)`; `physicalUnits(records)`; `parametersOf(row)`; `index(product)`; `land(nodeName, entry)`; `siteOf(nodeName)`; `graph()`; `resolve(key)`; `at(key, options)`
- domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages [400kV, 132kV]
- Edges: uses 0 estate files; used by 2; mentioned by 0
### Rating Envelope
- File: gridatlas/atlas/modules/202609012250-rating-envelope.js (JavaScript, 213 lines) · role electrical · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609012250-rating-envelope.js#L1-L213
- Page: https://code.globalgrid2050.com/explore-code/s/0524.html#f1
- Synopsis: A JavaScript file in the atlas folder of GridAtlas covering 400kV. It is built from the seasons of helper (`seasonsOf`) and the flags for helper (`flagsFor`).
- What it achieves (comment): What the operator publishes a circuit can carry, season by season - and a structural refusal to add those numbers up. Its code works with 400 kV and 132 kV.
- What it does: It lists and searches 400kV. Defines seasonsOf, flagsFor, at. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV, 132kV.
- Inputs & outputs: Voltage levels named: 400kV, 132kV.
- Downstream impact: Used directly by 2 files: Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Ventus Grid Engine — Genome Page (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/). Reached from 1 other entry point, including Genome Workflow (ventus-grid-engine).
- Signatures: `seasonsOf(row)`; `flagsFor(published)`; `at(index, key, options)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages [400kV, 132kV]
- Edges: uses 0 estate files; used by 2; mentioned by 0
### Corridor Estimate
- File: gridatlas/atlas/modules/202609030205-corridor-estimate.js (JavaScript, 114 lines) · role render · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609030205-corridor-estimate.js#L1-L114
- Page: https://code.globalgrid2050.com/explore-code/s/0528.html#f1
- Synopsis: A JavaScript file in the atlas folder of GridAtlas covering cables and overhead lines (OHL). It is built from the for cable helper (`forCable`).
- What it achieves (comment): Corridor-estimate - a straight line is not a route, and this says how far off.
- What it does: Defines forCable. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage hv_procurement (path word 'estimate'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, overhead lines (OHL).
- Downstream impact: Used directly by 2 files: Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Ventus Grid Engine — Genome Page (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/). Reached from 1 other entry point, including Genome Workflow (ventus-grid-engine).
- Signatures: `forCable(km)`; `NS(window.__GRIDATLAS_MODULES__ = window.__GRIDATLAS_MODULES__ || {})`
- domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 2; mentioned by 0
### UKPN Secondary Substations
- File: gridatlas/atlas/modules/202612010912-ukpn-secondary-substations.js (JavaScript, 282 lines) · role energy-data · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202612010912-ukpn-secondary-substations.js#L1-L282
- Page: https://code.globalgrid2050.com/explore-code/s/0410.html#f1
- Synopsis: A JavaScript file in the atlas folder of GridAtlas covering grid UKPN secondary, using SHA-256 and uses data from UK Power Networks open data and the data-grid-GB repository.
- What it achieves (comment): It registers pinned (`registerPinned`) and binds map (`bindMap`). Native `ukConfig` extension, pinned UKPN transformer archive. Its code works with 11 kV and 400 kV. It responds to change events.
- What it does: It draws grid UKPN secondary, UKPN transformers, 11kV and substations. Defines 21 functions or classes, including sharedDatabase, registerPinned, detailsFor, scalar, normalize. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 11kV, substations, 400kV.
- Inputs & outputs: In: data source: data-grid-gb data; data source: UK Power Networks open data; Parquet file grid_ukpn_secondary.parquet; Parquet file ukpn_transformers.parquet; DuckDB queries. Voltage levels named: 400kV, 11kV.
- Downstream impact: Used directly by 2 files: Build (gridatlas); Regional Interface Test (gridatlas). Reached from 3 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); CI PR Gate (gridatlas); Map Promotion Rehearsal (gridatlas).
- Signatures: `sharedDatabase()`; `registerPinned(database,name)`; `detailsFor(site)`; `scalar(v)`; `normalize(raw)`; `unpack(bytes)`; `extend(options)`; `installZoomGate()`; `controls(id)`; `main()`; `eligible()`; `note(input,message)`; `sync()`; `augmentPopup()`; `line(label,value)`; `current()`; `add(label,value)`; `bindMap()`; `attach()`; `load()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [data source: data-grid-gb data; data source: UK Power Networks open data; Parquet file grid_ukpn_secondary.parquet; Parquet file ukpn_transformers.parquet; DuckDB queries]; out []; crs []; voltages [400kV, 11kV]
- Edges: uses 0 estate files; used by 2; mentioned by 1
### Ventus Corev8engine Exact Renewable Energy Planning Database (REPD) Delegation
- File: gridatlas/atlas/parts/202609040229-ventus-corev8engine-exact-repd-delegation.js (JavaScript, 1497 lines) · role geodesy · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/parts/202609040229-ventus-corev8engine-exact-repd-delegation.js#L1-L1497
- Page: https://code.globalgrid2050.com/explore-code/s/0597.html#f2
- Synopsis: A JavaScript file in the parts folder of GridAtlas that maps elizabeth line, london underground, UK metros trams and HS2, using haversine.
- What it achieves (code): It normalizes status (`normalizeStatus`), toggles zone draw mode (`toggleZoneDrawMode`) and opens popup (`openPopup`). Its `snapLines` function gives line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged from line features and substation point features (VEDIC: snap line ends to substations). It responds to fullscreenchange, webkitfullscreenchange and click events.
- What it does: It maps elizabeth line, london underground, UK metros trams and hs2. Defines 64 functions or classes, including deepFreeze, escapeHTML, normalizeStatus, fmt, haversine. Side effects: changes the web page (DOM); makes network requests.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson; JSON file style.json; GeoJSON file grid_400kv.geojson; form fields (user input). Out: interactive map.
- Downstream impact: Used directly by 2 files: Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Ventus Grid Engine — Genome Page (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/). Reached from 1 other entry point, including Genome Workflow (ventus-grid-engine).
- Signatures: `deepFreeze(obj)`; `escapeHTML(value)`; `normalizeStatus(status)`; `fmt(n, decimals)`; `haversine(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `_zoneDrawGetRadius()`; `_zoneDrawCirclePoints(lon, lat, radiusKm, n)`; `b(i / n)`; `_zoneDrawCalcArea(pts)`; `j(i + 1)`; `_zoneDrawUpdateLayers(dragOnly)`; `_zoneDrawShowPopup()`; `_zoneDrawShowPopupDebounced()`; `_zoneDrawClear()`; `zoneDrawUndo()`; `toggleZoneDrawMode()`; `_zoneDrawNearVertex(px)`; `_zoneDrawNearEdgeDot(px)`; `_zoneDrawOnClick(e)`; `mpp(km * 2000)`; `_zoneDrawOnMouseDown(e)`; `_zoneDrawOnMouseMove(e)`; `_zoneDrawOnMouseUp()`; `openPopup(lngLat, html, maxWidth)` (and 15 more)
- VEDIC: SNAP LINE ENDS TO SUBSTATIONS (GG2050-VEDIC-000106): GridAtlas / Substations · Geospatial data processing. line_features, substation_point_features -> Line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson; JSON file style.json; GeoJSON file grid_400kv.geojson; form fields (user input)]; out [interactive map]; crs []; voltages []
- Edges: uses 0 estate files; used by 2; mentioned by 0
### Single-Line Diagram (SLD) Sandbox Technology Buckets
- File: gridatlas/atlas/parts/202609041234-sld-sandbox-technology-buckets.js (JavaScript, 5885 lines) · role geodesy · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/parts/202609041234-sld-sandbox-technology-buckets.js#L1-L5885
- Page: https://code.globalgrid2050.com/explore-code/s/0436.html#f2
- Synopsis: A JavaScript file in the parts folder of GridAtlas that maps grid substations, solar, wind and transformers, using haversine.
- What it achieves (comment): It resolves declared connection (`resolveDeclaredConnection`), opens corridor sheet (`openCorridorSheet`) and runs grid point (`runGridAtPoint`). GridAtlas cartridge — neon substation links and the SLD layout sandbox. Its code works with 400 kV, 33 kV and 132 kV. It responds to click, keydown and touchstart events.
- What it does: It maps grid substations, solar, wind and transformers. Defines 191 functions or classes, including coverage, isProjectTech, layerIdForBucket, provisionalDeclaredConnection, resolveDeclaredConnection. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar, wind, transformers, 750kV, 415kV, 400kV.
- Inputs & outputs: In: GeoJSON file grid_substations.geojson; browser storage (getItem); DuckDB queries; form fields (user input). Out: browser storage (setItem); interactive map. Coordinate systems named: WGS84 / EPSG:4326. Voltage levels named: 750kV, 415kV, 400kV, 275kV, 220kV, 132kV, 66kV, 33kV.
- Downstream impact: Used directly by 2 files: Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Ventus Grid Engine — Genome Page (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/). Reached from 1 other entry point, including Genome Workflow (ventus-grid-engine).
- Signatures: `SLD_STYLES(window.__GRIDATLAS_MODULES__ || {})`; `GEODESY(window.__GRIDATLAS_MODULES__ || {})`; `isProjectTech(tech)`; `layerIdForBucket(tech)`; `DECLARED(window.__GRIDATLAS_MODULES__ || {})`; `provisionalDeclaredConnection(repdRef)`; `resolveDeclaredConnection(repdRef, origin, subs)`; `nearestTransmission(origin, subs)`; `corridorBeside(km)`; `module(() => { try { return window.__GRIDATLAS_MODULES__?.corridorEstimate || null; } catch (_) { return null; } })`; `corridorTargets()`; `corridorAction()`; `installCorridorSheet()`; `close()`; `openCorridorSheet(sheet)`; `armCorridorGestures(map)`; `canvas(() => { try { return map.getCanvas ? map.getCanvas() : null; } catch (_) { return null; } })`; `cancel()`; `nearestScope(n)`; `network(() => { try { return window.__GRIDATLAS_NETWORK__?.coverage?.(400) || null; } catch (_) { return null; } })`; `declaredBlockHtml(toSubstations)`; `published(() => { try { return window.__GRIDATLAS_NETWORK__?.summarise?.( networkName, { connectionKv, units: publishedUnits })...)`; `PINS(window.__GRIDATLAS_MODULES__ || {})`; `coarse(() => { try { return !!(window.matchMedia && window.matchMedia('(pointer: coarse)').matches); } catch (_) { return fa...)`; `reflect()` (and 15 more)
- VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km
- VEDIC: VOLTAGE (GG2050-VEDIC-000003): GridAtlas / Geodesy · Computer science / Data normalisation. voltage_properties -> kilovolt_list
- VEDIC: REPRESENT (GG2050-VEDIC-000002): GridAtlas / Geodesy · Computer science / Geometry processing. geojson_geometry -> coordinate_pair_or_null
- domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [GeoJSON file grid_substations.geojson; browser storage (getItem); DuckDB queries; form fields (user input)]; out [browser storage (setItem); interactive map]; crs [WGS84 / EPSG:4326]; voltages [750kV, 415kV, 400kV, 275kV, 220kV, 132kV, 66kV, 33kV]
- Edges: uses 0 estate files; used by 2; mentioned by 0
### Renewable Energy Planning Database (REPD) Address Flyto
- File: gridatlas/atlas/releases/202608291237-atlas-v9/cartridges/202608290716-repd-address-flyto.mjs (JavaScript, 113 lines) · role energy-data · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/releases/202608291237-atlas-v9/cartridges/202608290716-repd-address-flyto.mjs#L1-L113
- Page: https://code.globalgrid2050.com/explore-code/s/0603.html#f4
- Synopsis: A JavaScript module in the cartridges folder of GridAtlas that normalizes search (`normalizeSearchText`), parses atlas query (`parseAtlasQuery`) and scores record (`scoreRecord`) (units: MW), covering the REPD register and postcodes.
- What it achieves (name): It normalizes search text (`normalizeSearchText`), parses atlas query (`parseAtlasQuery`) and scores record (`scoreRecord`). Defines `normalizeSearchText`, `parseAtlasQuery`, `searchable` and 5 more. It responds to click and keydown events.
- What it does: It draws the REPD register and postcodes. Defines 8 functions or classes, including normalizeSearchText, parseAtlasQuery, searchable, scoreRecord, rankRepdProjects. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, postcodes.
- Downstream impact: Used directly by 2 files: Atlas V9 (gridatlas); UI Atlas V9 (gridatlas, https://gridatlas.globalgrid2050.com/ui/site/).
- Signatures: `export normalizeSearchText(value)`; `export parseAtlasQuery(raw)`; `export rankRepdProjects(records, rawQuery, limit = 20)`; `export mountRepdAddressFlyTo({ map, records, root, onSelected = () => {} })`; `searchable(record)`; `scoreRecord(record, parsed)`; `text(tag, value, className)`; `run()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 2; mentioned by 1
### Data GridAtlas Client
- File: gridatlas/atlas/releases/202608291430-atlas-v9/assets/data-gridatlas-client.mjs (JavaScript, 300 lines) · role storage · stage ingest · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/releases/202608291430-atlas-v9/assets/data-gridatlas-client.mjs#L1-L300
- Page: https://code.globalgrid2050.com/explore-code/s/0605.html#f1
- Synopsis: A JavaScript module in the assets folder that fetches membership and the Renewable Energy Planning Database (REPD) register, using SHA-256.
- What it achieves (name): It normalises base URL (`normaliseBaseUrl`), validates release manifest (`validateReleaseManifest`) and fetches verified JSON (`fetchVerifiedJson`). Defines `invariant`, `hasPlaceholder`, `normaliseBaseUrl` and 21 more.
- What it does: It fetches membership and the REPD register. Defines 24 functions or classes, including invariant, hasPlaceholder, normaliseBaseUrl, validateReleaseManifest, sha256Hex. Side effects: makes network requests; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register.
- Inputs & outputs: In: JSON file release.json; JSON file browser-layer-registry.json; Parquet file layer_membership.parquet; JSON file release-manifest.json; DuckDB queries. Coordinate systems named: WGS84 / EPSG:4326.
- Downstream impact: Used directly by 2 files: Atlas V9 (gridatlas); Renewable Energy Planning Database (REPD) Routing Client (gridatlas).
- Signatures: `export validateReleaseManifest(manifest, { sealed = true } = {})`; `export fetchVerifiedJson(url, expectedSha256, expectedBytes = null)`; `export validateDataClosure(release, dataRelease, registry)`; `export normaliseBounds(bounds)`; `export buildLayerQuery(release, layer, bounds)`; `export rowsToGeoJSON(rows, layer)`; `export loadReleaseContract(manifestUrl = "./release-manifest.json")`; `export loadDataCatalog(release)`; `export createGridAtlasDataClient(release, { onStatus = () => {} } = {})`; `invariant(condition, message)`; `hasPlaceholder(value)`; `normaliseBaseUrl(value)`; `sha256Hex(bytes)`; `dataUrl(release, path)`; `payloadUrl(release, path)`; `flattenLayers(registry)`; `sqlLiteral(value)`; `finiteBound(value, name)`; `plainArrowRow(row)`; `instantiateDuckDb(release, onStatus)`; `runtime()`; `queryLayer(layer, bounds)`; `task()`; `close()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file release.json; JSON file browser-layer-registry.json; Parquet file layer_membership.parquet; JSON file release-manifest.json; DuckDB queries]; out []; crs [WGS84 / EPSG:4326]; voltages []
- Edges: uses 0 estate files; used by 2; mentioned by 0
### Minidom
- File: gridatlas/tools/ci/lightning/minidom.mjs (JavaScript, 84 lines) · role automation · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/ci/lightning/minidom.mjs#L1-L84
- Page: https://code.globalgrid2050.com/explore-code/s/0624.html#f3
- Synopsis: A JavaScript module in the lightning folder of GridAtlas that makes document (`makeDocument`). It matches one (`matchOne`) and makes document (`makeDocument`).
- What it achieves (comment): Just enough DOM for the lightning overlay under node:vm (harness: self-fixture, SYNTHETIC shell).
- What it does: It lists and searches its content. Defines 8 functions or classes, including kebab, Text, El, matchOne, matches. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Downstream impact: Used directly by 2 files: Overlay Engine Test (gridatlas); Overlay Offtakers Test (gridatlas).
- Signatures: `export class Text`; `export class El`; `export dispatch(target, type, errors)`; `export makeDocument()`; `kebab(k)`; `constructor(tag, doc)`; `setAttribute(a, v)`; `hasAttribute(a)`; `appendChild(n)`; `insertBefore(n, ref)`; `removeChild(n)`; `remove()`; `contains(n)`; `closest(sel)`; `querySelectorAll(sel)`; `querySelector(sel)`; `addEventListener(t, f)`; `getBoundingClientRect()`; `matchOne(e, s)`; `matches(e, sel)`; `parse(html, root, doc)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 2; mentioned by 0
### GridAtlas — Journey
- File: gridatlas/tools/journey/module.mjs (JavaScript, 40 lines) · role ingest · stage ingest
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/journey/module.mjs#L1-L40
- Page: https://code.globalgrid2050.com/explore-code/s/0631.html#f8
- Synopsis: A JavaScript module in the tools folder that reads vendor pin, reviewed pair and synthetic branch, using SHA-256.
- What it achieves (comment): It is built from the read step (`read`), the hash step (`hash`) and the assemble module helper (`assembleModule`). Deterministic, pinned-source preview assembly. Never modifies a live pointer. It reads `tools/journey/vendor-pin.json`.
- What it does: It loads vendor pin, reviewed pair and synthetic branch. Defines read, hash, assembleModule. Uses libraries node:fs, node:path, node:url, node:crypto, node:assert/strict. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file vendor-pin.json; JSON file reviewed-pair.v1.json; JSON file synthetic-branch.v1.json.
- Downstream impact: Used directly by 2 files: Build Module (gridatlas); Build (gridatlas). Reached from 12 other entry points, including GridAtlas Cartridge Proof Workflow (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas); Browser Test (gridatlas).
- Signatures: `export assembleModule({generation = G} = {})`; `read(p)`; `hash(b)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file vendor-pin.json; JSON file reviewed-pair.v1.json; JSON file synthetic-branch.v1.json]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 2; mentioned by 0
### Parts Integrity Proof
- File: gridatlas/tools/proofs/202609012105-parts-integrity.proof.mjs (JavaScript, 124 lines) · role ingest · stage ingest · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202609012105-parts-integrity.proof.mjs#L1-L124
- Page: https://code.globalgrid2050.com/explore-code/s/0646.html#f2
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that uses SHA-256. It is built from the check step (`check`) and the sha256 step (`sha256`).
- What it achieves (comment): Proof: an assembled cartridge still matches the parts it was built from.
- What it does: It loads data. Defines check, sha256. Uses libraries node:fs/promises, node:fs, node:crypto, node:path, node:url. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file -parts.json; JSON file current.json.
- Downstream impact: Used directly by 2 files: Local CI (gridatlas); Shift (gridatlas).
- Signatures: `check(label, condition, detail)`; `sha256(text)`; `entries(await readdir(MANIFESTS))`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file -parts.json; JSON file current.json]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 2; mentioned by 0
### All Versions Proof
- File: gridatlas/tools/proofs/202609012150-all-versions.proof.mjs (JavaScript, 462 lines) · role interaction · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202609012150-all-versions.proof.mjs#L1-L462
- Page: https://code.globalgrid2050.com/explore-code/s/0646.html#f3
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads composition, solar and 750kV, using haversine.
- What it achieves (comment): It makes element (`makeElement`) and is built from the check step (`check`) and the sandbox step (`sandbox`). Built vs all previous versions. Its code works with 750 kV and 415 kV.
- What it does: It loads composition, solar and 750kV. Defines 8 functions or classes, including check, sandbox, makeElement, MutationObserverStub, cartridgeContext. Uses libraries node:fs/promises, node:path, node:url, node:vm. Side effects: changes the web page (DOM); reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, 750kV, 415kV, 415V.
- Inputs & outputs: In: JSON file current.json; JSON file -composition.json. Coordinate systems named: WGS84 / EPSG:4326. Voltage levels named: 750kV, 415kV, 415V.
- Downstream impact: Used directly by 2 files: Local CI (gridatlas); Shift (gridatlas).
- Signatures: `check(label, condition, detail)`; `sandbox()`; `makeElement(tag)`; `appendChild()`; `removeEventListener()`; `class MutationObserverStub`; `cartridgeContext()`; `addEventListener()`; `getStyle()`; `getContainer()`; `walk(directory)`; `withoutComments(text)`; `currentSandboxFile(() => { const entry = (CURRENT_COMPOSITION.cartridges || []).find(c => c.id === 'sld-sandbox'); return entry ? String...)`; `entry(CURRENT_COMPOSITION.cartridges || [])`; `SURFACES(await readdir(join(ATLAS, 'cartridges')))`; `compositions(await readdir(join(ATLAS, 'manifests')))`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file current.json; JSON file -composition.json]; out []; crs [WGS84 / EPSG:4326]; voltages [750kV, 415kV, 415V]
- Edges: uses 1 estate file (estate-url 1); used by 2; mentioned by 0
### GridAtlas Recompose
- File: gridatlas/tools/recompose.mjs (JavaScript, 484 lines) · role storage · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/recompose.mjs#L1-L484
- Page: https://code.globalgrid2050.com/explore-code/s/0665.html#f1
- Synopsis: A JavaScript module in the tools folder that uses SHA-256. It reads JSON (`readJson`) and writes JSON (`writeJson`).
- What it achieves (comment): Cut a new composition generation.
- What it does: It loads data. Defines 9 functions or classes, including argv, utcNow, die, scoped, minute. Uses libraries node:fs, node:path, node:child_process, node:crypto, node:url. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json; JSON file live-set.json; JSON file current-v5.json; command-line arguments.
- Downstream impact: Used directly by 2 files: Shift (gridatlas); GridAtlas Rollback (gridatlas). Reached from 28 other entry points, including GridAtlas Cartridge Proof Workflow (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas); GridAtlas Rollback Composition Workflow (gridatlas).
- Signatures: `argv(flag, { many = false } = {})`; `utcNow()`; `die(message)`; `scoped(flag)`; `minute(s)`; `sha256(text)`; `readJson(file)`; `writeJson(file, value)`; `cartridge(current.cartridges || [])`; `forThis(edit)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json; JSON file live-set.json; JSON file current-v5.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 2; mentioned by 0
### Ordered Convergence 2km
- File: gridatlas/tools/satnav/guidance/ordered-convergence-2km.mjs (JavaScript, 125 lines) · role render · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/guidance/ordered-convergence-2km.mjs#L1-L125
- Page: https://code.globalgrid2050.com/explore-code/s/0674.html#f5
- Synopsis: A JavaScript module in the guidance folder of GridAtlas that creates waypoint guidance (`createWaypointGuidance`), selects leg (`selectLeg`) and sets route (`setRoute`).
- What it achieves (code): It copies pin (`copyPin`), creates waypoint guidance (`createWaypointGuidance`) and selects leg (`selectLeg`). Its `createWaypointGuidance` function gives guidance state with next target, distance, bearing, remaining distance and bounded deviation information from Geographical maths and compass modules, uniquely identified WGS84 pins, timestamped GPS fixes (VEDIC: follow waypoints).
- What it does: Defines 9 functions or classes, including copyPin, createWaypointGuidance, selectLeg, setRoute, snapshot.
- Why it exists in the grid workflow: Domain stage field_execution (path 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: Coordinate systems named: WGS84 / EPSG:4326.
- Downstream impact: Used directly by 2 files: Convergence 2km Test (gridatlas); Direct Convergence 2km (gridatlas). Reached from 3 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); CI PR Gate (gridatlas); Map Promotion Rehearsal (gridatlas).
- Signatures: `export createWaypointGuidance(maths, compass)`; `copyPin(pin, ids)`; `selectLeg()`; `setRoute(pins)`; `snapshot(status, quality)`; `locate(fix, now = Date.now())`; `bearingToNext()`; `unsupported()`; `limitReceipt()`
- VEDIC: FOLLOW WAYPOINTS (GG2050-VEDIC-000097): SatNav · Location and navigation data. Geographical maths and compass modules, uniquely identified WGS84 pins, timestamped GPS fixes -> Guidance state with next target, distance, bearing, remaining distance and bounded deviation information.
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages []
- Edges: uses 2 estate files (import 2); used by 2; mentioned by 1
### Ordered Convergence Unlimited
- File: gridatlas/tools/satnav/guidance/ordered-convergence-unlimited.mjs (JavaScript, 115 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/guidance/ordered-convergence-unlimited.mjs#L1-L115
- Page: https://code.globalgrid2050.com/explore-code/s/0674.html#f6
- Synopsis: A JavaScript module in the guidance folder of GridAtlas that creates waypoint guidance (`createWaypointGuidance`), selects leg (`selectLeg`) and sets route (`setRoute`).
- What it achieves (code): It copies pin (`copyPin`), creates waypoint guidance (`createWaypointGuidance`) and selects leg (`selectLeg`). Its `createWaypointGuidance` function gives guidance state with next target, distance, bearing, remaining distance and bounded deviation information from Geographical maths and compass modules, uniquely identified WGS84 pins, timestamped GPS fixes (VEDIC: follow waypoints).
- What it does: Defines 7 functions or classes, including copyPin, createWaypointGuidance, selectLeg, setRoute, snapshot.
- Why it exists in the grid workflow: Domain stage field_execution (path 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: Coordinate systems named: WGS84 / EPSG:4326.
- Downstream impact: Used directly by 2 files: Distance Dock Proof (gridatlas); Direct Convergence Unlimited (gridatlas).
- Signatures: `export createWaypointGuidance(maths, compass)`; `copyPin(pin, ids)`; `selectLeg()`; `setRoute(pins)`; `snapshot(status, quality)`; `locate(fix, now = Date.now())`; `bearingToNext()`
- VEDIC: FOLLOW WAYPOINTS (GG2050-VEDIC-000097): SatNav · Location and navigation data. Geographical maths and compass modules, uniquely identified WGS84 pins, timestamped GPS fixes -> Guidance state with next target, distance, bearing, remaining distance and bounded deviation information.
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of gridatlas/tools/satnav/guidance/ordered.mjs) · essay_status: readme_derived
- data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages []
- Edges: uses 2 estate files (import 2); used by 2; mentioned by 0
### Ordered
- File: gridatlas/tools/satnav/guidance/ordered.mjs (JavaScript, 116 lines) · role render · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/guidance/ordered.mjs#L1-L116
- Page: https://code.globalgrid2050.com/explore-code/s/0675.html#f1
- Synopsis: A JavaScript module in the guidance folder of GridAtlas that creates waypoint guidance (`createWaypointGuidance`), selects leg (`selectLeg`) and sets route (`setRoute`).
- What it achieves (code): It copies pin (`copyPin`), creates waypoint guidance (`createWaypointGuidance`) and selects leg (`selectLeg`). Its `createWaypointGuidance` function gives guidance state with next target, distance, bearing, remaining distance and bounded deviation information from Geographical maths and compass modules, uniquely identified WGS84 pins, timestamped GPS fixes (VEDIC: follow waypoints).
- What it does: Defines 7 functions or classes, including copyPin, createWaypointGuidance, selectLeg, setRoute, snapshot.
- Why it exists in the grid workflow: Domain stage field_execution (path 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: Coordinate systems named: WGS84 / EPSG:4326.
- Downstream impact: Used directly by 2 files: Ordered Test (gridatlas); Direct (gridatlas). Reached from 2 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); Direct Test (gridatlas).
- Signatures: `export createWaypointGuidance(maths, compass)`; `copyPin(pin, ids)`; `selectLeg()`; `setRoute(pins)`; `snapshot(status, quality)`; `locate(fix, now = Date.now())`; `bearingToNext()`
- VEDIC: FOLLOW WAYPOINTS (GG2050-VEDIC-000097): SatNav · Location and navigation data. Geographical maths and compass modules, uniquely identified WGS84 pins, timestamped GPS fixes -> Guidance state with next target, distance, bearing, remaining distance and bounded deviation information.
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages []
- Edges: uses 1 estate file (import 1); used by 2; mentioned by 0
### Orient16 Recovery Safe
- File: gridatlas/tools/satnav/line/orient16-recovery-safe.mjs (JavaScript, 120 lines) · role transform · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/line/orient16-recovery-safe.mjs#L1-L120
- Page: https://code.globalgrid2050.com/explore-code/s/0677.html#f5
- Synopsis: A JavaScript module in the line folder of GridAtlas that sets journey (`setJourney`). It creates recovery (`createRecovery`) and sets journey (`setJourney`).
- What it achieves (name): Defines `point`, `finite`, `createRecovery` and 20 more.
- What it does: It calculates its inputs. Defines 23 functions or classes, including point, finite, createRecovery, now, policy.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: Used directly by 2 files: Orient16 Recovery Safe Test (gridatlas); Valhalla Provider Test (gridatlas).
- Signatures: `export createRecovery({maths,provider=null,clock=Date.now,timeoutMs=8000,cooldownMs=10000,maxAttempts=3})`; `point(p)`; `finite(n)`; `now()`; `policy()`; `usable(f,t)`; `clearOutput()`; `cancel()`; `clearRoute()`; `invalidate(next)`; `snapshot()`; `setJourney({mode:m,target:t,objective:o='shortest'})`; `start()`; `stop()`; `pause()`; `resume()`; `network(value)`; `requestRoute(t)`; `current()`; `close(a,b)`; `evaluate(f,t)`; `dt(f.timestampMs-progress.time)`; `tick()`; `ingest(f)`
- 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 1 estate file (import 1); used by 2; mentioned by 0
### Mapped Footpaths
- File: gridatlas/tools/satnav/pedestrian/mapped-footpaths.mjs (JavaScript, 155 lines) · role ingest · stage transform
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/pedestrian/mapped-footpaths.mjs#L1-L155
- Page: https://code.globalgrid2050.com/explore-code/s/0682.html#f1
- Synopsis: A JavaScript module in the pedestrian folder of GridAtlas that reads sections (`readSections`) and creates bristol footpath router (`createBristolFootpathRouter`). It reads sections (`readSections`) and creates bristol footpath router (`createBristolFootpathRouter`).
- What it achieves (comment): The Bristol extract has section IDs and shapes but no cross-path junction IDs.
- What it does: It lists and searches its content. Defines 8 functions or classes, including same, valid, unavailable, readSections, consecutive.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: Used directly by 2 files: Bristol (gridatlas); Mapped Footpaths Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `export createBristolFootpathRouter(collection, maths)`; `same(a, b)`; `valid(p)`; `unavailable(reason)`; `readSections(collection)`; `consecutive(a, b)`; `chainsFor(routes, maths)`; `locate(point, chains, maths)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 2; mentioned by 1
### Perimeter
- File: gridatlas/tools/satnav/perimeter/perimeter.mjs (JavaScript, 50 lines) · role transform · stage transform
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/perimeter/perimeter.mjs#L1-L50
- Page: https://code.globalgrid2050.com/explore-code/s/0682.html#f3
- Synopsis: A JavaScript module in the SatNav folder of GridAtlas. It is built from the fail step (`fail`), the valid step (`valid`) and the same step (`same`).
- What it achieves (comment): SV05: Pure local field-perimeter adapter; no GPS, routing or access authority. blob .
- What it does: It calculates its inputs. Defines 8 functions or classes, including buildPerimeter, fail, valid, same, cross.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: Used directly by 2 files: Perimeter Test (gridatlas); Model (gridatlas). Reached from 2 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); Model Test (gridatlas).
- Signatures: `export buildPerimeter(vertices, maths)`; `fail(code)`; `valid(p)`; `same(a,b)`; `cross(a,b,c)`; `on(a,b,c)`; `hit(a,b,c,d)`; `closed()`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 2; mentioned by 0
### VEDIC Snapshot Provider
- File: gridatlas/tools/satnav/regional/vedic-snapshot-provider.mjs (JavaScript, 50 lines) · role transform · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/regional/vedic-snapshot-provider.mjs#L1-L50
- Page: https://code.globalgrid2050.com/explore-code/s/0682.html#f13
- Synopsis: A JavaScript module in the regional folder of GridAtlas covering topology, using SHA-256 and uses data from the neural-link-between-agents repository. It selects node (`selectNode`) and creates snapshot provider (`createSnapshotProvider`).
- What it achieves (comment): Explicit, bounded OSM pilot only. No GPS data leaves the browser.
- What it does: It calculates topology. Defines inside, point, selectNode, createSnapshotProvider, fail.
- Why it exists in the grid workflow: Domain stage agent_infra (path word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief).
- Inputs & outputs: In: JSON file topology.json.
- Downstream impact: Used directly by 2 files: VEDIC Snapshot Provider V9214 Test (gridatlas); VEDIC Snapshot Provider Test (gridatlas).
- Signatures: `export selectNode(graph,at,maths)`; `export createSnapshotProvider({maths,fetcher=globalThis.fetch,subtle=globalThis.crypto?.subtle}={})`; `inside(p)`; `point(n)`; `fail(reason)`
- domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file topology.json]; out []; crs []; voltages []
- Edges: uses 2 estate files (import 2); used by 2; mentioned by 0
### Interchange
- File: gridatlas/tools/satnav/survey/interchange.mjs (JavaScript, 183 lines) · role ingest · stage transform
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/survey/interchange.mjs#L1-L183
- Page: https://code.globalgrid2050.com/explore-code/s/0683.html#f2
- Synopsis: A JavaScript module in the survey folder of GridAtlas that counts coordinates, normalises feature and validates point order, covering 33kV, cables, substations and battery storage (BESS), using EPSG:4326.
- What it achieves (comment): It counts coordinates (`countCoordinates`), normalises feature (`normaliseFeature`) and validates point order (`validatePointOrder`). Bridge the two Ventus GeoJSON encodings without promoting measured fixes to design. Its code works with 33 kV.
- What it does: It lists and searches 33kV, cables, substations and battery storage (BESS). Defines 8 functions or classes, including featuresOf, sampleProperty, countCoordinates, normaliseFeature, validatePointOrder.
- Why it exists in the grid workflow: Domain stage field_execution (path 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: 33kV, cables, substations, battery storage (BESS).
- Inputs & outputs: Coordinate systems named: WGS84 / EPSG:4326. Voltage levels named: 33kV.
- Downstream impact: Used directly by 2 files: Layout Import (gridatlas); Interchange Test (gridatlas). Reached from 2 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); Layout Import Test (gridatlas).
- Signatures: `export readSurveyLayout(input)`; `export editableCoordinates(feature)`; `featuresOf(data)`; `sampleProperty(properties, key, legacyKey)`; `countCoordinates(feature)`; `normaliseFeature(feature)`; `validatePointOrder(features, role)`; `validateMeasuredOrder(features)`; `count(counts.get(group) ?? 0)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages [33kV]
- Edges: uses 1 estate file (import 1); used by 2; mentioned by 0
### Recorder
- File: gridatlas/tools/satnav/track/recorder.mjs (JavaScript, 26 lines) · role transform · stage transform
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/track/recorder.mjs#L1-L26
- Page: https://code.globalgrid2050.com/explore-code/s/0683.html#f6
- Synopsis: A JavaScript module in the track folder of GridAtlas. It creates track recorder (`createTrackRecorder`) and is built from the snapshot step (`snapshot`) and the start step (`start`).
- What it achieves (comment): Session-only measured GPS recorder; inject pinned compass.fixQuality.
- What it does: It calculates its inputs. Defines 7 functions or classes, including createTrackRecorder, snapshot, start, pause, resume.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: Used directly by 2 files: Model (gridatlas); Recorder Test (gridatlas). Reached from 2 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); Model Test (gridatlas).
- Signatures: `export createTrackRecorder({fixQuality,maxGapMs=10000,maxPoints=20000}={})`; `snapshot()`; `start()`; `pause()`; `resume()`; `stop()`; `ingest(fix,now=Date.now())`
- VEDIC: RECORD GPS TRACK (GG2050-VEDIC-000096): SatNav · Location and navigation data. Fix-quality classifier, timestamped WGS84 fixes with accuracy in metres, optional gap and point limits -> Session recorder with lifecycle controls, accepted or rejected fixes and segmented snapshots.
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 2; mentioned by 0
### Direct
- File: gridatlas/tools/satnav/walk/direct.mjs (JavaScript, 43 lines) · role transform · stage transform
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/direct.mjs#L1-L43
- Page: https://code.globalgrid2050.com/explore-code/s/0685.html#f3
- Synopsis: A JavaScript module in the walk folder of GridAtlas that sets targets (`setTargets`). It creates direct walk (`createDirectWalk`) and sets targets (`setTargets`).
- What it achieves (code): Its `createDirectWalk` function gives direct guidance session reporting choose, waiting, guiding or complete, with distance and bearing where available from Maths and compass modules, ordered targets and timestamped GPS fixes with accuracy (VEDIC: detect destination arrival).
- What it does: It calculates its inputs. Defines 6 functions or classes, including samePin, walkTargets, createDirectWalk, setTargets, restart.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: Used directly by 2 files: Direct Test (gridatlas); Handoff (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `export walkTargets(pins, from, loop)`; `export createDirectWalk(maths, compass)`; `samePin(a, b)`; `setTargets(next)`; `restart()`; `locate(fix, now = Date.now())`
- VEDIC: DETECT DESTINATION ARRIVAL (GG2050-VEDIC-000102): SatNav · Location and navigation data. Maths and compass modules, ordered targets and timestamped GPS fixes with accuracy -> Direct guidance session reporting choose, waiting, guiding or complete, with distance and bearing where available.
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 2; mentioned by 0
### Replay
- File: gridatlas/tools/satnav/walk/gate/pilot/replay.mjs (JavaScript, 23 lines) · role transform · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/gate/pilot/replay.mjs#L1-L23
- Page: https://code.globalgrid2050.com/explore-code/s/0687.html#f3
- Synopsis: A JavaScript module in the pilot folder of GridAtlas. It replays gate checks (`replayGateChecks`).
- What it achieves (comment): Off-site phone replay. Its fixes stay inside separate model instances.
- What it does: It calculates its inputs. Defines replayGateChecks.
- Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): 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 2 files: Controls (gridatlas); Controls (gridatlas).
- Signatures: `export replayGateChecks(saved, maths, compass)`
- 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 2; mentioned by 0
### Build
- File: gridatlas/tools/train/gazetteer/build.mjs (JavaScript, 10 lines) · role storage · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/train/gazetteer/build.mjs#L1-L10
- Page: https://code.globalgrid2050.com/explore-code/s/0691.html#f6
- Synopsis: A JavaScript module in the gazetteer folder of GridAtlas that reads generations, using SHA-256. It builds gazetteer (`buildGazetteer`).
- What it achieves (comment): Successor-only public seam, derived from the exact currently composed gazetteer.
- What it does: It loads generations. Defines buildGazetteer. Uses libraries node:fs. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file generations.json; command-line arguments.
- Downstream impact: Used directly by 2 files: Cut Grid Explorer (gridatlas); Grid Explorer Proof (gridatlas).
- Signatures: `export buildGazetteer(generation,root=ROOT)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file generations.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 2; mentioned by 0
### Route Plan
- File: gridatlas/tools/train/src/route-plan.mjs (JavaScript, 165 lines) · role render · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/train/src/route-plan.mjs#L1-L165
- Page: https://code.globalgrid2050.com/explore-code/s/0692.html#f1
- Synopsis: A JavaScript module in the train folder of GridAtlas that creates eligible train index (`createEligibleTrainIndex`) (units: kV), covering cables.
- What it achieves (comment): It creates eligible train index (`createEligibleTrainIndex`) and is built from the train voltage allowed helper (`trainVoltageAllowed`) and the plan train buses helper (`planTrainBuses`). Ordered user itinerary; proximity never establishes electrical connectivity.
- What it does: It lists and searches cables. Defines 12 functions or classes, including buildRoutePlan, trainVoltageAllowed, planTrainBuses, binding, voltages.
- Why it exists in the grid workflow: Domain stage field_execution (path word 'route'): 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: cables.
- Downstream impact: Used directly by 2 files: Route Plan Test (gridatlas); Train Motion Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `export buildRoutePlan({stops, stationIndex = null, scenarioStore = null, planEpoch = null, synthetic = false, geodesy, allowSimulated = fal...)`; `export createEligibleTrainIndex(index, {allowedVoltages, allowOtherVoltage=false, allowTransformers}, isReviewedEdge)`; `kv(Array.isArray(trusted.kv) ? trusted.kv : [trusted.kv])`; `trainVoltageAllowed(kv, allowed,other=false)`; `planTrainBuses(stops, eligible, network, allowed, simulate,other)`; `binding(stop)`; `voltages(stop)`; `statesAt(stop)`; `order(a,b)`; `trainExactBusPath(eligible, network, from, to)`; `permitted(node)`; `same(a, b)`; `validLine(line)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 2; mentioned by 0
### VEDIC Regional Core
- File: gridatlas/tools/vedic/regional-core.mjs (JavaScript, 95 lines) · role transform · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vedic/regional-core.mjs#L1-L95
- Page: https://code.globalgrid2050.com/explore-code/s/0696.html#f1
- Synopsis: A JavaScript module in the tools folder of GridAtlas that tiles cover (`tileCover`) and identity (`tileIdentity`) and creates regional pool (`createRegionalPool`). It creates regional pool (`createRegionalPool`) and sets desired (`setDesired`).
- What it achieves (comment): VEDIC exact tile cover v1; independent, network-free projected-metre capability.
- What it does: It calculates its inputs. Defines 20 functions or classes, including tileCover, mm, orient, on, opposite.
- Why it exists in the grid workflow: Domain stage agent_infra (path word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief).
- Downstream impact: Used directly by 2 files: VEDIC Regional Core Test (gridatlas); VEDIC Regional Io (gridatlas).
- Signatures: `export tileCover(points,{pitch=2048,origin=[0,0],radius=0,metric="euclidean",maxCandidates=100000,maxTiles=20000}={})`; `export regionalWindow(center,{pitch=2048,origin=[0,0],width=10000,halo=0,maxTiles=256}={})`; `export tileIdentity({dataset,revision,crs,pitch,origin=[0,0],i,j,representation})`; `export createRegionalPool({maxBytes,maxConcurrent=2,maxEntries=64}={})`; `mm(x)`; `orient(a,b,c)`; `on(a,b,c)`; `opposite(a,b)`; `cross(a,b,c,d)`; `near(a,b,c,R)`; `hit(a,b,x,y)`; `inside(q)`; `boxDist(q)`; `snapshot()`; `evict(key)`; `oldest()`; `setDesired(entries)`; `admit()`; `settle(token,{bytes=0,ok=false}={})`; `clear()`
- domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 2; mentioned by 0
### VEDIC Road Topology
- File: gridatlas/tools/vedic/road-topology.mjs (JavaScript, 78 lines) · role transform · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vedic/road-topology.mjs#L1-L78
- Page: https://code.globalgrid2050.com/explore-code/s/0449.html#f9
- Synopsis: A JavaScript module in the tools folder of GridAtlas that works with motorways. It compiles topology (`compileTopology`) and turns allowed (`turnAllowed`).
- What it achieves (comment): Conservative, source-ID-preserving topology pilot; not a legal-route certification.
- What it does: It calculates motorways. Defines 7 functions or classes, including id, tags, direction, eligible, compileTopology.
- Why it exists in the grid workflow: Domain stage agent_infra (path word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: motorways.
- Downstream impact: Used directly by 2 files: VEDIC Regional Stream Test (gridatlas); VEDIC Snapshot Routing (gridatlas).
- Signatures: `export compileTopology(source,mode,{maxNodes=50000,maxWays=10000,maxRelations=10000,maxEdges=100000,maxWayRefs=500000}={})`; `id(x)`; `tags(x)`; `direction(t,mode)`; `eligible(t,mode)`; `add(w,k,a,b,d)`; `turnAllowed(inId,outId)`
- domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 2; mentioned by 0
### Model
- File: gridatlas/tools/vicinity/src/model.mjs (JavaScript, 140 lines) · role geodesy · stage transform
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vicinity/src/model.mjs#L1-L140
- Page: https://code.globalgrid2050.com/explore-code/s/0698.html#f1
- Synopsis: A JavaScript module in the vicinity folder of GridAtlas that works with substations and the Renewable Energy Planning Database (REPD) register.
- What it achieves (comment): It normalises origin (`normaliseOrigin`), parses vicinity intent (`parseVicinityIntent`) and validates news context base (`validateNewsContextBase`). Spatial exploration only. Canonical Atlas geodesy is injected, never forked. Its code works with 11 kV, 132 kV and 275 kV.
- What it does: It calculates substations and the REPD register. Defines 12 functions or classes, including validCoordinate, radiusKm, normaliseOrigin, parseVicinityIntent, numberText.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, the REPD register, 400kV, 275kV, 132kV, 66kV. README: "`build.mjs` deterministically assembles `src/model.mjs`, `src/bootstrap.js` and `src/vicinity.css` into one bounded module."
- Inputs & outputs: Voltage levels named: 400kV, 275kV, 132kV, 66kV, 33kV, 11kV.
- Downstream impact: Used directly by 2 files: Browser Test (gridatlas); Model Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `export validCoordinate(at)`; `export radiusKm(value)`; `export normaliseOrigin(origin, {requireIdentity = false} = {})`; `export parseVicinityIntent(search)`; `export validateNewsContextBase(value)`; `export normaliseNewsTopic(value, origin)`; `export newsContextHref(base, origin, topic)`; `export voltageBands(kv)`; `export stationRecords(features, geodesy)`; `export exploreVicinity({origin, radius, records, bands, geodesy, limit = 200})`; `export vicinityGeoJSON(result, geodesy)`; `numberText(value)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages [400kV, 275kV, 132kV, 66kV, 33kV, 11kV]
- Edges: uses 0 estate files; used by 2; mentioned by 0
### Place Global Search V9 5
- File: gridatlas/atlas/cartridges/202611180026-place-global-search-v9-5.js (JavaScript, 931 lines) · role geodesy · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/cartridges/202611180026-place-global-search-v9-5.js#L1-L931
- Page: https://code.globalgrid2050.com/explore-code/s/0518.html#f1
- Synopsis: A JavaScript file in the cartridges folder of GridAtlas that maps Renewable Energy Planning Database (REPD) projects and offshore coordinates, using SHA-256, and uses data from postcodes.io and OpenStreetMap Nominatim.
- What it achieves (comment): It marks deep link cancelled (`markDeepLinkCancelled`), normalises compact (`normaliseCompact`) and parses groups (`parseGroups`). ASSEMBLED by `tools/build-cartridge.mjs` from the parts below. It responds to gridatlas, click and input events.
- What it does: It maps REPD projects, offshore coordinates, postcodes and the REPD register. Defines 41 functions or classes, including invariant, arrivalCoordinator, markDeepLinkCancelled, invalidatePendingDeepLink, escapeHtml. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: postcodes, the REPD register.
- Inputs & outputs: In: data source: postcodes.io; data source: OpenStreetMap Nominatim; Parquet file repd_projects_202611132345.parquet; JSON file repd_v9_manifest_202611132345.json; JSON file offshore-coordinates.json; DuckDB queries. Out: interactive map. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid).
- Downstream impact: Used directly by 1 file: Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/).
- Signatures: `invariant(condition, message)`; `arrivalCoordinator()`; `markDeepLinkCancelled(reason, epoch = null)`; `invalidatePendingDeepLink(reason)`; `escapeHtml(value)`; `sqlString(value)`; `normaliseCompact(value)`; `parseGroups(query)`; `sha256Hex(bytes)`; `verifyManifest()`; `sharedDuckDBRuntime(moduleUrl)`; `runtime()`; `resetOfficialRuntime()`; `installMapCapture()`; `construct(target, args, newTarget)`; `buildWhere(query)`; `buildScore(query)`; `rowObject(row)`; `queryOfficialRepd(query, serial = null, stillOwned = null)`; `hasSafeMapPoint(result)`; `loadDerivedCoordinates()`; `derivedCoordinateFor(repdRef)`; `setDeepLink(result)`; `selectResult(result, options = {})`; `geocoderGet(path, query)` (and 15 more)
- VEDIC: QUERY (GG2050-VEDIC-000046): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. query_text -> sql_predicate
- VEDIC: SCORE (GG2050-VEDIC-000047): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. query_text -> sql_sort_expression
- VEDIC: UK GEOCODE (GG2050-VEDIC-000048): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. query_text -> uk_location_candidates
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [data source: postcodes.io; data source: OpenStreetMap Nominatim; Parquet file repd_projects_202611132345.parquet; JSON file repd_v9_manifest_202611132345.json; JSON file offshore-coordinates.json; DuckDB queries]; out [interactive map]; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Feed Contract
- File: gridatlas/atlas/labs/lightning-grid/feed-contract.mjs (JavaScript, 101 lines) · role ingest · stage transform
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/labs/lightning-grid/feed-contract.mjs#L1-L101
- Page: https://code.globalgrid2050.com/explore-code/s/0520.html#f2
- Published at: https://gridatlas.globalgrid2050.com/atlas/labs/lightning-grid/
- Synopsis: A JavaScript module in the lightning grid folder of GridAtlas that parses optical feed (`parseOpticalFeed`) and describes optical feed evidence (`describeOpticalFeedEvidence`). Served with the page at https://gridatlas.globalgrid2050.com/atlas/labs/lightning-grid/.
- What it achieves (comment): It parses optical feed (`parseOpticalFeed`) and describes optical feed evidence (`describeOpticalFeedEvidence`). Read-only source-evidence contract for the standalone Lightning → Grid Lab.
- What it does: Defines utc, finite, validCoordinates, parseOpticalFeed, describeOpticalFeedEvidence.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Downstream impact: Used directly by 1 file: Labs — Lightning Grid (gridatlas, https://gridatlas.globalgrid2050.com/atlas/labs/lightning-grid/). Reached from 1 other entry point, including Labs — Lightning Grid Page (gridatlas, https://gridatlas.globalgrid2050.com/atlas/labs/lightning-grid/).
- Signatures: `export parseOpticalFeed(data,{nowMs=Date.now(),staleAfterHours=6}={})`; `export describeOpticalFeedEvidence(e)`; `utc(t)`; `finite(n)`; `validCoordinates(p)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 1
### Map View
- File: gridatlas/atlas/labs/lightning-grid/map-view.mjs (JavaScript, 215 lines) · role render · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/labs/lightning-grid/map-view.mjs#L1-L215
- Page: https://code.globalgrid2050.com/explore-code/s/0521.html#f1
- Published at: https://gridatlas.globalgrid2050.com/atlas/labs/lightning-grid/
- Synopsis: A JavaScript module in the lightning grid folder of GridAtlas that maps optical observations, optical clusters, optical cluster tap and optical dots. Served with the page at https://gridatlas.globalgrid2050.com/atlas/labs/lightning-grid/.
- What it achieves (comment): It adds sources layers (`addSourcesAndLayers`), paints selection (`paintSelection`) and paints context (`paintContext`). Optical-flash map view for the standalone Lightning → Grid laboratory.
- What it does: It maps optical observations, optical clusters, optical cluster tap and optical dots. Defines 10 functions or classes, including blank, ref, checkedFeature, number, initLightningMap. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Downstream impact: Used directly by 1 file: Labs — Lightning Grid (gridatlas, https://gridatlas.globalgrid2050.com/atlas/labs/lightning-grid/). Reached from 1 other entry point, including Labs — Lightning Grid Page (gridatlas, https://gridatlas.globalgrid2050.com/atlas/labs/lightning-grid/).
- Signatures: `export initLightningMap({onPick,onStatus=()=>{},onError=()=>{}}={})`; `blank()`; `ref(p)`; `checkedFeature(f)`; `number(n)`; `addSourcesAndLayers()`; `paint()`; `paintSelection()`; `paintContext()`; `fit(features,padding=40)`; `setObservations(rows)`; `selectFlash(f)`; `setContext(c)`; `clearContext()`; `fitFlashes()`; `fitSelection()`; `getBounds()`; `isReady()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### G203 04 SatNav Walk Saved Plan
- File: gridatlas/atlas/modules/20261202-g203-04-satnav-walk-saved-plan.js (JavaScript, 253 lines) · role interaction · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/20261202-g203-04-satnav-walk-saved-plan.js#L1-L253
- Page: https://code.globalgrid2050.com/explore-code/s/0555.html#f1
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that formats distance (`formatDistance`), shows pin (`showPin`), mounts offline plan (`mountOfflinePlan`) and draws SVG graphics.
- What it achieves (comment): It formats distance (`formatDistance`) and shows pin (`showPin`). G203-04: immutable successor; original offline-plan helper inlined to pin all executable mount code. It responds to statechange and satnav events.
- What it does: It draws its content. Defines 12 functions or classes, including fieldPlan, displayPlan, byId, formatDistance, showPin. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage field_execution (path 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: Out: SVG drawing.
- Downstream impact: Used directly by 1 file: SatNav G203 04 Saved Plan Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `fieldPlan(pins, maths)`; `displayPlan()`; `byId(id)`; `formatDistance(m)`; `scaleX(maxX - minX)`; `showPin()`; `offlinePlanDocument(pins, maths)`; `activateWorker(scope)`; `finish()`; `cleanup()`; `mountOfflinePlan({container, getPins, maths})`; `change(action)`; `mount()`
- VEDIC: SAVE OFFLINE PLAN (GG2050-VEDIC-000100): SatNav · Location and navigation data. DOM container, selected pins callback, distance and bearing functions, secure browser with service worker and Cache Storage -> Offline plan controls and a locally cached standalone HTML plan after the user presses Save.
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out [SVG drawing]; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 1
### Orient14 Start Walk
- File: gridatlas/atlas/modules/202612030153-orient14-start-walk.js (JavaScript, 299 lines) · role geodesy · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202612030153-orient14-start-walk.js#L1-L299
- Page: https://code.globalgrid2050.com/explore-code/s/0569.html#f2
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that attaches map (`attachMap`), syncs plan (`syncPlan`) and reads inputs for SatNav walk mode and SatNav route objective.
- What it achieves (comment): It attaches map (`attachMap`), syncs plan (`syncPlan`) and stops walk (`stopWalk`). Location and camera remain owned by the waypoint cartridge. It responds to resize, fullscreenchange and webkitfullscreenchange events.
- What it does: It maps its content. Defines 14 functions or classes, including mount, unsupported, choose, distance, bearing. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage field_execution (path word 'walk'): 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: form fields (user input).
- Downstream impact: Used directly by 1 file: 14 Integration Test (neural-link-between-agents).
- Signatures: `mount()`; `unsupported()`; `choose()`; `distance(m)`; `bearing(n)`; `clearHeader()`; `draw()`; `attachMap()`; `clearRoute(status)`; `calculate(points, revision)`; `syncPlan()`; `liveRoute(fix)`; `render()`; `stopWalk(reason)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [form fields (user input)]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### G203 03 Gps Camera Candidate
- File: gridatlas/atlas/modules/g203-03-gps-camera-candidate.js (JavaScript, 735 lines) · role geodesy · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/g203-03-gps-camera-candidate.js#L1-L735
- Page: https://code.globalgrid2050.com/explore-code/s/0575.html#f1
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps substations and 11kV. It sets panel open (`setPanelOpen`), updates text (`updateText`) and refreshes guidance (`refreshGuidance`).
- What it achieves (comment): Unified GridAtlas/SatNav candidate. Derived from the immutable 2 km convergence cartridge; native shell geometry stays owned by GridAtlas. Its code works with 11 kV and 33 kV. It responds to click, visibilitychange and offline events.
- What it does: It maps substations and 11kV. Defines 40 functions or classes, including setPanelOpen, notify, updateText, distanceText, bearingText. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage field_execution (path word 'gps'): 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: substations, 11kV, 33kV.
- Inputs & outputs: Voltage levels named: 33kV, 11kV.
- Downstream impact: Used directly by 1 file: G203 03 Gps Camera Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `setPanelOpen(open)`; `notify(name, detail)`; `updateText(element, value)`; `distanceText(metres)`; `bearingText(degrees)`; `collection(features)`; `cameraTarget(map,fix,streetZoom)`; `shouldAcceptCameraFix(fix,quality,requestedAt,hidden)`; `pauseFollow()`; `pauseGesture(event)`; `refreshGuidance()`; `changePlan()`; `edit(operation)`; `setPin(which, at, fromGps = false)`; `place(at, fromGps = false)`; `restoreLocalPlan()`; `leaveExample()`; `replacePlan(coordinates, {example = false} = {})`; `undo()`; `setFix(next)`; `fieldState(sample)`; `refreshSources()`; `guidanceText()`; `nativeLayer(id)`; `syncInfrastructureControls()` (and 15 more)
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages [33kV, 11kV]
- Edges: uses 0 estate files; used by 1; mentioned by 0
### G203 Regional Native Viewport
- File: gridatlas/atlas/modules/g203-regional-native-viewport.js (JavaScript, 8664 lines) · role geodesy · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/g203-regional-native-viewport.js#L1-L8664
- Page: https://code.globalgrid2050.com/explore-code/s/0576.html#f4
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps elizabeth line and london underground, using haversine, and uses data from the ventus-grid-engine, data-federation-map-for-GlobalGrid2050-all-repos and spiders repositories.
- What it achieves (comment): It normalizes status (`normalizeStatus`), toggles zone draw mode (`toggleZoneDrawMode`) and opens popup (`openPopup`). ASSEMBLED by `tools/build-cartridge.mjs` from the parts below. Its code works with 400 kV, 100 MVA and 132 kV. It responds to fullscreenchange, webkitfullscreenchange and click events.
- What it does: It maps elizabeth line, london underground, UK metros trams and hs2. Defines 241 functions or classes, including deepFreeze, escapeHTML, normalizeStatus, fmt, haversine. Side effects: changes the web page (DOM); makes network requests.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 750kV, 400kV, 275kV, 132kV, 66kV, 33kV.
- Inputs & outputs: In: data source: ventus-grid-engine data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: spiders data; data source: npm data; GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson. Out: downloaded file gridatlas-; downloaded file globalgrid2050-grid-atlas-; interactive map; canvas drawing; SVG drawing. Voltage levels named: 750kV, 400kV, 275kV, 132kV, 66kV, 33kV, 11kV.
- Downstream impact: Used directly by 1 file: G203 Swarm 06 Viewport Lifecycle Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `deepFreeze(obj)`; `escapeHTML(value)`; `normalizeStatus(status)`; `fmt(n, decimals)`; `haversine(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `_zoneDrawGetRadius()`; `_zoneDrawCirclePoints(lon, lat, radiusKm, n)`; `b(i / n)`; `_zoneDrawCalcArea(pts)`; `j(i + 1)`; `_zoneDrawUpdateLayers(dragOnly)`; `_zoneDrawShowPopup()`; `_zoneDrawShowPopupDebounced()`; `_zoneDrawClear()`; `zoneDrawUndo()`; `toggleZoneDrawMode()`; `_zoneDrawNearVertex(px)`; `_zoneDrawEdgeDots(i)`; `_zoneDrawNearEdgeDot(px)`; `_zoneDrawOnClick(e)`; `mpp(km * 2000)`; `_zoneDrawOnMouseDown(e)`; `_zoneDrawOnMouseMove(e)`; `_zoneDrawOnMouseUp()` (and 15 more)
- VEDIC: SNAP LINE ENDS TO SUBSTATIONS (GG2050-VEDIC-000106): GridAtlas / Substations · Geospatial data processing. line_features, substation_point_features -> Line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged.
- VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km
- VEDIC: REPRESENT (GG2050-VEDIC-000002): GridAtlas / Geodesy · Computer science / Geometry processing. geojson_geometry -> coordinate_pair_or_null
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [data source: ventus-grid-engine data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: spiders data; data source: npm data; GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson]; out [downloaded file gridatlas-; downloaded file globalgrid2050-grid-atlas-; interactive map; canvas drawing; SVG drawing]; crs []; voltages [750kV, 400kV, 275kV, 132kV, 66kV, 33kV, 11kV]
- Edges: uses 2 estate files (estate-url 2); used by 1; mentioned by 0
### Unified Destination Contract
- File: gridatlas/atlas/modules/unified-destination-contract.mjs (JavaScript, 76 lines) · role transform · stage transform
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/unified-destination-contract.mjs#L1-L76
- Page: https://code.globalgrid2050.com/explore-code/s/0593.html#f1
- Synopsis: A JavaScript module in the atlas folder of GridAtlas that creates destination gate (`createDestinationGate`) and validates destination leg (`validateDestinationLeg`). It creates destination gate (`createDestinationGate`) and validates destination leg (`validateDestinationLeg`).
- What it achieves (comment): GridAtlas V9.201 — synchronous search ownership; no DOM, GPS or network side effects.
- What it does: It calculates its inputs. Defines 8 functions or classes, including createDestinationGate, invalidate, onInput, beginRequest, publish.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Downstream impact: Used directly by 1 file: Unified Destination Contract Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `export createDestinationGate()`; `export validDestinationCoordinate(at)`; `export validateDestinationLeg(previous, destination, distanceKm)`; `invalidate()`; `onInput(query)`; `beginRequest(ticket)`; `publish(ticket, results)`; `transfer(handle, commit)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 1
### Unified Destination Unlimited
- File: gridatlas/atlas/modules/unified-destination-unlimited.mjs (JavaScript, 76 lines) · role transform · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/unified-destination-unlimited.mjs#L1-L76
- Page: https://code.globalgrid2050.com/explore-code/s/0593.html#f2
- Synopsis: A JavaScript module in the atlas folder of GridAtlas that creates destination gate (`createDestinationGate`) and validates destination leg (`validateDestinationLeg`). It creates destination gate (`createDestinationGate`) and validates destination leg (`validateDestinationLeg`).
- What it achieves (comment): GridAtlas V9.201 — synchronous search ownership; no DOM, GPS or network side effects.
- What it does: It calculates its inputs. Defines 8 functions or classes, including createDestinationGate, invalidate, onInput, beginRequest, publish.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Downstream impact: Used directly by 1 file: Distance Dock Proof (gridatlas).
- Signatures: `export createDestinationGate()`; `export validDestinationCoordinate(at)`; `export validateDestinationLeg(previous, destination, distanceKm)`; `invalidate()`; `onInput(query)`; `beginRequest(ticket)`; `publish(ticket, results)`; `transfer(handle, commit)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/modules/unified-destination-contract.mjs) · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Renewable Energy Planning Database (REPD) Routing Client
- File: gridatlas/atlas/releases/202608291430-atlas-v9/assets/repd-routing-client.mjs (JavaScript, 152 lines) · role energy-data · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/releases/202608291430-atlas-v9/assets/repd-routing-client.mjs#L1-L152
- Page: https://code.globalgrid2050.com/explore-code/s/0605.html#f2
- Synopsis: A JavaScript module in the assets folder of GridAtlas that works with the REPD register, using SHA-256.
- What it achieves (name): It decodes routing projects (`decodeRoutingProjects`), resolves routing record (`resolveRoutingRecord`) and loads routing deep link fallback (`loadRoutingDeepLinkFallback`). Defines `invariant`, `dictionaryValue`, `immutableRoutingUrl` and 4 more.
- What it does: It calculates the REPD register. Defines 7 functions or classes, including invariant, dictionaryValue, immutableRoutingUrl, decodeRoutingProjects, resolveRoutingRecord.
- Why it exists in the grid workflow: Domain stage field_execution (path word 'routing'): 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: the REPD register.
- Inputs & outputs: Coordinate systems named: WGS84 / EPSG:4326.
- Downstream impact: Used directly by 1 file: Atlas V9 (gridatlas).
- Signatures: `export decodeRoutingProjects(payload)`; `export resolveRoutingRecord(decoded, repdRef)`; `export loadRoutingDeepLinkFallback(manifest, repdRef)`; `export clearRoutingCacheForTests()`; `invariant(condition, message)`; `dictionaryValue(dictionaries, name, index)`; `immutableRoutingUrl(manifest, relative)`
- domain_stage: field_execution · commercial_user: IPP_developer, EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages []
- Edges: uses 1 estate file (import 1); used by 1; mentioned by 0
### Local CI
- File: gridatlas/tools/ci/202609012200-local-ci.mjs (JavaScript, 565 lines) · role automation · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/ci/202609012200-local-ci.mjs#L1-L565
- Page: https://code.globalgrid2050.com/explore-code/s/0622.html#f1
- Synopsis: A JavaScript module in the tools folder of GridAtlas that strips comments (`stripComments`), using haversine.
- What it achieves (comment): It is built from the argv step (`argv`), the git step (`git`) and the bar step (`bar`). Measure the change, coordinate the computation engine, find flaws.
- What it does: It loads data. Defines 6 functions or classes, including argv, git, bar, computes, stripComments. Uses libraries node:child_process, node:fs, node:path, node:url. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: command-line arguments.
- Downstream impact: Used directly by 1 file: Shift (gridatlas).
- Signatures: `argv(flag)`; `git(repo, args)`; `bar(n, max, width = 28)`; `computes(path)`; `stamp(subject || '')`; `version(subject || '')`; `stripComments(text)`; `stampMinutes(s)`; `m(subject || '')`; `clockRule(run.results || [])`; `offCount(clockRule?.findings || [])`; `orderCount(clockRule?.findings || [])`; `failing(run.results || [])`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [command-line arguments]; out []; crs []; voltages []
- Edges: uses 19 estate files (script-call 19); used by 1; mentioned by 0
### CI Deep Scan
- File: gridatlas/tools/ci/202609012230-deep-scan.mjs (JavaScript, 455 lines) · role automation · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/ci/202609012230-deep-scan.mjs#L1-L455
- Page: https://code.globalgrid2050.com/explore-code/s/0623.html#f1
- Synopsis: A JavaScript module in the tools folder of GridAtlas that uses haversine. It is built from the flag step (`flag`), the value step (`value`) and the trace step (`trace`).
- What it achieves (comment): Deep scan: origin to today, both applications, one understanding.
- What it does: It loads data. Defines 8 functions or classes, including flag, value, trace, git, isCode. Uses libraries node:child_process, node:fs, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file 202609012230-deep-scan.json; command-line arguments.
- Downstream impact: Used directly by 1 file: CI Estate Deep Scan (gridatlas).
- Signatures: `flag(name)`; `value(name)`; `trace(message)`; `git(repo, args, { max = 256 } = {})`; `isCode(path)`; `familyOf(path)`; `seamsIn(text)`; `banners(text.match(/^\s*\/\*[\s\S]{0,4}[─=—-]{6,}/gm) || [])`; `functions(text.match(/^\s{0,4}(async\s+)?function\s+\w+/gm) || [])`; `consts(text.match(/^\s{0,2}const\s+[A-Z_]{3,}\s*=/gm) || [])`; `surfaces(text.match(/window\.__\w+__\s*=/g) || [])`; `scanFor(repoName, patterns, options = {})`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file 202609012230-deep-scan.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Reference Module F
- File: gridatlas/tools/ci/lightning/fixtures/reference-module-F.js (JavaScript, 176 lines) · role automation · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/ci/lightning/fixtures/reference-module-F.js#L1-L176
- Page: https://code.globalgrid2050.com/explore-code/s/0624.html#f2
- Synopsis: A JavaScript file in the fixtures folder of GridAtlas that maps UK lightning, using SHA-256 and uses data from the lightning repository.
- What it achieves (comment): UK-lightning-overlay. EUMETSAT MTG LI (L2-LFL) optical flashes, OFF by default, appended last to the Layers panel and fullscreen curtain; nothing requested before switch-on; never persisted. It responds to click and change events.
- What it does: It maps UK lightning. Defines q. Side effects: changes the web page (DOM); makes network requests.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: data source: lightning data; GeoJSON file uk_lightning.geojson; JSON file index.json; form fields (user input).
- Downstream impact: Used directly by 1 file: Overlay Engine Test (gridatlas).
- Signatures: `NS(window.__GRIDATLAS_MODULES__=window.__GRIDATLAS_MODULES__||{})`; `sw(raw.scan_windows||[])`; `q(s)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [data source: lightning data; GeoJSON file uk_lightning.geojson; JSON file index.json; form fields (user input)]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Bootstrap
- File: gridatlas/tools/journey/src/bootstrap.js (JavaScript, 20 lines) · role render · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/journey/src/bootstrap.js#L1-L20
- Page: https://code.globalgrid2050.com/explore-code/s/0631.html#f10
- Synopsis: A JavaScript file in the journey folder of GridAtlas. It is built from the mount step (`mount`) and the attach step (`attach`).
- What it achieves (comment): Bounded public-map attachment. No private card closures, new map or network fetch.
- What it does: It loads data. Defines mount, attach. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Downstream impact: Used directly by 1 file: Controller Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `mount(map = window.__GRIDATLAS_V9_MAP__)`; `attach()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Controller
- File: gridatlas/tools/journey/src/controller.mjs (JavaScript, 202 lines) · role render · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/journey/src/controller.mjs#L1-L202
- Page: https://code.globalgrid2050.com/explore-code/s/0632.html#f1
- Synopsis: A JavaScript module in the journey folder of GridAtlas that maps cables, using SHA-256. It creates journey controller (`createJourneyController`), removes map (`removeMap`) and writes cursor (`writeCursor`).
- What it achieves (comment): Native MapLibre presentation only. The pinned engine owns evidence and traversal. It responds to change events.
- What it does: It maps cables. Defines 26 functions or classes, including createJourneyController, empty, el, listen, isReduced. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: cables.
- Downstream impact: Used directly by 1 file: Controller Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `export createJourneyController({map, document: D, window: W, planner, fixture, css, generation})`; `empty()`; `el(tag, text, parent, attrs = {})`; `listen(e, type, fn)`; `isReduced()`; `report(s)`; `pauseMotion()`; `controlsState()`; `removeMap()`; `installMap()`; `writeCursor(coordinates)`; `lineFor(s)`; `frameRoute()`; `showStep(index)`; `advance()`; `resetPlan()`; `animate()`; `frame(now)`; `choose()`; `installLayerControls()`; `setOrigin(origin)`; `shut()`; `open(options)`; `realSelection(clearContext = true)`; `styleLoad()` (and 3 more)
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Annotations
- File: gridatlas/tools/lightning/lineage/annotations.mjs (JavaScript, 279 lines) · role interaction · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/lineage/annotations.mjs#L1-L279
- Page: https://code.globalgrid2050.com/explore-code/s/0632.html#f3
- Synopsis: A JavaScript module in the lineage folder of GridAtlas that fetches the Renewable Energy Planning Database (REPD) register and substations, using SHA-256.
- What it achieves (comment): The source-only layer of `tools/lightning/src`: file sections and `///` comments, anchored to text in the M4 module ('A', variant layers) or, with in:'B', the M4b module (variant dots). Its code works with 33 kV. It responds to change events.
- What it does: It fetches the REPD register and substations. Defines N. Side effects: changes the web page (DOM); makes network requests.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, substations, 33kV.
- Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). Voltage levels named: 33kV.
- Downstream impact: Used directly by 1 file: Reconstruct (gridatlas).
- Signatures: `N(at, text, opt = {})`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [33kV]
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Const2let
- File: gridatlas/tools/lightning/lineage/const2let.mjs (JavaScript, 42 lines) · role transform · stage transform
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/lineage/const2let.mjs#L1-L42
- Page: https://code.globalgrid2050.com/explore-code/s/0633.html#f6
- Synopsis: A JavaScript module in the lineage folder of GridAtlas. It is built from the const2let step (`const2let`).
- What it achieves (comment): Rewrite `const` declarations as `let` (2 bytes each) after proving, with scope resolution, that no binding a declaration creates is ever the target of an assignment, update or for-in/of head.
- What it does: It calculates its inputs. Defines const2let.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Downstream impact: Used directly by 1 file: Build M (gridatlas).
- Signatures: `export const2let(src, keep = () => false)`; `names(p, out)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Fixes M4
- File: gridatlas/tools/lightning/lineage/fixes-m4.mjs (JavaScript, 17 lines) · role transform · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/lineage/fixes-m4.mjs#L1-L17
- Page: https://code.globalgrid2050.com/explore-code/s/0633.html#f7
- Synopsis: A JavaScript module in the lineage folder of GridAtlas. It is built from the fixes step (`fixes`).
- What it achieves (comment): Review fixes folded into M4 (called by `build-M4.mjs` with its exact-once `once`).
- What it does: It calculates its inputs. Defines fixes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Downstream impact: Used directly by 1 file: Build M4 (gridatlas).
- Signatures: `export fixes(once)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · 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
### Layers M3 Part
- File: gridatlas/tools/lightning/lineage/layers-m3.part.js (JavaScript, 14 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/lineage/layers-m3.part.js#L1-L14
- Page: https://code.globalgrid2050.com/explore-code/s/0633.html#f8
- Synopsis: A JavaScript file in the lineage folder of GridAtlas covering the Renewable Energy Planning Database (REPD) register, solar, wind and battery storage (BESS).
- What it achieves (comment): M3: the REPD map layers of the listed projects --------------------------------------------------------------- The owner (28 Oct 2026, 21:39 UTC): "auto activate the REPD layers of the targeted 10 nearest projects".
- What it does: Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, wind, battery storage (BESS).
- Downstream impact: Used directly by 1 file: Build M3 (gridatlas).
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · 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
### Renewable Energy Planning Database (REPD) M2 Part
- File: gridatlas/tools/lightning/lineage/repd-m2.part.js (JavaScript, 82 lines) · role energy-data · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/lineage/repd-m2.part.js#L1-L82
- Page: https://code.globalgrid2050.com/explore-code/s/0634.html#f2
- Synopsis: A JavaScript file in the lineage folder of GridAtlas that maps REPD master, the REPD register, solar and wind.
- What it achieves (comment): REPD projects near a tap (M2) ---------------------------------------------------------------------------------- The register the map already holds (the engine's src-REPD data when a REPD layer has loaded it, else the engine URL `/dist/repd_master.json` through the untouched bridge). Its code works with 0 MW. It responds to click events.
- What it does: It maps REPD master, the REPD register, solar and wind.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, wind.
- Inputs & outputs: In: JSON file repd_master.json; DuckDB queries.
- Downstream impact: Used directly by 1 file: Build M2 (gridatlas).
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file repd_master.json; DuckDB queries]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Renewable Energy Planning Database (REPD) M3 Part
- File: gridatlas/tools/lightning/lineage/repd-m3.part.js (JavaScript, 100 lines) · role energy-data · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/lineage/repd-m3.part.js#L1-L100
- Page: https://code.globalgrid2050.com/explore-code/s/0634.html#f3
- Synopsis: A JavaScript file in the lineage folder of GridAtlas that maps REPD master, the REPD register, solar and wind.
- What it achieves (comment): REPD projects near a tap (M2, M3) -------------------------------------------------------------------------------- The register the map already holds (the engine's src-REPD data when a REPD layer has loaded it, else the engine URL `/dist/repd_master.json` through the untouched bridge). Its code works with 0 MW. It responds to click events.
- What it does: It maps REPD master, the REPD register, solar and wind. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, wind.
- Inputs & outputs: In: JSON file repd_master.json; DuckDB queries.
- Downstream impact: Used directly by 1 file: Build M3 (gridatlas).
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file repd_master.json; DuckDB queries]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Lightning Cartridge
- File: gridatlas/tools/proofs/lightning-cartridge.mjs (JavaScript, 152 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/lightning-cartridge.mjs#L1-L152
- Page: https://code.globalgrid2050.com/explore-code/s/0654.html#f5
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that uses SHA-256. It reads JSON (`readJson`) and is built from the sha step (`sha`) and the route of helper (`routeOf`).
- What it achieves (comment): The proof of a modular lightning generation: the UK lightning overlay composed as its OWN cartridge ('UK-lightning-overlay', slot after-cartridge, after single-line diagram (SLD)-sandbox), with SLD-sandbox back to the original bytes. It reads `atlas/current.json`.
- What it does: It loads data. Defines 6 functions or classes, including sha, readJson, routeOf, proveLightningCartridge, at. Uses libraries node:assert/strict, node:fs, node:path, node:vm, node:crypto. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json.
- Downstream impact: Used directly by 1 file: UK Lightning Overlay Proof (gridatlas).
- Signatures: `export routeOf(G)`; `export proveLightningCartridge(G)`; `sha(b)`; `readJson(rel)`; `at(p)`; `read(p)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file current.json]; out []; crs []; voltages []
- Edges: uses 2 estate files (import 1, dynamic-import 1); used by 1; mentioned by 0
### Loader Equivalence Proof
- File: gridatlas/tools/proofs/loader-equivalence.proof.mjs (JavaScript, 121 lines) · role render · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/loader-equivalence.proof.mjs#L1-L121
- Page: https://code.globalgrid2050.com/explore-code/s/0654.html#f7
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that uses SHA-256. It is built from the sha step (`sha`), the read step (`read`) and the extra step (`extra`).
- What it achieves (comment): Loader v2 (`tools/scope/payloads/atlas-loader-v2.html`) adds one slot type, 'after-cartridge': a verified cartridge as its own script tag straight after a cartridge composed before it. It reads `atlas/current.json`.
- What it does: It loads data. Defines sha, read, up, extra, run. Uses libraries node:assert/strict, node:fs, node:path, node:crypto. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json.
- Downstream impact: Used directly by 1 file: CI PR Gate (gridatlas). Reached from 2 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); Map Promotion Rehearsal (gridatlas).
- Signatures: `sha(b)`; `read(rel)`; `up(p)`; `extra(id, file, after, digest)`; `run(loaderHtml, cartridges, order)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json]; out []; crs []; voltages []
- Edges: uses 2 estate files (import 1, dynamic-import 1); used by 1; mentioned by 0
### Module Parity Proof
- File: gridatlas/tools/proofs/modules/202609011950-module-parity.proof.mjs (JavaScript, 293 lines) · role interaction · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/modules/202609011950-module-parity.proof.mjs#L1-L293
- Page: https://code.globalgrid2050.com/explore-code/s/0656.html#f3
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads substations, 400kV, transformers and solar. It loads modules (`loadModules`) and makes element (`makeElement`).
- What it achieves (comment): Parity proof: the new modules against the 4,000-line incumbent. Its code works with 400 kV and 750 kV.
- What it does: It loads substations, 400kV, transformers and solar. Defines check, loadModules, makeElement, MutationObserverStub, sandboxContext. Uses libraries node:fs/promises, node:url, node:path, node:vm. Side effects: changes the web page (DOM); reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 400kV, transformers, solar, 750kV, 415V.
- Inputs & outputs: In: JSON file current.json. Voltage levels named: 750kV, 400kV, 415V.
- Downstream impact: Used directly by 1 file: Local CI (gridatlas).
- Signatures: `check(label, condition, detail)`; `loadModules()`; `makeElement(tag)`; `add()`; `appendChild(child)`; `addEventListener()`; `remove()`; `class MutationObserverStub`; `sandboxContext()`; `getElementById()`; `getStyle()`; `getContainer()`; `same(a?.site_code ?? null)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file current.json]; out []; crs []; voltages [750kV, 400kV, 415V]
- Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0
### Assembler Proof
- File: gridatlas/tools/proofs/modules/202609012010-assembler.proof.mjs (JavaScript, 202 lines) · role storage · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/modules/202609012010-assembler.proof.mjs#L1-L202
- Page: https://code.globalgrid2050.com/explore-code/s/0657.html#f1
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that uses SHA-256. It is built from the check step (`check`), the run step (`run`) and the sha256 step (`sha256`).
- What it achieves (comment): Proof for `tools/build-cartridge.mjs`.
- What it does: It loads data. Defines 7 functions or classes, including check, run, sha256, outputFor, manifestFor. Uses libraries node:fs/promises, node:fs, node:crypto, node:child_process, node:path. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Downstream impact: Used directly by 1 file: Local CI (gridatlas).
- Signatures: `check(label, condition, detail)`; `run(args, extraEnv = {})`; `sha256(text)`; `outputFor(generation)`; `manifestFor(generation)`; `existsForProof(path)`; `cleanup()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · 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
### Grid Scope Proof
- File: gridatlas/tools/proofs/modules/202609012040-grid-scope.proof.mjs (JavaScript, 194 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/modules/202609012040-grid-scope.proof.mjs#L1-L194
- Page: https://code.globalgrid2050.com/explore-code/s/0657.html#f2
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads substations, 400kV, 750kV and 110kV, using haversine.
- What it achieves (comment): It is built from the check step (`check`) and the list step (`list`). The arithmetic is easy; the discipline is the point. Its code works with 110 kV, 400 kV and 50 kV.
- What it does: It loads substations, 400kV, 750kV and 110kV. Defines check, at, list. Uses libraries node:fs/promises, node:url, node:path, node:vm. Side effects: changes the web page (DOM); reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 400kV, 750kV, 110kV, 132kV, 66kV.
- Inputs & outputs: Voltage levels named: 750kV, 400kV, 132kV, 110kV, 66kV, 50kV, 33kV, 32kV.
- Downstream impact: Used directly by 1 file: Local CI (gridatlas).
- Signatures: `check(label, condition, detail)`; `at(dLat)`; `class list`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages [750kV, 400kV, 132kV, 110kV, 66kV, 50kV, 33kV, 32kV]
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Declared Connections Proof
- File: gridatlas/tools/proofs/modules/202609012130-declared-connections.proof.mjs (JavaScript, 181 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/modules/202609012130-declared-connections.proof.mjs#L1-L181
- Page: https://code.globalgrid2050.com/explore-code/s/0657.html#f3
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads substations and 400kV.
- What it achieves (comment): It is built from the plain step (`plain`), the same step (`same`) and the check step (`check`). The module was cut out of the single-line diagram (SLD)-sandbox body, so the question that matters most is PARITY: does the module hold exactly the records the served cartridge held. Its code works with 400 kV and 132 kV.
- What it does: It loads substations and 400kV. Defines 6 functions or classes, including plain, same, check, fresh, inlineObject. Uses libraries node:fs/promises, node:path, node:url, node:vm, node:util. Side effects: changes the web page (DOM); reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 400kV, 132kV.
- Inputs & outputs: Voltage levels named: 400kV, 132kV.
- Downstream impact: Used directly by 1 file: Local CI (gridatlas).
- Signatures: `plain(value)`; `same(a, b)`; `check(label, condition, detail)`; `fresh()`; `inlineObject(text, name)`; `servedFunctions()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages [400kV, 132kV]
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Network Topology Proof
- File: gridatlas/tools/proofs/modules/202609012145-network-topology.proof.mjs (JavaScript, 269 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/modules/202609012145-network-topology.proof.mjs#L1-L269
- Page: https://code.globalgrid2050.com/explore-code/s/0448.html#f7
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads GB transmission network, transformers, 400kV and 132kV, using haversine. It is built from the check step (`check`).
- What it achieves (comment): Run against the REAL product, not a fixture. Its code works with 400 kV, 132 kV and 100 MVA.
- What it does: It loads GB transmission network, transformers, 400kV and 132kV. Defines check. Uses libraries node:fs/promises, node:fs, node:path, node:url, node:vm. Side effects: changes the web page (DOM); reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'topology'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: transformers, 400kV, 132kV.
- Inputs & outputs: In: JSON file gb-transmission-network.v1.json. Voltage levels named: 400kV, 132kV.
- Downstream impact: Used directly by 1 file: Local CI (gridatlas).
- Signatures: `check(label, condition, detail)`
- domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file gb-transmission-network.v1.json]; out []; crs []; voltages [400kV, 132kV]
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Sizing Arithmetic Proof
- File: gridatlas/tools/proofs/modules/202609012205-sizing-arithmetic.proof.mjs (JavaScript, 222 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/modules/202609012205-sizing-arithmetic.proof.mjs#L1-L222
- Page: https://code.globalgrid2050.com/explore-code/s/0658.html#f1
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that works with fresh finance inputs (`freshFinanceInputs`) (units: MW, kVA, MVA).
- What it achieves (comment): It is built from the plain step (`plain`), the same step (`same`) and the check step (`check`). The module was lifted out of the single-line diagram (SLD)-sandbox body, so the question that matters is PARITY: on the same inputs, does the module return exactly what the inline arithmetic returned?
- What it does: It fetches data. Defines 8 functions or classes, including plain, same, check, fresh, slice. Uses libraries node:fs/promises, node:path, node:url, node:vm, node:util. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Downstream impact: Used directly by 1 file: Local CI (gridatlas).
- Signatures: `plain(value)`; `same(a, b)`; `check(label, condition, detail)`; `fresh()`; `slice(text, from, to, label)`; `freshFinanceInputs()`; `pick(s)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · 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
### Map Click Network Proof
- File: gridatlas/tools/proofs/modules/202609012230-map-click-network.proof.mjs (JavaScript, 81 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/modules/202609012230-map-click-network.proof.mjs#L1-L81
- Page: https://code.globalgrid2050.com/explore-code/s/0448.html#f8
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that uses haversine.
- What it achieves (name): Defines `check`. Its code works with 400 kV.
- What it does: It loads data. Defines check. Uses libraries node:fs/promises, node:path, node:url, node:vm. Side effects: changes the web page (DOM); reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV.
- Inputs & outputs: Voltage levels named: 400kV.
- Downstream impact: Used directly by 1 file: Local CI (gridatlas).
- Signatures: `check(label, condition)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages [400kV]
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Electrical Distance Proof
- File: gridatlas/tools/proofs/modules/202609012245-electrical-distance.proof.mjs (JavaScript, 339 lines) · role geodesy · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/modules/202609012245-electrical-distance.proof.mjs#L1-L339
- Page: https://code.globalgrid2050.com/explore-code/s/0658.html#f2
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that fetches GB transmission network, transformers, 400kV and 132kV.
- What it achieves (comment): It is built from the check step (`check`) and the fake index helper (`fakeIndex`). Run against the REAL published payload, not a fixture. Its code works with 400 kV and 132 kV.
- What it does: It fetches GB transmission network, transformers, 400kV and 132kV. Defines check, fakeIndex, N. Uses libraries node:fs, node:path, node:url. 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 upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers, 400kV, 132kV.
- Inputs & outputs: In: JSON file gb-transmission-network.v1.json. Voltage levels named: 400kV, 132kV.
- Downstream impact: Used directly by 1 file: Local CI (gridatlas).
- Signatures: `check(name, condition, detail = '')`; `denials(codeOnly.match(/const NOT_A_[A-Z_]+\s*=[\s\S]*?;/g) || [])`; `fakeIndex(nodes, edges, sites)`; `N(node, site_code, voltage_kv, ok = true)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file gb-transmission-network.v1.json]; out []; crs []; voltages [400kV, 132kV]
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Source Registry Proof
- File: gridatlas/tools/proofs/modules/202609012245-source-registry.proof.mjs (JavaScript, 147 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/modules/202609012245-source-registry.proof.mjs#L1-L147
- Page: https://code.globalgrid2050.com/explore-code/s/0659.html#f1
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads substations. It is built from the check step (`check`) and the state step (`state`).
- What it achieves (comment): The registry's whole value is that it tells the truth about ABSENCE, so most of these checks build a window with a source deliberately missing, half-loaded or broken, and assert that the answer says so.
- What it does: It loads substations. Defines check, state. Uses libraries node:fs/promises, node:path, node:url, node:vm. Side effects: changes the web page (DOM); reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations.
- Downstream impact: Used directly by 1 file: Local CI (gridatlas).
- Signatures: `check(label, condition, detail)`; `state(survey, id)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · 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
### Rating Envelope Proof
- File: gridatlas/tools/proofs/modules/202609012250-rating-envelope.proof.mjs (JavaScript, 258 lines) · role electrical · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/modules/202609012250-rating-envelope.proof.mjs#L1-L258
- Page: https://code.globalgrid2050.com/explore-code/s/0659.html#f2
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads GB transmission network, 400kV and overhead lines (OHL).
- What it achieves (comment): It is built from the check step (`check`), the banned step (`banned`) and the fake index helper (`fakeIndex`). The load-bearing check in this file is a NEGATIVE one: that no code path anywhere in the module produces a sum of circuit ratings. Its code works with 400 kV, 9999 MVA and 130 MVA.
- What it does: It loads GB transmission network, 400kV and overhead lines (OHL). Defines check, banned, fakeIndex, N. Uses libraries node:fs, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV, overhead lines (OHL), 132kV.
- Inputs & outputs: In: JSON file gb-transmission-network.v1.json. Voltage levels named: 400kV, 132kV.
- Downstream impact: Used directly by 1 file: Local CI (gridatlas).
- Signatures: `check(name, condition, detail = '')`; `banned(text)`; `fakeIndex(nodes, edges, sites)`; `N(node, site_code, voltage_kv, ok = true)`; `implausible(product.circuits || [])`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file gb-transmission-network.v1.json]; out []; crs []; voltages [400kV, 132kV]
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Planned Change Proof
- File: gridatlas/tools/proofs/modules/202609012345-planned-change.proof.mjs (JavaScript, 390 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/modules/202609012345-planned-change.proof.mjs#L1-L390
- Page: https://code.globalgrid2050.com/explore-code/s/0660.html#f1
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that fetches GB transmission network, transformers, 400kV and overhead lines (OHL).
- What it achieves (comment): It is built from the check step (`check`), the fake product helper (`fakeProduct`) and the pair step (`pair`). The load-bearing checks are the negative ones: that a planned row is never presented as a circuit that exists, never walked as a path, and never made into a capacity claim. Its code works with 400 kV and 275 kV.
- What it does: It fetches GB transmission network, transformers, 400kV and overhead lines (OHL). Defines 7 functions or classes, including check, N, S, fakeProduct, pair. Uses libraries node:fs, node:path, node:url. 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 upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers, 400kV, overhead lines (OHL), 275kV, 220kV.
- Inputs & outputs: In: JSON file gb-transmission-network.v1.json. Voltage levels named: 400kV, 275kV, 220kV.
- Downstream impact: Used directly by 1 file: Local CI (gridatlas).
- Signatures: `check(name, condition, detail = '')`; `denials(codeOnly.match(/const NOT_[A-Z_]+\s*=[\s\S]*?;/g) || [])`; `N(node, site_code, voltage_kv, ok = true, transmission_owner = 'NGET')`; `S(code, name, owner = 'NGET')`; `fakeProduct({ nodes = [], sites = [], circuits = [], transformers = [], planned_changes = [] })`; `pair(e)`; `tally(field)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file gb-transmission-network.v1.json]; out []; crs []; voltages [400kV, 275kV, 220kV]
- Edges: uses 0 estate files; used by 1; mentioned by 1
### Owner Boundary Proof
- File: gridatlas/tools/proofs/modules/202609012350-owner-boundary.proof.mjs (JavaScript, 349 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/modules/202609012350-owner-boundary.proof.mjs#L1-L349
- Page: https://code.globalgrid2050.com/explore-code/s/0661.html#f1
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that fetches GB transmission network, transformers, 400kV and 220kV.
- What it achieves (comment): It is built from the check step (`check`), the fake product helper (`fakeProduct`) and the is boundary helper (`isBoundary`). Two things must hold and are asserted by construction on small products built by hand: an owner is never inferred (a null is unknown, a circuit with an unknown end is undetermined). Its code works with 400 kV and 132 kV.
- What it does: It fetches GB transmission network, transformers, 400kV and 220kV. Defines check, N, S, fakeProduct, isBoundary. Uses libraries node:fs, node:path, node:url. 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 upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers, 400kV, 220kV, 132kV.
- Inputs & outputs: In: JSON file gb-transmission-network.v1.json. Voltage levels named: 400kV, 220kV, 132kV.
- Downstream impact: Used directly by 1 file: Local CI (gridatlas).
- Signatures: `check(name, condition, detail = '')`; `denials(codeOnly.match(/const (?:NOT_[A-Z_]+|NEVER_INFERRED)\s*=[\s\S]*?;/g) || [])`; `N(node, site_code, voltage_kv, transmission_owner, ok = true)`; `S(code, name, transmission_owner)`; `fakeProduct({ nodes = [], sites = [], circuits = [], transformers = [], planned_changes = [] })`; `isBoundary(r)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file gb-transmission-network.v1.json]; out []; crs []; voltages [400kV, 220kV, 132kV]
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Injection Response Proof
- File: gridatlas/tools/proofs/modules/202609020015-injection-response.proof.mjs (JavaScript, 429 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/modules/202609020015-injection-response.proof.mjs#L1-L429
- Page: https://code.globalgrid2050.com/explore-code/s/0661.html#f2
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads GB transmission network and 400kV.
- What it achieves (comment): It is built from the check step (`check`), the close step (`close`) and the graph of helper (`graphOf`). Codex's standing condition on any load-flow work is validation against a trusted solver. Its code works with 400 kV, 100 MW and 17.97 MW.
- What it does: It loads GB transmission network and 400kV. Defines 6 functions or classes, including check, close, graphOf, X, shareOn. Uses libraries node:fs, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV.
- Inputs & outputs: In: JSON file gb-transmission-network.v1.json. Voltage levels named: 400kV.
- Downstream impact: Used directly by 1 file: Local CI (gridatlas).
- Signatures: `check(name, condition, detail = '')`; `close(a, b, tol = 1e-9)`; `graphOf(nodes, edges)`; `X(node_1, node_2, x, extra = {})`; `shareOn(result, a, b)`; `nodes400(product.nodes || [])`; `add(node, mw)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file gb-transmission-network.v1.json]; out []; crs []; voltages [400kV]
- Edges: uses 0 estate files; used by 1; mentioned by 0
### State
- File: gridatlas/tools/satnav/field-reliability/state.mjs (JavaScript, 17 lines) · role transform · stage transform
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/field-reliability/state.mjs#L1-L17
- Page: https://code.globalgrid2050.com/explore-code/s/0673.html#f2
- Synopsis: A JavaScript module in the field reliability folder of GridAtlas. It is built from the assess field state helper (`assessFieldState`).
- What it achieves (comment): Pure field-state adapter: no watch, cache, DOM, or permission side effects.
- What it does: It calculates its inputs. Defines assessFieldState.
- Why it exists in the grid workflow: Domain stage field_execution (path word 'field'): 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: State Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `export assessFieldState({tracking=false,hidden=false,resumedAt=null,fix=null,now=Date.now(),networkOnline=null,verifiedOfflineResources=false...)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Orient17a Continuity Ordered
- File: gridatlas/tools/satnav/guidance/orient17a-continuity-ordered.mjs (JavaScript, 129 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/guidance/orient17a-continuity-ordered.mjs#L1-L129
- Page: https://code.globalgrid2050.com/explore-code/s/0675.html#f3
- Synopsis: A JavaScript module in the guidance folder of GridAtlas that creates waypoint guidance (`createWaypointGuidance`), selects leg (`selectLeg`) and resets evidence (`resetEvidence`).
- What it achieves (code): It copies pin (`copyPin`), creates waypoint guidance (`createWaypointGuidance`) and selects leg (`selectLeg`). Its `createWaypointGuidance` function gives guidance state with next target, distance, bearing, remaining distance and bounded deviation information from Geographical maths and compass modules, uniquely identified WGS84 pins, timestamped GPS fixes (VEDIC: follow waypoints).
- What it does: Defines 9 functions or classes, including copyPin, createWaypointGuidance, selectLeg, resetEvidence, suspend.
- Why it exists in the grid workflow: Domain stage field_execution (path 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: Coordinate systems named: WGS84 / EPSG:4326.
- Downstream impact: Used directly by 1 file: Orient17a Continuity Direct (gridatlas).
- Signatures: `export createWaypointGuidance(maths, compass)`; `copyPin(pin, ids)`; `selectLeg()`; `resetEvidence()`; `suspend(now = Date.now())`; `setRoute(pins)`; `snapshot(status, quality)`; `locate(fix, now = Date.now())`; `bearingToNext()`
- VEDIC: FOLLOW WAYPOINTS (GG2050-VEDIC-000097): SatNav · Location and navigation data. Geographical maths and compass modules, uniquely identified WGS84 pins, timestamped GPS fixes -> Guidance state with next target, distance, bearing, remaining distance and bounded deviation information.
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages []
- Edges: uses 3 estate files (import 3); used by 1; mentioned by 0
### Orient17a Ordered
- File: gridatlas/tools/satnav/guidance/orient17a-ordered.mjs (JavaScript, 122 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/guidance/orient17a-ordered.mjs#L1-L122
- Page: https://code.globalgrid2050.com/explore-code/s/0675.html#f4
- Synopsis: A JavaScript module in the guidance folder of GridAtlas that creates waypoint guidance (`createWaypointGuidance`), selects leg (`selectLeg`) and sets route (`setRoute`).
- What it achieves (code): It copies pin (`copyPin`), creates waypoint guidance (`createWaypointGuidance`) and selects leg (`selectLeg`). Its `createWaypointGuidance` function gives guidance state with next target, distance, bearing, remaining distance and bounded deviation information from Geographical maths and compass modules, uniquely identified WGS84 pins, timestamped GPS fixes (VEDIC: follow waypoints).
- What it does: Defines 7 functions or classes, including copyPin, createWaypointGuidance, selectLeg, setRoute, snapshot.
- Why it exists in the grid workflow: Domain stage field_execution (path 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: Coordinate systems named: WGS84 / EPSG:4326.
- Downstream impact: Used directly by 1 file: Orient17a Direct (gridatlas).
- Signatures: `export createWaypointGuidance(maths, compass)`; `copyPin(pin, ids)`; `selectLeg()`; `setRoute(pins)`; `snapshot(status, quality)`; `locate(fix, now = Date.now())`; `bearingToNext()`
- VEDIC: FOLLOW WAYPOINTS (GG2050-VEDIC-000097): SatNav · Location and navigation data. Geographical maths and compass modules, uniquely identified WGS84 pins, timestamped GPS fixes -> Guidance state with next target, distance, bearing, remaining distance and bounded deviation information.
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of gridatlas/tools/satnav/guidance/ordered.mjs) · essay_status: readme_derived
- data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages []
- Edges: uses 3 estate files (import 3); used by 1; mentioned by 0
### Orient17a V9212 Ordered
- File: gridatlas/tools/satnav/guidance/orient17a-v9212-ordered.mjs (JavaScript, 129 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/guidance/orient17a-v9212-ordered.mjs#L1-L129
- Page: https://code.globalgrid2050.com/explore-code/s/0675.html#f5
- Synopsis: A JavaScript module in the guidance folder of GridAtlas that creates waypoint guidance (`createWaypointGuidance`), selects leg (`selectLeg`) and resets evidence (`resetEvidence`).
- What it achieves (code): It copies pin (`copyPin`), creates waypoint guidance (`createWaypointGuidance`) and selects leg (`selectLeg`). Its `createWaypointGuidance` function gives guidance state with next target, distance, bearing, remaining distance and bounded deviation information from Geographical maths and compass modules, uniquely identified WGS84 pins, timestamped GPS fixes (VEDIC: follow waypoints).
- What it does: Defines 9 functions or classes, including copyPin, createWaypointGuidance, selectLeg, resetEvidence, suspend.
- Why it exists in the grid workflow: Domain stage field_execution (path 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: Coordinate systems named: WGS84 / EPSG:4326.
- Downstream impact: Used directly by 1 file: Orient17a V9212 Direct (gridatlas).
- Signatures: `export createWaypointGuidance(maths, compass)`; `copyPin(pin, ids)`; `selectLeg()`; `resetEvidence()`; `suspend(now = Date.now())`; `setRoute(pins,now=Date.now())`; `snapshot(status, quality)`; `locate(fix, now = Date.now())`; `bearingToNext()`
- VEDIC: FOLLOW WAYPOINTS (GG2050-VEDIC-000097): SatNav · Location and navigation data. Geographical maths and compass modules, uniquely identified WGS84 pins, timestamped GPS fixes -> Guidance state with next target, distance, bearing, remaining distance and bounded deviation information.
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of gridatlas/tools/satnav/guidance/orient17a-continuity-ordered.mjs) · essay_status: readme_derived
- data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages []
- Edges: uses 3 estate files (import 3); used by 1; mentioned by 0
### Layout Import
- File: gridatlas/tools/satnav/interchange/layout-import.mjs (JavaScript, 129 lines) · role ingest · stage transform
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/interchange/layout-import.mjs#L1-L129
- Page: https://code.globalgrid2050.com/explore-code/s/0676.html#f7
- Synopsis: A JavaScript module in the interchange folder of GridAtlas that checks reference system (`checkReferenceSystem`) and reads features (`readFeatures`), covering cables, using EPSG:4326.
- What it achieves (code): It checks reference system (`checkReferenceSystem`), reads features (`readFeatures`) and reads layout (`readLayout`). Its `readLayout` function gives validated survey layout features with geometry and role metadata from GeoJSON object or JSON text, supported layout schema and WGS84 coordinates (VEDIC: import engineering layout).
- What it does: Defines 6 functions or classes, including checkReferenceSystem, sourceFeature, readFeatures, readLayout, layoutChoices.
- Why it exists in the grid workflow: Domain stage field_execution (path 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: cables.
- Inputs & outputs: Coordinate systems named: WGS84 / EPSG:4326.
- Downstream impact: Used directly by 1 file: Layout Import Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `export readLayout(input)`; `export layoutChoices(layout)`; `export walkLayoutChoice(survey, layout, choice)`; `checkReferenceSystem(value)`; `sourceFeature(feature, nativeLayout = false)`; `readFeatures(doc)`
- VEDIC: IMPORT ENGINEERING LAYOUT (GG2050-VEDIC-000101): SatNav · Location and navigation data. GeoJSON object or JSON text, supported layout schema and WGS84 coordinates -> Validated survey layout features with geometry and role metadata.
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages []
- Edges: uses 2 estate files (import 2); used by 1; mentioned by 0
### Orient15 Recovery
- File: gridatlas/tools/satnav/line/orient15-recovery.mjs (JavaScript, 113 lines) · role transform · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/line/orient15-recovery.mjs#L1-L113
- Page: https://code.globalgrid2050.com/explore-code/s/0677.html#f3
- Synopsis: A JavaScript module in the line folder of GridAtlas that sets journey (`setJourney`). It creates recovery (`createRecovery`) and sets journey (`setJourney`).
- What it achieves (name): Defines `point`, `finite`, `createRecovery` and 19 more.
- What it does: It calculates its inputs. Defines 22 functions or classes, including point, finite, createRecovery, now, policy.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: Used directly by 1 file: Orient15 Recovery Test (gridatlas).
- Signatures: `export createRecovery({maths,provider=null,clock=Date.now,timeoutMs=8000,cooldownMs=10000})`; `point(p)`; `finite(n)`; `now()`; `policy()`; `usable(f,t)`; `clearOutput()`; `cancel()`; `clearRoute()`; `invalidate(next)`; `snapshot()`; `setJourney({mode:m,target:t,objective:o='shortest'})`; `start()`; `stop()`; `pause()`; `resume()`; `network(value)`; `requestRoute(t)`; `current()`; `evaluate(f,t)`; `dt(f.timestampMs-progress.time)`; `tick()`; `ingest(f)`
- 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 1 estate file (import 1); used by 1; mentioned by 0
### Orient16 Recovery
- File: gridatlas/tools/satnav/line/orient16-recovery.mjs (JavaScript, 120 lines) · role transform · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/line/orient16-recovery.mjs#L1-L120
- Page: https://code.globalgrid2050.com/explore-code/s/0678.html#f2
- Synopsis: A JavaScript module in the line folder of GridAtlas that sets journey (`setJourney`). It creates recovery (`createRecovery`) and sets journey (`setJourney`).
- What it achieves (name): Defines `point`, `finite`, `createRecovery` and 20 more.
- What it does: It calculates its inputs. Defines 23 functions or classes, including point, finite, createRecovery, now, policy.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: Used directly by 1 file: Orient16 Recovery Test (gridatlas).
- Signatures: `export createRecovery({maths,provider=null,clock=Date.now,timeoutMs=8000,cooldownMs=10000,maxAttempts=3})`; `point(p)`; `finite(n)`; `now()`; `policy()`; `usable(f,t)`; `clearOutput()`; `cancel()`; `clearRoute()`; `invalidate(next)`; `snapshot()`; `setJourney({mode:m,target:t,objective:o='shortest'})`; `start()`; `stop()`; `pause()`; `resume()`; `network(value)`; `requestRoute(t)`; `current()`; `close(a,b)`; `evaluate(f,t)`; `dt(f.timestampMs-progress.time)`; `tick()`; `ingest(f)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of gridatlas/tools/satnav/line/orient16-recovery-safe.mjs) · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 1; mentioned by 0
### Orient17a Heading Filter
- File: gridatlas/tools/satnav/orientation/orient17a-heading-filter.mjs (JavaScript, 39 lines) · role transform · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orientation/orient17a-heading-filter.mjs#L1-L39
- Page: https://code.globalgrid2050.com/explore-code/s/0680.html#f3
- Synopsis: A JavaScript module in the orientation folder of GridAtlas. It creates heading filter (`createHeadingFilter`) and is built from the norm step (`norm`) and the delta step (`delta`).
- What it achieves (comment): Heading filter with persistence-confirmed jumps and decaying accuracy inflation.
- What it does: It calculates its inputs. Defines 6 functions or classes, including norm, delta, createHeadingFilter, reset, inflate.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: Used directly by 1 file: Orient17a V9214 Compass Test (gridatlas).
- Signatures: `export createHeadingFilter({tauMs=300,jumpDeg=60,confirmMs=250,confirmDeg=25}={})`; `norm(d)`; `delta(a,b)`; `reset()`; `inflate(o,t)`; `push(o)`
- 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
### Orient17a Reference Wmm
- File: gridatlas/tools/satnav/orientation/orient17a-reference-wmm.mjs (JavaScript, 31 lines) · role transform · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orientation/orient17a-reference-wmm.mjs#L1-L31
- Page: https://code.globalgrid2050.com/explore-code/s/0680.html#f6
- Synopsis: A JavaScript module in the orientation folder of GridAtlas. It is built from the true heading from observation helper (`trueHeadingFromObservation`).
- What it achieves (comment): ORIENT-17A integration boundary: magnetic observation -> true heading.
- What it does: It calculates its inputs. Defines trueHeadingFromObservation.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: Used directly by 1 file: Wmm2025 Test (gridatlas).
- Signatures: `export trueHeadingFromObservation(observation, fix, now = Date.now())`
- 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 1 estate file (import 1); used by 1; mentioned by 0
### Orient17a V9211 Heading
- File: gridatlas/tools/satnav/orientation/orient17a-v9211-heading.mjs (JavaScript, 61 lines) · role transform · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orientation/orient17a-v9211-heading.mjs#L1-L61
- Page: https://code.globalgrid2050.com/explore-code/s/0680.html#f8
- Synopsis: A JavaScript module in the orientation folder of GridAtlas that creates heading filter (`createHeadingFilter`) and reference (`createReference`). It creates heading filter (`createHeadingFilter`) and creates reference (`createReference`).
- What it achieves (comment): Strict V9.211 acquisition boundary. No GPS-course substitution.
- What it does: It calculates its inputs. Defines 10 functions or classes, including norm, delta, eligibleObservation, createHeadingFilter, reset.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: Used directly by 1 file: Orient17a V9211 Heading Test (gridatlas).
- Signatures: `export eligibleObservation(event,frame,t)`; `export createHeadingFilter()`; `export createReference()`; `export stableLabel(g,previous)`; `norm(d)`; `delta(a,b)`; `reset()`; `push(o)`; `resolve(o,f,now=Date.now())`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of gridatlas/tools/satnav/orientation/orient17a-v9212-heading.mjs) · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 2 estate files (import 2); used by 1; mentioned by 1
### Orient17a V9212 Heading
- File: gridatlas/tools/satnav/orientation/orient17a-v9212-heading.mjs (JavaScript, 62 lines) · role transform · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orientation/orient17a-v9212-heading.mjs#L1-L62
- Page: https://code.globalgrid2050.com/explore-code/s/0680.html#f10
- Synopsis: A JavaScript module in the orientation folder of GridAtlas that creates heading filter (`createHeadingFilter`) and reference (`createReference`). It creates heading filter (`createHeadingFilter`) and creates reference (`createReference`).
- What it achieves (comment): Strict V9.211 acquisition boundary. No GPS-course substitution.
- What it does: It calculates its inputs. Defines 10 functions or classes, including norm, delta, eligibleObservation, createHeadingFilter, reset.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: Used directly by 1 file: Orient17a V9212 Test (gridatlas).
- Signatures: `export eligibleObservation(event,frame,t)`; `export createHeadingFilter()`; `export createReference()`; `export stableLabel(g,previous)`; `norm(d)`; `delta(a,b)`; `reset()`; `push(o)`; `resolve(o,f,now=Date.now())`
- 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 1; mentioned by 0
### Orient17a V9214 Event Clock
- File: gridatlas/tools/satnav/orientation/orient17a-v9214-event-clock.mjs (JavaScript, 16 lines) · role transform · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orientation/orient17a-v9214-event-clock.mjs#L1-L16
- Page: https://code.globalgrid2050.com/explore-code/s/0680.html#f14
- Synopsis: A JavaScript module in the orientation folder of GridAtlas that normalises event epoch to the integer wall-clock domain used by the GPS/reference gates. It creates event clock (`createEventClock`).
- What it achieves (name): Defines `createEventClock`, `reset` and `stamp`.
- What it does: It calculates its inputs. Defines createEventClock, reset, stamp.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: Used directly by 1 file: Orient17a V9214 Compass Test (gridatlas).
- Signatures: `export createEventClock({now=Date.now,origin=()=>performance.timeOrigin}={})`; `reset()`; `stamp(event)`
- 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
### SatNav Place
- File: gridatlas/tools/satnav/place.mjs (JavaScript, 27 lines) · role ingest · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/place.mjs#L1-L27
- Page: https://code.globalgrid2050.com/explore-code/s/0682.html#f5
- Synopsis: A JavaScript module in the tools folder of GridAtlas that parses destination (`parseDestination`) and builds destination (`buildDestination`). It parses destination (`parseDestination`) and builds destination (`buildDestination`).
- What it achieves (comment): Coordinate contract: GeoJSON order [longitude, latitude], WGS84.
- What it does: Defines coordinate, parseDestination, buildDestination.
- Why it exists in the grid workflow: Domain stage field_execution (path 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: Coordinate systems named: WGS84 / EPSG:4326.
- Downstream impact: Used directly by 1 file: Preview — Nav (satnav).
- Signatures: `export parseDestination(search)`; `export buildDestination({coordinates,mode='compass',name='',asset=null})`; `coordinate(value,max)`
- VEDIC: READ DESTINATION LINK (GG2050-VEDIC-000064): SatNav · Location and navigation data. url_query_string -> destination_record_or_null
- VEDIC: BUILD DESTINATION LINK (GG2050-VEDIC-000065): SatNav · Location and navigation data. longitude_latitude_degrees, mode_optional, name_optional, asset_source_and_id_optional -> navigation_query_string
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 1
### Valhalla Provider
- File: gridatlas/tools/satnav/regional/valhalla-provider.mjs (JavaScript, 41 lines) · role ingest · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/regional/valhalla-provider.mjs#L1-L41
- Page: https://code.globalgrid2050.com/explore-code/s/0682.html#f10
- Synopsis: A JavaScript module in the regional folder of GridAtlas that decodes shape (`decodeShape`) and creates regional provider (`createRegionalProvider`). It decodes shape (`decodeShape`) and creates regional provider (`createRegionalProvider`).
- What it achieves (comment): Controlled Valhalla adapter. No discovery, public demo endpoint, GPS watch or camera ownership.
- What it does: It lists and searches its content. Defines point, decodeShape, delta, createRegionalProvider, metres.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: Used directly by 1 file: Valhalla Provider Test (gridatlas).
- Signatures: `export decodeShape(s)`; `export createRegionalProvider({endpoint,graphRevision,maths,fetcher=globalThis.fetch,origin=globalThis.location?.origin}={})`; `point(p)`; `delta()`; `metres(a,b)`; `maneuvers(trip.legs[0].maneuvers??[])`
- 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
### Model
- File: gridatlas/tools/satnav/survey/model.mjs (JavaScript, 131 lines) · role transform · stage transform
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/survey/model.mjs#L1-L131
- Page: https://code.globalgrid2050.com/explore-code/s/0683.html#f4
- Synopsis: A JavaScript module in the survey folder of GridAtlas that tracks feature (`trackFeature`) and creates field survey (`createFieldSurvey`). It tracks feature (`trackFeature`) and creates field survey (`createFieldSurvey`).
- What it achieves (code): Its `createFieldSurvey` function gives survey session with recorded distance, track features, perimeter and role-labelled GeoJSON export from Fix-quality classifier, distance function, timestamped GPS fixes and planned WGS84 pins (VEDIC: conduct field survey).
- What it does: It calculates its inputs. Defines 14 functions or classes, including feature, trackFeature, coordinate, createFieldSurvey, start.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: Used directly by 1 file: Model Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `export createFieldSurvey({ fixQuality, distanceKm })`; `feature(id, role, geometry, properties = {})`; `trackFeature(segment, index)`; `coordinate(fix)`; `start()`; `pause()`; `resume()`; `stop()`; `ingest(fix, now = Date.now())`; `close(pins)`; `reopen()`; `measuredFeatures()`; `mapData()`; `exportData(pins)`
- VEDIC: CONDUCT FIELD SURVEY (GG2050-VEDIC-000099): SatNav · Location and navigation data. Fix-quality classifier, distance function, timestamped GPS fixes and planned WGS84 pins -> Survey session with recorded distance, track features, perimeter and role-labelled GeoJSON export.
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 3 estate files (import 3); used by 1; mentioned by 0
### Council Router
- File: gridatlas/tools/satnav/walk/council/council-router.mjs (JavaScript, 82 lines) · role ingest · stage ingest · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/council/council-router.mjs#L1-L82
- Page: https://code.globalgrid2050.com/explore-code/s/0684.html#f5
- Synopsis: A JavaScript module in the walk folder of GridAtlas that fetches bristol footpaths and mickleham footpaths, using SHA-256.
- What it achieves (comment): It reads mickleham sections (`readMicklehamSections`), creates pedestrian router (`createPedestrianRouter`) and loads pedestrian router (`loadPedestrianRouter`). Local, fixed council extracts. No endpoint or GPS fix is sent to a provider.
- What it does: It fetches bristol footpaths and mickleham footpaths. Defines readMicklehamSections, createPedestrianRouter, loadPedestrianRouter. Side effects: makes network requests.
- Why it exists in the grid workflow: Domain stage field_execution (path 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: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid).
- Downstream impact: Used directly by 1 file: Plan Test (gridatlas).
- Signatures: `export createPedestrianRouter({ bristol, mickleham }, maths)`; `export loadPedestrianRouter(maths)`; `readMicklehamSections(pack)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages []
- Edges: uses 1 estate file (import 1); used by 1; mentioned by 0
### Mapped Footpaths
- File: gridatlas/tools/satnav/walk/council/mapped-footpaths.mjs (JavaScript, 161 lines) · role ingest · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/council/mapped-footpaths.mjs#L1-L161
- Page: https://code.globalgrid2050.com/explore-code/s/0684.html#f6
- Synopsis: A JavaScript module in the council folder of GridAtlas that reads sections (`readSections`) and creates bristol footpath router (`createBristolFootpathRouter`) and mapped footpath router (`createMappedFootpathRouter`).
- What it achieves (comment): It reads sections (`readSections`), creates bristol footpath router (`createBristolFootpathRouter`) and creates mapped footpath router (`createMappedFootpathRouter`). The Bristol extract has section IDs and shapes but no cross-path junction IDs.
- What it does: It lists and searches its content. Defines 9 functions or classes, including same, valid, unavailable, readSections, consecutive.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: Used directly by 1 file: Council Router (gridatlas).
- Signatures: `export createBristolFootpathRouter(collection, maths)`; `export createMappedFootpathRouter(sections, maths, source)`; `same(a, b)`; `valid(p)`; `unavailable(reason)`; `readSections(collection)`; `consecutive(a, b)`; `chainsFor(routes, maths)`; `locate(point, chains, maths)`
- 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
### Direct Convergence 2km
- File: gridatlas/tools/satnav/walk/direct-convergence-2km.mjs (JavaScript, 53 lines) · role transform · stage transform
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/direct-convergence-2km.mjs#L1-L53
- Page: https://code.globalgrid2050.com/explore-code/s/0685.html#f1
- Synopsis: A JavaScript module in the walk folder of GridAtlas that creates direct walk (`createDirectWalk`) and sets targets (`setTargets`). It creates direct walk (`createDirectWalk`) and sets targets (`setTargets`).
- What it achieves (code): Its `createDirectWalk` function gives direct guidance session reporting choose, waiting, guiding or complete, with distance and bearing where available from Maths and compass modules, ordered targets and timestamped GPS fixes with accuracy (VEDIC: detect destination arrival).
- What it does: It calculates its inputs. Defines 6 functions or classes, including samePin, walkTargets, createDirectWalk, setTargets, restart.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: Used directly by 1 file: Convergence 2km Test (gridatlas). Reached from 3 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); CI PR Gate (gridatlas); Map Promotion Rehearsal (gridatlas).
- Signatures: `export walkTargets(pins, from, loop)`; `export createDirectWalk(maths, compass)`; `samePin(a, b)`; `setTargets(next)`; `restart()`; `locate(fix, now = Date.now())`
- VEDIC: DETECT DESTINATION ARRIVAL (GG2050-VEDIC-000102): SatNav · Location and navigation data. Maths and compass modules, ordered targets and timestamped GPS fixes with accuracy -> Direct guidance session reporting choose, waiting, guiding or complete, with distance and bearing where available.
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 2 estate files (import 2); used by 1; mentioned by 1
### Direct Convergence Unlimited
- File: gridatlas/tools/satnav/walk/direct-convergence-unlimited.mjs (JavaScript, 45 lines) · role transform · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/direct-convergence-unlimited.mjs#L1-L45
- Page: https://code.globalgrid2050.com/explore-code/s/0685.html#f2
- Synopsis: A JavaScript module in the walk folder of GridAtlas that creates direct walk (`createDirectWalk`) and sets targets (`setTargets`). It creates direct walk (`createDirectWalk`) and sets targets (`setTargets`).
- What it achieves (code): Its `createDirectWalk` function gives direct guidance session reporting choose, waiting, guiding or complete, with distance and bearing where available from Maths and compass modules, ordered targets and timestamped GPS fixes with accuracy (VEDIC: detect destination arrival).
- What it does: It calculates its inputs. Defines 6 functions or classes, including samePin, walkTargets, createDirectWalk, setTargets, restart.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: Used directly by 1 file: Distance Dock Proof (gridatlas).
- Signatures: `export walkTargets(pins, from, loop)`; `export createDirectWalk(maths, compass)`; `samePin(a, b)`; `setTargets(next)`; `restart()`; `locate(fix, now = Date.now())`
- VEDIC: DETECT DESTINATION ARRIVAL (GG2050-VEDIC-000102): SatNav · Location and navigation data. Maths and compass modules, ordered targets and timestamped GPS fixes with accuracy -> Direct guidance session reporting choose, waiting, guiding or complete, with distance and bearing where available.
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of gridatlas/tools/satnav/walk/direct.mjs) · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 1; mentioned by 0
### Observations
- File: gridatlas/tools/satnav/walk/gate/jobs/observations.mjs (JavaScript, 64 lines) · role transform · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/gate/jobs/observations.mjs#L1-L64
- Page: https://code.globalgrid2050.com/explore-code/s/0686.html#f4
- Synopsis: A JavaScript module in the jobs folder of GridAtlas that creates gate log (`createGateLog`).
- What it achieves (comment): It creates gate log (`createGateLog`) and is built from the append step (`append`) and the start step (`start`). Observations are held only for this page and included in an explicit survey export.
- What it does: It calculates its inputs. Defines 6 functions or classes, including createGateLog, append, start, observe, stop.
- Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): 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: Controls (gridatlas).
- Signatures: `export createGateLog(generation, userAgent, platform)`; `append(event, data = {})`; `start(plan, road, action)`; `observe(fix, result, assetName)`; `stop(reason)`; `snapshot(device, safariVersion)`
- 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
### Plan
- File: gridatlas/tools/satnav/walk/gate/jobs/plan.mjs (JavaScript, 68 lines) · role transform · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/gate/jobs/plan.mjs#L1-L68
- Page: https://code.globalgrid2050.com/explore-code/s/0686.html#f5
- Synopsis: A JavaScript module in the jobs folder of GridAtlas that prepares gate job (`prepareGateJob`). It prepares gate job (`prepareGateJob`).
- What it achieves (name): Defines `label`, `point` and `prepareGateJob`.
- What it does: It calculates its inputs. Defines label, point, prepareGateJob.
- Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): 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: Coordinate systems named: WGS84 / EPSG:4326.
- Downstream impact: Used directly by 1 file: Plan Test (gridatlas).
- Signatures: `export prepareGateJob(doc, maths, compass)`; `label(value, field)`; `point(value, field)`; `angle(roadsideBearing - bearing)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages []
- Edges: uses 1 estate file (import 1); used by 1; mentioned by 0
### Orient17a Continuity Direct
- File: gridatlas/tools/satnav/walk/orient17a-continuity-direct.mjs (JavaScript, 53 lines) · role transform · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/orient17a-continuity-direct.mjs#L1-L53
- Page: https://code.globalgrid2050.com/explore-code/s/0687.html#f6
- Synopsis: A JavaScript module in the walk folder of GridAtlas that creates direct walk (`createDirectWalk`) and sets targets (`setTargets`). It creates direct walk (`createDirectWalk`) and sets targets (`setTargets`).
- What it achieves (code): Its `createDirectWalk` function gives direct guidance session reporting choose, waiting, guiding or complete, with distance and bearing where available from Maths and compass modules, ordered targets and timestamped GPS fixes with accuracy (VEDIC: detect destination arrival).
- What it does: It calculates its inputs. Defines 7 functions or classes, including samePin, walkTargets, createDirectWalk, setTargets, restart.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: Used directly by 1 file: Orient17a Continuity Test (gridatlas).
- Signatures: `export walkTargets(pins, from, loop)`; `export createDirectWalk(maths, compass)`; `samePin(a, b)`; `setTargets(next)`; `restart()`; `suspend(now = Date.now())`; `locate(fix, now = Date.now())`
- VEDIC: DETECT DESTINATION ARRIVAL (GG2050-VEDIC-000102): SatNav · Location and navigation data. Maths and compass modules, ordered targets and timestamped GPS fixes with accuracy -> Direct guidance session reporting choose, waiting, guiding or complete, with distance and bearing where available.
- 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 1; mentioned by 0
### Viewport Query
- File: gridatlas/tools/secondary/viewport-query.mjs (JavaScript, 30 lines) · role storage · stage ingest
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/secondary/viewport-query.mjs#L1-L30
- Page: https://code.globalgrid2050.com/explore-code/s/0691.html#f3
- Synopsis: A JavaScript module in the secondary folder of GridAtlas that reads grid UK Power Networks (UKPN) secondary.
- What it achieves (comment): It is built from the viewport bounds helper (`viewportBounds`), the outward step (`outward`) and the viewport SQL helper (`viewportSQL`). G203-05: bounded query candidate for the existing pinned map Parquet. It reads `grid_ukpn_secondary.parquet`.
- What it does: It loads grid UKPN secondary. Defines viewportBounds, outward, viewportSQL, includesPoint. Side effects: uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: Parquet file grid_ukpn_secondary.parquet.
- Downstream impact: Used directly by 1 file: Viewport Query Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `export viewportBounds(west,south,east,north,padding=0.15)`; `export viewportSQL(west,south,east,north,padding=0.15)`; `export includesPoint(b,lon,lat)`; `latitudePad(north-south)`; `outward(a,z)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [Parquet file grid_ukpn_secondary.parquet]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Single-Line Diagram (SLD) Retire GridAtlas Layout
- File: gridatlas/tools/sld/retire-gridatlas-layout.mjs (JavaScript, 53 lines) · role storage · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/sld/retire-gridatlas-layout.mjs#L1-L53
- Page: https://code.globalgrid2050.com/explore-code/s/0449.html#f7
- Synopsis: A JavaScript module in the tools folder that reads substations. It is built from the retire layout helper (`retireLayout`) and the exact step (`exact`).
- What it achieves (comment): Surgical no-layout derivative from immutable V9.191 SLD carrier.
- What it does: It loads substations. Defines retireLayout, exact. Uses libraries node:fs, node:path, node:url. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'layout'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: substations.
- Inputs & outputs: In: command-line arguments.
- Downstream impact: Used directly by 1 file: Single-Line Diagram (SLD) Sandbox Proof (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `export retireLayout(source)`; `exact(a,b,description)`
- domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [command-line arguments]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Learning Networks
- File: gridatlas/tools/train/fixtures/learning-networks.mjs (JavaScript, 15 lines) · role transform · stage transform
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/train/fixtures/learning-networks.mjs#L1-L15
- Page: https://code.globalgrid2050.com/explore-code/s/0449.html#f8
- Synopsis: A JavaScript module in the fixtures folder of GridAtlas that works with train learning fixture (`trainLearningFixture`). It is built from the train learning fixture helper (`trainLearningFixture`).
- What it achieves (comment): Original fictional teaching networks; no railway geography, names or artwork.
- What it does: It calculates its inputs. Defines trainLearningFixture.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Downstream impact: Used directly by 1 file: Route Plan Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `export trainLearningFixture(kind = 'local')`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Itinerary
- File: gridatlas/tools/train/src/itinerary.mjs (JavaScript, 54 lines) · role transform · stage transform
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/train/src/itinerary.mjs#L1-L54
- Page: https://code.globalgrid2050.com/explore-code/s/0691.html#f9
- Synopsis: A JavaScript module in the train folder of GridAtlas that sets law (`setLaw`) and normalises journey law (`normaliseJourneyLaw`). It copies station (`copyStation`), sets law (`setLaw`) and normalises journey law (`normaliseJourneyLaw`).
- What it achieves (comment): Selected stops, including endpoints. Intermediate traversal nodes are not stored here.
- What it does: It calculates its inputs. Defines 9 functions or classes, including createItinerary, copyStation, selectedStation, snapshot, setLaw.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Downstream impact: Used directly by 1 file: Route Plan Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `export createItinerary({mode = 'journey', stationIndex, scenarioStore = null, law: initialLaw = {}} = {})`; `export normaliseJourneyLaw(value = {})`; `copyStation(row)`; `selectedStation(stop)`; `snapshot()`; `setLaw(value)`; `position(value)`; `insert(stop,index=stops.length)`; `replace(value,stop)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 1; mentioned by 0
### Scenario Stations
- File: gridatlas/tools/train/src/scenario-stations.mjs (JavaScript, 9 lines) · role transform · stage transform
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/train/src/scenario-stations.mjs#L1-L9
- Page: https://code.globalgrid2050.com/explore-code/s/0692.html#f2
- Synopsis: A JavaScript module in the train folder of GridAtlas that creates scenario station store (`createScenarioStationStore`) (units: kV).
- What it achieves (comment): It creates scenario station store (`createScenarioStationStore`) and is built from the clone step (`clone`). Session-owned drawing input. Never an official station, inventory or connection.
- What it does: It calculates its inputs. Defines createScenarioStationStore, clone.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Downstream impact: Used directly by 1 file: Route Plan Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `export createScenarioStationStore({sessionId=globalThis.crypto?.randomUUID?.()}={})`; `clone(row)`; `record(id,value)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 1; mentioned by 0
### Train Motion
- File: gridatlas/tools/train/src/train-motion.mjs (JavaScript, 181 lines) · role render · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/train/src/train-motion.mjs#L1-L181
- Page: https://code.globalgrid2050.com/explore-code/s/0692.html#f4
- Synopsis: A JavaScript module in the tools folder of GridAtlas that maps substations. It creates train ride (`createTrainRide`), paints cursor (`paintCursor`) and sets plan (`setPlan`).
- What it achieves (comment): Native MapLibre learning cursor. Travel direction is never electrical flow.
- What it does: It maps substations. Defines 25 functions or classes, including createTrainRide, state, notify, collection, point.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations.
- Downstream impact: Used directly by 1 file: Train Motion Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `state()`; `notify()`; `collection(features)`; `point(at, properties = {})`; `cancel()`; `schedule()`; `pause()`; `cancelRetry()`; `waitForStyle()`; `ensure()`; `add(spec)`; `position()`; `paint()`; `paintCursor()`; `tick(time)`; `setPlan(next)`; `play(options = {})`; `seekStop(index)`; `step()`; `stopData(stops)`; `clearPlan({stops=[]}={})`; `styleReload()`; `removed()`; `destroy()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Compiler
- File: gridatlas/tools/v9_5/compiler.py (Python, 276 lines) · role render · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/v9_5/compiler.py#L1-L276
- Page: https://code.globalgrid2050.com/explore-code/s/0695.html#f2
- Synopsis: A Python module in the tools folder of GridAtlas covering postcodes and the Renewable Energy Planning Database (REPD) register, using SHA-256, and uses data from postcodes.io and OpenStreetMap Nominatim.
- What it achieves (comment): It replaces once (`replace_once`), loads JSON (`load_json`) and dumps JSON (`dump_json`). Deterministic source transformations for GridAtlas v9.5.
- What it does: It draws postcodes and the REPD register. Defines 6 functions or classes, including sha256_bytes, replace_once, regex_replace_once, load_json, dump_json. Uses libraries __future__, hashlib, json, re, pathlib. Side effects: changes the web page (DOM); reads or writes files; makes network requests.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: postcodes, the REPD register.
- Inputs & outputs: In: data source: postcodes.io; data source: OpenStreetMap Nominatim.
- Downstream impact: Used directly by 1 file: Build V9 5 (gridatlas).
- Signatures: `sha256_bytes(data: bytes)`; `replace_once(text: str, old: str, new: str, label: str)`; `regex_replace_once(text: str, pattern: str, replacement: str, label: str)`; `load_json(path: Path)`; `dump_json(path: Path, value: Any)`; `compile_cartridge(source: str, generation: str)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [data source: postcodes.io; data source: OpenStreetMap Nominatim]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Document Context
- File: gridatlas/tools/vicinity/src/document-context.mjs (JavaScript, 94 lines) · role transform · stage transform
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vicinity/src/document-context.mjs#L1-L94
- Page: https://code.globalgrid2050.com/explore-code/s/0697.html#f5
- Synopsis: A JavaScript module in the vicinity folder of GridAtlas that works with notice, the Renewable Energy Planning Database (REPD) register and substations, using SHA-256.
- What it achieves (comment): It is built from the freeze document context helper (`freezeDocumentContext`), the document origin helper (`documentOrigin`) and the document context for helper (`documentContextFor`). Existing documentary context only. No fetch, name matching or spatial joins.
- What it does: It calculates notice, the REPD register and substations. Defines freezeDocumentContext, documentOrigin, documentContextFor.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, substations.
- Inputs & outputs: In: JSON file notice.json.
- Downstream impact: Used directly by 1 file: Document Context Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `export documentContextFor(origin, {declaredConnections} = {})`; `freezeDocumentContext(value)`; `documentOrigin(origin)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file notice.json]; out []; crs []; voltages []
- Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0
### Streaming Parquet Bridge V9 5
- File: gridatlas/atlas/cartridges/202610230100-streaming-parquet-bridge-v9-5.js (JavaScript, 336 lines) · role interaction · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/cartridges/202610230100-streaming-parquet-bridge-v9-5.js#L1-L336
- Page: https://code.globalgrid2050.com/explore-code/s/0517.html#f3
- Synopsis: A JavaScript file in the cartridges folder of GridAtlas that reads grid 400kV, grid 275kV, grid 220kV and grid 132kV, using SHA-256 from the data-GridAtlas repository.
- What it achieves (name): It maps ready key (`mapReadyKey`), gets manifest (`getManifest`) and gets runtime (`getRuntime`). Defines `invariant`, `requestPath`, `mapReadyKey` and 13 more. It responds to abort events.
- What it does: It loads grid 400kV, grid 275kV, grid 220kV and grid 132kV. Defines 16 functions or classes, including invariant, requestPath, mapReadyKey, legacyStem, sha256Hex. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: data source: data-gridatlas data; GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_substations.geojson; GeoJSON file power_plants.geojson.
- Signatures: `invariant(condition, message)`; `requestPath(input)`; `mapReadyKey(pathname)`; `legacyStem(pathname)`; `sha256Hex(bytes)`; `getManifest()`; `sharedDuckDBRuntime(moduleUrl)`; `getRuntime()`; `scheduleRuntimePrewarm()`; `start()`; `resolvePartition(pathname)`; `artifact(manifest.artifacts || [])`; `rowObject(row)`; `queryOnDemand(pathname)`; `abort()`; `cancel()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [data source: data-gridatlas data; GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_substations.geojson; GeoJSON file power_plants.geojson]; out []; crs []; voltages []
- Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0
### Single-Line Diagram (SLD) Sandbox V9 8
- File: gridatlas/atlas/cartridges/202611180026-sld-sandbox-v9-8.js (JavaScript, 9047 lines) · role geodesy · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/cartridges/202611180026-sld-sandbox-v9-8.js#L1-L9047
- Page: https://code.globalgrid2050.com/explore-code/s/0370.html#f2
- Synopsis: A JavaScript file in the cartridges folder of GridAtlas that maps connection points, GB transmission network, price decade rollup and grid substations, using haversine.
- What it achieves (comment): It creates compute observer (`createComputeObserver`), describes compute receipt (`describeComputeReceipt`) and builds stats (`buildStats`). Receipt and distance owner: Ventusltd/ventus-grid-engine. Its code works with 400 kV, 132 kV and 33 kV. It responds to click, keydown and touchstart events.
- What it does: It maps connection points, GB transmission network, price decade rollup and grid substations. Defines 276 functions or classes, including distanceKm, distanceKm, representativePoint, voltagesKv, destinationPoint. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: 750kV, 415kV, 400kV, 275kV, 220kV, 132kV.
- Inputs & outputs: In: JSON file connection-points.v3.json; JSON file gb-transmission-network.v1.json; JSON file price-decade-rollup.json; GeoJSON file grid_substations.geojson; JSON file neso-connection-sites.lean.json; GeoJSON file interconnectors.geojson; browser storage (getItem); DuckDB queries. Out: browser storage (setItem); interactive map. Coordinate systems named: WGS84 / EPSG:4326. Voltage levels named: 750kV, 415kV, 400kV, 275kV, 220kV, 132kV, 110kV, 66kV.
- Signatures: `distanceKm(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `dLon(lon2 - lon1)`; `representativePoint(geometry)`; `voltagesKv(properties)`; `destinationPoint(lon, lat, km, bearingDeg)`; `initialBearingDeg(lon1, lat1, lon2, lat2)`; `dl(lon2 - lon1)`; `copy(value)`; `finite(value)`; `located(point)`; `sameLocation(a, b)`; `sameEntity(a, b)`; `createComputeObserver({ onEvent = () => {}, now = () => Date.now() } = {})`; `publish(attempt, status, extra = {})`; `get(id)`; `request({ entity, location = null, operation = 'nearest-grid', dataset = null })`; `unsupported(id, reason)`; `run(id, compute)`; `snapshot(id = latest)`; `assess(id, expected)`; `describeComputeReceipt(receipt)`; `NS(window.__GRIDATLAS_MODULES__ = window.__GRIDATLAS_MODULES__ || {})`; `classOf(kv)`; `scope(origin, substations, options)` (and 15 more)
- VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km
- VEDIC: REPRESENT (GG2050-VEDIC-000002): GridAtlas / Geodesy · Computer science / Geometry processing. geojson_geometry -> coordinate_pair_or_null
- VEDIC: VOLTAGE (GG2050-VEDIC-000003): GridAtlas / Geodesy · Computer science / Data normalisation. voltage_properties -> kilovolt_list
- domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file connection-points.v3.json; JSON file gb-transmission-network.v1.json; JSON file price-decade-rollup.json; GeoJSON file grid_substations.geojson; JSON file neso-connection-sites.lean.json; GeoJSON file interconnectors.geojson; browser storage (getItem); DuckDB queries]; out [browser storage (setItem); interactive map]; crs [WGS84 / EPSG:4326]; voltages [750kV, 415kV, 400kV, 275kV, 220kV, 132kV, 110kV, 66kV]
- Edges: uses 0 estate files; used by 0; mentioned by 1
### Codex Proof
- File: gridatlas/atlas/codex/202609020010/proof.mjs (JavaScript, 112 lines) · role storage · stage ingest · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/codex/202609020010/proof.mjs#L1-L112
- Page: https://code.globalgrid2050.com/explore-code/s/0519.html#f5
- Published at: https://gridatlas.globalgrid2050.com/atlas/codex/202609020010/
- Synopsis: A JavaScript module in the atlas folder of GridAtlas that fetches route, using SHA-256. Served with the page at https://gridatlas.globalgrid2050.com/atlas/codex/202609020010/.
- What it achieves (name): Defines `git`, `check` and `walk`.
- What it does: It fetches route. Defines git, check, walk. Uses libraries node:crypto, node:child_process, node:fs/promises, node:path, node:url. Side effects: reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief).
- Inputs & outputs: In: JSON file route-manifest.json; browser IndexedDB.
- Signatures: `git(...args)`; `check(label, condition)`; `walk(dir)`
- domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file route-manifest.json; browser IndexedDB]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Grid Scope
- File: gridatlas/atlas/modules/202609012040-grid-scope.js (JavaScript, 165 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609012040-grid-scope.js#L1-L165
- Page: https://code.globalgrid2050.com/explore-code/s/0521.html#f3
- Synopsis: A JavaScript file in the atlas folder of GridAtlas covering substations, using haversine. It is built from the class of helper (`classOf`) and the scope step (`scope`).
- What it achieves (comment): "When you click on a blank space, the user should be able to see grid in the vicinity. Its code works with 110 kV, 132 kV and 50 kV.
- What it does: It lists and searches substations. Defines classOf, scope. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 750kV, 132kV, 110kV, 50kV.
- Inputs & outputs: Voltage levels named: 750kV, 132kV, 110kV, 50kV.
- Signatures: `NS(window.__GRIDATLAS_MODULES__ = window.__GRIDATLAS_MODULES__ || {})`; `classOf(kv)`; `scope(origin, substations, options)`; `bandsKm(options && options.bandsKm)`; `minimumKv(options && options.minimumKv)`; `nearestCount(options && options.nearestCount)`; `voltages(Array.isArray(substation.kv) ? substation.kv : [])`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages [750kV, 132kV, 110kV, 50kV]
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Map Click Network
- File: gridatlas/atlas/modules/202609012230-map-click-network.js (JavaScript, 57 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609012230-map-click-network.js#L1-L57
- Page: https://code.globalgrid2050.com/explore-code/s/0395.html#f3
- Synopsis: A JavaScript file in the atlas folder of GridAtlas covering transformers and interconnectors. It is built from the index step (`index`) and the select step (`select`).
- What it achieves (comment): Reads data-grid-GB's precomputed, provenance-bound one-hop projection.
- What it does: It lists and searches transformers and interconnectors. Defines index, at, select. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers, interconnectors.
- Signatures: `NS(window.__GRIDATLAS_MODULES__ = window.__GRIDATLAS_MODULES__ || {})`; `index(product)`; `at(siteCode, { connectionKv } = {})`; `select(rows)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Source Registry
- File: gridatlas/atlas/modules/202609012245-source-registry.js (JavaScript, 163 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609012245-source-registry.js#L1-L163
- Page: https://code.globalgrid2050.com/explore-code/s/0523.html#f3
- Synopsis: A JavaScript file in the atlas folder of GridAtlas covering substations and transformers. It is built from the survey step (`survey`) and the ready step (`ready`).
- What it achieves (comment): "Click anywhere on a map and the neons that already work via Pipeline News look for cartridges and code." — Vikram, .
- What it does: It lists and searches substations and transformers. Defines survey, ready. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, transformers.
- Signatures: `NS(window.__GRIDATLAS_MODULES__ = window.__GRIDATLAS_MODULES__ || {})`; `survey(scope)`; `ready(id, scope)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Planned Change
- File: gridatlas/atlas/modules/202609012345-planned-change.js (JavaScript, 323 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609012345-planned-change.js#L1-L323
- Page: https://code.globalgrid2050.com/explore-code/s/0524.html#f2
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that works with status rank (`statusRank`) and year rank (`yearRank`) (units: kV, MVA), covering transformers.
- What it achieves (comment): It is built from the as string helper (`asString`), the as number helper (`asNumber`) and the status rank helper (`statusRank`). What the network operator has PUBLISHED as planned for the circuits and transformers that touch one site: additions, changes and removals, by the year they are published against. Its code works with 100 MVA.
- What it does: It lists and searches transformers. Defines 8 functions or classes, including asString, asNumber, statusRank, yearRank, publishedToday. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers.
- Signatures: `asString(v)`; `asNumber(v)`; `statusRank(status)`; `yearRank(year)`; `publishedToday(graph, nearNode, farNode)`; `index(product)`; `describe(landing, nearNode)`; `at(key, options)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Owner Boundary
- File: gridatlas/atlas/modules/202609012350-owner-boundary.js (JavaScript, 354 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609012350-owner-boundary.js#L1-L354
- Page: https://code.globalgrid2050.com/explore-code/s/0525.html#f1
- Synopsis: A JavaScript file in the atlas folder of GridAtlas covering transformers.
- What it achieves (comment): It is built from the as string helper (`asString`), the as number helper (`asNumber`) and the band key helper (`bandKey`). Which transmission owner the published assets at a site belong to, and which circuits cross from one owner's network into another's.
- What it does: It lists and searches transformers. Defines 12 functions or classes, including asString, asNumber, bandKey, index, ownerOfNode. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers.
- Signatures: `asString(v)`; `asNumber(v)`; `bandKey(kv)`; `index(product)`; `ownerOfNode(name)`; `relation(nearOwner, farOwner)`; `describe(entry, nearNode)`; `at(key, options)`; `band(kv)`; `count(b, owner, what)`; `byPair(list)`; `boundaries()`; `o(node && asString(node.transmission_owner))`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Injection Response
- File: gridatlas/atlas/modules/202609020015-injection-response.js (JavaScript, 568 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609020015-injection-response.js#L1-L568
- Page: https://code.globalgrid2050.com/explore-code/s/0526.html#f1
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that makes union find (`makeUnionFind`) (units: MW, MVA, kV), covering transformers and 400kV.
- What it achieves (name): It makes union find (`makeUnionFind`) and is built from the bus of helper (`busOf`) and the component of helper (`componentOf`). Defines `makeUnionFind`, `find`, `assemble` and 7 more. Its code works with 400 kV, 190 MW and 100 MVA.
- What it does: Defines 10 functions or classes, including makeUnionFind, find, assemble, busOf, componentOf. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers, 400kV.
- Inputs & outputs: Voltage levels named: 400kV.
- Signatures: `makeUnionFind()`; `find(x)`; `union(a, b)`; `assemble(graph, nodeNames, { voltageKv, includeTransformers })`; `busOf(name)`; `componentOf(bus)`; `multiply(model, x, slackIndex)`; `solve(model, injection, slackIndex, tolerance, maxIterations)`; `sinkFor(model, atNode)`; `respond(model, options)`; `flowPu(solved.theta[e.i] - solved.theta[e.j])`; `modelFor(index, options)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages [400kV]
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Pipeline News Layers
- File: gridatlas/atlas/modules/202609030048-pipeline-news-layers.js (JavaScript, 479 lines) · role energy-data · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609030048-pipeline-news-layers.js#L1-L479
- Page: https://code.globalgrid2050.com/explore-code/s/0527.html#f1
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps the Renewable Energy Planning Database (REPD) register, solar, wind and battery storage (BESS).
- What it achieves (comment): It reads register source (`readRegisterSource`), loads register (`loadRegister`) and reads selection (`readSelection`). A PIPELINE NEWS (REPD) section in the layer dashboard, beside TOPOLOGY, ASSETS and TRANSIT, that summons the rest of the pipeline around whatever project is currently selected. It responds to change events.
- What it does: It maps the REPD register, solar, wind and battery storage (BESS). Defines 17 functions or classes, including note, readRegisterSource, primeRegister, loadRegister, readSelection. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, wind, battery storage (BESS).
- Inputs & outputs: Out: interactive map.
- Signatures: `NS(window.__GRIDATLAS_MODULES__ = window.__GRIDATLAS_MODULES__ || {})`; `note(message)`; `readRegisterSource(map)`; `coordinates(feature.geometry || {})`; `primeRegister()`; `loadRegister(map)`; `readSelection(map)`; `name(features[0].properties || {})`; `near(rows, selection)`; `collection(rows)`; `setSourceData(map, id, data)`; `ensureLayers(map, control)`; `properties(event.features && event.features[0] || {})`; `escapeHtml(value)`; `setVisibility(map, control, visible)`; `labelFor(control, count, selection)`; `paintLabels(selection)`; `refresh(map, control)`; `buildGroup(container, isFullscreen)`; `bind(map, container)`; `install()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out [interactive map]; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Pinned Products
- File: gridatlas/atlas/modules/202609030137-pinned-products.js (JavaScript, 176 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609030137-pinned-products.js#L1-L176
- Page: https://code.globalgrid2050.com/explore-code/s/0527.html#f2
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that works with digest bytes and digest hex, covering connection points, GB transmission network, price decade rollup and transformers, using SHA-256.
- What it achieves (comment): It is built from the pin step (`pin`), the URL step (`url`) and the encode step (`encode`). Pinned-products - the runtime data this Atlas reads, by commit and by digest.
- What it does: Defines 6 functions or classes, including pin, url, encode, digestBytes, digestHex. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers.
- Inputs & outputs: In: JSON file connection-points.v3.json; JSON file gb-transmission-network.v1.json; JSON file price-decade-rollup.json.
- Signatures: `pin(id)`; `url(id)`; `encode(text)`; `digestBytes(bytes)`; `subtle(window.crypto || {})`; `digestHex(text)`; `verify(id, text)`; `NS(window.__GRIDATLAS_MODULES__ = window.__GRIDATLAS_MODULES__ || {})`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file connection-points.v3.json; JSON file gb-transmission-network.v1.json; JSON file price-decade-rollup.json]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Technology Coverage
- File: gridatlas/atlas/modules/202609031310-technology-coverage.js (JavaScript, 279 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609031310-technology-coverage.js#L1-L279
- Page: https://code.globalgrid2050.com/explore-code/s/0528.html#f2
- Synopsis: A JavaScript module in the atlas folder of GridAtlas that works with named offshore and wider fleet names, covering grid substations, the Renewable Energy Planning Database (REPD) register and wind.
- What it achieves (name): It is built from the bucket of helper (`bucketOf`), the named offshore helper (`namedOffshore`) and the wider fleet names helper (`widerFleetNames`). Defines `bucketOf`, `policy`, `namedOffshore` and 3 more. Its code works with 220 kV, 33 kV and 132 kV.
- What it does: It lists and searches grid substations, the REPD register, wind and cables. Defines 6 functions or classes, including bucketOf, policy, namedOffshore, widerFleetNames, widerFleetBuckets. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, wind, cables, 400kV, 275kV, 220kV.
- Inputs & outputs: Voltage levels named: 400kV, 275kV, 220kV, 132kV, 33kV.
- Signatures: `bucketOf(tech)`; `policy(tech)`; `namedOffshore(name)`; `widerFleetNames()`; `widerFleetBuckets()`; `measuredCount()`; `NS(window.__GRIDATLAS_MODULES__ = window.__GRIDATLAS_MODULES__ || {})`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages [400kV, 275kV, 220kV, 132kV, 33kV]
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Arrival Tidy
- File: gridatlas/atlas/modules/202609032220-arrival-tidy.js (JavaScript, 94 lines) · role interaction · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609032220-arrival-tidy.js#L1-L94
- Page: https://code.globalgrid2050.com/explore-code/s/0528.html#f3
- Synopsis: A JavaScript file in the atlas folder of GridAtlas. It is built from the tidy step (`tidy`), the retire step (`retire`) and the watch step (`watch`).
- What it achieves (comment): The search machinery gets out of the way once it has answered. It responds to focus, input and DOMContentLoaded events.
- What it does: Defines tidy, retire, watch. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Signatures: `tidy()`; `retire()`; `watch()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Single-Line Diagram (SLD) Styles
- File: gridatlas/atlas/modules/202609040400-sld-styles.js (JavaScript, 301 lines) · role electrical · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609040400-sld-styles.js#L1-L301
- Page: https://code.globalgrid2050.com/explore-code/s/0396.html#f2
- Synopsis: A JavaScript file in the atlas folder of GridAtlas.
- What it achieves (comment): SLD runtime styles, mechanically lifted from the v9.106 sandbox body.
- What it does: Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary.
- Signatures: `NS(window.__GRIDATLAS_MODULES__ = window.__GRIDATLAS_MODULES__ || {})`; `neonBlock(BLOCK_CLASS)`; `bootStatus(STATUS_ID)`; `versionLedger(LEDGER_ID)`; `mobileTray(TRAY_ID)`; `gbConditions(GB_ID)`; `sldPanel(PANEL_ID)`; `fullscreenLayers()`
- domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Teleprint Controls
- File: gridatlas/atlas/modules/202609051624-teleprint-controls.js (JavaScript, 1238 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609051624-teleprint-controls.js#L1-L1238
- Page: https://code.globalgrid2050.com/explore-code/s/0529.html#f1
- Synopsis: A JavaScript file in the atlas folder of GridAtlas covering the Renewable Energy Planning Database (REPD) register, using SHA-256 and uses data from the npm repository.
- What it achieves (comment): It stops tracks (`stopTracks`), reads text (`readText`) and collects source code (`collectSourceCode`). Built by `teleprinter/drivers/gridatlas/build-part.mjs` from the drivers in that directory, which are where any change belongs. Its code works with 400 kV. It responds to click events.
- What it does: It draws the REPD register. Defines 27 functions or classes, including stopTracks, pixelsFromSource, fromDisplay, screenFrame, bytes. Side effects: changes the web page (DOM); makes network requests.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, 400kV.
- Inputs & outputs: In: data source: npm data. Out: canvas drawing; SVG drawing. Voltage levels named: 400kV.
- Signatures: `stopTracks(stream)`; `pixelsFromSource(source, width, height)`; `fromDisplay()`; `screenFrame({ capture } = {})`; `bytes(text)`; `join(parts)`; `pdfString(text)`; `deflate(data)`; `screenPdf(frame, note = {})`; `printPdf({ capture, note = {}, filename } = {})`; `textual(url, type)`; `readText(url)`; `screenState()`; `text((label && label.textContent) || node.name || node.id || '')`; `discover()`; `add(url, how)`; `collectSourceCode({ appName = 'GridAtlas', inlineDom = true } = {})`; `missing(targets.overflow || [])`; `downloadText(text, filename)`; `showTeleprintPanel(text, filename, parts)`; `prepareSourceCode(options = {})`; `deliverSourceCode(collected, { prefer, panel = true } = {})`; `printSourceCode(options = {})`; `statusLine(anchor)`; `say(text)` (and 3 more)
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [data source: npm data]; out [canvas drawing; SVG drawing]; crs []; voltages [400kV]
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Popup Viewport
- File: gridatlas/atlas/modules/202609241334-popup-viewport.js (JavaScript, 67 lines) · role interaction · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609241334-popup-viewport.js#L1-L67
- Page: https://code.globalgrid2050.com/explore-code/s/0530.html#f2
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that keeps ordinary feature cards clear of the fixed search/menu controls.
- What it achieves (name): Defines `fit` and `schedule`. It responds to resize events.
- What it does: Defines fit, schedule. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Signatures: `fit()`; `schedule()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### UK Lightning Overlay
- File: gridatlas/atlas/modules/202610291043-uk-lightning-overlay.js (JavaScript, 401 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202610291043-uk-lightning-overlay.js#L1-L401
- Page: https://code.globalgrid2050.com/explore-code/s/0531.html#f1
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps Renewable Energy Planning Database (REPD) projects and REPD master, using SHA-256, and uses data from the lightning repository.
- What it achieves (comment): EUMETSAT MTG LI L2-LFL optical flashes, OFF by default, never persisted; NOT confirmed ground strikes; unsearched is unknown, never zero. Its code works with 0 MW. It responds to click, toggle and change events.
- What it does: It maps REPD projects, REPD master, the REPD register and substations. Defines q. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, substations.
- Inputs & outputs: In: data source: lightning data; GeoJSON file uk_lightning.geojson; JSON file index.json; Parquet file repd_projects_202608290716.parquet; JSON file repd_v9_manifest_202608290716.json; JSON file repd_master.json; DuckDB queries; form fields (user input).
- Signatures: `sw(raw.scan_windows||[])`; `ub(r.rows||[])`; `T()`; `q(s)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [data source: lightning data; GeoJSON file uk_lightning.geojson; JSON file index.json; Parquet file repd_projects_202608290716.parquet; JSON file repd_v9_manifest_202608290716.json; JSON file repd_master.json; DuckDB queries; form fields (user input)]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Ventus Compute Observer
- File: gridatlas/atlas/modules/202611161645-ventus-compute-observer.js (JavaScript, 272 lines) · role geodesy · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611161645-ventus-compute-observer.js#L1-L272
- Page: https://code.globalgrid2050.com/explore-code/s/0531.html#f2
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that describes compute receipt (`describeComputeReceipt`) and calculates great-circle distances and angles (units: kV), covering substations, using haversine.
- What it achieves (comment): It creates compute observer (`createComputeObserver`) and describes compute receipt (`describeComputeReceipt`). Ventus Grid Engine: generated receipt observer; not a substitute nearest engine. Its code works with 750 kV.
- What it does: Defines 15 functions or classes, including distanceKm, distanceKm, representativePoint, voltagesKv, destinationPoint. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 750kV.
- Inputs & outputs: Voltage levels named: 750kV.
- Signatures: `distanceKm(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `dLon(lon2 - lon1)`; `representativePoint(geometry)`; `voltagesKv(properties)`; `destinationPoint(lon, lat, km, bearingDeg)`; `initialBearingDeg(lon1, lat1, lon2, lat2)`; `dl(lon2 - lon1)`; `copy(value)`; `finite(value)`; `located(point)`; `sameLocation(a, b)`; `sameEntity(a, b)`; `createComputeObserver({ onEvent = () => {}, now = () => Date.now() } = {})`; `publish(attempt, status, extra = {})`; `get(id)`; `request({ entity, location = null, operation = 'nearest-grid', dataset = null })`; `unsupported(id, reason)`; `run(id, compute)`; `snapshot(id = latest)`; `assess(id, expected)`; `describeComputeReceipt(receipt)`
- VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km
- VEDIC: REPRESENT (GG2050-VEDIC-000002): GridAtlas / Geodesy · Computer science / Geometry processing. geojson_geometry -> coordinate_pair_or_null
- VEDIC: VOLTAGE (GG2050-VEDIC-000003): GridAtlas / Geodesy · Computer science / Data normalisation. voltage_properties -> kilovolt_list
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages [750kV]
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Grid Journey Preview
- File: gridatlas/atlas/modules/202611172355-grid-journey-preview.js (JavaScript, 859 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611172355-grid-journey-preview.js#L1-L859
- Page: https://code.globalgrid2050.com/explore-code/s/0532.html#f1
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps network, transformers and cables, using SHA-256. It validates product (`validateProduct`), validates ledger (`validateLedger`) and classifies edges (`classifyEdges`).
- What it achieves (comment): Canonical engine Ventusltd/ventus-grid-engine. No live pointer writes. Its code works with 100 MVA. It responds to change events.
- What it does: It maps network, transformers and cables. Defines 67 functions or classes, including JourneyTopology, voltageOf, bandKey, ratingsOf, physicalUnits. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers, cables.
- Inputs & outputs: In: JSON file network.json. Coordinate systems named: WGS84 / EPSG:4326.
- Signatures: `voltageOf(node)`; `bandKey(kv)`; `ratingsOf(row)`; `physicalUnits(records)`; `parametersOf(row)`; `index(product)`; `land(nodeName, entry)`; `siteOf(nodeName)`; `graph()`; `resolve(key)`; `at(key, options)`; `fail(message)`; `object(v)`; `text(v, label)`; `ordinal(a, b)`; `canonicalJson(value)`; `encode(v)`; `sha256(bytes)`; `url(v, label)`; `receipt(v, label)`; `source(v, label)`; `rights(v, label)`; `identity(v, label)`; `position(v, label)`; `edgeUid(bundleSha, kind, sourceIndex)` (and 15 more)
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file network.json]; out []; crs [WGS84 / EPSG:4326]; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 1
### Grid Vicinity
- File: gridatlas/atlas/modules/202611180026-grid-vicinity.js (JavaScript, 1277 lines) · role geodesy · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611180026-grid-vicinity.js#L1-L1277
- Page: https://code.globalgrid2050.com/explore-code/s/0533.html#f2
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps notice, grid substations, the Renewable Energy Planning Database (REPD) register and transformers, using SHA-256.
- What it achieves (comment): It normalises origin (`normaliseOrigin`), parses vicinity intent (`parseVicinityIntent`) and validates news context base (`validateNewsContextBase`). GridAtlas vicinity : source-built spatial context, no inferred circuits. Its code works with 33 kV, 11 kV and 132 kV. It responds to click events.
- What it does: It maps notice, grid substations, the REPD register and transformers. Defines 127 functions or classes, including validCoordinate, radiusKm, normaliseOrigin, parseVicinityIntent, numberText. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, transformers, 400kV, 275kV, 132kV, 66kV.
- Inputs & outputs: In: JSON file notice.json; GeoJSON file grid_substations.geojson. Out: interactive map. Voltage levels named: 400kV, 275kV, 132kV, 66kV, 33kV, 11kV.
- Signatures: `validCoordinate(at)`; `radiusKm(value)`; `normaliseOrigin(origin, {requireIdentity = false} = {})`; `parseVicinityIntent(search)`; `numberText(value)`; `validateNewsContextBase(value)`; `normaliseNewsTopic(value, origin)`; `newsContextHref(base, origin, topic)`; `voltageBands(kv)`; `stationRecords(features, geodesy)`; `exploreVicinity({origin, radius, records, bands, geodesy, limit = 200})`; `vicinityGeoJSON(result, geodesy)`; `assetCoordinate(at)`; `statedMw(value)`; `assetId(value)`; `assetPrecision(p)`; `collectAssetContext({map,registry={},origin,radiusKm,geodesy,limit=200}={})`; `get(id)`; `add(category,row)`; `freezeDocumentContext(value)`; `documentOrigin(origin)`; `documentContextFor(origin, {declaredConnections} = {})`; `trainCoordinate(at)`; `normaliseTrainStop(stop)`; `buildStationIndex(features, {geodesy, datasetPin = null} = {})` (and 15 more)
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file notice.json; GeoJSON file grid_substations.geojson]; out [interactive map]; crs []; voltages [400kV, 275kV, 132kV, 66kV, 33kV, 11kV]
- Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 1
### UK Offtakers Overlay
- File: gridatlas/atlas/modules/202611222000-uk-offtakers-overlay.js (JavaScript, 465 lines) · role interaction · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611222000-uk-offtakers-overlay.js#L1-L465
- Page: https://code.globalgrid2050.com/explore-code/s/0535.html#f2
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps offtakers filtered, UK datacentre pipeline, conventional power UK and Renewable Energy Planning Database (REPD) master, using SHA-256.
- What it achieves (comment): It opens project vicinity (`openProjectVicinity`) and updates project swipe (`updateProjectSwipe`). Potential offtakers: sites listed in open registers (National Atmospheric Emissions Inventory (NAEI) 2023 point sources, GPPD) and OpenStreetMap, classified by the OT-filter rules (energy-intensive industry, power stations incl. closed and closing, data centres, large water works, other large users). Its code works with 33 kV, 275 kV and 66 kV. It responds to click, toggle and keydown events.
- What it does: It maps offtakers filtered, UK datacentre pipeline, conventional power UK and REPD master. Defines 7 functions or classes, including D, q, openProjectVicinity, initProjectSwipe, b. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 275kV, 66kV, 33kV.
- Inputs & outputs: In: GeoJSON file offtakers_filtered_202610292000.geojson; GeoJSON file uk_datacentre_pipeline_202610312133.geojson; GeoJSON file conventional_power_uk_202610292000.geojson; JSON file repd_master.json; Parquet file repd_projects_202611132345.parquet; JSON file repd_v9_manifest_202611132345.json; form fields (user input). Out: interactive map. Voltage levels named: 275kV, 66kV, 33kV.
- Signatures: `D(v,q)`; `n(c.k||[])`; `ps(c.P||[])`; `q(s)`; `openProjectVicinity(input)`; `initProjectSwipe(map,card)`; `b(txt,aria)`; `updateProjectSwipe(card)`; `subs(card.k||[])`; `repd(card.P||[])`; `power(card.cv||[])`; `stepProjectSwipe(map,card,delta)`
- VEDIC: OPEN VICINITY (GG2050-VEDIC-000050): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. project_reference, longitude_latitude, name_optional, technology_optional, capacity_MW_optional -> screening_card_opened_boolean
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [GeoJSON file offtakers_filtered_202610292000.geojson; GeoJSON file uk_datacentre_pipeline_202610312133.geojson; GeoJSON file conventional_power_uk_202610292000.geojson; JSON file repd_master.json; Parquet file repd_projects_202611132345.parquet; JSON file repd_v9_manifest_202611132345.json; form fields (user input)]; out [interactive map]; crs []; voltages [275kV, 66kV, 33kV]
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Vicinity Entry
- File: gridatlas/atlas/modules/202611222000-vicinity-entry.js (JavaScript, 28 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611222000-vicinity-entry.js#L1-L28
- Page: https://code.globalgrid2050.com/explore-code/s/0535.html#f3
- Synopsis: A JavaScript file in the atlas folder of GridAtlas covering the Renewable Energy Planning Database (REPD) register. It is built from the mount step (`mount`).
- What it achieves (comment): GridAtlas V9.194 additive PipelineNews MAP VICINITY button. It responds to click events.
- What it does: It draws the REPD register. Defines mount. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register.
- Signatures: `position()`; `mount()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Single-Line Diagram (SLD) Without Layout
- File: gridatlas/atlas/modules/202611222130-sld-without-layout.js (JavaScript, 8986 lines) · role geodesy · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611222130-sld-without-layout.js#L1-L8986
- Page: https://code.globalgrid2050.com/explore-code/s/0397.html#f1
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps connection points, GB transmission network, price decade rollup and grid substations, using haversine.
- What it achieves (comment): It creates compute observer (`createComputeObserver`), describes compute receipt (`describeComputeReceipt`) and builds stats (`buildStats`). Receipt and distance owner: Ventusltd/ventus-grid-engine. Its code works with 400 kV, 132 kV and 33 kV. It responds to click, keydown and touchstart events.
- What it does: It maps connection points, GB transmission network, price decade rollup and grid substations. Defines 273 functions or classes, including distanceKm, distanceKm, representativePoint, voltagesKv, destinationPoint. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'layout'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 750kV, 415kV, 400kV, 275kV, 220kV, 132kV.
- Inputs & outputs: In: JSON file connection-points.v3.json; JSON file gb-transmission-network.v1.json; JSON file price-decade-rollup.json; GeoJSON file grid_substations.geojson; JSON file neso-connection-sites.lean.json; GeoJSON file interconnectors.geojson; browser storage (getItem); DuckDB queries. Out: browser storage (setItem); interactive map. Coordinate systems named: WGS84 / EPSG:4326. Voltage levels named: 750kV, 415kV, 400kV, 275kV, 220kV, 132kV, 110kV, 66kV.
- Signatures: `distanceKm(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `dLon(lon2 - lon1)`; `representativePoint(geometry)`; `voltagesKv(properties)`; `destinationPoint(lon, lat, km, bearingDeg)`; `initialBearingDeg(lon1, lat1, lon2, lat2)`; `dl(lon2 - lon1)`; `copy(value)`; `finite(value)`; `located(point)`; `sameLocation(a, b)`; `sameEntity(a, b)`; `createComputeObserver({ onEvent = () => {}, now = () => Date.now() } = {})`; `publish(attempt, status, extra = {})`; `get(id)`; `request({ entity, location = null, operation = 'nearest-grid', dataset = null })`; `unsupported(id, reason)`; `run(id, compute)`; `snapshot(id = latest)`; `assess(id, expected)`; `describeComputeReceipt(receipt)`; `NS(window.__GRIDATLAS_MODULES__ = window.__GRIDATLAS_MODULES__ || {})`; `classOf(kv)`; `scope(origin, substations, options)` (and 15 more)
- VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km
- VEDIC: REPRESENT (GG2050-VEDIC-000002): GridAtlas / Geodesy · Computer science / Geometry processing. geojson_geometry -> coordinate_pair_or_null
- VEDIC: VOLTAGE (GG2050-VEDIC-000003): GridAtlas / Geodesy · Computer science / Data normalisation. voltage_properties -> kilovolt_list
- domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file connection-points.v3.json; JSON file gb-transmission-network.v1.json; JSON file price-decade-rollup.json; GeoJSON file grid_substations.geojson; JSON file neso-connection-sites.lean.json; GeoJSON file interconnectors.geojson; browser storage (getItem); DuckDB queries]; out [browser storage (setItem); interactive map]; crs [WGS84 / EPSG:4326]; voltages [750kV, 415kV, 400kV, 275kV, 220kV, 132kV, 110kV, 66kV]
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Vicinity Focus
- File: gridatlas/atlas/modules/202611222130-vicinity-focus.js (JavaScript, 169 lines) · role interaction · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611222130-vicinity-focus.js#L1-L169
- Page: https://code.globalgrid2050.com/explore-code/s/0535.html#f4
- Synopsis: A JavaScript file in the atlas folder of GridAtlas covering the Renewable Energy Planning Database (REPD) register and substations.
- What it achieves (comment): It is built from the module step (`module`), the map step (`map`) and the fmt step (`fmt`). GridAtlas V9.195 candidate: asset-first VICINITY focus. It responds to click, touchstart and touchend events.
- What it does: It draws the REPD register and substations. Defines 10 functions or classes, including module, map, fmt, safely, label. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, substations.
- Signatures: `module()`; `map()`; `fmt(n)`; `safely(v)`; `label(p,txt,attr)`; `asset(card)`; `render(card)`; `navigate(card,type,rank)`; `install(card)`; `sync()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/modules/202612012118-secondary-vicinity-focus.js) · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Vicinity Controls Rescue
- File: gridatlas/atlas/modules/202611222343-vicinity-controls-rescue.js (JavaScript, 131 lines) · role interaction · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611222343-vicinity-controls-rescue.js#L1-L131
- Page: https://code.globalgrid2050.com/explore-code/s/0536.html#f1
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that works with float layers (`floatLayers`) and full mode (`fullMode`) (units: MW).
- What it achieves (comment): It is built from the answered step (`answered`), the float layers helper (`floatLayers`) and the wake step (`wake`). The V9.194 launcher put this button INSIDE the map-controls stacking context. It responds to visibilitychange, pagehide and click events.
- What it does: Defines 8 functions or classes, including answered, floatLayers, wake, fallback, tick. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Signatures: `tech(q.get('technology')||'')`; `answered()`; `floatLayers()`; `wake()`; `fallback()`; `tick()`; `later()`; `fullMode()`; `reflect()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/modules/g203-vicinity-controls-rescue.js) · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### SatNav Handoff
- File: gridatlas/atlas/modules/202611242030-satnav-handoff.js (JavaScript, 351 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611242030-satnav-handoff.js#L1-L351
- Page: https://code.globalgrid2050.com/explore-code/s/0536.html#f2
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps grid substations and postcodes, and uses data from the SatNav repository.
- What it achieves (comment): It places search (`placeSearch`), searches input (`searchInput`) and closes panel (`closePanel`). Native GridAtlas M1 candidate; adapted from Agent33 . It responds to input, keydown and pagehide events.
- What it does: It maps grid substations and postcodes. Defines 21 functions or classes, including button, field, disclosure, samePoint, satellite. Side effects: changes the web page (DOM); makes network requests.
- Why it exists in the grid workflow: Domain stage agent_infra (path word 'handoff'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: postcodes.
- Inputs & outputs: In: data source: satnav data; GeoJSON file grid_substations.geojson. Out: interactive map. Coordinate systems named: WGS84 / EPSG:4326.
- Signatures: `button(id, name, parent = actions)`; `field(label, id)`; `disclosure(id, title, content)`; `samePoint(a, b)`; `satellite()`; `projectRef()`; `placeSearch()`; `projectSelection()`; `searchInput()`; `closePanel()`; `currentCardPoint(kind)`; `reset(message)`; `render()`; `stage(kind, selection)`; `mapClick(event)`; `selectedProject()`; `selectedLocation()`; `stillCurrent()`; `destinationName(kind, value)`; `syncFullscreenHost()`; `refresh()`
- domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [data source: satnav data; GeoJSON file grid_substations.geojson]; out [interactive map]; crs [WGS84 / EPSG:4326]; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### SatNav Origin Focus
- File: gridatlas/atlas/modules/202611242030-satnav-origin-focus.js (JavaScript, 169 lines) · role interaction · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611242030-satnav-origin-focus.js#L1-L169
- Page: https://code.globalgrid2050.com/explore-code/s/0536.html#f3
- Synopsis: A JavaScript file in the atlas folder of GridAtlas covering the Renewable Energy Planning Database (REPD) register and substations.
- What it achieves (comment): It is built from the module step (`module`), the map step (`map`) and the fmt step (`fmt`). GridAtlas V9.195 candidate: asset-first VICINITY focus. It responds to click, touchstart and touchend events.
- What it does: It draws the REPD register and substations. Defines 10 functions or classes, including module, map, fmt, safely, label. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage field_execution (path 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: the REPD register, substations.
- Signatures: `module()`; `map()`; `fmt(n)`; `safely(v)`; `label(p,txt,attr)`; `asset(card)`; `render(card)`; `navigate(card,type,rank)`; `install(card)`; `sync()`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/modules/202612012118-secondary-vicinity-focus.js) · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### SatNav Point Vicinity
- File: gridatlas/atlas/modules/202611242030-satnav-point-vicinity.js (JavaScript, 474 lines) · role interaction · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611242030-satnav-point-vicinity.js#L1-L474
- Page: https://code.globalgrid2050.com/explore-code/s/0537.html#f1
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps offtakers filtered, UK datacentre pipeline, conventional power UK and Renewable Energy Planning Database (REPD) master, using SHA-256.
- What it achieves (comment): It opens point vicinity (`openPointVicinity`), opens project vicinity (`openProjectVicinity`) and updates project swipe (`updateProjectSwipe`). UK-offtakers-overlay. Potential offtakers: sites listed in open registers (National Atmospheric Emissions Inventory (NAEI) 2023 point sources, GPPD) and OpenStreetMap, classified by the OT-filter rules (energy-intensive industry, power stations incl. closed and closing, data centres, large water works, other large users). Its code works with 33 kV, 275 kV and 66 kV. It responds to click, toggle and keydown events.
- What it does: It maps offtakers filtered, UK datacentre pipeline, conventional power UK and REPD master. Defines 8 functions or classes, including D, q, openPointVicinity, openProjectVicinity, initProjectSwipe. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage field_execution (path 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: 275kV, 66kV, 33kV.
- Inputs & outputs: In: GeoJSON file offtakers_filtered_202610292000.geojson; GeoJSON file uk_datacentre_pipeline_202610312133.geojson; GeoJSON file conventional_power_uk_202610292000.geojson; JSON file repd_master.json; Parquet file repd_projects_202611132345.parquet; JSON file repd_v9_manifest_202611132345.json; form fields (user input). Out: interactive map. Voltage levels named: 275kV, 66kV, 33kV.
- Signatures: `D(v,q)`; `n(c.k||[])`; `ps(c.P||[])`; `q(s)`; `openPointVicinity(input)`; `openProjectVicinity(input)`; `initProjectSwipe(map,card)`; `b(txt,aria)`; `updateProjectSwipe(card)`; `subs(card.k||[])`; `repd(card.P||[])`; `power(card.cv||[])`; `stepProjectSwipe(map,card,delta)`
- VEDIC: OPEN VICINITY (GG2050-VEDIC-000050): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. project_reference, longitude_latitude, name_optional, technology_optional, capacity_MW_optional -> screening_card_opened_boolean
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [GeoJSON file offtakers_filtered_202610292000.geojson; GeoJSON file uk_datacentre_pipeline_202610312133.geojson; GeoJSON file conventional_power_uk_202610292000.geojson; JSON file repd_master.json; Parquet file repd_projects_202611132345.parquet; JSON file repd_v9_manifest_202611132345.json; form fields (user input)]; out [interactive map]; crs []; voltages [275kV, 66kV, 33kV]
- Edges: uses 0 estate files; used by 0; mentioned by 0
### SatNav Practice Line
- File: gridatlas/atlas/modules/202611242248-satnav-practice-line.js (JavaScript, 280 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611242248-satnav-practice-line.js#L1-L280
- Page: https://code.globalgrid2050.com/explore-code/s/0538.html#f1
- Synopsis: A JavaScript file in the atlas folder of GridAtlas using data from the SatNav repository. It formats metres (`formatMetres`), draws features (`drawFeatures`) and stops tracking (`stopTracking`).
- What it achieves (comment): SatNav practice section preview. Positions and section coordinates are session-local. It responds to keydown, pagehide and pageshow events.
- What it does: It maps its content. Defines 10 functions or classes, including button, readout, formatMetres, drawFeatures, render. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Signatures: `button(id, label, parent)`; `readout(id, label)`; `formatMetres(value)`; `drawFeatures(features)`; `render()`; `stopTracking(message)`; `clearSelection(message)`; `mapClick(event)`; `showPanel(show)`; `refresh()`
- 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 0; mentioned by 0
### Vicinity Legal Evidence
- File: gridatlas/atlas/modules/202611280016-vicinity-legal-evidence.js (JavaScript, 75 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611280016-vicinity-legal-evidence.js#L1-L75
- Page: https://code.globalgrid2050.com/explore-code/s/0538.html#f2
- Synopsis: A JavaScript module in the atlas folder of GridAtlas covering the Renewable Energy Planning Database (REPD) register and uses data from the legislation repository.
- What it achieves (comment): It is built from the evidence URL helper (`evidenceUrl`), the render step (`render`) and the sync step (`sync`). Read-only adapter for the selected origin in GridAtlas Vicinity. It responds to pagehide events.
- What it does: It draws the REPD register. Defines evidenceUrl, render, sync. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register.
- Signatures: `evidenceUrl(arrival, selectedRef)`; `render(card, arrival)`; `sync()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0
### SatNav Compact Preview
- File: gridatlas/atlas/modules/202611281237-satnav-compact-preview.js (JavaScript, 143 lines) · role interaction · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611281237-satnav-compact-preview.js#L1-L143
- Page: https://code.globalgrid2050.com/explore-code/s/0538.html#f3
- Synopsis: A JavaScript file in the atlas folder of GridAtlas using data from the SatNav repository. It maps click (`mapClick`), stops tracking (`stopTracking`) and applies location (`applyLocation`).
- What it achieves (comment): GridAtlas map, independent endpoints, session-only GPS. It responds to keydown, pagehide and pageshow events.
- What it does: It maps its content. Defines 7 functions or classes, including features, render, arm, mapClick, stopTracking. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Signatures: `features()`; `render()`; `arm(which)`; `mapClick(event)`; `stopTracking(message)`; `applyLocation()`; `refresh()`
- 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 0; mentioned by 0
### SatNav Field Compass
- File: gridatlas/atlas/modules/202611281255-satnav-field-compass.js (JavaScript, 147 lines) · role interaction · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611281255-satnav-field-compass.js#L1-L147
- Page: https://code.globalgrid2050.com/explore-code/s/0538.html#f4
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that updates bearing (`updateBearing`) and attaches map (`attachMap`). It updates bearing (`updateBearing`) and attaches map (`attachMap`).
- What it achieves (comment): Add-on for the versioned SatNav maps. It responds to click, deviceorientationabsolute and deviceorientation events.
- What it does: It draws its content. Defines 6 functions or classes, including orientation, stop, updateBearing, sourceChanged, attachMap. Side effects: changes the web page (DOM).
- 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.
- Signatures: `orientation(event)`; `stop(message = '')`; `updateBearing()`; `sourceChanged(event)`; `attachMap()`; `resume()`
- 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 0; mentioned by 0
### SatNav Offline Plan
- File: gridatlas/atlas/modules/202611281256-satnav-offline-plan.js (JavaScript, 29 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611281256-satnav-offline-plan.js#L1-L29
- Page: https://code.globalgrid2050.com/explore-code/s/0538.html#f5
- Synopsis: A JavaScript file in the atlas folder of GridAtlas. It is built from the attach step (`attach`).
- What it achieves (comment): Optional cartridge for the versioned waypoint maps. It responds to satnav events.
- What it does: It draws its content. Defines attach. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Signatures: `attach()`
- 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 0; mentioned by 0
### SatNav Start Walk
- File: gridatlas/atlas/modules/202611281340-satnav-start-walk.js (JavaScript, 230 lines) · role geodesy · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611281340-satnav-start-walk.js#L1-L230
- Page: https://code.globalgrid2050.com/explore-code/s/0539.html#f1
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that attaches map (`attachMap`), syncs plan (`syncPlan`) and reads inputs for SatNav walk mode.
- What it achieves (comment): It attaches map (`attachMap`), syncs plan (`syncPlan`) and stops walk (`stopWalk`). Explicit walking on the existing field map. It responds to resize, fullscreenchange and webkitfullscreenchange events.
- What it does: It maps its content. Defines 13 functions or classes, including mount, choose, distance, bearing, clearHeader. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage field_execution (path 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: form fields (user input).
- Signatures: `mount()`; `choose()`; `distance(m)`; `bearing(n)`; `clearHeader()`; `draw()`; `attachMap()`; `clearRoute(status)`; `calculate(points, revision)`; `syncPlan()`; `liveRoute(fix)`; `render()`; `stopWalk()`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/modules/202611281800-satnav-gate-walk.js) · essay_status: readme_derived
- data_contracts: in [form fields (user input)]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### SatNav Walk Saved Plan
- File: gridatlas/atlas/modules/202611281340-satnav-walk-saved-plan.js (JavaScript, 69 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611281340-satnav-walk-saved-plan.js#L1-L69
- Page: https://code.globalgrid2050.com/explore-code/s/0539.html#f2
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that restores this version's saved design pins to the same map used for a hand-placed walk.
- What it achieves (name): Defines `mount`. It responds to satnav events.
- What it does: It draws its content. Defines mount. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Signatures: `mount()`
- 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 0; mentioned by 0
### SatNav Layers
- File: gridatlas/atlas/modules/202611281342-satnav-layers.js (JavaScript, 60 lines) · role interaction · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611281342-satnav-layers.js#L1-L60
- Page: https://code.globalgrid2050.com/explore-code/s/0539.html#f3
- Synopsis: A JavaScript file in the atlas folder of GridAtlas. It is built from the mount step (`mount`) and the reflect step (`reflect`).
- What it achieves (comment): The field map covers the ordinary dashboard. It responds to fullscreenchange, webkitfullscreenchange and keydown events.
- What it does: It draws its content. Defines mount, reflect. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Signatures: `mount()`; `reflect()`
- 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 0; mentioned by 0
### SatNav Field Survey
- File: gridatlas/atlas/modules/202611281725-satnav-field-survey.js (JavaScript, 171 lines) · role interaction · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611281725-satnav-field-survey.js#L1-L171
- Page: https://code.globalgrid2050.com/explore-code/s/0539.html#f4
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that attaches map (`attachMap`), applies loop (`applyLoop`) and stops recording (`stopRecording`).
- What it achieves (comment): It attaches map (`attachMap`), applies loop (`applyLoop`) and stops recording (`stopRecording`). Add a local field survey to the waypoint map's existing pins and GPS watch. It responds to satnav and toggle events.
- What it does: It maps its content. Defines 8 functions or classes, including mount, length, draw, scheduleDraw, attachMap. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage field_execution (path word 'field'): 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: form fields (user input). Out: downloaded file ventus-survey-.
- Signatures: `mount()`; `length(metres)`; `draw()`; `scheduleDraw()`; `attachMap()`; `render()`; `applyLoop()`; `stopRecording()`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [form fields (user input)]; out [downloaded file ventus-survey-]; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### SatNav Layout Import
- File: gridatlas/atlas/modules/202611281725-satnav-layout-import.js (JavaScript, 167 lines) · role interaction · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611281725-satnav-layout-import.js#L1-L167
- Page: https://code.globalgrid2050.com/explore-code/s/0539.html#f5
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that lists choices (`listChoices`). It draws layout (`drawLayout`) and lists choices (`listChoices`).
- What it achieves (comment): Local engineering layouts for the versioned SatNav survey map. It responds to cancel and satnav events.
- What it does: It maps its content. Defines mount, drawLayout, listChoices. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage field_execution (path 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: user-supplied file (file picker); form fields (user input). Out: GeoJSON file -layout.geojson.
- Signatures: `mount()`; `drawLayout()`; `listChoices()`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [user-supplied file (file picker); form fields (user input)]; out [GeoJSON file -layout.geojson]; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### SatNav Gate Walk
- File: gridatlas/atlas/modules/202611281800-satnav-gate-walk.js (JavaScript, 287 lines) · role geodesy · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611281800-satnav-gate-walk.js#L1-L287
- Page: https://code.globalgrid2050.com/explore-code/s/0540.html#f1
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that attaches map (`attachMap`), syncs plan (`syncPlan`) and reads inputs for SatNav walk mode.
- What it achieves (comment): It attaches map (`attachMap`), syncs plan (`syncPlan`) and stops walk (`stopWalk`). Explicit walking on the existing field map. It responds to resize, fullscreenchange and webkitfullscreenchange events.
- What it does: It maps its content. Defines 13 functions or classes, including mount, choose, distance, bearing, clearHeader. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): 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: form fields (user input).
- Signatures: `mount()`; `choose()`; `distance(m)`; `bearing(n)`; `clearHeader()`; `draw()`; `attachMap()`; `clearRoute(status)`; `calculate(points, revision)`; `syncPlan()`; `liveRoute(fix)`; `render()`; `stopWalk(reason)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [form fields (user input)]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### SatNav Waypoint Map
- File: gridatlas/atlas/modules/202611281800-satnav-waypoint-map.js (JavaScript, 478 lines) · role geodesy · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611281800-satnav-waypoint-map.js#L1-L478
- Page: https://code.globalgrid2050.com/explore-code/s/0540.html#f2
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that refreshes guidance (`refreshGuidance`), sets pin (`setPin`) and restores local plan (`restoreLocalPlan`).
- What it achieves (comment): It updates text (`updateText`), refreshes guidance (`refreshGuidance`) and sets pin (`setPin`). Based on the immutable PR113 compact map and GPS lifecycle. It responds to visibilitychange, offline and online events.
- What it does: It maps its content. Defines 25 functions or classes, including notify, updateText, distanceText, bearingText, collection. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Signatures: `notify(name, detail)`; `updateText(element, value)`; `distanceText(metres)`; `bearingText(degrees)`; `collection(features)`; `refreshGuidance()`; `changePlan()`; `edit(operation)`; `setPin(which, at, fromGps = false)`; `place(at, fromGps = false)`; `restoreLocalPlan()`; `leaveExample()`; `replacePlan(coordinates, {example = false} = {})`; `undo()`; `setFix(next)`; `fieldState(sample)`; `refreshSources()`; `guidanceText()`; `render()`; `arm(which)`; `mapClick(event)`; `selectedIndex()`; `stopTracking(message)`; `centreOnFix()`; `refresh()` (and 1 more)
- 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 0; mentioned by 0
### Regional Card
- File: gridatlas/atlas/modules/202612012117-regional-card.js (JavaScript, 73 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202612012117-regional-card.js#L1-L73
- Page: https://code.globalgrid2050.com/explore-code/s/0541.html#f2
- Synopsis: A JavaScript file in the atlas folder of GridAtlas covering transformers and substations, and uses data from UK Power Networks open data.
- What it achieves (comment): It is built from the visible step (`visible`), the augment popup helper (`augmentPopup`) and the line step (`line`). Interface-owned selected asset card. No menu mutation.
- What it does: It draws transformers and substations. Defines 6 functions or classes, including visible, augmentPopup, line, current, add. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers, substations.
- Signatures: `visible()`; `augmentPopup()`; `line(label,value)`; `current()`; `add(label,value)`; `attach()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Regional Data
- File: gridatlas/atlas/modules/202612012117-regional-data.js (JavaScript, 164 lines) · role storage · stage ingest · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202612012117-regional-data.js#L1-L164
- Page: https://code.globalgrid2050.com/explore-code/s/0541.html#f3
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that reads grid UK Power Networks (UKPN) secondary, UKPN transformers and 11kV, using SHA-256 from the data-grid-GB repository.
- What it achieves (comment): It registers pinned (`registerPinned`) and is built from the shared database helper (`sharedDatabase`) and the details for helper (`detailsFor`). Native `ukConfig` extension, pinned UKPN transformer archive. Its code works with 11 kV and 400 kV.
- What it does: It loads grid UKPN secondary, UKPN transformers and 11kV. Defines 9 functions or classes, including sharedDatabase, registerPinned, detailsFor, scalar, normalize. Side effects: uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 11kV, 400kV.
- Inputs & outputs: In: data source: data-grid-gb data; Parquet file grid_ukpn_secondary.parquet; Parquet file ukpn_transformers.parquet; DuckDB queries. Voltage levels named: 400kV, 11kV.
- Signatures: `sharedDatabase()`; `registerPinned(database,name)`; `detailsFor(site)`; `scalar(v)`; `normalize(raw)`; `unpack(bytes)`; `extend(options)`; `load()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [data source: data-grid-gb data; Parquet file grid_ukpn_secondary.parquet; Parquet file ukpn_transformers.parquet; DuckDB queries]; out []; crs []; voltages [400kV, 11kV]
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Regional Native
- File: gridatlas/atlas/modules/202612012117-regional-native.js (JavaScript, 8607 lines) · role geodesy · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202612012117-regional-native.js#L1-L8607
- Page: https://code.globalgrid2050.com/explore-code/s/0541.html#f4
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps elizabeth line and london underground, using haversine and SHA-256, and uses data from the ventus-grid-engine, data-federation-map-for-GlobalGrid2050-all-repos and spiders repositories.
- What it achieves (comment): It normalizes status (`normalizeStatus`), toggles zone draw mode (`toggleZoneDrawMode`) and opens popup (`openPopup`). ASSEMBLED by `tools/build-cartridge.mjs` from the parts below. Its code works with 400 kV, 100 MVA and 132 kV. It responds to fullscreenchange, webkitfullscreenchange and click events.
- What it does: It maps elizabeth line, london underground, UK metros trams and hs2. Defines 239 functions or classes, including deepFreeze, escapeHTML, normalizeStatus, fmt, haversine. Side effects: changes the web page (DOM); makes network requests.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 750kV, 400kV, 275kV, 132kV, 66kV, 33kV.
- Inputs & outputs: In: data source: ventus-grid-engine data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: spiders data; data source: npm data; GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson. Out: downloaded file gridatlas-; downloaded file globalgrid2050-grid-atlas-; interactive map; canvas drawing; SVG drawing. Voltage levels named: 750kV, 400kV, 275kV, 132kV, 66kV, 33kV, 11kV.
- Signatures: `deepFreeze(obj)`; `escapeHTML(value)`; `normalizeStatus(status)`; `fmt(n, decimals)`; `haversine(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `_zoneDrawGetRadius()`; `_zoneDrawCirclePoints(lon, lat, radiusKm, n)`; `b(i / n)`; `_zoneDrawCalcArea(pts)`; `j(i + 1)`; `_zoneDrawUpdateLayers(dragOnly)`; `_zoneDrawShowPopup()`; `_zoneDrawShowPopupDebounced()`; `_zoneDrawClear()`; `zoneDrawUndo()`; `toggleZoneDrawMode()`; `_zoneDrawNearVertex(px)`; `_zoneDrawEdgeDots(i)`; `_zoneDrawNearEdgeDot(px)`; `_zoneDrawOnClick(e)`; `mpp(km * 2000)`; `_zoneDrawOnMouseDown(e)`; `_zoneDrawOnMouseMove(e)`; `_zoneDrawOnMouseUp()` (and 15 more)
- VEDIC: SNAP LINE ENDS TO SUBSTATIONS (GG2050-VEDIC-000106): GridAtlas / Substations · Geospatial data processing. line_features, substation_point_features -> Line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged.
- VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km
- VEDIC: REPRESENT (GG2050-VEDIC-000002): GridAtlas / Geodesy · Computer science / Geometry processing. geojson_geometry -> coordinate_pair_or_null
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [data source: ventus-grid-engine data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: spiders data; data source: npm data; GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson]; out [downloaded file gridatlas-; downloaded file globalgrid2050-grid-atlas-; interactive map; canvas drawing; SVG drawing]; crs []; voltages [750kV, 400kV, 275kV, 132kV, 66kV, 33kV, 11kV]
- Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0
### Secondary Vicinity Engine
- File: gridatlas/atlas/modules/202612012118-secondary-vicinity-engine.js (JavaScript, 478 lines) · role interaction · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202612012118-secondary-vicinity-engine.js#L1-L478
- Page: https://code.globalgrid2050.com/explore-code/s/0554.html#f1
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps offtakers filtered, UK datacentre pipeline, conventional power UK and Renewable Energy Planning Database (REPD) master, using SHA-256.
- What it achieves (comment): It opens project vicinity (`openProjectVicinity`), opens secondary vicinity (`openSecondaryVicinity`) and updates project swipe (`updateProjectSwipe`). UK-offtakers-overlay. Potential offtakers: sites listed in open registers (National Atmospheric Emissions Inventory (NAEI) 2023 point sources, GPPD) and OpenStreetMap, classified by the OT-filter rules (energy-intensive industry, power stations incl. closed and closing, data centres, large water works, other large users). Its code works with 33 kV, 275 kV and 66 kV. It responds to click, toggle and keydown events.
- What it does: It maps offtakers filtered, UK datacentre pipeline, conventional power UK and REPD master. Defines 8 functions or classes, including D, q, openProjectVicinity, openSecondaryVicinity, initProjectSwipe. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 275kV, 66kV, 33kV. README: "Added real rendered UKPN card selection, ranked Grid Engine transfer, poor-fix rejection, exact endpoint and GPS-watch preservation, and secondary Vicinity identity assertions to the existing combined browser gate."
- Inputs & outputs: In: GeoJSON file offtakers_filtered_202610292000.geojson; GeoJSON file uk_datacentre_pipeline_202610312133.geojson; GeoJSON file conventional_power_uk_202610292000.geojson; JSON file repd_master.json; Parquet file repd_projects_202611132345.parquet; JSON file repd_v9_manifest_202611132345.json; form fields (user input). Out: interactive map. Voltage levels named: 275kV, 66kV, 33kV.
- Signatures: `D(v,q)`; `n(c.k||[])`; `ps(c.P||[])`; `q(s)`; `openProjectVicinity(input)`; `openSecondaryVicinity(input)`; `initProjectSwipe(map,card)`; `b(txt,aria)`; `updateProjectSwipe(card)`; `subs(card.k||[])`; `repd(card.P||[])`; `power(card.cv||[])`; `stepProjectSwipe(map,card,delta)`
- VEDIC: OPEN VICINITY (GG2050-VEDIC-000050): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. project_reference, longitude_latitude, name_optional, technology_optional, capacity_MW_optional -> screening_card_opened_boolean
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [GeoJSON file offtakers_filtered_202610292000.geojson; GeoJSON file uk_datacentre_pipeline_202610312133.geojson; GeoJSON file conventional_power_uk_202610292000.geojson; JSON file repd_master.json; Parquet file repd_projects_202611132345.parquet; JSON file repd_v9_manifest_202611132345.json; form fields (user input)]; out [interactive map]; crs []; voltages [275kV, 66kV, 33kV]
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Secondary Vicinity Focus
- File: gridatlas/atlas/modules/202612012118-secondary-vicinity-focus.js (JavaScript, 173 lines) · role interaction · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202612012118-secondary-vicinity-focus.js#L1-L173
- Page: https://code.globalgrid2050.com/explore-code/s/0554.html#f2
- Synopsis: A JavaScript file in the atlas folder of GridAtlas covering the Renewable Energy Planning Database (REPD) register and substations.
- What it achieves (comment): It is built from the module step (`module`), the map step (`map`) and the fmt step (`fmt`). GridAtlas V9.195 candidate: asset-first VICINITY focus. It responds to click, touchstart and touchend events.
- What it does: It draws the REPD register and substations. Defines 10 functions or classes, including module, map, fmt, safely, label. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, substations.
- Signatures: `module()`; `map()`; `fmt(n)`; `safely(v)`; `label(p,txt,attr)`; `asset(card)`; `render(card)`; `navigate(card,type,rank)`; `install(card)`; `sync()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Secondary Neon Engine
- File: gridatlas/atlas/modules/202612020205-secondary-neon-engine.js (JavaScript, 9008 lines) · role geodesy · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202612020205-secondary-neon-engine.js#L1-L9008
- Page: https://code.globalgrid2050.com/explore-code/s/0555.html#f2
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps connection points, GB transmission network, price decade rollup and grid substations, using haversine.
- What it achieves (comment): It creates compute observer (`createComputeObserver`), describes compute receipt (`describeComputeReceipt`) and builds stats (`buildStats`). Receipt and distance owner: Ventusltd/ventus-grid-engine. Its code works with 400 kV, 132 kV and 33 kV. It responds to click, keydown and touchstart events.
- What it does: It maps connection points, GB transmission network, price decade rollup and grid substations. Defines 274 functions or classes, including distanceKm, distanceKm, representativePoint, voltagesKv, destinationPoint. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 750kV, 415kV, 400kV, 275kV, 220kV, 132kV.
- Inputs & outputs: In: JSON file connection-points.v3.json; JSON file gb-transmission-network.v1.json; JSON file price-decade-rollup.json; GeoJSON file grid_substations.geojson; JSON file neso-connection-sites.lean.json; GeoJSON file interconnectors.geojson; browser storage (getItem); DuckDB queries. Out: browser storage (setItem); interactive map. Coordinate systems named: WGS84 / EPSG:4326. Voltage levels named: 750kV, 415kV, 400kV, 275kV, 220kV, 132kV, 110kV, 66kV.
- Signatures: `distanceKm(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `dLon(lon2 - lon1)`; `representativePoint(geometry)`; `voltagesKv(properties)`; `destinationPoint(lon, lat, km, bearingDeg)`; `initialBearingDeg(lon1, lat1, lon2, lat2)`; `dl(lon2 - lon1)`; `copy(value)`; `finite(value)`; `located(point)`; `sameLocation(a, b)`; `sameEntity(a, b)`; `createComputeObserver({ onEvent = () => {}, now = () => Date.now() } = {})`; `publish(attempt, status, extra = {})`; `get(id)`; `request({ entity, location = null, operation = 'nearest-grid', dataset = null })`; `unsupported(id, reason)`; `run(id, compute)`; `snapshot(id = latest)`; `assess(id, expected)`; `describeComputeReceipt(receipt)`; `NS(window.__GRIDATLAS_MODULES__ = window.__GRIDATLAS_MODULES__ || {})`; `classOf(kv)`; `scope(origin, substations, options)` (and 15 more)
- VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km
- VEDIC: REPRESENT (GG2050-VEDIC-000002): GridAtlas / Geodesy · Computer science / Geometry processing. geojson_geometry -> coordinate_pair_or_null
- VEDIC: VOLTAGE (GG2050-VEDIC-000003): GridAtlas / Geodesy · Computer science / Data normalisation. voltage_properties -> kilovolt_list
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file connection-points.v3.json; JSON file gb-transmission-network.v1.json; JSON file price-decade-rollup.json; GeoJSON file grid_substations.geojson; JSON file neso-connection-sites.lean.json; GeoJSON file interconnectors.geojson; browser storage (getItem); DuckDB queries]; out [browser storage (setItem); interactive map]; crs [WGS84 / EPSG:4326]; voltages [750kV, 415kV, 400kV, 275kV, 220kV, 132kV, 110kV, 66kV]
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Unified SatNav Dock
- File: gridatlas/atlas/modules/202612020205-unified-satnav-dock.js (JavaScript, 696 lines) · role geodesy · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202612020205-unified-satnav-dock.js#L1-L696
- Page: https://code.globalgrid2050.com/explore-code/s/0568.html#f2
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps substations and 11kV. It sets panel open (`setPanelOpen`), updates text (`updateText`) and refreshes guidance (`refreshGuidance`).
- What it achieves (comment): Derived from the immutable 2 km convergence cartridge; native shell geometry stays owned by GridAtlas. Its code works with 11 kV and 33 kV. It responds to click, visibilitychange and offline events.
- What it does: It maps substations and 11kV. Defines 37 functions or classes, including setPanelOpen, notify, updateText, distanceText, bearingText. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage field_execution (path 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: substations, 11kV, 33kV.
- Inputs & outputs: Voltage levels named: 33kV, 11kV.
- Signatures: `setPanelOpen(open)`; `notify(name, detail)`; `updateText(element, value)`; `distanceText(metres)`; `bearingText(degrees)`; `collection(features)`; `pauseFollow()`; `refreshGuidance()`; `changePlan()`; `edit(operation)`; `setPin(which, at, fromGps = false)`; `place(at, fromGps = false)`; `restoreLocalPlan()`; `leaveExample()`; `replacePlan(coordinates, {example = false} = {})`; `undo()`; `setFix(next)`; `fieldState(sample)`; `refreshSources()`; `guidanceText()`; `nativeLayer(id)`; `syncInfrastructureControls()`; `render()`; `arm(which)`; `mapClick(event)` (and 14 more)
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages [33kV, 11kV]
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Orient16 Start Walk
- File: gridatlas/atlas/modules/202612031130-orient16-start-walk.js (JavaScript, 315 lines) · role geodesy · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202612031130-orient16-start-walk.js#L1-L315
- Page: https://code.globalgrid2050.com/explore-code/s/0570.html#f1
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that resets recovery (`resetRecovery`), attaches map (`attachMap`), syncs plan (`syncPlan`) and reads inputs for SatNav walk mode and SatNav route objective.
- What it achieves (comment): It resets recovery (`resetRecovery`), attaches map (`attachMap`) and syncs plan (`syncPlan`). Location and camera remain owned by the waypoint cartridge. It responds to resize, fullscreenchange and webkitfullscreenchange events.
- What it does: It maps its content. Defines 16 functions or classes, including mount, unsupported, choose, resetRecovery, manualRecovery. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage field_execution (path word 'walk'): 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: form fields (user input).
- Signatures: `mount()`; `unsupported()`; `choose()`; `resetRecovery()`; `manualRecovery(sample)`; `distance(m)`; `bearing(n)`; `clearHeader()`; `draw()`; `attachMap()`; `clearRoute(status)`; `calculate(points, revision)`; `syncPlan()`; `liveRoute(fix)`; `render()`; `stopWalk(reason)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/modules/202612031235-orient16-recovery-walk.js) · essay_status: readme_derived
- data_contracts: in [form fields (user input)]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Orient16 Recovery Walk
- File: gridatlas/atlas/modules/202612031235-orient16-recovery-walk.js (JavaScript, 317 lines) · role geodesy · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202612031235-orient16-recovery-walk.js#L1-L317
- Page: https://code.globalgrid2050.com/explore-code/s/0570.html#f2
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that attaches map (`attachMap`), syncs plan (`syncPlan`) and reads inputs for SatNav walk mode and SatNav route objective.
- What it achieves (comment): It resets recovery (`resetRecovery`), attaches map (`attachMap`) and syncs plan (`syncPlan`). Location and camera remain owned by the waypoint cartridge. It responds to resize, fullscreenchange and webkitfullscreenchange events.
- What it does: It maps its content. Defines 16 functions or classes, including mount, unsupported, choose, resetRecovery, manualRecovery. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage field_execution (path word 'walk'): 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: form fields (user input).
- Signatures: `mount()`; `unsupported()`; `choose()`; `resetRecovery()`; `manualRecovery(sample)`; `distance(m)`; `bearing(n)`; `clearHeader()`; `draw()`; `attachMap()`; `clearRoute(status)`; `calculate(points, revision)`; `syncPlan()`; `liveRoute(fix)`; `render()`; `stopWalk(reason)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [form fields (user input)]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Orient16 Responsive Panel
- File: gridatlas/atlas/modules/202612031346-orient16-responsive-panel.js (JavaScript, 90 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202612031346-orient16-responsive-panel.js#L1-L90
- Page: https://code.globalgrid2050.com/explore-code/s/0197.html#f7
- Synopsis: A JavaScript file in the atlas folder of GridAtlas.
- What it achieves (comment): Native controls and route state stay owned by their existing modules.
- What it does: It draws its content. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'panel'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary.
- Inputs & outputs: In: user-supplied file (file picker).
- domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [user-supplied file (file picker)]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Orient17 Regional Walk
- File: gridatlas/atlas/modules/202612031704-orient17-regional-walk.js (JavaScript, 348 lines) · role geodesy · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202612031704-orient17-regional-walk.js#L1-L348
- Page: https://code.globalgrid2050.com/explore-code/s/0571.html#f1
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that resets recovery (`resetRecovery`), attaches map (`attachMap`), syncs plan (`syncPlan`) and reads inputs for SatNav walk mode and SatNav route objective.
- What it achieves (comment): It resets recovery (`resetRecovery`), attaches map (`attachMap`) and syncs plan (`syncPlan`). Location and camera remain owned by the waypoint cartridge. It responds to resize, fullscreenchange and webkitfullscreenchange events.
- What it does: It maps its content. Defines 19 functions or classes, including mount, routed, unsupported, choose, resetRecovery. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage field_execution (path word 'walk'): 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: form fields (user input).
- Signatures: `mount()`; `routed()`; `unsupported()`; `choose()`; `resetRecovery()`; `manualRecovery(sample)`; `distance(m)`; `bearing(n)`; `clearHeader()`; `draw()`; `attachMap()`; `clearRoute(status)`; `calculate(points, revision)`; `syncPlan()`; `liveRoute(fix)`; `renderRegional(sample)`; `show(snapshot)`; `render()`; `stopWalk(reason)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/modules/202612040110-orient17b-walk.js) · essay_status: readme_derived
- data_contracts: in [form fields (user input)]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Orient17a Camera
- File: gridatlas/atlas/modules/202612040055-orient17a-camera.js (JavaScript, 731 lines) · role geodesy · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202612040055-orient17a-camera.js#L1-L731
- Page: https://code.globalgrid2050.com/explore-code/s/0571.html#f2
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps substations and 11kV. It sets panel open (`setPanelOpen`), updates text (`updateText`) and refreshes guidance (`refreshGuidance`).
- What it achieves (comment): Unified GridAtlas/SatNav candidate. Derived from the immutable 2 km convergence cartridge; native shell geometry stays owned by GridAtlas. Its code works with 11 kV and 33 kV. It responds to click, visibilitychange and offline events.
- What it does: It maps substations and 11kV. Defines 40 functions or classes, including setPanelOpen, notify, updateText, distanceText, bearingText. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 11kV, 33kV.
- Inputs & outputs: Voltage levels named: 33kV, 11kV.
- Signatures: `setPanelOpen(open)`; `notify(name, detail)`; `updateText(element, value)`; `distanceText(metres)`; `bearingText(degrees)`; `collection(features)`; `cameraTarget(map,fix,streetZoom)`; `shouldAcceptCameraFix(fix,quality,requestedAt,hidden)`; `pauseFollow()`; `pauseGesture(event)`; `refreshGuidance()`; `changePlan()`; `edit(operation)`; `setPin(which, at, fromGps = false)`; `place(at, fromGps = false)`; `restoreLocalPlan()`; `leaveExample()`; `replacePlan(coordinates, {example = false} = {})`; `undo()`; `setFix(next)`; `fieldState(sample)`; `refreshSources()`; `guidanceText()`; `nativeLayer(id)`; `syncInfrastructureControls()` (and 15 more)
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/modules/g203-03-gps-camera-candidate.js) · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages [33kV, 11kV]
- Edges: uses 0 estate files; used by 0; mentioned by 1
### Orient17a Walk
- File: gridatlas/atlas/modules/202612040055-orient17a-walk.js (JavaScript, 352 lines) · role geodesy · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202612040055-orient17a-walk.js#L1-L352
- Page: https://code.globalgrid2050.com/explore-code/s/0573.html#f1
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that resets recovery (`resetRecovery`), attaches map (`attachMap`), syncs plan (`syncPlan`) and reads inputs for SatNav walk mode and SatNav route objective.
- What it achieves (comment): It resets recovery (`resetRecovery`), attaches map (`attachMap`) and syncs plan (`syncPlan`). Location and camera remain owned by the waypoint cartridge. It responds to resize, fullscreenchange and webkitfullscreenchange events.
- What it does: It maps its content. Defines 19 functions or classes, including mount, routed, unsupported, choose, resetRecovery. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage field_execution (path word 'walk'): 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: form fields (user input).
- Signatures: `mount()`; `routed()`; `unsupported()`; `choose()`; `resetRecovery()`; `manualRecovery(sample)`; `distance(m)`; `bearing(n)`; `clearHeader()`; `draw()`; `attachMap()`; `clearRoute(status)`; `calculate(points, revision)`; `syncPlan()`; `liveRoute(fix)`; `renderRegional(sample)`; `show(snapshot)`; `render()`; `stopWalk(reason)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/modules/202612040110-orient17b-walk.js) · essay_status: readme_derived
- data_contracts: in [form fields (user input)]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Orient17b Walk
- File: gridatlas/atlas/modules/202612040110-orient17b-walk.js (JavaScript, 354 lines) · role geodesy · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202612040110-orient17b-walk.js#L1-L354
- Page: https://code.globalgrid2050.com/explore-code/s/0574.html#f1
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that resets recovery (`resetRecovery`), attaches map (`attachMap`), syncs plan (`syncPlan`) and reads inputs for SatNav walk mode and SatNav route objective.
- What it achieves (comment): It resets recovery (`resetRecovery`), attaches map (`attachMap`) and syncs plan (`syncPlan`). Location and camera remain owned by the waypoint cartridge. It responds to resize, fullscreenchange and webkitfullscreenchange events.
- What it does: It maps its content. Defines 19 functions or classes, including mount, routed, unsupported, choose, resetRecovery. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage field_execution (path word 'walk'): 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: form fields (user input).
- Signatures: `mount()`; `routed()`; `unsupported()`; `choose()`; `resetRecovery()`; `manualRecovery(sample)`; `distance(m)`; `bearing(n)`; `clearHeader()`; `draw()`; `attachMap()`; `clearRoute(status)`; `calculate(points, revision)`; `syncPlan()`; `liveRoute(fix)`; `renderRegional(sample)`; `label(mode.value==='walking'?'Walking · mapped distance':objective.value==='fastest'?'Driving · estimated time':'Driving · ...)`; `show(snapshot)`; `render()`; `stopWalk(reason)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [form fields (user input)]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Orient17a Compass
- File: gridatlas/atlas/modules/202612040126-orient17a-compass.js (JavaScript, 86 lines) · role interaction · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202612040126-orient17a-compass.js#L1-L86
- Page: https://code.globalgrid2050.com/explore-code/s/0574.html#f2
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that resets heading (`resetHeading`) and draws SVG graphics.
- What it achieves (comment): It resets heading (`resetHeading`) and is built from the mount step (`mount`) and the screen angle helper (`screenAngle`). ORIENT-17A: compact view of the existing survey GPS and manual controller. It responds to deviceorientation, deviceorientationabsolute and change events.
- What it does: It draws its content. Defines 7 functions or classes, including mount, resetHeading, screenAngle, attach, render. Side effects: changes the web page (DOM).
- 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.
- Inputs & outputs: Out: SVG drawing.
- Signatures: `mount()`; `resetHeading()`; `screenAngle()`; `attach()`; `render()`; `invalidate()`; `stop(status='stopped')`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out [SVG drawing]; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### G203 Compact SatNav Panel
- File: gridatlas/atlas/modules/g203-compact-satnav-panel.js (JavaScript, 66 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/g203-compact-satnav-panel.js#L1-L66
- Page: https://code.globalgrid2050.com/explore-code/s/0198.html#f1
- Synopsis: A JavaScript file in the atlas folder of GridAtlas.
- What it achieves (comment): Native controls and route state stay owned by their existing modules.
- What it does: It draws its content. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage field_execution (path 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: user-supplied file (file picker).
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [user-supplied file (file picker)]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### G203 Regional Data Viewport
- File: gridatlas/atlas/modules/g203-regional-data-viewport.js (JavaScript, 219 lines) · role storage · stage ingest · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/g203-regional-data-viewport.js#L1-L219
- Page: https://code.globalgrid2050.com/explore-code/s/0576.html#f3
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that reads grid UK Power Networks (UKPN) secondary, UKPN transformers and 11kV, using SHA-256 from the data-grid-GB repository.
- What it achieves (comment): It registers pinned (`registerPinned`) and is built from the shared database helper (`sharedDatabase`) and the details for helper (`detailsFor`). Native `ukConfig` extension, pinned UKPN transformer archive. Its code works with 11 kV and 400 kV. It reads `grid_ukpn_secondary.parquet`.
- What it does: It loads grid UKPN secondary, UKPN transformers and 11kV. Defines 14 functions or classes, including sharedDatabase, registerPinned, detailsFor, scalar, normalize. Side effects: uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 11kV, 400kV.
- Inputs & outputs: In: data source: data-grid-gb data; Parquet file grid_ukpn_secondary.parquet; Parquet file ukpn_transformers.parquet; DuckDB queries. Voltage levels named: 400kV, 11kV.
- Signatures: `sharedDatabase()`; `registerPinned(database,name)`; `detailsFor(site)`; `scalar(v)`; `normalize(raw)`; `unpack(bytes)`; `extend(options)`; `load()`; `viewportBounds(west,south,east,north,padding=0.15)`; `latitudePad(north-south)`; `outward(a,z)`; `viewportSQL(west,south,east,north,padding=0.15)`; `includesPoint(b,lon,lat)`; `viewportFeatures(west,south,east,north)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [data source: data-grid-gb data; Parquet file grid_ukpn_secondary.parquet; Parquet file ukpn_transformers.parquet; DuckDB queries]; out []; crs []; voltages [400kV, 11kV]
- Edges: uses 0 estate files; used by 0; mentioned by 1
### G204 Compact Dock
- File: gridatlas/atlas/modules/g204-compact-dock.js (JavaScript, 50 lines) · role interaction · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/g204-compact-dock.js#L1-L50
- Page: https://code.globalgrid2050.com/explore-code/s/0589.html#f1
- Synopsis: A JavaScript file in the atlas folder of GridAtlas. It is built from the mount step (`mount`) and the ready step (`ready`).
- What it achieves (comment): G203-01: one native layout owner; original controls and listeners retained. It responds to satnav, pageshow and pagehide events.
- What it does: It draws its content. Defines mount, ready. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Signatures: `mount()`; `ready()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/modules/g203-compact-dock.js) · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### G204 Gps Camera
- File: gridatlas/atlas/modules/g204-gps-camera.js (JavaScript, 731 lines) · role geodesy · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/g204-gps-camera.js#L1-L731
- Page: https://code.globalgrid2050.com/explore-code/s/0589.html#f2
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps substations and 11kV. It sets panel open (`setPanelOpen`), updates text (`updateText`) and refreshes guidance (`refreshGuidance`).
- What it achieves (comment): Unified GridAtlas/SatNav candidate. Derived from the immutable 2 km convergence cartridge; native shell geometry stays owned by GridAtlas. Its code works with 11 kV and 33 kV. It responds to click, visibilitychange and offline events.
- What it does: It maps substations and 11kV. Defines 40 functions or classes, including setPanelOpen, notify, updateText, distanceText, bearingText. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage field_execution (path word 'gps'): 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: substations, 11kV, 33kV.
- Inputs & outputs: Voltage levels named: 33kV, 11kV.
- Signatures: `setPanelOpen(open)`; `notify(name, detail)`; `updateText(element, value)`; `distanceText(metres)`; `bearingText(degrees)`; `collection(features)`; `cameraTarget(map,fix,streetZoom)`; `shouldAcceptCameraFix(fix,quality,requestedAt,hidden)`; `pauseFollow()`; `pauseGesture(event)`; `refreshGuidance()`; `changePlan()`; `edit(operation)`; `setPin(which, at, fromGps = false)`; `place(at, fromGps = false)`; `restoreLocalPlan()`; `leaveExample()`; `replacePlan(coordinates, {example = false} = {})`; `undo()`; `setFix(next)`; `fieldState(sample)`; `refreshSources()`; `guidanceText()`; `nativeLayer(id)`; `syncInfrastructureControls()` (and 15 more)
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/modules/g203-03-gps-camera-candidate.js) · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages [33kV, 11kV]
- Edges: uses 0 estate files; used by 0; mentioned by 0
### G204 Start Walk
- File: gridatlas/atlas/modules/g204-start-walk.js (JavaScript, 287 lines) · role geodesy · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/g204-start-walk.js#L1-L287
- Page: https://code.globalgrid2050.com/explore-code/s/0590.html#f2
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that attaches map (`attachMap`), syncs plan (`syncPlan`) and reads inputs for SatNav walk mode.
- What it achieves (comment): It attaches map (`attachMap`), syncs plan (`syncPlan`) and stops walk (`stopWalk`). Explicit walking on the existing field map. It responds to resize, fullscreenchange and webkitfullscreenchange events.
- What it does: It maps its content. Defines 13 functions or classes, including mount, choose, distance, bearing, clearHeader. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage field_execution (path word 'walk'): 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: form fields (user input).
- Signatures: `mount()`; `choose()`; `distance(m)`; `bearing(n)`; `clearHeader()`; `draw()`; `attachMap()`; `clearRoute(status)`; `calculate(points, revision)`; `syncPlan()`; `liveRoute(fix)`; `render()`; `stopWalk(reason)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/modules/202611281800-satnav-gate-walk.js) · essay_status: readme_derived
- data_contracts: in [form fields (user input)]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### SatNav Convergence 2km Gate Walk
- File: gridatlas/atlas/modules/satnav-convergence-2km-gate-walk.js (JavaScript, 288 lines) · role geodesy · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/satnav-convergence-2km-gate-walk.js#L1-L288
- Page: https://code.globalgrid2050.com/explore-code/s/0590.html#f3
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that attaches map (`attachMap`), syncs plan (`syncPlan`) and reads inputs for SatNav walk mode.
- What it achieves (comment): It attaches map (`attachMap`), syncs plan (`syncPlan`) and stops walk (`stopWalk`). Explicit walking on the existing field map. It responds to resize, fullscreenchange and webkitfullscreenchange events.
- What it does: It maps its content. Defines 13 functions or classes, including mount, choose, distance, bearing, clearHeader. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): 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: form fields (user input).
- Signatures: `mount()`; `choose()`; `distance(m)`; `bearing(n)`; `clearHeader()`; `draw()`; `attachMap()`; `clearRoute(status)`; `calculate(points, revision)`; `syncPlan()`; `liveRoute(fix)`; `render()`; `stopWalk(reason)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/modules/202611281800-satnav-gate-walk.js) · essay_status: readme_derived
- data_contracts: in [form fields (user input)]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### SatNav Convergence 2km Waypoint Map
- File: gridatlas/atlas/modules/satnav-convergence-2km-waypoint-map.js (JavaScript, 605 lines) · role geodesy · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/satnav-convergence-2km-waypoint-map.js#L1-L605
- Page: https://code.globalgrid2050.com/explore-code/s/0591.html#f1
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps substations and 11kV. It updates text (`updateText`), refreshes guidance (`refreshGuidance`) and sets pin (`setPin`).
- What it achieves (comment): Based on the immutable PR113 compact map and GPS lifecycle. Its code works with 11 kV and 33 kV. It responds to visibilitychange, offline and online events.
- What it does: It maps substations and 11kV. Defines 33 functions or classes, including notify, updateText, distanceText, bearingText, collection. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage field_execution (path 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: substations, 11kV, 33kV.
- Inputs & outputs: Voltage levels named: 33kV, 11kV.
- Signatures: `notify(name, detail)`; `updateText(element, value)`; `distanceText(metres)`; `bearingText(degrees)`; `collection(features)`; `refreshGuidance()`; `changePlan()`; `edit(operation)`; `setPin(which, at, fromGps = false)`; `place(at, fromGps = false)`; `restoreLocalPlan()`; `leaveExample()`; `replacePlan(coordinates, {example = false} = {})`; `undo()`; `setFix(next)`; `fieldState(sample)`; `refreshSources()`; `guidanceText()`; `nativeLayer(id)`; `syncInfrastructureControls()`; `render()`; `arm(which)`; `mapClick(event)`; `selectedIndex()`; `stopTracking(message)` (and 9 more)
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages [33kV, 11kV]
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Unified Layer Search UI
- File: gridatlas/atlas/modules/unified-layer-search-ui.mjs (JavaScript, 105 lines) · role interaction · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/unified-layer-search-ui.mjs#L1-L105
- Page: https://code.globalgrid2050.com/explore-code/s/0593.html#f4
- Synopsis: A JavaScript module in the atlas folder of GridAtlas that resets page (`resetPage`).
- What it achieves (comment): It resets page (`resetPage`) and is built from the tidy step (`tidy`) and the install unified layer search helper (`installUnifiedLayerSearch`). G201-06: additive search projection over the existing native Grid menu. It responds to click, input and change events.
- What it does: It draws its content. Defines 10 functions or classes, including tidy, installUnifiedLayerSearch, inventory, make, button. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Signatures: `export installUnifiedLayerSearch(doc = document)`; `tidy(text)`; `inventory()`; `make(tag,text)`; `button(text)`; `clearProjection()`; `render()`; `resetPage()`; `refresh()`; `onNativeChange()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 0; mentioned by 0
### Unified Native Gazetteer
- File: gridatlas/atlas/modules/unified-native-gazetteer.js (JavaScript, 973 lines) · role geodesy · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/unified-native-gazetteer.js#L1-L973
- Page: https://code.globalgrid2050.com/explore-code/s/0593.html#f5
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps Renewable Energy Planning Database (REPD) projects and offshore coordinates, using SHA-256, and uses data from postcodes.io and OpenStreetMap Nominatim.
- What it achieves (comment): It marks deep link cancelled (`markDeepLinkCancelled`), normalises compact (`normaliseCompact`) and parses groups (`parseGroups`). V9.201 candidate derivative; original native gazetteer remains byte-identical. It responds to gridatlas, click and input events.
- What it does: It maps REPD projects, offshore coordinates, postcodes and the REPD register. Defines 44 functions or classes, including invalidateSearch, invariant, arrivalCoordinator, markDeepLinkCancelled, invalidatePendingDeepLink. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: postcodes, the REPD register.
- Inputs & outputs: In: data source: postcodes.io; data source: OpenStreetMap Nominatim; Parquet file repd_projects_202611132345.parquet; JSON file repd_v9_manifest_202611132345.json; JSON file offshore-coordinates.json; DuckDB queries. Out: interactive map. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid).
- Signatures: `invalidateSearch()`; `invariant(condition, message)`; `arrivalCoordinator()`; `markDeepLinkCancelled(reason, epoch = null)`; `invalidatePendingDeepLink(reason)`; `escapeHtml(value)`; `sqlString(value)`; `normaliseCompact(value)`; `parseGroups(query)`; `sha256Hex(bytes)`; `verifyManifest()`; `sharedDuckDBRuntime(moduleUrl)`; `runtime()`; `resetOfficialRuntime()`; `installMapCapture()`; `construct(target, args, newTarget)`; `buildWhere(query)`; `buildScore(query)`; `rowObject(row)`; `queryOfficialRepd(query, serial = null, stillOwned = null)`; `hasSafeMapPoint(result)`; `loadDerivedCoordinates()`; `derivedCoordinateFor(repdRef)`; `setDeepLink(result)`; `selectResult(result, options = {})` (and 15 more)
- VEDIC: QUERY (GG2050-VEDIC-000046): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. query_text -> sql_predicate
- VEDIC: SCORE (GG2050-VEDIC-000047): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. query_text -> sql_sort_expression
- VEDIC: UK GEOCODE (GG2050-VEDIC-000048): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. query_text -> uk_location_candidates
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [data source: postcodes.io; data source: OpenStreetMap Nominatim; Parquet file repd_projects_202611132345.parquet; JSON file repd_v9_manifest_202611132345.json; JSON file offshore-coordinates.json; DuckDB queries]; out [interactive map]; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Single-Line Diagram (SLD) Sandbox Body
- File: gridatlas/atlas/parts/202609012045-sld-sandbox-body.js (JavaScript, 5782 lines) · role geodesy · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/parts/202609012045-sld-sandbox-body.js#L1-L5782
- Page: https://code.globalgrid2050.com/explore-code/s/0410.html#f2
- Synopsis: A JavaScript file in the parts folder of GridAtlas that maps grid substations, solar, transformers and 400kV, using haversine.
- What it achieves (comment): It resolves declared connection (`resolveDeclaredConnection`), opens corridor sheet (`openCorridorSheet`) and runs grid point (`runGridAtPoint`). GridAtlas cartridge — neon substation links and the SLD layout sandbox. Its code works with 400 kV, 33 kV and 132 kV. It responds to click, keydown and touchstart events.
- What it does: It maps grid substations, solar, transformers and 400kV. Defines 183 functions or classes, including coverage, isProjectTech, provisionalDeclaredConnection, resolveDeclaredConnection, nearestTransmission. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar, transformers, 400kV, 750kV, 415kV, 275kV.
- Inputs & outputs: In: GeoJSON file grid_substations.geojson; browser storage (getItem); DuckDB queries; form fields (user input). Out: browser storage (setItem); interactive map. Coordinate systems named: WGS84 / EPSG:4326. Voltage levels named: 750kV, 415kV, 400kV, 275kV, 220kV, 132kV, 66kV, 33kV.
- Signatures: `GEODESY(window.__GRIDATLAS_MODULES__ || {})`; `isProjectTech(tech)`; `DECLARED(window.__GRIDATLAS_MODULES__ || {})`; `provisionalDeclaredConnection(repdRef)`; `resolveDeclaredConnection(repdRef, origin, subs)`; `nearestTransmission(origin, subs)`; `corridorBeside(km)`; `module(() => { try { return window.__GRIDATLAS_MODULES__?.corridorEstimate || null; } catch (_) { return null; } })`; `corridorTargets()`; `corridorAction()`; `installCorridorSheet()`; `close()`; `openCorridorSheet(sheet)`; `armCorridorGestures(map)`; `canvas(() => { try { return map.getCanvas ? map.getCanvas() : null; } catch (_) { return null; } })`; `cancel()`; `nearestScope(n)`; `network(() => { try { return window.__GRIDATLAS_NETWORK__?.coverage?.(400) || null; } catch (_) { return null; } })`; `declaredBlockHtml(toSubstations)`; `published(() => { try { return window.__GRIDATLAS_NETWORK__?.summarise?.( networkName, { connectionKv, units: publishedUnits })...)`; `PINS(window.__GRIDATLAS_MODULES__ || {})`; `reflect()`; `reflectFullscreen()`; `topologyModule()`; `ensureTopology()` (and 15 more)
- VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km
- VEDIC: VOLTAGE (GG2050-VEDIC-000003): GridAtlas / Geodesy · Computer science / Data normalisation. voltage_properties -> kilovolt_list
- VEDIC: REPRESENT (GG2050-VEDIC-000002): GridAtlas / Geodesy · Computer science / Geometry processing. geojson_geometry -> coordinate_pair_or_null
- domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [GeoJSON file grid_substations.geojson; browser storage (getItem); DuckDB queries; form fields (user input)]; out [browser storage (setItem); interactive map]; crs [WGS84 / EPSG:4326]; voltages [750kV, 415kV, 400kV, 275kV, 220kV, 132kV, 66kV, 33kV]
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Substation Intelligence Body
- File: gridatlas/atlas/parts/202609012350-substation-intelligence-body.js (JavaScript, 314 lines) · role electrical · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/parts/202609012350-substation-intelligence-body.js#L1-L314
- Page: https://code.globalgrid2050.com/explore-code/s/0419.html#f1
- Synopsis: A JavaScript file in the parts folder of GridAtlas that fetches transformers, substations, 400kV and 132kV, using haversine.
- What it achieves (comment): It is built from the normalise step (`normalise`), the ready step (`ready`) and the eligible step (`eligible`). PART 2 - the network, as its operator publishes it. Its code works with 400 kV and 132 kV.
- What it does: It fetches transformers, substations, 400kV and 132kV. Defines normalise, ready, eligible, unitCount. Side effects: changes the web page (DOM); makes network requests.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers, substations, 400kV, 132kV, 275kV, 66kV.
- Inputs & outputs: Voltage levels named: 400kV, 275kV, 132kV, 66kV, 33kV, 11kV.
- Signatures: `PINS(window.__GRIDATLAS_MODULES__ || {})`; `GEODESY(window.__GRIDATLAS_MODULES__ || {})`; `normalise(name)`; `eligible(point)`; `units(options && options.units)`; `unitCount(field)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages [400kV, 275kV, 132kV, 66kV, 33kV, 11kV]
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Ventus Corev8engine Layer Availability
- File: gridatlas/atlas/parts/202609040212-ventus-corev8engine-layer-availability.js (JavaScript, 1541 lines) · role geodesy · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/parts/202609040212-ventus-corev8engine-layer-availability.js#L1-L1541
- Page: https://code.globalgrid2050.com/explore-code/s/0595.html#f1
- Synopsis: A JavaScript file in the parts folder of GridAtlas that maps elizabeth line, london underground, UK metros trams and HS2, using haversine.
- What it achieves (code): It normalizes status (`normalizeStatus`), toggles zone draw mode (`toggleZoneDrawMode`) and opens popup (`openPopup`). Its `snapLines` function gives line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged from line features and substation point features (VEDIC: snap line ends to substations). It reads `/uk_renewables_pipeline/v9/data/v9.1/build_manifest.json`. It responds to fullscreenchange, webkitfullscreenchange and click events.
- What it does: It maps elizabeth line, london underground, UK metros trams and hs2. Defines 64 functions or classes, including deepFreeze, escapeHTML, normalizeStatus, fmt, haversine. Side effects: changes the web page (DOM); makes network requests.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson; JSON file style.json; JSON file build_manifest.json; GeoJSON file grid_400kv.geojson; form fields (user input). Out: interactive map.
- Signatures: `deepFreeze(obj)`; `escapeHTML(value)`; `normalizeStatus(status)`; `fmt(n, decimals)`; `haversine(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `_zoneDrawGetRadius()`; `_zoneDrawCirclePoints(lon, lat, radiusKm, n)`; `b(i / n)`; `_zoneDrawCalcArea(pts)`; `j(i + 1)`; `_zoneDrawUpdateLayers(dragOnly)`; `_zoneDrawShowPopup()`; `_zoneDrawShowPopupDebounced()`; `_zoneDrawClear()`; `zoneDrawUndo()`; `toggleZoneDrawMode()`; `_zoneDrawNearVertex(px)`; `_zoneDrawNearEdgeDot(px)`; `_zoneDrawOnClick(e)`; `mpp(km * 2000)`; `_zoneDrawOnMouseDown(e)`; `_zoneDrawOnMouseMove(e)`; `_zoneDrawOnMouseUp()`; `openPopup(lngLat, html, maxWidth)` (and 15 more)
- VEDIC: SNAP LINE ENDS TO SUBSTATIONS (GG2050-VEDIC-000106): GridAtlas / Substations · Geospatial data processing. line_features, substation_point_features -> Line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/parts/202609040229-ventus-corev8engine-exact-repd-delegation.js) · essay_status: readme_derived
- data_contracts: in [GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson; JSON file style.json; JSON file build_manifest.json; GeoJSON file grid_400kv.geojson; form fields (user input)]; out [interactive map]; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Single-Line Diagram (SLD) Sandbox Arrival Identity
- File: gridatlas/atlas/parts/202609040229-sld-sandbox-arrival-identity.js (JavaScript, 5948 lines) · role geodesy · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/parts/202609040229-sld-sandbox-arrival-identity.js#L1-L5948
- Page: https://code.globalgrid2050.com/explore-code/s/0419.html#f2
- Synopsis: A JavaScript file in the parts folder of GridAtlas that maps grid substations, solar, transformers and 400kV, using haversine.
- What it achieves (comment): It resolves declared connection (`resolveDeclaredConnection`), opens corridor sheet (`openCorridorSheet`) and runs grid point (`runGridAtPoint`). GridAtlas cartridge — neon substation links and the SLD layout sandbox. Its code works with 400 kV, 33 kV and 132 kV. It responds to click, keydown and touchstart events.
- What it does: It maps grid substations, solar, transformers and 400kV. Defines 187 functions or classes, including coverage, isProjectTech, provisionalDeclaredConnection, resolveDeclaredConnection, nearestTransmission. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar, transformers, 400kV, 750kV, 415kV, 275kV.
- Inputs & outputs: In: GeoJSON file grid_substations.geojson; browser storage (getItem); DuckDB queries; form fields (user input). Out: browser storage (setItem); interactive map. Coordinate systems named: WGS84 / EPSG:4326. Voltage levels named: 750kV, 415kV, 400kV, 275kV, 220kV, 132kV, 66kV, 33kV.
- Signatures: `GEODESY(window.__GRIDATLAS_MODULES__ || {})`; `isProjectTech(tech)`; `DECLARED(window.__GRIDATLAS_MODULES__ || {})`; `provisionalDeclaredConnection(repdRef)`; `resolveDeclaredConnection(repdRef, origin, subs)`; `nearestTransmission(origin, subs)`; `corridorBeside(km)`; `module(() => { try { return window.__GRIDATLAS_MODULES__?.corridorEstimate || null; } catch (_) { return null; } })`; `corridorTargets()`; `corridorAction()`; `installCorridorSheet()`; `close()`; `openCorridorSheet(sheet)`; `armCorridorGestures(map)`; `canvas(() => { try { return map.getCanvas ? map.getCanvas() : null; } catch (_) { return null; } })`; `cancel()`; `nearestScope(n)`; `network(() => { try { return window.__GRIDATLAS_NETWORK__?.coverage?.(400) || null; } catch (_) { return null; } })`; `declaredBlockHtml(toSubstations)`; `published(() => { try { return window.__GRIDATLAS_NETWORK__?.summarise?.( networkName, { connectionKv, units: publishedUnits })...)`; `PINS(window.__GRIDATLAS_MODULES__ || {})`; `reflect()`; `reflectFullscreen()`; `topologyModule()`; `ensureTopology()` (and 15 more)
- VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km
- VEDIC: VOLTAGE (GG2050-VEDIC-000003): GridAtlas / Geodesy · Computer science / Data normalisation. voltage_properties -> kilovolt_list
- VEDIC: REPRESENT (GG2050-VEDIC-000002): GridAtlas / Geodesy · Computer science / Geometry processing. geojson_geometry -> coordinate_pair_or_null
- domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/parts/202609040400-sld-sandbox-style-hoist.js) · essay_status: readme_derived
- data_contracts: in [GeoJSON file grid_substations.geojson; browser storage (getItem); DuckDB queries; form fields (user input)]; out [browser storage (setItem); interactive map]; crs [WGS84 / EPSG:4326]; voltages [750kV, 415kV, 400kV, 275kV, 220kV, 132kV, 66kV, 33kV]
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Single-Line Diagram (SLD) Sandbox Style Hoist
- File: gridatlas/atlas/parts/202609040400-sld-sandbox-style-hoist.js (JavaScript, 5692 lines) · role geodesy · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/parts/202609040400-sld-sandbox-style-hoist.js#L1-L5692
- Page: https://code.globalgrid2050.com/explore-code/s/0428.html#f1
- Synopsis: A JavaScript file in the parts folder of GridAtlas that maps grid substations, solar, transformers and 400kV, using haversine.
- What it achieves (comment): It resolves declared connection (`resolveDeclaredConnection`), opens corridor sheet (`openCorridorSheet`) and runs grid point (`runGridAtPoint`). GridAtlas cartridge — neon substation links and the SLD layout sandbox. Its code works with 400 kV, 33 kV and 132 kV. It responds to click, keydown and touchstart events.
- What it does: It maps grid substations, solar, transformers and 400kV. Defines 187 functions or classes, including coverage, isProjectTech, provisionalDeclaredConnection, resolveDeclaredConnection, nearestTransmission. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar, transformers, 400kV, 750kV, 415kV, 275kV.
- Inputs & outputs: In: GeoJSON file grid_substations.geojson; browser storage (getItem); DuckDB queries; form fields (user input). Out: browser storage (setItem); interactive map. Coordinate systems named: WGS84 / EPSG:4326. Voltage levels named: 750kV, 415kV, 400kV, 275kV, 220kV, 132kV, 66kV, 33kV.
- Signatures: `SLD_STYLES(window.__GRIDATLAS_MODULES__ || {})`; `GEODESY(window.__GRIDATLAS_MODULES__ || {})`; `isProjectTech(tech)`; `DECLARED(window.__GRIDATLAS_MODULES__ || {})`; `provisionalDeclaredConnection(repdRef)`; `resolveDeclaredConnection(repdRef, origin, subs)`; `nearestTransmission(origin, subs)`; `corridorBeside(km)`; `module(() => { try { return window.__GRIDATLAS_MODULES__?.corridorEstimate || null; } catch (_) { return null; } })`; `corridorTargets()`; `corridorAction()`; `installCorridorSheet()`; `close()`; `openCorridorSheet(sheet)`; `armCorridorGestures(map)`; `canvas(() => { try { return map.getCanvas ? map.getCanvas() : null; } catch (_) { return null; } })`; `cancel()`; `nearestScope(n)`; `network(() => { try { return window.__GRIDATLAS_NETWORK__?.coverage?.(400) || null; } catch (_) { return null; } })`; `declaredBlockHtml(toSubstations)`; `published(() => { try { return window.__GRIDATLAS_NETWORK__?.summarise?.( networkName, { connectionKv, units: publishedUnits })...)`; `PINS(window.__GRIDATLAS_MODULES__ || {})`; `reflect()`; `reflectFullscreen()`; `topologyModule()` (and 15 more)
- VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km
- VEDIC: VOLTAGE (GG2050-VEDIC-000003): GridAtlas / Geodesy · Computer science / Data normalisation. voltage_properties -> kilovolt_list
- VEDIC: REPRESENT (GG2050-VEDIC-000002): GridAtlas / Geodesy · Computer science / Geometry processing. geojson_geometry -> coordinate_pair_or_null
- domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [GeoJSON file grid_substations.geojson; browser storage (getItem); DuckDB queries; form fields (user input)]; out [browser storage (setItem); interactive map]; crs [WGS84 / EPSG:4326]; voltages [750kV, 415kV, 400kV, 275kV, 220kV, 132kV, 66kV, 33kV]
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Ventus Corev8engine Polyzone Grabbable
- File: gridatlas/atlas/parts/202609060254-ventus-corev8engine-polyzone-grabbable.js (JavaScript, 1576 lines) · role geodesy · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/parts/202609060254-ventus-corev8engine-polyzone-grabbable.js#L1-L1576
- Page: https://code.globalgrid2050.com/explore-code/s/0599.html#f2
- Synopsis: A JavaScript file in the parts folder of GridAtlas that maps elizabeth line, london underground, UK metros trams and HS2, using haversine.
- What it achieves (code): It normalizes status (`normalizeStatus`), toggles zone draw mode (`toggleZoneDrawMode`) and opens popup (`openPopup`). Its `snapLines` function gives line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged from line features and substation point features (VEDIC: snap line ends to substations). It responds to fullscreenchange, webkitfullscreenchange and click events.
- What it does: It maps elizabeth line, london underground, UK metros trams and hs2. Defines 67 functions or classes, including deepFreeze, escapeHTML, normalizeStatus, fmt, haversine. Side effects: changes the web page (DOM); makes network requests.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson; JSON file style.json; GeoJSON file grid_400kv.geojson; form fields (user input). Out: interactive map.
- Signatures: `deepFreeze(obj)`; `escapeHTML(value)`; `normalizeStatus(status)`; `fmt(n, decimals)`; `haversine(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `_zoneDrawGetRadius()`; `_zoneDrawCirclePoints(lon, lat, radiusKm, n)`; `b(i / n)`; `_zoneDrawCalcArea(pts)`; `j(i + 1)`; `_zoneDrawUpdateLayers(dragOnly)`; `_zoneDrawShowPopup()`; `_zoneDrawShowPopupDebounced()`; `_zoneDrawClear()`; `zoneDrawUndo()`; `toggleZoneDrawMode()`; `_zoneDrawNearVertex(px)`; `_zoneDrawEdgeDots(i)`; `_zoneDrawNearEdgeDot(px)`; `_zoneDrawOnClick(e)`; `mpp(km * 2000)`; `_zoneDrawOnMouseDown(e)`; `_zoneDrawOnMouseMove(e)`; `_zoneDrawOnMouseUp()` (and 15 more)
- VEDIC: SNAP LINE ENDS TO SUBSTATIONS (GG2050-VEDIC-000106): GridAtlas / Substations · Geospatial data processing. line_features, substation_point_features -> Line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson; JSON file style.json; GeoJSON file grid_400kv.geojson; form fields (user input)]; out [interactive map]; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Place Global Search Renewable Energy Planning Database (REPD) 2026q3
- File: gridatlas/atlas/parts/202611132345-place-global-search-repd-2026q3.js (JavaScript, 913 lines) · role energy-data · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/parts/202611132345-place-global-search-repd-2026q3.js#L1-L913
- Page: https://code.globalgrid2050.com/explore-code/s/0602.html#f1
- Synopsis: A JavaScript file in the parts folder of GridAtlas that maps REPD projects, offshore coordinates, postcodes and the REPD register, using SHA-256, and uses data from postcodes.io and OpenStreetMap Nominatim.
- What it achieves (code): It marks deep link cancelled (`markDeepLinkCancelled`), normalises compact (`normaliseCompact`) and parses groups (`parseGroups`). Its `buildWhere` function gives SQL predicate from query text (VEDIC: query). It responds to gridatlas, click and input events.
- What it does: It maps REPD projects, offshore coordinates, postcodes and the REPD register. Defines 41 functions or classes, including invariant, arrivalCoordinator, markDeepLinkCancelled, invalidatePendingDeepLink, escapeHtml. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: postcodes, the REPD register.
- Inputs & outputs: In: data source: postcodes.io; data source: OpenStreetMap Nominatim; Parquet file repd_projects_202611132345.parquet; JSON file repd_v9_manifest_202611132345.json; JSON file offshore-coordinates.json; DuckDB queries. Out: interactive map. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid).
- Signatures: `invariant(condition, message)`; `arrivalCoordinator()`; `markDeepLinkCancelled(reason, epoch = null)`; `invalidatePendingDeepLink(reason)`; `escapeHtml(value)`; `sqlString(value)`; `normaliseCompact(value)`; `parseGroups(query)`; `sha256Hex(bytes)`; `verifyManifest()`; `sharedDuckDBRuntime(moduleUrl)`; `runtime()`; `resetOfficialRuntime()`; `installMapCapture()`; `construct(target, args, newTarget)`; `buildWhere(query)`; `buildScore(query)`; `rowObject(row)`; `queryOfficialRepd(query, serial = null, stillOwned = null)`; `hasSafeMapPoint(result)`; `loadDerivedCoordinates()`; `derivedCoordinateFor(repdRef)`; `setDeepLink(result)`; `selectResult(result, options = {})`; `geocoderGet(path, query)` (and 15 more)
- VEDIC: QUERY (GG2050-VEDIC-000046): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. query_text -> sql_predicate
- VEDIC: SCORE (GG2050-VEDIC-000047): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. query_text -> sql_sort_expression
- VEDIC: UK GEOCODE (GG2050-VEDIC-000048): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. query_text -> uk_location_candidates
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/cartridges/202611180026-place-global-search-v9-5.js) · essay_status: readme_derived
- data_contracts: in [data source: postcodes.io; data source: OpenStreetMap Nominatim; Parquet file repd_projects_202611132345.parquet; JSON file repd_v9_manifest_202611132345.json; JSON file offshore-coordinates.json; DuckDB queries]; out [interactive map]; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Weather Module
- File: gridatlas/atlas/preview/lightning/weather-module.js (JavaScript, 194 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/preview/lightning/weather-module.js#L1-L194
- Page: https://code.globalgrid2050.com/explore-code/s/0603.html#f3
- Published at: https://gridatlas.globalgrid2050.com/atlas/preview/lightning/
- Synopsis: A JavaScript file in the lightning folder of GridAtlas that maps UK lightning and uses data from the lightning repository. Served with the page at https://gridatlas.globalgrid2050.com/atlas/preview/lightning/.
- What it achieves (comment): It appends layers (`appendToLayers`) and sets active (`setActive`). Public UK Lightning, isolated from the immutable 60+3 control contract. It responds to change events.
- What it does: It maps UK lightning. Defines install, appendToLayers, status, hydrate, setActive. Side effects: changes the web page (DOM); makes network requests.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "It changes ONLY its isolated `streaming-parquet-bridge` to ignore cross-origin files, and injects `weather-module.js` verified by SHA-256."
- Inputs & outputs: In: data source: lightning data; GeoJSON file uk_lightning.geojson. Out: interactive map.
- Signatures: `install()`; `appendToLayers(hostId,kind)`; `status(word,details)`; `hydrate()`; `setActive(visible)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [data source: lightning data; GeoJSON file uk_lightning.geojson]; out [interactive map]; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Atlas V9
- File: gridatlas/atlas/releases/202608291430-atlas-v9/assets/atlas-v9.mjs (JavaScript, 501 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/releases/202608291430-atlas-v9/assets/atlas-v9.mjs#L1-L501
- Page: https://code.globalgrid2050.com/explore-code/s/0604.html#f1
- Synopsis: A JavaScript module in the assets folder of GridAtlas that maps UK primary roads, UK trunk roads, UK motorways and UK mainline railways, and uses data from OpenStreetMap tiles.
- What it achieves (name): It sets selected URL (`setSelectedUrl`), marks map unavailable (`markMapUnavailable`) and adds project layers (`addProjectLayers`). Defines `popupNode`, `layerPopupNode`, `setSelectedUrl` and 20 more. It responds to change, click and pagehide events.
- What it does: It maps UK primary roads, UK trunk roads, UK motorways and UK mainline railways. Defines 23 functions or classes, including popupNode, layerPopupNode, setSelectedUrl, hasMappableGeometry, select. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: data source: OpenStreetMap tiles; Parquet file uk_primary_roads.parquet; Parquet file uk_trunk_roads.parquet; Parquet file uk_motorways.parquet; Parquet file uk_mainline_railways.parquet. Out: interactive map.
- Signatures: `popupNode(record)`; `layerPopupNode(feature, layer)`; `setSelectedUrl(record)`; `hasMappableGeometry(record)`; `select(record)`; `flyTo(options)`; `markMapUnavailable(error)`; `addProjectLayers(records)`; `sourceId(layer)`; `renderLayerIds(layer)`; `minimumZoom(layer)`; `mapBounds()`; `createLayerManager(layers)`; `removeRendered(layer)`; `bindRendered(layer)`; `handler(event)`; `putRendered(layer, geojson)`; `refresh(layer, force = false)`; `activate(layer, checkbox)`; `renderControls()`; `loadDefaults()`; `initialiseMap(records, onReady)`; `resolveRequestedDeepLink(release)`; `boot()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [data source: OpenStreetMap tiles; Parquet file uk_primary_roads.parquet; Parquet file uk_trunk_roads.parquet; Parquet file uk_motorways.parquet; Parquet file uk_mainline_railways.parquet]; out [interactive map]; crs []; voltages []
- Edges: uses 3 estate files (import 3); used by 0; mentioned by 1
### Map Ready Fetch Bridge
- File: gridatlas/atlas/releases/202608292126-atlas-v9/202608292126-map-ready-fetch-bridge.js (JavaScript, 251 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/releases/202608292126-atlas-v9/202608292126-map-ready-fetch-bridge.js#L1-L251
- Page: https://code.globalgrid2050.com/explore-code/s/0606.html#f2
- Synopsis: A JavaScript file in the atlas folder of GridAtlas that reads grid 400kV, grid 275kV, grid 220kV and grid 132kV, using SHA-256 from the data-GridAtlas repository.
- What it achieves (name): It maps ready key (`mapReadyKey`), gets manifest (`getManifest`) and gets runtime (`getRuntime`). Defines `invariant`, `requestPath`, `mapReadyKey` and 10 more.
- What it does: It loads grid 400kV, grid 275kV, grid 220kV and grid 132kV. Defines 13 functions or classes, including invariant, requestPath, mapReadyKey, legacyStem, sha256Hex. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: data source: data-gridatlas data; GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_substations.geojson; GeoJSON file power_plants.geojson.
- Signatures: `invariant(condition, message)`; `requestPath(input)`; `mapReadyKey(pathname)`; `legacyStem(pathname)`; `sha256Hex(bytes)`; `responseFromBytes(bytes, headers = {})`; `getManifest()`; `getRuntime()`; `resolvePartition(pathname)`; `artifact(manifest.artifacts || [])`; `rowObject(row)`; `queryOnDemand(pathname)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [data source: data-gridatlas data; GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_substations.geojson; GeoJSON file power_plants.geojson]; out []; crs []; voltages []
- Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0
### SatNav Offline Plan Worker
- File: gridatlas/atlas/v/satnav-offline-plan-202611281315-worker.js (JavaScript, 33 lines) · role ingest · stage ingest · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/v/satnav-offline-plan-202611281315-worker.js#L1-L33
- Page: https://code.globalgrid2050.com/explore-code/s/0611.html#f4
- Synopsis: A JavaScript file in the atlas folder of GridAtlas. It opens plan (`openPlan`).
- What it achieves (comment): A version registers this worker for its own directory after an explicit save. It responds to install, activate and fetch events.
- What it does: It fetches data. Defines openPlan. Side effects: makes network requests.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Signatures: `openPlan(request)`
- 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 0; mentioned by 0
### Forensic Highways
- File: gridatlas/bootstrap/highway-forensics/forensic_highways.mjs (JavaScript, 120 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/bootstrap/highway-forensics/forensic_highways.mjs#L1-L120
- Page: https://code.globalgrid2050.com/explore-code/s/0617.html#f1
- Synopsis: A JavaScript module in the highway forensics folder of GridAtlas that reads highway forensics, UK primary roads, UK trunk roads and UK motorways.
- What it achieves (name): It cleans error (`cleanError`) and is built from the relevant URL helper (`relevantUrl`) and the cdp metrics helper (`cdpMetrics`). Defines `cleanError`, `relevantUrl`, `cdpMetrics` and 1 more.
- What it does: It loads highway forensics, UK primary roads, UK trunk roads and UK motorways. Defines cleanError, relevantUrl, cdpMetrics, probe. Uses libraries playwright, node:fs/promises, node:path. Side effects: changes the web page (DOM); reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file highway-forensics.json; GeoJSON file uk_primary_roads.geojson; GeoJSON file uk_trunk_roads.geojson; GeoJSON file uk_motorways.geojson; DuckDB queries.
- Signatures: `REPAIRED_BROWSERS(process.env.REPAIRED_BROWSERS || 'chromium')`; `cleanError(error)`; `relevantUrl(url)`; `cdpMetrics(context, page, browserName)`; `probe({ browserName, label, url, mobile = false, expect })`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file highway-forensics.json; GeoJSON file uk_primary_roads.geojson; GeoJSON file uk_trunk_roads.geojson; GeoJSON file uk_motorways.geojson; DuckDB queries]; out []; crs []; voltages []
- Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0
### GridAtlas Local Arrival Grid
- File: gridatlas/local-arrival-grid.mjs (JavaScript, 202 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/local-arrival-grid.mjs#L1-L202
- Page: https://code.globalgrid2050.com/explore-code/s/0620.html#f1
- Published at: https://gridatlas.globalgrid2050.com/
- Synopsis: A JavaScript module that reads harvest cache, the Renewable Energy Planning Database (REPD) register and solar. Served with the page at https://gridatlas.globalgrid2050.com/.
- What it achieves (comment): It is built from the arg step (`arg`), the harvest step (`harvest`) and the grab step (`grab`). The gap that let every defect found on ship: no CI job has ever loaded a deep link in a real browser at any viewport.
- What it does: It loads harvest cache, the REPD register and solar. Defines 6 functions or classes, including arg, harvest, grab, probe, url. Uses libraries playwright, node:fs, node:os. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar.
- Inputs & outputs: In: JSON file harvest-cache.json; command-line arguments.
- Signatures: `arg(k, d)`; `harvest()`; `grab()`; `probe()`; `url(r)`; `worker(engine, engineName, vp, queue, stats)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file harvest-cache.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0
### GridAtlas Build Cartridge
- File: gridatlas/tools/build-cartridge.mjs (JavaScript, 182 lines) · role storage · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/build-cartridge.mjs#L1-L182
- Page: https://code.globalgrid2050.com/explore-code/s/0621.html#f3
- Synopsis: A JavaScript module in the tools folder that reads substations, using SHA-256. It reads lf (`readLf`) and is built from the argv step (`argv`) and the sha256 step (`sha256`).
- What it achieves (comment): Assemble a cartridge from modules, and record what went into it.
- What it does: It loads substations. Defines argv, sha256, readLf, exists. Uses libraries node:fs/promises, node:fs, node:crypto, node:path, node:url. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations.
- Inputs & outputs: In: command-line arguments.
- Signatures: `argv(flag, { many = false } = {})`; `sha256(text)`; `readLf(relativePath)`; `exists(path)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [command-line arguments]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Interconnector Module
- File: gridatlas/tools/interconnectors/interconnector-module.js (JavaScript, 180 lines) · role energy-data · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/interconnectors/interconnector-module.js#L1-L180
- Page: https://code.globalgrid2050.com/explore-code/s/0445.html#f2
- Synopsis: A JavaScript file in the interconnectors folder of GridAtlas that maps interconnectors and substations. It searches km (`searchKm`) and measures end (`measureEnd`).
- What it achieves (comment): An interconnector is not a generator and it does not arrive anywhere.
- What it does: It maps interconnectors and substations. Defines 8 functions or classes, including rad, haversineKm, searchKm, label, measureEnd. Side effects: changes the web page (DOM); makes network requests.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'interconnector'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, substations.
- Inputs & outputs: In: GeoJSON file interconnectors.geojson.
- Signatures: `rad(d)`; `haversineKm(lon1, lat1, lon2, lat2)`; `searchKm()`; `label(link, km)`; `measureEnd(role, lon, lat, km, subs)`; `paint(map, geojson)`; `boot(map)`; `subs(window.__GRIDATLAS_NEON_LINKS__ || {})`; `ready(map)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [GeoJSON file interconnectors.geojson]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Build Module
- File: gridatlas/tools/journey/build-module.mjs (JavaScript, 13 lines) · role storage · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/journey/build-module.mjs#L1-L13
- Page: https://code.globalgrid2050.com/explore-code/s/0631.html#f4
- Synopsis: A JavaScript module in the journey folder of GridAtlas that uses SHA-256. It is built from the option step (`option`).
- What it achieves (comment): Assemble the reusable Journey cartridge only; never writes compositions or pointers.
- What it does: Defines option. Uses libraries node:fs, node:path, node:crypto. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: command-line arguments.
- Signatures: `option(name)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [command-line arguments]; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 0; mentioned by 0
### Build M2
- File: gridatlas/tools/lightning/lineage/build-M2.mjs (JavaScript, 39 lines) · role storage · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/lineage/build-M2.mjs#L1-L39
- Page: https://code.globalgrid2050.com/explore-code/s/0633.html#f2
- Synopsis: A JavaScript module in the lineage folder of GridAtlas that reads the Renewable Energy Planning Database (REPD) register and substations.
- What it achieves (comment): It is built from the once step (`once`) and the cut step (`cut`). Cartridge gate 500,000 B, module cap 64,781 B). It responds to click events.
- What it does: It loads the REPD register and substations. Defines once, cut. Uses libraries node:fs. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, substations.
- Inputs & outputs: In: command-line arguments.
- Signatures: `once(id, a, b)`; `cut(id, from, to, b)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [command-line arguments]; out []; crs []; voltages []
- Edges: uses 1 estate file (url-import-meta 1); used by 0; mentioned by 0
### Build M3
- File: gridatlas/tools/lightning/lineage/build-M3.mjs (JavaScript, 53 lines) · role storage · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/lineage/build-M3.mjs#L1-L53
- Page: https://code.globalgrid2050.com/explore-code/s/0633.html#f3
- Synopsis: A JavaScript module in the lineage folder of GridAtlas that reads the Renewable Energy Planning Database (REPD) register.
- What it achieves (comment): It is built from the once step (`once`) and the cut step (`cut`). Build M2 module (, as published on main) -> M3 module. It responds to toggle and change events.
- What it does: It loads the REPD register. Defines once, cut. Uses libraries node:fs. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register.
- Inputs & outputs: In: command-line arguments.
- Signatures: `once(id, a, b)`; `cut(id, from, to, b)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [command-line arguments]; out []; crs []; voltages []
- Edges: uses 2 estate files (url-import-meta 2); used by 0; mentioned by 0
### Build M4
- File: gridatlas/tools/lightning/lineage/build-M4.mjs (JavaScript, 35 lines) · role storage · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/lineage/build-M4.mjs#L1-L35
- Page: https://code.globalgrid2050.com/explore-code/s/0633.html#f4
- Synopsis: A JavaScript module in the lineage folder of GridAtlas that reads the Renewable Energy Planning Database (REPD) register. It is built from the once step (`once`).
- What it achieves (comment): Build M3 module (, as on main) -> M4 module.
- What it does: It loads the REPD register. Defines once. Uses libraries node:fs. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register.
- Inputs & outputs: In: command-line arguments.
- Signatures: `once(id, a, b)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [command-line arguments]; out []; crs []; voltages []
- Edges: uses 1 estate file (url-import-meta 1); used by 0; mentioned by 0
### Build M4b
- File: gridatlas/tools/lightning/lineage/build-M4b.mjs (JavaScript, 60 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/lineage/build-M4b.mjs#L1-L60
- Page: https://code.globalgrid2050.com/explore-code/s/0633.html#f5
- Synopsis: A JavaScript module in the lineage folder of GridAtlas that maps the Renewable Energy Planning Database (REPD) register, solar, wind and battery storage (BESS).
- What it achieves (comment): It is built from the once step (`once`) and the cut step (`cut`). M4 module -> M4b module (owner option). It responds to change events.
- What it does: It maps the REPD register, solar, wind and battery storage (BESS). Defines once, cut. Uses libraries node:fs. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, wind, battery storage (BESS).
- Inputs & outputs: In: command-line arguments.
- Signatures: `once(id, a, b)`; `cut(id, from, to, b)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [command-line arguments]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Reconstruct
- File: gridatlas/tools/lightning/lineage/reconstruct.mjs (JavaScript, 257 lines) · role storage · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/lineage/reconstruct.mjs#L1-L257
- Page: https://code.globalgrid2050.com/explore-code/s/0634.html#f1
- Synopsis: A JavaScript module in the lineage folder of GridAtlas that works with line diff (`lineDiff`) and line start (`lineStart`).
- What it achieves (comment): It is built from the norm step (`norm`), the analyse step (`analyse`) and the depth step (`depth`). `reconstruct.mjs` (CD-source lane, 29 Oct 2026, one-off; kept as the provenance of `tools/lightning/src`): the committed M4 and M4b module bytes -> `tools/lightning/src/*.js` (readable layout, the comments of `annotations.mjs`, ///#if variant blocks from a token-level diff of the two modules).
- What it does: It loads data. Defines 20 functions or classes, including rd, norm, analyse, depth, inTpl. Uses libraries node:fs, node:os, node:path, acorn. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: command-line arguments.
- Signatures: `rd(g)`; `norm(t, g)`; `analyse(T)`; `depth()`; `inTpl()`; `lineDiff(a, b)`; `off(ls)`; `segments()`; `P(I, s, e)`; `posA(i)`; `ws(c)`; `lineStart(T, p)`; `lineEnd(T, p)`; `pieces(I, s, e, extra)`; `lead(T.slice(ls).match(/^ */) || [''])`; `ind(q)`; `render()`; `place(units)`; `at(u, o, p)`; `find(needle, where)`; `firstDiff(x, y)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [command-line arguments]; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 0; mentioned by 0
### 00 Header
- File: gridatlas/tools/lightning/src/00-header.js (JavaScript, 64 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/src/00-header.js#L1-L64
- Page: https://code.globalgrid2050.com/explore-code/s/0635.html#f1
- Synopsis: A JavaScript file in the lightning folder of GridAtlas covering UK lightning and the Renewable Energy Planning Database (REPD) register, and uses data from the lightning repository.
- What it achieves (comment): UK-lightning-overlay, generation @@GEN@@ . EUMETSAT MTG LI L2-LFL optical flashes, OFF by default, never persisted; NOT confirmed ground strikes; unsearched is unknown, never zero.
- What it does: Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### 01 Helpers
- File: gridatlas/tools/lightning/src/01-helpers.js (JavaScript, 63 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/src/01-helpers.js#L1-L63
- Page: https://code.globalgrid2050.com/explore-code/s/0635.html#f2
- Synopsis: A JavaScript file in the lightning folder of GridAtlas.
- What it achieves (comment): Date and number formatting, GeoJSON guards, the device cap, month arithmetic and the published state S.
- What it does: Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### 02 Transport
- File: gridatlas/tools/lightning/src/02-transport.js (JavaScript, 39 lines) · role ingest · stage ingest · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/src/02-transport.js#L1-L39
- Page: https://code.globalgrid2050.com/explore-code/s/0635.html#f3
- Synopsis: A JavaScript file in the lightning folder of GridAtlas.
- What it achieves (comment): Fetch for .JSON (no redirects, 15 s timeout that also covers the body), XMLHttpRequest for the live feed, and the LRU of day/grid promises.
- What it does: It fetches data. Side effects: makes network requests.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### 03 Index
- File: gridatlas/tools/lightning/src/03-index.js (JavaScript, 81 lines) · role other · stage unknown · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/src/03-index.js#L1-L81
- Page: https://code.globalgrid2050.com/explore-code/s/0635.html#f4
- Synopsis: A JavaScript file in the lightning folder of GridAtlas.
- What it achieves (comment): 03 archive index v2 (Ventusltd/lightning `data/history/index.json`): every row validated; coverage from `scan_windows`.
- What it does: It lists and searches its content.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file index.json.
- Signatures: `sw(raw.scan_windows||[])`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file index.json]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### 04 Windows
- File: gridatlas/tools/lightning/src/04-windows.js (JavaScript, 49 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/src/04-windows.js#L1-L49
- Page: https://code.globalgrid2050.com/explore-code/s/0635.html#f5
- Synopsis: A JavaScript file in the lightning folder of GridAtlas that uses SHA-256.
- What it achieves (comment): 04 windows and day files: UTC, end-anchored [start,end) windows; hourly or daily shard targets; a 4-wide fan-out.
- What it does: It lists and searches its content. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### 05 Cells
- File: gridatlas/tools/lightning/src/05-cells.js (JavaScript, 75 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/src/05-cells.js#L1-L75
- Page: https://code.globalgrid2050.com/explore-code/s/0635.html#f6
- Synopsis: A JavaScript file in the lightning folder of GridAtlas covering the Renewable Energy Planning Database (REPD) register, using SHA-256.
- What it achieves (comment): 05 flashes and cells: feature validation and de-duplication, month grids, the REPD land mask, the cell layer data.
- What it does: It lists and searches the REPD register.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register.
- Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid).
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### 06 Load
- File: gridatlas/tools/lightning/src/06-load.js (JavaScript, 61 lines) · role other · stage unknown · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/src/06-load.js#L1-L61
- Page: https://code.globalgrid2050.com/explore-code/s/0635.html#f7
- Synopsis: A JavaScript file in the lightning folder of GridAtlas that uses SHA-256.
- What it achieves (comment): 06 tiers: the live feed (7 days only), the archive overview (cells), the archive detail (points, budgeted).
- What it does: It lists and searches its content.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### 07 Captions
- File: gridatlas/tools/lightning/src/07-captions.js (JavaScript, 84 lines) · role other · stage unknown · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/src/07-captions.js#L1-L84
- Page: https://code.globalgrid2050.com/explore-code/s/0635.html#f8
- Synopsis: A JavaScript file in the lightning folder of GridAtlas covering the Renewable Energy Planning Database (REPD) register.
- What it achieves (comment): 07 state and captions: the state machine (cf) and the caption lines (cp).
- What it does: It lists and searches the REPD register.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register.
- Signatures: `ub(r.rows||[])`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### 08 Map
- File: gridatlas/tools/lightning/src/08-map.js (JavaScript, 176 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/src/08-map.js#L1-L176
- Page: https://code.globalgrid2050.com/explore-code/s/0635.html#f9
- Synopsis: A JavaScript file in the lightning folder of GridAtlas that maps the Renewable Energy Planning Database (REPD) register and substations.
- What it achieves (comment): The map handle, the card position, the cell layers, the point layers and the tap handler.
- What it does: It maps the REPD register and substations. Defines go. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, substations.
- Signatures: `go(z)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### 09 Card
- File: gridatlas/tools/lightning/src/09-card.js (JavaScript, 99 lines) · role transform · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/src/09-card.js#L1-L99
- Page: https://code.globalgrid2050.com/explore-code/s/0636.html#f1
- Synopsis: A JavaScript file in the lightning folder of GridAtlas that works with the Renewable Energy Planning Database (REPD) register.
- What it achieves (comment): The docked card (flash, cell or REPD project), the cell card and the short flash ID. It responds to click and toggle events.
- What it does: It calculates the REPD register. Defines T.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register.
- Inputs & outputs: Coordinate systems named: WGS84 / EPSG:4326.
- Signatures: `T()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### 10 Neon
- File: gridatlas/tools/lightning/src/10-neon.js (JavaScript, 177 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/src/10-neon.js#L1-L177
- Page: https://code.globalgrid2050.com/explore-code/s/0636.html#f2
- Synopsis: A JavaScript file in the lightning folder of GridAtlas that maps substations and the Renewable Energy Planning Database (REPD) register.
- What it achieves (comment): 10 nearest substations and the camera: the original's own measure drawn as its neon arrival in Lightning-owned layers, and the framing rules (M2R-layout F1-F3, M2R-camera fix C, M2R-taps T1). Its code works with 33 kV.
- What it does: It maps substations and the REPD register. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, the REPD register, 33kV.
- Inputs & outputs: Voltage levels named: 33kV.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages [33kV]
- Edges: uses 0 estate files; used by 0; mentioned by 0
### 11 Renewable Energy Planning Database (REPD) Map
- File: gridatlas/tools/lightning/src/11-repd-map.js (JavaScript, 61 lines) · role energy-data · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/src/11-repd-map.js#L1-L61
- Page: https://code.globalgrid2050.com/explore-code/s/0636.html#f3
- Synopsis: A JavaScript file in the lightning folder of GridAtlas that maps the REPD register, solar, wind and battery storage (BESS).
- What it achieves (comment): M4b: the listed REPD sites, drawn in the original REPD style ---------------------------------------------------- One dot per listed project at its site, with the engine's own paint (`ventus-corev8engine.js`:1305-1337).
- What it does: It maps the REPD register, solar, wind and battery storage (BESS). Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, wind, battery storage (BESS).
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### 11b Renewable Energy Planning Database (REPD) Records
- File: gridatlas/tools/lightning/src/11b-repd-records.js (JavaScript, 73 lines) · role energy-data · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/src/11b-repd-records.js#L1-L73
- Page: https://code.globalgrid2050.com/explore-code/s/0636.html#f4
- Synopsis: A JavaScript file in the lightning folder of GridAtlas that reads REPD projects, the REPD register, postcodes and substations, using SHA-256.
- What it achieves (comment): 11b M5: the full REPD record of a listed project (owner, 29 Oct 2026 02:21 UTC: "list all 10 sites, their names and distances and full addresses as per REPD following the pattern from the grid engine"). Its code works with 400 kV. It responds to click events.
- What it does: It loads REPD projects, the REPD register, postcodes and substations. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, postcodes, substations, 400kV.
- Inputs & outputs: In: Parquet file repd_projects_202608290716.parquet; JSON file repd_v9_manifest_202608290716.json; DuckDB queries. Voltage levels named: 400kV.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [Parquet file repd_projects_202608290716.parquet; JSON file repd_v9_manifest_202608290716.json; DuckDB queries]; out []; crs []; voltages [400kV]
- Edges: uses 0 estate files; used by 0; mentioned by 0
### 12 Renewable Energy Planning Database (REPD)
- File: gridatlas/tools/lightning/src/12-repd.js (JavaScript, 209 lines) · role energy-data · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/src/12-repd.js#L1-L209
- Page: https://code.globalgrid2050.com/explore-code/s/0636.html#f5
- Synopsis: A JavaScript file in the lightning folder of GridAtlas that maps REPD master, the REPD register, solar and wind.
- What it achieves (comment): REPD projects near a tap (M2, M3) -------------------------------------------------------------------------------- The register the map already holds (the engine's src-REPD data when a REPD layer has loaded it, else the engine URL `/dist/repd_master.json` through the untouched bridge). Its code works with 0 MW. It responds to click events.
- What it does: It maps REPD master, the REPD register, solar and wind. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, wind.
- Inputs & outputs: In: JSON file repd_master.json; DuckDB queries.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file repd_master.json; DuckDB queries]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### 13 Panel
- File: gridatlas/tools/lightning/src/13-panel.js (JavaScript, 98 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/src/13-panel.js#L1-L98
- Page: https://code.globalgrid2050.com/explore-code/s/0198.html#f2
- Synopsis: A JavaScript file in the lightning folder of GridAtlas.
- What it achieves (comment): The Layers-panel group (main and fullscreen curtain), its label and status line, and the batched repaint pt. It responds to click events.
- What it does: It draws its content. Defines q. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'panel'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary.
- Inputs & outputs: In: form fields (user input).
- Signatures: `q(s)`
- domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [form fields (user input)]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### 14 Actions
- File: gridatlas/tools/lightning/src/14-actions.js (JavaScript, 124 lines) · role other · stage unknown · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/src/14-actions.js#L1-L124
- Page: https://code.globalgrid2050.com/explore-code/s/0637.html#f1
- Synopsis: A JavaScript file in the lightning folder of GridAtlas.
- What it achieves (comment): Period, navigation, load, the ON/OFF switch, the toggle binding and the HIDE LAYERS clearance. It responds to change events.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### 15 Install
- File: gridatlas/tools/lightning/src/15-install.js (JavaScript, 32 lines) · role interaction · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/src/15-install.js#L1-L32
- Page: https://code.globalgrid2050.com/explore-code/s/0637.html#f2
- Synopsis: A JavaScript file in the lightning folder of GridAtlas.
- What it achieves (comment): After the menu bar, Pipeline News and the map exist; the public NS.ukLightning surface.
- What it does: Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### 00 Header
- File: gridatlas/tools/offtakers/src/00-header.js (JavaScript, 4 lines) · role other · stage unknown · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/offtakers/src/00-header.js#L1-L4
- Page: https://code.globalgrid2050.com/explore-code/s/0640.html#f2
- Synopsis: A JavaScript file in the offtakers folder of GridAtlas covering the Renewable Energy Planning Database (REPD) register and substations.
- What it achieves (comment): UK-offtakers-overlay, generation @@GEN@@ . Potential offtakers: sites listed in open registers (National Atmospheric Emissions Inventory (NAEI) 2023 point sources, GPPD) and OpenStreetMap, classified by the OT-filter rules (energy-intensive industry, power stations incl. closed and closing, data centres, large water works, other large users).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, substations.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### 01 Data
- File: gridatlas/tools/offtakers/src/01-data.js (JavaScript, 99 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/offtakers/src/01-data.js#L1-L99
- Page: https://code.globalgrid2050.com/explore-code/s/0640.html#f3
- Synopsis: A JavaScript file in the offtakers folder of GridAtlas that draws offtakers filtered, UK datacentre pipeline, conventional power UK and the Renewable Energy Planning Database (REPD) register, using SHA-256.
- What it does: It draws offtakers filtered, UK datacentre pipeline, conventional power UK and the REPD register. Side effects: changes the web page (DOM); makes network requests.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register.
- Inputs & outputs: In: GeoJSON file offtakers_filtered_202610292000.geojson; GeoJSON file uk_datacentre_pipeline_202610312133.geojson; GeoJSON file conventional_power_uk_202610292000.geojson.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [GeoJSON file offtakers_filtered_202610292000.geojson; GeoJSON file uk_datacentre_pipeline_202610312133.geojson; GeoJSON file conventional_power_uk_202610292000.geojson]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### 02 Map Neon
- File: gridatlas/tools/offtakers/src/02-map-neon.js (JavaScript, 45 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/offtakers/src/02-map-neon.js#L1-L45
- Page: https://code.globalgrid2050.com/explore-code/s/0640.html#f4
- Synopsis: A JavaScript file in the offtakers folder of GridAtlas.
- What it achieves (comment): Map layers (added on the first switch-on only) ---- the class chips and, for power stations, the status chips; a ring (closed, closing or converted) is hollow.
- What it does: It maps its content.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### 03 Renewable Energy Planning Database (REPD) Register
- File: gridatlas/tools/offtakers/src/03-repd-register.js (JavaScript, 13 lines) · role energy-data · stage unknown · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/offtakers/src/03-repd-register.js#L1-L13
- Page: https://code.globalgrid2050.com/explore-code/s/0640.html#f5
- Synopsis: A JavaScript file in the offtakers folder of GridAtlas covering REPD master, solar, wind and battery storage (BESS).
- What it achieves (comment): REPD register (the map's own, as M2+).
- What it does: It lists and searches REPD master, solar, wind and battery storage (BESS).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, wind, battery storage (BESS).
- Inputs & outputs: In: JSON file repd_master.json.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file repd_master.json]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### 04 Renewable Energy Planning Database (REPD) Record M5
- File: gridatlas/tools/offtakers/src/04-repd-record-m5.js (JavaScript, 29 lines) · role energy-data · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/offtakers/src/04-repd-record-m5.js#L1-L29
- Page: https://code.globalgrid2050.com/explore-code/s/0640.html#f6
- Synopsis: A JavaScript file in the offtakers folder of GridAtlas that reads REPD projects and the REPD register, using SHA-256.
- What it achieves (comment): 04 the full REPD record of a listed project: M5-build's exact join (RU..RpB), copied byte for byte from the built M5 module (`evidence/M5-build/tools/build-M5.mjs`; `tests/offtakers.test`.mjs T8 compares it with M5_MODULE).
- What it does: It loads REPD projects and the REPD register. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register.
- Inputs & outputs: In: Parquet file repd_projects_202611132345.parquet; JSON file repd_v9_manifest_202611132345.json.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [Parquet file repd_projects_202611132345.parquet; JSON file repd_v9_manifest_202611132345.json]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### 05 Card Camera
- File: gridatlas/tools/offtakers/src/05-card-camera.js (JavaScript, 27 lines) · role interaction · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/offtakers/src/05-card-camera.js#L1-L27
- Page: https://code.globalgrid2050.com/explore-code/s/0640.html#f7
- Synopsis: A JavaScript file in the offtakers folder of GridAtlas covering the Renewable Energy Planning Database (REPD) register.
- What it achieves (comment): The card (lightning's dock, width, collapse; Escape closes). It responds to click, toggle and keydown events.
- What it does: Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### 06 Tap Card
- File: gridatlas/tools/offtakers/src/06-tap-card.js (JavaScript, 88 lines) · role interaction · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/offtakers/src/06-tap-card.js#L1-L88
- Page: https://code.globalgrid2050.com/explore-code/s/0640.html#f8
- Synopsis: A JavaScript file in the offtakers folder of GridAtlas that lists and searches the Renewable Energy Planning Database (REPD) register and substations.
- What it achieves (comment): A tap on a site. It responds to click and keydown events.
- What it does: It lists and searches the REPD register and substations. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, substations.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### 06b DC Engine
- File: gridatlas/tools/offtakers/src/06b-dc-engine.js (JavaScript, 167 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/offtakers/src/06b-dc-engine.js#L1-L167
- Page: https://code.globalgrid2050.com/explore-code/s/0640.html#f9
- Synopsis: A JavaScript file in the offtakers folder of GridAtlas that maps substations, the Renewable Energy Planning Database (REPD) register, 33kV and cables.
- What it achieves (comment): The original is still called on every tap: its 5 must be the head of the scope's list (else noted in S.errors), and it names the nearest beyond 40 km when none is within. Its code works with 33 kV, 132 kV and 275 kV. It responds to click and keydown events.
- What it does: It maps substations, the REPD register, 33kV and cables. Defines D. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'dc'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: substations, the REPD register, 33kV, cables, 275kV, 132kV.
- Inputs & outputs: Voltage levels named: 275kV, 132kV, 66kV, 33kV.
- Signatures: `D(v,q)`; `n(c.k||[])`; `ps(c.P||[])`
- domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages [275kV, 132kV, 66kV, 33kV]
- Edges: uses 0 estate files; used by 0; mentioned by 0
### 07 Panel Install
- File: gridatlas/tools/offtakers/src/07-panel-install.js (JavaScript, 42 lines) · role interaction · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/offtakers/src/07-panel-install.js#L1-L42
- Page: https://code.globalgrid2050.com/explore-code/s/0198.html#f3
- Synopsis: A JavaScript file in the offtakers folder of GridAtlas covering the Renewable Energy Planning Database (REPD) register and substations.
- What it achieves (comment): The Layers group. It responds to click, change and gridatlas events.
- What it does: It draws the REPD register and substations. Defines q. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'panel'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: the REPD register, substations.
- Inputs & outputs: In: form fields (user input).
- Signatures: `q(s)`
- domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [form fields (user input)]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Shift
- File: gridatlas/tools/overnight/202609012200-shift.mjs (JavaScript, 329 lines) · role storage · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/overnight/202609012200-shift.mjs#L1-L329
- Page: https://code.globalgrid2050.com/explore-code/s/0641.html#f1
- Synopsis: A JavaScript module in the overnight folder of GridAtlas that fetches shift log, using SHA-256 from GitHub API.
- What it achieves (comment): It is built from the flag step (`flag`), the opt step (`opt`) and the utc now helper (`utcNow`). The night shift: one queued step per invocation, cut on this laptop, proven here, pushed to GitHub, verified live. It reads `atlas/current.json`.
- What it does: It fetches shift log. Defines 17 functions or classes, including flag, opt, utcNow, sha256, lf. Uses libraries node:fs, node:path, node:child_process, node:crypto, node:url. Side effects: reads or writes files; makes network requests; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: data source: GitHub API; JSON file shift-log.json; JSON file current.json; command-line arguments.
- Signatures: `flag(name)`; `opt(name)`; `utcNow()`; `sha256(buf)`; `lf(s)`; `slash(p)`; `run(cmd, args, { cwd = ROOT, allowFail = false, quiet = false } = {})`; `out(r.stdout || '')`; `git(...args)`; `status()`; `untracked()`; `record(entry)`; `step(await import(pathToFileURL(path.resolve(stepPath)).href))`; `stage(name, detail)`; `undo()`; `fail(reason, extra = {})`; `read(rel)`; `write(rel, text)`; `patch(rel, pairs)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [data source: GitHub API; JSON file shift-log.json; JSON file current.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 7 estate files (script-call 6, estate-url 1); used by 0; mentioned by 0
### Sizing Arithmetic
- File: gridatlas/tools/overnight/steps/202609012205-sizing-arithmetic.mjs (JavaScript, 186 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/overnight/steps/202609012205-sizing-arithmetic.mjs#L1-L186
- Page: https://code.globalgrid2050.com/explore-code/s/0641.html#f2
- Synopsis: A JavaScript module in the steps folder of GridAtlas that applies development stage defaults (`applyDevelopmentStageDefaults`) and mounting bifacial (`applyMountingBifacial`) and computes screening finance (`computeScreeningFinance`).
- What it achieves (comment): It applies development stage defaults (`applyDevelopmentStageDefaults`), applies mounting bifacial (`applyMountingBifacial`) and computes screening finance (`computeScreeningFinance`). The sizing arithmetic leaves the body for a module.
- What it does: Defines 6 functions or classes, including activePhysicalInputs, applyDevelopmentStageDefaults, applyMountingBifacial, computeScreeningFinance, computeSldStats. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Signatures: `SIZING(window.__GRIDATLAS_MODULES__ || {})`; `activePhysicalInputs()`; `applyDevelopmentStageDefaults(financeInputs, stageValue)`; `applyMountingBifacial(mode, gcrValue)`; `computeScreeningFinance(financeInputs, stats)`; `computeSldStats()`; `fitToStatedCapacity()`; `apply({ read, write, patch, sandboxProof })`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Data Contract Parity
- File: gridatlas/tools/overnight/steps/202609012217-data-contract-parity.mjs (JavaScript, 264 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/overnight/steps/202609012217-data-contract-parity.mjs#L1-L264
- Page: https://code.globalgrid2050.com/explore-code/s/0642.html#f1
- Synopsis: A JavaScript module in the steps folder of GridAtlas that draws connection points, GB transmission network, price decade rollup and substations. It is built from the once step (`once`).
- What it achieves (comment): The manifest tells the truth about what the bytes fetch.
- What it does: It draws connection points, GB transmission network, price decade rollup and substations. Defines once. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations.
- Inputs & outputs: In: JSON file current.json; JSON file connection-points.v3.json; JSON file gb-transmission-network.v1.json; JSON file price-decade-rollup.json; JSON file connection-points.v2.json.
- Signatures: `apply({ read, write, patch, sandboxProof })`; `once(from, to)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file current.json; JSON file connection-points.v3.json; JSON file gb-transmission-network.v1.json; JSON file price-decade-rollup.json; JSON file connection-points.v2.json]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Electrical Distance
- File: gridatlas/tools/overnight/steps/202609012245-electrical-distance.mjs (JavaScript, 172 lines) · role geodesy · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/overnight/steps/202609012245-electrical-distance.mjs#L1-L172
- Page: https://code.globalgrid2050.com/explore-code/s/0642.html#f2
- Synopsis: A JavaScript module in the steps folder of GridAtlas that works with distance module (`distanceModule`) (units: kV), covering transformers.
- What it achieves (comment): It is built from the distance module helper (`distanceModule`) and the reach step (`reach`). The map learns to measure in circuits, not only in kilometres.
- What it does: Defines distanceModule, reach. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers.
- Signatures: `apply({ read, write, patch, sandboxProof })`; `distanceModule()`; `reach(() => { const mod = distanceModule(); if (!mod) return null; try { return mod.within(topology.index, point.site_code,...)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Rating Envelope
- File: gridatlas/tools/overnight/steps/202609012250-rating-envelope.mjs (JavaScript, 157 lines) · role electrical · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/overnight/steps/202609012250-rating-envelope.mjs#L1-L157
- Page: https://code.globalgrid2050.com/explore-code/s/0642.html#f3
- Synopsis: A JavaScript module in the steps folder of GridAtlas. It is built from the ratings step (`ratings`).
- What it achieves (comment): The card reports summer as well as winter, and refuses to add up.
- What it does: Defines ratings. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Signatures: `apply({ read, write, patch, sandboxProof })`; `ratings(() => { const mod = ratingModule(); if (!mod) return null; try { return mod.at(topology.index, point.site_code, kv !=...)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Injection Response
- File: gridatlas/tools/overnight/steps/202609012320-injection-response.mjs (JavaScript, 242 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/overnight/steps/202609012320-injection-response.mjs#L1-L242
- Page: https://code.globalgrid2050.com/explore-code/s/0643.html#f1
- Synopsis: A JavaScript module in the steps folder of GridAtlas covering 400kV. It is built from the flow model for helper (`flowModelFor`) and the injection step (`injection`).
- What it achieves (comment): The Atlas answers where a project's power would actually go. Its code works with 400 kV, 100 MVA and 100 MW.
- What it does: It lists and searches 400kV. Defines flowModelFor, injection. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV.
- Inputs & outputs: Voltage levels named: 400kV.
- Signatures: `apply({ read, write, patch, sandboxProof })`; `flowModelFor(index)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages [400kV]
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Grid at Point
- File: gridatlas/tools/overnight/steps/202609012330-grid-at-point.mjs (JavaScript, 371 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/overnight/steps/202609012330-grid-at-point.mjs#L1-L371
- Page: https://code.globalgrid2050.com/explore-code/s/0643.html#f2
- Synopsis: A JavaScript module in the steps folder of GridAtlas covering cables. It runs grid point (`runGridAtPoint`) and is built from the once step (`once`) and the show step (`show`).
- What it achieves (comment): The grid computation stops needing a project. It responds to click events.
- What it does: It draws cables. Defines once, runGridAtPoint, show, topologyBlockHtml, reflect. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: cables.
- Inputs & outputs: In: browser storage (getItem). Out: browser storage (setItem).
- Signatures: `apply({ read, write, sandboxProof })`; `once(from, to, label)`; `runGridAtPoint(map, lon, lat)`; `show(html)`; `topologyBlockHtml(queries)`; `reflect()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [browser storage (getItem)]; out [browser storage (setItem)]; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Planned Change
- File: gridatlas/tools/overnight/steps/202609012345-planned-change.mjs (JavaScript, 177 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/overnight/steps/202609012345-planned-change.mjs#L1-L177
- Page: https://code.globalgrid2050.com/explore-code/s/0644.html#f1
- Synopsis: A JavaScript module in the steps folder of GridAtlas that works with planned module (`plannedModule`) and flow module (`flowModule`) (units: kV), covering transformers.
- What it achieves (comment): It is built from the once step (`once`), the planned module helper (`plannedModule`) and the flow module helper (`flowModule`). What the operator has PUBLISHED as planned, kept apart from what exists.
- What it does: Defines once, plannedModule, flowModule, planned. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers.
- Signatures: `apply({ read, write, sandboxProof })`; `once(from, to, label)`; `plannedModule()`; `flowModule()`; `years(planned.by_year || [])`; `parts(band.by_status || [])`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Owner Boundary
- File: gridatlas/tools/overnight/steps/202609012350-owner-boundary.mjs (JavaScript, 700 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/overnight/steps/202609012350-owner-boundary.mjs#L1-L700
- Page: https://code.globalgrid2050.com/explore-code/s/0644.html#f2
- Synopsis: A JavaScript module in the steps folder of GridAtlas that reads substation intelligence seed parts and substations, using haversine.
- What it achieves (comment): It is built from the once step (`once`), the owner module helper (`ownerModule`) and the ownership step (`ownership`). The computation leaves the sandbox, and ownership arrives.
- What it does: It loads substation intelligence seed parts and substations. Defines lf, once, ownerModule, ownership. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations.
- Inputs & outputs: In: JSON file current.json; JSON file 202609012350-substation-intelligence-seed-parts.json.
- Signatures: `apply({ read, write, sandboxProof })`; `lf(s)`; `once(from, to, label)`; `ownerModule()`; `seams(ownership.boundary_circuits || [])`; `composedSource(await Promise.all( (CURRENT.cartridges || []).map(entry => readPublished(join(REPO, 'atlas', String(entry.path).repla...)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file current.json; JSON file 202609012350-substation-intelligence-seed-parts.json]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Powerflow Stopship
- File: gridatlas/tools/overnight/steps/202609020015-powerflow-stopship.mjs (JavaScript, 210 lines) · role transform · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/overnight/steps/202609020015-powerflow-stopship.mjs#L1-L210
- Page: https://code.globalgrid2050.com/explore-code/s/0645.html#f2
- Synopsis: A JavaScript module in the steps folder of GridAtlas that works with 400kV. It is built from the once step (`once`).
- What it achieves (comment): Codex's powerflow stop-ship, closed. Its code works with 400 kV and 100 MVA.
- What it does: It calculates 400kV. Defines once.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV.
- Inputs & outputs: Voltage levels named: 400kV.
- Signatures: `apply({ read, write, sandboxProof })`; `once(from, to, label)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages [400kV]
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Neon Substation Links Proof
- File: gridatlas/tools/proofs/202608311910-neon-substation-links.proof.mjs (JavaScript, 361 lines) · role electrical · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202608311910-neon-substation-links.proof.mjs#L1-L361
- Page: https://code.globalgrid2050.com/explore-code/s/0446.html#f1
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that maps substations, 33kV, transformers and wind. It makes element (`makeElement`), maps stub (`MapStub`) and runs adapter (`runAdapter`).
- What it achieves (comment): The repository carries Playwright and no DOM library, so rather than add one this stubs the small surface the cartridge actually touches and runs the real file against it. Its code works with 33 kV.
- What it does: It maps substations, 33kV, transformers and wind. Defines 6 functions or classes, including check, makeElement, MutationObserverStub, MapStub, runAdapter. Uses libraries node:fs/promises, node:url, node:path, node:vm. Side effects: changes the web page (DOM); reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'substation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 33kV, transformers, wind.
- Inputs & outputs: Out: interactive map. Voltage levels named: 33kV.
- Signatures: `check(label, ok, detail = '')`; `makeElement(tag = 'div')`; `appendChild(child)`; `remove()`; `setAttribute()`; `addEventListener()`; `querySelector()`; `querySelectorAll()`; `getElementById(id)`; `createElement(tag)`; `class MutationObserverStub`; `class MapStub`; `constructor(options)`; `isStyleLoaded()`; `once()`; `getSource()`; `getStyle()`; `getLayoutProperty()`; `setPaintProperty()`; `queryRenderedFeatures()`; `runAdapter(source, initSpy)`; `CARD(() => { const probe = { ...sandbox }; return null; })`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out [interactive map]; crs []; voltages [33kV]
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Estate Deep Scan Proof
- File: gridatlas/tools/proofs/202609012240-estate-deep-scan.proof.mjs (JavaScript, 40 lines) · role ingest · stage ingest · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202609012240-estate-deep-scan.proof.mjs#L1-L40
- Page: https://code.globalgrid2050.com/explore-code/s/0647.html#f3
- Synopsis: A JavaScript module in the proofs folder of GridAtlas.
- What it achieves (name): Defines `check`.
- What it does: It loads data. Defines check. Uses libraries node:assert/strict, node:child_process, node:fs, node:path, node:os. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file 202609012240-estate-deep-scan.json.
- Signatures: `check(name, condition)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file 202609012240-estate-deep-scan.json]; out []; crs []; voltages []
- Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0
### Quantumspawn Recovery Proof
- File: gridatlas/tools/proofs/202609012305-quantumspawn-recovery.proof.mjs (JavaScript, 174 lines) · role ingest · stage ingest · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202609012305-quantumspawn-recovery.proof.mjs#L1-L174
- Page: https://code.globalgrid2050.com/explore-code/s/0647.html#f4
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads shift log. It is built from the check step (`check`) and the git step (`git`).
- What it achieves (comment): QuantumSpawn recovery: the capsule is checked against current Git.
- What it does: It loads shift log. Defines check, git. Uses libraries node:fs, node:path, node:url, node:child_process. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json; JSON file shift-log.json.
- Signatures: `check(name, condition, detail = '')`; `git(...args)`; `sld(current.cartridges || [])`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file current.json; JSON file shift-log.json]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Transit Layer Availability Proof
- File: gridatlas/tools/proofs/202609040212-transit-layer-availability.proof.mjs (JavaScript, 173 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202609040212-transit-layer-availability.proof.mjs#L1-L173
- Page: https://code.globalgrid2050.com/explore-code/s/0647.html#f5
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that fetches UK metros trams root, using SHA-256 from the data-GridAtlas repository. It is built from the public bytes helper (`publicBytes`).
- What it achieves (name): Defines `sha256` and `publicBytes`.
- What it does: It fetches UK metros trams root. Defines sha256, publicBytes. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: data source: data-gridatlas data; Parquet file uk_metros_trams_root.parquet; JSON file release.json; JSON file browser-layer-registry.json.
- Signatures: `sha256(bytes)`; `publicBytes(path)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [data source: data-gridatlas data; Parquet file uk_metros_trams_root.parquet; JSON file release.json; JSON file browser-layer-registry.json]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Single-Line Diagram (SLD) Styles Proof
- File: gridatlas/tools/proofs/202609040400-sld-styles.proof.mjs (JavaScript, 309 lines) · role electrical · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202609040400-sld-styles.proof.mjs#L1-L309
- Page: https://code.globalgrid2050.com/explore-code/s/0447.html#f2
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads substations, using SHA-256.
- What it achieves (comment): It is built from the raw step (`raw`), the JSON step (`json`) and the digest step (`digest`). V9.107 stylesheet-hoist proof.
- What it does: It loads substations. Defines 7 functions or classes, including lf, raw, json, digest, rawDigest. Uses libraries node:assert/strict, node:crypto, node:fs, node:path, node:vm. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: substations.
- Inputs & outputs: In: JSON file current.json.
- Signatures: `lf(relative)`; `raw(relative)`; `json(relative)`; `digest(text)`; `rawDigest(bytes)`; `assertManifestBytes(entry, relative, label)`; `trailingWhitespaceLines(source)`
- domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file current.json]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### PDF Export Outcomes Browser
- File: gridatlas/tools/proofs/202609051329-pdf-export-outcomes.browser.mjs (JavaScript, 179 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202609051329-pdf-export-outcomes.browser.mjs#L1-L179
- Page: https://code.globalgrid2050.com/explore-code/s/0648.html#f2
- Synopsis: A JavaScript module in the proofs folder of GridAtlas. It is built from the check step (`check`).
- What it achieves (comment): DOES PRESSING "SAVE THIS VIEW AS A PDF" PUT A REAL PDF ON THE READER'S DISK? --------------------------------------------------------------------------- Not "does a function called `savePdf` exist", not "is /DCTDecode present in the source".
- What it does: It loads data. Defines check. Uses libraries playwright, node:fs, node:os, node:path. Side effects: changes the web page (DOM); reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: command-line arguments.
- Signatures: `check(name, ok, detail)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [command-line arguments]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Arrival Engine Sweep Browser
- File: gridatlas/tools/proofs/202609072356-arrival-engine-sweep.browser.mjs (JavaScript, 311 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202609072356-arrival-engine-sweep.browser.mjs#L1-L311
- Page: https://code.globalgrid2050.com/explore-code/s/0649.html#f1
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads Renewable Energy Planning Database (REPD) browser registry, interconnector endpoints, interconnectors and the REPD register.
- What it achieves (comment): It is built from the arg step (`arg`) and the pad step (`pad`). Which engine answered?
- What it does: It loads REPD browser registry, interconnector endpoints, interconnectors and the REPD register. Defines arg, pad, n. Uses libraries node:http, node:fs/promises, node:path, node:module, node:url. Side effects: changes the web page (DOM); reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register.
- Inputs & outputs: In: JSON file repd_browser_registry_202608290716.json; JSON file current.json; JSON file interconnector-endpoints.json; DuckDB queries; command-line arguments.
- Signatures: `arg(flag, fallback)`; `sld(current.cartridges || [])`; `rows(registry.records || [])`; `pad(s, n)`; `n(o)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file repd_browser_registry_202608290716.json; JSON file current.json; JSON file interconnector-endpoints.json; DuckDB queries; command-line arguments]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### UK Lightning Overlay Proof
- File: gridatlas/tools/proofs/202610312138-uk-lightning-overlay.proof.mjs (JavaScript, 3 lines) · role other · stage unknown · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202610312138-uk-lightning-overlay.proof.mjs#L1-L3
- Page: https://code.globalgrid2050.com/explore-code/s/0649.html#f3
- Synopsis: A JavaScript module in the proofs folder of GridAtlas.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 0; mentioned by 0
### Grid Journey Preview Proof
- File: gridatlas/tools/proofs/202611172355-grid-journey-preview.proof.mjs (JavaScript, 2 lines) · role other · stage unknown · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202611172355-grid-journey-preview.proof.mjs#L1-L2
- Page: https://code.globalgrid2050.com/explore-code/s/0649.html#f4
- Synopsis: A JavaScript module in the proofs folder of GridAtlas.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 0; mentioned by 0
### Grid Vicinity Proof
- File: gridatlas/tools/proofs/202611180026-grid-vicinity.proof.mjs (JavaScript, 2 lines) · role other · stage unknown · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202611180026-grid-vicinity.proof.mjs#L1-L2
- Page: https://code.globalgrid2050.com/explore-code/s/0649.html#f5
- Synopsis: A JavaScript module in the proofs folder of GridAtlas.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 0; mentioned by 0
### UK Gazetteer Flyto Proof
- File: gridatlas/tools/proofs/202611180026-uk-gazetteer-flyto.proof.mjs (JavaScript, 2 lines) · role other · stage unknown · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202611180026-uk-gazetteer-flyto.proof.mjs#L1-L2
- Page: https://code.globalgrid2050.com/explore-code/s/0649.html#f6
- Synopsis: A JavaScript module in the proofs folder of GridAtlas.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 0; mentioned by 0
### Pipeline Vicinity Button Proof
- File: gridatlas/tools/proofs/202611222000-pipeline-vicinity-button.proof.mjs (JavaScript, 11 lines) · role energy-data · stage ingest · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202611222000-pipeline-vicinity-button.proof.mjs#L1-L11
- Page: https://code.globalgrid2050.com/explore-code/s/0649.html#f7
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that uses SHA-256.
- What it does: It loads data. Uses libraries node:fs, node:assert/strict. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file current.json]; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 0; mentioned by 0
### Vicinity Legal Evidence Proof
- File: gridatlas/tools/proofs/202611280016-vicinity-legal-evidence.proof.mjs (JavaScript, 39 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202611280016-vicinity-legal-evidence.proof.mjs#L1-L39
- Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f5
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads the Renewable Energy Planning Database (REPD) register, using SHA-256 from the legislation repository.
- What it achieves (name): Defines `read` and `json`.
- What it does: It loads the REPD register. Defines read, json. Uses libraries node:assert/strict, node:fs, node:path, node:vm, node:crypto. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register.
- Inputs & outputs: In: data source: legislation data; JSON file current.json.
- Signatures: `read(p)`; `json(p)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [data source: legislation data; JSON file current.json]; out []; crs []; voltages []
- Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0
### Substation Intelligence Proof
- File: gridatlas/tools/proofs/202612012117-substation-intelligence.proof.mjs (JavaScript, 2 lines) · role electrical · stage unknown · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612012117-substation-intelligence.proof.mjs#L1-L2
- Page: https://code.globalgrid2050.com/explore-code/s/0448.html#f4
- Synopsis: A JavaScript module in the proofs folder of GridAtlas covering substations.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'substation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 0; mentioned by 0
### UKPN Secondary Card Proof
- File: gridatlas/tools/proofs/202612012117-ukpn-secondary-card.proof.mjs (JavaScript, 2 lines) · role energy-data · stage unknown · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612012117-ukpn-secondary-card.proof.mjs#L1-L2
- Page: https://code.globalgrid2050.com/explore-code/s/0448.html#f5
- Synopsis: A JavaScript module in the proofs folder of GridAtlas.
- What it achieves (readme): The README says: Added real rendered UKPN card selection, ranked Grid Engine transfer, poor-fix rejection, exact endpoint and GPS-watch preservation, and secondary Vicinity identity assertions to the existing combined browser gate.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'ukpn'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "Added real rendered UKPN card selection, ranked Grid Engine transfer, poor-fix rejection, exact endpoint and GPS-watch preservation, and secondary Vicinity identity assertions to the existing combined browser gate."
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 0; mentioned by 0
### UKPN Secondary Substations Proof
- File: gridatlas/tools/proofs/202612012117-ukpn-secondary-substations.proof.mjs (JavaScript, 2 lines) · role energy-data · stage unknown · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612012117-ukpn-secondary-substations.proof.mjs#L1-L2
- Page: https://code.globalgrid2050.com/explore-code/s/0448.html#f6
- Synopsis: A JavaScript module in the proofs folder of GridAtlas covering substations.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'substations'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 0; mentioned by 0
### SatNav Start Walk Proof
- File: gridatlas/tools/proofs/202612012118-satnav-start-walk.proof.mjs (JavaScript, 2 lines) · role other · stage unknown · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612012118-satnav-start-walk.proof.mjs#L1-L2
- Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f6
- Synopsis: A JavaScript module in the proofs folder of GridAtlas.
- Why it exists in the grid workflow: Domain stage field_execution (path 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_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 1 estate file (import 1); used by 0; mentioned by 0
### SatNav Waypoint Map Proof
- File: gridatlas/tools/proofs/202612012118-satnav-waypoint-map.proof.mjs (JavaScript, 2 lines) · role other · stage unknown · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612012118-satnav-waypoint-map.proof.mjs#L1-L2
- Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f7
- Synopsis: A JavaScript module in the proofs folder of GridAtlas.
- Why it exists in the grid workflow: Domain stage field_execution (path 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_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 1 estate file (import 1); used by 0; mentioned by 0
### UK Offtakers Overlay Proof
- File: gridatlas/tools/proofs/202612012118-uk-offtakers-overlay.proof.mjs (JavaScript, 2 lines) · role other · stage unknown · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612012118-uk-offtakers-overlay.proof.mjs#L1-L2
- Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f8
- Synopsis: A JavaScript module in the proofs folder of GridAtlas.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 0; mentioned by 0
### Convergence Proof
- File: gridatlas/tools/proofs/202612020930-convergence.proof.mjs (JavaScript, 46 lines) · role ingest · stage ingest · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612020930-convergence.proof.mjs#L1-L46
- Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f12
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads composition and substations, using SHA-256.
- What it achieves (name): It is built from the normalized step (`normalized`), the normalized shell helper (`normalizedShell`) and the normalized provenance helper (`normalizedProvenance`). Defines `read`, `hash`, `verify` and 3 more. It reads `atlas/current.json`.
- What it does: It loads composition and substations. Defines 6 functions or classes, including read, hash, verify, normalized, normalizedShell. Uses libraries node:assert/strict, node:fs, node:crypto, node:path, node:vm. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations.
- Inputs & outputs: In: JSON file current.json; JSON file -composition.json.
- Signatures: `read(p)`; `hash(b)`; `verify(file,e)`; `normalized(x,base)`; `normalizedShell(x,base)`; `normalizedProvenance(x,base)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file current.json; JSON file -composition.json]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Distance Dock Proof
- File: gridatlas/tools/proofs/202612021205-distance-dock.proof.mjs (JavaScript, 36 lines) · role geodesy · stage ingest · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612021205-distance-dock.proof.mjs#L1-L36
- Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f13
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads composition, using SHA-256.
- What it achieves (name): Defines `hash` and `fix`. It reads `/current.json`.
- What it does: It loads composition. Defines hash, fix. Uses libraries node:assert/strict, node:fs, node:crypto, node:path, node:vm. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json; JSON file 202612021205-composition.json.
- Signatures: `hash(b)`; `fix(at,timestampMs)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file current.json; JSON file 202612021205-composition.json]; out []; crs []; voltages []
- Edges: uses 4 estate files (import 4); used by 0; mentioned by 0
### Orient14 Proof
- File: gridatlas/tools/proofs/202612030153-orient14.proof.mjs (JavaScript, 36 lines) · role interaction · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612030153-orient14.proof.mjs#L1-L36
- Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f14
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads composition, using SHA-256.
- What it achieves (name): Defines `exercise`, `load` and `msg`. It reads `/current.json`.
- What it does: It loads composition. Defines exercise, load, msg. Uses libraries node:assert/strict, node:fs, node:crypto, node:path. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json; JSON file 202612030153-composition.json.
- Signatures: `exercise(source)`; `class E`; `load(u)`; `msg()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file current.json; JSON file 202612030153-composition.json]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Orient16 Proof
- File: gridatlas/tools/proofs/202612031130-orient16.proof.mjs (JavaScript, 6 lines) · role ingest · stage ingest · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612031130-orient16.proof.mjs#L1-L6
- Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f15
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads composition, using SHA-256.
- What it achieves (name): It reads `/current.json`.
- What it does: It loads composition. Uses libraries node:assert/strict. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json; JSON file 202612031130-composition.json.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file current.json; JSON file 202612031130-composition.json]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Orient16 Recovery Proof
- File: gridatlas/tools/proofs/202612031235-orient16-recovery.proof.mjs (JavaScript, 6 lines) · role ingest · stage ingest · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612031235-orient16-recovery.proof.mjs#L1-L6
- Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f16
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads composition, using SHA-256.
- What it achieves (name): It reads `/current.json`.
- What it does: It loads composition. Uses libraries node:assert/strict. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json; JSON file 202612031235-composition.json.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file current.json; JSON file 202612031235-composition.json]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Orient16 Responsive Proof
- File: gridatlas/tools/proofs/202612031346-orient16-responsive.proof.mjs (JavaScript, 6 lines) · role ingest · stage ingest · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612031346-orient16-responsive.proof.mjs#L1-L6
- Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f17
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads composition, using SHA-256.
- What it achieves (name): It reads `/current.json`.
- What it does: It loads composition. Uses libraries node:assert/strict. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json; JSON file 202612031346-composition.json.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file current.json; JSON file 202612031346-composition.json]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Orient17 Regional Proof
- File: gridatlas/tools/proofs/202612031704-orient17-regional.proof.mjs (JavaScript, 12 lines) · role ingest · stage ingest · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612031704-orient17-regional.proof.mjs#L1-L12
- Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f18
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads composition, using SHA-256.
- What it achieves (name): It reads `/current.json`.
- What it does: It loads composition. Uses libraries node:assert/strict, node:fs, node:crypto, node:path. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json; JSON file -composition.json.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file current.json; JSON file -composition.json]; out []; crs []; voltages []
- Edges: uses 1 estate file (dynamic-import 1); used by 0; mentioned by 0
### Orient17b Proof
- File: gridatlas/tools/proofs/202612040110-orient17b.proof.mjs (JavaScript, 13 lines) · role ingest · stage ingest · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612040110-orient17b.proof.mjs#L1-L13
- Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f19
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads composition, using SHA-256.
- What it achieves (name): It reads `/current.json`.
- What it does: It loads composition. Uses libraries node:assert/strict, node:fs, node:crypto, node:path. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json; JSON file -composition.json.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file current.json; JSON file -composition.json]; out []; crs []; voltages []
- Edges: uses 1 estate file (dynamic-import 1); used by 0; mentioned by 0
### Orient17a Proof
- File: gridatlas/tools/proofs/202612040127-orient17a.proof.mjs (JavaScript, 23 lines) · role ingest · stage ingest · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612040127-orient17a.proof.mjs#L1-L23
- Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f20
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads composition, using SHA-256.
- What it achieves (name): Defines `inspect`. It reads `/current.json`.
- What it does: It loads composition. Defines inspect. Uses libraries node:assert/strict, node:fs, node:crypto, node:path. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json; JSON file -composition.json.
- Signatures: `inspect(path)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file current.json; JSON file -composition.json]; out []; crs []; voltages []
- Edges: uses 1 estate file (dynamic-import 1); used by 0; mentioned by 0
### About Estate and Attribution Proof
- File: gridatlas/tools/proofs/about-estate-and-attribution.proof.mjs (JavaScript, 329 lines) · role interaction · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/about-estate-and-attribution.proof.mjs#L1-L329
- Page: https://code.globalgrid2050.com/explore-code/s/0651.html#f1
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads engine graph and substations from the ventus-grid-engine, data-federation-map-for-GlobalGrid2050-all-repos and spiders repositories.
- What it achieves (comment): It is built from the check step (`check`), the run value helper (`runValue`) and the report step (`report`). The About panel carries the attribution and the estate's published method. It responds to afterprint events.
- What it does: It loads engine graph and substations. Defines check, runValue, report. Uses libraries node:fs/promises, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations.
- Inputs & outputs: In: data source: ventus-grid-engine data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: spiders data; JSON file current.json; JSON file engine-graph.json.
- Signatures: `check(name, ok, detail)`; `entry(current.cartridges || [])`; `runValue(() => { const at = composed.indexOf('var RUN_COMMAND ='); if (at < 0) return null; const end = composed.indexOf(';', ...)`; `report()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [data source: ventus-grid-engine data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: spiders data; JSON file current.json; JSON file engine-graph.json]; out []; crs []; voltages []
- Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0
### Arrival Visibility and One Runtime Proof
- File: gridatlas/tools/proofs/arrival-visibility-and-one-runtime.proof.mjs (JavaScript, 163 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/arrival-visibility-and-one-runtime.proof.mjs#L1-L163
- Page: https://code.globalgrid2050.com/explore-code/s/0652.html#f1
- Synopsis: A JavaScript module in the proofs folder of GridAtlas. It is built from the composed step (`composed`) and the check step (`check`).
- What it achieves (comment): What this generation has to keep true, asserted against the COMPOSED bytes named by `atlas/current.json` - not against the parts they were built from.
- What it does: It loads data. Defines composed, check. Uses libraries node:fs/promises, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json; DuckDB queries.
- Signatures: `composed(id)`; `check(name, condition)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file current.json; DuckDB queries]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Export Print and Image Outcomes Browser
- File: gridatlas/tools/proofs/export-print-and-image-outcomes.browser.mjs (JavaScript, 829 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/export-print-and-image-outcomes.browser.mjs#L1-L829
- Page: https://code.globalgrid2050.com/explore-code/s/0653.html#f1
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that exports control (`exportControl`), opens export menu (`openExportMenu`), calculates planar distances and draws on a canvas, using SHA-256.
- What it achieves (name): It exports control (`exportControl`) and opens export menu (`openExportMenu`). Its name says it exports print and image outcomes browser. Defines `argv`, `check`, `pdfFacts` and 10 more. It responds to click events.
- What it does: It draws its content. Defines 13 functions or classes, including argv, check, pdfFacts, number, streamOf. Uses libraries node:http, node:fs/promises, node:os, node:path, node:zlib. Side effects: changes the web page (DOM); reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json; command-line arguments. Out: canvas drawing.
- Signatures: `argv(flag, fallback)`; `EXPORT_CARTRIDGE(CURRENT.cartridges || [])`; `check(name, ok, detail)`; `pdfFacts(base64)`; `number(dict, key)`; `streamOf(entry)`; `decoded(entry)`; `sample(buffer, width, height)`; `times(m, n)`; `exportControl(page, kind)`; `shape(value)`; `openExportMenu(label)`; `at((y * probe.width) + x)`; `coverageOf(image)`; `describe(row)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file current.json; command-line arguments]; out [canvas drawing]; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Grid Subs Chips on Desktop Browser
- File: gridatlas/tools/proofs/grid-subs-chips-on-desktop.browser.mjs (JavaScript, 79 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/grid-subs-chips-on-desktop.browser.mjs#L1-L79
- Page: https://code.globalgrid2050.com/explore-code/s/0654.html#f2
- Synopsis: A JavaScript module in the proofs folder of GridAtlas.
- What it achieves (comment): ARE GRID AND SUBS UNDER THE CURSOR, NOT INSIDE A MENU? --------------------------------------------------------------------------- "in mobile view the Grid and subs buttons are nice show them on desktop TOO" -- the architect, .
- What it does: It lists and searches its content. Uses libraries playwright. Side effects: changes the web page (DOM); starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: command-line arguments.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [command-line arguments]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Layer Census GPU
- File: gridatlas/tools/proofs/layer-census-gpu.py (Python, 35 lines) · role storage · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/layer-census-gpu.py#L1-L35
- Page: https://code.globalgrid2050.com/explore-code/s/0654.html#f3
- Synopsis: A Python module in the proofs folder of GridAtlas that reads GPU receipt, using SHA-256. It is built from the gpu step (`gpu`).
- What it achieves (comment): Bounded CuPy geometry and filter census, independently checked against scalar CPU masks. It accepts `--input`.
- What it does: It loads GPU receipt. Defines gpu. Uses libraries argparse, hashlib, json, pathlib, time. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: command-line arguments. Out: JSON file gpu-receipt.json.
- Signatures: `gpu(e)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [command-line arguments]; out [JSON file gpu-receipt.json]; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Layer Census
- File: gridatlas/tools/proofs/layer-census.py (Python, 61 lines) · role storage · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/layer-census.py#L1-L61
- Page: https://code.globalgrid2050.com/explore-code/s/0654.html#f4
- Synopsis: A Python module in the proofs folder of GridAtlas that prepares the real published layer corpus for CPU/GPU parity; never synthesize cases, using SHA-256.
- What it achieves (name): Defines `value`, `coordinates` and `gather`. It accepts `--data-root`, `--config` and `--out`.
- What it does: It loads data. Defines value, coordinates, gather. Uses libraries argparse, collections, hashlib, json, pathlib. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file layer-config.json; command-line arguments.
- Signatures: `value(e,props)`; `coordinates(c)`; `gather(e)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file layer-config.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Menu Bar Dom Proof
- File: gridatlas/tools/proofs/menu-bar-dom.proof.mjs (JavaScript, 514 lines) · role interaction · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/menu-bar-dom.proof.mjs#L1-L514
- Page: https://code.globalgrid2050.com/explore-code/s/0655.html#f3
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that works with selector parts (`selectorParts`) and fake element (`FakeElement`).
- What it achieves (name): It proves menu bar (`proveMenuBar`) and is built from the selector parts helper (`selectorParts`) and the fake element class (`FakeElement`). Defines `classes`, `selectorParts`, `matches` and 10 more. It responds to click and change events.
- What it does: It draws its content. Defines 13 functions or classes, including classes, selectorParts, matches, FakeElement, visit. Uses libraries node:fs/promises, node:vm. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Signatures: `export proveMenuBar(menuPath, servedSource = '')`; `classes(node)`; `selectorParts(selector)`; `matches(node, selector)`; `class FakeElement`; `constructor(tag, doc)`; `appendChild(child)`; `insertBefore(child, before)`; `setAttribute(name, value)`; `getAttribute(name)`; `hasAttribute(name)`; `removeAttribute(name)`; `addEventListener(type, fn)`; `dispatch(type, supplied = {})`; `stopPropagation()`; `preventDefault()`; `click()`; `focus()`; `contains(other)`; `closest(selector)`; `querySelectorAll(selector)`; `visit(node)`; `querySelector(selector)`; `class FakeDocument`; `createElement(tag)` (and 10 more)
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Offtakers Cartridge
- File: gridatlas/tools/proofs/offtakers-cartridge.mjs (JavaScript, 100 lines) · role storage · stage ingest · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/offtakers-cartridge.mjs#L1-L100
- Page: https://code.globalgrid2050.com/explore-code/s/0662.html#f2
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that fetches generations and the Renewable Energy Planning Database (REPD) register, using SHA-256.
- What it achieves (comment): It reads JSON (`readJson`) and is built from the sha step (`sha`). The proof of a generation that composes the potential-offtakers overlay as its OWN cartridge ('UK-offtakers-overlay', slot after-cartridge, after UK-lightning-overlay). It reads `atlas/current.json`.
- What it does: It fetches generations and the REPD register. Defines sha, readJson, proveOfftakersCartridge. Uses libraries node:assert/strict, node:fs, node:path, node:vm, node:crypto. Side effects: reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register.
- Inputs & outputs: In: JSON file current.json; JSON file generations.json.
- Signatures: `export proveOfftakersCartridge(G)`; `sha(b)`; `readJson(rel)`; `regM(JSON.parse(fs.readFileSync(path.join(ROOT, 'tools/offtakers/generations.json'), 'utf8')).generations || {})`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file current.json; JSON file generations.json]; out []; crs []; voltages []
- Edges: uses 4 estate files (dynamic-import 2, import 1, estate-url 1); used by 0; mentioned by 0
### Prepare Layer Census
- File: gridatlas/tools/proofs/prepare-layer-census.mjs (JavaScript, 12 lines) · role storage · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/prepare-layer-census.mjs#L1-L12
- Page: https://code.globalgrid2050.com/explore-code/s/0662.html#f3
- Synopsis: A JavaScript module in the proofs folder of GridAtlas.
- What it achieves (name): Its name says it prepares layer census.
- What it does: It loads data. Uses libraries node:fs, node:vm, node:path. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json. Out: JSON file layer-config.json.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file current.json]; out [JSON file layer-config.json]; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Renewable Energy Planning Database (REPD) Deep Link Sweep Browser
- File: gridatlas/tools/proofs/repd-deep-link-sweep.browser.mjs (JavaScript, 140 lines) · role energy-data · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/repd-deep-link-sweep.browser.mjs#L1-L140
- Page: https://code.globalgrid2050.com/explore-code/s/0662.html#f5
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads REPD browser registry and the REPD register. It is built from the arg step (`arg`).
- What it achieves (comment): Arrive on many REPD deep links, not five.
- What it does: It loads REPD browser registry and the REPD register. Defines arg. Uses libraries node:http, node:fs/promises, node:path, node:module, node:url. Side effects: changes the web page (DOM); reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register.
- Inputs & outputs: In: JSON file current.json; JSON file repd_browser_registry_202608290716.json; command-line arguments.
- Signatures: `arg(flag, fallback)`; `rows(registry.records || [])`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file current.json; JSON file repd_browser_registry_202608290716.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Screen Grab Print Outcomes Browser
- File: gridatlas/tools/proofs/screen-grab-print-outcomes.browser.mjs (JavaScript, 251 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/screen-grab-print-outcomes.browser.mjs#L1-L251
- Page: https://code.globalgrid2050.com/explore-code/s/0663.html#f1
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that works with any ancestor hidden (`anyAncestorHidden`).
- What it achieves (comment): It is built from the check step (`check`), the box step (`box`) and the any ancestor hidden helper (`anyAncestorHidden`). DOES THE SHEET SHOW WHAT THE READER WAS LOOKING AT? --------------------------------------------------------------------------- Not "did a PDF come out" -- -pdf-export-outcomes.browser.mjs already establishes that bytes arrive and that they carry a map.
- What it does: It lists and searches its content. Defines check, box, anyAncestorHidden. Uses libraries playwright. Side effects: changes the web page (DOM); starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: command-line arguments.
- Signatures: `check(view, name, ok, detail)`; `box(selector)`; `anyAncestorHidden(selector)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [command-line arguments]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Teleprint Evidence Browser
- File: gridatlas/tools/proofs/teleprint-evidence.browser.mjs (JavaScript, 357 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/teleprint-evidence.browser.mjs#L1-L357
- Page: https://code.globalgrid2050.com/explore-code/s/0663.html#f2
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads teleprint evidence summary.
- What it achieves (comment): It reads app status (`readAppStatus`) and is built from the scenario step (`scenario`) and the ensure dir helper (`ensureDir`). "You must record evidence via at least 50 chrome sessions 25 for print source code feature and 25 for print pdf feature via our app NOT CHROME or any other browser.".
- What it does: It loads teleprint evidence summary. Defines scenario, ensureDir, readAppStatus, inspectPdf, inspectSource. Uses libraries playwright, node:fs/promises, node:path. Side effects: changes the web page (DOM); reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: command-line arguments. Out: JSON file teleprint-evidence-summary.json.
- Signatures: `scenario(index)`; `ensureDir(dir)`; `readAppStatus(page)`; `inspectPdf(buffer, expect)`; `inspectSource(text)`; `files(text.match(/^FILE: /gm) || [])`; `notRead(text.match(/^NOT READ -- (\d+)/m) || [])`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [command-line arguments]; out [JSON file teleprint-evidence-summary.json]; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### UK Lightning Preview Browser
- File: gridatlas/tools/proofs/uk-lightning-preview.browser.mjs (JavaScript, 184 lines) · role interaction · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/uk-lightning-preview.browser.mjs#L1-L184
- Page: https://code.globalgrid2050.com/explore-code/s/0664.html#f1
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads comparison from the lightning repository. It opens profile (`openProfile`).
- What it achieves (comment): Compare the restored live Atlas with isolated UK lightning V2.
- What it does: It loads comparison. Defines openProfile. Uses libraries node:assert/strict, node:fs, node:path, node:http, playwright. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: data source: lightning data; GeoJSON file uk_lightning.geojson. Out: JSON file comparison.json.
- Signatures: `openProfile(width,mode)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [data source: lightning data; GeoJSON file uk_lightning.geojson]; out [JSON file comparison.json]; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### V8 Layers Panel Restored Proof
- File: gridatlas/tools/proofs/v8-layers-panel-restored.proof.mjs (JavaScript, 101 lines) · role storage · stage ingest · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/v8-layers-panel-restored.proof.mjs#L1-L101
- Page: https://code.globalgrid2050.com/explore-code/s/0198.html#f5
- Synopsis: A JavaScript module in the proofs folder of GridAtlas. It is built from the composed step (`composed`) and the check step (`check`).
- What it achieves (comment): The v8 layers panel is back beneath the menus, asserted against the COMPOSED bytes named by `atlas/current.json` - never against the parts.
- What it does: It loads data. Defines composed, check. Uses libraries node:fs/promises, node:path, node:url. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'panel'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary.
- Inputs & outputs: In: JSON file current.json.
- Signatures: `composed(id)`; `check(name, ok)`
- domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file current.json]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Verify Layers Local
- File: gridatlas/tools/proofs/verify-layers-local.ps1 (PowerShell, 31 lines) · role automation · stage unknown · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/verify-layers-local.ps1#L1-L31
- Page: https://code.globalgrid2050.com/explore-code/s/0664.html#f5
- Synopsis: A PowerShell script in the proofs folder of GridAtlas.
- What it achieves (name): Its name says it verifies layers local.
- What it does: Side effects: starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Cut Grid Explorer
- File: gridatlas/tools/release/cut-grid-explorer.mjs (JavaScript, 106 lines) · role automation · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/release/cut-grid-explorer.mjs#L1-L106
- Page: https://code.globalgrid2050.com/explore-code/s/0666.html#f2
- Synopsis: A JavaScript module in the tools folder of GridAtlas that reads composition, generations, mobile arrival card edits and substations, using SHA-256.
- What it achieves (comment): It is built from the read step (`read`), the hash step (`hash`) and the JSON step (`json`). Cut additive source-built explorer candidates. Never moves the live pointer.
- What it does: It loads composition, generations, mobile arrival card edits and substations. Defines read, hash, json, write, arg. Uses libraries node:fs, node:path, node:assert/strict, node:crypto, node:url. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations.
- Inputs & outputs: In: JSON file current.json; JSON file -composition.json; JSON file generations.json; JSON file mobile-arrival-card-edits.json; command-line arguments.
- Signatures: `read(p)`; `hash(b)`; `json(p)`; `write(p, body)`; `arg(k)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file current.json; JSON file -composition.json; JSON file generations.json; JSON file mobile-arrival-card-edits.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 7 estate files (script-call 7); used by 0; mentioned by 0
### SatNav Browser
- File: gridatlas/tools/satnav/browser.py (Python, 405 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/browser.py#L1-L405
- Page: https://code.globalgrid2050.com/explore-code/s/0671.html#f1
- Synopsis: A Python module in the tools folder of GridAtlas covering postcodes, the Renewable Energy Planning Database (REPD) register and substations, and uses data from postcodes.io and the SatNav repository.
- What it achieves (name): It checks launcher during search reflow (`check_launcher_during_search_reflow`) and is built from the ready step (`ready`) and the choose compass helper (`choose_compass`). Defines `load_map`, `click_launcher`, `open_satnav` and 10 more.
- What it does: It draws postcodes, the REPD register and substations. Defines 13 functions or classes, including load_map, click_launcher, open_satnav, check_launcher_during_search_reflow, ready. Uses libraries json, math, os, urllib.parse, playwright.sync_api. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage field_execution (path 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: postcodes, the REPD register, substations.
- Signatures: `load_map(page, url)`; `click_launcher(page)`; `open_satnav(page)`; `check_launcher_during_search_reflow(page)`; `ready(page, url)`; `choose_compass(page, name, point)`; `open_native_card(page)`; `open_card(page)`; `click_uncovered_map(page)`; `pick_search_result(page, query, result_selector)`; `stale_project_refused(page, action)`; `postcode_handoff(page, use_live_provider)`; `selected(page, kind)`
- 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 0; mentioned by 0
### Offline Plan
- File: gridatlas/tools/satnav/field-reliability/offline-plan.mjs (JavaScript, 179 lines) · role interaction · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/field-reliability/offline-plan.mjs#L1-L179
- Page: https://code.globalgrid2050.com/explore-code/s/0673.html#f1
- Synopsis: A JavaScript module in the field reliability folder of GridAtlas that formats distance (`formatDistance`), shows pin (`showPin`) and draws SVG graphics. It formats distance (`formatDistance`) and shows pin (`showPin`).
- What it achieves (comment): Saves the planned pins on this device only, after the user presses Save. It responds to statechange events.
- What it does: It draws its content. Defines 11 functions or classes, including fieldPlan, displayPlan, byId, formatDistance, showPin. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage field_execution (path word 'field'): 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: Out: SVG drawing.
- Signatures: `export offlinePlanDocument(pins, maths)`; `export mountOfflinePlan({container, getPins, maths})`; `fieldPlan(pins, maths)`; `displayPlan()`; `byId(id)`; `formatDistance(m)`; `scaleX(maxX - minX)`; `showPin()`; `activateWorker(scope)`; `finish()`; `cleanup()`; `change(action)`
- VEDIC: SAVE OFFLINE PLAN (GG2050-VEDIC-000100): SatNav · Location and navigation data. DOM container, selected pins callback, distance and bearing functions, secure browser with service worker and Cache Storage -> Offline plan controls and a locally cached standalone HTML plan after the user presses Save.
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out [SVG drawing]; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### SatNav G203 Soak
- File: gridatlas/tools/satnav/g203-soak.py (Python, 48 lines) · role interaction · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/g203-soak.py#L1-L48
- Page: https://code.globalgrid2050.com/explore-code/s/0673.html#f6
- Synopsis: A Python module in the tools folder of GridAtlas.
- What it achieves (comment): Matched 30-minute candidate soak; simulated GPS, actual application, no auto-reload.
- What it does: Uses libraries os, time, json, pathlib, runpy. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path 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: 11kV.
- Inputs & outputs: Voltage levels named: 11kV.
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages [11kV]
- Edges: uses 0 estate files; used by 0; mentioned by 0
### SatNav Orient14 Browser
- File: gridatlas/tools/satnav/orient14-browser.py (Python, 58 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orient14-browser.py#L1-L58
- Page: https://code.globalgrid2050.com/explore-code/s/0678.html#f5
- Synopsis: A Python module in the tools folder of GridAtlas.
- What it achieves (comment): ORIENT-14: real numbered GridAtlas composition; only the GPS boundary is simulated.
- What it does: Uses libraries os, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path 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_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 0; mentioned by 0
### SatNav Orient16 Browser
- File: gridatlas/tools/satnav/orient16-browser.py (Python, 63 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orient16-browser.py#L1-L63
- Page: https://code.globalgrid2050.com/explore-code/s/0678.html#f6
- Synopsis: A Python module in the tools folder of GridAtlas.
- What it achieves (comment): ORIENT-14: real numbered GridAtlas composition; only the GPS boundary is simulated.
- What it does: Uses libraries os, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path 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_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 0; mentioned by 0
### SatNav Orient16 Recovery Browser
- File: gridatlas/tools/satnav/orient16-recovery-browser.py (Python, 171 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orient16-recovery-browser.py#L1-L171
- Page: https://code.globalgrid2050.com/explore-code/s/0678.html#f7
- Synopsis: A Python module in the tools folder of GridAtlas.
- What it achieves (comment): ORIENT-14: real numbered GridAtlas composition; only the GPS boundary is simulated.
- What it does: Uses libraries os, json, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path 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_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 0; mentioned by 0
### SatNav Orient16 Responsive Browser
- File: gridatlas/tools/satnav/orient16-responsive-browser.py (Python, 185 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orient16-responsive-browser.py#L1-L185
- Page: https://code.globalgrid2050.com/explore-code/s/0679.html#f1
- Synopsis: A Python module in the tools folder of GridAtlas.
- What it achieves (comment): ORIENT-14: real numbered GridAtlas composition; only the GPS boundary is simulated.
- What it does: Uses libraries os, json, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path 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_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 0; mentioned by 0
### SatNav Orient17 Regional Browser
- File: gridatlas/tools/satnav/orient17-regional-browser.py (Python, 72 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orient17-regional-browser.py#L1-L72
- Page: https://code.globalgrid2050.com/explore-code/s/0679.html#f2
- Synopsis: A Python module in the tools folder of GridAtlas that routes fixture (`route_fixture`). It is built from the encode step (`encode`).
- What it achieves (comment): ORIENT-17.2 composed browser fixture, explicitly synthetic transport, not actual routing.
- What it does: Defines encode, route_fixture. Uses libraries os, json, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Signatures: `encode(points)`; `route_fixture(route)`
- 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 0; mentioned by 0
### SatNav Orient17a Browser
- File: gridatlas/tools/satnav/orient17a-browser.py (Python, 57 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orient17a-browser.py#L1-L57
- Page: https://code.globalgrid2050.com/explore-code/s/0679.html#f3
- Synopsis: A Python module in the tools folder of GridAtlas.
- What it achieves (comment): ORIENT17A partial composed checkpoint. WMM missing: must fail closed, not fake true heading.
- What it does: Uses libraries os, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path 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_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 0; mentioned by 0
### SatNav Orient17a V9211 Browser
- File: gridatlas/tools/satnav/orient17a-v9211-browser.py (Python, 99 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orient17a-v9211-browser.py#L1-L99
- Page: https://code.globalgrid2050.com/explore-code/s/0679.html#f4
- Synopsis: A Python module in the tools folder of GridAtlas that emits heading (`emit_heading`).
- What it achieves (comment): V9.211 composed application acceptance: simulated acquisition, not device evidence.
- What it does: Defines emit_heading. Uses libraries os, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Signatures: `emit_heading(heading, accuracy=3, beta=0)`
- 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 0; mentioned by 0
### SatNav Orient17a V9212 Browser
- File: gridatlas/tools/satnav/orient17a-v9212-browser.py (Python, 99 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orient17a-v9212-browser.py#L1-L99
- Page: https://code.globalgrid2050.com/explore-code/s/0679.html#f5
- Synopsis: A Python module in the tools folder of GridAtlas that emits heading (`emit_heading`).
- What it achieves (comment): V9.212 composed application acceptance: simulated acquisition, not device evidence.
- What it does: Defines emit_heading. Uses libraries os, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Signatures: `emit_heading(heading, accuracy=3, beta=0)`
- 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 0; mentioned by 0
### SatNav Orient17a V9214 Browser
- File: gridatlas/tools/satnav/orient17a-v9214-browser.py (Python, 101 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orient17a-v9214-browser.py#L1-L101
- Page: https://code.globalgrid2050.com/explore-code/s/0679.html#f6
- Synopsis: A Python module in the tools folder of GridAtlas that emits heading (`emit_heading`).
- What it achieves (comment): V9.214 composed application acceptance: simulated acquisition, not device evidence.
- What it does: Defines emit_heading. Uses libraries os, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Signatures: `emit_heading(heading, accuracy=3, beta=0)`
- 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 0; mentioned by 0
### SatNav Orient17a V9215 Browser
- File: gridatlas/tools/satnav/orient17a-v9215-browser.py (Python, 112 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orient17a-v9215-browser.py#L1-L112
- Page: https://code.globalgrid2050.com/explore-code/s/0680.html#f1
- Synopsis: A Python module in the tools folder of GridAtlas that emits heading (`emit_heading`).
- What it achieves (comment): V9.215 composed application acceptance: simulated acquisition, not device evidence.
- What it does: Defines emit_heading. Uses libraries os, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Signatures: `emit_heading(heading, accuracy=3, beta=0)`
- 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 0; mentioned by 0
### SatNav Orient17a V9216 Browser
- File: gridatlas/tools/satnav/orient17a-v9216-browser.py (Python, 138 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orient17a-v9216-browser.py#L1-L138
- Page: https://code.globalgrid2050.com/explore-code/s/0680.html#f2
- Synopsis: A Python module in the tools folder of GridAtlas that emits heading (`emit_heading`).
- What it achieves (comment): V9.216 composed application acceptance: simulated acquisition, not device evidence.
- What it does: Defines emit_heading. Uses libraries os, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Signatures: `emit_heading(heading, accuracy=3, beta=0)`
- 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 0; mentioned by 0
### Orient17a Reference
- File: gridatlas/tools/satnav/orientation/orient17a-reference.mjs (JavaScript, 5 lines) · role transform · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orientation/orient17a-reference.mjs#L1-L5
- Page: https://code.globalgrid2050.com/explore-code/s/0680.html#f7
- Synopsis: A JavaScript module in the orientation folder of GridAtlas. It is built from the true heading from observation helper (`trueHeadingFromObservation`).
- What it achieves (comment): ORIENT-17A integration boundary. Pending independently validated WMM2025 evaluator.
- What it does: It calculates its inputs. Defines trueHeadingFromObservation.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Signatures: `export trueHeadingFromObservation(observation,fix,now=Date.now())`
- 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 0; mentioned by 0
### Bristol
- File: gridatlas/tools/satnav/pedestrian-pilot/bristol.mjs (JavaScript, 165 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/pedestrian-pilot/bristol.mjs#L1-L165
- Page: https://code.globalgrid2050.com/explore-code/s/0681.html#f4
- Synopsis: A JavaScript module in the pedestrian pilot folder of GridAtlas that maps bristol footpaths.
- What it achieves (name): It shows result (`showResult`) and is built from the install bristol footpaths helper (`installBristolFootpaths`) and the refresh step (`refresh`). Defines `installBristolFootpaths`, `paint`, `showResult` and 5 more. It responds to toggle events.
- What it does: It maps bristol footpaths. Defines 8 functions or classes, including installBristolFootpaths, paint, showResult, refresh, load. Side effects: changes the web page (DOM); makes network requests.
- Why it exists in the grid workflow: Domain stage field_execution (path 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: GeoJSON file bristol-footpaths.geojson.
- Signatures: `export installBristolFootpaths({map, container, maths, getEndpoints})`; `paint()`; `showResult(result)`; `refresh()`; `load()`; `points(code)`; `select(next)`; `hide()`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [GeoJSON file bristol-footpaths.geojson]; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 0; mentioned by 0
### Regional Gateway
- File: gridatlas/tools/satnav/regional/regional-gateway.mjs (JavaScript, 34 lines) · role ingest · stage ingest · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/regional/regional-gateway.mjs#L1-L34
- Page: https://code.globalgrid2050.com/explore-code/s/0682.html#f8
- Synopsis: A JavaScript module in the SatNav folder of GridAtlas. It is built from the send step (`send`).
- What it achieves (comment): Loopback-only private upstream gateway. Deploy behind a controlled same-origin HTTPS reverse proxy.
- What it does: It fetches data. Defines send. Uses libraries node:http. Side effects: makes network requests.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Signatures: `send(res,status,body)`
- 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 0; mentioned by 0
### Controls
- File: gridatlas/tools/satnav/walk/gate/controls.mjs (JavaScript, 142 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/gate/controls.mjs#L1-L142
- Page: https://code.globalgrid2050.com/explore-code/s/0685.html#f6
- Synopsis: A JavaScript module in the gate folder of GridAtlas that maps road. It attaches map (`attachMap`) and loads road (`loadRoad`).
- What it achieves (name): Defines `metres`, `mountGateControls`, `selected` and 7 more.
- What it does: It maps road. Defines 10 functions or classes, including metres, mountGateControls, selected, framePlan, draw. Side effects: changes the web page (DOM); makes network requests.
- Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): 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 road.json.
- Signatures: `export mountGateControls({api, compass, message, start, mode, render})`; `metres(value)`; `selected()`; `framePlan()`; `draw()`; `attachMap()`; `loadRoad(epoch)`; `select()`; `matchesPlan()`; `describe(active, stopped)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file road.json]; out []; crs []; voltages []
- Edges: uses 3 estate files (import 3); used by 0; mentioned by 0
### Controls
- File: gridatlas/tools/satnav/walk/gate/jobs/controls.mjs (JavaScript, 221 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/gate/jobs/controls.mjs#L1-L221
- Page: https://code.globalgrid2050.com/explore-code/s/0686.html#f3
- Synopsis: A JavaScript module in the jobs folder of GridAtlas that maps road. It attaches map (`attachMap`) and loads road (`loadRoad`).
- What it achieves (name): Defines `metres`, `mountGateControls`, `isJob` and 11 more. It responds to visibilitychange and click events.
- What it does: It maps road. Defines 14 functions or classes, including metres, mountGateControls, isJob, selected, framePlan. Side effects: changes the web page (DOM); makes network requests.
- Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): 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 road.json.
- Signatures: `export mountGateControls({api, compass, message, start, mode, render, isActive})`; `metres(value)`; `isJob()`; `selected()`; `framePlan()`; `draw()`; `attachMap()`; `loadRoad(epoch)`; `begin(action = 'start-walk')`; `select()`; `useJob(job)`; `matchesPlan()`; `describe(active, stopped)`; `end(reason)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file road.json]; out []; crs []; voltages []
- Edges: uses 4 estate files (import 4); used by 0; mentioned by 0
### Orient17a Direct
- File: gridatlas/tools/satnav/walk/orient17a-direct.mjs (JavaScript, 48 lines) · role transform · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/orient17a-direct.mjs#L1-L48
- Page: https://code.globalgrid2050.com/explore-code/s/0687.html#f8
- Synopsis: A JavaScript module in the walk folder of GridAtlas that creates direct walk (`createDirectWalk`) and sets targets (`setTargets`). It creates direct walk (`createDirectWalk`) and sets targets (`setTargets`).
- What it achieves (code): Its `createDirectWalk` function gives direct guidance session reporting choose, waiting, guiding or complete, with distance and bearing where available from Maths and compass modules, ordered targets and timestamped GPS fixes with accuracy (VEDIC: detect destination arrival).
- What it does: It calculates its inputs. Defines 6 functions or classes, including samePin, walkTargets, createDirectWalk, setTargets, restart.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Signatures: `export walkTargets(pins, from, loop)`; `export createDirectWalk(maths, compass)`; `samePin(a, b)`; `setTargets(next)`; `restart()`; `locate(fix, now = Date.now())`
- VEDIC: DETECT DESTINATION ARRIVAL (GG2050-VEDIC-000102): SatNav · Location and navigation data. Maths and compass modules, ordered targets and timestamped GPS fixes with accuracy -> Direct guidance session reporting choose, waiting, guiding or complete, with distance and bearing where available.
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of gridatlas/tools/satnav/walk/direct.mjs) · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 2 estate files (import 2); used by 0; mentioned by 0
### Orient17a V9212 Direct
- File: gridatlas/tools/satnav/walk/orient17a-v9212-direct.mjs (JavaScript, 53 lines) · role transform · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/orient17a-v9212-direct.mjs#L1-L53
- Page: https://code.globalgrid2050.com/explore-code/s/0687.html#f9
- Synopsis: A JavaScript module in the walk folder of GridAtlas that creates direct walk (`createDirectWalk`) and sets targets (`setTargets`). It creates direct walk (`createDirectWalk`) and sets targets (`setTargets`).
- What it achieves (code): Its `createDirectWalk` function gives direct guidance session reporting choose, waiting, guiding or complete, with distance and bearing where available from Maths and compass modules, ordered targets and timestamped GPS fixes with accuracy (VEDIC: detect destination arrival).
- What it does: It calculates its inputs. Defines 7 functions or classes, including samePin, walkTargets, createDirectWalk, setTargets, restart.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Signatures: `export walkTargets(pins, from, loop)`; `export createDirectWalk(maths, compass)`; `samePin(a, b)`; `setTargets(next,now=Date.now())`; `restart(now=Date.now())`; `suspend(now = Date.now())`; `locate(fix, now = Date.now())`
- VEDIC: DETECT DESTINATION ARRIVAL (GG2050-VEDIC-000102): SatNav · Location and navigation data. Maths and compass modules, ordered targets and timestamped GPS fixes with accuracy -> Direct guidance session reporting choose, waiting, guiding or complete, with distance and bearing where available.
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of gridatlas/tools/satnav/walk/orient17a-continuity-direct.mjs) · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 2 estate files (import 2); used by 0; mentioned by 0
### Verify Live
- File: gridatlas/tools/scope/verify-live.mjs (JavaScript, 195 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/scope/verify-live.mjs#L1-L195
- Page: https://code.globalgrid2050.com/explore-code/s/0690.html#f3
- Synopsis: A JavaScript module in the scope folder of GridAtlas covering the Renewable Energy Planning Database (REPD) register and postcodes, and uses data from postcodes.io.
- What it achieves (name): It writes report (`writeReport`) and is built from the state snapshot helper (`stateSnapshot`) and the wait for deployed current helper (`waitForDeployedCurrent`). Its name says it verifies live. Defines `invariant`, `clone`, `stateSnapshot` and 4 more.
- What it does: It draws the REPD register and postcodes. Defines 7 functions or classes, including invariant, clone, stateSnapshot, waitForDeployedCurrent, record. Uses libraries node:fs, node:path, node:url, playwright. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, postcodes.
- Inputs & outputs: In: data source: postcodes.io; JSON file current.json.
- Signatures: `invariant(condition, message)`; `clone(value)`; `stateSnapshot()`; `waitForDeployedCurrent()`; `record(name, action)`; `run()`; `writeReport()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [data source: postcodes.io; JSON file current.json]; out []; crs []; voltages []
- Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0
### Build
- File: gridatlas/tools/secondary/build.mjs (JavaScript, 7 lines) · role storage · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/secondary/build.mjs#L1-L7
- Page: https://code.globalgrid2050.com/explore-code/s/0690.html#f4
- Synopsis: A JavaScript module in the secondary folder of GridAtlas.
- What it does: It loads data. Uses libraries node:fs, node:vm. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: command-line arguments.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [command-line arguments]; out []; crs []; voltages []
- Edges: uses 1 estate file (url-import-meta 1); used by 0; mentioned by 0
### Single-Line Diagram (SLD) Mobile Arrival Card Browser
- File: gridatlas/tools/sld/mobile-arrival-card.browser.py (Python, 95 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/sld/mobile-arrival-card.browser.py#L1-L95
- Page: https://code.globalgrid2050.com/explore-code/s/0449.html#f5
- Synopsis: A Python module in the tools folder of GridAtlas that reads mobile arrival card edits, using SHA-256. It is built from the candidate step (`candidate`).
- What it achieves (comment): Only real-browser proof; intercepts pointer/hash and one cartridge.
- What it does: It loads mobile arrival card edits. Defines main, candidate. Uses libraries asyncio, hashlib, json, os, pathlib. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary.
- Inputs & outputs: In: JSON file mobile-arrival-card-edits.json; JSON file current.json. Out: JSON file receipt.json.
- Signatures: `main()`; `candidate(route)`
- domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file mobile-arrival-card-edits.json; JSON file current.json]; out [JSON file receipt.json]; crs []; voltages []
- Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0
### Place Bridge
- File: gridatlas/tools/train/src/place-bridge.mjs (JavaScript, 33 lines) · role transform · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/train/src/place-bridge.mjs#L1-L33
- Page: https://code.globalgrid2050.com/explore-code/s/0691.html#f10
- Synopsis: A JavaScript module in the train folder of GridAtlas. It is built from the invalidate step (`invalidate`).
- What it achieves (comment): Adapter to the existing gazetteer result shape.
- What it does: It calculates its inputs. Defines createPlaceBridge, invalidate.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Signatures: `export createPlaceBridge({resolve,index,geodesy}={})`; `invalidate()`; `lookup(label,{radiusKm=10,limit}={})`; `bind(token,stationId)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 0; mentioned by 0
### UI
- File: gridatlas/tools/train/ui.js (JavaScript, 100 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/train/ui.js#L1-L100
- Page: https://code.globalgrid2050.com/explore-code/s/0692.html#f6
- Synopsis: A JavaScript file in the train folder of GridAtlas that maps substations, transformers and postcodes. It creates great grid journey (`createGreatGridJourney`), sets mode (`setMode`) and renders stops (`renderStops`).
- What it achieves (comment): Shared native journey UI; all network evidence stays in the route planner. Its code works with 11 kV and 33 kV.
- What it does: It maps substations, transformers and postcodes. Defines 15 functions or classes, including createGreatGridJourney, el, on, say, invalidate. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, transformers, postcodes, 33kV, 11kV.
- Inputs & outputs: Out: interactive map. Voltage levels named: 33kV, 11kV.
- Signatures: `createGreatGridJourney({map, registry, geodesy, parent, readFeatures,onProposedPick=()=>{},onMapView=()=>{},onRideState=()=>{},onStatus=()=>{}})`; `el(tag,text,host,attrs={})`; `on(node,type,fn)`; `say(message)`; `fullIndex()`; `invalidate()`; `setMode(mode)`; `add(row)`; `renderStops()`; `showChoices(result,binding)`; `searchStations()`; `searchPlaces()`; `law()`; `applyLawChange()`; `cancelProposedPick()`; `paintProposed()`; `clearProposedOverlay()`; `renderProposed()`; `proposedClick(event)`; `proposedRemoved()`; `drawPlan()`; `planIsCurrent()`; `loadDemo(kind)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out [interactive map]; crs []; voltages [33kV, 11kV]
- Edges: uses 0 estate files; used by 0; mentioned by 0
### VEDIC OSM Pilot
- File: gridatlas/tools/vedic/osm-pilot.py (Python, 44 lines) · role storage · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vedic/osm-pilot.py#L1-L44
- Page: https://code.globalgrid2050.com/explore-code/s/0695.html#f4
- Synopsis: A Python module in the tools folder of GridAtlas that fetches topology, using SHA-256. It is built from the attrs step (`attrs`).
- What it achieves (comment): Bounded one-shot OSM source acquisition. Do not run from movement or a browser.
- What it does: It fetches topology. Defines attrs. Uses libraries hashlib, json, pathlib, sys, urllib.request. Side effects: reads or writes files; makes network requests; starts processes.
- Why it exists in the grid workflow: Domain stage agent_infra (path word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief).
- Inputs & outputs: In: command-line arguments. Out: JSON file topology.json; JSON file receipt.json.
- Signatures: `attrs(e)`
- domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [command-line arguments]; out [JSON file topology.json; JSON file receipt.json]; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Build
- File: gridatlas/tools/vicinity-controls/build.mjs (JavaScript, 24 lines) · role storage · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vicinity-controls/build.mjs#L1-L24
- Page: https://code.globalgrid2050.com/explore-code/s/0696.html#f7
- Synopsis: A JavaScript module in the vicinity controls folder of GridAtlas that uses SHA-256. It is built from the flag step (`flag`).
- What it achieves (comment): `V9.196/V9.197` independently reproducible vicinity control cartridges.
- What it does: It loads data. Defines flag. Uses libraries node:fs, node:path, node:assert/strict, node:crypto, node:url. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: command-line arguments.
- Signatures: `flag(x)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [command-line arguments]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Build
- File: gridatlas/tools/vicinity-focus/build.mjs (JavaScript, 23 lines) · role storage · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vicinity-focus/build.mjs#L1-L23
- Page: https://code.globalgrid2050.com/explore-code/s/0696.html#f8
- Synopsis: A JavaScript module in the vicinity focus folder of GridAtlas that uses SHA-256. It is built from the flag step (`flag`).
- What it achieves (comment): V9.195 immutable vicinity-focus cartridge source build.
- What it does: It loads data. Defines flag. Uses libraries node:fs, node:path, node:assert/strict, node:crypto, node:url. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: command-line arguments.
- Signatures: `flag(x)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [command-line arguments]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Asset Context
- File: gridatlas/tools/vicinity/src/asset-context.mjs (JavaScript, 54 lines) · role transform · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vicinity/src/asset-context.mjs#L1-L54
- Page: https://code.globalgrid2050.com/explore-code/s/0697.html#f3
- Synopsis: A JavaScript module in the vicinity folder of GridAtlas that works with the Renewable Energy Planning Database (REPD) register.
- What it achieves (comment): It is built from the asset coordinate helper (`assetCoordinate`), the stated MW helper (`statedMw`) and the asset id helper (`assetId`). Read-only context from existing Atlas source owners.
- What it does: It calculates the REPD register. Defines 6 functions or classes, including assetCoordinate, statedMw, assetId, collectAssetContext, get.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register.
- Signatures: `export collectAssetContext({map,registry={},origin,radiusKm,geodesy,limit=200}={})`; `assetCoordinate(at)`; `statedMw(value)`; `assetId(value)`; `assetPrecision(p)`; `get(id)`; `add(category,row)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Bootstrap
- File: gridatlas/tools/vicinity/src/bootstrap.js (JavaScript, 347 lines) · role interaction · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vicinity/src/bootstrap.js#L1-L347
- Page: https://code.globalgrid2050.com/explore-code/s/0697.html#f4
- Synopsis: A JavaScript file in the vicinity folder of GridAtlas that maps substations and the Renewable Energy Planning Database (REPD) register.
- What it achieves (readme): It creates controller (`createController`), renders asset context (`renderAssetContext`) and renders document context (`renderDocumentContext`). The README says: `build.mjs` deterministically assembles `src/model.mjs`, `src/bootstrap.js` and `src/vicinity.css` into one bounded module. Its code works with 33 kV. It responds to click events.
- What it does: It maps substations and the REPD register. Defines 31 functions or classes, including createController, el, listen, sourceAnchor, rowOrigin. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, the REPD register, 33kV. README: "`build.mjs` deterministically assembles `src/model.mjs`, `src/bootstrap.js` and `src/vicinity.css` into one bounded module."
- Inputs & outputs: Voltage levels named: 33kV.
- Signatures: `createController(map)`; `el(tag, text, parent, attrs = {})`; `listen(target, type, fn)`; `sourceAnchor(parent, title, href)`; `rowOrigin(row)`; `text(node, value)`; `renderAssetContext()`; `renderDocumentContext()`; `readRecords()`; `draw()`; `removeMap(mapRemoved = false)`; `foreignDependency(map.getStyle()?.layers || [])`; `showError(message)`; `clearNews()`; `clearSelectedContext()`; `addStation(row)`; `refresh()`; `setOrigin(next)`; `mapCentre()`; `fitRadius()`; `installControls()`; `open(options = {}, invoker = null)`; `shut()`; `clicked(event)`; `sourced(event)` (and 7 more)
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages [33kV]
- Edges: uses 0 estate files; used by 0; mentioned by 0
### UK Gazetteer Flyto
- File: gridatlas/ui/cartridges/202608301136-uk-gazetteer-flyto.mjs (JavaScript, 10 lines) · role other · stage unknown · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/ui/cartridges/202608301136-uk-gazetteer-flyto.mjs#L1-L10
- Page: https://code.globalgrid2050.com/explore-code/s/0698.html#f2
- Synopsis: A JavaScript module in the cartridges folder of GridAtlas.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Global Gazetteer Flyto V9 5
- File: gridatlas/ui/cartridges/202609011141-global-gazetteer-flyto-v9-5.mjs (JavaScript, 16 lines) · role other · stage unknown · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/ui/cartridges/202609011141-global-gazetteer-flyto-v9-5.mjs#L1-L16
- Page: https://code.globalgrid2050.com/explore-code/s/0698.html#f3
- Synopsis: A JavaScript module in the cartridges folder of GridAtlas.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Global Gazetteer Flyto V9 106
- File: gridatlas/ui/cartridges/202609040337-global-gazetteer-flyto-v9-106.mjs (JavaScript, 17 lines) · role other · stage unknown · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/ui/cartridges/202609040337-global-gazetteer-flyto-v9-106.mjs#L1-L17
- Page: https://code.globalgrid2050.com/explore-code/s/0698.html#f4
- Synopsis: A JavaScript module in the cartridges folder of GridAtlas.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Streaming Parquet Bridge V9 5
- File: gridatlas/ui/cartridges/202609241251-streaming-parquet-bridge-v9-5.mjs (JavaScript, 12 lines) · role other · stage unknown · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/ui/cartridges/202609241251-streaming-parquet-bridge-v9-5.mjs#L1-L12
- Page: https://code.globalgrid2050.com/explore-code/s/0698.html#f5
- Synopsis: A JavaScript module in the cartridges folder of GridAtlas.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV.
- Inputs & outputs: Voltage levels named: 400kV.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages [400kV]
- Edges: uses 0 estate files; used by 0; mentioned by 0
### UI Atlas V9
- File: gridatlas/ui/site/atlas-v9.mjs (JavaScript, 183 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/ui/site/atlas-v9.mjs#L1-L183
- Page: https://code.globalgrid2050.com/explore-code/s/0698.html#f6
- Published at: https://gridatlas.globalgrid2050.com/ui/site/
- Synopsis: A JavaScript module in GridAtlas that maps Renewable Energy Planning Database (REPD) clusters and REPD cluster count, and uses data from OpenStreetMap tiles. Served with the page at https://gridatlas.globalgrid2050.com/ui/site/.
- What it achieves (name): It sets selected URL (`setSelectedUrl`), marks map unavailable (`markMapUnavailable`) and adds project layers (`addProjectLayers`). Defines `popupNode`, `setSelectedUrl`, `select` and 4 more.
- What it does: It maps REPD clusters, REPD cluster count, REPD points and REPD selected. Defines 7 functions or classes, including popupNode, setSelectedUrl, select, markMapUnavailable, addProjectLayers. Side effects: changes the web page (DOM); makes network requests.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: data source: OpenStreetMap tiles. Out: interactive map.
- Signatures: `popupNode(record)`; `setSelectedUrl(record)`; `select(record)`; `flyTo(options)`; `markMapUnavailable(error)`; `addProjectLayers(records)`; `initialiseMap(records)`; `boot()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [data source: OpenStreetMap tiles]; out [interactive map]; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 0; mentioned by 0
### GridAtlas Webkit Arrival Probe
- File: gridatlas/webkit-arrival-probe.mjs (JavaScript, 48 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/webkit-arrival-probe.mjs#L1-L48
- Page: https://code.globalgrid2050.com/explore-code/s/0698.html#f8
- Published at: https://gridatlas.globalgrid2050.com/
- Synopsis: A JavaScript module covering solar. Served with the page at https://gridatlas.globalgrid2050.com/.
- What it achieves (name): Defines `run`.
- What it does: Defines run. Uses libraries playwright. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar.
- Signatures: `run(engine, name)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0
### GridAtlas Webkit Register Probe
- File: gridatlas/webkit-register-probe.mjs (JavaScript, 35 lines) · role energy-data · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/webkit-register-probe.mjs#L1-L35
- Page: https://code.globalgrid2050.com/explore-code/s/0698.html#f9
- Published at: https://gridatlas.globalgrid2050.com/
- Synopsis: A JavaScript module covering solar. Served with the page at https://gridatlas.globalgrid2050.com/.
- What it does: Uses libraries playwright. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar.
- Signatures: `dl(P&&P.deep_link)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0
### Atlas — Testcode Page
- File: gridatlas/atlas/testcode/202609111007/index.html (HTML, 70 lines) · role render · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/testcode/202609111007/index.html#L1-L70
- Page: https://code.globalgrid2050.com/explore-code/s/0610.html#f5
- Published at: https://gridatlas.globalgrid2050.com/atlas/testcode/202609111007/
- Synopsis: A web page in GridAtlas covering substations, using SHA-256. Published at https://gridatlas.globalgrid2050.com/atlas/testcode/202609111007/. It is built from the assert step (`assert`), the escape step (`escape`) and the hash step (`hash`).
- What it achieves (comment): GridAtlas Satellite survey test.
- What it does: It draws substations. Defines assert, escape, hash, script. Uses libraries '+escape(blob)+', '+escape(addon)+'. Side effects: changes the web page (DOM); makes network requests.
- Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: substations. README: "`atlas/index.html` is the stable composer."
- Inputs & outputs: Out: web page.
- Downstream impact: It is itself an entry point, published at https://gridatlas.globalgrid2050.com/atlas/testcode/202609111007/.
- Signatures: `assert(ok, message)`; `escape(value)`; `hash(bytes)`; `script(url, expected)`
- domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out [web page]; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Unified Catalogue Independent Test
- File: gridatlas/tools/proofs/unified-catalogue-independent.test.mjs (JavaScript, 72 lines) · role test · stage transform · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/unified-catalogue-independent.test.mjs#L1-L72
- Page: https://code.globalgrid2050.com/explore-code/s/0664.html#f2
- Synopsis: A test in the proofs folder of GridAtlas that checks Unified Layer Catalogue. It is built from the check step (`check`), the ids step (`ids`) and the expect step (`expect`).
- What it achieves (comment): G201-06: independent acceptance oracle; run with Node, no browser or network. Its code works with 11 kV, 0.11 kV and 33 kV.
- What it does: It tests 211kV, 133kV and transformers. Defines check, ids, expect. Uses libraries node:assert/strict.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 211kV, 133kV, transformers, 400kV, 33kV, 11kV.
- Inputs & outputs: Voltage levels named: 400kV, 211kV, 133kV, 33kV, 11kV, 4kV, 0.4kV, 400V.
- Downstream impact: Used directly by 2 files: Unified Owner Test Proof (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `check(name, fn)`; `ids(q, options)`; `expect(q, expected)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages [400kV, 211kV, 133kV, 33kV, 11kV, 4kV, 0.4kV, 400V]
- Edges: uses 1 estate file (dynamic-import 1); used by 2; mentioned by 0
### Unified Destination Contract Test
- File: gridatlas/tools/proofs/unified-destination-contract.test.mjs (JavaScript, 55 lines) · role test · stage transform · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/unified-destination-contract.test.mjs#L1-L55
- Page: https://code.globalgrid2050.com/explore-code/s/0664.html#f3
- Synopsis: A test in the proofs folder of GridAtlas that checks Unified Destination Contract. It runs tests (`runTests`).
- What it achieves (name): Defines `runTests` and `commit`.
- What it does: It tests the REPD register. Defines runTests, commit. Uses libraries node:assert/strict.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register.
- Downstream impact: Used directly by 2 files: Unified Owner Test Proof (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `runTests(check, throws)`; `commit()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 2; mentioned by 0
### Unified Layer Catalogue Test
- File: gridatlas/tools/proofs/unified-layer-catalogue.test.mjs (JavaScript, 100 lines) · role test · stage transform · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/unified-layer-catalogue.test.mjs#L1-L100
- Page: https://code.globalgrid2050.com/explore-code/s/0664.html#f4
- Synopsis: A test in the proofs folder of GridAtlas that checks Unified Layer Catalogue. It runs catalogue checks (`runCatalogueChecks`) and is built from the sorted ids helper (`sortedIds`).
- What it achieves (name): Defines `runCatalogueChecks`, `throws` and `sortedIds`. Its code works with 11 kV, 33 kV and 400 kV.
- What it does: It tests 11kV, 400kV, solar and 33kV. Defines runCatalogueChecks, eq, throws, id, sortedIds.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 11kV, 400kV, solar, 33kV, 211kV, 133kV.
- Inputs & outputs: Voltage levels named: 400kV, 211kV, 133kV, 33kV, 11kV, 4kV, 0.4kV, 400V.
- Downstream impact: Used directly by 2 files: Unified Owner Test Proof (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `runCatalogueChecks(createLayerCatalogue,normalizeLayerText)`; `eq(actual,expected,message)`; `throws(fn,message)`; `id(r)`; `sortedIds(q)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages [400kV, 211kV, 133kV, 33kV, 11kV, 4kV, 0.4kV, 400V]
- Edges: uses 1 estate file (import 1); used by 2; mentioned by 0
### Convergence 2km Test
- File: gridatlas/tools/satnav/guidance/convergence-2km.test.mjs (JavaScript, 153 lines) · role test · stage ingest · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/guidance/convergence-2km.test.mjs#L1-L153
- Page: https://code.globalgrid2050.com/explore-code/s/0674.html#f2
- Synopsis: A test in the guidance folder of GridAtlas that checks Convergence 2km and Ordered Convergence 2km.
- What it achieves (name): Defines `fix`.
- What it does: It tests 11kV. Defines to, fix. Uses libraries node:test, node:assert/strict, node:vm. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path 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: 11kV.
- Inputs & outputs: Voltage levels named: 11kV.
- Downstream impact: Used directly by 2 files: CI PR Gate (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas). Reached from 1 other entry point, including Map Promotion Rehearsal (gridatlas).
- Signatures: `to(metres)`; `fix(at,timestampMs)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages [11kV]
- Edges: uses 4 estate files (import 4); used by 2; mentioned by 0
### Regional Interface Test
- File: gridatlas/tools/secondary/regional-interface.test.mjs (JavaScript, 136 lines) · role test · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/secondary/regional-interface.test.mjs#L1-L136
- Page: https://code.globalgrid2050.com/explore-code/s/0691.html#f1
- Synopsis: A test in the secondary folder of GridAtlas that checks Regional Interface and UK Power Networks (UKPN) Secondary Substations. It makes element (`makeElement`), makes popup (`makePopup`) and gets card (`getCard`).
- What it achieves (name): Defines `harness`, `makeElement`, `site` and 5 more. Its code works with 11 kV and 400 kV.
- What it does: It tests 11kV, transformers, solar and substations. Defines 8 functions or classes, including harness, makeElement, site, makePopup, click. Uses libraries node:test, node:assert/strict, node:fs, node:vm. Side effects: changes the web page (DOM); reads or writes files; makes network requests.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 11kV, transformers, solar, substations, 400kV.
- Inputs & outputs: Voltage levels named: 400kV, 11kV.
- Downstream impact: Used directly by 2 files: CI PR Gate (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas). Reached from 1 other entry point, including Map Promotion Rehearsal (gridatlas).
- Signatures: `harness()`; `makeElement()`; `appendChild(child)`; `replaceChildren()`; `setAttribute()`; `site(id)`; `makePopup(id)`; `click()`; `changeZoom(value)`; `getCard()`; `flatten(node)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages [400kV, 11kV]
- Edges: uses 2 estate files (import 1, url-import-meta 1); used by 2; mentioned by 0
### Single-Line Diagram (SLD) Build Test
- File: gridatlas/tools/sld/build.test.mjs (JavaScript, 36 lines) · role test · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/sld/build.test.mjs#L1-L36
- Page: https://code.globalgrid2050.com/explore-code/s/0449.html#f3
- Synopsis: A test in the tools folder of GridAtlas that checks Single-Line Diagram (SLD) Build.
- What it does: It tests its inputs. Uses libraries node:test, node:assert/strict, node:fs, node:os, node:path. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary.
- Inputs & outputs: In: JSON file generations.json.
- Downstream impact: Used directly by 2 files: CI PR Gate (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas). Reached from 1 other entry point, including Map Promotion Rehearsal (gridatlas).
- domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file generations.json]; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 2; mentioned by 0
### G203 03 Gps Camera Test
- File: gridatlas/tests/g203-03-gps-camera.test.mjs (JavaScript, 50 lines) · role test · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tests/g203-03-gps-camera.test.mjs#L1-L50
- Page: https://code.globalgrid2050.com/explore-code/s/0621.html#f2
- Synopsis: A test in the tests folder of GridAtlas that checks G203 03 Gps Camera Candidate. It runs gps regression (`runGpsRegression`) and sets fix (`setFix`).
- What it achieves (comment): G203-03: deterministic GPS callback/camera tests against the actual candidate source.
- What it does: It tests its inputs. Defines runGpsRegression, cut, fieldState, setFix, make. Uses libraries node:fs. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path word 'gps'): 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: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `runGpsRegression(source)`; `cut(a,b)`; `fieldState(f)`; `setFix(f)`; `make()`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0
### Browser DC Smoke
- File: gridatlas/tools/ci/offtakers/browser-dc-smoke.mjs (JavaScript, 132 lines) · role test · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/ci/offtakers/browser-dc-smoke.mjs#L1-L132
- Page: https://code.globalgrid2050.com/explore-code/s/0629.html#f2
- Synopsis: A JavaScript module in the offtakers folder of GridAtlas. It is built from the run step (`run`).
- What it achieves (comment): Issue #73 real-Chromium screening smoke test for a draft preview.
- What it does: It tests its inputs. Defines run. Uses libraries node:assert/strict, node:fs, node:path, node:http, node:url. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'dc'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `run(width,height)`
- domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Browser Test
- File: gridatlas/tools/journey/browser.test.mjs (JavaScript, 152 lines) · role test · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/journey/browser.test.mjs#L1-L152
- Page: https://code.globalgrid2050.com/explore-code/s/0631.html#f3
- Synopsis: A test in the journey folder of GridAtlas that checks Build and Serve, using SHA-256.
- What it achieves (comment): Real native GridAtlas composer acceptance; local HTTP serves Git-published LF text bytes.
- What it does: It tests its inputs. Uses libraries node:fs, node:path, node:os, node:assert/strict, node:crypto. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "browser.test.mjs uses the actual Atlas composer and native MapLibre, with the local fixture composition generated by build.mjs (not committed or published by this source change)."
- Inputs & outputs: In: JSON file receipt.json. Out: JSON file receipt.json; JSON file failure.json; interactive map; WebGL/WebGPU drawing.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file receipt.json]; out [JSON file receipt.json; JSON file failure.json; interactive map; WebGL/WebGPU drawing]; crs []; voltages []
- Edges: uses 2 estate files (import 2); used by 1; mentioned by 0
### Contract Test
- File: gridatlas/tools/journey/contract.test.mjs (JavaScript, 30 lines) · role test · stage ingest · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/journey/contract.test.mjs#L1-L30
- Page: https://code.globalgrid2050.com/explore-code/s/0631.html#f6
- Synopsis: A test in the journey folder of GridAtlas that uses SHA-256.
- What it achieves (name): Defines `read`, `clone` and `make`. It reads `./fixtures/synthetic-branch.v1.json`.
- What it does: It tests its inputs. Defines read, clone, make. Uses libraries node:assert/strict, node:fs, node:crypto. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file synthetic-branch.v1.json; JSON file reviewed-pair.v1.json.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `read(p)`; `clone(x)`; `make(f, chosenNode)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file synthetic-branch.v1.json; JSON file reviewed-pair.v1.json]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### Controller Test
- File: gridatlas/tools/journey/controller.test.mjs (JavaScript, 75 lines) · role test · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/journey/controller.test.mjs#L1-L75
- Page: https://code.globalgrid2050.com/explore-code/s/0631.html#f7
- Synopsis: A test in the journey folder of GridAtlas that checks Controller and Bootstrap. It is built from the clone step (`clone`), the target class (`Target`) and the harness step (`harness`).
- What it achieves (comment): Lifecycle negatives use a small DOM/map stub. It reads `./fixtures/synthetic-branch.v1.json`.
- What it does: It tests the REPD register. Defines 8 functions or classes, including clone, Target, harness, E, all. Uses libraries node:test, node:assert/strict, node:fs, node:vm. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register.
- Inputs & outputs: In: JSON file synthetic-branch.v1.json.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `clone(x)`; `class Target`; `addEventListener(t,f)`; `removeEventListener(t,f)`; `emit(t,e={})`; `listeners()`; `harness({planner=planJourney,input=fixture,reduced=false,ready=true,layerHosts=false,layerReady=true}={})`; `class E`; `constructor(tag)`; `setAttribute(k,v)`; `appendChild(e)`; `replaceChildren()`; `remove()`; `focus()`; `all(e=container)`; `button(s)`; `choose()`; `settled(h)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file synthetic-branch.v1.json]; out []; crs []; voltages []
- Edges: uses 2 estate files (import 1, url-import-meta 1); used by 1; mentioned by 0
### Map Removal Test
- File: gridatlas/tools/pipeline-lifecycle/map-removal.test.mjs (JavaScript, 104 lines) · role test · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/pipeline-lifecycle/map-removal.test.mjs#L1-L104
- Page: https://code.globalgrid2050.com/explore-code/s/0645.html#f4
- Synopsis: A test in the pipeline lifecycle folder of GridAtlas that checks Build and Substation Intelligence V9 63. It is built from the extract step (`extract`) and the fixture step (`fixture`).
- What it achieves (comment): Exercises real inherited/patched functions; VM evaluates only pinned local test inputs. It reads `./src/map-removal-edits.json`.
- What it does: It tests its inputs. Defines extract, fixture. Uses libraries node:test, node:assert/strict, node:fs, node:vm. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file map-removal-edits.json.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `extract(source, name)`; `fixture(source = patched, { waiting = false } = {})`; `addSource()`; `getLayer(id)`; `setLayoutProperty()`; `buildGroup()`; `readRegisterSource()`; `ensureLayers()`; `setSourceData()`; `setInterval(fn)`; `setTimeout(resolve)`; `remove()`; `clearSelection()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file map-removal-edits.json]; out []; crs []; voltages []
- Edges: uses 2 estate files (import 1, url-import-meta 1); used by 1; mentioned by 0
### Owner Test Proof
- File: gridatlas/tools/proofs/202612020205-owner-test.proof.mjs (JavaScript, 27 lines) · role test · stage ingest · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612020205-owner-test.proof.mjs#L1-L27
- Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f11
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that tests composition, using SHA-256.
- What it achieves (name): Defines `read` and `verify`. It reads `atlas/current.json`.
- What it does: It tests composition. Defines read, verify. Uses libraries node:assert/strict, node:fs, node:crypto, node:path, node:vm. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json; JSON file -composition.json.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `read(p)`; `verify(file,e)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json; JSON file -composition.json]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### State Test
- File: gridatlas/tools/satnav/field-reliability/state.test.mjs (JavaScript, 33 lines) · role test · stage transform · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/field-reliability/state.test.mjs#L1-L33
- Page: https://code.globalgrid2050.com/explore-code/s/0673.html#f3
- Synopsis: A test in the field reliability folder of GridAtlas that checks State. It runs tests (`runTests`).
- What it achieves (name): Defines `runTests`.
- What it does: It tests its inputs. Defines runTests. Uses libraries node:url, node:path.
- Why it exists in the grid workflow: Domain stage field_execution (path word 'field'): 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: command-line arguments.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `runTests(assess,quality)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [command-line arguments]; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 1; mentioned by 0
### SatNav G203 04 Saved Plan Test
- File: gridatlas/tools/satnav/g203-04-saved-plan.test.mjs (JavaScript, 55 lines) · role test · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/g203-04-saved-plan.test.mjs#L1-L55
- Page: https://code.globalgrid2050.com/explore-code/s/0673.html#f4
- Synopsis: A test in the tools folder of GridAtlas that checks G203 04 SatNav Walk Saved Plan. It is built from the fixture step (`fixture`).
- What it achieves (comment): G203-04: actual cartridge source executed in a small mocked browser; real browser acceptance separate.
- What it does: It tests its inputs. Defines fixture. Uses libraries node:test, node:assert/strict, node:fs, node:vm. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `fixture(path, secure = true)`; `createElement(tag)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0
### Ordered Test
- File: gridatlas/tools/satnav/guidance/ordered.test.mjs (JavaScript, 185 lines) · role test · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/guidance/ordered.test.mjs#L1-L185
- Page: https://code.globalgrid2050.com/explore-code/s/0675.html#f2
- Synopsis: A test in the guidance folder of GridAtlas that checks Ordered. It is built from the close step (`close`).
- What it achieves (name): Defines `fix`, `pin`, `route` and 1 more.
- What it does: It tests its inputs. Defines fix, pin, route, close. Uses libraries node:test, node:assert/strict, node:path, node:url.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `fix(at, timestampMs = now, accuracyM = 3)`; `pin(id, coordinate)`; `route(points = pins)`; `close(actual, expected, tolerance = 0.01)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 1; mentioned by 0
### GeoJSON Interchange Test
- File: gridatlas/tools/satnav/interchange/geojson-interchange.test.mjs (JavaScript, 17 lines) · role test · stage transform · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/interchange/geojson-interchange.test.mjs#L1-L17
- Page: https://code.globalgrid2050.com/explore-code/s/0676.html#f3
- Synopsis: A test in the SatNav folder of GridAtlas that checks GeoJSON Interchange.
- What it achieves (name): Defines `raw`.
- What it does: It tests its inputs. Defines raw. Uses libraries node:test, node:assert/strict.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `raw(type,coordinates,properties={})`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 1; mentioned by 0
### GeoJSON Test
- File: gridatlas/tools/satnav/interchange/geojson.test.mjs (JavaScript, 38 lines) · role test · stage transform · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/interchange/geojson.test.mjs#L1-L38
- Page: https://code.globalgrid2050.com/explore-code/s/0676.html#f5
- Synopsis: A test in the interchange folder of GridAtlas that checks GeoJSON. It runs tests (`runTests`).
- What it achieves (name): Defines `runTests` and `reject`.
- What it does: It tests its inputs. Defines runTests, eq, reject, f.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `runTests(normaliseGeoJSON,fromGisSnapshot,exportGeoJSON)`; `eq(a,b)`; `reject(fn,msg)`; `f(type,coordinates,properties={})`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 1; mentioned by 0
### Layout Import Test
- File: gridatlas/tools/satnav/interchange/layout-import.test.mjs (JavaScript, 170 lines) · role test · stage ingest · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/interchange/layout-import.test.mjs#L1-L170
- Page: https://code.globalgrid2050.com/explore-code/s/0677.html#f1
- Synopsis: A test in the interchange folder of GridAtlas that checks Layout Import and GeoJSON Interchange, using EPSG:27700.
- What it achieves (name): Defines `feature`, `collection` and `fix`. Its code works with 33 kV. It reads `./fixtures/native-gis-sld.geojson`.
- What it does: It tests cables and 33kV. Defines feature, collection, fix. Uses libraries node:test, node:assert/strict, node:fs. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path 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: cables, 33kV.
- Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). Voltage levels named: 33kV.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `feature(type, coordinates, properties = {})`; `collection(...features)`; `fix(coords, timestampMs)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [33kV]
- Edges: uses 2 estate files (import 2); used by 1; mentioned by 0
### Mapped Footpaths Test
- File: gridatlas/tools/satnav/pedestrian/mapped-footpaths.test.mjs (JavaScript, 107 lines) · role test · stage ingest · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/pedestrian/mapped-footpaths.test.mjs#L1-L107
- Page: https://code.globalgrid2050.com/explore-code/s/0682.html#f2
- Synopsis: A test in the pedestrian folder of GridAtlas that checks Mapped Footpaths using data from the grid-distance-maths repository.
- What it achieves (name): It is built from the synthetic step (`synthetic`) and the interp step (`interp`). Defines `source`, `endpoints`, `section` and 2 more. It reads `bristol-footpaths.geojson`.
- What it does: It tests its inputs. Defines source, endpoints, section, synthetic, interp. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:test. Side effects: reads or writes files; makes network requests.
- Why it exists in the grid workflow: Domain stage field_execution (path 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: grid-distance-maths data.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `source(code)`; `endpoints(first, last)`; `section(code, coords, status = 'FP')`; `synthetic(features)`; `interp(t)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [data source: grid-distance-maths data]; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 1; mentioned by 0
### Perimeter Test
- File: gridatlas/tools/satnav/perimeter/perimeter.test.mjs (JavaScript, 30 lines) · role test · stage transform · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/perimeter/perimeter.test.mjs#L1-L30
- Page: https://code.globalgrid2050.com/explore-code/s/0682.html#f4
- Synopsis: A test in the SatNav folder of GridAtlas that checks Perimeter. It runs tests (`runTests`).
- What it achieves (name): Defines `runTests`, `check` and `rejects`.
- What it does: It tests its inputs. Defines runTests, check, rejects.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `runTests(build)`; `check(v,m)`; `rejects(v,code)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 1; mentioned by 0
### Interchange Test
- File: gridatlas/tools/satnav/survey/interchange.test.mjs (JavaScript, 103 lines) · role test · stage transform · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/survey/interchange.test.mjs#L1-L103
- Page: https://code.globalgrid2050.com/explore-code/s/0683.html#f3
- Synopsis: A test in the survey folder of GridAtlas that checks Interchange, using EPSG:27700. It is built from the legacy fix helper (`legacyFix`).
- What it achieves (name): Defines `feature`, `collection` and `legacyFix`.
- What it does: It tests its inputs. Defines feature, collection, legacyFix. Uses libraries node:assert/strict, node:test.
- Why it exists in the grid workflow: Domain stage field_execution (path 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: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `feature(type, coordinates, properties = {})`; `collection(...features)`; `legacyFix(point, order, timestamp)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages []
- Edges: uses 1 estate file (import 1); used by 1; mentioned by 0
### Model Test
- File: gridatlas/tools/satnav/survey/model.test.mjs (JavaScript, 87 lines) · role test · stage transform · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/survey/model.test.mjs#L1-L87
- Page: https://code.globalgrid2050.com/explore-code/s/0683.html#f5
- Synopsis: A test in the survey folder of GridAtlas that checks Model.
- What it achieves (name): Defines `create`, `fix` and `get`.
- What it does: It tests its inputs. Defines create, fix, get. Uses libraries node:assert/strict, node:test.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `create()`; `fix(longitude, timestampMs, accuracyM = 4)`; `get(data, role)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 1; mentioned by 0
### Recorder Test
- File: gridatlas/tools/satnav/track/recorder.test.mjs (JavaScript, 21 lines) · role test · stage transform · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/track/recorder.test.mjs#L1-L21
- Page: https://code.globalgrid2050.com/explore-code/s/0683.html#f7
- Synopsis: A test in the track folder of GridAtlas that checks Recorder. It runs tests (`runTests`) and is built from the fix quality helper (`fixQuality`) and the fix step (`fix`).
- 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 tests its inputs. Defines runTests, fixQuality, fix. Uses libraries node:assert/strict.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `runTests(createTrackRecorder,assert)`; `fixQuality(f,n)`; `fix(t,accuracyM=5,longitude=-0.3)`
- 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: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 1; mentioned by 0
### Direct Test
- File: gridatlas/tools/satnav/walk/direct.test.mjs (JavaScript, 52 lines) · role test · stage transform · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/direct.test.mjs#L1-L52
- Page: https://code.globalgrid2050.com/explore-code/s/0685.html#f4
- Synopsis: A test in the walk folder of GridAtlas that checks Direct.
- What it achieves (name): Defines `north` and `fix`.
- What it does: It tests its inputs. Defines north, fix. Uses libraries node:test, node:assert/strict.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `north(metres)`; `fix(coordinate, timestampMs, accuracyM = 4)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 1; mentioned by 0
### State Test
- File: gridatlas/tools/satnav/waypoints/state.test.mjs (JavaScript, 21 lines) · role test · stage transform · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/waypoints/state.test.mjs#L1-L21
- Page: https://code.globalgrid2050.com/explore-code/s/0688.html#f2
- Synopsis: A test in the waypoints folder of GridAtlas. It runs tests (`runTests`).
- What it achieves (name): Defines `runTests`, `reject` and `test`.
- What it does: It tests its inputs. Defines runTests, eq, reject, test.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `runTests(createWaypointState)`; `eq(a,b)`; `reject(fn)`; `test(name,fn)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 1; mentioned by 0
### G203 Swarm 06 Viewport Lifecycle Test
- File: gridatlas/tools/secondary/g203-swarm-06-viewport-lifecycle.test.mjs (JavaScript, 20 lines) · role test · stage ingest · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/secondary/g203-swarm-06-viewport-lifecycle.test.mjs#L1-L20
- Page: https://code.globalgrid2050.com/explore-code/s/0690.html#f5
- Synopsis: A test in the secondary folder of GridAtlas that checks G203 Regional Native Viewport. It is built from the flush step (`flush`) and the check step (`check`).
- What it achieves (comment): Execute the actual candidate lifecycle with controlled asynchronous query outcomes.
- What it does: It tests its inputs. Defines flush, check. Uses libraries node:fs, node:assert/strict. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `flush()`; `check(name,condition)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0
### Viewport Query Test
- File: gridatlas/tools/secondary/viewport-query.test.mjs (JavaScript, 8 lines) · role test · stage ingest · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/secondary/viewport-query.test.mjs#L1-L8
- Page: https://code.globalgrid2050.com/explore-code/s/0691.html#f4
- Synopsis: A test in the secondary folder of GridAtlas that checks Viewport Query.
- What it does: It tests its inputs. Uses libraries node:assert/strict. Side effects: uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: Parquet file grid_ukpn_secondary.parquet.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [Parquet file grid_ukpn_secondary.parquet]; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 1; mentioned by 0
### Single-Line Diagram (SLD) Map Removal Cleanup Test
- File: gridatlas/tools/sld/map-removal-cleanup.test.mjs (JavaScript, 20 lines) · role test · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/sld/map-removal-cleanup.test.mjs#L1-L20
- Page: https://code.globalgrid2050.com/explore-code/s/0449.html#f4
- Synopsis: A test in the tools folder of GridAtlas that checks Single-Line Diagram (SLD) Build. It is built from the extract step (`extract`) and the fixture step (`fixture`).
- What it achieves (comment): Regression over the real rebuilt SLD functions, including its inherited failure. It reads `./src/map-removal-cleanup-edits.json`.
- What it does: It tests its inputs. Defines extract, fixture. Uses libraries node:test, node:assert/strict, node:fs, node:vm. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary.
- Inputs & outputs: In: JSON file map-removal-cleanup-edits.json.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `extract(source,name,indent=2)`; `fixture({removed=false,other=false}={})`
- domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file map-removal-cleanup-edits.json]; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 1; mentioned by 0
### Single-Line Diagram (SLD) Mobile Arrival Card Test
- File: gridatlas/tools/sld/mobile-arrival-card.test.mjs (JavaScript, 55 lines) · role test · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/sld/mobile-arrival-card.test.mjs#L1-L55
- Page: https://code.globalgrid2050.com/explore-code/s/0449.html#f6
- Synopsis: A test in the tools folder of GridAtlas that checks Single-Line Diagram (SLD) Build.
- What it achieves (name): Defines `fixture`. It reads `./src/mobile-arrival-card-edits.json`.
- What it does: It tests substations. Defines fixture. Uses libraries node:test, node:assert/strict, node:fs, node:vm. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: substations.
- Inputs & outputs: In: JSON file mobile-arrival-card-edits.json.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `fixture(minimised = true)`
- domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file mobile-arrival-card-edits.json]; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 1; mentioned by 0
### Painted Observation Test
- File: gridatlas/tools/train/painted-observation.test.mjs (JavaScript, 8 lines) · role test · stage transform · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/train/painted-observation.test.mjs#L1-L8
- Page: https://code.globalgrid2050.com/explore-code/s/0691.html#f7
- Synopsis: A test in the train folder of GridAtlas that checks Browser Test.
- What it achieves (name): Defines `sample` and `fake`.
- What it does: It tests its inputs. Defines sample, fake.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `sample(x,fraction=.1,playing=true)`; `fake(samples)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 1; mentioned by 0
### Route Plan Test
- File: gridatlas/tools/train/route-plan.test.mjs (JavaScript, 159 lines) · role test · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/train/route-plan.test.mjs#L1-L159
- Page: https://code.globalgrid2050.com/explore-code/s/0691.html#f8
- Synopsis: A test in the train folder of GridAtlas that checks Route Plan and Learning Networks. It is built from the bus network helper (`busNetwork`).
- What it achieves (name): Defines `stop`, `network` and `busNetwork`.
- What it does: It tests transformers and the REPD register. Defines stop, network, busNetwork. Uses libraries node:test, node:assert/strict, node:fs, node:vm. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path word 'route'): 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: transformers, the REPD register.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `stop(id,kv=400)`; `network(removeTransformer=false)`; `busNetwork(nodes,edges)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 5 estate files (import 4, url-import-meta 1); used by 1; mentioned by 0
### Train Motion Test
- File: gridatlas/tools/train/train-motion.test.mjs (JavaScript, 122 lines) · role test · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/train/train-motion.test.mjs#L1-L122
- Page: https://code.globalgrid2050.com/explore-code/s/0692.html#f5
- Synopsis: A test in the tools folder of GridAtlas that checks Route Plan and Train Motion. It makes plan (`makePlan`) and is built from the run step (`run`).
- What it achieves (name): Defines `makePlan`, `fixture`, `access` and 1 more.
- What it does: It tests its inputs. Defines makePlan, fixture, access, run. Uses libraries node:test, node:assert/strict.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `makePlan()`; `fixture(reducedMotion=false,extras={},busyAfterSetData=false)`; `access()`; `getSource(id)`; `addSource(id,s)`; `removeSource(id)`; `setPaintProperty(id,k,v)`; `run(time)`; `remove()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 2 estate files (import 2); used by 1; mentioned by 0
### Asset Context Test
- File: gridatlas/tools/vicinity/asset-context.test.mjs (JavaScript, 14 lines) · role test · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vicinity/asset-context.test.mjs#L1-L14
- Page: https://code.globalgrid2050.com/explore-code/s/0696.html#f9
- Synopsis: A test in the vicinity folder of GridAtlas that checks Geodesy.
- What it achieves (name): Defines `feature`, `map` and `collect`.
- What it does: It tests battery storage (BESS), solar and the REPD register. Defines feature, map, collect. Uses libraries node:test. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: battery storage (BESS), solar, the REPD register.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `feature(id,tech,capacity,at=[-0.401,51.5],extra={})`; `map(features)`; `collect(extra={})`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0
### Browser Test
- File: gridatlas/tools/vicinity/browser.test.mjs (JavaScript, 165 lines) · role test · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vicinity/browser.test.mjs#L1-L165
- Page: https://code.globalgrid2050.com/explore-code/s/0696.html#f10
- Synopsis: A test in the vicinity folder of GridAtlas that checks Build and Model, using SHA-256.
- What it achieves (comment): It is built from the intent step (`intent`), the snapshot step (`snapshot`) and the visible tap helper (`visibleTap`). Independent native Android QA. Injection mode never counts as publication acceptance. Its code works with 11 kV, 132 kV and 275 kV.
- What it does: It tests the REPD register. Defines 7 functions or classes, including intent, snapshot, visibleTap, open, ownData. Uses libraries node:fs, node:path, node:os, node:assert/strict, node:crypto. Side effects: changes the web page (DOM); reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, 400kV, 275kV, 132kV, 66kV, 33kV.
- Inputs & outputs: In: JSON file receipt.json. Out: JSON file receipt.json; JSON file failure.json. Voltage levels named: 400kV, 275kV, 132kV, 66kV, 33kV, 11kV.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `intent(origin,radius=10)`; `snapshot()`; `visibleTap(locator)`; `open(origin,radius=10)`; `ownData()`; `assertOwnPoints(radius)`; `sourceFingerprint()`; `assetsBefore(await snapshot())`; `assetContext(await snapshot())`; `contextBound(await snapshot())`; `station(await ownData())`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file receipt.json]; out [JSON file receipt.json; JSON file failure.json]; crs []; voltages [400kV, 275kV, 132kV, 66kV, 33kV, 11kV]
- Edges: uses 4 estate files (script-call 4); used by 1; mentioned by 0
### Document Context Test
- File: gridatlas/tools/vicinity/document-context.test.mjs (JavaScript, 103 lines) · role test · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vicinity/document-context.test.mjs#L1-L103
- Page: https://code.globalgrid2050.com/explore-code/s/0697.html#f1
- Synopsis: A test in the vicinity folder of GridAtlas that checks Document Context and Declared Connections, using SHA-256.
- What it does: It tests the REPD register and substations. Uses libraries node:test, node:assert/strict, node:fs, node:vm, node:crypto. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, substations.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 2 estate files (import 1, url-import-meta 1); used by 1; mentioned by 0
### Model Test
- File: gridatlas/tools/vicinity/model.test.mjs (JavaScript, 88 lines) · role test · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vicinity/model.test.mjs#L1-L88
- Page: https://code.globalgrid2050.com/explore-code/s/0697.html#f2
- Synopsis: A test in the vicinity folder of GridAtlas that checks Model and Build, using SHA-256.
- What it achieves (name): Defines `feature`.
- What it does: It tests the REPD register and wind. Defines feature. Uses libraries node:test, node:assert/strict, node:fs, node:vm. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, wind.
- Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `feature(id, at, voltage, extra = {})`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 3 estate files (import 2, url-import-meta 1); used by 1; mentioned by 0
### GridAtlas Scope Loop Workflow
- File: gridatlas/.github/workflows/202608301321-scope-loop.yml (YAML, 106 lines) · role automation · stage unknown · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflows/202608301321-scope-loop.yml#L1-L106
- Page: https://code.globalgrid2050.com/explore-code/s/1812.html#f1
- Synopsis: A GitHub Actions workflow. Runs by hand.
- What it achieves (comment): Scope-loop-mode: retired.
- What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: Out: commits pushed to the repository.
- Downstream impact: It is itself an entry point (workflow); no other file was found loading it.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out [commits pushed to the repository]; crs []; voltages []
- Edges: uses 5 estate files (workflow-run 5); used by 0; mentioned by 0
### GridAtlas Verify Live Workflow
- File: gridatlas/.github/workflows/202608301321-verify-live.yml (YAML, 490 lines) · role automation · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflows/202608301321-verify-live.yml#L1-L490
- Page: https://code.globalgrid2050.com/explore-code/s/1812.html#f2
- Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push and by hand.
- What it achieves (comment): Named “Build, deploy and verify modular GridAtlas v9.5”; runs Build Streaming Bridge (`tools/v9_5/build_streaming_bridge.py`), Release Stream Payload Cache (`tools/v9_5/release_stream_payload_cache.py`) and Verify Compose (`tools/scope/verify-compose.mjs`).
- What it does: It builds and publishes A roads. Side effects: reads or writes files; makes network requests; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: A roads.
- Inputs & outputs: In: JSON file current.json. Out: JSON file cvaa-selected-gates.json; commits pushed to the repository.
- Downstream impact: It is itself an entry point (workflow); no other file was found loading it.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json]; out [JSON file cvaa-selected-gates.json; commits pushed to the repository]; crs []; voltages []
- Edges: uses 13 estate files (workflow-run 11, estate-url 2); used by 0; mentioned by 0
### GridAtlas Overnight Next Versions Workflow
- File: gridatlas/.github/workflows/202608310015-gridatlas-overnight-next-versions.yml (YAML, 298 lines) · role automation · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflows/202608310015-gridatlas-overnight-next-versions.yml#L1-L298
- Page: https://code.globalgrid2050.com/explore-code/s/1813.html#f1
- Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push and by hand.
- What it does: It builds and publishes its content. Side effects: reads or writes files; makes network requests; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file 202608310015-gridatlas-programme-ledger.json; JSON file current.json. Out: commits pushed to the repository.
- Downstream impact: It is itself an entry point (workflow); no other file was found loading it.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file 202608310015-gridatlas-programme-ledger.json; JSON file current.json]; out [commits pushed to the repository]; crs []; voltages []
- Edges: uses 3 estate files (workflow-run 3); used by 0; mentioned by 0
### GridAtlas Next Version Builders Workflow
- File: gridatlas/.github/workflows/202608310050-gridatlas-next-version-builders.yml (YAML, 309 lines) · role automation · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflows/202608310050-gridatlas-next-version-builders.yml#L1-L309
- Page: https://code.globalgrid2050.com/explore-code/s/1813.html#f2
- Synopsis: A GitHub Actions workflow. Runs on push and by hand.
- What it achieves (comment): Runs Loop (`tools/scope/loop.mjs`), Select Build Plan (`202608310050-gridatlas-next-version-builders/tools/202608310050-select-build-plan.mjs`) and `202608310050-gridatlas-next-version-builders/tools/202608310050-build-n1-deep-link-candidates.py`.
- What it does: It runs the REPD register. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register.
- Inputs & outputs: In: JSON file inoculate-current.json; JSON file status.json; DuckDB queries. Out: JSON file measurement.json; commits pushed to the repository.
- Downstream impact: It is itself an entry point (workflow); no other file was found loading it.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file inoculate-current.json; JSON file status.json; DuckDB queries]; out [JSON file measurement.json; commits pushed to the repository]; crs []; voltages []
- Edges: uses 5 estate files (workflow-run 5); used by 0; mentioned by 0
### GridAtlas Cartridge Proof Workflow
- File: gridatlas/.github/workflows/202608312212-cartridge-proof.yml (YAML, 250 lines) · role automation · stage ingest · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflows/202608312212-cartridge-proof.yml#L1-L250
- Page: https://code.globalgrid2050.com/explore-code/s/1814.html#f1
- Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push, on pull requests and by hand.
- What it achieves (comment): Every cartridge push runs the proof of the cartridge that is composed.
- What it does: It builds and publishes its content. Side effects: starts processes; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: DuckDB queries.
- Downstream impact: It is itself an entry point (workflow); no other file was found loading it.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [DuckDB queries]; out []; crs []; voltages []
- Edges: uses 9 estate files (workflow-run 9); used by 0; mentioned by 0
### GridAtlas Offshore Coordinate Reconcile Workflow
- File: gridatlas/.github/workflows/offshore-coordinate-reconcile.yml (YAML, 139 lines) · role automation · stage ingest · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflows/offshore-coordinate-reconcile.yml#L1-L139
- Page: https://code.globalgrid2050.com/explore-code/s/1814.html#f2
- Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push, on a schedule and by hand.
- What it achieves (comment): Runs `gridatlas/tools/offshore/reconcile_offshore_coordinates.py`.
- What it does: It builds and publishes the REPD register. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. README: "Offshore coordinates are reconciled by `tools/offshore/reconcile_offshore_coordinates.py`, run annually and on demand by `.github/workflows/offshore-coordinate-reconcile.yml`, writing `atlas/data/offshore-coordinates.json`."
- Inputs & outputs: In: JSON file offshore-coordinates.json. Out: commits pushed to the repository.
- Downstream impact: It is itself an entry point (workflow); no other file was found loading it.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file offshore-coordinates.json]; out [commits pushed to the repository]; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### GridAtlas PR File Size Guard Workflow
- File: gridatlas/.github/workflows/pr-file-size-guard.yml (YAML, 1012 lines) · role automation · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflows/pr-file-size-guard.yml#L1-L1012
- Page: https://code.globalgrid2050.com/explore-code/s/1815.html#f1
- Synopsis: A GitHub Actions workflow. Runs on pull requests.
- What it achieves (comment): Named “PR file size guard and cartridge gate”; runs SatNav G203 Verify Composition (`tools/satnav/g203-verify-composition.mjs`), G203 03 Gps Camera Test (`tests/g203-03-gps-camera.test.mjs`) and SatNav Serve (`tools/satnav/serve.mjs`).
- What it does: It runs substations. Side effects: reads or writes files; makes network requests; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations.
- Inputs & outputs: In: JSON file current.json; JSON file -composition.json; JSON file zip.json; JSON file parquet.json. Out: JSON file comparison.json.
- Downstream impact: It is itself an entry point (workflow); no other file was found loading it.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json; JSON file -composition.json; JSON file zip.json; JSON file parquet.json]; out [JSON file comparison.json]; crs []; voltages []
- Edges: uses 69 estate files (workflow-run 69); used by 0; mentioned by 0
### GridAtlas Rollback Composition Workflow
- File: gridatlas/.github/workflows/rollback-composition.yml (YAML, 189 lines) · role automation · stage unknown · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflows/rollback-composition.yml#L1-L189
- Page: https://code.globalgrid2050.com/explore-code/s/1816.html#f2
- Synopsis: A GitHub Actions workflow. Runs by hand.
- What it achieves (comment): Move the live composition back to a generation that has already shipped.
- What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json. Out: commits pushed to the repository.
- Downstream impact: It is itself an entry point (workflow); no other file was found loading it.
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file current.json]; out [commits pushed to the repository]; crs []; voltages []
- Edges: uses 4 estate files (workflow-run 4); used by 0; mentioned by 0
### GridAtlas Teleprint Parse Gate Workflow
- File: gridatlas/.github/workflows/teleprint-parse-gate.yml (YAML, 105 lines) · role automation · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflows/teleprint-parse-gate.yml#L1-L105
- Page: https://code.globalgrid2050.com/explore-code/s/1816.html#f3
- Synopsis: A GitHub Actions workflow. Runs on push, on pull requests and by hand.
- What it achieves (comment): On a cartridge went live that did not parse: a single-quoted string carrying a raw line break. window.initVentusMap never ran, and the.
- What it does: It runs automated jobs on GitHub Actions. Side effects: changes the web page (DOM); starts processes.
- Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): 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: 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 []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Overlay Engine Test
- File: gridatlas/tools/ci/lightning/overlay-engine.test.mjs (JavaScript, 2505 lines) · role test · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/ci/lightning/overlay-engine.test.mjs#L1-L2505
- Page: https://code.globalgrid2050.com/explore-code/s/0625.html#f1
- Synopsis: A test in the lightning folder of GridAtlas that checks Minidom and Reference Module F, using SHA-256 and haversine.
- What it achieves (name): It adds event listener (`addEventListener`), wraps fetch (`wrapFetch`) and dumps card (`dumpCard`). Defines `track`, `TResponse`, `iso` and 109 more. Its code works with 10 MW, 33 kV and 0 MW. It reads `/index.json`.
- What it does: It tests the REPD register and solar. Defines 118 functions or classes, including track, TResponse, iso, ymd, enc. Uses libraries node:test, node:assert/strict, node:vm, node:fs, node:zlib. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, 33kV.
- Inputs & outputs: In: GeoJSON file f.geojson; JSON file index.json; JSON file x.json; JSON file 05.json; JSON file 00.json; GeoJSON file uk_lightning.geojson; JSON file g.json; JSON file repd_master.json. Out: interactive map. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). Voltage levels named: 33kV.
- Downstream impact: It is itself an entry point (test); no other file was found loading it.
- Signatures: `track(p)`; `class TResponse`; `iso(t)`; `ymd(t)`; `enc(o)`; `flash(t, id, coords = [-1.5, 52])`; `feed(features, ageH = 1, extra = {})`; `dayFile(date, features)`; `mkIndex(over = {}, top = {}, nowT = null)`; `boot({ index = null, feedFn = () => feed([flash(Date.now() - 2 * H, 'f1')]), files = {}, noGrid = false, lazy = false, par...)`; `tapMap(pt, hitsByLayer = {})`; `class XHR`; `fetch(url)`; `addEventListener(t, f)`; `click(el)`; `toggle(on)`; `cap(k)`; `fire(t)`; `release()`; `drain()`; `sha(b)`; `fresh()`; `p(d)`; `attrsWith(root, re)`; `shard(date, n, t0)` (and 15 more)
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [GeoJSON file f.geojson; JSON file index.json; JSON file x.json; JSON file 05.json; JSON file 00.json; GeoJSON file uk_lightning.geojson; JSON file g.json; JSON file repd_master.json]; out [interactive map]; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [33kV]
- Edges: uses 2 estate files (import 1, url-import-meta 1); used by 0; mentioned by 0
### Overlay Latest Test
- File: gridatlas/tools/ci/lightning/overlay-latest.test.mjs (JavaScript, 148 lines) · role test · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/ci/lightning/overlay-latest.test.mjs#L1-L148
- Page: https://code.globalgrid2050.com/explore-code/s/0628.html#f2
- Synopsis: A test in the lightning folder of GridAtlas that uses SHA-256. It is built from the hours ago helper (`hoursAgo`), the feed step (`feed`) and the boot step (`boot`).
- What it achieves (name): Defines `hoursAgo`, `stamp`, `flash` and 4 more.
- What it does: It tests its inputs. Defines 7 functions or classes, including hoursAgo, stamp, flash, feed, boot. Uses libraries node:test, node:assert/strict, node:vm, node:fs. Side effects: changes the web page (DOM); reads or writes files; makes network requests.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file 26.json.
- Downstream impact: It is itself an entry point (test); no other file was found loading it.
- Signatures: `hoursAgo(h)`; `stamp(h)`; `flash(h,id,coords=[-1.5,52])`; `feed(features,age=1)`; `boot({getFeed=()=>feed([flash(2,'one')]),getJson=()=>({ok:false,status:404})}={})`; `setLayoutProperty(id,key,value)`; `class XHR`; `open(method,url)`; `send()`; `drain()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file 26.json]; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Overlay Offtakers Test
- File: gridatlas/tools/ci/offtakers/overlay-offtakers.test.mjs (JavaScript, 530 lines) · role test · stage output · entry point
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/ci/offtakers/overlay-offtakers.test.mjs#L1-L530
- Page: https://code.globalgrid2050.com/explore-code/s/0629.html#f3
- Synopsis: A test in the tools folder of GridAtlas that checks Minidom and GridAtlas — Index Page, using SHA-256 and haversine.
- What it achieves (name): It opens tab (`openTab`) and is built from the orig nearest helper (`origNearest`) and the kV of helper (`kvOf`). Defines `sha`, `hav`, `GSSRC` and 33 more. Its code works with 100 MW, 72 MW and 0 MW. It reads `atlas/releases/202608300453-atlas-v9/data/grid_substations.geojson`.
- What it does: It tests the REPD register, solar, wind and battery storage (BESS). Defines 41 functions or classes, including sha, hav, GSSRC, GEO, origNearest. Uses libraries node:test, node:assert/strict, node:vm, node:fs, node:zlib. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, wind, battery storage (BESS), 400kV, 275kV.
- Inputs & outputs: In: GeoJSON file grid_substations.geojson; GeoJSON file x.geojson. Voltage levels named: 400kV, 275kV, 132kV, 33kV.
- Downstream impact: It is itself an entry point (test); no other file was found loading it.
- Signatures: `sha(b)`; `DREL(SRC.match(/DATA='https:\/\/ventusltd\.github\.io\/gridatlas\/(data\/offtakers_filtered_\d{12}\.geojson)'/) || [])`; `DCREL(SRC.match(/DCF='https:\/\/ventusltd\.github\.io\/gridatlas\/(data\/[\w.-]+)'/) || [])`; `RGEN(SRC.match(/repd_projects_(\d{12})\.parquet/) || [])`; `hav(lo1, la1, lo2, la2)`; `GSSRC(() => { const b = SLD.indexOf('if (NS.gridScope) return;'), a = SLD.lastIndexOf('(() => {', b), e = SLD.indexOf('})()...)`; `GEO(() => { const w = {}; vm.runInNewContext(GEOSRC, { window: w, Math, Number, Array, Object, Error }); return w.__GRIDA...)`; `origNearest(lon, lat, subs)`; `kvOf(v)`; `tick()`; `drain(n = 60)`; `boot({ tamper = false, lightning = false, neon = true, register = REG.features, duck = true, offtakers = true, srcOverride...)`; `src(id, o)`; `qrf()`; `tapMap(pt, hits = {})`; `class XHR`; `fetch(u, o)`; `class CE`; `group()`; `toggle(on)`; `ltoggle(on)`; `card()`; `dot(pred)`; `tapDot(r)`; `text(e)` (and 15 more)
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [GeoJSON file grid_substations.geojson; GeoJSON file x.geojson]; out []; crs []; voltages [400kV, 275kV, 132kV, 33kV]
- Edges: uses 2 estate files (import 1, estate-url 1); used by 0; mentioned by 0
### Owner Test Proof
- File: gridatlas/tools/secondary/owner-test-proof.mjs (JavaScript, 23 lines) · role test · stage ingest
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/secondary/owner-test-proof.mjs#L1-L23
- Page: https://code.globalgrid2050.com/explore-code/s/0690.html#f6
- Synopsis: A JavaScript module in the secondary folder of GridAtlas that tests composition and substations, using SHA-256. It is built from the sha step (`sha`) and the prove step (`prove`).
- What it achieves (comment): Rebuild and verify each cut cartridge and its preview manifest. It reads `-composition.json`.
- What it does: It tests composition and substations. Defines sha, prove. Uses libraries node:fs, node:assert/strict, node:crypto. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations.
- Inputs & outputs: In: JSON file -composition.json; JSON file current.json.
- Downstream impact: Used directly by 7 files: Substation Intelligence Proof (gridatlas); UKPN Secondary Card Proof (gridatlas); UKPN Secondary Substations Proof (gridatlas); SatNav Start Walk Proof (gridatlas); and 3 more. Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `export prove(g,id)`; `sha(b)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in [JSON file -composition.json; JSON file current.json]; out []; crs []; voltages []
- Edges: uses 2 estate files (import 2); used by 7; mentioned by 0
### Browser Test
- File: gridatlas/tools/train/browser.test.mjs (JavaScript, 99 lines) · role test · stage output
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/train/browser.test.mjs#L1-L99
- Page: https://code.globalgrid2050.com/explore-code/s/0691.html#f5
- Synopsis: A test in the train folder of GridAtlas covering substations and postcodes, using SHA-256.
- What it achieves (comment): It runs train ui acceptance (`runTrainUiAcceptance`) and is built from the sample rendered train cursor helper (`sampleRenderedTrainCursor`) and the state step (`state`). Native new-UI acceptance helper. No route graph/provider interception or scripted selection.
- What it does: It tests substations and postcodes. Defines 9 functions or classes, including sampleRenderedTrainCursor, waitForPaintedCursorProgress, runTrainUiAcceptance, state, clear. Uses libraries node:assert/strict. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, postcodes.
- Downstream impact: Used directly by 2 files: Painted Observation Test (gridatlas); Browser Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas).
- Signatures: `export sampleRenderedTrainCursor()`; `export waitForPaintedCursorProgress({page,diagnostics,timeoutMs=15000,intervalMs=100,minimumPixels=2,now=Date.now})`; `export runTrainUiAcceptance({page,panel,snapshot,visibleTap,output,pageErrors=[],diagnostics={}})`; `rendered(m.getLayer(id)?m.queryRenderedFeatures(undefined,{layers:[id]}):[])`; `state()`; `clear()`; `find(id)`; `choose(id,position)`; `cursor()`; `visitsBeforeClose(await state())`; `ownedCounts()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 2; mentioned by 0
### Build Verify Publish Atlas V9
- File: gridatlas/.github/workflow-archive/202608301321-hostile-amnesia/202608291430-build-verify-publish-atlas-v9.yml (YAML, 23 lines) · role automation · stage unknown · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflow-archive/202608301321-hostile-amnesia/202608291430-build-verify-publish-atlas-v9.yml#L1-L23
- Page: https://code.globalgrid2050.com/explore-code/s/1806.html#f4
- Synopsis: A configuration file in the workflow archive folder of GridAtlas. Runs by hand.
- What it achieves (comment): Named “Legacy staged publication archive”.
- Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow.
- domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Promote Root Current
- File: gridatlas/.github/workflow-archive/202608301321-hostile-amnesia/202608291742-promote-root-current.yml (YAML, 23 lines) · role automation · stage unknown · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflow-archive/202608301321-hostile-amnesia/202608291742-promote-root-current.yml#L1-L23
- Page: https://code.globalgrid2050.com/explore-code/s/1806.html#f5
- Synopsis: A configuration file in the workflow archive folder of GridAtlas. Runs by hand.
- What it achieves (comment): Named “Legacy root promotion archive”.
- Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow.
- domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### V9 Transfer Closure
- File: gridatlas/.github/workflow-archive/202608301321-hostile-amnesia/202608291742-v9-transfer-closure.yml (YAML, 23 lines) · role automation · stage unknown · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflow-archive/202608301321-hostile-amnesia/202608291742-v9-transfer-closure.yml#L1-L23
- Page: https://code.globalgrid2050.com/explore-code/s/1806.html#f6
- Synopsis: A configuration file in the workflow archive folder of GridAtlas. Runs by hand.
- What it achieves (comment): Named “Legacy V9 transfer closure archive”.
- Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow.
- domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Build V8 Product Mirror
- File: gridatlas/.github/workflow-archive/202608301321-hostile-amnesia/202608291758-build-v8-product-mirror.yml (YAML, 227 lines) · role automation · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflow-archive/202608301321-hostile-amnesia/202608291758-build-v8-product-mirror.yml#L1-L227
- Page: https://code.globalgrid2050.com/explore-code/s/1807.html#f1
- Synopsis: A configuration file in the workflow archive folder of GridAtlas using data from GitHub API. Runs on push and by hand.
- What it achieves (comment): Named “Build V8 product mirror on V9 data plane”; runs V8 Product Parity (`atman/202608291758-v8-product-parity.mjs`).
- What it does: It fetches data. Side effects: reads or writes files; makes network requests.
- Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow.
- Inputs & outputs: In: data source: GitHub API; JSON file release-manifest.json.
- domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [data source: GitHub API; JSON file release-manifest.json]; out []; crs []; voltages []
- Edges: uses 2 estate files (workflow-run 1, estate-url 1); used by 0; mentioned by 0
### Build Place Postcode Search
- File: gridatlas/.github/workflow-archive/202608301321-hostile-amnesia/202608291818-build-place-postcode-search.yml (YAML, 260 lines) · role automation · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflow-archive/202608301321-hostile-amnesia/202608291818-build-place-postcode-search.yml#L1-L260
- Page: https://code.globalgrid2050.com/explore-code/s/1807.html#f2
- Synopsis: A configuration file in the workflow archive folder of GridAtlas that fetches Renewable Energy Planning Database (REPD) projects, postcodes and the REPD register from GitHub API. Runs after another workflow.
- What it achieves (comment): Named “Build V8 mirror place postcode successor”; runs Verify Place Postcode Release (`atman/202608291818-verify-place-postcode-release.mjs`).
- What it does: It fetches REPD projects, postcodes and the REPD register. Side effects: reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: postcodes, the REPD register.
- Inputs & outputs: In: data source: GitHub API; Parquet file repd_projects_202608290716.parquet; JSON file release-manifest.json.
- domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [data source: GitHub API; Parquet file repd_projects_202608290716.parquet; JSON file release-manifest.json]; out []; crs []; voltages []
- Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0
### Prove V8 Product Mirror
- File: gridatlas/.github/workflow-archive/202608301321-hostile-amnesia/202608291818-prove-v8-product-mirror.yml (YAML, 131 lines) · role automation · stage ingest · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflow-archive/202608301321-hostile-amnesia/202608291818-prove-v8-product-mirror.yml#L1-L131
- Page: https://code.globalgrid2050.com/explore-code/s/1807.html#f3
- Synopsis: A configuration file in the workflow archive folder of GridAtlas. Runs on push and by hand.
- What it achieves (comment): Runs Prove V8 Product Mirror (`atman/202608291818-prove-v8-product-mirror.mjs`).
- What it does: It fetches data. Side effects: makes network requests; starts processes.
- Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: 400kV.
- Inputs & outputs: Voltage levels named: 400kV.
- domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages [400kV]
- Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0
### Bootstrap Map Ready Source
- File: gridatlas/.github/workflow-archive/202608301321-hostile-amnesia/202608292126-bootstrap-map-ready-source.yml (YAML, 97 lines) · role automation · stage ingest · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflow-archive/202608301321-hostile-amnesia/202608292126-bootstrap-map-ready-source.yml#L1-L97
- Page: https://code.globalgrid2050.com/explore-code/s/1808.html#f1
- Synopsis: A configuration file in the workflow archive folder of GridAtlas that reads map ready runtime and performance record schema. Runs on push and by hand.
- What it does: It loads map ready runtime and performance record schema. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow.
- Inputs & outputs: In: JSON file 202608292126-map-ready-runtime.json; JSON file layer-performance-record-v1.schema.json.
- domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file 202608292126-map-ready-runtime.json; JSON file layer-performance-record-v1.schema.json]; out []; crs []; voltages []
- Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0
### Build Publish Map Ready V9
- File: gridatlas/.github/workflow-archive/202608301321-hostile-amnesia/202608292126-build-publish-map-ready-v9.yml (YAML, 581 lines) · role automation · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflow-archive/202608301321-hostile-amnesia/202608292126-build-publish-map-ready-v9.yml#L1-L581
- Page: https://code.globalgrid2050.com/explore-code/s/1808.html#f2
- Synopsis: A configuration file in the workflow archive folder of GridAtlas that fetches map ready runtime and performance record schema from GitHub API. Runs on push and by hand.
- What it achieves (comment): Named “Build publish and promote map-ready V8 mirror”.
- What it does: It fetches map ready runtime, performance record schema and local map ready proof. Side effects: changes the web page (DOM); reads or writes files; makes network requests.
- Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: 400kV.
- Inputs & outputs: In: data source: GitHub API; JSON file 202608292126-map-ready-runtime.json; JSON file layer-performance-record-v1.schema.json; JSON file map-ready-manifest.json; JSON file release-manifest.json; JSON file build-manifest.json; JSON file 202608292126-local-map-ready-proof.json; JSON file 202608292126-public-map-ready-proof.json. Out: JSON file live-set.json; JSON file current-v4.json. Voltage levels named: 400kV.
- domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [data source: GitHub API; JSON file 202608292126-map-ready-runtime.json; JSON file layer-performance-record-v1.schema.json; JSON file map-ready-manifest.json; JSON file release-manifest.json; JSON file build-manifest.json; JSON file 202608292126-local-map-ready-proof.json; JSON file 202608292126-public-map-ready-proof.json]; out [JSON file live-set.json; JSON file current-v4.json]; crs []; voltages [400kV]
- Edges: uses 4 estate files (workflow-run 2, estate-url 2); used by 0; mentioned by 0
### Build Verify Publish Render Ready V9
- File: gridatlas/.github/workflow-archive/202608301321-hostile-amnesia/202608292311-build-verify-publish-render-ready-v9.yml (YAML, 379 lines) · role automation · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflow-archive/202608301321-hostile-amnesia/202608292311-build-verify-publish-render-ready-v9.yml#L1-L379
- Page: https://code.globalgrid2050.com/explore-code/s/1809.html#f1
- Synopsis: A configuration file in the workflow archive folder of GridAtlas that fetches render ready runtime and render ready performance record schema from GitHub API. Runs on push and by hand.
- What it achieves (name): Its name says it builds verify publish render ready.
- What it does: It fetches render ready runtime, render ready performance record schema and map ready. Side effects: changes the web page (DOM); reads or writes files; makes network requests.
- Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: 400kV.
- Inputs & outputs: In: data source: GitHub API; JSON file 202608292311-render-ready-runtime.json; JSON file render-ready-performance-record-v1.schema.json; JSON file release-manifest.json; JSON file build-manifest.json; JSON file map-ready-manifest.json; GeoJSON file grid_400kv.geojson; JSON file 202608292311-public-render-ready-proof.json. Out: JSON file live-set.json; JSON file current-v5.json. Voltage levels named: 400kV.
- domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [data source: GitHub API; JSON file 202608292311-render-ready-runtime.json; JSON file render-ready-performance-record-v1.schema.json; JSON file release-manifest.json; JSON file build-manifest.json; JSON file map-ready-manifest.json; GeoJSON file grid_400kv.geojson; JSON file 202608292311-public-render-ready-proof.json]; out [JSON file live-set.json; JSON file current-v5.json]; crs []; voltages [400kV]
- Edges: uses 3 estate files (workflow-run 2, estate-url 1); used by 0; mentioned by 0
### Evaluate Cross Repo Atlas V9
- File: gridatlas/.github/workflow-archive/202608301321-hostile-amnesia/202608300232-evaluate-cross-repo-atlas-v9.yml (YAML, 136 lines) · role automation · stage ingest · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflow-archive/202608301321-hostile-amnesia/202608300232-evaluate-cross-repo-atlas-v9.yml#L1-L136
- Page: https://code.globalgrid2050.com/explore-code/s/1809.html#f2
- Synopsis: A configuration file in the workflow archive folder of GridAtlas that reads atlas deep link contract, previous semantic and current semantic. Runs on push, on a schedule and by hand.
- What it achieves (comment): Runs Evaluate Cross Repo Atlas V9 (`orchestration/202608300232-evaluate-cross-repo-atlas-v9.py`).
- What it does: It loads atlas deep link contract, previous semantic and current semantic. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow.
- Inputs & outputs: In: JSON file atlas-v9-deep-link-contract.v1.json; JSON file previous.json; JSON file result.json; JSON file previous.semantic.json; JSON file current.semantic.json.
- domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file atlas-v9-deep-link-contract.v1.json; JSON file previous.json; JSON file result.json; JSON file previous.semantic.json; JSON file current.semantic.json]; out []; crs []; voltages []
- Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0
### Repair Render Ready Browser Install
- File: gridatlas/.github/workflow-archive/202608301321-hostile-amnesia/202608300257-repair-render-ready-browser-install.yml (YAML, 76 lines) · role automation · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflow-archive/202608301321-hostile-amnesia/202608300257-repair-render-ready-browser-install.yml#L1-L76
- Page: https://code.globalgrid2050.com/explore-code/s/1809.html#f3
- Synopsis: A configuration file in the workflow archive folder of GridAtlas. Runs on push and by hand.
- What it achieves (name): Its name says it repairs render ready browser install.
- What it does: It loads data. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow.
- domain_stage: experimental · commercial_user: EPC_contractor · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Export Render Ready Webkit Patch
- File: gridatlas/.github/workflow-archive/202608301321-hostile-amnesia/202608300315-export-render-ready-webkit-patch.yml (YAML, 61 lines) · role automation · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflow-archive/202608301321-hostile-amnesia/202608300315-export-render-ready-webkit-patch.yml#L1-L61
- Page: https://code.globalgrid2050.com/explore-code/s/1809.html#f4
- Synopsis: A configuration file in the workflow archive folder of GridAtlas. Runs on push and by hand.
- What it achieves (name): Its name says it exports render ready webkit patch.
- What it does: It loads data. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow.
- domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Three Hour V8 V9 Watchdog
- File: gridatlas/.github/workflow-archive/202608301321-hostile-amnesia/202608300327-three-hour-v8-v9-watchdog.yml (YAML, 13 lines) · role automation · stage unknown · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflow-archive/202608301321-hostile-amnesia/202608300327-three-hour-v8-v9-watchdog.yml#L1-L13
- Page: https://code.globalgrid2050.com/explore-code/s/1809.html#f5
- Synopsis: A configuration file in the workflow archive folder of GridAtlas. Runs by hand.
- Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow.
- domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Attest Live Pointer Lineage
- File: gridatlas/.github/workflow-archive/202608301321-hostile-amnesia/202608300345-attest-live-pointer-lineage.yml (YAML, 150 lines) · role automation · stage unknown · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflow-archive/202608301321-hostile-amnesia/202608300345-attest-live-pointer-lineage.yml#L1-L150
- Page: https://code.globalgrid2050.com/explore-code/s/1810.html#f1
- Synopsis: A configuration file in the workflow archive folder of GridAtlas. Runs on push, on a schedule and by hand.
- What it achieves (comment): Named “Attest current Atlas live-pointer lineage”.
- Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow.
- Inputs & outputs: In: JSON file release-manifest.json; JSON file build-manifest.json. Out: JSON file release-manifest.json; JSON file live-set.json.
- domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file release-manifest.json; JSON file build-manifest.json]; out [JSON file release-manifest.json; JSON file live-set.json]; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Bootstrap Five Hour V8 V9 Closure
- File: gridatlas/.github/workflow-archive/202608301321-hostile-amnesia/202608300430-bootstrap-five-hour-v8-v9-closure.yml (YAML, 13 lines) · role automation · stage unknown · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflow-archive/202608301321-hostile-amnesia/202608300430-bootstrap-five-hour-v8-v9-closure.yml#L1-L13
- Page: https://code.globalgrid2050.com/explore-code/s/1810.html#f2
- Synopsis: A configuration file in the workflow archive folder of GridAtlas. Runs by hand.
- What it achieves (comment): Named “Retired Atlas bootstrap wrapper”.
- Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow.
- domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Five Hour V8 V9 Watchdog
- File: gridatlas/.github/workflow-archive/202608301321-hostile-amnesia/202608300437-five-hour-v8-v9-watchdog.yml (YAML, 231 lines) · role automation · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflow-archive/202608301321-hostile-amnesia/202608300437-five-hour-v8-v9-watchdog.yml#L1-L231
- Page: https://code.globalgrid2050.com/explore-code/s/1810.html#f3
- Synopsis: A configuration file in the workflow archive folder of GridAtlas that fetches five hour attempt history and postcodes. Runs on push, on a schedule and by hand.
- What it achieves (comment): Named “Five-hour strict V8 V9 comparator”.
- What it does: It fetches five hour attempt history and postcodes. Side effects: changes the web page (DOM); reads or writes files; makes network requests.
- Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: postcodes.
- Inputs & outputs: In: JSON file release-manifest.json; JSON file build-manifest.json. Out: JSON file five-hour-attempt-history.json.
- domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file release-manifest.json; JSON file build-manifest.json]; out [JSON file five-hour-attempt-history.json]; crs []; voltages []
- Edges: uses 2 estate files (workflow-run 1, estate-url 1); used by 0; mentioned by 0
### Build Verify Promote Exact Renewable Energy Planning Database (REPD) Deep Link
- File: gridatlas/.github/workflow-archive/202608301321-hostile-amnesia/202608300453-build-verify-promote-exact-repd-deep-link.yml (YAML, 667 lines) · role automation · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflow-archive/202608301321-hostile-amnesia/202608300453-build-verify-promote-exact-repd-deep-link.yml#L1-L667
- Page: https://code.globalgrid2050.com/explore-code/s/1811.html#f1
- Synopsis: A configuration file in the workflow archive folder of GridAtlas that fetches deep link receiver and map ready from GitHub API. Runs on push, on a schedule and by hand.
- What it achieves (name): Its name says it builds verify promote exact REPD deep link.
- What it does: It fetches deep link receiver, map ready and local render ready proof. Side effects: changes the web page (DOM); reads or writes files; makes network requests.
- Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow.
- Inputs & outputs: In: data source: GitHub API; JSON file release-manifest.json; JSON file deep-link-receiver-manifest.json; JSON file build-manifest.json; JSON file map-ready-manifest.json; JSON file 202608300453-local-render-ready-proof.json; JSON file 202608300453-public-render-ready-proof.json; JSON file 202608300453-local-exact-repd-deep-link-proof.json. Out: JSON file live-set.json; JSON file current-v5.json.
- domain_stage: experimental · commercial_user: IPP_developer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [data source: GitHub API; JSON file release-manifest.json; JSON file deep-link-receiver-manifest.json; JSON file build-manifest.json; JSON file map-ready-manifest.json; JSON file 202608300453-local-render-ready-proof.json; JSON file 202608300453-public-render-ready-proof.json; JSON file 202608300453-local-exact-repd-deep-link-proof.json]; out [JSON file live-set.json; JSON file current-v5.json]; crs []; voltages []
- Edges: uses 5 estate files (workflow-run 3, estate-url 2); used by 0; mentioned by 0
### Dock UI
- File: gridatlas/atlas/testcode/202609110849/dock-ui.js (JavaScript, 149 lines) · role interaction · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/testcode/202609110849/dock-ui.js#L1-L149
- Page: https://code.globalgrid2050.com/explore-code/s/0610.html#f2
- Synopsis: A JavaScript file in the testcode folder of GridAtlas that works with schedule position (`schedulePosition`) and native quick buttons (`nativeQuickButtons`) and reads inputs for sat policy and sat scene.
- What it achieves (comment): It is built from the schedule position helper (`schedulePosition`), the scene options helper (`sceneOptions`) and the native quick buttons helper (`nativeQuickButtons`). This is the replacement UI tail of the satellite-only test cartridge. It responds to pointerdown, pointermove and pointerup events.
- What it does: It draws its content. Defines 13 functions or classes, including schedulePosition, sceneOptions, nativeQuickButtons, shownRect, bounds. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "`dock-ui.js` is the authored UI tail"
- Inputs & outputs: In: browser storage (getItem); form fields (user input). Out: browser storage (setItem).
- Signatures: `schedulePosition()`; `sceneOptions(selected)`; `nativeQuickButtons()`; `shownRect(e)`; `bounds()`; `overlap(a,b,gap=6)`; `position()`; `clampX(x)`; `clampY(y)`; `dragStart(e)`; `dragMove(e)`; `dragEnd(e)`; `install(m)`
- domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [browser storage (getItem); form fields (user input)]; out [browser storage (setItem)]; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Browser Proof
- File: gridatlas/atlas/testcode/202609111007/browser-proof.py (Python, 125 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/testcode/202609111007/browser-proof.py#L1-L125
- Page: https://code.globalgrid2050.com/explore-code/s/0610.html#f3
- Published at: https://gridatlas.globalgrid2050.com/atlas/testcode/202609111007/
- Synopsis: A Python module in the testcode folder of GridAtlas that draws survey boundary. It toggles quick (`toggle_quick`) and is built from the check step (`check`) and the handler step (`handler`).
- What it achieves (comment): Bounded Chrome checks on a candidate or the published Satellite survey test.
- What it does: It draws survey boundary. Defines 10 functions or classes, including check, handler, response, req, state. Uses libraries os, pathlib, json, re, shutil. Side effects: changes the web page (DOM); reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "`browser-proof.py` runs bounded Chrome checks with live external imagery"
- Inputs & outputs: In: GeoJSON file EN010101-boundary.geojson; GeoJSON file survey-test-boundary.geojson. Out: JSON file report.json.
- Signatures: `check(name, ok, detail=None)`; `handler(route, request, *, data=data, mime=mime, name=name)`; `response(r)`; `req(r)`; `state()`; `snap(name)`; `grid(opened=True)`; `satellite(opened=True)`; `visible_quick()`; `toggle_quick(label,layer)`
- domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [GeoJSON file EN010101-boundary.geojson; GeoJSON file survey-test-boundary.geojson]; out [JSON file report.json]; crs []; voltages []
- Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0
### Build
- File: gridatlas/atlas/testcode/202609111007/build.py (Python, 22 lines) · role storage · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/testcode/202609111007/build.py#L1-L22
- Page: https://code.globalgrid2050.com/explore-code/s/0610.html#f4
- Published at: https://gridatlas.globalgrid2050.com/atlas/testcode/202609111007/
- Synopsis: A Python module in the testcode folder of GridAtlas that builds an isolated Satellite survey test; production composition is unchanged, using SHA-256.
- What it does: It loads data. Uses libraries hashlib, json, pathlib, re. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow.
- domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs []; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Satellite
- File: gridatlas/atlas/testcode/202609111007/satellite.js (JavaScript, 313 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/testcode/202609111007/satellite.js#L1-L313
- Page: https://code.globalgrid2050.com/explore-code/s/0611.html#f1
- Published at: https://gridatlas.globalgrid2050.com/atlas/testcode/202609111007/
- Synopsis: A JavaScript file in the testcode folder of GridAtlas that maps survey footprint line, survey boundary case and survey boundary line. Served with the page at https://gridatlas.globalgrid2050.com/atlas/testcode/202609111007/.
- What it achieves (comment): It updates buttons (`updateButtons`), removes slot (`removeSlot`) and gets catalogue (`getCatalogue`). Satellite-only test cartridge. No project, grid, substation or branding edits. It responds to abort, click and change events.
- What it does: It maps survey footprint line, survey boundary case and survey boundary line. Defines 36 functions or classes, including finite, visible, say, containsRing, covers. Side effects: changes the web page (DOM); makes network requests.
- Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow.
- Inputs & outputs: In: user-supplied file (file picker); form fields (user input). Coordinate systems named: WGS84 / EPSG:4326.
- Signatures: `finite(n)`; `visible(id, on)`; `say(text)`; `containsRing(p, ring)`; `covers(item, p)`; `sceneText(item)`; `allowed(url)`; `json(url, signal)`; `orderImagery()`; `updateButtons()`; `cancel()`; `basic(next)`; `removeSlot(slot, owner)`; `awaitTiles(sourceId, signal)`; `done(error)`; `abort()`; `data(e)`; `errorEvent(e)`; `empty()`; `byId(id)`; `dateISO(d)`; `schedulePosition()`; `currentScope()`; `sceneOptions(selected)`; `getCatalogue(scope, signal, force)` (and 12 more)
- domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [user-supplied file (file picker); form fields (user input)]; out []; crs [WGS84 / EPSG:4326]; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Survey UI
- File: gridatlas/atlas/testcode/202609111007/survey-ui.js (JavaScript, 232 lines) · role render · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/testcode/202609111007/survey-ui.js#L1-L232
- Page: https://code.globalgrid2050.com/explore-code/s/0611.html#f2
- Published at: https://gridatlas.globalgrid2050.com/atlas/testcode/202609111007/
- Synopsis: A JavaScript file in the testcode folder of GridAtlas that maps survey footprint line, survey boundary case and survey boundary line. Served with the page at https://gridatlas.globalgrid2050.com/atlas/testcode/202609111007/.
- What it achieves (comment): It gets catalogue (`getCatalogue`), paints footprint (`paintFootprint`) and explains scene (`explainScene`). Survey UI and boundary/date selection. Original GRID/SUBS nodes are not moved. It responds to click and change events.
- What it does: It maps survey footprint line, survey boundary case and survey boundary line. Defines 18 functions or classes, including empty, byId, dateISO, schedulePosition, currentScope. Side effects: changes the web page (DOM); makes network requests.
- Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow.
- Inputs & outputs: In: user-supplied file (file picker); form fields (user input). Coordinate systems named: WGS84 / EPSG:4326.
- Signatures: `empty()`; `byId(id)`; `dateISO(d)`; `schedulePosition()`; `currentScope()`; `sceneOptions(selected)`; `getCatalogue(scope, signal, force)`; `rows(found.features || [])`; `paintFootprint(item)`; `explainScene()`; `showResult(result, token, signal)`; `task(work)`; `sentinel(preferredId = null, force = false)`; `validateBoundary(input)`; `setBoundary(input, name)`; `closeGrid()`; `fitBoundary()`; `compareLabels()`; `install(m)`
- domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [user-supplied file (file picker); form fields (user input)]; out []; crs [WGS84 / EPSG:4326]; voltages []
- Edges: uses 0 estate files; used by 0; mentioned by 0
### Unified Owner Test Proof
- File: gridatlas/tools/proofs/202612020056-unified-owner-test.proof.mjs (JavaScript, 44 lines) · role test · stage ingest · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612020056-unified-owner-test.proof.mjs#L1-L44
- Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f10
- Synopsis: A JavaScript module in the proofs folder of GridAtlas that tests composition, using SHA-256. It is built from the read step (`read`) and the digest step (`digest`).
- What it achieves (comment): V9.201 proof for the inherited shallow-checkout cartridge gate. It reads `atlas/current.json`.
- What it does: It tests composition. Defines read, digest. Uses libraries node:assert/strict, node:fs, node:crypto, node:path, node:child_process. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json; JSON file -composition.json.
- Signatures: `read(p)`; `digest(p,c)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file current.json; JSON file -composition.json]; out []; crs []; voltages []
- Edges: uses 3 estate files (script-call 3); used by 0; mentioned by 0
### Flow Test
- File: gridatlas/tools/release/flow.test.mjs (JavaScript, 91 lines) · role test · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/release/flow.test.mjs#L1-L91
- Page: https://code.globalgrid2050.com/explore-code/s/0666.html#f4
- Synopsis: A test in the tools folder of GridAtlas that checks Flow Lib and GridAtlas — Release. It is built from the comment step (`comment`).
- What it achieves (comment): Offline tests of the delivery-flow rules in `flow-lib.mjs` (run by `tools/ci/pr-gate.mjs`, check release-tools).
- What it does: It tests its inputs. Defines comment, ev, pr, f. Uses libraries node:test, node:assert/strict.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: In: JSON file current.json.
- Signatures: `comment(body, at, extra = {})`; `ev(event, at, actor = owner, app = null)`; `pr(ref)`; `f(...names)`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file current.json]; out []; crs []; voltages []
- Edges: uses 2 estate files (import 2); used by 0; mentioned by 0
### Loader Swap Test
- File: gridatlas/tools/release/loader-swap.test.mjs (JavaScript, 158 lines) · role test · stage output · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/release/loader-swap.test.mjs#L1-L158
- Page: https://code.globalgrid2050.com/explore-code/s/0668.html#f1
- Synopsis: A test in the tools folder of GridAtlas that checks GridAtlas — Scope and GridAtlas — Release, using SHA-256.
- What it achieves (comment): It is built from the sandbox step (`sandbox`), the commit step (`commit`) and the node step (`node`). Offline tests of the loader-only step (`tools/release/loader-swap.mjs`), the pr-gate rule that calls it, and the guarded loader rollback in `rollback-generation.mjs`.
- What it does: It tests its inputs. Defines sandbox, g, commit, node, cleanup. Uses libraries node:test, node:assert/strict, node:fs, node:os, node:path. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs: Out: JSON file current.json.
- Signatures: `sandbox()`; `g(args, cwd = wt)`; `commit(msg)`; `node(args)`; `cleanup()`
- domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out [JSON file current.json]; crs []; voltages []
- Edges: uses 5 estate files (script-call 5); used by 0; mentioned by 0
### Orient15 Recovery Test
- File: gridatlas/tools/satnav/line/orient15-recovery.test.mjs (JavaScript, 63 lines) · role test · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/line/orient15-recovery.test.mjs#L1-L63
- Page: https://code.globalgrid2050.com/explore-code/s/0677.html#f4
- Synopsis: A test in the line folder of GridAtlas that checks Orient15 Recovery. It is built from the sample step (`sample`).
- What it achieves (name): Defines `settle`, `harness`, `provider` and 1 more.
- What it does: It tests its inputs. Defines xy, settle, harness, provider, sample. Uses libraries node:assert/strict.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Signatures: `xy(x,y)`; `settle()`; `harness(opts={})`; `provider(req)`; `sample(x,y,a=4,advance=1000)`; `journey(mode='walking',target=xy(200,0),objective='shortest')`; `resolve(i,coords=[xy(0,0),xy(200,0)],over={})`
- 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 1 estate file (import 1); used by 0; mentioned by 0
### Orient16 Recovery Safe Test
- File: gridatlas/tools/satnav/line/orient16-recovery-safe.test.mjs (JavaScript, 19 lines) · role test · stage unknown · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/line/orient16-recovery-safe.test.mjs#L1-L19
- Page: https://code.globalgrid2050.com/explore-code/s/0678.html#f1
- Synopsis: A test in the line folder of GridAtlas that checks Orient16 Recovery Safe.
- What it does: It tests its inputs. Uses libraries node:assert/strict.
- Why it exists in the grid workflow: Domain stage field_execution (path 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_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 1 estate file (import 1); used by 0; mentioned by 0
### Orient16 Recovery Test
- File: gridatlas/tools/satnav/line/orient16-recovery.test.mjs (JavaScript, 14 lines) · role test · stage unknown · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/line/orient16-recovery.test.mjs#L1-L14
- Page: https://code.globalgrid2050.com/explore-code/s/0678.html#f3
- Synopsis: A test in the line folder of GridAtlas that checks Orient16 Recovery.
- What it does: It tests its inputs. Uses libraries node:assert/strict.
- Why it exists in the grid workflow: Domain stage field_execution (path 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_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 1 estate file (import 1); used by 0; mentioned by 0
### Orient17a Navigation Test
- File: gridatlas/tools/satnav/orientation/orient17a-navigation.test.mjs (JavaScript, 13 lines) · role test · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orientation/orient17a-navigation.test.mjs#L1-L13
- Page: https://code.globalgrid2050.com/explore-code/s/0680.html#f5
- Synopsis: A test in the orientation folder of GridAtlas that checks Orient17a Navigation.
- What it achieves (name): Defines `tests`.
- What it does: It tests its inputs. Defines tests.
- Why it exists in the grid workflow: Domain stage field_execution (path word 'navigation'): 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: `tests(geometry,createArrival,relativeGuidance)`
- 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 1 estate file (import 1); used by 0; mentioned by 0
### Orient17a V9211 Heading Test
- File: gridatlas/tools/satnav/orientation/orient17a-v9211-heading.test.mjs (JavaScript, 16 lines) · role test · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orientation/orient17a-v9211-heading.test.mjs#L1-L16
- Page: https://code.globalgrid2050.com/explore-code/s/0680.html#f9
- Synopsis: A test in the orientation folder of GridAtlas that checks Orient17a V9211 Heading.
- What it achieves (name): Defines `obs`.
- What it does: It tests its inputs. Defines obs. Uses libraries node:test, node:assert/strict.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Signatures: `obs(degrees,t=now)`
- 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 1 estate file (import 1); used by 0; mentioned by 0
### Orient17a V9212 Test
- File: gridatlas/tools/satnav/orientation/orient17a-v9212.test.mjs (JavaScript, 20 lines) · role test · stage unknown · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orientation/orient17a-v9212.test.mjs#L1-L20
- Page: https://code.globalgrid2050.com/explore-code/s/0680.html#f12
- Synopsis: A test in the orientation folder of GridAtlas that checks Orient17a V9212 Navigation and Orient17a V9212 Heading.
- What it does: It tests its inputs. Uses libraries node:test, node:assert/strict.
- Why it exists in the grid workflow: Domain stage field_execution (path 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_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
### Orient17a V9214 Compass Test
- File: gridatlas/tools/satnav/orientation/orient17a-v9214-compass.test.mjs (JavaScript, 20 lines) · role test · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orientation/orient17a-v9214-compass.test.mjs#L1-L20
- Page: https://code.globalgrid2050.com/explore-code/s/0680.html#f13
- Synopsis: A test in the orientation folder of GridAtlas that checks Orient17a V9214 Event Clock and Orient17a Heading Filter.
- What it achieves (name): Defines `obs`.
- What it does: It tests its inputs. Defines obs. Uses libraries node:assert/strict.
- 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.
- Signatures: `obs(degrees,timestampMs)`
- 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
### Wmm2025 Test
- File: gridatlas/tools/satnav/orientation/wmm2025.test.mjs (JavaScript, 157 lines) · role test · stage ingest · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orientation/wmm2025.test.mjs#L1-L157
- Page: https://code.globalgrid2050.com/explore-code/s/0681.html#f2
- Synopsis: A test in the orientation folder of GridAtlas that checks Wmm2025 and Orient17a Reference Wmm, using SHA-256.
- What it achieves (name): Defines `here` and `wrap`. It reads `./wmm2025-fixtures/WMM2025_TEST_VALUES.txt`.
- What it does: It tests its inputs. Defines here, wrap. Uses libraries node:test, node:assert/strict, node:crypto, node:fs, node:url. Side effects: reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow: Domain stage field_execution (path 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: browser IndexedDB.
- Signatures: `here(p)`; `wrap(d)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [browser IndexedDB]; out []; crs []; voltages []
- Edges: uses 3 estate files (import 3); used by 0; mentioned by 0
### Valhalla Provider Test
- File: gridatlas/tools/satnav/regional/valhalla-provider.test.mjs (JavaScript, 32 lines) · role test · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/regional/valhalla-provider.test.mjs#L1-L32
- Page: https://code.globalgrid2050.com/explore-code/s/0682.html#f11
- Synopsis: A test in the regional folder of GridAtlas that checks Valhalla Provider and Orient16 Recovery Safe.
- What it achieves (name): Defines `encode` and `response`.
- What it does: It tests its inputs. Defines encode, response. Uses libraries node:assert/strict.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Signatures: `encode(points)`; `response(points=[from,target],hash=graphRevision,status=200)`
- 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
### VEDIC Snapshot Provider V9214 Test
- File: gridatlas/tools/satnav/regional/vedic-snapshot-provider-v9214.test.mjs (JavaScript, 21 lines) · role test · stage ingest · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/regional/vedic-snapshot-provider-v9214.test.mjs#L1-L21
- Page: https://code.globalgrid2050.com/explore-code/s/0682.html#f12
- Synopsis: A test in the regional folder of GridAtlas that checks VEDIC Snapshot Provider and VEDIC Snapshot Routing, using SHA-256.
- What it achieves (name): Defines `make`.
- What it does: It tests its inputs. Defines make. Uses libraries node:assert/strict, node:fs, node:crypto. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage agent_infra (path word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief).
- Inputs & outputs: In: command-line arguments.
- Signatures: `make(mode,origin,target,objective='shortest')`
- domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [command-line arguments]; out []; crs []; voltages []
- Edges: uses 3 estate files (import 3); used by 0; mentioned by 0
### VEDIC Snapshot Provider Test
- File: gridatlas/tools/satnav/regional/vedic-snapshot-provider.test.mjs (JavaScript, 20 lines) · role test · stage ingest · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/regional/vedic-snapshot-provider.test.mjs#L1-L20
- Page: https://code.globalgrid2050.com/explore-code/s/0682.html#f14
- Synopsis: A test in the regional folder of GridAtlas that checks VEDIC Snapshot Provider and VEDIC Snapshot Routing, using SHA-256.
- What it achieves (name): Defines `make`.
- What it does: It tests its inputs. Defines make. Uses libraries node:assert/strict, node:fs, node:crypto. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage agent_infra (path word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief).
- Inputs & outputs: In: command-line arguments.
- Signatures: `make(mode,origin,target,objective='shortest')`
- domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [command-line arguments]; out []; crs []; voltages []
- Edges: uses 2 estate files (import 2); used by 0; mentioned by 0
### Handoff Test
- File: gridatlas/tools/satnav/walk/gate/handoff.test.mjs (JavaScript, 148 lines) · role test · stage ingest · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/gate/handoff.test.mjs#L1-L148
- Page: https://code.globalgrid2050.com/explore-code/s/0686.html#f1
- Synopsis: A test in the gate folder of GridAtlas that checks Handoff and Plan. It is built from the step step (`step`).
- What it achieves (name): Defines `point`, `fix`, `session` and 1 more. It reads `./pilot/road.json`.
- What it does: It tests its inputs. Defines point, fix, session, step. Uses libraries node:assert/strict, node:fs, node:test. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage agent_infra (path word 'handoff'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief).
- Inputs & outputs: In: JSON file road.json.
- Signatures: `point(east, north)`; `fix(east, north, accuracyM, timestampMs)`; `session(plan = pilot, saved = road)`; `step(east, north, accuracy = 4)`
- domain_stage: agent_infra · commercial_user: landowner_planner, ai_agent · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file road.json]; out []; crs []; voltages []
- Edges: uses 2 estate files (import 2); used by 0; mentioned by 0
### Plan Test
- File: gridatlas/tools/satnav/walk/gate/jobs/plan.test.mjs (JavaScript, 91 lines) · role test · stage ingest · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/gate/jobs/plan.test.mjs#L1-L91
- Page: https://code.globalgrid2050.com/explore-code/s/0687.html#f1
- Synopsis: A test in the jobs folder of GridAtlas that checks Council Router and Plan. It is built from the coords step (`coords`).
- What it achieves (name): Defines `read`, `open`, `step` and 1 more. It reads `./south-meadow-fictional.json`.
- What it does: It tests its inputs. Defines read, open, step, coords. Uses libraries node:assert/strict, node:fs, node:test. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): 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 south-meadow-fictional.json; JSON file road.json; GeoJSON file bristol-footpaths.geojson.
- Signatures: `read(path)`; `open(doc = job)`; `step(coordinates, accuracyM = 3)`; `coords(code)`
- domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file south-meadow-fictional.json; JSON file road.json; GeoJSON file bristol-footpaths.geojson]; out []; crs []; voltages []
- Edges: uses 2 estate files (import 2); used by 0; mentioned by 0
### Orient17a Continuity Test
- File: gridatlas/tools/satnav/walk/orient17a-continuity.test.mjs (JavaScript, 34 lines) · role test · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/orient17a-continuity.test.mjs#L1-L34
- Page: https://code.globalgrid2050.com/explore-code/s/0687.html#f7
- Synopsis: A test in the walk folder of GridAtlas that checks Orient17a Continuity Direct.
- What it achieves (name): Defines `observe`.
- What it does: It tests its inputs. Defines observe, eq. Uses libraries node:assert/strict.
- Why it exists in the grid workflow: Domain stage field_execution (path 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.
- Signatures: `observe(t,p=0,a=3,now=t)`; `eq(actual,expected,label)`
- 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 1 estate file (import 1); used by 0; mentioned by 0
### VEDIC Regional Core Test
- File: gridatlas/tools/vedic/regional-core.test.mjs (JavaScript, 48 lines) · role test · stage transform · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vedic/regional-core.test.mjs#L1-L48
- Page: https://code.globalgrid2050.com/explore-code/s/0696.html#f2
- Synopsis: A test in the tools folder of GridAtlas that checks VEDIC Regional Core, using EPSG:27700.
- What it achieves (name): It runs tests (`runTests`) and is built from the oracle step (`oracle`) and the clip step (`clip`). Defines `runTests`, `ids`, `key` and 3 more.
- What it does: It tests its inputs. Defines 6 functions or classes, including runTests, ids, key, oracle, clip.
- Why it exists in the grid workflow: Domain stage agent_infra (path word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief).
- Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid).
- Signatures: `runTests()`; `ids(a)`; `key(i,j)`; `oracle(a,b,x,y,p,r,metric)`; `clip(L,D,H,U)`; `dist(q,c,e)`
- domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages []
- Edges: uses 1 estate file (import 1); used by 0; mentioned by 0
### VEDIC Regional Stream Test
- File: gridatlas/tools/vedic/regional-stream.test.mjs (JavaScript, 70 lines) · role test · stage ingest · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vedic/regional-stream.test.mjs#L1-L70
- Page: https://code.globalgrid2050.com/explore-code/s/0696.html#f4
- Synopsis: A test in the tools folder of GridAtlas that checks VEDIC Regional Io and VEDIC Road Topology, using SHA-256.
- What it achieves (name): It is built from the good step (`good`), the fetcher step (`fetcher`) and the rel step (`rel`). Defines `check`, `equal`, `rejects` and 3 more.
- What it does: It tests its inputs. Defines 9 functions or classes, including check, equal, rejects, e, good. Uses libraries node:assert/strict, node:crypto, node:fs. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage agent_infra (path word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief).
- Inputs & outputs: In: command-line arguments.
- Signatures: `check(value,message)`; `equal(a,b)`; `rejects(fn,pattern)`; `e(key)`; `good()`; `fetcher(url,{signal})`; `n(id,lat,lon)`; `w(id,nodes,tags={})`; `rel(id,from,via,to,rule)`
- domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [command-line arguments]; out []; crs []; voltages []
- Edges: uses 2 estate files (import 2); used by 0; mentioned by 0
### VEDIC Snapshot Routing Test
- File: gridatlas/tools/vedic/snapshot-routing.test.mjs (JavaScript, 38 lines) · role test · stage ingest · not reached (candidate for review)
- Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vedic/snapshot-routing.test.mjs#L1-L38
- Page: https://code.globalgrid2050.com/explore-code/s/0696.html#f6
- Synopsis: A test in the tools folder of GridAtlas that checks VEDIC Snapshot Routing, using SHA-256.
- What it achieves (name): Defines `digest`. It reads `/topology.json`.
- What it does: It tests its inputs. Defines digest, w. Uses libraries node:assert/strict, node:fs, node:crypto. Side effects: reads or writes files.
- Why it exists in the grid workflow: Domain stage agent_infra (path word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief).
- Inputs & outputs: In: JSON file topology.json; command-line arguments.
- Signatures: `digest(p)`; `w(e)`
- domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived
- data_contracts: in [JSON file topology.json; command-line arguments]; out []; crs []; voltages []
- Edges: uses 1 estate file (import 1); used by 0; mentioned by 0