factory-ai 1.5.2 → 1.5.3
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 +6 -0
- package/bootstrap/auto-update.sh +3 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ All notable changes follow semantic versioning and the Keep a Changelog structur
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [1.5.3] - 2026-07-13
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- Validate npm's actual attestation URL and SLSA predicate metadata fields during verified automatic updates.
|
|
12
|
+
|
|
7
13
|
## [1.5.2] - 2026-07-13
|
|
8
14
|
|
|
9
15
|
### Fixed
|
package/bootstrap/auto-update.sh
CHANGED
|
@@ -24,8 +24,9 @@ tag_commit=$(GH_TOKEN="$github_token" gh api "repos/itsvedantkumar/factory-ai/co
|
|
|
24
24
|
[[ $tag_commit == "$commit" ]] || { printf 'npm gitHead does not match the immutable release tag.\n' >&2; exit 1; }
|
|
25
25
|
release_ok=$(GH_TOKEN="$github_token" gh release view "v$version" --repo itsvedantkumar/factory-ai --json isDraft,isPrerelease --jq '(.isDraft == false) and (.isPrerelease == false)')
|
|
26
26
|
[[ $release_ok == true ]] || { printf 'Matching stable GitHub release is unavailable.\n' >&2; exit 1; }
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
attestation_url=$(npm view "factory-ai@$version" dist.attestations.url 2>/dev/null || true)
|
|
28
|
+
predicate_type=$(npm view "factory-ai@$version" dist.attestations.provenance.predicateType 2>/dev/null || true)
|
|
29
|
+
[[ $attestation_url == https://registry.npmjs.org/-/npm/v1/attestations/* && $predicate_type == https://slsa.dev/provenance/v1 ]] || { printf 'npm release lacks verifiable provenance metadata.\n' >&2; exit 1; }
|
|
29
30
|
checks=$(GH_TOKEN="$github_token" gh api "repos/itsvedantkumar/factory-ai/commits/$commit/check-runs" --jq '[.check_runs[] | select(.name == "verify") | .conclusion] | any(. == "success")')
|
|
30
31
|
[[ $checks == true ]] || { printf 'Candidate commit lacks successful CI verification.\n' >&2; exit 1; }
|
|
31
32
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "factory-ai",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.3",
|
|
4
4
|
"description": "Deploy a private autonomous coding-agent factory on Azure: isolated builders, testers, security reviewers, durable orchestration, multi-model routing, memory, cost controls, and gated GitHub pull requests.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "MIT",
|