fix(hooks): mark wake hook events untrusted#62003
Conversation
Greptile SummaryMarks externally-supplied wake-hook system events as untrusted ( The Confidence Score: 5/5Safe to merge — the change is a correct, minimal trust-boundary fix with a targeted regression test. Single-line production change with correct semantics, full test coverage of both wake paths, and no unintended side effects on other event producers. No files require special attention. Reviews (1): Last reviewed commit: "fix(hooks): mark wake hook events untrus..." | Re-trigger Greptile |
* fix(hooks): mark wake hook events untrusted * docs(changelog): add wake-hook trust entry --------- Co-authored-by: Devin Robison <[email protected]>
* fix(hooks): mark wake hook events untrusted * docs(changelog): add wake-hook trust entry --------- Co-authored-by: Devin Robison <[email protected]>
* fix(hooks): mark wake hook events untrusted * docs(changelog): add wake-hook trust entry --------- Co-authored-by: Devin Robison <[email protected]>
* fix(hooks): mark wake hook events untrusted * docs(changelog): add wake-hook trust entry --------- Co-authored-by: Devin Robison <[email protected]>
Summary
/hooks/wakerequests and mappedaction: "wake"hook routes through the shared dispatch pathChanges
trusted: falsewhendispatchWakeHook(...)enqueues hook wake textValidation
corepack pnpm test src/gateway/server.hooks.test.tscorepack pnpm test src/infra/system-events.test.tscorepack pnpm buildand confirmed the failure is due to unrelated pre-existing type errors in other packages/files outside this changeclaude -p "/review", but the local reviewer exited before review output because it requested interactive GitHub approvalNotes