From 3fcc8a3ab53bf6de2c3297152256c5a8f67d0302 Mon Sep 17 00:00:00 2001 From: Gitea Actions Date: Thu, 18 Jun 2026 02:45:47 +0000 Subject: [PATCH] chore(docs): regenerate man page, HTML docs, and wiki --- docs/fish-config.1 | 10 +++++++--- docs/html/9-5-functions-reference.html | 10 +++++++--- docs/wiki/5-functions-reference.md | 10 +++++++--- 3 files changed, 21 insertions(+), 9 deletions(-) diff --git a/docs/fish-config.1 b/docs/fish-config.1 index 93f5fe4..b3de74d 100644 --- a/docs/fish-config.1 +++ b/docs/fish-config.1 @@ -1470,9 +1470,13 @@ git hooks under AGENTS/.agents-tools/ (wired via core.hooksPath) bump it on every commit: MINOR (resetting PATCH) when the tracked directory set changes, PATCH otherwise; MAJOR is manual-only. A prepare-commit-msg hook appends \[dq](vX.Y.Z)\[dq] to the commit subject. Downstream tooling can read -AGENTS/.version - a changed MINOR field signals a structure change. The -script and hooks are shipped from scripts/agents-tools/ and refreshed when -their version marker is stale. +AGENTS/.version - a changed MINOR field signals a structure change. Because +core.hooksPath is a single setting, the local override would otherwise +shadow your global hooks; after bumping the version, each shim chains +(execs) to the global/system core.hooksPath hook of the same name so global +pre-commit / prepare-commit-msg hooks (e.g. ggshield, Git LFS) still run. +The script and hooks are shipped from scripts/agents-tools/ and refreshed +when their version marker is stale. agents-init agents-init --agents diff --git a/docs/html/9-5-functions-reference.html b/docs/html/9-5-functions-reference.html index e48e37e..506330f 100644 --- a/docs/html/9-5-functions-reference.html +++ b/docs/html/9-5-functions-reference.html @@ -982,9 +982,13 @@ git hooks under AGENTS/.agents-tools/ (wired via core.hooksPath) bump it on every commit: MINOR (resetting PATCH) when the tracked directory set changes, PATCH otherwise; MAJOR is manual-only. A prepare-commit-msg hook appends "(vX.Y.Z)" to the commit subject. Downstream tooling can read -AGENTS/.version - a changed MINOR field signals a structure change. The -script and hooks are shipped from scripts/agents-tools/ and refreshed when -their version marker is stale. +AGENTS/.version - a changed MINOR field signals a structure change. Because +core.hooksPath is a single setting, the local override would otherwise +shadow your global hooks; after bumping the version, each shim chains +(execs) to the global/system core.hooksPath hook of the same name so global +pre-commit / prepare-commit-msg hooks (e.g. ggshield, Git LFS) still run. +The script and hooks are shipped from scripts/agents-tools/ and refreshed +when their version marker is stale. agents-init agents-init --agents diff --git a/docs/wiki/5-functions-reference.md b/docs/wiki/5-functions-reference.md index 087bbb3..65a9c33 100644 --- a/docs/wiki/5-functions-reference.md +++ b/docs/wiki/5-functions-reference.md @@ -641,9 +641,13 @@ every commit: MINOR (resetting PATCH) when the tracked directory set changes, PATCH otherwise; MAJOR is manual-only. A prepare-commit-msg hook appends "(vX.Y.Z)" to the commit subject. Downstream tooling can read - AGENTS/.version - a changed MINOR field signals a structure change. The - script and hooks are shipped from scripts/agents-tools/ and refreshed when - their version marker is stale. + AGENTS/.version - a changed MINOR field signals a structure change. Because + core.hooksPath is a single setting, the local override would otherwise + shadow your global hooks; after bumping the version, each shim chains + (execs) to the global/system core.hooksPath hook of the same name so global + pre-commit / prepare-commit-msg hooks (e.g. ggshield, Git LFS) still run. + The script and hooks are shipped from scripts/agents-tools/ and refreshed + when their version marker is stale. agents-init agents-init --agents