hermes-agent/scripts
m4dni5 bddab61bcb ci: add subprocess stdin= regression check for TUI-context code
scripts/check_subprocess_stdin.py scans agent/, tools/, plugins/, and
tui_gateway/ for subprocess.run() and subprocess.Popen() calls that
don't explicitly set stdin=. Missing stdin= means the child inherits the
parent's fd, which in TUI mode is the JSON-RPC pipe — causing gateway
crashes on stdin EOF.

Exits 0 (pass) or 1 (violations found). Can be run manually or added to
CI. Skips comments, docstring references, and calls that use input= (which
creates its own pipe).

Usage: python scripts/check_subprocess_stdin.py
2026-06-08 22:46:57 -07:00
..
lib
…
tests
…
whatsapp-bridge
…
LIVETEST_README.md
…
analyze_livetest.py
…
benchmark_browser_eval.py
…
build_model_catalog.py
…
build_skills_index.py fix(skills-hub): stop shipping a degenerate index when GitHub taps collapse (#42347) 2026-06-08 15:21:28 -07:00
check-windows-footguns.py
…
check_subprocess_stdin.py ci: add subprocess stdin= regression check for TUI-context code 2026-06-08 22:46:57 -07:00
contributor_audit.py
…
discord-voice-doctor.py
…
docker_config_migrate.py
…
hermes-gateway
…
install.cmd
…
install.ps1 fix(update): scope git fetch to target branch 2026-06-08 15:24:31 -04:00
install.sh fix(update): scope git fetch to target branch 2026-06-08 15:24:31 -04:00
install_psutil_android.py
…
keystroke_diagnostic.py
…
kill_modal.sh
…
lint_diff.py
…
profile-tui.py
…
release.py chore(release): add underthestars-zhy to AUTHOR_MAP 2026-06-08 21:03:58 -07:00
run_tests.sh
…
run_tests_parallel.py fix(tests): retry per-file pytest subprocess once on exit-4 when the file exists 2026-06-08 13:38:30 -07:00
sample_and_compress.py
…
setup_open_webui.sh
…
tool_search_livetest.py
…