Files
gstack/test
Garry TanandClaude Fable 5 85ab953cc9 fix(safety): unknown question-preference source exits the documented 2, not 1
The --write user-origin gate documents exit 2 as "rejected, do not retry"
(profile poisoning defense), but a source outside both the allowed and the
explicitly-rejected lists fell through to exit 1 — the generic validation
code callers treat as retryable. Unknown sources now exit 2 with the same
do-not-retry rejection message as the known non-user-originated ones.

Closes #2390.

Contributed by @gregario (PR #2429).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-14 20:20:59 -07:00
..