openclaw/docs/automation
Agustin Rivera e72621e566
fix(hooks): enforce default hook agent allowlist
Enforce hook allowedAgentIds against the effective default agent when hook payloads omit or blank agentId, while preserving omitted-agent dispatch semantics for default/global routing.

Also updates the affected generated hook config docs from the contributor change and fixes the current-main memory-core test mock after rebasing the PR branch.

Verification:
- pnpm format:check extensions/memory-core/src/dreaming.test.ts src/gateway/hooks.ts src/gateway/hooks.test.ts src/gateway/server/hooks-request-handler.ts src/gateway/server.hooks.test.ts && git diff --check
- node scripts/run-vitest.mjs run --config test/vitest/vitest.gateway-server.config.ts src/gateway/hooks.test.ts src/gateway/server.hooks.test.ts --reporter=dot --pool=forks --no-file-parallelism --testTimeout=120000
- node scripts/run-tsgo.mjs -p test/tsconfig/tsconfig.extensions.test.json --incremental --tsBuildInfoFile .artifacts/tsgo-cache/extensions-test-local-pr87124.tsbuildinfo
- pnpm check:test-types
- .agents/skills/autoreview/scripts/autoreview --mode branch --base origin/main
- GitHub PR merge state CLEAN; CodeQL Critical Quality rerun succeeded after first runner checkout wedged

Co-authored-by: Agustin Rivera <agustin@rivera-web.com>
2026-05-27 05:05:18 +01:00
..
auth-monitoring.md docs(automation+start): batch fix filler openings and prose Tip 2026-04-26 22:04:56 -07:00
clawflow.md docs(automation+start): batch fix filler openings and prose Tip 2026-04-26 22:04:56 -07:00
cron-jobs.md fix(hooks): enforce default hook agent allowlist 2026-05-27 05:05:18 +01:00
cron-vs-heartbeat.md docs: reorganize tools automation nav (#80116) 2026-05-11 15:59:27 -07:00
gmail-pubsub.md docs(concepts,automation,plugins): add Related sections to pages missing them 2026-04-23 15:48:46 -07:00
hooks.md docs: absorb hook and subagent guidance PRs 2026-05-23 09:47:37 +01:00
index.md fix(heartbeat): multi-agent cadence — parallel broadcast, per-agent busy check, prompt assembly, connect-timeout, doctor warning (#80470) 2026-05-12 14:36:25 -07:00
poll.md docs(concepts,automation,plugins): add Related sections to pages missing them 2026-04-23 15:48:46 -07:00
standing-orders.md docs: reorganize tools automation nav (#80116) 2026-05-11 15:59:27 -07:00
taskflow.md docs: absorb small documentation PRs 2026-05-22 23:42:51 +01:00
tasks.md fix: fallback after active media wake failure (#85489) 2026-05-25 17:23:20 +01:00
troubleshooting.md docs(concepts,automation,plugins): add Related sections to pages missing them 2026-04-23 15:48:46 -07:00
webhook.md docs(concepts,automation,plugins): add Related sections to pages missing them 2026-04-23 15:48:46 -07:00