Skip to content

Commit f8ba8f7

Browse files
fix(docs): update outdated hooks documentation URLs (#16165)
Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: 8ed13fb Co-authored-by: nicholascyh <[email protected]> Co-authored-by: steipete <[email protected]> Reviewed-by: @steipete
1 parent 01d2ad2 commit f8ba8f7

File tree

13 files changed

+14
-13
lines changed

13 files changed

+14
-13
lines changed

.agents/skills/PR_WORKFLOW.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ Use this for GHSA-linked fixes and private reports.
136136
4. In GitHub advisory UI, set package ranges in the structured fields:
137137
- `Affected versions`: `< fixed_version`
138138
- `Patched versions`: `>= fixed_version`
139-
Do not rely on description text alone.
139+
Do not rely on description text alone.
140140
5. If collaborator can edit text but cannot change advisory state, hand off to a Publisher to move triage -> accepted draft -> publish.
141141
6. Advisory comments are posted manually in UI when required by policy. Do not rely on `gh api` automation for advisory comments.
142142

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Docs: https://docs.openclaw.ai
2121
### Fixes
2222

2323
- Gateway/Auth: add trusted-proxy mode hardening follow-ups by keeping `OPENCLAW_GATEWAY_*` env compatibility, auto-normalizing invalid setup combinations in interactive `gateway configure` (trusted-proxy forces `bind=lan` and disables Tailscale serve/funnel), and suppressing shared-secret/rate-limit audit findings that do not apply to trusted-proxy deployments. (#15940) Thanks @nickytonline.
24+
- Docs/Hooks: update hooks documentation URLs to the new `/automation/hooks` location. (#16165) Thanks @nicholascyh.
2425
- Security/Audit: warn when `gateway.tools.allow` re-enables default-denied tools over HTTP `POST /tools/invoke`, since this can increase RCE blast radius if the gateway is reachable.
2526
- Feishu: stop persistent Typing reaction on NO_REPLY/suppressed runs by wiring reply-dispatcher cleanup to remove typing indicators. (#15464) Thanks @arosstale.
2627
- BlueBubbles: gracefully degrade when Private API is disabled by filtering private-only actions, skipping private-only reactions/reply effects, and avoiding private reply markers so non-private flows remain usable. (#16002) Thanks @L-U-C-K-Y.

docs/automation/hooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ The `HOOK.md` file contains metadata in YAML frontmatter plus Markdown documenta
128128
---
129129
name: my-hook
130130
description: "Short description of what this hook does"
131-
homepage: https://docs.openclaw.ai/hooks#my-hook
131+
homepage: https://docs.openclaw.ai/automation/hooks#my-hook
132132
metadata:
133133
{ "openclaw": { "emoji": "🔗", "events": ["command:new"], "requires": { "bins": ["node"] } } }
134134
---

docs/cli/hooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Details:
9090
Source: openclaw-bundled
9191
Path: /path/to/openclaw/hooks/bundled/session-memory/HOOK.md
9292
Handler: /path/to/openclaw/hooks/bundled/session-memory/handler.ts
93-
Homepage: https://docs.openclaw.ai/hooks#session-memory
93+
Homepage: https://docs.openclaw.ai/automation/hooks#session-memory
9494
Events: command:new
9595
9696
Requirements:

docs/zh-CN/automation/hooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ Hook 包可以附带依赖;它们将安装在 `~/.openclaw/hooks/<id>` 下。
133133
---
134134
name: my-hook
135135
description: "Short description of what this hook does"
136-
homepage: https://docs.openclaw.ai/hooks#my-hook
136+
homepage: https://docs.openclaw.ai/automation/hooks#my-hook
137137
metadata:
138138
{ "openclaw": { "emoji": "🔗", "events": ["command:new"], "requires": { "bins": ["node"] } } }
139139
---

docs/zh-CN/cli/hooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Details:
9696
Source: openclaw-bundled
9797
Path: /path/to/openclaw/hooks/bundled/session-memory/HOOK.md
9898
Handler: /path/to/openclaw/hooks/bundled/session-memory/handler.ts
99-
Homepage: https://docs.openclaw.ai/hooks#session-memory
99+
Homepage: https://docs.openclaw.ai/automation/hooks#session-memory
100100
Events: command:new
101101
102102
Requirements:

src/cli/hooks-cli.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const report: HookStatusReport = {
1616
handlerPath: "/tmp/hooks/session-memory/handler.js",
1717
hookKey: "session-memory",
1818
emoji: "💾",
19-
homepage: "https://docs.openclaw.ai/hooks#session-memory",
19+
homepage: "https://docs.openclaw.ai/automation/hooks#session-memory",
2020
events: ["command:new"],
2121
always: false,
2222
disabled: false,

src/commands/onboard-hooks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export async function setupInternalHooks(
1515
"Hooks let you automate actions when agent commands are issued.",
1616
"Example: Save session context to memory when you issue /new.",
1717
"",
18-
"Learn more: https://docs.openclaw.ai/hooks",
18+
"Learn more: https://docs.openclaw.ai/automation/hooks",
1919
].join("\n"),
2020
"Hooks",
2121
);

src/hooks/bundled/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ session-memory/
8181
---
8282
name: my-hook
8383
description: "Short description"
84-
homepage: https://docs.openclaw.ai/hooks#my-hook
84+
homepage: https://docs.openclaw.ai/automation/hooks#my-hook
8585
metadata:
8686
{ "openclaw": { "emoji": "🔗", "events": ["command:new"], "requires": { "bins": ["node"] } } }
8787
---
@@ -220,4 +220,4 @@ Test your hooks by:
220220

221221
## Documentation
222222

223-
Full documentation: https://docs.openclaw.ai/hooks
223+
Full documentation: https://docs.openclaw.ai/automation/hooks

src/hooks/bundled/boot-md/HOOK.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: boot-md
33
description: "Run BOOT.md on gateway startup"
4-
homepage: https://docs.openclaw.ai/hooks#boot-md
4+
homepage: https://docs.openclaw.ai/automation/hooks#boot-md
55
metadata:
66
{
77
"openclaw":

0 commit comments

Comments
 (0)