Skip to content

Commit 615cc59

Browse files
authored
Prevent model from auto-invoking plannotator slash commands (#586)
Add `disable-model-invocation: true` frontmatter so these user-driven commands (which open browser UIs and require human interaction) can only be triggered explicitly by the user, not picked up automatically by the model.
1 parent ea758f9 commit 615cc59

4 files changed

Lines changed: 4 additions & 0 deletions

File tree

apps/hook/commands/plannotator-annotate.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
description: Open interactive annotation UI for a markdown file or folder
33
allowed-tools: Bash(plannotator:*)
4+
disable-model-invocation: true
45
---
56

67
## Markdown Annotations

apps/hook/commands/plannotator-archive.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
description: Browse saved plan decisions in the archive
33
allowed-tools: Bash(plannotator:*)
4+
disable-model-invocation: true
45
---
56

67
## Plan Archive

apps/hook/commands/plannotator-last.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
description: Annotate the last rendered assistant message
33
allowed-tools: Bash(plannotator:*)
4+
disable-model-invocation: true
45
---
56

67
## Message Annotations

apps/hook/commands/plannotator-review.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
description: Open interactive code review for current changes or a PR URL
33
allowed-tools: Bash(plannotator:*)
4+
disable-model-invocation: true
45
---
56

67
## Code Review Feedback

0 commit comments

Comments
 (0)