code-foundry 0.31.1 → 0.31.2

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
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.31.2](https://github.com/0xPlayerOne/code-foundry/compare/v0.31.1...v0.31.2) (2026-07-29)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **release:** treat identical branch trees as aligned ([32b739e](https://github.com/0xPlayerOne/code-foundry/commit/32b739e8e663dca05fd89005b26c6457ec265c1c))
9
+
3
10
  ## [0.31.1](https://github.com/0xPlayerOne/code-foundry/compare/v0.31.0...v0.31.1) (2026-07-29)
4
11
 
5
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "code-foundry",
3
- "version": "0.31.1",
3
+ "version": "0.31.2",
4
4
  "description": "A fast, language-aware repository factory for agent-ready workflows, testing, security, and release automation.",
5
5
  "type": "module",
6
6
  "license": "AGPL-3.0-or-later",
@@ -165,6 +165,9 @@ export function classifyReconciliation(input) {
165
165
  if (mainSha === mergeBaseSha) {
166
166
  return { action: 'none', reason: 'staging contains commits that are not on main; no release-only reconciliation is needed.' }
167
167
  }
168
+ if (!mainChangedPaths.length && !stagingChangedPaths.length) {
169
+ return { action: 'aligned', reason: 'Branches have different history but identical content.' }
170
+ }
168
171
  const unexpectedMain = unexpectedReleasePaths(mainChangedPaths, allowed)
169
172
  const unexpectedStaging = unexpectedReleasePaths(stagingChangedPaths, allowed)
170
173
  if (unexpectedMain.length || unexpectedStaging.length) {