gm-cc 2.0.353 → 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.
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"name": "AnEntrypoint"
|
|
5
5
|
},
|
|
6
6
|
"description": "State machine agent with hooks, skills, and automated git enforcement",
|
|
7
|
-
"version": "2.0.
|
|
7
|
+
"version": "2.0.354",
|
|
8
8
|
"metadata": {
|
|
9
9
|
"description": "State machine agent with hooks, skills, and automated git enforcement"
|
|
10
10
|
},
|
package/package.json
CHANGED
package/plugin.json
CHANGED
|
@@ -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.
|
package/skills/gm/SKILL.md
CHANGED
|
@@ -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
|
-
<
|
|
93
|
+
<two-word query to start>
|
|
92
94
|
```
|
|
93
95
|
|
|
94
|
-
|
|
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
|
-
<
|
|
68
|
+
<two-word query to start>
|
|
67
69
|
```
|
|
68
70
|
|
|
69
|
-
|
|
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
|
|