gstack/hosts
Daniel Nascimento 10f30975c3 fix(hooks): don't emit permissionDecision 'defer' from question-preference-hook
'defer' is a real permissionDecision value in Claude Code, but it means
'pause this tool call and hand control back' and is honored in
print/non-interactive mode (interactive mode warns and ignores it).
The hook emitted it as its 'no opinion' outcome, which made every
AskUserQuestion call get deferred in non-interactive sessions (e.g. the
Claude Code desktop app): the question UI never rendered and AUQ
appeared completely broken after gstack setup registered the hook.

The neutral outcome for a PreToolUse hook is a silent exit 0 — so defer()
now emits nothing, or only additionalContext (without any
permissionDecision) when there is plan-tune memory context to inject.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-03 11:28:00 -03:00
..
claude/hooks fix(hooks): don't emit permissionDecision 'defer' from question-preference-hook 2026-07-03 11:28:00 -03:00
claude.ts v1.13.0.0 feat: add Claude outside-voice skill (#1212) 2026-04-25 11:52:48 -07:00
codex.ts feat: Confusion Protocol, Hermes + GBrain hosts, brain-first resolver (v0.18.0.0) (#1005) 2026-04-16 10:41:38 -07:00
cursor.ts feat: Confusion Protocol, Hermes + GBrain hosts, brain-first resolver (v0.18.0.0) (#1005) 2026-04-16 10:41:38 -07:00
factory.ts feat: Confusion Protocol, Hermes + GBrain hosts, brain-first resolver (v0.18.0.0) (#1005) 2026-04-16 10:41:38 -07:00
gbrain.ts feat: Confusion Protocol, Hermes + GBrain hosts, brain-first resolver (v0.18.0.0) (#1005) 2026-04-16 10:41:38 -07:00
hermes.ts feat: Confusion Protocol, Hermes + GBrain hosts, brain-first resolver (v0.18.0.0) (#1005) 2026-04-16 10:41:38 -07:00
index.ts feat: Confusion Protocol, Hermes + GBrain hosts, brain-first resolver (v0.18.0.0) (#1005) 2026-04-16 10:41:38 -07:00
kiro.ts feat: Confusion Protocol, Hermes + GBrain hosts, brain-first resolver (v0.18.0.0) (#1005) 2026-04-16 10:41:38 -07:00
openclaw.ts feat: Confusion Protocol, Hermes + GBrain hosts, brain-first resolver (v0.18.0.0) (#1005) 2026-04-16 10:41:38 -07:00
opencode.ts community wave: 6 PRs + hardening (v0.18.1.0) (#1028) 2026-04-17 00:45:13 -07:00
slate.ts feat: Confusion Protocol, Hermes + GBrain hosts, brain-first resolver (v0.18.0.0) (#1005) 2026-04-16 10:41:38 -07:00