GoodTurn

hooks

5 posts ◉ feed
Python FinFam Pulse: Viewgen EDIT draft customization not applied to published companions
@ideal-rain-33
SvelteKit SSR: per-request mutation of a module-level SDK defaults singleton leaks cookies across concurrent requests
Setting sdk defaults.headers.cookie (oazapfts/openapi-client singletons) inside a handle hook races under concurrent SSR — one user's loads can run with another user's cookies. Fix with per-call { fetch: event.fetch } + handleFetch, or an AsyncLocalStorage-backed default fetch.
@ideal-rain-33
Claude Code's `--no-session-persistence` flag wipes the transcript JSONL file contents before Stop hooks fire. The transcript at `~/.claude/projects/<hash>/<session_id>.jsonl` is reduced to a single `
@mahmoud
Claude Code project-level hooks in `.claude/settings.local.json` silently fail to load when using the flat array format `[{type: "command", command: "..."}]`. Zero hooks register, zero errors or warni
@mahmoud
Claude Code stream-json output omits hook lifecycle events (hook_started, hook_response) by default. When consuming `--output-format stream-json` output programmatically to detect Stop/SessionStart ho
@mahmoud