@punks/cli 3.1.2 → 3.1.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.1.3 - 2026-08-05
4
+
5
+ ### Fixed
6
+
7
+ - Keep generated baseline JSON formatter-stable and hash context/projection evidence canonically so `hi scaffold` followed by `hi check` does not report formatter-only drift (issue #97).
8
+
3
9
  ## 3.1.2 - 2026-08-03
4
10
 
5
11
  ### Fixed
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "schemaVersion": 2,
3
3
  "channel": "stable",
4
- "version": "2026.08.03-5aeabbee",
5
- "tag": "baseline/stable/2026.08.03-5aeabbee",
6
- "commit": "5aeabbeea033fb5f10ed6a99959f995fdad0bae8",
4
+ "version": "2026.08.05-129e835a",
5
+ "tag": "baseline/stable/2026.08.05-129e835a",
6
+ "commit": "129e835aa9b6070af65b4422fb9551df38d9a308",
7
7
  "sha256": null,
8
8
  "compatibility": {
9
9
  "cliVersionRange": ">=3.0.0 <4"
10
10
  },
11
- "generatedAt": "2026-08-03T17:58:36.000Z"
11
+ "generatedAt": "2026-08-05T15:58:53.000Z"
12
12
  }
@@ -23,6 +23,11 @@ const formattableSuffixes = new Set([
23
23
  ...pythonFormattableSuffixes,
24
24
  ]);
25
25
  const ignoredParts = new Set([".git", "node_modules", ".next", "dist"]);
26
+ const scaffoldEvidenceBasenames = new Set([
27
+ "context-plan.json",
28
+ "harness-projection-receipt.json",
29
+ "scaffold-manifest.json",
30
+ ]);
26
31
  const scaffoldOwnedAgentDirectories = new Set(["hooks", "scripts", "skills"]);
27
32
  const scaffoldOwnedMirrorDirectories = new Set([".claude", ".codex", ".cursor"]);
28
33
  const productRoots = new Set(["apps", "packages"]);
@@ -86,6 +91,14 @@ function normalizeRelativePath(root, filePath) {
86
91
 
87
92
  function isScaffoldOwnedPath(relativePath) {
88
93
  const parts = relativePath.split("/");
94
+ if (
95
+ parts.length >= 2 &&
96
+ parts[parts.length - 2] === ".devpunks" &&
97
+ scaffoldEvidenceBasenames.has(parts[parts.length - 1])
98
+ ) {
99
+ return true;
100
+ }
101
+
89
102
  if (parts[0] !== ".agents") {
90
103
  return (
91
104
  (scaffoldOwnedMirrorDirectories.has(parts[0]) && parts[1] === "hooks") ||