Plate № 45 · Editorial & presentation · records-lane model

A pattern from the gf.cx specimen book · session-notes-standard v0.0.3

The session-notes lane, standardised

Source · Dan, 2026-09-11 · named across a run of vault.gf.cx/lto nits

"Every series of nits eventually creates a pattern." … "So once we resolve nits it becomes a pattern-standard."

The problem

Most surfaces grow a running lane of working notes — what happened, what's blocked, what's owed next. Left to each surface, that lane drifts three ways at once: it gets hand-edited into the HTML (so appending a note means touching markup and re-deploying); its per-note styling wanders (one page bolds the title, another doesn't; one wraps to two lines, another runs inline); and its section headers sprout a clickable # permalink that, on a phone, steals the first tap so opening a note takes two. A lane copied by hand onto ten surfaces is ten lanes to keep in sync — the opposite of a system.

The standard — v0.0.4

One shelf file, session-notes.js, renders the lane from a per-surface JSON. Drop a placeholder and a script; append notes by editing the JSON, never the HTML. The rules the nits settled into:

Author it as

<!-- once, near the bottom -->
<div data-session-notes
     data-src="/lto/session-notes.json"
     data-accordion></div>
<script src="https://assets.gf.cx/session-notes/session-notes.js"
        data-cfasync="false" defer></script>
<!-- the deep-link chip. The lane is .sn-notes[id] and each note is
     .sn-note[id] — NOT the section[id] default; name them here or the
     "#" anchor silently no-ops. A ledger.js page wires this itself. -->
<script src="https://assets.gf.cx/section-anchors/section-anchors.js"
        data-select="section[id], .sn-notes[id], .sn-note[id]"
        data-cfasync="false" defer></script>

Two gotchas the lane inherits from the page, not the shelf — both fail silently. (1) The surface needs a house h2 { font-family: var(--serif); font-weight: 400 } rule: the lane heading is an <h2>, so a page missing that rule renders "Session notes" in the browser-default bold sans, not the house serif. (2) section-anchors.js must name .sn-notes[id] in data-select — its section[id] default doesn't match the <details class="sn-notes"> lane, so the deep-link anchor never attaches. Both surfaced adding the lane to status.gf.cx/models, 2026-09-17: placeholder + script alone got a bold-sans heading and no anchor.

Append a note by editing /lto/session-notes.json — nothing in the HTML changes:

{ "notes": [
  { "date": "2026-09-11",
    "tag": "idea · hardware · replacement",
    "title": "Replacement path if the RMA stalls — read its power-on hours first",
    "lede": "A pulled Quantum LTO-6H SAS drive runs ~$330 used.",
    "bullets": [ { "h": "Verify", "body": "Demand the `sg_logs` hours report", "flag": true } ] }
] }

Where it applies

Reference implementation: vault.gf.cx/lto — the LTO-6 tier's notes lane, two-line non-bold notes, deep-linked at #session-notes with no visible chip. The same shelf drives the status.gf.cx storage pages, so every surface's notes lane reads identically. The lane is the running-journal companion to the ledger page model (plate № 42): the ledger folds a page's sections; this folds its notes, harmonised to the same bird-beak.

Reusable elements

Reference

Version
session-notes-standard v0.0.4 — v0.0.1 codified 2026-09-11 from the vault.gf.cx/lto nit run (two-line header, normal-weight title, purge the visible #); v0.0.2, 2026-09-12, adds inline ![alt](url) images (session-notes.js v0.2.9), first used for the LTO 2×1 asset-label render; v0.0.3, 2026-09-17, completes the authoring recipe — the section-anchors.js line plus the two silent gotchas (house h2 rule, .sn-notes[id] in data-select), from wiring the lane onto status.gf.cx/models; v0.0.4, 2026-09-18, extends deep-linking from the lane to EVERY NOTE — session-notes.js v0.3.0 slugs each note from its title (falling back to date+tag), so a note has a readable id like #session-notes-hmpo-confirmed-receipt-of-the-old-passport. Ids ship everywhere at once; the chip needs .sn-note[id] in data-select, which ledger.js v0.7.0 now wires automatically. Paired fix: section-anchors.js v0.7.0 only reflects an opened panel into the URL on a real click — script-opened panels (the async lane, expand-all) were overwriting the visitor's anchor.
Source
Dan, 2026-09-11 — "every series of nits eventually creates a pattern"; "once we resolve nits it becomes a pattern-standard."
In use / example
vault.gf.cx/lto · the status.gf.cx storage pages.
Reusable elements
session-notes.js · <div data-session-notes> placeholder · section-anchors.js (chrome-less deep-links) · pairs with ledger.js.
Build cost
One placeholder <div> + one <script defer>; append notes by editing one JSON. The shelf caches portfolio-wide; a style or behaviour change propagates from the one file.