phasegate 0.153.0 → 0.153.1

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/CHANGELOG.md CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.153.1] - 2026-05-13
11
+
12
+ ### Fixed
13
+
14
+ - **WI-175 — setup apply structured error exit code** — makes `setup:agent --apply --json` exit non-zero when the underlying install result contains a structured target-aware apply error.
15
+
10
16
  ## [0.153.0] - 2026-05-13
11
17
 
12
18
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phasegate",
3
- "version": "0.153.0",
3
+ "version": "0.153.1",
4
4
  "packageManager": "pnpm@10.30.1",
5
5
  "description": "Phasegate — AI-agnostic quality defense toolkit. Enforces structural integrity between design intent and code.",
6
6
  "license": "MIT",
@@ -1747,7 +1747,7 @@ async function main(): Promise<void> {
1747
1747
  console.log("Validation:");
1748
1748
  for (const command of plan.validation) console.log(`- ${command}`);
1749
1749
  }
1750
- process.exit(0);
1750
+ process.exit(hasStructuredInstallError(installResult) ? 1 : 0);
1751
1751
  break;
1752
1752
  }
1753
1753