code-foundry 0.34.5 → 0.34.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.
@@ -37,6 +37,16 @@ jobs:
37
37
  fetch-depth: 0
38
38
  filter: blob:none
39
39
 
40
+ - name: Configure git auth for blob fetch
41
+ # The partial clone (filter: blob:none) defers blob downloads, so the
42
+ # merge-base/diff comparison below can trigger a promisor fetch. With
43
+ # persist-credentials disabled, git has no auth for that fetch; configure
44
+ # the credential helper with the same token the Check step uses. The token
45
+ # is scoped to contents: read, so this never enables write credentials.
46
+ env:
47
+ GH_TOKEN: ${{ secrets.CODE_FOUNDRY_TOKEN || secrets.RELEASE_PLEASE_TOKEN || github.token }}
48
+ run: gh auth setup-git
49
+
40
50
  - name: Check
41
51
  id: check-pr
42
52
  env:
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.34.7](https://github.com/0xPlayerOne/code-foundry/compare/v0.34.6...v0.34.7) (2026-08-02)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **release:** authenticate partial clone comparisons ([172dfbe](https://github.com/0xPlayerOne/code-foundry/commit/172dfbef53ab1a9eee44cf68f648889ae99b93b1))
9
+
10
+ ## [0.34.6](https://github.com/0xPlayerOne/code-foundry/compare/v0.34.5...v0.34.6) (2026-08-02)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **sync:** keep prettier ignores idempotent ([5db5307](https://github.com/0xPlayerOne/code-foundry/commit/5db53072fded27a57cca3cedf7c40527cd238507))
16
+
3
17
  ## [0.34.5](https://github.com/0xPlayerOne/code-foundry/compare/v0.34.4...v0.34.5) (2026-08-02)
4
18
 
5
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "code-foundry",
3
- "version": "0.34.5",
3
+ "version": "0.34.7",
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",
@@ -412,9 +412,12 @@ function mergeGitignore(baseline, existing) {
412
412
 
413
413
  /** @param {string} baseline @param {string} existing */
414
414
  function mergeIgnoreFile(baseline, existing) {
415
+ const marker = '# Repository-specific rules'
415
416
  const baselineLines = new Set(baseline.split(/\r?\n/).map((line) => line.trim()).filter(Boolean))
416
- const custom = existing.split(/\r?\n/).map((line) => line.trimEnd()).filter((line) => line.trim() && !baselineLines.has(line.trim()))
417
- return custom.length ? `${baseline.trimEnd()}\n\n# Repository-specific rules\n${custom.join('\n')}\n` : baseline
417
+ const custom = existing.split(/\r?\n/)
418
+ .map((line) => line.trimEnd())
419
+ .filter((line) => line.trim() && line.trim() !== marker && !baselineLines.has(line.trim()))
420
+ return custom.length ? `${baseline.trimEnd()}\n\n${marker}\n${custom.join('\n')}\n` : baseline
418
421
  }
419
422
 
420
423
  /** @param {string} file @param {string} content */