GLOBALGRID2050 / EXPLORE CODE

Part of: Explore Code / Kuiper, cosmos and drawing engines / globalgrid2050 / kuiper-grid/i0097

Manual and 5 more files

A web page in the kuiper grid folder of GlobalGrid2050 covering substations, cables and solar. Published at https://globalgrid2050.com/kuiper-grid/manual.html.

700 lines of HTML from globalgrid2050, in 6 files. Topic: Kuiper, cosmos and drawing engines. Section 1454 of 2044.

Cut 2026-12-06T03:07:51+00:00. A copy for reading; the repository at the stated commit is the source.

In the State lines below, domain stage, users and canonical status are rule-based first approximations from code and path evidence (rules explore-agent-rules-v1), not observed facts: the rules.

In this section

  1. Kuiper Grid — I0097 Page render · globalgrid2050 / kuiper-grid/i0097/index.html lines 1–108
  2. GlobalGrid2050 — Kuiper Grid Page render · globalgrid2050 / kuiper-grid/index.html lines 1–83
  3. Manual render · globalgrid2050 / kuiper-grid/manual.html lines 1–260
  4. GlobalGrid2050 — Kuiper Page render · globalgrid2050 / kuiper/index.html lines 1–115
  5. Testcode — V03 Particle Universe Page render · globalgrid2050 / testcode/202609141522/v03-particle-universe/index.html lines 1–76
  6. Testcode — V04 Periodic Arrows Page render · globalgrid2050 / testcode/202609141522/v04-periodic-arrows/index.html lines 1–58

Kuiper Grid — I0097 Page

A web page in GlobalGrid2050 that uses SHA-256. Published at https://globalgrid2050.com/kuiper-grid/i0097/. It is built from the must step (`must`), the attr step (`attr`) and the sha256 step (`sha256`).

renderglobalgrid2050 / kuiper-grid/i0097/index.html · lines 1–108 of 108 · Entry point

What it does
It draws its content. Defines must, attr, sha256. Uses libraries …/NAME, ' + attr(url.href) + '. Side effects: changes the web page (DOM); makes network requests.
Why it exists in the grid workflow
Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief).
Inputs & outputs
In: JSON file current.json. Out: web page.
Downstream impact
Used directly by 3 files: GlobalGrid2050 — Kuiper Grid Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/); Manual (globalgrid2050, https://globalgrid2050.com/kuiper-grid/manual.html); GlobalGrid2050 — Plant Page (globalgrid2050, https://globalgrid2050.com/plant/). Reached from 106 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); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/i0097/.
What it achieves
THE WAY OUT. This page is a composer: with script off, or with a refused record, it renders nothing a reader can click. It reads `./current.json`.
Why it matters
Loaded by the Kuiper Grid page at https://globalgrid2050.com/kuiper-grid/ and 2 other pages.
Application
globalgrid2050 · kuiper-grid/i0097 · page
Uses
Manual (link), GlobalGrid2050 — Plant Page (link), GlobalGrid2050 — Kuiper Grid Page (link), GlobalGrid2050 — Compute Page (link), …/NAME, ' + attr(url.href) + '
Used by
linked from GlobalGrid2050 — Kuiper Grid Page (link), linked from Manual (link), linked from GlobalGrid2050 — Plant Page (link)
Produces
must, attr, sha256
Defines here
must, attr, sha256
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 kuiper-grid/i0097/index.html:1-108 · blob eff8b69f22d65e4d04dacec9317cff8a5ddf33d5 · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: output · effects: dom, network · domain stage: agent_infra · users: ai_agent · canonical: production_core
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width,initial-scale=1">
  <title>globalgrid2050</title>
  <style>
    html,body{margin:0;background:#0b0d12;color:#d8dee9;font:13px/1.5 ui-monospace,Menlo,Consolas,monospace}
    #composer{display:grid;place-items:center;min-height:50vh;padding:24px;text-align:center}
    #composer strong{color:#5ec8f2;letter-spacing:.1em}
    #composer small{color:#8b93a7}
    #waysout{max-width:44rem;margin:0 auto;padding:0 20px 40px;border-top:1px solid #1b2030}
    #waysout h2{font-size:14px;color:#5ec8f2;letter-spacing:.06em;text-transform:uppercase;margin:24px 0 8px}
    #waysout p{color:#8b93a7;margin:8px 0}
    #waysout ul{margin:10px 0;padding-left:1.1rem}
    #waysout li{margin:7px 0;color:#8b93a7}
    #waysout a{color:#5ec8f2;font-weight:600}
    #waysout .small{font-size:12px;color:#6f7789}
  </style>
</head>
<body data-composer="loading">
  <main id="composer"><div><strong>GLOBALGRID2050</strong><br>checking this page against its record…<br><small>provided as is, without warranty of any kind; a chart, not a design</small></div></main>
  <!-- THE WAY OUT. This page is a composer: with script off, or with a refused
       record, it renders nothing a reader can click. Plain anchors, in the
       served bytes, so this build is never a dead end. -->
  <nav id="waysout">
    <h2>Build i0097 &mdash; part of the Kuiper</h2>
    <p>This address loads one development build. If it has not loaded, or you have script switched off, start from the plain pages:</p>
    <ul>
      <li><a href="/kuiper-grid/manual.html">The manual</a> &mdash; what this is, what to type, what the answer means, and what it refuses</li>
      <li><a href="/plant/">Will this string go over 1500&nbsp;V on the coldest morning?</a> &mdash; three commands ready to copy</li>
      <li><a href="/kuiper-grid/">All development builds</a></li>
      <li><a href="/compute/">Independent compute</a> &nbsp;&middot;&nbsp; <a href="/">Everything else published here</a></li>
    </ul>
    <p class="small">A development build. Two of the four limits this engine measures a design against have no source in any document, and a verdict that turns on one of them is provisional. <a href="/kuiper-grid/manual.html#unsourced">The manual says which.</a></p>
    <p class="small">A chart, not a design. Not a connection offer, not a constructability assessment, not a consenting design. No output of it is engineering.</p>
  </nav>
  <script type="module">
    // THE COMPOSER. GridAtlas's pattern as it stands (gridatlas/atlas/index.html): one frozen shell, features as hashed
    // cartridges, and current.json, the pointer, saying which. This page is the ONE ADDRESS that never changes. It reads
    // the pointer, fetches the shell, fetches every cartridge the pointer names, and lets a cartridge in ONLY if its
    // bytes hash to what the pointer says. A release is a change to the pointer; a rollback is the pointer put back;
    // the shell is never edited. If anything does not match, nothing runs and the page says so in plain words.
    //
    // Two slots:  replace-script  the shell's <script src="…/NAME"> is pointed at the cartridge instead
    //             import-map      an import of NAME anywhere in the shell resolves to the cartridge instead
    // A cartridge is ONE file with no imports of its own neighbours: one file, one job.
    const CLOSE = '</scr' + 'ipt>';
    const box = document.getElementById('composer');
    const must = (ok, why) => { if (!ok) throw new Error(why); };
    const attr = v => String(v).replace(/&/g, '&amp;').replace(/"/g, '&quot;').replace(/</g, '&lt;');
    const sha256 = async bytes => [...new Uint8Array(await crypto.subtle.digest('SHA-256', bytes))].map(b => b.toString(16).padStart(2, '0')).join('');

    try {
      const r = await fetch('./current.json', { cache: 'no-store' });
      must(r.ok, 'the record of this page could not be read (' + r.status + ')');
      const cur = await r.json();
      must(cur && cur.schema === 'globalgrid.current.v1', 'the record of this page is in a form this page does not know');
      must(cur.architecture === 'IMMUTABLE_SHELL_PLUS_HASHED_CARTRIDGES', 'the record of this page names another architecture');
      must(Array.isArray(cur.cartridge_order) && Array.isArray(cur.cartridges) && cur.shell, 'the record of this page is incomplete');

      const shellUrl = new URL(cur.shell.index, location.href), shellBase = new URL(cur.shell.base, location.href).href;
      const sr = await fetch(shellUrl, { cache: 'no-store' });
      must(sr.ok, 'the page itself could not be fetched (' + sr.status + ')');
      const shellBytes = await sr.arrayBuffer();
      must(await sha256(shellBytes) === cur.shell.sha256, 'the page itself is not the one that was released');
      let html = new TextDecoder('utf-8').decode(shellBytes);
      must(/<head\b/i.test(html) && /<body\b/i.test(html), 'the page itself is not a page');

      const byId = new Map(cur.cartridges.map(c => [c.id, c])), loaded = [], imports = {};
      const tags = new RegExp('<script\\b([^>]*)\\bsrc=(["\'])([^"\']+)\\2([^>]*)>\\s*<\\/script>', 'gi');
      for (const id of cur.cartridge_order) {
        const c = byId.get(id);
        must(c, 'a part named in the record is missing from it: ' + id);
        must(/^[a-f0-9]{64}$/.test(c.sha256 || ''), id + ': the record holds no fingerprint for it');
        must(c.slot === 'replace-script' || c.slot === 'import-map', id + ': a slot this page does not have');
        must(typeof c.replaces === 'string' && c.replaces, id + ': the record does not say what it replaces');
        const url = new URL(c.path, location.href);
        const cr = await fetch(url, { cache: 'no-store' });
        must(cr.ok, id + ' could not be fetched (' + cr.status + ')');
        must(await sha256(await cr.arrayBuffer()) === c.sha256, id + ' is not the file that was released');
        if (c.slot === 'import-map') imports[new URL(c.replaces, shellBase).href] = url.href;
        else {
          let done = false;
          html = html.replace(tags, (full, a, q, src, b) => {
            if (done || String(src).split(/[?#]/)[0].split('/').pop() !== c.replaces) return full;   // matched by file name
            done = true;
            return '<script' + a + 'data-cartridge="' + attr(id) + '" src="' + attr(url.href) + '"' + b + '>' + CLOSE;
          });
          must(done, id + ': the page has no place for it (' + c.replaces + ')');
        }
        loaded.push({ id, generation: c.generation, sha256: c.sha256 });
      }
      const state = JSON.stringify({ schema: cur.schema, generation: cur.generation, shell: cur.shell, cartridges: loaded }).replace(/</g, '\\u003c');
      const head = '\n<base href="' + attr(shellBase) + '">'
        + (Object.keys(imports).length ? '\n<script type="importmap">' + JSON.stringify({ imports }).replace(/</g, '\\u003c') + CLOSE : '')
        + '\n<script>window.__COMPOSED__=' + state + ';document.documentElement.dataset.generation=' + JSON.stringify(cur.generation) + ';' + CLOSE;
      html = html.replace(/<head([^>]*)>/i, m => m + head);
      document.open(); document.write(html); document.close();
    } catch (e) {
      console.error('[composer]', e);
      document.body.dataset.composer = 'refused';
      box.innerHTML = '<div><strong>THIS PAGE DID NOT OPEN</strong><br>' + String(e && e.message || e).replace(/[<>&]/g, '')
        + '<br><small>Nothing was run. The released page has not been changed. The plain pages below still work.<br>provided as is, without warranty of any kind; a chart, not a design</small></div>';
    }
  </script>
</body>
</html>

GlobalGrid2050 — Kuiper Grid Page

A web page covering solar and substations. Published at https://globalgrid2050.com/kuiper-grid/.

renderglobalgrid2050 / kuiper-grid/index.html · lines 1–83 of 83 · Entry point

What it does
It draws solar and substations. Side effects: changes the web page (DOM).
Why it exists in the grid workflow
Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: solar, substations, 400kV.
Inputs & outputs
Out: web page. Voltage levels named: 400kV.
Downstream impact
Used directly by 26 files: Kuiper Grid — Drawing Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/drawing/); Kuiper Grid — I0073 Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/i0073/); Kuiper Grid — I0083 Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/i0083/); Kuiper Grid — I0084 Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/i0084/); and 22 more. Reached from 83 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.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://globalgrid2050.com/kuiper-grid/.
What it achieves
The Kuiper: the grid as a map (development builds, 20 September 2026). Its code works with 400 kV.
Why it matters
Loaded by the Drawing page at https://globalgrid2050.com/kuiper-grid/drawing/ and 25 other pages.
Application
globalgrid2050 · kuiper-grid · page
Uses
Kuiper Grid — Drawing Page (link), Manual (link), GlobalGrid2050 — Plant Page (link), GlobalGrid2050 — Compute Page (link), Kuiper Grid — I0097 Page (link), Kuiper Grid — I0096 Page (link), Kuiper Grid — I0095 Page (link), Kuiper Grid — I0094 Page (link), and 12 more
Used by
linked from Kuiper Grid — Drawing Page (link), linked from Kuiper Grid — I0073 Page (link), linked from Kuiper Grid — I0083 Page (link), linked from Kuiper Grid — I0084 Page (link), linked from Kuiper Grid — I0085 Page (link), linked from Kuiper Grid — I0086 Page (link), linked from Kuiper Grid — I0087 Page (link), linked from Kuiper Grid — I0088 Page (link), and 18 more
Produces
none declared
Defines here
none
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 kuiper-grid/index.html:1-83 · blob 7b93a8b7f9e3006f1dfeb083e50a046a668bdc5e · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: output · effects: dom · domain stage: agent_infra · users: ai_agent · canonical: production_core
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>The Kuiper: the grid as a map (development builds, 20 September 2026)</title>
<style>
  :root { color-scheme: dark; }
  html, body { margin: 0; padding: 0; background: #000; color: #e6e6e6; }
  body {
    font-family: ui-monospace, Consolas, "Courier New", monospace;
    font-size: 16px;
    line-height: 1.55;
    padding: 20px 16px 48px;
    max-width: 44rem;
  }
  h1 { font-size: 1.25rem; line-height: 1.35; margin: 0 0 1rem; font-weight: 700; }
  h2 { font-size: 1rem; margin: 2rem 0 0.5rem; font-weight: 700; color: #9fd0ff; }
  .warn {
    border: 1px solid #ff4d4d;
    color: #ff6b6b;
    padding: 12px;
    margin: 0 0 1.5rem;
    font-weight: 700;
  }
  ul { list-style: none; margin: 0; padding: 0; }
  li { margin: 0 0 1rem; }
  a { color: #7fc4ff; }
  a:visited { color: #b79bff; }
  .name { display: block; font-weight: 700; font-size: 1.05rem; }
  .note { display: block; color: #bdbdbd; }
  .fault { color: #ffb37a; }
  .example { color: #ffb37a; }
  footer { margin-top: 2.5rem; border-top: 1px solid #333; padding-top: 1rem; color: #b0b0b0; font-size: 0.9rem; }
  footer a { word-break: break-all; }
</style>
</head>
<body>
<p style="font:12px monospace;opacity:.7;margin:8px 16px">Earlier builds: i0073 and i0083 to i0097. <a href="/">home</a></p>
<h1>The Kuiper: the grid as a map (development builds, 20 September 2026)</h1>

<p class="warn">DEVELOPMENT ENVIRONMENT. Maps drawn from open data: not a statement about what any asset can carry, how much of that is already committed, or what is connected. Not a design. Consult qualified engineers.</p>

<h2>Start here</h2>
<ul>
  <li><a href="drawing/"><span class="name">Solar array drawing &mdash; generic modules and string wiring</span></a><span class="note">Place and rotate modules, edit cable routes, and explore a configurable 500 MWp example. Geometry uses entered assumptions; site fit and electrical design checks remain separate. <a href="drawing/NOTICE.md">Source and licences</a>.</span></li>
  <li><a href="manual.html"><span class="name">The manual &mdash; read this first</span></a><span class="note">What this is, what to type, what the answer means, what it refuses and why, and the two limits it measures against that have no source in any document.</span></li>
  <li><a href="/plant/"><span class="name">Will this string go over 1500&nbsp;V on the coldest morning?</span></a><span class="note">Three commands, ready to copy. One passes by 2.5&nbsp;V, one fails by 4.0&nbsp;V, one is refused.</span></li>
  <li><a href="../compute/"><span class="name">Independent compute</span></a><span class="note">The method behind the figures, and the solar block models.</span></li>
  <li><a href="/"><span class="name">Everything else published here</span></a><span class="note">The front page of the estate.</span></li>
</ul>

<h2>Builds</h2>
<ul>
  <li><a href="i0097/index.html"><span class="name">i0097 &mdash; a verdict that could not be seen</span></a><span class="note">One of the four checks was worked out, written into the words, and never given to the picture. Each failed implemented check now changes the drawing.</span></li>
  <li><a href="i0096/index.html"><span class="name">i0096 &mdash; the numbers and the drawing at once</span></a><span class="note">On a phone the result window docked over the drawing it described, and the button labelled minimise made it bigger. Both fixed.</span></li>
  <li><a href="i0095/index.html"><span class="name">i0095 &mdash; the plant drawing has a way in</span></a><span class="note">The command that draws the whole plant now appears as a chip. It existed since i0092 and could only be reached by being told it.</span></li>
  <li><a href="i0094/index.html"><span class="name">i0094 &mdash; which sheet states its own condition</span></a><span class="note">One family's rear-irradiance condition is printed and one is not. The card now says which, instead of calling both of them derived.</span></li>
  <li><a href="i0093/index.html"><span class="name">i0093 &mdash; the plant, and a refusal</span></a><span class="note">An input it cannot stand behind is refused in words. Nothing is drawn, and no default answers in its place.</span></li>
  <li><a href="i0092/index.html"><span class="name">i0092 &mdash; the whole plant in one drawing</span></a><span class="note">A tube map, not a single line diagram: grid, interface, collection busbar and one column per block. Teeth are groups of strings, never strings.</span></li>
  <li><a href="i0089/index.html"><span class="name">i0089 &mdash; grid tube map, cage pulse and local-system view</span></a><span class="note">The local-system view uses <span class="example">reference data</span>.</span></li>
  <li><a href="i0090/index.html"><span class="name">i0090 &mdash; one 400 kV substation and every way out</span></a></li>
  <li><a href="i0086/index.html"><span class="name">i0086 &mdash; systems menu and the Faraday pulse</span></a></li>
  <li><a href="i0091/index.html"><span class="name">i0091 &mdash; solar DC string picture</span></a><span class="note fault">Known limitation: home runs are drawn across module backs on two-row layouts.</span></li>
  <li><a href="i0083/index.html"><span class="name">i0083 &mdash; solar DC string picture (earlier)</span></a><span class="note fault">Known limitation: home runs are drawn across module backs on two-row layouts.</span></li>
  <li><a href="i0087/index.html"><span class="name">i0087 &mdash; earlier grid build</span></a></li>
  <li><a href="i0088/index.html"><span class="name">i0088 &mdash; earlier grid build</span></a></li>
  <li><a href="i0084/index.html"><span class="name">i0084 &mdash; systems pulse</span></a></li>
  <li><a href="i0085/index.html"><span class="name">i0085 &mdash; earlier substation build</span></a></li>
  <li><a href="i0073/index.html"><span class="name">i0073 &mdash; earlier solar build</span></a></li>
</ul>

<h2>Also here</h2>
<ul>
    <li><a href="../compute/">Independent compute &mdash; the method behind the figures, and the solar block models</a></li>
</ul>

<footer>
<p>Contains open map data &copy; OpenStreetMap contributors, available under the Open Database License (ODbL) v1.0; any derived database is shared alike. <a href="https://www.openstreetmap.org/copyright">https://www.openstreetmap.org/copyright</a></p>
<p>Licences vary by build; see each build's source and licence notices. No warranty is given.</p>
</footer>
</body>
</html>

Manual

A web page in the kuiper grid folder of GlobalGrid2050 covering substations, cables and solar. Published at https://globalgrid2050.com/kuiper-grid/manual.html.

renderglobalgrid2050 / kuiper-grid/manual.html · lines 1–260 of 260 · Entry point

What it does
It draws substations, cables and solar. Side effects: changes the web page (DOM).
Why it exists in the grid workflow
Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: substations, cables, solar, 400kV, 1500V.
Inputs & outputs
Out: web page. Voltage levels named: 400kV, 1500V.
Downstream impact
Used directly by 25 files: Kuiper Grid — I0073 Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/i0073/); Kuiper Grid — I0083 Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/i0083/); Kuiper Grid — I0084 Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/i0084/); Kuiper Grid — I0085 Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/i0085/); and 21 more. Reached from 84 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.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://globalgrid2050.com/kuiper-grid/manual.html.
What it achieves
The Kuiper manual: what it is, what to type, and what it will not tell you. Its code works with 400 kV.
Why it matters
Loaded by the I0073 page at https://globalgrid2050.com/kuiper-grid/i0073/ and 24 other pages.
Application
globalgrid2050 · kuiper-grid · page
Uses
GlobalGrid2050 — Kuiper Grid Page (link), GlobalGrid2050 — Plant Page (link), GlobalGrid2050 — Compute Page (link), Kuiper Grid — I0097 Page (link)
Used by
linked from Kuiper Grid — I0073 Page (link), linked from Kuiper Grid — I0083 Page (link), linked from Kuiper Grid — I0084 Page (link), linked from Kuiper Grid — I0085 Page (link), linked from Kuiper Grid — I0086 Page (link), linked from Kuiper Grid — I0087 Page (link), linked from Kuiper Grid — I0088 Page (link), linked from Kuiper Grid — I0089 Page (link), and 17 more
Produces
none declared
Defines here
none
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 kuiper-grid/manual.html:1-260 · blob fe69b8d8f01b2b64055ef8087f2c285d95c8b362 · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: output · effects: dom · domain stage: agent_infra · users: ai_agent · canonical: production_core
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>The Kuiper manual: what it is, what to type, and what it will not tell you</title>
<style>
:root{color-scheme:dark}
*{box-sizing:border-box}
body{margin:0;padding:24px 16px 64px;background:#07090d;color:#cfe3f2;
 font:16px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;-webkit-text-size-adjust:100%}
main{max-width:46rem;margin:0 auto}
h1{font-size:23px;line-height:1.25;color:#fff;margin:0 0 4px;letter-spacing:.01em}
h2{font-size:18px;color:#5ec8f2;margin:34px 0 8px;line-height:1.3}
h3{font-size:15px;color:#e6e9f0;margin:22px 0 6px}
p{margin:.7rem 0;overflow-wrap:break-word}
strong{color:#fff;font-weight:600}
em{color:#f2b05e;font-style:normal}
code{background:#11151f;border:1px solid #1b2030;border-radius:4px;padding:1px 5px;
 font-size:13.5px;color:#cfe3f2;overflow-wrap:break-word}
pre{background:#11151f;border:1px solid #1b2030;border-radius:6px;padding:10px 12px;margin:10px 0;
 font-size:12.5px;line-height:1.55;color:#cfe3f2;overflow-x:auto;white-space:pre-wrap;word-break:break-word}
ul{margin:.7rem 0;padding-left:1.1rem}
li{margin:.45rem 0}
hr{border:0;border-top:1px solid #1b2030;margin:30px 0}
a{color:#5ec8f2;overflow-wrap:break-word}
figure{margin:14px 0}
figure img{display:block;width:100%;max-width:280px;height:auto;border:1px solid #1b2030;border-radius:8px;background:#0b0e14}
figcaption{font-size:11.5px;color:#8b93a7;margin-top:5px;overflow-wrap:break-word}
.box{border:1px solid #2a3142;border-radius:6px;padding:12px 14px;margin:14px 0;background:#0b0e14}
.box.red{border-color:#5a2230;background:#130a0d}
.box.red strong{color:#ff8a8a}
.box.amber{border-color:#5a4520;background:#130f07}
.box.amber strong{color:#f2b05e}
dl.grammar{margin:10px 0}
dl.grammar dt{color:#e6e9f0;font-weight:600;margin-top:10px}
dl.grammar dd{margin:2px 0 0 0;color:#a9b4c6}
table.fig{border-collapse:collapse;width:100%;font-size:13px;margin:10px 0}
table.fig th,table.fig td{border-bottom:1px solid #1b2030;padding:6px 8px;text-align:left;vertical-align:top}
table.fig th{color:#5ec8f2;font-weight:600}
table.fig td.n{font-variant-numeric:tabular-nums;white-space:nowrap}
@media(max-width:420px){body{padding:18px 16px 56px}h1{font-size:21px}h2{font-size:17px}pre{font-size:12px}}
</style>
</head>
<body>
<p style="font:12px monospace;opacity:.7;margin:8px 16px">Builds i0073 and i0083 to i0097. &middot; <a href="/">home</a> &middot; <a href="/kuiper-grid/">all builds</a> &middot; <a href="/plant/">the plant drawing</a> &middot; <a href="/compute/">independent compute</a></p>
<main>
<h1>The Kuiper manual: what it is, what to type, and what it will not tell you</h1>
<p>Ventus Ltd</p>
<div class="box">
<p><strong>If you have never seen this before, read this box and nothing else.</strong></p>
<p>This is a drawing engine that runs in your browser. You type a short command; it draws a picture of part of an electrical system and opens a card with the numbers and with a statement of how it got them. Nothing is installed and nothing you type leaves your device.</p>
<p>Every command has the same shape:</p>
<pre>fire &lt;what&gt; {&lt;arguments as JSON&gt;}</pre>
<p><code>fire</code> is always the first word. <code>&lt;what&gt;</code> names the thing to draw &mdash; <code>grid</code>, <code>substation</code>, <code>local</code>, <code>string</code>, <code>block</code>, <code>site</code>. The braces hold ordinary JSON: double quotes around names and around text, bare digits for numbers, commas between pairs. <code>{}</code> means &ldquo;no arguments, use th  … [line shortened here: 565 characters; full line on GitHub]
<p><strong>What the answer means.</strong> The card is a reading of a drawing, not a result of a study. A <em>solid</em> line was read from data. A <em>dashed</em> line was assumed by the engine, and the card counts its assumptions out loud. Where the engine tests a design against a limit, it names the limit and says whether that limit can be pointed at in a document &mdash; see <a href="#unsource  … [line shortened here: 466 characters; full line on GitHub]
</div>

<div class="box amber">
<p><strong>It refuses, and that is the feature.</strong></p>
<p>Given something it cannot stand behind, the engine writes a refusal in words and draws nothing. It does not quietly substitute a default and answer anyway. Three things it refuses:</p>
<ul>
<li><strong>A value of the wrong kind.</strong> <code>fire site {&quot;modules_in_series&quot;:&quot;thirty&quot;}</code> &mdash; a count given as words. It says so; nothing is drawn.</li>
<li><strong>A name it does not hold.</strong> Ask for a station that is not in the data and it lists the nearest names it does hold, so the question can be asked again. It does not pick the closest match for you.</li>
<li><strong>A missing argument a default would have to invent.</strong> <code>fire grid {&quot;view&quot;:&quot;region&quot;}</code> with no place: a region has to be a radius around somewhere, so it says a place is required rather than silently taking the whole network.</li>
</ul>
<p>A refusal is the most useful output this engine produces, because the alternative &mdash; a plausible number standing in for one nobody supplied &mdash; is indistinguishable from an answer.</p>
</div>

<div class="box red">
<p><strong>What this is not.</strong></p>
<ul>
<li>It is <strong>not a connection offer</strong> and not a connection assessment. It says nothing about what any asset can carry, how much of that is already committed, or what is connected to what at any moment.</li>
<li>It is <strong>not a constructability assessment</strong>. It does not establish that anything drawn here can be built.</li>
<li>It is <strong>not a consenting design</strong> and carries no planning, environmental or land status.</li>
<li><strong>No output of it is engineering.</strong> Engineering carries a named, qualified engineer who takes responsibility for it. Nothing here does. It is a chart that says where to look and where to simulate properly; it does not say what a proper simulation will find.</li>
<li>No project, site, client, maker or model is named anywhere in this work. Any name you see in an example is either printed in open map data or is a written fixture, and is labelled as such.</li>
</ul>
</div>

<h2 id="unsourced">The honest limit: two of the four limits have no source</h2>
<p>When the engine judges a solar design, it measures it against four limits. Two of them are printed on the source documents. Two of them are not, and were carried in the code as if they were.</p>
<table class="fig">
<tr><th>Limit</th><th>Value</th><th>Where it comes from</th></tr>
<tr><td>Maximum system voltage</td><td class="n">1500 V DC</td><td>Printed on the source documents, on every bin.</td></tr>
<tr><td>Maximum series fuse</td><td class="n">35 A</td><td>Printed on the source documents, per bin.</td></tr>
<tr><td>Per-input current limit</td><td class="n">40 A</td><td><strong>No source.</strong> Recorded as <em>absent</em> from both source documents.</td></tr>
<tr><td>String current limit</td><td class="n">20 A</td><td><strong>No source.</strong> It appears nowhere in the evidence base at all.</td></tr>
</table>
<p><strong>A verdict that turns on either of the bottom two is provisional and is marked as such.</strong> It is a fact about an invented constant, not about any hardware. This is stated here, in the public text, because the alternative &mdash; publishing four limits as though they were equally well founded &mdash; is the exact failure this manual exists to prevent.</p>
<p>It is not a small corner of the problem. Swept over a fixed box of 1,000,008,375,000 cases, the rule resting on the unsourced 40 A constant claims 605,428,046,670 of them &mdash; <strong>about three cases in five</strong>. The rule resting on the unsourced 20 A constant claims 349,356,466,155, about one in three. The rule resting on the printed 1500 V rating claims 319,769,650,900, just under o  … [line shortened here: 501 characters; full line on GitHub]
<p class="note"><em>Read those figures carefully.</em> A rule&rsquo;s volume is a property of that rule over that box at that step size. Change the box or halve the step and the numbers change; that is geometry, not physics. And the two arithmetic paths that produced them were both built here, so their agreement proves consistency, never truth.</p>
<hr>

<p>The Kuiper turns energy-system data into interactive engineering drawings. It is built to explore network topology, local systems and solar electrical layouts visually, while distinguishing source data from inferred relationships at every point. It is an exploration and communication environment, not a substitute for detailed engineering design or network studies.</p>
<h2>How the Kuiper works</h2>
<p>The Kuiper is a drawing engine that runs entirely in the browser on a static page. Nothing is installed, and no data leaves the device.</p>
<ul><li><strong>The bar.</strong> A command bar sits at the foot of the screen, labelled <em>tap here for the commands</em>. Select it, type a command and press Enter.</li><li><strong>The pop-up.</strong> If you would rather not type, select the bar and choose from the list that opens. Each entry fills the bar with a complete, working command, so you can see what you have chosen and amend a single  … [line shortened here: 1,359 characters; full line on GitHub]
<p>Eleven worked simulations follow. Every one of them was run on a phone-sized screen, 390 pixels wide.</p>
<p><strong>Scope and limitations.</strong> The drawing is derived from open map data. It does not state what any asset can carry, how much of that is already committed, or what is connected to what at any given moment. Inferred joins are drawn dashed. A route on this map must not be read as a circuit.</p>
<hr>
<h2>1. View the complete drawn network</h2>
<p><strong>Open:</strong> <code>kuiper-grid/i0089/</code></p>
<p><strong>Type:</strong></p>
<pre>fire grid</pre>
<p><strong>On firing.</strong> The ring sweeps outward and leaves the whole drawn network lit: approximately 5,800 stations and the links between them, laid out as a schematic diagram in the manner of a transit map rather than to geographic scale. The card reads <em>tap a station, or type a place, to throw the cage around it.</em></p>
<p><strong>Pulse and cage.</strong> The pulse selects everything here, so no cage is drawn. This is the starting view that every other grid command narrows.</p>
<p><strong>Limitations.</strong> The drawing does not state what any part of the network can carry. It is derived from open map data and does not describe what is connected. Inferred joins are drawn dashed.</p>
<figure><img src="manual-shots/0089-s01-whole-network.png" alt="phone screenshot"><figcaption>manual-shots/0089-s01-whole-network.png</figcaption></figure>
<hr>
<h2>2. Focus on a single station</h2>
<p><strong>Open:</strong> <code>kuiper-grid/i0089/</code></p>
<p><strong>Type:</strong></p>
<pre>fire grid {&quot;place&quot;:&quot;Minety Substation&quot;}</pre>
<p><strong>On firing.</strong> The ring sweeps outward from that station, leaves it and its immediate neighbours lit, draws a cage around them and opens a card: <em>the cage is around Minety Substation: 7 stations within 2 hops.</em></p>
<p><strong>Pulse and cage.</strong> Two hops is the default. The pulse walks two stops out along the drawn network; the cage is the outline of everything it reached.</p>
<p><strong>If the name is not found,</strong> the card lists the nearest names held in the data so the query can be repeated. Any name printed in the data will work; this one is an example.</p>
<p><strong>Scope.</strong> Topology only: the drawing does not establish whether those seven stations are electrically connected today. See the scope statement above.</p>
<figure><img src="manual-shots/0089-s02-one-station.png" alt="phone screenshot"><figcaption>manual-shots/0089-s02-one-station.png</figcaption></figure>
<hr>
<h2>3. Extend the search to three hops</h2>
<p><strong>Open:</strong> <code>kuiper-grid/i0089/</code></p>
<p><strong>Type:</strong></p>
<pre>fire grid {&quot;place&quot;:&quot;Minety Substation&quot;,&quot;hops&quot;:3}</pre>
<p><strong>On firing.</strong> The same station, but the ring travels one stop further before it stops, and the cage grows to match. The card names the hop count it used, so the view being examined is never in doubt.</p>
<p><strong>Pulse and cage.</strong> Hops are counted along the drawn network, not across the ground. One, two and three are the permitted range.</p>
<p><strong>Scope.</strong> Three hops is a path through the drawing, not an established route. See the scope statement above.</p>
<figure><img src="manual-shots/0089-s04-three-hops.png" alt="phone screenshot"><figcaption>manual-shots/0089-s04-three-hops.png</figcaption></figure>
<hr>
<h2>4. Filter to a single voltage class</h2>
<p><strong>Open:</strong> <code>kuiper-grid/i0089/</code></p>
<p><strong>Type:</strong></p>
<pre>fire grid {&quot;place&quot;:&quot;Minety Substation&quot;,&quot;hops&quot;:3,&quot;kv&quot;:400}</pre>
<p><strong>On firing.</strong> The same sweep, but the ring retains only links drawn at the class named. The cage contracts, in some cases to a single station, and the card counts what remains.</p>
<p><strong>Pulse and cage.</strong> This is the most direct way to see how sparse one class is in isolation. If a class is named that the drawing does not hold, the card lists the classes it does hold.</p>
<p><strong>Scope.</strong> The class is a label carried in the map data, not an operating voltage.</p>
<figure><img src="manual-shots/0089-s05-voltage-class.png" alt="phone screenshot"><figcaption>manual-shots/0089-s05-voltage-class.png</figcaption></figure>
<hr>
<h2>5. Draw a region by ground distance</h2>
<p><strong>Open:</strong> <code>kuiper-grid/i0089/</code></p>
<p><strong>Type:</strong></p>
<pre>fire grid {&quot;view&quot;:&quot;region&quot;,&quot;place&quot;:&quot;Minety Substation&quot;,&quot;km&quot;:45}</pre>
<p><strong>On firing.</strong> A radius is taken on the ground around the named place, and every station inside it is laid out as a schematic. The card reads <em>the region within 45 km of Minety Substation: 169 stations.</em></p>
<p><strong>Pulse and cage.</strong> This cage is a distance, not a walk. Hops follow the network; a region disregards it and takes everything within the radius. Comparing a region against a cage of comparable size is the quickest way to see how far the drawn network departs from geography. The radius accepts 5 to 120 km.</p>
<p><strong>A region requires a place.</strong> Without one, the card says so rather than defaulting silently to the whole network.</p>
<p><strong>Scope.</strong> A region is a distance on the ground. The drawing does not state the function of any of those 169 stations.</p>
<figure><img src="manual-shots/0089-s03-region.png" alt="phone screenshot"><figcaption>manual-shots/0089-s03-region.png</figcaption></figure>
<hr>
<h2>6. List the documented local systems</h2>
<p><strong>Open:</strong> <code>kuiper-grid/i0089/</code></p>
<p><strong>Type:</strong></p>
<pre>fire local</pre>
<p><strong>On firing.</strong> The card names each local system that has been documented and prompts for one to be named. It is the index for simulation 7.</p>
<p><strong>Pulse and cage.</strong> No cage is thrown at this stage: this is a question about the drawing, not a selection within it.</p>
<p><strong>Limitations.</strong> Nothing here refers to a real site. The systems listed are <strong>example fixtures</strong>, written to exercise the drawing. Real data is not yet connected to this view.</p>
<figure><img src="manual-shots/0089-s06-local.png" alt="phone screenshot"><figcaption>manual-shots/0089-s06-local.png</figcaption></figure>
<hr>
<h2>7. Open a single local system</h2>
<p><strong>Open:</strong> <code>kuiper-grid/i0089/</code></p>
<p><strong>Type:</strong></p>
<pre>fire local {&quot;station&quot;:&quot;Hartmoor (fixture)&quot;}</pre>
<p><strong>On firing.</strong> The view drops from the national schematic to one station&#x27;s own system: its incomers, its outgoers, and the destination of each. The card states what it had to infer, in plain terms: <em>1 of 5 outgoers end at the edge of the map; 1 join is guessed.</em></p>
<p><strong>Pulse and cage.</strong> The cage here is the boundary of the local system itself. An outgoer that leaves the cage is drawn running off the edge rather than invented.</p>
<p><strong>Limitations.</strong> Nothing here refers to a real place. <strong>The data behind this view is an example fixture</strong>, which is why the word <em>(fixture)</em> appears in the name. Inferred joins are drawn dashed and counted on the card.</p>
<figure><img src="manual-shots/0089-s07-local-one.png" alt="phone screenshot"><figcaption>manual-shots/0089-s07-local-one.png</figcaption></figure>
<hr>
<h2>8. One substation and each connection out of it</h2>
<p><strong>Open:</strong> <code>kuiper-grid/i0090/</code></p>
<p><strong>Type:</strong></p>
<pre>fire substation {&quot;site&quot;:&quot;Barking&quot;}</pre>
<p><strong>On firing.</strong> One substation is drawn with every connection out of it. The card reads <em>Barking: 4 ways out, 6 circuits, 400 kV</em>, followed, unprompted, by <em>4 of 20 values assumed (far end identity)</em>.</p>
<p><strong>Pulse and cage.</strong> The pulse gathers the connections one at a time; the cage is the substation&#x27;s own boundary, with each outgoer crossing it. Inferred far ends are drawn dashed.</p>
<p><strong>To return</strong> to the previous view, type:</p>
<pre>back</pre>
<p><strong>Limitations.</strong> The drawing does not state what those circuits carry or whether they are in service. It is derived from open map data and does not describe what is connected. One in five of the values on this card is inferred, and the card states as much.</p>
<figure><img src="manual-shots/0090-s09-substation.png" alt="phone screenshot"><figcaption>manual-shots/0090-s09-substation.png</figcaption></figure>
<hr>
<h2>9. Wire a single solar string</h2>
<p><strong>Open:</strong> <code>kuiper-grid/i0091/</code></p>
<p><strong>Type:</strong></p>
<pre>fire string {&quot;mounting&quot;:&quot;fixed&quot;,&quot;modules_high&quot;:1,&quot;routing&quot;:&quot;leapfrog&quot;}</pre>
<p>Alternatively, select the bar and choose a preset such as <strong>1P leapfrog</strong> or <strong>2P sequential</strong>. Twelve presets are supplied; each fills the bar with the command it ran, so a single value can be amended and the command fired again.</p>
<p><strong>On firing.</strong> A row of modules is drawn with the string cable threaded through it: leapfrog wiring runs out along alternate modules and returns through the ones it skipped. The card opens with the finding, the drawing&#x27;s own figures, and the standing statement <em>Not real cable or array sizing — consult a design engineer.</em></p>
<p><strong>Pulse and cage.</strong> The pulse runs along the string in the order the cable does, so the route is shown being made rather than described. The cage is the string.</p>
<p><strong>Amending one value:</strong> <code>&quot;routing&quot;:&quot;one-after-another&quot;</code> draws the same row wired in sequence, and the long return cable from the far end becomes visible. That single cable is the case for leapfrog, shown rather than asserted.</p>
<p><strong>Limitations.</strong> Nothing here constitutes a specification for procurement. No figure on this card is taken from a physical test; each is an estimate produced by a model, and every card states this.</p>
<figure><img src="manual-shots/0091-s16-string-leapfrog.png" alt="phone screenshot"><figcaption>manual-shots/0091-s16-string-leapfrog.png</figcaption></figure>
<hr>
<h2>10. Draw a complete inverter block</h2>
<p><strong>Open:</strong> <code>kuiper-grid/i0091/</code></p>
<p><strong>Type:</strong></p>
<pre>fire block {}</pre>
<p><strong>On firing.</strong> Not a single string but every string on one inverter: twenty-four in total, each drawn with its own pair of home runs landing on its own named inverter input. This is the most detailed drawing in the set and takes the longest to settle.</p>
<p><strong>Pulse and cage.</strong> The pulse fills the block string by string. The cage is the block boundary; the inverter inputs sit on it, named, so any one string can be followed from module to terminal.</p>
<p><strong>Limitations.</strong> The drawing does not establish whether the block is buildable. No figure here is taken from a physical test. The same standing statement — <em>Not real cable or array sizing</em> — appears on this card.</p>
<figure><img src="manual-shots/0091-s18-block.png" alt="phone screenshot"><figcaption>manual-shots/0091-s18-block.png</figcaption></figure>
<hr>

<hr>
<h2>11. Will this string go over 1500&nbsp;V on the coldest morning?</h2>
<p><strong>Open:</strong> <a href="i0097/index.html">kuiper-grid/i0097/</a> &nbsp;(or the plain page at <a href="/plant/">/plant/</a>, which carries the same three commands ready to copy)</p>
<p><strong>Type:</strong></p>
<pre>fire site {"module_class":"T660","modules_in_series":30,"site_min_c":-10}</pre>
<p><strong>On firing.</strong> The whole plant is drawn &mdash; grid, interface, collection busbar, one column per block &mdash; and the card states, in volts, where that string sits against the 1500&nbsp;V equipment rating. This one clears it by <strong>2.5&nbsp;V</strong>. That is the entire margin: two and a half volts on fifteen hundred.</p>
<p><strong>The three arguments.</strong></p>
<dl class="grammar">
<dt><code>"module_class"</code> &mdash; text, in quotes</dt><dd>Which bin of the module family, written as its class label. The bin decides the open-circuit voltage and therefore the answer.</dd>
<dt><code>"modules_in_series"</code> &mdash; a whole number</dt><dd>How many modules are wired end to end in one string. Given words instead of digits it refuses.</dd>
<dt><code>"site_min_c"</code> &mdash; a number, degrees Celsius, negative for below freezing</dt><dd>The coldest cell temperature the design has to survive. Cold raises open-circuit voltage; this is the argument the answer is most sensitive to.</dd>
</dl>
<p><strong>Change one value and it fails.</strong> One bin up, same thirty modules, same &minus;10&nbsp;&deg;C:</p>
<pre>fire site {"module_class":"T665","modules_in_series":30,"site_min_c":-10}</pre>
<p>&mdash; now <strong>over the rating by 4.0&nbsp;V</strong>. The bin that is actually delivered decides it, not the bin on the offer. A 6.5&nbsp;V swing between a pass and a fail is the whole point of the exercise.</p>
<p><strong>And a refusal.</strong></p>
<pre>fire site {"modules_in_series":"thirty"}</pre>
<p>It says, in words, that it cannot stand behind a count written as text. Nothing is drawn. No default answers in its place.</p>
<p><strong>Limitations.</strong> Read <a href="#unsourced">the honest limit</a> above before reading any verdict: only the 1500&nbsp;V rating and the 35&nbsp;A series fuse are printed on the source documents. A verdict that turns on the 40&nbsp;A or the 20&nbsp;A limit rests on a constant with no source and is provisional. Separately: voltage margin does not divide by plant size. One design stampe  … [line shortened here: 572 characters; full line on GitHub]

<hr>
<h2 id="proof">The proof behind the numbers: what survives, and what is destroyed</h2>
<p>The verdicts above are not produced once and trusted. The space around them is searched continuously on a graphics card, and almost everything the search touches is destroyed on purpose. Only what survives is written to disk. This section is the accounting, because a page that shows you only its survivors is showing you a selected sample.</p>
<p><strong>What a survivor is.</strong> A candidate is kept only if all three of these hold:</p>
<ul>
<li><strong>It was computed twice and the two answers agreed.</strong> Every candidate is evaluated along two arithmetic routes &mdash; a factored form, and the same expression expanded by the distributive law, which rounds twice where the factored form rounds once. If the two routes disagree on the verdict, the candidate is destroyed and <em>nothing at all is written</em>: no log line, no warning  … [line shortened here: 458 characters; full line on GitHub]
<li><strong>Its verdict rests on a limit that traces to a document.</strong> If the only thing that decided it was the unsourced 40&nbsp;A or the unsourced 20&nbsp;A constant, it is destroyed. Provenance is part of the arithmetic, not a note added afterwards.</li>
<li><strong>It sits within one step of changing its answer.</strong> A point deep inside a settled region only repeats what is already known. It is the expensive kind of nothing, because it looks like work.</li>
</ul>
<p><strong>One completed run, thirty seconds.</strong></p>
<table class="fig">
<tr><th>Measure</th><th>Value</th></tr>
<tr><td>Candidates evaluated</td><td class="n">18,194,890,752</td></tr>
<tr><td>Candidates carried forward</td><td class="n">6,036,015,418</td></tr>
<tr><td>Rate</td><td class="n">about 606 million per second</td></tr>
<tr><td>Generations</td><td class="n">4,338</td></tr>
<tr><td>Times the drive was written</td><td class="n">38</td></tr>
<tr><td>Evaluations per line written to disk</td><td class="n">478,812,914</td></tr>
</table>
<p>About one candidate in three survives; two in three are destroyed and leave no trace. Thirty-eight lines reached the drive from eighteen billion evaluations, because the drive is written only when the shape of the surviving set actually moves. The card&rsquo;s own memory runs about a hundred times faster than the drive beneath it, so a search that sent every evaluation through the drive would r  … [line shortened here: 501 characters; full line on GitHub]

<div class="box amber">
<p><strong>Three things this proof does not prove. Do not read past them.</strong></p>
<ul>
<li><strong>Zero destroyed pairs is not evidence.</strong> The two arithmetic routes really do differ on a large share of candidates &mdash; by at most one unit in the last place of a double-precision number. But no candidate in this space lands close enough to a limit for that last bit to flip the verdict. A parting count of zero is therefore the <em>expected</em> result of the arithmetic, not a   … [line shortened here: 518 characters; full line on GitHub]
<li><strong>Agreement is not truth.</strong> Both routes were written here. Both can be wrong in the same way, and a second channel that inherits a mistake from the first will confirm it forever. In a separate five-pair test, one pair agreed to the last digit and <em>both halves were wrong the same way</em>, having taken the error from the wording of the task they were given. Verification between   … [line shortened here: 505 characters; full line on GitHub]
<li><strong>A generation count is not a coverage fraction.</strong> Later generations deliberately resample the boundary that earlier ones found, so the evaluations are concentrated at the edge, not spread across the space. Calling evaluations &ldquo;cases covered&rdquo; is exactly the error that put a figure forty-eight times too large into a published file on 21 September 2026.</li>
</ul>
</div>

<hr>
<h2>Functions under development</h2>
<p>The following are not available in this release:</p>
<ul><li><strong>Opening a station&#x27;s card by tapping it on the map</strong> — the map draws and the typed commands cage correctly, but a tap did not complete on a phone-sized screen. Use simulation 2 instead.</li><li><strong><code>neighbours</code> and <code>pulse</code> typed on i0090</strong> — both are offered in the pop-up list, but no command of either name is registered yet. The card sta  … [line shortened here: 916 characters; full line on GitHub]
<p>These items, and everything else known to be unfinished at this release, are recorded in the validation register held by Ventus Ltd. Each simulation above states its own limitations on the page and on the card.</p>
<hr>
<h2>Attribution and licence</h2>
<p>Contains open map data (c) OpenStreetMap contributors, available under the Open Database License (ODbL) v1.0; any derived database is shared alike. <a href="https://www.openstreetmap.org/copyright">https://www.openstreetmap.org/copyright</a></p>
<p>Code: Apache-2.0. No warranty is given.</p>
</main>
</body>
</html>

GlobalGrid2050 — Kuiper Page

A web page that uses SHA-256. Published at https://globalgrid2050.com/kuiper/. It is built from the must step (`must`), the attr step (`attr`) and the sha256 step (`sha256`).

renderglobalgrid2050 / kuiper/index.html · lines 1–115 of 115 · Entry point

What it does
It draws its content. Defines must, attr, sha256. Uses libraries …/NAME, ' + attr(url.href) + '. Side effects: changes the web page (DOM); makes network requests.
Why it exists in the grid workflow
Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief).
Inputs & outputs
In: JSON file current.json. Out: web page.
Downstream impact
Used directly by 9 files: GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); Homepage V123 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v123.html); Homepage V124 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v124.html); and 5 more. Reached from 80 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.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://globalgrid2050.com/kuiper/.
What it achieves
THE WAY OUT. This page is a composer: with script off, or with a refused record, it renders nothing a reader can click. It reads `./current.json`.
Why it matters
Loaded by the GlobalGrid2050 Homepage Before Four Nests page at https://globalgrid2050.com/homepage-before-four-nests-20260925.html and 7 other pages. Also imported by Active Pages, from GlobalGrid2050 Homepage.
Application
globalgrid2050 · kuiper · page
Uses
Manual (link), GlobalGrid2050 — Plant Page (link), GlobalGrid2050 — Kuiper Grid Page (link), GlobalGrid2050 — Compute Page (link), …/NAME, ' + attr(url.href) + '
Used by
linked from GlobalGrid2050 Homepage Before Four Nests (link), linked from Homepage Versions — Before Refresh Page (link), linked from Homepage V123 (link), linked from Homepage V124 (link), linked from Homepage V125 (link), linked from Homepage V127 (link), linked from Homepage V128 (link), linked from Homepage V130 (link), and 1 more, mentioned in Build (comment link)
Produces
must, attr, sha256
Defines here
must, attr, sha256
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 kuiper/index.html:1-115 · blob ea598fe017845cc7fb2e9b451cb575ea50c847c3 · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: output · effects: dom, network · domain stage: agent_infra · users: ai_agent · canonical: production_core
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width,initial-scale=1">
  <title>globalgrid2050</title>
  <style>
    html,body{margin:0;background:#0b0d12;color:#d8dee9;font:13px/1.5 ui-monospace,Menlo,Consolas,monospace}
    #composer{display:grid;place-items:center;min-height:50vh;padding:24px;text-align:center}
    #composer strong{color:#5ec8f2;letter-spacing:.1em}
    #composer small{color:#8b93a7}
    #waysout{max-width:44rem;margin:0 auto;padding:0 20px 40px;border-top:1px solid #1b2030}
    #waysout h2{font-size:15px;color:#5ec8f2;letter-spacing:.06em;text-transform:uppercase;margin:26px 0 10px}
    #waysout p{color:#8b93a7;margin:10px 0}
    #waysout ul{margin:12px 0;padding-left:1.1rem}
    #waysout li{margin:8px 0;color:#8b93a7}
    #waysout a{color:#5ec8f2;font-weight:600}
    #waysout .small{font-size:12px;color:#6f7789}
    /* Once the composer has written the real page over this one, these bytes are
       gone with it; while it is still loading they sit below the fold. */
    body[data-composer="loading"] #composer{height:auto;min-height:50vh}
  </style>
</head>
<body data-composer="loading">
  <main id="composer"><div><strong>GLOBALGRID2050</strong><br>checking this page against its record…<br><small>provided as is, without warranty of any kind; a chart, not a design</small></div></main>

  <!-- THE WAY OUT. This page is a composer: with script off, or with a refused
       record, it renders nothing a reader can click. Until 21 September 2026 it
       was a byte-perfect 200 with zero navigable links, declared live by every
       record on the host and linked to by nothing. These are plain anchors in
       the served bytes. They cost nothing and they survive a failed fetch. -->
  <nav id="waysout">
    <h2>The Kuiper</h2>
    <p>This address loads the work browser. If it has not loaded, or you have script switched off, everything it can show you is also published as plain pages:</p>
    <ul>
      <li><a href="/kuiper-grid/manual.html">The manual</a> &mdash; what this is, what to type, what the answer means, and what it refuses</li>
      <li><a href="/plant/">Will this string go over 1500&nbsp;V on the coldest morning?</a> &mdash; three commands ready to copy</li>
      <li><a href="/kuiper-grid/">All development builds</a> &mdash; the grid as a map, one substation and every way out, the solar string picture</li>
      <li><a href="/compute/">Independent compute</a> &mdash; the method behind the figures</li>
      <li><a href="/">Everything else published here</a></li>
    </ul>
    <p class="small">Two of the four limits this engine measures a design against have no source in any document. A verdict that turns on one of them is provisional and is marked so. <a href="/kuiper-grid/manual.html#unsourced">The manual says which, and how much of the space each decides.</a></p>
    <p class="small">A chart, not a design. Not a connection offer, not a constructability assessment, not a consenting design. No output of it is engineering.</p>
  </nav>
  <script type="module">
    // THE COMPOSER. GridAtlas's pattern as it stands (gridatlas/atlas/index.html): one frozen shell, features as hashed
    // cartridges, and current.json, the pointer, saying which. This page is the ONE ADDRESS that never changes. It reads
    // the pointer, fetches the shell, fetches every cartridge the pointer names, and lets a cartridge in ONLY if its
    // bytes hash to what the pointer says. A release is a change to the pointer; a rollback is the pointer put back;
    // the shell is never edited. If anything does not match, nothing runs and the page says so in plain words.
    //
    // Two slots:  replace-script  the shell's <script src="…/NAME"> is pointed at the cartridge instead
    //             import-map      an import of NAME anywhere in the shell resolves to the cartridge instead
    // A cartridge is ONE file with no imports of its own neighbours: one file, one job.
    const CLOSE = '</scr' + 'ipt>';
    const box = document.getElementById('composer');
    const must = (ok, why) => { if (!ok) throw new Error(why); };
    const attr = v => String(v).replace(/&/g, '&amp;').replace(/"/g, '&quot;').replace(/</g, '&lt;');
    const sha256 = async bytes => [...new Uint8Array(await crypto.subtle.digest('SHA-256', bytes))].map(b => b.toString(16).padStart(2, '0')).join('');

    try {
      const r = await fetch('./current.json', { cache: 'no-store' });
      must(r.ok, 'the record of this page could not be read (' + r.status + ')');
      const cur = await r.json();
      must(cur && cur.schema === 'globalgrid.current.v1', 'the record of this page is in a form this page does not know');
      must(cur.architecture === 'IMMUTABLE_SHELL_PLUS_HASHED_CARTRIDGES', 'the record of this page names another architecture');
      must(Array.isArray(cur.cartridge_order) && Array.isArray(cur.cartridges) && cur.shell, 'the record of this page is incomplete');

      const shellUrl = new URL(cur.shell.index, location.href), shellBase = new URL(cur.shell.base, location.href).href;
      const sr = await fetch(shellUrl, { cache: 'no-store' });
      must(sr.ok, 'the page itself could not be fetched (' + sr.status + ')');
      const shellBytes = await sr.arrayBuffer();
      must(await sha256(shellBytes) === cur.shell.sha256, 'the page itself is not the one that was released');
      let html = new TextDecoder('utf-8').decode(shellBytes);
      must(/<head\b/i.test(html) && /<body\b/i.test(html), 'the page itself is not a page');

      const byId = new Map(cur.cartridges.map(c => [c.id, c])), loaded = [], imports = {};
      const tags = new RegExp('<script\\b([^>]*)\\bsrc=(["\'])([^"\']+)\\2([^>]*)>\\s*<\\/script>', 'gi');
      for (const id of cur.cartridge_order) {
        const c = byId.get(id);
        must(c, 'a part named in the record is missing from it: ' + id);
        must(/^[a-f0-9]{64}$/.test(c.sha256 || ''), id + ': the record holds no fingerprint for it');
        must(c.slot === 'replace-script' || c.slot === 'import-map', id + ': a slot this page does not have');
        must(typeof c.replaces === 'string' && c.replaces, id + ': the record does not say what it replaces');
        const url = new URL(c.path, location.href);
        const cr = await fetch(url, { cache: 'no-store' });
        must(cr.ok, id + ' could not be fetched (' + cr.status + ')');
        must(await sha256(await cr.arrayBuffer()) === c.sha256, id + ' is not the file that was released');
        if (c.slot === 'import-map') imports[new URL(c.replaces, shellBase).href] = url.href;
        else {
          let done = false;
          html = html.replace(tags, (full, a, q, src, b) => {
            if (done || String(src).split(/[?#]/)[0].split('/').pop() !== c.replaces) return full;   // matched by file name
            done = true;
            return '<script' + a + 'data-cartridge="' + attr(id) + '" src="' + attr(url.href) + '"' + b + '>' + CLOSE;
          });
          must(done, id + ': the page has no place for it (' + c.replaces + ')');
        }
        loaded.push({ id, generation: c.generation, sha256: c.sha256 });
      }
      const state = JSON.stringify({ schema: cur.schema, generation: cur.generation, shell: cur.shell, cartridges: loaded }).replace(/</g, '\\u003c');
      const head = '\n<base href="' + attr(shellBase) + '">'
        + (Object.keys(imports).length ? '\n<script type="importmap">' + JSON.stringify({ imports }).replace(/</g, '\\u003c') + CLOSE : '')
        + '\n<script>window.__COMPOSED__=' + state + ';document.documentElement.dataset.generation=' + JSON.stringify(cur.generation) + ';' + CLOSE;
      html = html.replace(/<head([^>]*)>/i, m => m + head);
      document.open(); document.write(html); document.close();
    } catch (e) {
      console.error('[composer]', e);
      document.body.dataset.composer = 'refused';
      box.innerHTML = '<div><strong>THIS PAGE DID NOT OPEN</strong><br>' + String(e && e.message || e).replace(/[<>&]/g, '')
        + '<br><small>Nothing was run. The released page has not been changed. The plain pages below still work.<br>provided as is, without warranty of any kind; a chart, not a design</small></div>';
    }
  </script>
</body>
</html>

Testcode — V03 Particle Universe Page

A web page in GlobalGrid2050 that selects star (`selectStar`), opens family (`openFamily`), calculates planar distances and draws on a canvas. Published at https://globalgrid2050.com/testcode/202609141522/v03-particle-universe/.

renderglobalgrid2050 / testcode/202609141522/v03-particle-universe/index.html · lines 1–76 of 76 · version 2026-09-14 15:22 · Entry point · pattern selectStar (shared by 2 files)

What it does
It draws its content. Defines 7 functions or classes, including size, layout, scr, draw, hit. Side effects: changes the web page (DOM).
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
Out: web page; canvas drawing.
Downstream impact
It is itself an entry point, published at https://globalgrid2050.com/testcode/202609141522/v03-particle-universe/.
What it achieves
It selects star (`selectStar`) and opens family (`openFamily`). Defines `size`, `layout`, `scr` and 4 more. It responds to pointerdown, pointermove and pointerup events.
Why it matters
No other file in the estate was found to import it; it is an entry point.
Application
globalgrid2050 · testcode/202609141522/v03-particle-universe · page
Uses
GlobalGrid2050 — Testcode (script src)
Used by
none found
Produces
size, layout, scr, draw, hit, selectStar, openFamily
Defines here
size, layout, scr, draw, hit, selectStar, openFamily
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 testcode/202609141522/v03-particle-universe/index.html:1-76 · blob c57b685edfed8662ea4c0ebfde6cc4ef5c380acc · GitHub at these lines
State
achieves: name · context: readme_derived · stage: output · effects: dom · domain stage: experimental · users: none · canonical: production_core
<!doctype html>
<html lang="en"><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>GLOBALGRID2050 · v03 particle universe</title>
<script>window.BUILT='2026-09-14 15:22'</script>
<script src="../core.js"></script>
<style>
canvas{width:100%;height:min(70vh,720px);background:radial-gradient(circle at 50% 50%,#101624,#07090d 70%);border:1px solid #1f2633;border-radius:10px;touch-action:none;display:block}
#tip{position:fixed;pointer-events:none;background:#12151c;border:1px solid #385464;padding:4px 8px;border-radius:6px;font-size:12px;display:none;z-index:5}
</style>
<h1>GLOBALGRID2050</h1><div class="u-count" id="count">Loading the universe…</div>
<div id="search"></div><div id="trail"></div><div id="legend"></div>
<canvas id="sky"></canvas><div id="tip"></div>
<div class="u-muted">Stars are the 207 named blocks, sized by their function families and placed by category. Tap a star: its families orbit it and its dependencies light up as threads. Tap a particle to read its numbered lines. Drag to pan.</div>
<div class="u-panel" id="panel" hidden></div>
<script>
const cv = $('#sky'), ctx = cv.getContext('2d'), tip = $('#tip'), P = $('#panel');
let W, H, dpr, stars = [], parts = [], sel = null, pan = { x: 0, y: 0 }, t0 = performance.now();
function size() { dpr = devicePixelRatio || 1; W = cv.clientWidth; H = cv.clientHeight; cv.width = W * dpr; cv.height = H * dpr; ctx.setTransform(dpr, 0, 0, dpr, 0, 0); }
function layout() {
  const cats = U.cats; stars = [];
  cats.forEach((c, ci) => {
    const list = U.blocks.filter(b => b.category === c.id);
    const a0 = (ci / cats.length) * Math.PI * 2, span = (Math.PI * 2) / cats.length;
    list.forEach((b, i) => {
      const f = blockFamilies(b.symbol).length; const r = 0.12 + 0.36 * ((i + 1) / (list.length + 1)) ** 0.8;
      const a = a0 + span * (0.15 + 0.7 * ((i * 0.618) % 1));
      stars.push({ sym: b.symbol, label: blockLabel(b.symbol), colour: c.colour, rx: r * Math.cos(a), ry: r * Math.sin(a), rad: 2 + Math.sqrt(f) * 0.55, fams: f });
    });
  });
}
const scr = s => ({ x: W / 2 + pan.x + s.rx * Math.min(W, H) * 1.05, y: H / 2 + pan.y + s.ry * Math.min(W, H) * 1.05 });
function draw(now) {
  ctx.clearRect(0, 0, W, H); const t = (now - t0) / 1000;
  if (sel) {  // threads: depends on (yellow) and used by (pink)
    const a = scr(sel);
    for (const [list, col] of [[blockDeps(sel.sym), REL['depends on']], [blockUsers(sel.sym), REL['used by']]]) for (const s of list) { const o = stars.find(x => x.sym === s); if (!o) continue; const b = scr(o); ctx.strokeStyle = col; ctx.globalAlpha = .55; ctx.lineWidth = 1.2; ctx.beginPath(); ctx.moveTo(a.x, a.y); ctx.quadraticCurveTo((a.x + b.x) / 2 + (a.y - b.y) * .2, (a.y + b.y) / 2 + (b.x -   … [line shortened here: 458 characters; full line on GitHub]
  }
  for (const s of stars) {
    const p = scr(s); const on = sel === s; ctx.fillStyle = s.colour; ctx.globalAlpha = sel && !on ? .45 : 1;
    ctx.beginPath(); ctx.arc(p.x, p.y, s.rad + (on ? 3 : 0), 0, 7); ctx.fill(); ctx.globalAlpha = 1;
    if (on || s.rad > 9) { ctx.fillStyle = '#d8dee9'; ctx.font = '11px ui-monospace,monospace'; ctx.fillText(s.sym, p.x + s.rad + 3, p.y + 4); }
  }
  if (sel) { // families orbit the selected star
    const c = scr(sel); parts.forEach((q, i) => { const ring = 1 + (i % 4); const a = q.a + t * (0.25 / ring); q.x = c.x + Math.cos(a) * (sel.rad + 16 + ring * 18); q.y = c.y + Math.sin(a) * (sel.rad + 16 + ring * 18); ctx.fillStyle = REL.contains; ctx.beginPath(); ctx.arc(q.x, q.y, 2.6, 0, 7); ctx.fill(); });
  }
  requestAnimationFrame(draw);
}
function hit(x, y) {
  for (const q of parts) if (Math.hypot(q.x - x, q.y - y) < 7) return { part: q };
  let best = null, bd = 1e9; for (const s of stars) { const p = scr(s); const d = Math.hypot(p.x - x, p.y - y); if (d < Math.max(10, s.rad + 4) && d < bd) { best = s; bd = d; } }
  return best ? { star: best } : null;
}
let drag = null;
cv.addEventListener('pointerdown', e => { drag = { x: e.clientX, y: e.clientY, px: pan.x, py: pan.y, moved: false }; });
cv.addEventListener('pointermove', e => {
  const r = cv.getBoundingClientRect(); const h = hit(e.clientX - r.left, e.clientY - r.top);
  if (drag) { const dx = e.clientX - drag.x, dy = e.clientY - drag.y; if (Math.abs(dx) + Math.abs(dy) > 6) drag.moved = true; if (drag.moved) { pan.x = drag.px + dx; pan.y = drag.py + dy; } }
  if (h) { tip.style.display = 'block'; tip.style.left = e.clientX + 12 + 'px'; tip.style.top = e.clientY + 12 + 'px'; tip.textContent = h.star ? `${h.star.label} · ${h.star.fams} families` : `family #${h.part.n}`; } else tip.style.display = 'none';
});
cv.addEventListener('pointerup', e => { const d = drag; drag = null; if (d && d.moved) return; const r = cv.getBoundingClientRect(); const h = hit(e.clientX - r.left, e.clientY - r.top); if (!h) return; if (h.star) selectStar(h.star.sym); else openFamily(h.part.n); });
function selectStar(sym) {
  const s = stars.find(x => x.sym === sym);
  if (!s) { P.hidden = false; P.innerHTML = `<div class="u-muted">${esc(blockLabel(sym))} is an unnamed group: it has no star. Its ${blockFamilies(sym).length} families: </div>`; P.append(pageList(el('div', { class: 'u-links' }), blockFamilies(sym), n => el('button', { class: 'u-chip', on: { click: () => openFamily(n) } }, `#${n}`), 80, 'families')); return; }
  sel = s; trailPush('block', sym, s.label);
  parts = blockFamilies(sym).slice(0, 120).map((n, i) => ({ n, a: (i / Math.min(120, s.fams)) * Math.PI * 2, x: 0, y: 0 }));
  P.hidden = false; P.innerHTML = '';
  const b = U.bySym.get(sym) || {};
  P.append(el('div', { class: 'u-h' }, s.label), el('div', { class: 'u-muted' }, `${b.description || ''} ${s.fams} families (${parts.length} orbiting). Threads: yellow = depends on, pink = used by.`),
    el('div', { class: 'u-links' }, el('a', { class: 'u-chip', href: `${STARS}table.html?block=${sym}`, target: '_blank', rel: 'noopener' }, 'Block page ↗'), ...blockDeps(sym).map(d => el('button', { class: 'u-chip', style: `border-color:${REL['depends on']}`, on: { click: () => selectStar(d) } }, `→ ${d}`)), ...blockUsers(sym).slice(0, 20).map(d => el('button', { class: 'u-chip', style: `border-c  … [line shortened here: 476 characters; full line on GitHub]
}
async function openFamily(n) { P.hidden = false; await showFamilyPanel(n, P, openFamily, selectStar); P.scrollIntoView({ behavior: 'smooth', block: 'start' }); }
window.goHome = () => { sel = null; parts = []; pan = { x: 0, y: 0 }; P.hidden = true; };
window.goTo = (k, id) => k === 'block' ? selectStar(id) : k === 'family' ? openFamily(id) : goHome();
addEventListener('resize', size);
loadUniverse().then(() => { $('#count').textContent = countsLine(); legend($('#legend')); mountSearch($('#search'), openFamily); renderTrail(); size(); layout(); requestAnimationFrame(draw); openAddress(); footer('v03-particle-universe'); }).catch(e => fail('#count', e));
</script>

Testcode — V04 Periodic Arrows Page

A web page in GlobalGrid2050 that opens family (`openFamily`) and draws SVG graphics. Published at https://globalgrid2050.com/testcode/202609141522/v04-periodic-arrows/. It opens family (`openFamily`) and is built from the pick step (`pick`).

renderglobalgrid2050 / testcode/202609141522/v04-periodic-arrows/index.html · lines 1–58 of 58 · version 2026-09-14 15:22 · Entry point · pattern arrows (shared by 2 files)

What it does
It draws its content. Defines build, arrows, line, pick, openFamily. Side effects: changes the web page (DOM).
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
Out: web page; SVG drawing.
Downstream impact
It is itself an entry point, published at https://globalgrid2050.com/testcode/202609141522/v04-periodic-arrows/.
What it achieves
Defines `build`, `arrows`, `line` and 2 more. It responds to resize events.
Why it matters
No other file in the estate was found to import it; it is an entry point.
Application
globalgrid2050 · testcode/202609141522/v04-periodic-arrows · page
Uses
GlobalGrid2050 — Testcode (script src)
Used by
none found
Produces
build, arrows, line, pick, openFamily
Defines here
build, arrows, line, pick, openFamily
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 testcode/202609141522/v04-periodic-arrows/index.html:1-58 · blob ea63ad77b0b0f34bced658b1af18160558fab0b8 · GitHub at these lines
State
achieves: name · context: readme_derived · stage: output · effects: dom · domain stage: experimental · users: none · canonical: production_core
<!doctype html>
<html lang="en"><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>GLOBALGRID2050 · v04 periodic arrows</title>
<script>window.BUILT='2026-09-14 15:22'</script>
<script src="../core.js"></script>
<style>
#board{position:relative}
.cat{margin:10px 0 4px;font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:4px}
.tile{background:#12151c;border:1px solid #2a3140;border-top:3px solid var(--c);border-radius:6px;padding:4px;cursor:pointer;min-height:48px;position:relative}
.tile b{font-size:15px;color:#eef2fb;display:block}.tile small{font-size:9px;color:#8b93a7;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.tile .n{position:absolute;top:2px;right:4px;font-size:9px;color:#566079}
.tile.on{outline:2px solid #00e5ff}.tile.dep{outline:2px solid #ffd54a}.tile.use{outline:2px solid #ff7ab6}.dim{opacity:.35}
#arrows{position:absolute;inset:0;pointer-events:none;overflow:visible}
</style>
<h1>GLOBALGRID2050</h1><div class="u-count" id="count">Loading the universe…</div>
<div id="search"></div><div id="trail"></div><div id="legend"></div>
<div class="u-muted">The periodic table of the 207 named blocks. Tap a tile: arrows go to the blocks it depends on (yellow) and come from the blocks that use it (pink), and its function families open below.</div>
<div id="board"><svg id="arrows"></svg><div id="grid"></div></div>
<div class="u-panel" id="block" hidden></div><div class="u-panel" id="panel" hidden></div>
<script>
const G = $('#grid'), A = $('#arrows'), B = $('#block'), P = $('#panel'); const NS = 'http://www.w3.org/2000/svg'; let current = null;
function build() {
  G.innerHTML = '';
  for (const c of U.cats) {
    const list = U.blocks.filter(b => b.category === c.id).sort((a, b) => a.number - b.number); if (!list.length) continue;
    G.append(el('div', { class: 'cat', style: `color:${c.colour}` }, `${c.title} · ${list.length}`));
    G.append(el('div', { class: 'tiles' }, list.map(b => el('div', { class: 'tile', 'data-sym': b.symbol, style: `--c:${c.colour}`, title: `${b.title}: ${b.description || ''}`, on: { click: () => pick(b.symbol) } }, el('span', { class: 'n' }, b.number), el('b', {}, b.symbol), el('small', {}, b.title), el('small', {}, `${blockFamilies(b.symbol).length} fam`)))));
  }
  G.append(el('div', { class: 'cat', style: 'color:#566079' }, `Not yet named · ${U.unnamed.length} groups (search a function to reach them)`));
}
function arrows(sym) {
  A.innerHTML = '<defs><marker id="m" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse"><path d="M0,0L10,5L0,10z" fill="context-stroke"/></marker></defs>';
  const box = $('#board').getBoundingClientRect(); const at = s => { const t = G.querySelector(`[data-sym="${CSS.escape(s)}"]`); if (!t) return null; const r = t.getBoundingClientRect(); return { x: r.left - box.left + r.width / 2, y: r.top - box.top + r.height / 2, t }; };
  const me = at(sym); if (!me) return;
  G.querySelectorAll('.tile').forEach(t => t.className = 'tile dim'); me.t.className = 'tile on';
  const line = (a, b, col) => { const p = document.createElementNS(NS, 'path'); const mx = (a.x + b.x) / 2, my = Math.min(a.y, b.y) - 30; p.setAttribute('d', `M${a.x},${a.y}Q${mx},${my} ${b.x},${b.y}`); p.setAttribute('stroke', col); p.setAttribute('fill', 'none'); p.setAttribute('stroke-width', '1.6'); p.setAttribute('marker-end', 'url(#m)'); p.setAttribute('opacity', '.85'); A.append(p); };
  for (const d of blockDeps(sym)) { const o = at(d); if (o) { o.t.className = 'tile dep'; line(me, o, REL['depends on']); } }
  for (const u of blockUsers(sym)) { const o = at(u); if (o) { o.t.className = 'tile use'; line(o, me, REL['used by']); } }
}
function pick(sym) {
  current = sym; trailPush('block', sym, blockLabel(sym)); if (U.bySym.has(sym)) arrows(sym);
  const b = U.bySym.get(sym) || {}; const fams = blockFamilies(sym);
  B.hidden = false; B.innerHTML = '';
  B.append(el('div', { class: 'u-h' }, blockLabel(sym)), el('div', { class: 'u-muted' }, `${b.description || ''} Contains ${fams.length} function families.`),
    el('div', { class: 'u-links' }, b.symbol ? el('a', { class: 'u-chip', href: `${STARS}table.html?block=${sym}`, target: '_blank', rel: 'noopener' }, 'Block page ↗') : null,
      ...blockDeps(sym).map(d => el('button', { class: 'u-chip', style: `border-color:${REL['depends on']}`, on: { click: () => pick(d) } }, `depends on → ${d}`)),
      ...blockUsers(sym).slice(0, 30).map(d => el('button', { class: 'u-chip', style: `border-color:${REL['used by']}`, on: { click: () => pick(d) } }, `← used by ${d}`))),
    el('div', { class: 'u-sub', style: `color:${REL.contains}` }, 'contains'),
    pageList(el('div', { class: 'u-links' }), fams, n => el('button', { class: 'u-chip', on: { click: () => openFamily(n) } }, `#${n}`), 100, 'families'));
  B.scrollIntoView({ behavior: 'smooth', block: 'start' });
}
async function openFamily(n) { P.hidden = false; await showFamilyPanel(n, P, openFamily, pick); P.scrollIntoView({ behavior: 'smooth', block: 'start' }); }
window.goHome = () => { A.innerHTML = ''; G.querySelectorAll('.tile').forEach(t => t.className = 'tile'); B.hidden = P.hidden = true; scrollTo(0, 0); };
window.goTo = (k, id) => k === 'block' ? pick(id) : k === 'family' ? openFamily(id) : goHome();
addEventListener('resize', () => current && U.bySym.has(current) && arrows(current));
loadUniverse().then(() => { $('#count').textContent = countsLine(); legend($('#legend')); mountSearch($('#search'), openFamily); renderTrail(); build(); openAddress(); footer('v04-periodic-arrows'); }).catch(e => fail('#count', e));
</script>