gm-gc 2.0.496 → 2.0.498

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.496",
3
+ "version": "2.0.498",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": "AnEntrypoint",
6
6
  "homepage": "https://github.com/AnEntrypoint/gm",
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  const fs = require('fs');
3
3
  const path = require('path');
4
- const prdFile = path.resolve(process.cwd(), '.prd');
4
+ const prdFile = path.resolve(process.cwd(), '.gm', 'prd.yml');
5
5
  let aborted = false;
6
6
  process.on('SIGTERM', () => { aborted = true; });
7
7
  process.on('SIGINT', () => { aborted = true; });
@@ -9,7 +9,7 @@ try {
9
9
  if (!aborted && fs.existsSync(prdFile)) {
10
10
  const content = fs.readFileSync(prdFile, 'utf-8').trim();
11
11
  if (content.length > 0) {
12
- console.log(JSON.stringify({ decision: 'block', reason: 'Work items remain in .prd. Remove completed items as they finish. Current items:\n\n' + content }, null, 2));
12
+ console.log(JSON.stringify({ decision: 'block', reason: 'Work items remain in .gm/prd.yml. Remove completed items as they finish. Current items:\n\n' + content }, null, 2));
13
13
  process.exit(2);
14
14
  }
15
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-gc",
3
- "version": "2.0.496",
3
+ "version": "2.0.498",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": "AnEntrypoint",
6
6
  "license": "MIT",