- Point gstack-config tests at a temp GSTACK_HOME so `get plan_tune_hooks`
reads the built-in default, not whatever the host machine has in
~/.gstack/config.yaml (the prior test was non-deterministic).
- Add behavioral coverage: yes/no/prompt round-trip, out-of-domain rejection.
- Add a normalization guard (decision input is lowercased/trimmed) and a
dev-setup guard (runs setup with --plan-tune-hooks=prompt + stdin detached).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Static + binary-level regression test (free, <1s): asserts the flags are
wired, the plan-tune read is time-bounded (no bare blocking read), explicit
yes/no decisions short-circuit before the prompt, and gstack-config knows the
plan_tune_hooks key.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>