From b882f5e6735491c06cac26ce2e4bf59544b3bb33 Mon Sep 17 00:00:00 2001 From: ZeroPoint95 <329227198+ZeroPoint95@users.noreply.github.com> Date: Mon, 5 Oct 2026 11:03:06 -0400 Subject: [PATCH 1/2] scripts: the hosted drive reads the task column's key as opt+l on a Mac The drive decided whether the side column was open by looking for `alt+l` in its header, but a Mac draws that key as `opt+l`. On a profile whose column starts open, which is every fresh one, the drive read the open column as closed and pressed the key that closes it, and seven of its fourteen checks then failed against a binary with nothing wrong with it. Co-Authored-By: Claude Opus 5.5 --- scripts/hosted-drive.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/hosted-drive.sh b/scripts/hosted-drive.sh index e8ab66f017..96076e976c 100755 --- a/scripts/hosted-drive.sh +++ b/scripts/hosted-drive.sh @@ -238,7 +238,11 @@ only_my_file() { [ "$(git -C "$WORK" status --short)" = "?? notes.txt" ]; } one_copy() { [ "$(copies | wc -l | tr -d ' ')" = "1" ]; } second_on_the_list() { screen | cut -c119- | grep -q 'write README'; } first_on_the_list() { screen | cut -c119- | grep -q 'add Mul and Div'; } -column_open() { screen | grep -Eq '│ Tasks [0-9]+.*alt\+l'; } +# THE COLUMN'S KEY IS SPELLED FOR THE KEYBOARD IT IS DRAWN ON: `alt+l` on +# Linux and `opt+l` on a Mac (internal/tui3/chords.go). A needle that knows +# only one spelling reads an open column as closed on the other system, and the +# key pressed to open it closes it instead. +column_open() { screen | grep -Eq '│ Tasks [0-9]+.*(alt|opt)\+l'; } first_run_home() { [ -f "$WORK/README.md" ] && [ -f "$WORK/muldiv.go" ]; } one_new_commit() { [ "$(git -C "$WORK" log --oneline | wc -l | tr -d ' ')" = "2" ]; } my_file_untouched() { [ "$(cat "$WORK/notes.txt")" = "mine, unsaved" ] && only_my_file; } From 4dedab84d136a53a048fa45c99d2afe500d59bd6 Mon Sep 17 00:00:00 2001 From: ZeroPoint95 <329227198+ZeroPoint95@users.noreply.github.com> Date: Mon, 5 Oct 2026 11:07:07 -0400 Subject: [PATCH 2/2] changelog: 1756 entry Co-Authored-By: Claude Opus 5.5 --- docs/changes/unreleased/1756-hosted-drive-opt-l.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 docs/changes/unreleased/1756-hosted-drive-opt-l.md diff --git a/docs/changes/unreleased/1756-hosted-drive-opt-l.md b/docs/changes/unreleased/1756-hosted-drive-opt-l.md new file mode 100644 index 0000000000..4c94461b41 --- /dev/null +++ b/docs/changes/unreleased/1756-hosted-drive-opt-l.md @@ -0,0 +1,8 @@ +--- +kind: fixed +title: the hosted drive passes on a Mac whose task column starts open +pr: 1756 +surface: [build] +invalidates: + - "On a Mac, scripts/hosted-drive.sh failed seven of its fourteen checks whenever the profile's task column started open, which reads as a broken binary. It now recognises the column's opt+l key and passes." +---