gm-copilot-cli 2.0.352 → 2.0.354

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.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: gm
3
- version: 2.0.352
3
+ version: 2.0.354
4
4
  description: State machine agent with hooks, skills, and automated git enforcement
5
5
  author: AnEntrypoint
6
6
  repository: https://github.com/AnEntrypoint/gm-copilot-cli
package/index.html CHANGED
@@ -18,7 +18,7 @@
18
18
  <script type="module">
19
19
  import { createElement as h, applyDiff, Fragment } from "webjsx";
20
20
  const PLATFORM_NAME="Copilot CLI",PLATFORM_TYPE="CLI Tool",PLATFORM_TYPE_COLOR="#3b82f6";
21
- const DESCRIPTION="State machine agent with hooks, skills, and automated git enforcement",VERSION="2.0.352";
21
+ const DESCRIPTION="State machine agent with hooks, skills, and automated git enforcement",VERSION="2.0.354";
22
22
  const GITHUB_URL="https://github.com/AnEntrypoint/gm-copilot-cli",BADGE_LABEL="copilot-cli";
23
23
  const FEATURES=[{"title":"State Machine","desc":"Immutable PLAN→EXECUTE→EMIT→VERIFY→COMPLETE phases with full mutable tracking"},{"title":"Semantic Search","desc":"Natural language codebase exploration via codesearch skill — no grep needed"},{"title":"Hooks","desc":"Pre-tool, session-start, prompt-submit, and stop hooks for full lifecycle control"},{"title":"Agents","desc":"gm, codesearch, and websearch agents pre-configured and ready to use"},{"title":"MCP Integration","desc":"Model Context Protocol server support built in"},{"title":"Auto-Recovery","desc":"Supervisor hierarchy ensures the system never crashes"}],INSTALL_STEPS=[{"desc":"Install via GitHub CLI","cmd":"gh extension install AnEntrypoint/gm-copilot-cli"},{"desc":"Restart your terminal — activates automatically"}];
24
24
  const CURRENT_PLATFORM="gm-copilot-cli";
package/manifest.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  name: gm
2
- version: 2.0.352
2
+ version: 2.0.354
3
3
  description: State machine agent with hooks, skills, and automated git enforcement
4
4
  author: AnEntrypoint
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-copilot-cli",
3
- "version": "2.0.352",
3
+ "version": "2.0.354",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": "AnEntrypoint",
6
6
  "license": "MIT",
@@ -0,0 +1,57 @@
1
+ ---
2
+ name: code-search
3
+ description: Mandatory codebase search workflow. Use whenever you need to find anything in the codebase. Start with two words, iterate by changing or adding words until found.
4
+ ---
5
+
6
+ # CODEBASE SEARCH — Mandatory Workflow
7
+
8
+ `exec:codesearch` is the only way to search the codebase. Glob, Grep, Find, Explore are hook-blocked.
9
+
10
+ ## Syntax
11
+
12
+ ```
13
+ exec:codesearch
14
+ <natural language query>
15
+ ```
16
+
17
+ ## Mandatory Search Protocol
18
+
19
+ **Start with exactly two words.** Never start broader. Never start with one word.
20
+
21
+ **Iterate by changing or adding words** — do not switch approach or give up until the content is found:
22
+
23
+ 1. Start: two-word query most likely to match
24
+ 2. No results → change one word (synonym, related term)
25
+ 3. Still no results → add a third word (narrow scope)
26
+ 4. Still no results → swap the changed word again
27
+ 5. Keep iterating — changing or adding words each pass — until content is found
28
+
29
+ **Never**: start with one word | start with a sentence | give up after one miss | switch to a different tool | declare content missing after fewer than 4 search attempts
30
+
31
+ **Each search is one `exec:codesearch` call.** Run them sequentially — use each result to inform the next query.
32
+
33
+ ## Examples
34
+
35
+ Finding where a function is defined:
36
+ ```
37
+ exec:codesearch
38
+ session cleanup idle
39
+ ```
40
+ → no results →
41
+ ```
42
+ exec:codesearch
43
+ cleanup sessions timeout
44
+ ```
45
+ → found.
46
+
47
+ Finding config format:
48
+ ```
49
+ exec:codesearch
50
+ plugin registration format
51
+ ```
52
+ → no results →
53
+ ```
54
+ exec:codesearch
55
+ plugin config array
56
+ ```
57
+ → found.
@@ -86,12 +86,19 @@ start|stop|status
86
86
 
87
87
  ## CODEBASE EXPLORATION
88
88
 
89
+ `exec:codesearch` is the only way to search. **Glob, Grep, Read, Explore, WebSearch are hook-blocked.**
90
+
89
91
  ```
90
92
  exec:codesearch
91
- <natural language description>
93
+ <two-word query to start>
92
94
  ```
93
95
 
94
- Alias: `exec:search`. **Glob, Grep, Read, Explore, WebSearch are hook-blocked** — the pre-tool-use hook denies them. Use `exec:codesearch` exclusively for all codebase discovery.
96
+ **Mandatory search protocol** (from `code-search` skill):
97
+ 1. Start with exactly **two words** — never one, never a sentence
98
+ 2. No results → change one word (synonym or related term)
99
+ 3. Still no results → add a third word to narrow scope
100
+ 4. Keep changing or adding words each pass until content is found
101
+ 5. Minimum 4 attempts before concluding content is absent
95
102
 
96
103
  ## BROWSER AUTOMATION
97
104
 
@@ -61,12 +61,19 @@ start|stop|status
61
61
 
62
62
  ## CODEBASE EXPLORATION
63
63
 
64
+ `exec:codesearch` is the only way to search. **Glob, Grep, Read, Explore, WebSearch are hook-blocked.**
65
+
64
66
  ```
65
67
  exec:codesearch
66
- <natural language description of what you need>
68
+ <two-word query to start>
67
69
  ```
68
70
 
69
- Alias: `exec:search`. **Glob, Grep, Read, Explore, WebSearch are hook-blocked** — the pre-tool-use hook denies them. Use `exec:codesearch` exclusively for all codebase discovery.
71
+ **Mandatory search protocol** (from `code-search` skill):
72
+ 1. Start with exactly **two words** — never one, never a sentence
73
+ 2. No results → change one word (synonym or related term)
74
+ 3. Still no results → add a third word to narrow scope
75
+ 4. Keep changing or adding words each pass until content is found
76
+ 5. Minimum 4 attempts before concluding content is absent
70
77
 
71
78
  ## IMPORT-BASED DEBUGGING
72
79
 
package/tools.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm",
3
- "version": "2.0.352",
3
+ "version": "2.0.354",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "tools": [
6
6
  {