cleargate 0.6.0 → 0.6.2

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
- "cleargate_version": "0.6.0",
3
- "generated_at": "2026-04-27T06:34:21.351Z",
2
+ "cleargate_version": "0.6.2",
3
+ "generated_at": "2026-04-27T07:21:39.697Z",
4
4
  "files": [
5
5
  {
6
6
  "path": ".claude/agents/architect.md",
package/dist/cli.cjs CHANGED
@@ -627,7 +627,7 @@ var import_commander = require("commander");
627
627
  // package.json
628
628
  var package_default = {
629
629
  name: "cleargate",
630
- version: "0.6.0",
630
+ version: "0.6.2",
631
631
  private: false,
632
632
  type: "module",
633
633
  description: "Planning framework for Claude Code agents \u2014 sprint/epic/story protocol, four-agent loop (architect/developer/qa/reporter), Karpathy-style awareness wiki.",
@@ -1911,6 +1911,7 @@ var HOOK_FILES_WITH_PIN = /* @__PURE__ */ new Set([
1911
1911
  ".claude/hooks/stamp-and-gate.sh",
1912
1912
  ".claude/hooks/session-start.sh"
1913
1913
  ]);
1914
+ var SKIP_FILES = /* @__PURE__ */ new Set(["CLAUDE.md"]);
1914
1915
  function listFilesRecursive(dir) {
1915
1916
  const results = [];
1916
1917
  function walk(current, rel) {
@@ -1933,7 +1934,7 @@ function copyPayload(payloadDir, targetCwd, opts) {
1933
1934
  if (!fs7.existsSync(payloadDir)) {
1934
1935
  throw new Error(`copyPayload: payloadDir does not exist: ${payloadDir}`);
1935
1936
  }
1936
- const files = listFilesRecursive(payloadDir);
1937
+ const files = listFilesRecursive(payloadDir).filter((r) => !SKIP_FILES.has(r));
1937
1938
  for (const relPath of files) {
1938
1939
  const srcPath = path7.join(payloadDir, relPath);
1939
1940
  const dstPath = path7.join(targetCwd, relPath);
@@ -3182,13 +3183,12 @@ async function initHandler(opts = {}) {
3182
3183
  `);
3183
3184
  } else {
3184
3185
  stdout(
3185
- `[cleargate init] \u{1F534} cleargate CLI: not resolvable \u2014 hooks will no-op.
3186
+ `[cleargate init] \u{1F7E1} cleargate CLI: not resolvable in this environment.
3186
3187
  [cleargate init] Attempted: ${branchLabel}
3188
+ [cleargate init] This is a warning, not a fatal error. Hooks will no-op until resolved.
3187
3189
  [cleargate init] Fix: npm i -g cleargate@${pinVersion} or npx cleargate@${pinVersion} doctor
3188
3190
  `
3189
3191
  );
3190
- exit(1);
3191
- return;
3192
3192
  }
3193
3193
  }
3194
3194
  }