Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

docs: tighten summary caching line and fix broken hook anchor (#1769)

Maximilian Roosef1f47a7c66d
diff --git a/docs/content/llm-commits.md b/docs/content/llm-commits.md
index 6e8d0a08e..e6194e8c5 100644
--- a/docs/content/llm-commits.md
+++ b/docs/content/llm-commits.md
@@ -106,7 +106,7 @@ Enable in user config:
summary = true
```
-Disabled by default — when enabled, each branch's diff is sent to the configured LLM for summarization. Results are cached until the diff changes.
+Summaries are cached and regenerated only when the diff changes.
## Prompt templates
diff --git a/docs/content/step.md b/docs/content/step.md
index c7eeb037f..2366d4a01 100644
--- a/docs/content/step.md
+++ b/docs/content/step.md
@@ -871,7 +871,7 @@ wt step deploy --var env=staging # pass extra template variables
wt step deploy --yes # skip approval prompt
```
-When defined in both user and project config, both run — user first, then project. Project-config aliases require [command approval](@/hook.md#security) on first run, same as project hooks. User-config aliases are trusted.
+When defined in both user and project config, both run — user first, then project. Project-config aliases require [command approval](@/hook.md#wt-hook-approvals) on first run, same as project hooks. User-config aliases are trusted.
Alias names that match a built-in step command (`commit`, `squash`, etc.) are shadowed by the built-in and will never run.
diff --git a/docs/content/tips-patterns.md b/docs/content/tips-patterns.md
index 1cf6dd7df..cee539637 100644
--- a/docs/content/tips-patterns.md
+++ b/docs/content/tips-patterns.md
@@ -176,7 +176,7 @@ With `summary = true` and [`commit.generation`](@/config.md#commit) configured,
summary = true
```
-Disabled by default — when enabled, each branch's diff is sent to the configured LLM for summarization. See [LLM Commits](@/llm-commits.md#branch-summaries) for details.
+Summaries are cached and regenerated only when the diff changes. See [LLM Commits](@/llm-commits.md#branch-summaries) for details.
## JSON API
diff --git a/skills/worktrunk/reference/llm-commits.md b/skills/worktrunk/reference/llm-commits.md
index 2686b2a27..0321c0ac0 100644
--- a/skills/worktrunk/reference/llm-commits.md
+++ b/skills/worktrunk/reference/llm-commits.md
@@ -92,7 +92,7 @@ Enable in user config:
summary = true
```
-Disabled by default — when enabled, each branch's diff is sent to the configured LLM for summarization. Results are cached until the diff changes.
+Summaries are cached and regenerated only when the diff changes.
## Prompt templates
diff --git a/skills/worktrunk/reference/step.md b/skills/worktrunk/reference/step.md
index 85e4873a9..c2911a4a2 100644
--- a/skills/worktrunk/reference/step.md
+++ b/skills/worktrunk/reference/step.md
@@ -837,6 +837,6 @@ wt step deploy --var env=staging # pass extra template variables
wt step deploy --yes # skip approval prompt
```
-When defined in both user and project config, both run — user first, then project. Project-config aliases require [command approval](https://worktrunk.dev/hook/#security) on first run, same as project hooks. User-config aliases are trusted.
+When defined in both user and project config, both run — user first, then project. Project-config aliases require [command approval](https://worktrunk.dev/hook/#wt-hook-approvals) on first run, same as project hooks. User-config aliases are trusted.
Alias names that match a built-in step command (`commit`, `squash`, etc.) are shadowed by the built-in and will never run.
diff --git a/skills/worktrunk/reference/tips-patterns.md b/skills/worktrunk/reference/tips-patterns.md
index 21078f070..55216e768 100644
--- a/skills/worktrunk/reference/tips-patterns.md
+++ b/skills/worktrunk/reference/tips-patterns.md
@@ -165,7 +165,7 @@ With `summary = true` and [`commit.generation`](https://worktrunk.dev/config/#co
summary = true
```
-Disabled by default — when enabled, each branch's diff is sent to the configured LLM for summarization. See [LLM Commits](https://worktrunk.dev/llm-commits/#branch-summaries) for details.
+Summaries are cached and regenerated only when the diff changes. See [LLM Commits](https://worktrunk.dev/llm-commits/#branch-summaries) for details.
## JSON API
diff --git a/src/cli/mod.rs b/src/cli/mod.rs
index c87eb058c..1000dd297 100644
--- a/src/cli/mod.rs
+++ b/src/cli/mod.rs
@@ -1089,7 +1089,7 @@ wt step deploy --var env=staging # pass extra template variables
wt step deploy --yes # skip approval prompt
```
-When defined in both user and project config, both run — user first, then project. Project-config aliases require [command approval](@/hook.md#security) on first run, same as project hooks. User-config aliases are trusted.
+When defined in both user and project config, both run — user first, then project. Project-config aliases require [command approval](@/hook.md#wt-hook-approvals) on first run, same as project hooks. User-config aliases are trusted.
Alias names that match a built-in step command (`commit`, `squash`, etc.) are shadowed by the built-in and will never run."#
)]