Skip to content

hooks: UserPromptSubmit dispatch with block + one-shot injection - #431

Merged
smallnest merged 1 commit into
masterfrom
feat/issue-421-userpromptsubmit
Jul 30, 2026
Merged

hooks: UserPromptSubmit dispatch with block + one-shot injection#431
smallnest merged 1 commit into
masterfrom
feat/issue-421-userpromptsubmit

Conversation

@smallnest

Copy link
Copy Markdown
Owner

Summary

Closes #421

Test plan

  • go build ./...
  • go vet ./...
  • go test ./... (full suite green)
  • New: block intercepts, additionalContext fires once then silent, nil dispatcher no-op

#421)

Add DispatchUserPromptSubmit cli-layer helper and OneShotReminderProvider.
Block decisions report (block, reason) for drivers to abort; additionalContext
is registered as a one-shot ephemeral reminder that fires this turn only, never
persisted. Block takes priority over injection. Per-driver call sites land in #425.
@smallnest
smallnest merged commit a711626 into master Jul 30, 2026
1 check failed
@smallnest
smallnest deleted the feat/issue-421-userpromptsubmit branch July 30, 2026 03:37
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: UserPromptSubmit 接线 (注入 + 阻断)

1 participant