gm-cc 2.0.188 → 2.0.190
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.190",
|
|
8
8
|
"metadata": {
|
|
9
9
|
"description": "State machine agent with hooks, skills, and automated git enforcement"
|
|
10
10
|
},
|
package/agents/gm.md
CHANGED
|
@@ -9,6 +9,8 @@ enforce: critical
|
|
|
9
9
|
|
|
10
10
|
**Invoke the `gm` skill immediately.** Use the Skill tool with `skill: "gm"`.
|
|
11
11
|
|
|
12
|
+
**CRITICAL: Skills are invoked via the Skill tool ONLY. Do NOT use the Agent tool to load skills. Skills are not agents. Use: `Skill tool` with `skill: "gm"` (or `"planning"`, `"gm-execute"`, `"gm-emit"`, `"gm-complete"`). Using the Agent tool for skills is a violation.**
|
|
13
|
+
|
|
12
14
|
All work coordination, planning, execution, and verification happens through the skill tree:
|
|
13
15
|
- `gm` skill → `planning` skill → `gm-execute` skill → `gm-emit` skill → `gm-complete` skill
|
|
14
16
|
|
|
@@ -74,7 +74,7 @@ try {
|
|
|
74
74
|
ensureGitignore();
|
|
75
75
|
|
|
76
76
|
const parts = [];
|
|
77
|
-
parts.push('
|
|
77
|
+
parts.push('Use the Skill tool with skill: "gm" to begin — do NOT use the Agent tool to load skills. Skills are invoked via the Skill tool only, never as agents. DO NOT use EnterPlanMode.');
|
|
78
78
|
|
|
79
79
|
const search = runCodeSearch(prompt);
|
|
80
80
|
if (search) parts.push(search);
|
|
@@ -29,7 +29,7 @@ ensureGitignore();
|
|
|
29
29
|
try {
|
|
30
30
|
let outputs = [];
|
|
31
31
|
|
|
32
|
-
outputs.push('
|
|
32
|
+
outputs.push('Use the Skill tool with skill: "gm" to begin — do NOT use the Agent tool to load skills. Skills are invoked via the Skill tool only, never as agents. All code execution uses exec:<lang> via the Bash tool — never direct Bash(node ...) or Bash(npm ...) or Bash(npx ...).');
|
|
33
33
|
|
|
34
34
|
if (projectDir && fs.existsSync(projectDir)) {
|
|
35
35
|
try {
|
package/package.json
CHANGED
package/plugin.json
CHANGED
package/skills/gm/SKILL.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: gm
|
|
3
|
-
description: Immutable programming state machine. Root orchestrator. Invoke for all work coordination.
|
|
4
|
-
agent: true
|
|
3
|
+
description: Immutable programming state machine. Root orchestrator. Invoke for all work coordination via the Skill tool.
|
|
5
4
|
enforce: critical
|
|
6
5
|
---
|
|
7
6
|
|
|
@@ -68,13 +67,13 @@ exec:close
|
|
|
68
67
|
<task_id>
|
|
69
68
|
```
|
|
70
69
|
|
|
71
|
-
**Runner management** (
|
|
70
|
+
**Runner management** (the runner itself is a PM2 process named `gm-exec-runner`):
|
|
72
71
|
```
|
|
73
72
|
exec:runner
|
|
74
73
|
start|stop|status
|
|
75
74
|
```
|
|
76
75
|
|
|
77
|
-
|
|
76
|
+
`exec:runner start` launches a single PM2 process (`gm-exec-runner`) that hosts all execution as worker threads inside it. Individual `exec:<lang>` calls are worker threads — they do NOT appear as separate entries in `pm2 list`. Only the runner process is visible. Use `exec:runner status` to check it.
|
|
78
77
|
|
|
79
78
|
## CODEBASE EXPLORATION
|
|
80
79
|
|