Skip to content

hooks: SessionStart 接线 (run-start 同步分发 + 注入) - #433

Merged
smallnest merged 1 commit into
masterfrom
feat/issue-423-session-start
Jul 30, 2026
Merged

hooks: SessionStart 接线 (run-start 同步分发 + 注入)#433
smallnest merged 1 commit into
masterfrom
feat/issue-423-session-start

Conversation

@smallnest

Copy link
Copy Markdown
Owner

Summary

Closes #423

Test plan

  • go build ./... / go vet ./... clean
  • injects once then silent; resume source threaded into hook input; nil dispatcher no-op
  • full go test ./... green

…423)

Add DispatchSessionStart, dispatched inline at the run-start seam so its
additionalContext is registered as a one-shot reminder before the first
turn's TransformContext runs (async dispatch would miss turn one, SPEC
§11.2). Carries session_id, project_dir and a caller-supplied source
(startup/resume). Injection only — there is no in-flight action to block
at session start.
@smallnest
smallnest merged commit 3b1ed08 into master Jul 30, 2026
1 check failed
@smallnest
smallnest deleted the feat/issue-423-session-start branch July 30, 2026 03:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

hooks: SessionStart 接线 (run-start 同步分发 + 注入)

1 participant