Share studio: one customisation suite for share images (machine card, canvas, any state) #94

Open
opened 2026-10-08 10:43:38 +00:00 by kayg · 8 comments
Owner

Owner (2026-10-08): one customisation suite for share images, reused everywhere: the machine info share card (D126), the canvas (whole canvas, a view, or a window), and later any state worth sharing.

Scope to grill:

  • One share studio component in packages/ui: a live preview of the image with the controls beside it (theme and gradient background, padding, frame and shadow, window chrome on/off, a small infraternal mark on/off, redaction toggles for IPs, hostnames, usernames and paths, aspect presets such as square, 16:9 and story, and scale 1×/2×/3×).
  • Output: PNG (and SVG where possible), copy to clipboard, share sheet on mobile, and plain-text or Markdown alternatives where they make sense.
  • Rendering stays local in the browser; nothing is uploaded.
  • Every surface plugs in through one "shareable" interface (provide a renderable node plus redactable fields).
  • Opened from ⌘K ("Share …"), the window pill menu, and the machine popover's share action.
Owner (2026-10-08): one customisation suite for share images, reused everywhere: the machine info share card (D126), the canvas (whole canvas, a view, or a window), and later any state worth sharing. Scope to grill: - One share studio component in packages/ui: a live preview of the image with the controls beside it (theme and gradient background, padding, frame and shadow, window chrome on/off, a small infraternal mark on/off, redaction toggles for IPs, hostnames, usernames and paths, aspect presets such as square, 16:9 and story, and scale 1×/2×/3×). - Output: PNG (and SVG where possible), copy to clipboard, share sheet on mobile, and plain-text or Markdown alternatives where they make sense. - Rendering stays local in the browser; nothing is uploaded. - Every surface plugs in through one "shareable" interface (provide a renderable node plus redactable fields). - Opened from ⌘K ("Share …"), the window pill menu, and the machine popover's share action.
Author
Owner

Owner 2026-10-17: the Machine tab (D126) is part of infrafetch / the share studio — "our take on it, not just copying fastfetch". Mockup round to start: the Machine tab and its share card designed as one infrafetch piece (our own layout, typography and OS marks, live bars only while open, redaction by default), feeding the share studio (#94). Backend facts are on branch host-facts (#238).

Owner 2026-10-17: the Machine tab (D126) is part of **infrafetch / the share studio** — "our take on it, not just copying fastfetch". Mockup round to start: the Machine tab and its share card designed as one infrafetch piece (our own layout, typography and OS marks, live bars only while open, redaction by default), feeding the share studio (#94). Backend facts are on branch host-facts (#238).
Author
Owner

Machine view round 2 (mockup), head 34b168d4b8 on branch mockup-infrafetch-r2 (D309, D310).

Open (production build of the mock, preview flag on): /?mock=1&proto=clusters&scene=3&infrafetch=cards&machines=lab. Press the build-01 window pill, then the expand icon in the compact card (or press the card) to open the Machine view. Escape or the close icon closes it. infrafetch=compare shows today's tab beside the proposed card (before/after). &fx=stress is the worst case; &windows=4&card=3 shows the glass over frosted windows.

Screenshots (Chromium, real backdrop blur): 1440x900-ink-view-frosted-windows.png 1440x900-paper-view-frosted-windows.png 1440x900-ink-pill-compare.png 1440x900-paper-pill-compare.png 1440x900-ink-view-stress.png 393x852-ink-pill-compact.png 393x852-ink-view.png 393x852-paper-pill-compact.png 393x852-paper-view.png 375x667-ink-view.png

Measured (software-rendered headless Chromium on a host at load 22, so only relative): layout while numbers count 2039 ms per 3 s with CSS columns, 31 ms with the grid used now; view open p50 frame 67 ms against 16.7 ms closed, blur is not the cost (same with it off). Real-device numbers still owed.

Machine view round 2 (mockup), head 34b168d4b8d17d1deaba087b282563d50b44b605 on branch mockup-infrafetch-r2 (D309, D310). Open (production build of the mock, preview flag on): `/?mock=1&proto=clusters&scene=3&infrafetch=cards&machines=lab`. Press the build-01 window pill, then the expand icon in the compact card (or press the card) to open the Machine view. Escape or the close icon closes it. `infrafetch=compare` shows today's tab beside the proposed card (before/after). `&fx=stress` is the worst case; `&windows=4&card=3` shows the glass over frosted windows. Screenshots (Chromium, real backdrop blur): ![1440x900-ink-view-frosted-windows.png](https://git.kayg.org/attachments/63280e99-8840-4ad0-a275-fb33dc5e0ad7) ![1440x900-paper-view-frosted-windows.png](https://git.kayg.org/attachments/7000fa7d-cc53-496c-ba0e-1e4a398271fd) ![1440x900-ink-pill-compare.png](https://git.kayg.org/attachments/521578cf-8148-453b-8fff-7bf6dc03468b) ![1440x900-paper-pill-compare.png](https://git.kayg.org/attachments/68d10bfb-0c33-4e9f-a00d-d2886efa3a36) ![1440x900-ink-view-stress.png](https://git.kayg.org/attachments/3b44b471-ef46-485f-9d46-18ab1f18a60e) ![393x852-ink-pill-compact.png](https://git.kayg.org/attachments/63f8f1c4-c277-4bce-9bc4-6612f4fbda30) ![393x852-ink-view.png](https://git.kayg.org/attachments/bc90eaca-ebf4-4d56-9b57-fa1a897cadbc) ![393x852-paper-pill-compact.png](https://git.kayg.org/attachments/e1a99338-6870-4bf6-9d8d-d45f5ac77420) ![393x852-paper-view.png](https://git.kayg.org/attachments/13853e57-47fe-474e-8ea3-16573d04dd21) ![375x667-ink-view.png](https://git.kayg.org/attachments/2d2790ba-77bb-432b-b8dd-9517fb02f9ca) Measured (software-rendered headless Chromium on a host at load 22, so only relative): layout while numbers count 2039 ms per 3 s with CSS columns, 31 ms with the grid used now; view open p50 frame 67 ms against 16.7 ms closed, blur is not the cost (same with it off). Real-device numbers still owed.
Author
Owner

Machine view r2, review fixes, head e4c019cc58 (supersedes the screenshots in my earlier comment).

  1. Text behind glass: the canvas is now blurred once as a whole (26 px filter on the panes while the view is open) and tinted 26 percent; cards sit on it with a thin fill. A backdrop blur on the scrim was tried first and left crisp lines at any radius up to 90 px (partial repaints in the software compositor), so it could not guarantee anything. 2x crops of the header, every gap between cards, the row gap and the area below the cards over dense text, ink and paper: no legible text anywhere.
  2. Layout: header; row 1 Processor, Memory, Storage, Network; row 2 Running, Software (then Graphics and Details when on); equal heights, full width. Two columns under 1100 px, one under 720 px.
  3. Perf, same run, 1440x900 headless software rendering, host at load about 20: popover open (baseline) p50 16.7 ms; Machine view open p50 67 to 83 ms (p95 100 to 133). Earlier versions: 8 backdrop blurs 133 ms, one backdrop blur 100 ms. Not a GPU number; the real-device check is still owed. Keyboard open and close: no running animation or transition right after the open, view gone synchronously on Escape.
    Also: the pill popover no longer repeats the mark and system name above the compact card.

1440x900-ink-view.png 1440x900-paper-view.png crop-ink-header.png crop-ink-gap-processor-memory.png crop-ink-gap-memory-storage.png crop-ink-gap-storage-network.png crop-ink-gap-rows.png crop-ink-below-cards.png crop-paper-header.png crop-paper-gap-memory-storage.png crop-paper-below-cards.png 1440x900-ink-pill-compare.png 1440x900-ink-view-stress.png 393x852-ink-view.png 393x852-ink-pill-compact.png 393x852-paper-view.png

Machine view r2, review fixes, head e4c019cc5800619727376ebdab3f4c96c5b68924 (supersedes the screenshots in my earlier comment). 1. Text behind glass: the canvas is now blurred once as a whole (26 px filter on the panes while the view is open) and tinted 26 percent; cards sit on it with a thin fill. A backdrop blur on the scrim was tried first and left crisp lines at any radius up to 90 px (partial repaints in the software compositor), so it could not guarantee anything. 2x crops of the header, every gap between cards, the row gap and the area below the cards over dense text, ink and paper: no legible text anywhere. 2. Layout: header; row 1 Processor, Memory, Storage, Network; row 2 Running, Software (then Graphics and Details when on); equal heights, full width. Two columns under 1100 px, one under 720 px. 3. Perf, same run, 1440x900 headless software rendering, host at load about 20: popover open (baseline) p50 16.7 ms; Machine view open p50 67 to 83 ms (p95 100 to 133). Earlier versions: 8 backdrop blurs 133 ms, one backdrop blur 100 ms. Not a GPU number; the real-device check is still owed. Keyboard open and close: no running animation or transition right after the open, view gone synchronously on Escape. Also: the pill popover no longer repeats the mark and system name above the compact card. ![1440x900-ink-view.png](https://git.kayg.org/attachments/3b335ea0-1af6-4c90-b22e-a79b8bfb06d6) ![1440x900-paper-view.png](https://git.kayg.org/attachments/7601f5fa-f20b-444e-8a78-61c46e62b3fe) ![crop-ink-header.png](https://git.kayg.org/attachments/2b0a87ee-bfe1-44bf-8b65-2af38438cc13) ![crop-ink-gap-processor-memory.png](https://git.kayg.org/attachments/829fe521-efee-4638-92b8-de391a74b2b4) ![crop-ink-gap-memory-storage.png](https://git.kayg.org/attachments/94354066-3522-4d37-a7ae-2589f19127b4) ![crop-ink-gap-storage-network.png](https://git.kayg.org/attachments/2657ad39-4413-48bb-a0fe-4e1031773286) ![crop-ink-gap-rows.png](https://git.kayg.org/attachments/8037f4d3-d6c0-4e0b-8548-308c2ed830f3) ![crop-ink-below-cards.png](https://git.kayg.org/attachments/8661396e-7ba7-4661-9405-3e39faab4bc2) ![crop-paper-header.png](https://git.kayg.org/attachments/65c42611-a0ba-4127-b80f-b8fd92b63acb) ![crop-paper-gap-memory-storage.png](https://git.kayg.org/attachments/7ad3eafa-6072-413c-bf65-2a2738ab3db3) ![crop-paper-below-cards.png](https://git.kayg.org/attachments/33012c52-625b-479a-8064-0605b5b14c8a) ![1440x900-ink-pill-compare.png](https://git.kayg.org/attachments/d5cbef8d-1302-4537-b06e-e4f45caa5323) ![1440x900-ink-view-stress.png](https://git.kayg.org/attachments/bd1b0d10-7701-4469-9f6f-aa447b1322c4) ![393x852-ink-view.png](https://git.kayg.org/attachments/b752775a-cad3-4570-bbc0-3d73820aedff) ![393x852-ink-pill-compact.png](https://git.kayg.org/attachments/6ef5fa8a-ebc6-4c21-9ceb-c75991c41eda) ![393x852-paper-view.png](https://git.kayg.org/attachments/c65f1d04-bbb9-4516-b7e3-ec8563c37385)
Author
Owner

Rebuilt on current dev for the owner's review. Branch mockups-2026-10-31, head 586cd2b13 (base dev 42ab33035, 2026-10-31). Test double only; nothing is real or saved. Not merged, not deployed. Old previews are gone; this replaces them.

Preview (NetBird, bound to infraternal-dev-02-std; index of every mockup: http://10.69.69.117:47650/mockups.html):

How: Press a window's pill, then the expand icon in the compact card. Escape closes. Variants: today beside proposed, worst case, over frosted windows.

Note: Rebased only: no design change. The details popover now also carries the privileged-access row and the starting-tab option of the other mockups.

Captures are Chromium on the production build of the mockup, taken by apps/tracer/test/capture-mockups.ts; I have read them for wrong states, not judged them as final.

Desktop 1440×900 @2x, ink

compact-card
machine-view
machine-view-over-frosted-windows
machine-view-worst-case
today-beside-proposed

Desktop 1440×900 @2x, paper

compact-card
machine-view
machine-view-over-frosted-windows
machine-view-worst-case
today-beside-proposed

Phone 393×852 @3x, ink

compact-card
machine-view-over-frosted-windows
machine-view
machine-view-worst-case
today-beside-proposed

Phone 393×852 @3x, paper (first state only)

compact-card
machine-view-over-frosted-windows
machine-view-worst-case
today-beside-proposed

Rebuilt on current dev for the owner's review. Branch `mockups-2026-10-31`, head `586cd2b13` (base dev `42ab33035`, 2026-10-31). Test double only; nothing is real or saved. Not merged, not deployed. Old previews are gone; this replaces them. **Preview** (NetBird, bound to infraternal-dev-02-std; index of every mockup: http://10.69.69.117:47650/mockups.html): - http://10.69.69.117:47650/?mock=1&proto=clusters&scene=3&infrafetch=cards&machines=lab - http://10.69.69.117:47650/?mock=1&proto=clusters&scene=3&infrafetch=compare&machines=lab - http://10.69.69.117:47650/?mock=1&proto=clusters&scene=3&infrafetch=cards&machines=lab&fx=stress - http://10.69.69.117:47650/?mock=1&proto=clusters&scene=3&infrafetch=cards&machines=lab&windows=4&card=3 **How:** Press a window's pill, then the expand icon in the compact card. Escape closes. Variants: today beside proposed, worst case, over frosted windows. **Note:** Rebased only: no design change. The details popover now also carries the privileged-access row and the starting-tab option of the other mockups. Captures are Chromium on the production build of the mockup, taken by `apps/tracer/test/capture-mockups.ts`; I have read them for wrong states, not judged them as final. **Desktop 1440×900 @2x, ink** ![compact-card](https://git.kayg.org/attachments/f33a11c8-830b-43a5-a684-2a911d43f4b7) ![machine-view](https://git.kayg.org/attachments/115e6692-060f-4134-bddd-331a3ec9f4d5) ![machine-view-over-frosted-windows](https://git.kayg.org/attachments/d603d784-afbf-4de3-9ed9-1d239566516e) ![machine-view-worst-case](https://git.kayg.org/attachments/f26780ac-06b1-4317-baf5-7c887b27364b) ![today-beside-proposed](https://git.kayg.org/attachments/46dba3ed-3d9a-4ea9-bc2e-69842221a120) **Desktop 1440×900 @2x, paper** ![compact-card](https://git.kayg.org/attachments/6d1d1ef6-5177-4058-b831-0f587e294b89) ![machine-view](https://git.kayg.org/attachments/e0e585df-881e-435b-88c8-bf82e9d07fae) ![machine-view-over-frosted-windows](https://git.kayg.org/attachments/0f8e0db3-3147-4e1e-be7f-de602e11b35a) ![machine-view-worst-case](https://git.kayg.org/attachments/11ad0edf-9f87-4057-9052-56c6a511f9d0) ![today-beside-proposed](https://git.kayg.org/attachments/5212c071-6c0e-4cf3-abbe-db03c944e0ce) **Phone 393×852 @3x, ink** ![compact-card](https://git.kayg.org/attachments/ae13dbae-f857-477f-b10e-34f8bc5acdd3) ![machine-view-over-frosted-windows](https://git.kayg.org/attachments/04671e16-1e60-41da-856d-3674313482fb) ![machine-view](https://git.kayg.org/attachments/a70f25a6-fddc-448d-b0d5-14dd4b512450) ![machine-view-worst-case](https://git.kayg.org/attachments/8af9562e-5a82-41b9-b4c6-4c6a1ae89f1a) ![today-beside-proposed](https://git.kayg.org/attachments/dda17b0b-d74d-4ab5-9726-9df5a841a287) **Phone 393×852 @3x, paper (first state only)** ![compact-card](https://git.kayg.org/attachments/cf2a35ac-f870-466c-90c3-1f173aebedf6) ![machine-view-over-frosted-windows](https://git.kayg.org/attachments/76ddc2c3-30dc-4c87-8968-06b40280b7e7) ![machine-view-worst-case](https://git.kayg.org/attachments/be390bcb-e1db-4cec-82ee-ad3ea38b0fb2) ![today-beside-proposed](https://git.kayg.org/attachments/ae563fd2-ac4e-4ab2-b686-b4c78e72f20b)
Author
Owner

Update to the comment above: the branch head is now 57871651f (the preview at http://10.69.69.117:47650/mockups.html runs it). The captures above were taken one build earlier; the only difference is that the window terminals there hide their cursor until attached, a production change that was since removed from the branch. Gate output, what is left out, and the budget finding: #272.

Update to the comment above: the branch head is now `57871651f` (the preview at http://10.69.69.117:47650/mockups.html runs it). The captures above were taken one build earlier; the only difference is that the window terminals there hide their cursor until attached, a production change that was since removed from the branch. Gate output, what is left out, and the budget finding: #272.
Author
Owner

J108 start (Machine cards, owner review 2026-11-02). Mockup only, no product code.

Branch machine-cards-structure-j108, base origin/dev 17d282a18. Port, not rebase: mockups-2026-10-31 is 152 commits ahead of and 246 behind dev (a combined preview of many mocks), so I took a fresh branch from dev and cherry-picked the five #94 commits (61415ec5f, 756f8c8a9, 9b64bf248, 34b168d4b, e4c019cc5). Two conflicts, both in details.on-demand.ts (dev's UI-scale width and the "Remove host" hint), resolved by keeping both sides. The combined preview's extra rows in the details popover (privileged access, starting tab) belong to other mocks and are not in this branch.

Owner's words: "machine cards is all kinds of wrong ;/ look at the top tabs they got pushed up! … all of this needs to be pushed inwards and we need to have a proper structure!"

Plan (estimate about 3 h, stop and report at 6 h)

  1. Compact card: tab bar inset inside the card by the same inset as the content below (new TASTE row 150 already on main: "Content sits inside its container, with an even inset").
  2. Expanded view: stays a window-sized surface on the canvas with even insets (not a full-bleed page); hierarchy identity header, key vitals, details sections; one grid, shared baselines, no orphan wraps. Also: the masked Address, "Infraternal agent: embedded, user" wording, and "Console · offline" with a spinner.
  3. Two structure options as separate links: A one column of sections inside the window, B a two-level grid inside the window. Each at 1440×900 and 393×852. I will recommend one.
  4. Measure insets per TASTE's check (Playwright), DPR 2 screenshots of compact and expanded (both options, desktop and phone) on this issue.
  5. Serve from my own worktree on its own port (the way #304 is served), link it from the #94 entry in mockups.html with an absolute origin, drop the .br/.gz copies.

Not building: product code, new shared components in packages/ui beyond what the mock needs, a capture framework.

Build queues at start: infraternal-dev-02-std 2 busy plus 3 queued; compute01 2 of 4 slots free, so heavy runs go to compute01 (the mock is served from dev-02 because the owner's index lives there; builds are light).

**J108 start** (Machine cards, owner review 2026-11-02). Mockup only, no product code. Branch `machine-cards-structure-j108`, base `origin/dev` 17d282a18. **Port, not rebase:** `mockups-2026-10-31` is 152 commits ahead of and 246 behind dev (a combined preview of many mocks), so I took a fresh branch from dev and cherry-picked the five #94 commits (61415ec5f, 756f8c8a9, 9b64bf248, 34b168d4b, e4c019cc5). Two conflicts, both in `details.on-demand.ts` (dev's UI-scale width and the "Remove host" hint), resolved by keeping both sides. The combined preview's extra rows in the details popover (privileged access, starting tab) belong to other mocks and are not in this branch. Owner's words: "machine cards is all kinds of wrong ;/ look at the top tabs they got pushed up! … all of this needs to be pushed inwards and we need to have a proper structure!" **Plan (estimate about 3 h, stop and report at 6 h)** 1. Compact card: tab bar inset inside the card by the same inset as the content below (new TASTE row 150 already on main: "Content sits inside its container, with an even inset"). 2. Expanded view: stays a window-sized surface on the canvas with even insets (not a full-bleed page); hierarchy identity header, key vitals, details sections; one grid, shared baselines, no orphan wraps. Also: the masked Address, "Infraternal agent: embedded, user" wording, and "Console · offline" with a spinner. 3. Two structure options as separate links: A one column of sections inside the window, B a two-level grid inside the window. Each at 1440×900 and 393×852. I will recommend one. 4. Measure insets per TASTE's check (Playwright), DPR 2 screenshots of compact and expanded (both options, desktop and phone) on this issue. 5. Serve from my own worktree on its own port (the way #304 is served), link it from the #94 entry in `mockups.html` with an absolute origin, drop the `.br`/`.gz` copies. Not building: product code, new shared components in `packages/ui` beyond what the mock needs, a capture framework. Build queues at start: infraternal-dev-02-std 2 busy plus 3 queued; compute01 2 of 4 slots free, so heavy runs go to compute01 (the mock is served from dev-02 because the owner's index lives there; builds are light).
Author
Owner

J108: Machine cards, structure round for the owner's review of 2026-11-02. Mockup only; test double; nothing merged or deployed.
Branch machine-cards-structure-j108, head ca718007e (base origin/dev 17d282a18). Port, not rebase (see below).

Links (served from infraternal-dev-02-std, port 47670; also on the index http://10.69.69.117:47650/mockups.html, entry #94). Press the build-01 window's pill, then the expand icon in the compact card; Escape closes.

Recommendation: A. One hierarchy read top to bottom (who it is, the four key levels, details in sections), one left edge for everything, a window of the usual width (TASTE: windows keep their natural width), and the same on a phone. B shows more at a glance on a desktop (all four levels and half the sections without scrolling) but it is again boxes in a grid, the thing the owner called structureless, and its window is wider than a normal window (1162 px at the 110 % UI size). If the owner wants everything visible without scrolling on a desktop, take B; both share one DOM and one set of rows, so switching costs nothing.

What was wrong, with its cause, and what changed

  1. Tabs pushed up onto the card edge. The compact card hides the popover header, and the tab bar's padding had no top inset. Now the tab bar sits one inset from the top, the same as the card has on its other sides, and no rule or fade runs edge to edge under it.
  2. Full-bleed page of eight boxes. The expanded view is now the shared window card (same frame, header pill and action pill as any window) floated over the blurred canvas, centred, as tall as its content, growing out of the window it came from. Inside: identity, then key vitals (processor, memory, storage, network), then details sections using the shared key/value list.
  3. "up to 5.1 GHz" alone on a line. Joined facts are rows of their own now (Cores 8, Threads 16, Top speed 5.1 GHz; Sessions 5, In the background 2), and short vital notes. The spec asserts that no value wraps, on both sizes.
  4. Address as dots. It was hidden on purpose (nothing secret in a screenshot). It now says "Hidden" in words, with the tooltip "Show address. It stays hidden until you ask, so a screenshot never shows it"; pressing shows it and then it copies like any value.
  5. "Infraternal agent: embedded, user". Now "Infraternal agent: Built into the server" and "Root access: No". The spec asserts that "agent" never appears without "infraternal".
  6. "Console · offline" with a spinner. Not part of the Machine cards. I loaded the owner's exact URL (windows=4&card=3) fresh and watched the top pill before, during and 9 s after opening the view: it stays "Console · 11 sessions" with the green dot every time. The spinner is the pill's real reconnecting state, so that page had lost its link to the test double (likely the server restarted while the tab was open). Reload fixes it. I did not change anything for it; if it appears again on a fresh load, send me the steps.
  7. Found while reading my own captures: the key/value list fades a changed value out and back, and live numbers (receiving, sending, memory) change every second, so they flickered to near-invisible. Fixed inside this window (they update at once).

Measured (Playwright test/machine-cards.spec.ts, DPR 2, desktop is the 110 % UI size; ±0.5 px except where noted; 6 of 6 pass)

surface inset from its container, CSS px
compact card, desktop tab bar left 18.59, top 18.59; card left 18.59, right 18.59, bottom 18.59
compact card, phone all five 17.00
A desktop window 634×821, side gaps 403.2 / 403.2, bottom 13.2; content left = header pill mark 19.6, right 19.6, bottom 19.4 (±1 on the bottom: the scroll body's own padding)
B desktop window 1162×821, sides 139.2 / 139.2, bottom 13.2; blocks left 9.8 = header pill edge, right 9.8, bottom 10.2
A phone window 377×730, sides 8.0 / 8.0; content 18.0 left and right, bottom 17.8
B phone window 377×730, sides 8.0 / 8.0; blocks 9.0, bottom 9.3
Also asserted: no child box crosses the window; every key/value row is one line with key and value on one centre line (≤1.5 px, the key is 13 px and the value 14 px); each vital's icon and label share a centre line (A also the number and the meter, within 1 px); vital notes do not wrap.
Not checked: real-device frame rate (headless Chromium on a shared VM); the window's grow animation was looked at in code only, not frame by frame.

Screenshots, DPR 2, ink
Compact, desktop and phone: desktop compact phone compact
Expanded A, desktop and phone: desktop A phone A
Expanded B, desktop and phone: desktop B phone B

Paper (light), same captures
paper desktop compact paper phone compact
paper desktop A paper phone A
paper desktop B paper phone B
(In the paper compact card the processor row has no number yet: the first read of its level has not arrived, by design, so the rows below do not move.)

Provenance. Port, not rebase: mockups-2026-10-31 is 152 commits ahead of and 246 behind dev. This branch starts from dev and carries the #94 commits 61415ec5f, 756f8c8a9, 9b64bf248, 34b168d4b, e4c019cc5 plus the dot mark and dot meter of 145d24cdc, without its key/value list rewrite (dev's list already patches in place and has sections, meters and pressable values). Round 1's popover layouts (?infrafetch=a|b|c) are dropped. The commits are squashed into one mock commit, one test commit and the TASTE row (cee929993, same text; the row is also on main).

**J108: Machine cards, structure round for the owner's review of 2026-11-02.** Mockup only; test double; nothing merged or deployed. Branch `machine-cards-structure-j108`, head `ca718007e` (base `origin/dev` 17d282a18). Port, not rebase (see below). **Links** (served from infraternal-dev-02-std, port 47670; also on the index http://10.69.69.117:47650/mockups.html, entry #94). Press the build-01 window's pill, then the expand icon in the compact card; Escape closes. - A, one column: http://10.69.69.117:47670/?mock=1&proto=clusters&scene=3&infrafetch=cards&machines=lab&structure=a - B, two-level grid: http://10.69.69.117:47670/?mock=1&proto=clusters&scene=3&infrafetch=cards&machines=lab&structure=b - A or B over frosted windows (the owner's URL): add `&windows=4&card=3` - today beside proposed: `&infrafetch=compare` instead of `cards` **Recommendation: A.** One hierarchy read top to bottom (who it is, the four key levels, details in sections), one left edge for everything, a window of the usual width (TASTE: windows keep their natural width), and the same on a phone. B shows more at a glance on a desktop (all four levels and half the sections without scrolling) but it is again boxes in a grid, the thing the owner called structureless, and its window is wider than a normal window (1162 px at the 110 % UI size). If the owner wants everything visible without scrolling on a desktop, take B; both share one DOM and one set of rows, so switching costs nothing. **What was wrong, with its cause, and what changed** 1. *Tabs pushed up onto the card edge.* The compact card hides the popover header, and the tab bar's padding had no top inset. Now the tab bar sits one inset from the top, the same as the card has on its other sides, and no rule or fade runs edge to edge under it. 2. *Full-bleed page of eight boxes.* The expanded view is now the shared window card (same frame, header pill and action pill as any window) floated over the blurred canvas, centred, as tall as its content, growing out of the window it came from. Inside: identity, then key vitals (processor, memory, storage, network), then details sections using the shared key/value list. 3. *"up to 5.1 GHz" alone on a line.* Joined facts are rows of their own now (Cores 8, Threads 16, Top speed 5.1 GHz; Sessions 5, In the background 2), and short vital notes. The spec asserts that no value wraps, on both sizes. 4. *Address as dots.* It was hidden on purpose (nothing secret in a screenshot). It now says "Hidden" in words, with the tooltip "Show address. It stays hidden until you ask, so a screenshot never shows it"; pressing shows it and then it copies like any value. 5. *"Infraternal agent: embedded, user".* Now "Infraternal agent: Built into the server" and "Root access: No". The spec asserts that "agent" never appears without "infraternal". 6. *"Console · offline" with a spinner.* Not part of the Machine cards. I loaded the owner's exact URL (`windows=4&card=3`) fresh and watched the top pill before, during and 9 s after opening the view: it stays "Console · 11 sessions" with the green dot every time. The spinner is the pill's real reconnecting state, so that page had lost its link to the test double (likely the server restarted while the tab was open). Reload fixes it. I did not change anything for it; if it appears again on a fresh load, send me the steps. 7. Found while reading my own captures: the key/value list fades a changed value out and back, and live numbers (receiving, sending, memory) change every second, so they flickered to near-invisible. Fixed inside this window (they update at once). **Measured** (Playwright `test/machine-cards.spec.ts`, DPR 2, desktop is the 110 % UI size; ±0.5 px except where noted; 6 of 6 pass) | surface | inset from its container, CSS px | |---|---| | compact card, desktop | tab bar left 18.59, top 18.59; card left 18.59, right 18.59, bottom 18.59 | | compact card, phone | all five 17.00 | | A desktop | window 634×821, side gaps 403.2 / 403.2, bottom 13.2; content left = header pill mark 19.6, right 19.6, bottom 19.4 (±1 on the bottom: the scroll body's own padding) | | B desktop | window 1162×821, sides 139.2 / 139.2, bottom 13.2; blocks left 9.8 = header pill edge, right 9.8, bottom 10.2 | | A phone | window 377×730, sides 8.0 / 8.0; content 18.0 left and right, bottom 17.8 | | B phone | window 377×730, sides 8.0 / 8.0; blocks 9.0, bottom 9.3 | Also asserted: no child box crosses the window; every key/value row is one line with key and value on one centre line (≤1.5 px, the key is 13 px and the value 14 px); each vital's icon and label share a centre line (A also the number and the meter, within 1 px); vital notes do not wrap. Not checked: real-device frame rate (headless Chromium on a shared VM); the window's grow animation was looked at in code only, not frame by frame. **Screenshots, DPR 2, ink** Compact, desktop and phone: ![desktop compact](https://git.kayg.org/attachments/8d409102-c1e6-4f2b-b1d8-818dc29ad251) ![phone compact](https://git.kayg.org/attachments/fe50969b-58e6-4537-924e-9a931a44b2f9) Expanded A, desktop and phone: ![desktop A](https://git.kayg.org/attachments/41617c12-0925-4b51-98af-ac4cc046feb8) ![phone A](https://git.kayg.org/attachments/0e919780-a519-4085-bac8-7726a6459821) Expanded B, desktop and phone: ![desktop B](https://git.kayg.org/attachments/6631ef8d-3ab5-4317-96d1-b6a03e4729c3) ![phone B](https://git.kayg.org/attachments/bf4c972d-3c0d-471e-abbb-11f350f951e5) **Paper (light), same captures** ![paper desktop compact](https://git.kayg.org/attachments/7d60d0e7-560a-452a-8b8c-91590af0fa94) ![paper phone compact](https://git.kayg.org/attachments/6c272006-a9bb-4a07-b62f-9c41a6ca383b) ![paper desktop A](https://git.kayg.org/attachments/ba4a6a42-e96e-4fe4-9bed-6d2b391c11b0) ![paper phone A](https://git.kayg.org/attachments/faa3d3ac-caf5-4867-b65e-1d931ec30b70) ![paper desktop B](https://git.kayg.org/attachments/0d4127f2-c23d-482e-a95c-9c50324d0e0f) ![paper phone B](https://git.kayg.org/attachments/a7a28bd4-a18f-4ecc-85fd-b9216b7879cf) (In the paper compact card the processor row has no number yet: the first read of its level has not arrived, by design, so the rows below do not move.) **Provenance.** Port, not rebase: `mockups-2026-10-31` is 152 commits ahead of and 246 behind dev. This branch starts from dev and carries the #94 commits 61415ec5f, 756f8c8a9, 9b64bf248, 34b168d4b, e4c019cc5 plus the dot mark and dot meter of 145d24cdc, without its key/value list rewrite (dev's list already patches in place and has sections, meters and pressable values). Round 1's popover layouts (`?infrafetch=a|b|c`) are dropped. The commits are squashed into one mock commit, one test commit and the TASTE row (cee929993, same text; the row is also on main).
Author
Owner

J108 finish. Branch machine-cards-structure-j108, head ca718007e (base dev 17d282a18). Report and screenshots are in the comment above. Preview: http://10.69.69.117:47670/?mock=1&proto=clusters&scene=3&infrafetch=cards&machines=lab&structure=a (and structure=b); index entry #94 updated at http://10.69.69.117:47650/mockups.html.

Gate scripts/verify fast on infraternal-dev-01-compute01 (via build-slot), verbatim summary:

repository artifact gate: PASS (22 changed path(s), merge base 17d282a18761)
x86_64 static: PT_INTERP: absent; size: 22414416 bytes; baseline 21443824; delta +970592 bytes (report only, D243 amended 2026-11-01)
aarch64 static: PT_INTERP: absent; size: 20451312 bytes; baseline 19629240; delta +822072 bytes (report only, D243 amended 2026-11-01)
(static builds: 1317s)

+---------------------------+--------------+
| Rust gate                 | Result       |
+---------------------------+--------------+
| fmt                       | PASS         |
| VT native fmt             | PASS         |
| CLI plugin compile-out    | PASS         |
| clippy                    | PASS         |
| SSH runtime test helper   | PASS         |
| real-binary fixture paths | PASS         |
| test                      | FAIL (101)   |
| SSH inode reuse fixture   | PASS         |
| shim process-per-user     | PASS         |
| cargo-deny                | PASS         |
| gate architecture         | PASS         |
| static builds             | PASS         |
+---------------------------+--------------+
VERIFY_EXIT=1

The one failure is not from this branch. test failed in crates/infraternal/tests/status_restart.rs:136, service_states_are_truthful_in_text_and_json: "agent Unknown user service; service manager query timed out" (the VM had all four build slots busy). This branch changes no Rust: git diff --name-only 17d282a18 HEAD lists 22 paths, all under apps/tracer, packages/ui and docs/design. Rerun alone in the same built tree, 3 of 3 passed ("test result: ok. 1 passed" ×3), so it is a timing flake under load. I did not prove it on a separate unmodified origin/dev build (a second 25 GB target); say if you want that.
Binary size: the static rows above report +970592 (x86_64) and +822072 (aarch64) bytes against the gate's recorded baseline. No Rust changed here, so I read this as the baseline lagging dev rather than anything from this branch, but I have not measured dev itself; the orchestrator ratchets on merge.
Not run: the tracer's Playwright suite beyond machine-cards.spec.ts (6 of 6 pass, numbers in the comment above).

**J108 finish.** Branch `machine-cards-structure-j108`, head `ca718007e` (base dev 17d282a18). Report and screenshots are in the comment above. Preview: http://10.69.69.117:47670/?mock=1&proto=clusters&scene=3&infrafetch=cards&machines=lab&structure=a (and `structure=b`); index entry #94 updated at http://10.69.69.117:47650/mockups.html. **Gate** `scripts/verify fast` on infraternal-dev-01-compute01 (via build-slot), verbatim summary: ``` repository artifact gate: PASS (22 changed path(s), merge base 17d282a18761) x86_64 static: PT_INTERP: absent; size: 22414416 bytes; baseline 21443824; delta +970592 bytes (report only, D243 amended 2026-11-01) aarch64 static: PT_INTERP: absent; size: 20451312 bytes; baseline 19629240; delta +822072 bytes (report only, D243 amended 2026-11-01) (static builds: 1317s) +---------------------------+--------------+ | Rust gate | Result | +---------------------------+--------------+ | fmt | PASS | | VT native fmt | PASS | | CLI plugin compile-out | PASS | | clippy | PASS | | SSH runtime test helper | PASS | | real-binary fixture paths | PASS | | test | FAIL (101) | | SSH inode reuse fixture | PASS | | shim process-per-user | PASS | | cargo-deny | PASS | | gate architecture | PASS | | static builds | PASS | +---------------------------+--------------+ VERIFY_EXIT=1 ``` **The one failure is not from this branch.** `test` failed in `crates/infraternal/tests/status_restart.rs:136`, `service_states_are_truthful_in_text_and_json`: "agent Unknown user service; service manager query timed out" (the VM had all four build slots busy). This branch changes no Rust: `git diff --name-only 17d282a18 HEAD` lists 22 paths, all under `apps/tracer`, `packages/ui` and `docs/design`. Rerun alone in the same built tree, 3 of 3 passed ("test result: ok. 1 passed" ×3), so it is a timing flake under load. I did not prove it on a separate unmodified `origin/dev` build (a second 25 GB target); say if you want that. **Binary size:** the static rows above report +970592 (x86_64) and +822072 (aarch64) bytes against the gate's recorded baseline. No Rust changed here, so I read this as the baseline lagging dev rather than anything from this branch, but I have not measured dev itself; the orchestrator ratchets on merge. Not run: the tracer's Playwright suite beyond `machine-cards.spec.ts` (6 of 6 pass, numbers in the comment above).
Sign in to join this conversation.
No labels
launch-qa
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/infraternal#94
No description provided.