@cg3/equip 0.2.17 → 0.2.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +11 -7
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -158,17 +158,21 @@ const { detectPlatforms, installMcpJson, installRules, createManualPlatform, pla
158
158
  - **Dry-run support** — Preview changes without writing files
159
159
  - **CLI helpers** — Colored output, prompts, clipboard utilities included
160
160
 
161
- ## Limitations Why Rules Matter (and Why They're Not Enough)
161
+ ## How the Layers Work Together
162
162
 
163
- MCP tool descriptions alone don't reliably trigger agent behavior. [Research on 856 MCP tools](https://arxiv.org/abs/2602.14878) found that 97.1% of tool descriptions contain quality issues, and even fully optimized descriptions only improve task success by ~6 percentage points.
163
+ Equip distributes your MCP tool through three complementary layers, each stronger than the last:
164
164
 
165
- Behavioral rules (the `.md` files equip installs) are stronger they live in the agent's system prompt or project context, closer to how agents make decisions. But they have limits too:
165
+ 1. **MCP config**Makes the tool available. The agent *can* call it.
166
+ 2. **Behavioral rules** — Teaches the agent *when* to call it. Rules live in the agent's system prompt or project context, close to where decisions happen.
167
+ 3. **Lifecycle hooks** — Structurally enforces behavior at key moments (e.g., after an error, on task completion). Hooks inject context into the agent's reasoning at exactly the right time, without relying on the agent remembering its rules.
166
168
 
167
- - **Context window compaction** can drop rules from the agent's working memory during long sessions
168
- - **No platform hooks exist** to enforce tool calls — the agent always decides whether to act
169
- - **No open standard** for server-initiated actions (MCP sampling exists in spec but isn't widely implemented)
169
+ Each layer compensates for the limitations of the one before it:
170
170
 
171
- Equip gives you the best available distribution: MCP config for tool availability + behavioral rules for usage guidance + lifecycle hooks for structural enforcement on platforms that support them. Hooks bridge the gap between "the agent knows the rules" and "the agent actually follows them" by injecting reminders at the exact moment an error occurs.
171
+ - **Tool descriptions alone** don't reliably trigger behavior. [Research on 856 MCP tools](https://arxiv.org/abs/2602.14878) found that even fully optimized descriptions only improve task success by ~6 percentage points.
172
+ - **Behavioral rules** are stronger, but can be dropped during context window compaction in long sessions, and the agent can still rationalize skipping them.
173
+ - **Lifecycle hooks** are the strongest available enforcement — they fire automatically at the platform level, independent of the agent's memory or reasoning. Not all platforms support hooks yet, but equip installs them where available and silently skips where not.
174
+
175
+ No layer is a silver bullet. Together, they give you the best coverage available today across the broadest set of platforms.
172
176
 
173
177
  ## License
174
178
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cg3/equip",
3
- "version": "0.2.17",
3
+ "version": "0.2.19",
4
4
  "description": "Universal MCP + behavioral rules installer for AI coding agents",
5
5
  "main": "index.js",
6
6
  "bin": {