Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

6.6 KB
Raw Blame

hn lists vs fzf 0.67 — round 20

Score: 9.5 / 10. No remaining finding in this bounded fzf review. All five round 19 findings and the retained preview-offset/header gap pass their rechecks. The 75-case baseline matrix and all 84 paired preview snapshots match the reference.

Reviewed commit 5401458c7d6f7f59960f864731ff7bae1bd27d64, frozen executable SHA-256 461ecf17895c9cac9c4eb5a5924cb1483904dd0873055cdaecf716cdc3c12b97. Reference programs: fzf 0.67.0 (Homebrew) and tmux 3.5a. The reviewer copied and verified the executable before testing, read the change list and round 19 reports, and made no product-source changes. Creature/tim was excluded.

Round 19 findings

Finding Result and exact recheck
M1: OR-only search omits external conversations Fixed. nfc | decimal returns billing and NFC, 2/9. nfc | reader returns NFC once; nfc | decimal missing returns 0/8. Anchored alternatives also discover both expected rows.
M2: bound search(...) skips the session index Fixed. Alt-f bound to search(reader) leaves the input unchanged, increases session_search requests 12 → 14, and returns the same 2/9 rows as typing reader.
L1: change-multi+toggle uses stale marking state Fixed. Opening, two Alt-m presses, and change-multi(0)+toggle match fzf, including markers and counts.
L2: dynamic labels discard ANSI styling Fixed. change-list-label, change-input-label, change-header-label, and change-footer-label retain green SGR and match fzf cell-for-cell.
L3: keyword fallback loses Boolean grouping Fixed. bindings | !zz $ returns zero rows, as fzf does.
Retained +N / ~N preview gap Fixed in the paired matrix. Explicit offsets, fixed headers, full/half pages, top/bottom, follow, oversized headers, and dynamic preview-window changes all match. 84/84 snapshots, including 14 dynamic-change snapshots.

search20.py also verifies nfc | decimal !nfc and nfc | decimal !billing retain only the intended row. With one OR reply delayed by 900 ms, NFC appears while the spinner remains active. Changing to a separately delayed leadership query rejects old replies and keeps that query's spinner active until its own reply arrives. No stale NFC row or premature spinner clearing was observed.

The prior negative controls remain correct: !decimal gives 7/8, decimal !billing gives 0/8, and !nfc gives 8/8. NFC stays visible in 59/59 timed samples while refining reader to reader drop. Keep, awake, and floats use current-row match color 151 in the captured snippets. Help queries ?M-1 and ?PPage each return 1/103; ?C-b z ranks Zoom first. The delayed-search spinner displays all ten frames and clears at 1.13 s.

Baseline matrix

Driver Cases Result
layout19.py 14 Section-label positions, black/background precedence, ANSI prompts, input boxes: identical
misc17.py ... jump info-command no-input 23 Jump edges/events, info output and variables, hidden/restored input: identical
mouse17.py 10 Row/section/border clicks, right/shift marking, wheels, scrollbars, reverse and disabled mouse: identical
thai17.py 3 widths / 12 snapshots Decomposed accents and Thai horizontal scrolling: identical
sb18c.py 10 Separators with list/header/footer borders: identical
raw19.py 12 Raw filtering, navigation, selection and styles: identical
raw-edge19.py 3 Best/first, wrapping and raw toggles: identical

All 75 baseline cases pass. The five action cases and six extra edge cases also pass. These comparisons use the same key-list rows in hn and real fzf, capture-pane -e, parsed foreground/background/attributes, and visible cursor coordinates. hn's bottom status row is excluded; hidden cursor coordinates are ignored only when both programs hide the cursor. Preview comparisons use the preview region of a controlled 48-line buffer, not the deliberately different list regions.

Input-reader follow-up

The root reviewer found a separate rapid Escape/prefix regression during the full E2E run. Its reader-only correction was independently rechecked on a fresh copy now frozen at /tmp/hn-round20/b5830ad9/hn, commit b5830ad94a99f6ac1ee5cee3075b8ea6ffd4f83b. It includes the term_input.rs read-boundary correction in 375730e7 and CLI test isolation. SHA-256 d5d86c66bcce80dc9c2ba2e150fa249b06e3aaf3b6f2b9d0b36b4e9c48cb10a6.

reader20.py passes 12 rapid round trips: separate immediate sends of Escape then C-b @ open machines, and Escape then C-b s reopen harnesses. Its 20 paired snapshots match fzf for arrows, C-n/C-p, Tab/BackTab, Alt-P, Home/End, Backspace, Alt-b/Alt-f, C-a/C-e and query clearing. The multi-action Alt chain was rerun on this executable and still matches. An initial assertion expected a hint beyond the 120-column clipping boundary; the screen already showed the correct list. The assertion was corrected to check its visible hint and the entire sequence passed. No further fzf check is pending.

Reproduction, limits and cleanup

Private guarded fixtures, frozen copies, logs and ANSI captures remain in /tmp/hnr20fz-review/; the reader follow-up is in /tmp/hnr20fz-reader/. From a checkout with the existing CLI dependencies and the reference tools:

export HNR20FZ_REPO="$(git rev-parse --show-toplevel)"
python3 /tmp/hnr20fz-review/run_review.py
python3 /tmp/hnr20fz-reader/reader20.py
python3 /tmp/hnr20fz-reader/actions19.py multi-chain

The drivers refuse an unexpected executable hash or any port outside 19510–19519. Every hn invocation uses its copied binary, explicit -L hnr20fz…, matching --port, PORT and HN_SOCKET_NAME, disposable HOME, and private short HN_TMPDIR. TMUX, TMUX_PANE and HN_SOCKET are removed in both parent and outer-tmux child environments. Every tmux invocation has a private -L name. No default socket, installed hn, real daemon or real harness was used.

Cleanup stopped only owned mocks, named tmux servers, exact hn processes and their descendants. Final inspection found no owned process and no listener on 19510–19519. No commit, push, merge, release or installation was performed.

This is a bounded regression review, not a claim that every fzf option or all older exploratory cases were recertified. Session discovery uses the repository mock with index-like letter/digit tokenization and artificial reply delays; the real index, remote latency, exhaustive query fuzz, and the older full theme/key matrices were not rerun. Those limits are the reason for a 9.5 score rather than a claim of perfect parity.