code-foundry 1.0.4 → 1.0.6

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.
@@ -11,7 +11,7 @@ dependency_review: auto
11
11
  package_manager: bun
12
12
  toolchain: auto
13
13
  runtime_repository: 0xPlayerOne/code-foundry
14
- runtime_ref: v1.0.0
14
+ runtime_ref: v1.0.5
15
15
  release_type: node
16
16
  npm_publish: true
17
17
  license: agpl-3.0-or-later
@@ -37,3 +37,5 @@ post_release_mode: auto
37
37
  opencode_security: false
38
38
  sync_mode: overlay
39
39
  custom_workflows: preserve
40
+ staging_validation_mode: fast
41
+ opencode_security_model:
@@ -12,7 +12,7 @@ on:
12
12
  description: Code Foundry runtime tag or ref.
13
13
  required: false
14
14
  type: string
15
- default: v0.31.12
15
+ default: v1.0.5
16
16
  runner:
17
17
  description: Runner used by CI jobs.
18
18
  required: false
@@ -12,7 +12,7 @@ on:
12
12
  description: Code Foundry runtime tag or ref.
13
13
  required: false
14
14
  type: string
15
- default: v0.31.12
15
+ default: v1.0.5
16
16
  runner:
17
17
  description: Runner used by CodeQL jobs.
18
18
  required: false
@@ -46,7 +46,7 @@ jobs:
46
46
  # reusable workflow already checks out the consumer repository.
47
47
  source_ref: 137698ef3545204af8fad00fc8bd64d663c8122e
48
48
  runner: ubuntu-latest
49
- model: opencode-go/muse-spark-1.2-contributor
49
+ model: opencode-go/muse-spark-1.3-contributor
50
50
  mode: standard
51
51
  fail_on_severity: high
52
52
  max_cost_usd: 1
@@ -17,7 +17,7 @@ on:
17
17
  description: Code Foundry runtime tag or ref.
18
18
  required: false
19
19
  type: string
20
- default: v0.31.12
20
+ default: v1.0.5
21
21
  billing-pause-bypass:
22
22
  description: Allow this explicitly dispatched release to run while other CI remains paused.
23
23
  required: false
@@ -12,7 +12,7 @@ on:
12
12
  description: Code Foundry runtime tag or ref.
13
13
  required: false
14
14
  type: string
15
- default: v0.31.12
15
+ default: v1.0.5
16
16
  runner:
17
17
  description: Runner used by Security jobs.
18
18
  required: false
@@ -12,7 +12,7 @@ on:
12
12
  description: Code Foundry runtime tag or ref.
13
13
  required: false
14
14
  type: string
15
- default: v0.31.12
15
+ default: v1.0.5
16
16
  runner:
17
17
  description: Runner used by non-unit test jobs.
18
18
  required: false
@@ -16,7 +16,7 @@ on:
16
16
  description: Code Foundry runtime tag or ref.
17
17
  required: false
18
18
  type: string
19
- default: v0.32.4
19
+ default: v1.0.5
20
20
  ci-runner:
21
21
  description: Runner used by CI jobs.
22
22
  required: false
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.6](https://github.com/0xPlayerOne/code-foundry/compare/v1.0.5...v1.0.6) (2026-09-06)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * scope dependabot ecosystems to configured languages ([#457](https://github.com/0xPlayerOne/code-foundry/issues/457)) ([2bb9121](https://github.com/0xPlayerOne/code-foundry/commit/2bb91215de662dfa7a38d0c13cc7af1b5b07d798))
9
+
10
+ ## [1.0.5](https://github.com/0xPlayerOne/code-foundry/compare/v1.0.4...v1.0.5) (2026-09-06)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * default runtime-ref inputs to the current runtime release ([#454](https://github.com/0xPlayerOne/code-foundry/issues/454)) ([6d77025](https://github.com/0xPlayerOne/code-foundry/commit/6d77025511ca641e98a17c4eed63a24285a48169))
16
+
3
17
  ## [1.0.4](https://github.com/0xPlayerOne/code-foundry/compare/v1.0.3...v1.0.4) (2026-09-06)
4
18
 
5
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "code-foundry",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
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",
@@ -405,8 +405,11 @@ function renderWorkflow(content, config, repository, ref, rustCodeql) {
405
405
 
406
406
  /**
407
407
  * Dependabot updates land on the repository's integration branch. Direct
408
- * repositories have no staging branch, so every update targets main. Cargo
409
- * updates are emitted only when Rust is part of the configured language set.
408
+ * repositories have no staging branch, so every update targets main. Cargo,
409
+ * npm, and pip updates are emitted only when Rust, TypeScript, or Python is
410
+ * part of the configured language set, respectively; weekly updater runs
411
+ * fail when an ecosystem has no manifests to read, so unconfigured
412
+ * ecosystems are dropped instead of left to error.
410
413
  * @param {string} content
411
414
  * @param {Record<string,string>} config
412
415
  * @param {string} languages
@@ -415,15 +418,33 @@ function renderWorkflow(content, config, repository, ref, rustCodeql) {
415
418
  function renderDependabot(content, config, languages) {
416
419
  let rendered = content
417
420
  if (!includesValue(languages, 'rust')) {
418
- rendered = rendered
419
- .split(/(?=^ - package-ecosystem: )/m)
420
- .filter((block) => !block.startsWith(' - package-ecosystem: cargo\n'))
421
- .join('')
421
+ rendered = stripDependabotEcosystem(rendered, 'cargo')
422
+ }
423
+ if (!includesValue(languages, 'typescript')) {
424
+ rendered = stripDependabotEcosystem(rendered, 'npm')
425
+ }
426
+ if (!includesValue(languages, 'python')) {
427
+ rendered = stripDependabotEcosystem(rendered, 'pip')
422
428
  }
423
429
  if (isStagingRelease(config.git_workflow)) return rendered
424
430
  return rendered.replaceAll('target-branch: staging', 'target-branch: main')
425
431
  }
426
432
 
433
+ /**
434
+ * Remove one package-ecosystem update block from a dependabot template.
435
+ * Blocks are split on their leading list marker so removal never disturbs
436
+ * neighboring ecosystems or the file header.
437
+ * @param {string} content
438
+ * @param {string} ecosystem
439
+ * @returns {string}
440
+ */
441
+ function stripDependabotEcosystem(content, ecosystem) {
442
+ return content
443
+ .split(/(?=^ - package-ecosystem: )/m)
444
+ .filter((block) => !block.startsWith(` - package-ecosystem: ${ecosystem}\n`))
445
+ .join('')
446
+ }
447
+
427
448
  /**
428
449
  * Contribution policy documents describe the repository's branch flow. The
429
450
  * canonical templates describe the staging-release topology (this runtime