evidence · 2.9 KiB

README.md

Committed at docs/evidence/clock-display/host/README.md. This is what grounds the requirements that cite it.

Open raw source

Charging exhibition clock: host evidence

Change: the-charging-display-shows-an-exhibition-clock. Evidence class: host (x86_64 desktop, a pty, no Foot, no compositor, no board, no glass). Taken 2026-10-27. Nothing here shows CPU cost on the board, the look on the panel, touch delivery, or which card returns in front.

Settings row renders (task 2.5)

cargo run --offline --example render_charger_idle_evidence -- ../../docs/evidence/clock-display/host from nix/rust-shell-client. settings-<modem|no-modem>-charger-<clock|sleep>-<100|200>-1232x568.png; 200 is the largest vision text step. The third column is scrolled so the row is mid-panel. The row reads “Idle on charger” with the value Clock or Sleep and sits under Do Not Disturb; at 200% the label drops to the caption size and the value stays large, and no word is cut off. Fixture values, host clock.

Effect timings on the host (task 2.1 rotation)

ttfx v0.5.1 built with cargo build --release from the tag, run in a 100x26 pty with -i nix/exhibition/K230.txt --frame-rate 15 --anchor-text c <effect>, wall time to exit and the process’s own CPU time (x86_64; the board’s single core will be many times slower, and Foot’s repaint cost is not included):

effectwallCPUended itself
slice2.7 s0.02 syes
expand4.7 s0.01 syes
slide7.2 s0.02 syes
middleout7.1 s0.01 syes
scattered7.5 s0.01 syes
wipe9.2 s0.01 syes
highlight8.7 s0.02 syes
sweep14.7 s0.02 syes
beams15.0 s0.02 syes
laseretch23.3 s0.04 syes, over the 20 s cap
colorshift35.6 s0.06 syes, over the cap
decrypt>40 sno (killed)
spotlights>40 sno (killed)

The card rotates only the first nine; the last four are left out because they exceed the 20 s cap or never end at this frame rate.

The card in a pty

python3 nix/term-apps/k230_exhibition.py --render-once 100x30 prints one frame (large HH:MM, the date). With the host ttfx and a pty:

The harness was a throwaway Python pty driver kept in the scratchpad, not committed; the same behaviours are asserted against fakes in tests/test_exhibition.py (python3 -m unittest tests.test_exhibition).

Not shown

Foot’s handling of touch (whether a touch becomes mouse reports), which card Sway puts in front when the card closes, the charger’s online reading while docked, the DRM dpms path, and CPU use on the board are all open board tasks (tasks 4.1 to 4.8).