Shortcuts you invent, rules you write, gestures you own - all still just data
Claude-Session: https://claude.ai/code/session_01Ms2FbjQy31TVf3CEvQhGM8
This commit is contained in:
@@ -241,6 +241,19 @@ grep -q 'copiedKey' "$page" \
|
||||
grep -qE 'SshKeys\.refresh\(\)' "$page" \
|
||||
|| fail 'the page cannot refresh, so a key made in a terminal never appears'
|
||||
|
||||
# Known hosts are folded at the house cap. A machine in daily use accumulates
|
||||
# dozens of these, and an unbounded Repeater makes the last card taller than the
|
||||
# rest of the page put together -- the keys and the agent, which are what
|
||||
# somebody came here for, end up above the fold of a list nobody reads.
|
||||
grep -q 'shownHosts' "$page" \
|
||||
|| fail 'the known-hosts list is not capped, so it grows without limit'
|
||||
grep -qE 'hostCap: 6' "$page" \
|
||||
|| fail 'the known-hosts cap is not the house cap of 6'
|
||||
grep -q 'hiddenHostCount' "$page" \
|
||||
|| fail 'nothing counts the folded hosts, so the fold row cannot say how many'
|
||||
grep -qE 'model: root\.shownHosts' "$page" \
|
||||
|| fail 'the hosts Repeater still walks the whole list, so the cap is decorative'
|
||||
|
||||
# ══ The hermetic half ═══════════════════════════════════════════════════════
|
||||
#
|
||||
# Everything above reads. Everything below writes -- into a scratch home, with
|
||||
|
||||
Reference in New Issue
Block a user