Screens 2 and 3: new-task form, live log and diff; measured the merge gap they expose

This commit is contained in:
Sam
2026-11-10 12:15:45 +11:00
parent 34f60872f6
commit 50fde87450
12 changed files with 801 additions and 44 deletions

Binary file not shown.

View File

@@ -5,7 +5,7 @@
# cannot lose its first workspace. Each screen then gets a workspace named after
# it, in this order. Running this again adopts what is already there.
#
# bin/layout # the default project
# bin/layout # the default project and task
# bin/layout spike-2026-11-10 AUD-162
set -euo pipefail
@@ -24,6 +24,8 @@ fi
"$ROOT/bin/screen" tree "$project"
"$ROOT/bin/screen" reply "$task"
"$ROOT/bin/screen" new "$project"
"$ROOT/bin/screen" log "$task"
tuios list-workspaces -s "$SESSION" --json | python3 -c '
import json,sys

View File

@@ -24,8 +24,10 @@ BIN="$ROOT/bin/harness"
screen="${1:-}"
case "$screen" in
tree) args=(-screen tree -project "${2:-spike-2026-11-10}") ;;
new) args=(-screen new -project "${2:-spike-2026-11-10}") ;;
log) args=(-screen log -issue "${2:?log needs a task, for example AUD-160}") ;;
reply) args=(-screen reply -issue "${2:?reply needs a task, for example AUD-162}") ;;
*) echo "usage: $(basename "$0") tree [project] | reply <task>" >&2; exit 2 ;;
*) echo "usage: $(basename "$0") tree|new [project] | reply|log <task>" >&2; exit 2 ;;
esac
if [ ! -x "$BIN" ] || [ -n "$(find "$ROOT/tui" -name '*.go' -newer "$BIN" -print -quit 2>/dev/null)" ]; then