Checklists and --pane in fzt (FT-11) #112

Merged
merge-queue merged 2 commits from ft-11-checklist into main 2026-11-18 18:42:39 -08:00
Owner

PR 2 of 2 for https://openproject.home.romaine.life/wp/FT-11: a checklist any Claude session can hand Nelson, with his choices going back to the session that asked. PR 1 (romaine-life/fzt#26) added checkbox folders to the engine (fzt v0.2.120).

  • Drawing: a checkbox folder's rows show a ticked or empty box in place of their icon, and the search box counts the ticked rows.
  • fzt flags: with --tiered, --checklist-col N makes a folder whose field N is set a checkbox folder, and --ticked-col N ticks a row as the menu opens. Picking any other row prints that pick, then each ticked row, a line each.
  • --pane: opens fzt in a tmux split under the caller's pane (TMUX_PANE) and returns the answer and exit code as if fzt had run in place. That way a session with no terminal of its own can ask Nelson. It waits on the split's process handle, so there's no polling. If the caller ends first, the split closes itself and removes its folder. Arguments are quoted for the Windows tmux, as fzt-automate's tmuxProgram does. Windows only.

Nothing changes for a menu without a checkbox folder. Tested on a test tmux server: ticking, a pick returning the ticked rows, Esc (130), a split killed by hand (2, "closed without an answer"), and the caller killed (the split closes and its folder is removed). Nelson tried the same build in a split in his own window.

PR 2 of 2 for https://openproject.home.romaine.life/wp/FT-11: a checklist any Claude session can hand Nelson, with his choices going back to the session that asked. PR 1 (https://forgejo.romaine.life/romaine-life/fzt/pulls/26) added checkbox folders to the engine (fzt v0.2.120). - **Drawing:** a checkbox folder's rows show a ticked or empty box in place of their icon, and the search box counts the ticked rows. - **`fzt` flags:** with `--tiered`, `--checklist-col N` makes a folder whose field N is set a checkbox folder, and `--ticked-col N` ticks a row as the menu opens. Picking any other row prints that pick, then each ticked row, a line each. - **`--pane`:** opens fzt in a tmux split under the caller's pane (`TMUX_PANE`) and returns the answer and exit code as if fzt had run in place. That way a session with no terminal of its own can ask Nelson. It waits on the split's process handle, so there's no polling. If the caller ends first, the split closes itself and removes its folder. Arguments are quoted for the Windows tmux, as fzt-automate's `tmuxProgram` does. Windows only. Nothing changes for a menu without a checkbox folder. Tested on a test tmux server: ticking, a pick returning the ticked rows, Esc (130), a split killed by hand (2, "closed without an answer"), and the caller killed (the split closes and its folder is removed). Nelson tried the same build in a split in his own window.
x/sys is a direct dependency (--pane quotes arguments with it)
All checks were successful
merge-queue landed on main
Suite release / reused-checks (push) Has been skipped
Suite release / home-sync (push) Has been skipped
Suite release / publish (push) Has been skipped
Suite release / dispatch (push) Has been skipped
Suite release / deploy-image (push) Has been skipped
Suite default / scope (pull_request) Successful in 11s
Suite default / check-fetches (pull_request) Has been skipped
Suite default / check-rules (pull_request) Has been skipped
Suite go / scope (pull_request) Successful in 12s
Suite go / check-test-linux (pull_request) Has been skipped
Suite go / check-services (pull_request) Has been skipped
Suite release / scope (pull_request) Successful in 12s
Suite release / module (pull_request) Has been skipped
Suite release / reserve (pull_request) Has been skipped
Suite release / build (go, ubuntu-latest) (, go, false, ubuntu-latest, , go) (pull_request) Has been skipped
Suite release / build (go, windows-amd64-c-shared) (, go-windows-amd64-c-shared, false, windows-latest, windows-amd64-c-shared, go) (pull_request) Has been skipped
Suite release / finalize (pull_request) Has been skipped
Suite release / home-sync (pull_request) Has been skipped
Suite release / publish (pull_request) Has been skipped
Suite release / dispatch (pull_request) Has been skipped
Suite release / deploy-image (pull_request) Has been skipped
Suite default / reused-checks (pull_request) Successful in 14s
Suite go / check-format (pull_request) Successful in 17s
Suite release / check-build (go, ubuntu-latest) (, go, false, ubuntu-latest, , go) (pull_request) Successful in 26s
Suite go / check-test-windows (pull_request) Successful in 1m15s
Suite release / check-build (go, windows-amd64-c-shared) (, go-windows-amd64-c-shared, false, windows-latest, windows-amd64-c-shared, go) (pull_request) Successful in 1m19s
Suite go / reused-checks (pull_request) Successful in 13s
Suite release / check-package (pull_request) Successful in 13s
Suite release / reused-checks (pull_request) Successful in 12s
eeee0f3360
merge-queue deleted branch ft-11-checklist 2026-11-18 18:42:40 -08:00
Sign in to join this conversation.
No description provided.