SessionStart: reduce curl call count and standardize flags #18
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ldraney/claude-custom#18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
From PR #16 review (round 2, MEDIUM-1 and MEDIUM-2).
Problem
SessionStart hook now makes up to 7 sequential curl calls (SOPs, bugs, TODOs, projects, project page direct, project page fallback list, project page fallback fetch), each with
--connect-timeout 3 --max-time 5. If pal-e-docs is unreachable, worst case is 21s+ in timeouts — may exceed Claude Code's hook timeout.Also, old curl calls use
-swhile new calls use-sf— inconsistent error handling.Suggested Fixes
--connect-timeoutto 2s for project-detection calls-sfacross all curl calls&+waitfor independent calls (SOPs, bugs, TODOs)Files
hooks/session-start-context.sh