git clone https://garage44.eu/jeroen/midas.gitcartopolis-agent · 2026-11-28T12:51:44Z
docs(screens): a design for Goals ▸ Map, every project and the work between them The level above one goal's tree: projects as circles, arrows from each project's manifests (and how far a pin is behind), bands for sessions shared, a week per project as streams of sessions, and a read-only map of public projects for the public pages. Drawn from the workspace's own data on 2026-11-28; nothing built yet.
docs/screens/graph.html | 244 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 244 insertions(+)
diff --git a/docs/screens/graph.html b/docs/screens/graph.html
new file mode 100644
index 0000000..d380cbe
--- /dev/null
+++ b/docs/screens/graph.html
@@ -0,0 +1,244 @@
+<!doctype html><meta charset="utf-8"><link rel="stylesheet" href="style.css">
+<!-- A design for Goals ▸ Map: every project at once, how they depend on each other, and the sessions between them.
+ Drawn before it exists. The numbers are the workspace's own on 2026-11-28 (hub /v1/hosted, /v1/hosted/tree,
+ each project's Cargo.toml and package.json); the timeline is the real week of 21–28 November around Pinnacle. -->
+<style>
+ body { width:1840px; }
+ .app { width:1300px; flex:none; border-radius:12px; overflow:hidden; background:#f3f6f6; color:#1d2a2c; box-shadow:0 0 0 1px #2a3236, 0 30px 70px rgba(0,0,0,.55); font-size:14px; }
+ .app .top { display:flex; align-items:center; gap:14px; padding:16px 24px; border-bottom:1px solid #dfe7e7; background:#fff; }
+ .app .top b { font-size:18px; }
+ .tabs { display:flex; gap:4px; } .tabs span { padding:4px 12px; border-radius:8px; color:#6b8183; font-size:13.5px; }
+ .tabs span.on { background:#e3f4f3; color:#1b6b67; font-weight:600; }
+ .crumbs { color:#6b8183; font-size:13.5px; } .crumbs b { color:#1d2a2c; font-size:13.5px; }
+ .muted { color:#6b8183; font-size:13px; }
+ .chip { border:1px solid #cfdcdc; border-radius:8px; padding:3px 10px; background:#fff; font-size:12.5px; color:#38494b; }
+ .right { margin-left:auto; display:flex; gap:8px; align-items:center; }
+ svg text { font-family:Jakarta, system-ui, sans-serif; }
+ .legend { display:flex; gap:22px; padding:10px 24px 14px; color:#6b8183; font-size:12.5px; align-items:center; flex-wrap:wrap; }
+ .legend i { display:inline-block; vertical-align:middle; margin-right:6px; }
+ .side { position:absolute; right:16px; top:16px; width:300px; background:#fff; border:1px solid #dfe7e7; border-radius:14px; padding:14px 16px; display:flex; flex-direction:column; gap:6px; box-shadow:0 8px 24px rgba(20,40,40,.08); }
+ .side b { font-size:15px; } .side .row { display:flex; justify-content:space-between; font-size:13px; color:#38494b; }
+ .side .warn { color:#8a6214; font-size:12.5px; }
+ .side .btn { margin-top:4px; border:0; border-radius:9px; padding:7px 12px; background:#5cc6c0; color:#0d2f2d; font:inherit; font-weight:600; font-size:13px; text-align:center; }
+ .stage { position:relative; }
+ .pub { background:#fbfcfc; }
+ .pub .top { background:#0f1416; color:#e2e9ea; border-bottom:0; }
+ .pub .top .muted { color:#aac2c6; }
+ .landed { padding:6px 24px 18px; display:grid; grid-template-columns:repeat(2, 1fr); gap:6px 28px; }
+ .landed div { font-size:13px; color:#38494b; display:flex; gap:8px; } .landed i { font-style:normal; color:#9fb3b5; width:54px; flex:none; }
+ .landed h3 { grid-column:span 2; font-size:13px; color:#6b8183; text-transform:uppercase; letter-spacing:.04em; margin-top:6px; }
+ .phone2 { width:390px; flex:none; border-radius:28px; overflow:hidden; background:#f3f6f6; color:#1d2a2c; box-shadow:0 0 0 10px #0b0e10, 0 30px 70px rgba(0,0,0,.55); font-size:14px; }
+ .phone2 .top { padding:14px 16px; }
+ .plist { padding:12px 14px; display:flex; flex-direction:column; gap:8px; }
+ .pcard { background:#fff; border:1px solid #dfe7e7; border-radius:12px; padding:10px 12px; display:flex; flex-direction:column; gap:3px; }
+ .pcard.on { border:2px solid #5cc6c0; }
+ .pcard .h { display:flex; align-items:center; gap:8px; } .pcard .h b { font-size:15px; } .pcard .h .muted { margin-left:auto; }
+ .pcard .d { font-size:12.5px; color:#38494b; } .pcard .d em { font-style:normal; color:#9fb3b5; }
+ .pcard .warn { font-size:12px; color:#8a6214; }
+</style>
+<h1>Goals ▸ <em>Map</em> — every project, and the work between them</h1>
+<p class="lede">Today Goals shows <b>one goal's tree</b> at a time. This adds the level above it: <b>all projects together</b>, which one is built on which, and the sessions that worked across them, so you can zoom from the workspace, to one project's week, to its tree. A <b>read-only</b> version goes on the public pages, for public projects only.</p>
+
+<!-- 1. The map -->
+<div class="screen">
+ <div class="app">
+ <div class="top"><b>Goals</b><div class="tabs"><span class="on">Map</span><span>Tree</span><span>Directions</span><span>How it went</span></div>
+ <div class="right"><span class="chip">all time</span><span class="chip">11 projects</span></div></div>
+ <div class="stage"><svg id="map" width="1300" height="560"></svg>
+ <div class="side">
+ <b>mithril</b><span class="muted">the component library · public</span>
+ <div class="row"><span>used by</span><span>pinnacle · fien · cartopolis · midas</span></div>
+ <div class="row"><span>sessions</span><span>9 own · 17 shared</span></div>
+ <div class="row"><span>techs</span><span>4 of 9 built</span></div>
+ <span class="warn">⚑ midas and cartopolis.org run mithril from 9 Oct: 30 commits behind</span>
+ <span class="btn">Open its week →</span>
+ </div>
+ </div>
+ <div class="legend">
+ <span><i style="width:30px;height:0;border-top:2.5px solid #2f7f7a"></i>uses its code (arrow: from the one depended on)</span>
+ <span><i style="width:30px;height:0;border-top:2.5px solid #c79a3c"></i>uses an older commit</span>
+ <span><i style="width:30px;height:6px;background:#cfe0df;border-radius:3px"></i>sessions worked in both (thicker: more)</span>
+ <span><i style="width:30px;height:0;border-top:2px dashed #8f6fc4"></i>a tech here needs a tech there</span>
+ <span>size: sessions · ring: techs built</span>
+ </div>
+ </div>
+ <div class="notes">
+ <h2><span>1</span>The workspace at a glance</h2>
+ <ul>
+ <li>Each <b>project is a circle</b>, sized by its sessions; the ring fills with the share of its techs built.</li>
+ <li><b>Arrows are code</b>: read from each project's <code>Cargo.toml</code> and <code>package.json</code>, which the hub hosts. They run left to right, from the project depended on to the one using it, so the foundations sit left.</li>
+ <li>An arrow turns <b>amber</b> when the user pins an older commit, with how far behind. Today: midas and cartopolis.org on a mithril 30 commits old.</li>
+ <li><b>Bands</b> are sessions that worked in both projects (cartopolis–midas 27, midas–pinnacle 13). <b>Dashed</b> lines are techs that need a tech in another project (31 today, mostly pinnacle → pinnacle-website).</li>
+ <li>Tap a project: what it uses and what uses it, its numbers, and <b>Open its week</b>. Tap twice: its tree.</li>
+ </ul>
+ <h2><span>2</span>Nothing guessed</h2>
+ <ul>
+ <li>Every line is something recorded: a manifest, a session's projects, a tech's <code>needs</code>. Projects with none of those (dardasha, stembewijs) stand apart, not placed by a guess.</li>
+ </ul>
+ </div>
+</div>
+
+<!-- 2. One project's week -->
+<div class="screen">
+ <div class="app">
+ <div class="top"><b>Goals</b><div class="tabs"><span class="on">Map</span><span>Tree</span><span>Directions</span><span>How it went</span></div>
+ <span class="crumbs">all projects › <b>pinnacle</b> and what it uses</span>
+ <div class="right"><span class="chip">7D</span><span class="chip">30D</span><span class="chip">all</span><span class="chip">▶ play</span></div></div>
+ <svg id="week" width="1300" height="500"></svg>
+ <div class="legend">
+ <span><i style="width:22px;height:8px;border-radius:4px;background:#2f8f8a"></i>landed</span>
+ <span><i style="width:22px;height:8px;border-radius:4px;background:#b9c9ca"></i>ended without landing</span>
+ <span><i style="width:22px;height:8px;border-radius:4px;background:#e6a93c"></i>at work now</span>
+ <span><i style="width:2px;height:16px;background:#8fb3b0"></i>the same session in another project</span>
+ <span><i style="width:30px;height:0;border-top:2px dashed #8f6fc4"></i>started from (recorded from now on)</span>
+ <span>◆ built a tech</span>
+ </div>
+ </div>
+ <div class="notes">
+ <h2><span>3</span>Zoom in: one project's week</h2>
+ <ul>
+ <li>Time runs <b>left to right</b>; one <b>stream per project</b>, the chosen one on top, then what it uses, then where else its sessions went.</li>
+ <li>Each <b>session is a bar</b> from start to end, coloured by how it ended. ◆ marks one that built a tech. Tap it: its title, cost, the tech, and a link to the session.</li>
+ <li>A session that worked in several projects draws a <b>thin tie</b> to the others, so cross-project work reads as one column.</li>
+ <li>This is the real week around Pinnacle: 48 sessions, 30 landed, 26 in two or more projects.</li>
+ </ul>
+ <h2><span>4</span>What midas starts to record</h2>
+ <ul>
+ <li><b>Started from</b>: <code>midas sessions start</code> (and the page's Start) keep the session it was started from, and the "Builds on" of a new-session wish. Older sessions have no such curve; none is made up for them.</li>
+ <li>A handover keeps who picked the branch up, the same way.</li>
+ </ul>
+ </div>
+</div>
+
+<!-- 3. The public, read-only map -->
+<div class="screen">
+ <div class="app pub">
+ <div class="top"><b>garage44.eu / jeroen</b><span class="muted">8 public projects · read only</span><div class="right"><span class="chip" style="background:#1f2829;color:#e2e9ea;border-color:#2a3236">Map</span><span class="chip" style="background:#1f2829;color:#aac2c6;border-color:#2a3236">Repositories</span></div></div>
+ <svg id="pub" width="1300" height="400"></svg>
+ <div class="landed">
+ <h3>Landed lately · techs built in pinnacle</h3>
+ <div><i>28 Nov</i>Pair a Bluetooth device securely</div>
+ <div><i>28 Nov</i>Chain terminal commands into a pipeline</div>
+ <div><i>27 Nov</i>See past notifications in a list</div>
+ <div><i>27 Nov</i>Boot Pinnacle on a real phone</div>
+ <div><i>27 Nov</i>Send and receive text messages (SMS)</div>
+ <div><i>27 Nov</i>Edit and select text anywhere</div>
+ </div>
+ </div>
+ <div class="notes">
+ <h2><span>5</span>The same map, for anyone</h2>
+ <ul>
+ <li>On the public pages (<code>garage44.eu/jeroen</code>, beside the repositories), no sign-in.</li>
+ <li>Only <b>public projects</b>: the three private ones (about-cartopolis, stembewijs, pinnacle-website) are not drawn, and neither are lines to them.</li>
+ <li>It shows projects, code arrows, techs built and <b>what landed when</b>. No session titles, prompts, costs or who did what: those can carry private things.</li>
+ <li>Tap a project: its repository page, with the same week as dots per landing.</li>
+ </ul>
+ </div>
+</div>
+
+<!-- 4. Phone -->
+<div class="screen">
+ <div class="phone2">
+ <div class="top" style="display:flex;gap:10px;align-items:center;background:#fff;border-bottom:1px solid #dfe7e7"><b>Map</b><span class="muted">11 projects</span></div>
+ <div class="plist">
+ <span class="muted">Built on nothing else in the workspace</span>
+ <div class="pcard"><div class="h"><b>mithril</b><span class="muted">4 / 9 built</span></div><div class="d">used by pinnacle, fien, cartopolis, midas</div><div class="warn">⚑ midas, cartopolis.org: 30 commits behind</div></div>
+ <div class="pcard"><div class="h"><b>frits</b><span class="muted">5 sessions</span></div><div class="d">used by pinnacle</div></div>
+ <span class="muted">Built on those</span>
+ <div class="pcard"><div class="h"><b>fien</b><span class="muted">1 session</span></div><div class="d">uses mithril <em>·</em> used by pinnacle</div></div>
+
+ <div class="pcard on"><div class="h"><b>pinnacle</b><span class="muted">29 / 63 built</span></div><div class="d">uses mithril, frits, fien <em>·</em> 13 sessions shared with midas</div><div class="d" style="color:#2f7f7a;font-weight:600">Open its week →</div></div>
+ <div class="pcard"><div class="h"><b>cartopolis</b><span class="muted">52 / 80 built</span></div><div class="d">uses mithril <em>·</em> 27 sessions shared with midas</div></div>
+ <div class="pcard"><div class="h"><b>midas</b><span class="muted">154 sessions</span></div><div class="d">uses mithril</div></div>
+ <span class="muted">No code shared</span>
+ <div class="pcard"><div class="h"><b>dardasha</b> · <b>stembewijs</b> · <b>podium</b></div></div>
+ </div>
+ </div>
+ <div class="notes">
+ <h2><span>6</span>On the phone</h2>
+ <ul>
+ <li>As with the tree, a phone gets a <b>list, not the drawing</b>: projects in layers, foundations first, each card saying what it uses and what uses it.</li>
+ <li>The week turns sideways: streams become columns, time runs down, and you scroll it.</li>
+ </ul>
+ <h2><span>7</span>Built in two steps</h2>
+ <ul>
+ <li><b>First</b>: the map (1, 5, 6) from what is recorded today, and the week (3) with ties but no "started from" curves.</li>
+ <li><b>Then</b>: midas records started-from and handovers (4), and the week grows its curves from that day on.</li>
+ </ul>
+ </div>
+</div>
+
+<script>
+const NS = 'http://www.w3.org/2000/svg'
+const el = (p, tag, a = {}, text) => { const e = document.createElementNS(NS, tag); for (const k in a) e.setAttribute(k, a[k]); if (text != null) e.textContent = text; p.appendChild(e); return e }
+const defs = svg => { const d = el(svg, 'defs'); for (const [id, c] of [['a', '#2f7f7a'], ['o', '#c79a3c'], ['v', '#8f6fc4']]) { const m = el(d, 'marker', {id: svg.id + id, viewBox: '0 0 10 10', refX: 9, refY: 5, markerWidth: 7, markerHeight: 7, orient: 'auto'}); el(m, 'path', {d: 'M0,0 L10,5 L0,10 z', fill: c}) } }
+
+// Recorded on 2026-11-28: sessions per project, techs built/all, code dependencies with the pin's lag, sessions shared, tech needs across projects.
+const P = {
+ mithril: {x: 110, y: 300, s: 9, b: 4, t: 9, pub: 1}, frits: {x: 110, y: 110, s: 5, pub: 1},
+ fien: {x: 380, y: 100, s: 1, pub: 1}, cartopolis: {x: 400, y: 300, s: 607, b: 52, t: 80, pub: 1}, midas: {x: 420, y: 470, s: 154, pub: 1},
+ pinnacle: {x: 660, y: 150, s: 43, b: 29, t: 63, pub: 1}, 'pinnacle-website': {x: 890, y: 90, s: 4, b: 4, t: 12},
+ 'about-cartopolis': {x: 670, y: 360, s: 34}, podium: {x: 680, y: 480, s: 12, pub: 1},
+ dardasha: {x: 900, y: 490, s: 3, pub: 1}, stembewijs: {x: 880, y: 390, s: 6},
+}
+const CODE = [['mithril', 'pinnacle', 0], ['mithril', 'fien', 0], ['mithril', 'cartopolis', 3], ['mithril', 'cartopolis', 30, 'web'], ['mithril', 'midas', 30, 'web'], ['frits', 'pinnacle', 0], ['fien', 'pinnacle', 1]]
+const SHARED = {'midas|pinnacle': 13, 'mithril|pinnacle': 7, 'fien|mithril': 1, 'fien|pinnacle': 1, 'cartopolis|midas': 27, 'cartopolis|pinnacle': 6, 'frits|mithril': 2, 'frits|pinnacle': 3, 'pinnacle|pinnacle-website': 3, 'cartopolis|frits': 2, 'cartopolis|mithril': 4, 'midas|mithril': 2, 'cartopolis|podium': 1, 'midas|podium': 7, 'mithril|podium': 1, 'pinnacle|podium': 1, 'about-cartopolis|cartopolis': 5, 'about-cartopolis|midas': 7, 'about-cartopolis|podium': 3, 'about-cartopolis|stembewijs': 1, 'midas|stembewijs': 2, 'podium|stembewijs': 1, 'dardasha|midas': 1, 'dardasha|podium': 1}
+const NEEDS = [['pinnacle', 'pinnacle-website', 24], ['mithril', 'pinnacle', 3], ['pinnacle', 'mithril', 6]]
+const r = p => 12 + 5.5 * Math.log2(1 + P[p].s)
+
+function map(svg, pub) {
+ defs(svg)
+ const shown = p => P[p] && (!pub || P[p].pub)
+ for (const k in SHARED) { const [a, b] = k.split('|'); if (!shown(a) || !shown(b)) continue
+ el(svg, 'line', {x1: P[a].x, y1: P[a].y, x2: P[b].x, y2: P[b].y, stroke: '#cfe0df', 'stroke-width': 2 + 2.2 * Math.sqrt(SHARED[k]), 'stroke-linecap': 'round', opacity: .8}) }
+ if (!pub) for (const [a, b, n] of NEEDS) { const A = P[a], B = P[b], bend = a < b ? -40 : 40
+ const mx = (A.x + B.x) / 2, my = (A.y + B.y) / 2 + bend
+ el(svg, 'path', {d: `M${A.x},${A.y} Q${mx},${my} ${B.x},${B.y}`, fill: 'none', stroke: '#8f6fc4', 'stroke-width': 1.6, 'stroke-dasharray': '5 4', opacity: .8})
+ el(svg, 'text', {x: mx, y: my + (bend < 0 ? -4 : 12), 'text-anchor': 'middle', 'font-size': 11, fill: '#8f6fc4'}, `${n} techs`) }
+ for (const [a, b, lag, what] of CODE) { if (!shown(a) || !shown(b)) continue
+ const A = P[a], B = P[b], dx = B.x - A.x, dy = B.y - A.y, d = Math.hypot(dx, dy), off = what ? 10 : 0
+ const nx = -dy / d * off, ny = dx / d * off
+ const x1 = A.x + dx / d * r(a) + nx, y1 = A.y + dy / d * r(a) + ny, x2 = B.x - dx / d * (r(b) + 4) + nx, y2 = B.y - dy / d * (r(b) + 4) + ny
+ const c = lag > 5 ? 'o' : 'a'
+ el(svg, 'line', {x1, y1, x2, y2, stroke: c === 'o' ? '#c79a3c' : '#2f7f7a', 'stroke-width': 2.5, 'marker-end': `url(#${svg.id}${c})`})
+ if (lag) el(svg, 'text', {x: (x1 + x2) / 2 + nx * 1.6, y: (y1 + y2) / 2 + ny * 1.6 + 4, 'text-anchor': 'middle', 'font-size': 11, fill: lag > 5 ? '#8a6214' : '#6b8183', 'font-weight': 600}, `${what ? what + ' · ' : ''}${lag} behind`) }
+ for (const p in P) { if (!shown(p)) continue; const {x, y, b, t, s} = P[p], R = r(p), sel = !pub && p === 'mithril'
+ el(svg, 'circle', {cx: x, cy: y, r: R, fill: '#fff', stroke: sel ? '#5cc6c0' : '#dfe7e7', 'stroke-width': sel ? 4 : 2})
+ if (t) { const f = b / t, a = 2 * Math.PI * f, Rr = R - 5
+ el(svg, 'circle', {cx: x, cy: y, r: Rr, fill: 'none', stroke: '#e3eaea', 'stroke-width': 4})
+ el(svg, 'path', {d: `M${x},${y - Rr} A${Rr},${Rr} 0 ${f > .5 ? 1 : 0} 1 ${x + Rr * Math.sin(a)},${y - Rr * Math.cos(a)}`, fill: 'none', stroke: '#2f8f5b', 'stroke-width': 4, 'stroke-linecap': 'round'}) }
+ el(svg, 'text', {x, y: y + 4, 'text-anchor': 'middle', 'font-size': 13.5, 'font-weight': 600, fill: '#1d2a2c'}, p)
+ el(svg, 'text', {x, y: y + R + 15, 'text-anchor': 'middle', 'font-size': 11.5, fill: '#6b8183'}, pub ? (t ? `${b} techs built` : '') : `${s} sessions${t ? ` · ${b}/${t}` : ''}`) }
+}
+map(document.getElementById('map'), false)
+Object.assign(P.frits, {x: 110, y: 90}); Object.assign(P.mithril, {x: 110, y: 250}); Object.assign(P.fien, {x: 360, y: 80}); Object.assign(P.cartopolis, {x: 400, y: 260})
+Object.assign(P.pinnacle, {x: 680, y: 110}); Object.assign(P.midas, {x: 640, y: 300}); Object.assign(P.podium, {x: 860, y: 300}); Object.assign(P.dardasha, {x: 1030, y: 300})
+map(document.getElementById('pub'), true)
+
+// The week around Pinnacle, 21–28 November 2026: [id, projects, start, end, outcome, title, built a tech].
+const SESSIONS = [["s794","pinnacle,midas",1795283843,1795347385,"done","",0],["s825","pinnacle,midas",1795381059,1795541288,"done","",0],["s829","cartopolis,midas,podium,pinnacle,mithril",1795427523,1795543938,"stopped","",0],["s830","cartopolis,pinnacle,midas",1795429442,1795456982,"done","",0],["s832","pinnacle",1795469952,1795471228,"landed","",0],["s834","pinnacle,cartopolis,midas",1795471402,1795693797,"landed","",0],["s836","pinnacle",1795512023,1795514000,"done","",0],["s837","pinnacle",1795514358,1795517385,"done","",0],["s838","pinnacle",1795516761,1795518504,"done","",0],["s839","cartopolis,mithril",1795521536,1795706374,"done","",0],["s840","pinnacle",1795521830,1795522231,"stopped","",0],["s841","pinnacle",1795522534,1795537930,"landed","",0],["s842","pinnacle",1795523446,1795546540,"landed","",0],["s844","pinnacle",1795546817,1795597747,"landed","",0],["s846","pinnacle",1795599936,1795602800,"landed","",0],["s847","pinnacle,pinnacle-website",1795600537,1795625018,"landed","",0],["s848","pinnacle",1795604231,1795606524,"done","",0],["s851","frits,cartopolis",1795668476,1795709010,"landed","",0],["s853","pinnacle-website,pinnacle",1795673694,1795685450,"waiting","",0],["s854","pinnacle,frits",1795674715,1795676774,"waiting","",0],["s855","pinnacle,midas",1795675694,1795695433,"landed","",0],["s856","pinnacle",1795703524,1795706101,"done","",0],["s857","mithril,cartopolis,pinnacle,midas",1795707289,1795868808,"landed","",0],["s858","pinnacle,midas,cartopolis",1795707840,1795775729,"landed","",0],["s861","mithril,cartopolis",1795716269,1795771512,"landed","",0],["s862","pinnacle",1795716425,1795724254,"landed","",0],["s863","cartopolis,frits",1795716471,1795767882,"landed","",0],["s864","frits,mithril,pinnacle",1795767996,1795771815,"landed","",0],["s866","pinnacle-website",1795769988,1795771906,"landed","",0],["s867","pinnacle",1795775496,1795788175,"landed","",0],["s868","pinnacle",1795775576,1795793170,"landed","",0],["s869","pinnacle-website,pinnacle",1795775803,1795785729,"done","",0],["s870","pinnacle",1795775901,1795787389,"landed","",0],["s871","frits,pinnacle,mithril",1795775934,1795784816,"landed","",0],["s874","pinnacle,midas,cartopolis",1795796641,1795818309,"landed","",0],["s875","pinnacle",1795796781,1795798171,"landed","",1],["s876","pinnacle,mithril",1795796953,1795800283,"landed","",1],["s877","pinnacle,mithril,fien",1795798130,1795869587,"landed","",0],["s878","pinnacle",1795800283,1795801738,"landed","",1],["s879","pinnacle",1795801738,1795803072,"landed","",1],["s880","pinnacle",1795803072,1795803768,"landed","",1],["s882","pinnacle",1795866157,1795867708,"landed","",1],["s883","pinnacle",1795866269,1795869010,"landed","",1],["s884","pinnacle,midas",1795866384,1795869283,"landed","",0],["s885","pinnacle,midas",1795867213,1795869492,"working","",0],["s886","pinnacle,mithril",1795868516,1795868523,"working","",0],["s887","pinnacle,midas",1795869447,1795870021,"working","",0],["s888","pinnacle,midas",1795869623,1795869978,"working","",0]]
+const WEEK = SESSIONS
+const svg = document.getElementById('week'), X0 = 150, X1 = 1270, T0 = 1795283843 - 3600, T1 = 1795869623 + 3600
+const tx = t => X0 + (t - T0) / (T1 - T0) * (X1 - X0)
+const STREAMS = ['pinnacle', 'mithril', 'frits', 'fien', 'pinnacle-website', 'elsewhere']
+const SY = {}, HS = s => s === 'pinnacle' ? 112 : 54, LANES = s => s === 'pinnacle' ? 7 : 3
+let yy0 = 40; for (const s of STREAMS) { SY[s] = yy0; yy0 += HS(s) + 8 }
+for (let d = 0; d <= 7; d++) { const t = 1795219200 + 86400 * (d + 1), x = tx(t); if (x < X0 || x > X1) continue
+ el(svg, 'line', {x1: x, y1: 26, x2: x, y2: yy0, stroke: '#e3eaea'})
+ el(svg, 'text', {x: x + 4, y: 20, 'font-size': 11.5, fill: '#9fb3b5'}, new Date(t * 1000).toLocaleDateString('en-GB', {day: 'numeric', month: 'short'})) }
+STREAMS.forEach(s => { el(svg, 'rect', {x: 12, y: SY[s], width: X1 - 4, height: HS(s), rx: 10, fill: s === 'pinnacle' ? '#e9f6f5' : '#fff', stroke: '#e3eaea'})
+ el(svg, 'text', {x: 24, y: SY[s] + HS(s) / 2 + 4, 'font-size': 13, 'font-weight': 600, fill: s === 'elsewhere' ? '#9fb3b5' : '#1d2a2c'}, s === 'elsewhere' ? 'midas, cartopolis…' : s) })
+const home = ps => ps.find(p => STREAMS.includes(p)) ?? 'elsewhere'
+const lanes = {}
+const col = o => o === 'landed' ? '#2f8f8a' : o === 'working' || o === 'waiting' ? '#e6a93c' : '#b9c9ca'
+for (const [id, ps0, a, b, o, , tech] of WEEK.sort((p, q) => p[2] - q[2])) {
+ const ps = ps0.split(','), h = home(ps), L = lanes[h] ??= Array(LANES(h)).fill(0)
+ let k = L.findIndex(e => e < a); if (k < 0) k = L.indexOf(Math.min(...L)); L[k] = b + 1800
+ const y = SY[h] + 9 + k * 14, x1 = tx(a), x2 = Math.max(tx(b), x1 + 7)
+ for (const p of ps) { const q = STREAMS.includes(p) ? p : 'elsewhere'; if (q === h) continue
+ const yy = SY[q] + HS(q) / 2; el(svg, 'line', {x1: x1 + 2, y1: y + 4, x2: x1 + 2, y2: yy, stroke: '#8fb3b0', 'stroke-width': 1, opacity: .55})
+ el(svg, 'circle', {cx: x1 + 2, cy: yy, r: 3, fill: col(o)}) }
+ el(svg, 'rect', {x: x1, y, width: x2 - x1, height: 9, rx: 4.5, fill: col(o)})
+ if (tech) el(svg, 'text', {x: x2 + 3, y: y + 9, 'font-size': 11, fill: '#2f7f7a'}, '◆')
+}
+</script>