code-foundry 1.6.0 → 1.6.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/.github/CONTRIBUTING.md
CHANGED
|
@@ -163,7 +163,7 @@ Keep pull requests focused and reviewable. Include screenshots or recordings for
|
|
|
163
163
|
| Push to `staging` | Promotion PR workflow; canonical validation waits for the PR event |
|
|
164
164
|
| Push to `main` | Release workflow; canonical validation already ran on the merged PR |
|
|
165
165
|
|
|
166
|
-
|
|
166
|
+
Pull-request validation keys concurrency by event and pull-request head, so a newer update cancels its superseded run. Scheduled and manual audits use a separate caller pinned to the protected default branch; this prevents caller-selected runtime code from executing with default-branch cache access. Both callers use the mode-aware orchestrator, which fans out only the required jobs and concludes with the stable aggregate gate.
|
|
167
167
|
|
|
168
168
|
Required checks are enforced by branch protection rulesets/branch protection. Do not duplicate their checklists in the pull request description; document validation commands and results instead.
|
|
169
169
|
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
name: Code Foundry Audit
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
schedule:
|
|
5
|
+
- cron: '31 6 * * 1'
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
|
|
8
|
+
permissions: {}
|
|
9
|
+
|
|
10
|
+
concurrency:
|
|
11
|
+
group: code-foundry-audit-${{ github.event_name }}
|
|
12
|
+
cancel-in-progress: true
|
|
13
|
+
|
|
14
|
+
jobs:
|
|
15
|
+
# Default-branch-capable events must not call the local reusable workflow:
|
|
16
|
+
# a pull request could otherwise change that workflow and feed an untrusted
|
|
17
|
+
# runtime ref into steps that can populate the protected branch cache. Use
|
|
18
|
+
# the protected default branch for both workflow code and runtime code.
|
|
19
|
+
validation:
|
|
20
|
+
name: Validation
|
|
21
|
+
if: vars.CI_BILLING_PAUSED != 'true'
|
|
22
|
+
permissions:
|
|
23
|
+
actions: read
|
|
24
|
+
contents: read
|
|
25
|
+
packages: read
|
|
26
|
+
security-events: write
|
|
27
|
+
uses: 0xPlayerOne/code-foundry/.github/workflows/validation.yml@main
|
|
28
|
+
with:
|
|
29
|
+
mode: audit
|
|
30
|
+
runtime-repository: 0xPlayerOne/code-foundry
|
|
31
|
+
runtime-ref: main
|
|
32
|
+
ci-runner: ubuntu-latest
|
|
33
|
+
test-runner: ubuntu-latest
|
|
34
|
+
unit-runner: ubuntu-slim
|
|
35
|
+
performance-runner: ubuntu-latest
|
|
36
|
+
security-runner: ubuntu-slim
|
|
37
|
+
codeql-runner: ubuntu-latest
|
|
38
|
+
rust-shards: '["all"]'
|
|
39
|
+
rust-threads: '1'
|
|
40
|
+
rust-max-parallel: 1
|
|
41
|
+
secrets:
|
|
42
|
+
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
|
|
43
|
+
NEXTAUTH_SECRET: ${{ secrets.NEXTAUTH_SECRET }}
|
|
@@ -8,16 +8,12 @@ on:
|
|
|
8
8
|
- synchronize
|
|
9
9
|
- reopened
|
|
10
10
|
- ready_for_review
|
|
11
|
-
schedule:
|
|
12
|
-
- cron: '31 6 * * 1'
|
|
13
|
-
workflow_dispatch:
|
|
14
11
|
|
|
15
12
|
# Default every caller job to no repository permissions. Individual jobs grant
|
|
16
13
|
# only the scopes their own validation path consumes.
|
|
17
14
|
permissions: {}
|
|
18
15
|
|
|
19
|
-
# Superseded PR updates cancel the previous run
|
|
20
|
-
# are keyed by event so periodic audits and manual runs stay independent.
|
|
16
|
+
# Superseded PR updates cancel the previous run.
|
|
21
17
|
concurrency:
|
|
22
18
|
group: code-foundry-validation-${{ github.event_name }}-${{ github.event.pull_request.head.repo.full_name || github.repository }}-${{ github.event.pull_request.head.ref || github.ref_name }}
|
|
23
19
|
cancel-in-progress: true
|
|
@@ -77,9 +73,9 @@ jobs:
|
|
|
77
73
|
mode: ${{ needs.mode.outputs.mode }}
|
|
78
74
|
runtime-repository: 0xPlayerOne/code-foundry
|
|
79
75
|
# Pull requests validate the proposed runtime commit. Scheduled and
|
|
80
|
-
# manually dispatched audits
|
|
81
|
-
# selected
|
|
82
|
-
runtime-ref: ${{ github.
|
|
76
|
+
# manually dispatched audits are isolated in validation_audit_self-ci.yml
|
|
77
|
+
# so this caller-selected ref never runs with default-branch cache access.
|
|
78
|
+
runtime-ref: ${{ github.sha }}
|
|
83
79
|
ci-runner: ubuntu-latest
|
|
84
80
|
test-runner: ubuntu-latest
|
|
85
81
|
unit-runner: ubuntu-slim
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.6.1](https://github.com/0xPlayerOne/code-foundry/compare/v1.6.0...v1.6.1) (2026-09-08)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **ci:** isolate default-branch security audits ([5ea0914](https://github.com/0xPlayerOne/code-foundry/commit/5ea09146af9995f16d1ab4e9a73f14a13582da36))
|
|
9
|
+
|
|
3
10
|
## [1.6.0](https://github.com/0xPlayerOne/code-foundry/compare/v1.5.4...v1.6.0) (2026-09-08)
|
|
4
11
|
|
|
5
12
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "code-foundry",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.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": {
|