gm-cc 2.0.454 → 2.0.456

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.454",
7
+ "version": "2.0.456",
8
8
  "metadata": {
9
9
  "description": "State machine agent with hooks, skills, and automated git enforcement"
10
10
  },
package/AGENTS.md ADDED
@@ -0,0 +1,11 @@
1
+ # AGENTS
2
+
3
+ ## Technical Notes
4
+
5
+ Hook response format: `{"decision":"allow|block","reason":"text"}` with exit code 0.
6
+
7
+ Tool names for this platform: `bash` → `Bash`, `write` → `Write`, `glob` → `Glob`, `grep` → `Grep`, `search` → `Search`
8
+
9
+ When filtering transcript history by sessionId, use: `if (sessionId && entry.sessionId === sessionId)`
10
+
11
+ Verification file `.gm-stop-verified` is auto-added to .gitignore and tracks session completion state.
package/CLAUDE.md CHANGED
@@ -1,11 +1 @@
1
- # CLAUDE
2
-
3
- ## Technical Notes
4
-
5
- Hook response format: `{"decision":"allow|block","reason":"text"}` with exit code 0.
6
-
7
- Tool names for this platform: `bash` → `Bash`, `write` → `Write`, `glob` → `Glob`, `grep` → `Grep`, `search` → `Search`
8
-
9
- When filtering transcript history by sessionId, use: `if (sessionId && entry.sessionId === sessionId)`
10
-
11
- Verification file `.gm-stop-verified` is auto-added to .gitignore and tracks session completion state.
1
+ @AGENTS.md
@@ -1,17 +1,17 @@
1
1
  ---
2
2
  name: memorize
3
- description: Background memory agent. Classifies context into memory/ dir and CLAUDE.md. Aggressively prunes stale/derivable/duplicate entries.
3
+ description: Background memory agent. Classifies context into memory/ dir and AGENTS.md. Aggressively prunes stale/derivable/duplicate entries.
4
4
  agent: true
5
5
  ---
6
6
 
7
7
  # Memorize — Background Memory Agent
8
8
 
9
9
  Memory dir: C:/Users/user/.claude/projects/C--dev-plugforge/memory/
10
- CLAUDE.md: C:/dev/plugforge/CLAUDE.md
10
+ AGENTS.md: C:/dev/plugforge/AGENTS.md
11
11
 
12
12
  ## STEP 1: READ
13
13
 
14
- Read memory dir contents and MEMORY.md index. Read all existing memory files. Read CLAUDE.md in full.
14
+ Read memory dir contents and MEMORY.md index. Read all existing memory files. Read AGENTS.md in full.
15
15
 
16
16
  If memory dir does not exist, create it. If MEMORY.md does not exist, create it empty.
17
17
 
@@ -20,7 +20,7 @@ If memory dir does not exist, create it. If MEMORY.md does not exist, create it
20
20
  Run BEFORE writing any new content.
21
21
 
22
22
  Remove entries that are:
23
- - Contradicted or superseded by current CLAUDE.md or observable codebase facts
23
+ - Contradicted or superseded by current AGENTS.md or observable codebase facts
24
24
  - Duplicates of other entries (merge into one)
25
25
  - Derivable at runtime via exec:codesearch: file paths, function names, API shapes, architecture patterns
26
26
  - Active task state, current progress, session narration
@@ -39,7 +39,7 @@ Examine the ## CONTEXT TO MEMORIZE section at the end of this prompt. For each f
39
39
  - reference: pointers to external systems, URLs, paths
40
40
 
41
41
  Discard:
42
- - Facts already covered in CLAUDE.md (exact or paraphrase)
42
+ - Facts already covered in AGENTS.md (exact or paraphrase)
43
43
  - Obvious facts derivable from reading the code
44
44
  - Active task state or session progress
45
45
 
@@ -76,14 +76,14 @@ No frontmatter. Max 200 lines.
76
76
 
77
77
  ## STEP 6: CONSOLIDATE
78
78
 
79
- For each memory file: if its content is already fully covered by CLAUDE.md (exact or equivalent), delete the memory file and remove its line from MEMORY.md.
79
+ For each memory file: if its content is already fully covered by AGENTS.md (exact or equivalent), delete the memory file and remove its line from MEMORY.md.
80
80
 
81
- ## STEP 7: CLAUDE.md
81
+ ## STEP 7: AGENTS.md
82
82
 
83
83
  A non-obvious technical caveat qualifies if it required multiple failed runs to discover and would not be apparent from reading code or docs.
84
84
 
85
85
  For each qualifying fact from context:
86
- - If CLAUDE.md already covers it → skip
86
+ - If AGENTS.md already covers it → skip
87
87
  - If genuinely non-obvious → append to the appropriate section
88
88
 
89
89
  Never add: obvious patterns, active task progress, redundant restatements.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-cc",
3
- "version": "2.0.454",
3
+ "version": "2.0.456",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": "AnEntrypoint",
6
6
  "license": "MIT",
@@ -39,7 +39,8 @@
39
39
  ".gitignore",
40
40
  ".editorconfig",
41
41
  "CONTRIBUTING.md",
42
- "CLAUDE.md"
42
+ "CLAUDE.md",
43
+ "AGENTS.md"
43
44
  ],
44
45
  "keywords": [
45
46
  "claude-code",
package/plugin.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm",
3
- "version": "2.0.454",
3
+ "version": "2.0.456",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": {
6
6
  "name": "AnEntrypoint",
@@ -118,7 +118,7 @@ gh run view <run_id> --log-failed
118
118
 
119
119
  5. All runs must reach `conclusion: success` before advancing. A failed CI run is a KNOWN mutable that blocks completion — never ignore it.
120
120
 
121
- **Cascade awareness**: pushes to this repo may trigger downstream workflows (see CLAUDE.md Rust Binary Update Pipeline). After local CI passes, check downstream repos for triggered runs:
121
+ **Cascade awareness**: pushes to this repo may trigger downstream workflows (see AGENTS.md Rust Binary Update Pipeline). After local CI passes, check downstream repos for triggered runs:
122
122
  ```
123
123
  exec:bash
124
124
  gh run list --repo AnEntrypoint/<downstream-repo> --limit 3 --json databaseId,name,status,conclusion
@@ -111,7 +111,7 @@ Invoke `browser` skill. Escalation: (1) `exec:browser <js>` → (2) browser skil
111
111
 
112
112
  ## MANDATORY DEV WORKFLOW
113
113
 
114
- No comments. No test files. 200-line limit — split before continuing. Fail loud. No duplication. Scan before every edit. Duplicate concern = regress to PLAN. Errors throw with context — no `|| default`, no `catch { return null }`. `window.__debug` exposes all client state. CLAUDE.md via memorize only. CHANGELOG.md: append per commit.
114
+ No comments. No test files. 200-line limit — split before continuing. Fail loud. No duplication. Scan before every edit. Duplicate concern = regress to PLAN. Errors throw with context — no `|| default`, no `catch { return null }`. `window.__debug` exposes all client state. AGENTS.md via memorize only. CHANGELOG.md: append per commit.
115
115
 
116
116
  **Minimal code / maximal DX process**: Before writing any logic, run this process in order — stop at the first step that resolves the need:
117
117
  1. **Native first** — does the language or runtime already do this? Use it exactly as designed.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: update-docs
3
- description: UPDATE-DOCS phase. Refresh README.md, CLAUDE.md, and docs/index.html to reflect changes made this session. Commits and pushes doc updates. Terminal phase — declares COMPLETE.
3
+ description: UPDATE-DOCS phase. Refresh README.md, AGENTS.md, and docs/index.html to reflect changes made this session. Commits and pushes doc updates. Terminal phase — declares COMPLETE.
4
4
  ---
5
5
 
6
6
  # GM UPDATE-DOCS — Documentation Refresh
@@ -35,7 +35,7 @@ Witness which files changed. Identify doc-sensitive changes: new skills, new sta
35
35
  ```
36
36
  exec:nodejs
37
37
  const fs = require('fs');
38
- ['README.md', 'CLAUDE.md', 'docs/index.html',
38
+ ['README.md', 'AGENTS.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}`); }
@@ -50,7 +50,7 @@ Write only sections that changed. Do not rewrite unchanged content. Rules per fi
50
50
 
51
51
  **README.md**: platform count matches adapters in `platforms/`, skill tree diagram matches current state machine, quick start commands work.
52
52
 
53
- **CLAUDE.md**: Launch memorize sub-agent in background with session learnings. Do not inline-edit CLAUDE.md — the memorize agent handles extraction, deduplication, and writing. Use: `Agent(subagent_type='memorize', model='haiku', run_in_background=true, prompt='## CONTEXT TO MEMORIZE\n<session learnings>')`
53
+ **AGENTS.md**: Launch memorize sub-agent in background with session learnings. Do not inline-edit AGENTS.md — the memorize agent handles extraction, deduplication, and writing. Use: `Agent(subagent_type='memorize', model='haiku', run_in_background=true, prompt='## CONTEXT TO MEMORIZE\n<session learnings>')`
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