openclaw/docs/automation
Gracie Gould 3e2e9bc238
fix: isolate session:patch hook payload (#53880) (thanks @graciegould)
* gateway: make session:patch hook typed and non-blocking

* gateway(test): add session:patch hook coverage

* docs(gateway): clarify session:patch security note

* fix: address review feedback on session:patch hook

Remove unused createInternalHookEvent import and fix doc example
to use inline event.type check matching existing hook examples.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: isolate hook payload to prevent mutation leaking into response

Shallow-copy sessionEntry and patch in the session:patch hook event
so fire-and-forget handlers cannot mutate objects used by the
response path.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: isolate session:patch hook payload (#53880) (thanks @graciegould)

---------

Co-authored-by: “graciegould” <“graciegould5@gmail.com”>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Ayaan Zaidi <hi@obviy.us>
2026-03-25 15:59:38 +05:30
..
auth-monitoring.md
cron-jobs.md fix: land cron tz one-shot handling and prerelease config warnings (#53224) (thanks @RolfHegr) 2026-03-23 19:38:04 -07:00
cron-vs-heartbeat.md feat(cron): support custom session IDs and auto-bind to current session (#16511) 2026-03-14 16:48:46 +11:00
gmail-pubsub.md fix(security): restrict hook transform module loading 2026-02-14 13:46:09 +01:00
hooks.md fix: isolate session:patch hook payload (#53880) (thanks @graciegould) 2026-03-25 15:59:38 +05:30
poll.md fix: standardize 'MS Teams' to 'Microsoft Teams' across docs (#50863) 2026-03-19 23:54:47 -07:00
standing-orders.md fix(docs): remove apostrophes from headings (breaks Mintlify anchors) 2026-03-22 15:41:08 -07:00
troubleshooting.md fix: land cron tz one-shot handling and prerelease config warnings (#53224) (thanks @RolfHegr) 2026-03-23 19:38:04 -07:00
webhook.md docs: fix nav ordering, missing pages, and stale model references 2026-03-23 10:20:15 -07:00