@kungfu-tech/buildchain 3.0.2-alpha.1 → 3.0.2-alpha.2
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/dist/site/buildchain-contract.json +2 -2
- package/dist/site/buildchain-site.json +4 -4
- package/dist/site/kfd-upstream-aggregate.json +1 -1
- package/dist/site/publication-registry.json +4 -4
- package/dist/site/site-manifest.json +4 -4
- package/package.json +1 -1
- package/scripts/auditable-demo.mjs +29 -6
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"product": {
|
|
5
5
|
"name": "Buildchain",
|
|
6
6
|
"package": "@kungfu-tech/buildchain",
|
|
7
|
-
"version": "3.0.2-alpha.
|
|
7
|
+
"version": "3.0.2-alpha.2",
|
|
8
8
|
"repository": "https://github.com/kungfu-systems/buildchain"
|
|
9
9
|
},
|
|
10
10
|
"majorLine": "v3",
|
|
@@ -3311,5 +3311,5 @@
|
|
|
3311
3311
|
}
|
|
3312
3312
|
],
|
|
3313
3313
|
"compatibilityDigest": "sha256:008b1c5a90a787cf30106829ac7aca68ab501f6d9c375e415d9c5c6b89039f46",
|
|
3314
|
-
"contractDigest": "sha256:
|
|
3314
|
+
"contractDigest": "sha256:d27853cb9230d3288b3c8ce62522e7ad61be04f09890846da01ca22b304584e2"
|
|
3315
3315
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"contract": "kungfu-buildchain-site-bundle",
|
|
4
|
-
"generatedAt": "2026-07-
|
|
5
|
-
"publishedAt": "2026-07-
|
|
4
|
+
"generatedAt": "2026-07-26T21:02:21.729Z",
|
|
5
|
+
"publishedAt": "2026-07-26T21:02:21.729Z",
|
|
6
6
|
"reproducible": true,
|
|
7
7
|
"timestampPolicy": "ci-injected",
|
|
8
8
|
"deterministicInputs": [
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"declared Buildchain surface manifest contract"
|
|
20
20
|
],
|
|
21
21
|
"sourceDateEpoch": "0",
|
|
22
|
-
"sourceRevision": "
|
|
22
|
+
"sourceRevision": "86ae13f5a6f0bc49736d843f9026976b779e4286",
|
|
23
23
|
"timestampPolicyDetails": {
|
|
24
24
|
"contract": "kungfu-buildchain-surface-timestamp-policy",
|
|
25
25
|
"timestampFields": [
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"package": {
|
|
39
39
|
"name": "@kungfu-tech/buildchain",
|
|
40
|
-
"version": "3.0.2-alpha.
|
|
40
|
+
"version": "3.0.2-alpha.2",
|
|
41
41
|
"versionSource": "package.json#version"
|
|
42
42
|
},
|
|
43
43
|
"source": {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"contract": "kungfu-buildchain-publication-release-registry",
|
|
4
|
-
"generatedAt": "2026-07-
|
|
5
|
-
"publishedAt": "2026-07-
|
|
4
|
+
"generatedAt": "2026-07-26T21:02:21.729Z",
|
|
5
|
+
"publishedAt": "2026-07-26T21:02:21.729Z",
|
|
6
6
|
"reproducible": true,
|
|
7
7
|
"timestampPolicy": "ci-injected",
|
|
8
8
|
"deterministicInputs": [
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"declared Buildchain surface manifest contract"
|
|
20
20
|
],
|
|
21
21
|
"sourceDateEpoch": "0",
|
|
22
|
-
"sourceRevision": "
|
|
22
|
+
"sourceRevision": "86ae13f5a6f0bc49736d843f9026976b779e4286",
|
|
23
23
|
"timestampPolicyDetails": {
|
|
24
24
|
"contract": "kungfu-buildchain-surface-timestamp-policy",
|
|
25
25
|
"timestampFields": [
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
},
|
|
33
33
|
"package": {
|
|
34
34
|
"name": "@kungfu-tech/buildchain",
|
|
35
|
-
"version": "3.0.2-alpha.
|
|
35
|
+
"version": "3.0.2-alpha.2",
|
|
36
36
|
"versionSource": "package.json#version"
|
|
37
37
|
},
|
|
38
38
|
"sourceKind": "package-site-bundle",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"contract": "kungfu-buildchain-site-manifest",
|
|
4
|
-
"generatedAt": "2026-07-
|
|
5
|
-
"publishedAt": "2026-07-
|
|
4
|
+
"generatedAt": "2026-07-26T21:02:21.729Z",
|
|
5
|
+
"publishedAt": "2026-07-26T21:02:21.729Z",
|
|
6
6
|
"reproducible": true,
|
|
7
7
|
"timestampPolicy": "ci-injected",
|
|
8
8
|
"deterministicInputs": [
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"declared Buildchain surface manifest contract"
|
|
20
20
|
],
|
|
21
21
|
"sourceDateEpoch": "0",
|
|
22
|
-
"sourceRevision": "
|
|
22
|
+
"sourceRevision": "86ae13f5a6f0bc49736d843f9026976b779e4286",
|
|
23
23
|
"timestampPolicyDetails": {
|
|
24
24
|
"contract": "kungfu-buildchain-surface-timestamp-policy",
|
|
25
25
|
"timestampFields": [
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"package": {
|
|
39
39
|
"name": "@kungfu-tech/buildchain",
|
|
40
|
-
"version": "3.0.2-alpha.
|
|
40
|
+
"version": "3.0.2-alpha.2",
|
|
41
41
|
"versionSource": "package.json#version"
|
|
42
42
|
},
|
|
43
43
|
"entrypoint": "buildchain-site.json",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kungfu-tech/buildchain",
|
|
3
|
-
"version": "3.0.2-alpha.
|
|
3
|
+
"version": "3.0.2-alpha.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Buildchain Release Passport, release governance, CLI toolkit, and site facts.",
|
|
6
6
|
"repository": "https://github.com/kungfu-systems/buildchain",
|
|
@@ -164,7 +164,18 @@ function validateScene(value) {
|
|
|
164
164
|
for (const key of ["background", "accent"]) {
|
|
165
165
|
if (value[key] !== undefined) invariant(/^#[0-9a-fA-F]{6}$/.test(value[key]), `scene.${key} is invalid`);
|
|
166
166
|
}
|
|
167
|
-
return
|
|
167
|
+
return {
|
|
168
|
+
schema: value.schema,
|
|
169
|
+
id: value.id,
|
|
170
|
+
width: value.width,
|
|
171
|
+
height: value.height,
|
|
172
|
+
fps: value.fps,
|
|
173
|
+
durationMs: value.durationMs,
|
|
174
|
+
title: value.title,
|
|
175
|
+
commandLabel: value.commandLabel ?? "",
|
|
176
|
+
background: (value.background ?? "#10151f").toLowerCase(),
|
|
177
|
+
accent: (value.accent ?? "#67e8a5").toLowerCase(),
|
|
178
|
+
};
|
|
168
179
|
}
|
|
169
180
|
|
|
170
181
|
function validateProjection(value, scene, transcriptLineCount) {
|
|
@@ -190,7 +201,17 @@ function validateProjection(value, scene, transcriptLineCount) {
|
|
|
190
201
|
}
|
|
191
202
|
if (cue.annotation !== undefined) text(cue.annotation, 0, 200, `projection.cues[${index}].annotation`);
|
|
192
203
|
}
|
|
193
|
-
return
|
|
204
|
+
return {
|
|
205
|
+
schema: value.schema,
|
|
206
|
+
evidenceClass: value.evidenceClass,
|
|
207
|
+
claimBoundary: value.claimBoundary,
|
|
208
|
+
cues: value.cues.map((cue) => ({
|
|
209
|
+
startMs: cue.startMs,
|
|
210
|
+
endMs: cue.endMs,
|
|
211
|
+
transcriptLines: cue.transcriptLines,
|
|
212
|
+
annotation: cue.annotation ?? "",
|
|
213
|
+
})),
|
|
214
|
+
};
|
|
194
215
|
}
|
|
195
216
|
|
|
196
217
|
function validateSourceCoordinate(value) {
|
|
@@ -427,7 +448,9 @@ function finalizeGate(values) {
|
|
|
427
448
|
const sourceCoordinate = validateSourceCoordinate(readJson(sourceCoordinatePath, "source artifact coordinate"));
|
|
428
449
|
invariant(sourceCoordinate.sourceSha === sourceSha, "source artifact coordinate SHA mismatch");
|
|
429
450
|
ensureEmptyDirectory(output, "gate bundle");
|
|
430
|
-
|
|
451
|
+
fs.writeFileSync(path.join(output, "complete-transcript.txt"), normalized.transcript);
|
|
452
|
+
writeJson(path.join(output, "scene.json"), normalized.scene);
|
|
453
|
+
writeJson(path.join(output, "public-projection.json"), normalized.projection);
|
|
431
454
|
copyFile(sourceCoordinatePath, path.join(output, "source-artifact.json"));
|
|
432
455
|
copyFile(path.join(diagnostics, "adapter.json"), path.join(output, "adapter.json"));
|
|
433
456
|
for (const name of listFiles(smokeOutput)) {
|
|
@@ -454,9 +477,9 @@ function finalizeGate(values) {
|
|
|
454
477
|
smokeManifestRoot: sha256(readRegular(path.join(smokeOutput, "manifest.json"), "smoke manifest")),
|
|
455
478
|
},
|
|
456
479
|
qualifiedInputs: {
|
|
457
|
-
transcript: sha256(readRegular(path.join(
|
|
458
|
-
projection: sha256(readRegular(path.join(
|
|
459
|
-
scene: sha256(readRegular(path.join(
|
|
480
|
+
transcript: sha256(readRegular(path.join(output, "complete-transcript.txt"), "transcript")),
|
|
481
|
+
projection: sha256(readRegular(path.join(output, "public-projection.json"), "projection")),
|
|
482
|
+
scene: sha256(readRegular(path.join(output, "scene.json"), "scene")),
|
|
460
483
|
evidenceClass: normalized.projection.evidenceClass,
|
|
461
484
|
claimBoundary: normalized.projection.claimBoundary,
|
|
462
485
|
},
|