gm-cc 2.0.447 → 2.0.449
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.449",
|
|
8
8
|
"metadata": {
|
|
9
9
|
"description": "State machine agent with hooks, skills, and automated git enforcement"
|
|
10
10
|
},
|
package/CONTRIBUTING.md
CHANGED
|
@@ -7,7 +7,7 @@ Please ensure all code follows the conventions established in this project.
|
|
|
7
7
|
Run the build to verify everything is working:
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npm run build
|
|
10
|
+
npm run build gm-starter [output-dir]
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Platform Conventions
|
|
@@ -15,12 +15,12 @@ npm run build plugforge-starter [output-dir]
|
|
|
15
15
|
- Each platform adapter in `platforms/` extends PlatformAdapter or CLIAdapter
|
|
16
16
|
- File generation logic goes in `createFileStructure()`
|
|
17
17
|
- Use TemplateBuilder methods for shared generation logic
|
|
18
|
-
- Skills are auto-discovered from
|
|
18
|
+
- Skills are auto-discovered from gm-starter/skills/
|
|
19
19
|
|
|
20
20
|
## Testing
|
|
21
21
|
|
|
22
22
|
Build all 9 platform outputs:
|
|
23
23
|
|
|
24
24
|
```bash
|
|
25
|
-
node cli.js
|
|
25
|
+
node cli.js gm-starter /tmp/test-build
|
|
26
26
|
```
|
package/package.json
CHANGED
package/plugin.json
CHANGED
package/scripts/watch-cascade.js
CHANGED
|
@@ -8,7 +8,7 @@ const REPOS = {
|
|
|
8
8
|
'rs-codeinsight':'AnEntrypoint/rs-codeinsight',
|
|
9
9
|
'rs-search': 'AnEntrypoint/rs-search',
|
|
10
10
|
'rs-plugkit': 'AnEntrypoint/rs-plugkit',
|
|
11
|
-
'
|
|
11
|
+
'gm': 'AnEntrypoint/gm',
|
|
12
12
|
'gm-cc': 'AnEntrypoint/gm-cc',
|
|
13
13
|
};
|
|
14
14
|
|
|
@@ -103,7 +103,7 @@ async function main() {
|
|
|
103
103
|
const triggerTime = Date.now();
|
|
104
104
|
|
|
105
105
|
console.log('\n=== Cascade Watcher ===');
|
|
106
|
-
console.log('Monitoring full pipeline: rs-{exec,codeinsight,search} → rs-plugkit →
|
|
106
|
+
console.log('Monitoring full pipeline: rs-{exec,codeinsight,search} → rs-plugkit → gm → gm-cc\n');
|
|
107
107
|
|
|
108
108
|
console.log('[1] Baseline');
|
|
109
109
|
const baseGmCcSha = getGmCcSha();
|
|
@@ -125,19 +125,19 @@ async function main() {
|
|
|
125
125
|
return `v${v}`;
|
|
126
126
|
});
|
|
127
127
|
|
|
128
|
-
validate('
|
|
128
|
+
validate('gm-starter/gm.json plugkitVersion', () => {
|
|
129
129
|
const fs = require('fs');
|
|
130
|
-
const p = 'C:/dev/plugforge/
|
|
130
|
+
const p = 'C:/dev/plugforge/gm-starter/gm.json';
|
|
131
131
|
if (!fs.existsSync(p)) throw new Error('file not found');
|
|
132
132
|
const j = JSON.parse(fs.readFileSync(p, 'utf8'));
|
|
133
133
|
return `v${j.plugkitVersion}`;
|
|
134
134
|
});
|
|
135
135
|
|
|
136
|
-
console.log('\n[4]
|
|
136
|
+
console.log('\n[4] gm Build & Publish run');
|
|
137
137
|
const afterPlugkit = Date.now();
|
|
138
|
-
const pfRun = await waitForNewRun('AnEntrypoint/
|
|
138
|
+
const pfRun = await waitForNewRun('AnEntrypoint/gm', 'Build & Publish Plugins', afterPlugkit - 3 * 60 * 1000);
|
|
139
139
|
console.log(` Run #${pfRun.databaseId} "${pfRun.name}" on ${pfRun.headBranch}`);
|
|
140
|
-
await watchRun('AnEntrypoint/
|
|
140
|
+
await watchRun('AnEntrypoint/gm', pfRun.databaseId, 'Build & Publish Plugins');
|
|
141
141
|
|
|
142
142
|
console.log('\n[5] Validate gm-cc updated');
|
|
143
143
|
const newGmCcSha = getGmCcSha();
|
|
@@ -36,7 +36,7 @@ Witness which files changed. Identify doc-sensitive changes: new skills, new sta
|
|
|
36
36
|
exec:nodejs
|
|
37
37
|
const fs = require('fs');
|
|
38
38
|
['README.md', 'CLAUDE.md', 'docs/index.html',
|
|
39
|
-
'
|
|
39
|
+
'gm-starter/agents/gm.md'].forEach(f => {
|
|
40
40
|
try { console.log(`=== ${f} ===\n` + fs.readFileSync(f, 'utf8')); }
|
|
41
41
|
catch(e) { console.log(`MISSING: ${f}`); }
|
|
42
42
|
});
|
|
@@ -54,7 +54,7 @@ Write only sections that changed. Do not rewrite unchanged content. Rules per fi
|
|
|
54
54
|
|
|
55
55
|
**docs/index.html**: `PHASES` array matches current skill state machine phases. Platform lists match `platforms/` directory. State machine diagram updated if new phases added.
|
|
56
56
|
|
|
57
|
-
**
|
|
57
|
+
**gm-starter/agents/gm.md**: Skill chain on the `gm skill →` line updated if new skills were added.
|
|
58
58
|
|
|
59
59
|
```
|
|
60
60
|
exec:nodejs
|
|
@@ -77,7 +77,7 @@ Witness each written file from disk. Any variance from expected content → fix
|
|
|
77
77
|
|
|
78
78
|
```
|
|
79
79
|
exec:bash
|
|
80
|
-
git add README.md docs/index.html
|
|
80
|
+
git add README.md docs/index.html gm-starter/agents/gm.md
|
|
81
81
|
git diff --cached --stat
|
|
82
82
|
```
|
|
83
83
|
|