@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.
- package/data/harness-index.json +1 -1
- package/data/harnesses/apollo/harness.json +1 -1
- package/data/harnesses/apollo/hooks/check-changelog-presence.mjs +13 -4
- package/data/harnesses/apollo/hooks/compliance.mjs +13 -4
- package/data/harnesses/code/harness.json +1 -1
- package/data/harnesses/code/hooks/check-changelog-presence.mjs +13 -4
- package/data/harnesses/code/hooks/compliance.mjs +13 -4
- package/package.json +2 -2
package/data/harness-index.json
CHANGED
|
@@ -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(
|
|
29
|
-
f
|
|
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(
|
|
149
|
-
f
|
|
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
|
}
|
|
@@ -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(
|
|
29
|
-
f
|
|
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(
|
|
149
|
-
f
|
|
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.
|
|
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": "
|
|
45
|
+
"etnaFingerprint": "2d248a0cd94a"
|
|
46
46
|
}
|