cleargate 0.6.1 → 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.
package/dist/cli.js CHANGED
@@ -14,7 +14,7 @@ import { Command } from "commander";
14
14
  // package.json
15
15
  var package_default = {
16
16
  name: "cleargate",
17
- version: "0.6.1",
17
+ version: "0.6.2",
18
18
  private: false,
19
19
  type: "module",
20
20
  description: "Planning framework for Claude Code agents \u2014 sprint/epic/story protocol, four-agent loop (architect/developer/qa/reporter), Karpathy-style awareness wiki.",
@@ -1285,6 +1285,7 @@ var HOOK_FILES_WITH_PIN = /* @__PURE__ */ new Set([
1285
1285
  ".claude/hooks/stamp-and-gate.sh",
1286
1286
  ".claude/hooks/session-start.sh"
1287
1287
  ]);
1288
+ var SKIP_FILES = /* @__PURE__ */ new Set(["CLAUDE.md"]);
1288
1289
  function listFilesRecursive(dir) {
1289
1290
  const results = [];
1290
1291
  function walk(current, rel) {
@@ -1307,7 +1308,7 @@ function copyPayload(payloadDir, targetCwd, opts) {
1307
1308
  if (!fs5.existsSync(payloadDir)) {
1308
1309
  throw new Error(`copyPayload: payloadDir does not exist: ${payloadDir}`);
1309
1310
  }
1310
- const files = listFilesRecursive(payloadDir);
1311
+ const files = listFilesRecursive(payloadDir).filter((r) => !SKIP_FILES.has(r));
1311
1312
  for (const relPath of files) {
1312
1313
  const srcPath = path4.join(payloadDir, relPath);
1313
1314
  const dstPath = path4.join(targetCwd, relPath);