Skip to content

Commit bf1f685

Browse files
authored
fix(abilities): get-instructions description matches its tier-gated payload (#133)
The behavior shipped in #87 — plugin inventory rides the context only at the admin tier — but the description still promised "its setup and active plugins" unconditionally, and that line is what the WordPress.org reviewer quoted. Descriptions are the agent-facing interface; this one now states the tier condition. Regenerating the pot also picks up the cookbook strings it had gone stale against — the exact missing-feature failure CLAUDE.md warns about. Refs #132
1 parent ff0c25b commit bf1f685

2 files changed

Lines changed: 1313 additions & 1019 deletions

File tree

includes/abilities/core-content.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function saddle_register_abilities() {
6060
'saddle/get-instructions',
6161
array(
6262
'label' => __( 'Get instructions', 'saddle' ),
63-
'description' => __( 'Returns important context about this site (its setup and active plugins) and the site owner\'s instructions for AI agents. Call this first, before other actions, and follow the guidance it returns. Read-only.', 'saddle' ),
63+
'description' => __( 'Returns important context about this site and the site owner\'s instructions for AI agents. Call this first, before other actions, and follow the guidance it returns. The installed-plugin inventory is included only for admin-level credentials. Read-only.', 'saddle' ),
6464
'category' => 'saddle',
6565
'input_schema' => array(
6666
'type' => 'object',

0 commit comments

Comments
 (0)