@nurix/etna 0.19.59 → 0.19.60

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,5 +1,5 @@
1
1
  {
2
- "fingerprint": "44a8ddcfae78",
2
+ "fingerprint": "2d248a0cd94a",
3
3
  "harnesses": {
4
4
  "apollo": {
5
5
  "plugin": "apollo",
@@ -15,5 +15,5 @@
15
15
  "docs/memory/main.md",
16
16
  ".mcp.json"
17
17
  ],
18
- "digest": "56f71396cdcf"
18
+ "digest": "91d17fd2366f"
19
19
  }
@@ -23,11 +23,20 @@ const entries = nameStatus
23
23
  });
24
24
 
25
25
  const LOCKFILES = /^(pnpm-lock\.yaml|package-lock\.json|yarn\.lock|bun\.lockb?|Cargo\.lock)$/;
26
+ const HARNESS_PREFIXES = [".claude/", ".agents/", ".codex/"];
27
+ const HARNESS_FILES = [
28
+ "AGENTS.md",
29
+ "CLAUDE.md",
30
+ ".mcp.json",
31
+ ".vscode/settings.json",
32
+ ".prettierignore",
33
+ ".prettierrc.json",
34
+ ];
35
+
26
36
  const exemptFile = (f) =>
27
37
  LOCKFILES.test(path.basename(f)) ||
28
- f.startsWith(".claude/") ||
29
- f === "AGENTS.md" ||
30
- f === "CLAUDE.md" ||
38
+ HARNESS_PREFIXES.some((p) => f.startsWith(p)) ||
39
+ HARNESS_FILES.includes(f) ||
31
40
  f.startsWith("docs/history/changelog/") ||
32
41
  f === "docs/history/CHANGELOG.md";
33
42
 
@@ -43,6 +52,6 @@ if (isBot || allRenames || allExempt || hasEntry) {
43
52
  }
44
53
  console.error(
45
54
  "check-changelog-presence: HEAD is a non-exempt commit carrying no docs/history/changelog/ entry. " +
46
- "Every non-exempt commit ships its entry inside it (exempt: release/bot, lockfile-only, pure renames, changelog housekeeping)."
55
+ "Every non-exempt commit ships its entry inside it (exempt: release/bot, harness installs and bumps, lockfile-only, pure renames, changelog housekeeping)."
47
56
  );
48
57
  process.exit(1);
@@ -141,13 +141,22 @@ const LOCKFILES = /^(pnpm-lock\.yaml|package-lock\.json|yarn\.lock|bun\.lockb?|C
141
141
 
142
142
  // Exempt per the changelog rule's closed list, judged mechanically: lockfile-only,
143
143
  // harness-file-only (.claude/, AGENTS.md, CLAUDE.md), or changelog housekeeping.
144
+ const HARNESS_PREFIXES = [".claude/", ".agents/", ".codex/"];
145
+ const HARNESS_FILES = [
146
+ "AGENTS.md",
147
+ "CLAUDE.md",
148
+ ".mcp.json",
149
+ ".vscode/settings.json",
150
+ ".prettierignore",
151
+ ".prettierrc.json",
152
+ ];
153
+
144
154
  function stagedExempt(files) {
145
155
  return files.every(
146
156
  (f) =>
147
157
  LOCKFILES.test(path.basename(f)) ||
148
- f.startsWith(".claude/") ||
149
- f === "AGENTS.md" ||
150
- f === "CLAUDE.md" ||
158
+ HARNESS_PREFIXES.some((p) => f.startsWith(p)) ||
159
+ HARNESS_FILES.includes(f) ||
151
160
  f.startsWith("docs/history/changelog/") ||
152
161
  f === "docs/history/CHANGELOG.md"
153
162
  );
@@ -162,7 +171,7 @@ function commitGate(projectDir) {
162
171
  if (!staged.some((f) => f.startsWith("docs/history/changelog/"))) {
163
172
  return decision(
164
173
  "deny",
165
- "BLOCKED — changelog. This commit stages no `docs/history/changelog/` entry. Every non-exempt commit carries its entry inside it (exempt: release/bot, lockfile-only, pure renames, changelog housekeeping — state which if claiming one, then stage accordingly or re-run)."
174
+ "BLOCKED — changelog. This commit stages no `docs/history/changelog/` entry. Every non-exempt commit carries its entry inside it (exempt: release/bot, harness installs and bumps, lockfile-only, pure renames, changelog housekeeping — state which if claiming one, then stage accordingly or re-run)."
166
175
  );
167
176
  }
168
177
  }
@@ -10,5 +10,5 @@
10
10
  "seeds": [
11
11
  ".mcp.json"
12
12
  ],
13
- "digest": "35d9ca37898e"
13
+ "digest": "77f419c9b4da"
14
14
  }
@@ -23,11 +23,20 @@ const entries = nameStatus
23
23
  });
24
24
 
25
25
  const LOCKFILES = /^(pnpm-lock\.yaml|package-lock\.json|yarn\.lock|bun\.lockb?|Cargo\.lock)$/;
26
+ const HARNESS_PREFIXES = [".claude/", ".agents/", ".codex/"];
27
+ const HARNESS_FILES = [
28
+ "AGENTS.md",
29
+ "CLAUDE.md",
30
+ ".mcp.json",
31
+ ".vscode/settings.json",
32
+ ".prettierignore",
33
+ ".prettierrc.json",
34
+ ];
35
+
26
36
  const exemptFile = (f) =>
27
37
  LOCKFILES.test(path.basename(f)) ||
28
- f.startsWith(".claude/") ||
29
- f === "AGENTS.md" ||
30
- f === "CLAUDE.md" ||
38
+ HARNESS_PREFIXES.some((p) => f.startsWith(p)) ||
39
+ HARNESS_FILES.includes(f) ||
31
40
  f.startsWith("docs/history/changelog/") ||
32
41
  f === "docs/history/CHANGELOG.md";
33
42
 
@@ -43,6 +52,6 @@ if (isBot || allRenames || allExempt || hasEntry) {
43
52
  }
44
53
  console.error(
45
54
  "check-changelog-presence: HEAD is a non-exempt commit carrying no docs/history/changelog/ entry. " +
46
- "Every non-exempt commit ships its entry inside it (exempt: release/bot, lockfile-only, pure renames, changelog housekeeping)."
55
+ "Every non-exempt commit ships its entry inside it (exempt: release/bot, harness installs and bumps, lockfile-only, pure renames, changelog housekeeping)."
47
56
  );
48
57
  process.exit(1);
@@ -141,13 +141,22 @@ const LOCKFILES = /^(pnpm-lock\.yaml|package-lock\.json|yarn\.lock|bun\.lockb?|C
141
141
 
142
142
  // Exempt per the changelog rule's closed list, judged mechanically: lockfile-only,
143
143
  // harness-file-only (.claude/, AGENTS.md, CLAUDE.md), or changelog housekeeping.
144
+ const HARNESS_PREFIXES = [".claude/", ".agents/", ".codex/"];
145
+ const HARNESS_FILES = [
146
+ "AGENTS.md",
147
+ "CLAUDE.md",
148
+ ".mcp.json",
149
+ ".vscode/settings.json",
150
+ ".prettierignore",
151
+ ".prettierrc.json",
152
+ ];
153
+
144
154
  function stagedExempt(files) {
145
155
  return files.every(
146
156
  (f) =>
147
157
  LOCKFILES.test(path.basename(f)) ||
148
- f.startsWith(".claude/") ||
149
- f === "AGENTS.md" ||
150
- f === "CLAUDE.md" ||
158
+ HARNESS_PREFIXES.some((p) => f.startsWith(p)) ||
159
+ HARNESS_FILES.includes(f) ||
151
160
  f.startsWith("docs/history/changelog/") ||
152
161
  f === "docs/history/CHANGELOG.md"
153
162
  );
@@ -162,7 +171,7 @@ function commitGate(projectDir) {
162
171
  if (!staged.some((f) => f.startsWith("docs/history/changelog/"))) {
163
172
  return decision(
164
173
  "deny",
165
- "BLOCKED — changelog. This commit stages no `docs/history/changelog/` entry. Every non-exempt commit carries its entry inside it (exempt: release/bot, lockfile-only, pure renames, changelog housekeeping — state which if claiming one, then stage accordingly or re-run)."
174
+ "BLOCKED — changelog. This commit stages no `docs/history/changelog/` entry. Every non-exempt commit carries its entry inside it (exempt: release/bot, harness installs and bumps, lockfile-only, pure renames, changelog housekeeping — state which if claiming one, then stage accordingly or re-run)."
166
175
  );
167
176
  }
168
177
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nurix/etna",
3
- "version": "0.19.59",
3
+ "version": "0.19.60",
4
4
  "description": "Bootstrap a project with a Nurix harness — copies the harness's CLAUDE.md, skills, agents, rules, and hooks directly into the project from a bundled payload (no marketplace fetch, no network).",
5
5
  "type": "module",
6
6
  "bin": {
@@ -42,5 +42,5 @@
42
42
  "agent",
43
43
  "plugin"
44
44
  ],
45
- "etnaFingerprint": "44a8ddcfae78"
45
+ "etnaFingerprint": "2d248a0cd94a"
46
46
  }