tamperward 2.39.6 → 2.39.7

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/index.js CHANGED
@@ -15910,8 +15910,10 @@ function surfacePaths(base, cwd, policy) {
15910
15910
  let listing;
15911
15911
  try {
15912
15912
  listing = git2(["ls-tree", "-r", "--name-only", "-z", base], cwd);
15913
- } catch {
15914
- return [];
15913
+ } catch (e) {
15914
+ const failure = execFailure(e);
15915
+ const detail = failure.stderr.trim().split("\n")[0] || failure.message.split("\n")[0];
15916
+ throw new Error(`cannot list the protected verification surface at base ${base}: ${detail}`);
15915
15917
  }
15916
15918
  const inputs = policy.verify?.inputs ?? [];
15917
15919
  return listing.split("\0").filter(Boolean).filter((p) => isProtected(p, policy) || matchesAny(p, inputs)).sort();
@@ -16209,6 +16211,7 @@ var init_verification_state = __esm({
16209
16211
  init_trusted();
16210
16212
  init_fingerprint();
16211
16213
  init_policy();
16214
+ init_narrow();
16212
16215
  init_policy_load();
16213
16216
  init_repo_context();
16214
16217
  init_wiring();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tamperward",
3
- "version": "2.39.6",
3
+ "version": "2.39.7",
4
4
  "description": "The deterministic agent-integrity gate. One ruleset, evaluated on the actual diff/commands as a verdict, enforced everywhere a change can be made.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "hexrift",