code-foundry 1.38.0 → 1.38.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
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.38.1](https://github.com/0xPlayerOne/code-foundry/compare/v1.38.0...v1.38.1) (2026-09-30)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * normalize blank runs when stripping legacy managed markers ([#678](https://github.com/0xPlayerOne/code-foundry/issues/678)) ([acd5afc](https://github.com/0xPlayerOne/code-foundry/commit/acd5afce12b3de3b3574259639e89067e1ab3cb0))
9
+
3
10
  ## [1.38.0](https://github.com/0xPlayerOne/code-foundry/compare/v1.37.3...v1.38.0) (2026-09-30)
4
11
 
5
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "code-foundry",
3
- "version": "1.38.0",
3
+ "version": "1.38.1",
4
4
  "description": "A fast, language-aware repository factory for agent-ready workflows, testing, security, and release automation.",
5
5
  "homepage": "https://github.com/0xPlayerOne/code-foundry#readme",
6
6
  "bugs": {
@@ -1452,6 +1452,10 @@ function refreshManagedPolicyDocument(existing, baseline) {
1452
1452
  }
1453
1453
 
1454
1454
  merged = stripUnpairedManagedMarkers(merged)
1455
+ // Stripping residue and block wrapping can leave the blank runs the old
1456
+ // template carried; oxfmt collapses three or more newlines to one blank
1457
+ // line, so normalize to the same shape the format gate expects.
1458
+ merged = merged.replace(/\n{3,}/g, '\n\n')
1455
1459
 
1456
1460
  for (const match of blocks) {
1457
1461
  if (present.has(match[1])) continue