[object Object]

← back to Terminal Status

dot.sh: forward all set args so --tty/--force reach the engine

a1139e96c1d721696abcba67c5155b92f7b1d796 · 2026-09-16 08:43:25 -0700 · Steve Abrams

The compat shim passed only ${1} as the label, silently dropping engine
flags. That blocked painting a verified tty when CLAUDE_CODE_CHILD_SESSION
is leaked into a real interactive session (the iTerm-relaunch env-leak),
forcing a direct engine call. Forward "$@" on the default set branch so
every singular color skill (green/orange/purple/…) can target a tty.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ufyow1KDpDysm133tajFbh

Files touched

Diff

commit a1139e96c1d721696abcba67c5155b92f7b1d796
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Wed Sep 16 08:43:25 2026 -0700

    dot.sh: forward all set args so --tty/--force reach the engine
    
    The compat shim passed only ${1} as the label, silently dropping engine
    flags. That blocked painting a verified tty when CLAUDE_CODE_CHILD_SESSION
    is leaked into a real interactive session (the iTerm-relaunch env-leak),
    forcing a direct engine call. Forward "$@" on the default set branch so
    every singular color skill (green/orange/purple/…) can target a tty.
    
    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_01Ufyow1KDpDysm133tajFbh
---
 integrations/dot.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/integrations/dot.sh b/integrations/dot.sh
index b83135a..1a1acc3 100644
--- a/integrations/dot.sh
+++ b/integrations/dot.sh
@@ -8,5 +8,5 @@ engine="$HOME/Projects/terminal-status/terminal_status.py"
 case "${1:-}" in
   --off) exec python3 "$engine" clear ;;
   --all) exec python3 "$engine" set "$color" --all "$runtime" ;;
-  *) exec python3 "$engine" set "$color" "${1:-}" ;;
+  *) exec python3 "$engine" set "$color" "$@" ;;
 esac

← ea41eb3 TK-11794: green 'waiting' variant — brighter static green (0  ·  back to Terminal Status  ·  TK-11826 (TK-11779 Finding 2): pin ticket_update=None in T1- 5463758 →