test_agents_ui: a fresh tmux name for the German session; starter says Xresources

Reusing the session name right after kill-session raced: the typed line went
to the dying pane and the test reported a missing answer. One run in four.
The starter config names the default theme, so --init-config does not send
people a palette they did not ask for.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
lotherkandClaude Opus 5.5 committed 2026-11-13 21:16:15 +00:00
1 parent 23bc0d13d4
commit 74e20547ed
2 files changed
+6 -2

No files matched your search

+1 -1
View File
@@ -861,7 +861,7 @@ sp_config_write_example(const char *path, struct sp_buf *err)
"\n"
"core {\n"
" default = local # a provider or pool below; -m overrides\n"
" theme = Delphinium # splinter --list-themes\n"
" theme = Xresources # or a CDE palette, --list-themes\n"
" autonomous = false # true: run mutating tools without asking\n"
" #locale = de\n"
" steps = 150 # tool rounds per turn\n"
+5 -1
View File
@@ -64,8 +64,12 @@ tmux send-keys -t $S -l 'nochmal'
tmux send-keys -t $S Enter
check "build asks for consent" shows 'y/n\|allow\|approve\|Allow\|Approve'
# the language follows LANG (de_DE -> de), and no catalogue key shows through
# the language follows LANG (de_DE -> de), and no catalogue key shows through.
# A fresh session name: reusing one right after kill-session races, and a lost
# keystroke looked like a rendering bug.
tmux kill-session -t $S 2>/dev/null
S=sp-agents-de-$$
trap 'tmux kill-session -t $S 2>/dev/null; kill $F 2>/dev/null; rm -rf "$D"' EXIT
tmux new-session -d -s $S -x 120 -y 30 -c "$D/proj" \
"env -u SPLINTER_LOCALE LANG=de_DE.UTF-8 HOME=$D/home SPLINTER_USAGE_DIR=$D/u \
SPLINTER_COOLDOWN_DIR=$D/c $PWD/splinter --no-config \