@kungfu-tech/buildchain 4.0.2-alpha.29 → 4.0.2-alpha.32
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/architecture/agent-change-map.md +6 -1
- package/architecture/internal-capabilities.json +5 -2
- package/architecture/maintainability-debt.json +91 -59
- package/architecture/maintainability-policy.json +22 -23
- package/architecture/v4-architecture-constitution.md +23 -20
- package/architecture/v4-partial-mutation-recovery-qualification.json +4 -1
- package/architecture/v4-provider-operation-journal-contract.json +5 -2
- package/architecture/v4-release-activation-shadow-domain.json +5 -2
- package/architecture/v4-release-topology.json +17 -2
- package/architecture/v4-rust-wasm-production-authority.json +57 -0
- package/architecture/v4-stable-publication-fence.json +5 -2
- package/bin/buildchain.mjs +7 -7
- package/contracts/dev-delivery-authority-v2.schema.json +16 -2
- package/dist/site/buildchain-contract.json +6 -6
- package/dist/site/buildchain-site.json +44 -8
- package/dist/site/capability-registry.json +1 -1
- package/dist/site/kfd-claims.json +17 -5
- package/dist/site/kfd-upstream-aggregate.json +1 -1
- package/dist/site/manual-registry.json +1 -1
- package/dist/site/node-api-registry.json +32 -32
- package/dist/site/page-registry.json +39 -3
- package/dist/site/public-surface-audit.json +7 -3
- package/dist/site/publication-registry.json +4 -4
- package/dist/site/schemas/dev-delivery-authority-v2.schema.json +16 -2
- package/dist/site/site-manifest.json +5 -5
- package/dist/site/workflow-registry.json +4 -4
- package/docs/node-api-reference.md +64 -64
- package/docs/v4-rust-wasm-production-authority.md +58 -0
- package/package.json +5 -3
- package/packages/core/buildchain-v4-domain.wasm +0 -0
- package/packages/core/dev-delivery-candidate-identity.js +26 -10
- package/packages/core/dev-delivery-warrant-state.js +3 -4
- package/packages/core/dev-delivery-warrant.js +12 -2
- package/packages/core/release-tail-provider-plane.js +68 -1048
- package/packages/core/v4-canonical-contracts.js +9 -75
- package/packages/core/v4-domain-wasm-artifact.js +7 -0
- package/packages/core/v4-domain-wasm.js +216 -0
- package/packages/core/v4-partial-mutation-recovery-qualification.js +9 -386
- package/packages/core/v4-product-publication.js +18 -384
- package/packages/core/v4-provider-operation-journal.js +18 -487
- package/packages/core/v4-provider-readback-idempotency.js +12 -97
- package/packages/core/v4-release-activation-shadow.js +13 -500
- package/packages/core/v4-release-invocation.js +28 -389
- package/packages/core/v4-stable-publication-fence.js +13 -342
- package/scripts/build-contract-core.mjs +1 -14
- package/scripts/build-v4-domain-wasm.mjs +189 -0
- package/scripts/check-action-bundles.mjs +12 -2
- package/scripts/check-v4-release-topology.mjs +50 -25
- package/scripts/copy-v4-domain-wasm.mjs +14 -0
- package/scripts/dev-delivery-authority-command-adapters.mjs +1 -1
- package/scripts/dev-delivery-authority.mjs +8 -8
- package/scripts/dev-delivery-source-proof-reuse.mjs +2 -1
- package/scripts/dev-delivery-warrant-options.mjs +14 -9
- package/scripts/dev-delivery-warrant.mjs +7 -2
- package/scripts/generate-v4-universal-workflow-facades.mjs +8 -3
- package/scripts/github-output.mjs +31 -0
- package/templates/native-dev-delivery.yml +4 -7
package/bin/buildchain.mjs
CHANGED
|
@@ -204,9 +204,9 @@ function runDoctor({ cwd = process.cwd(), requirePublishSourceLock = false } = {
|
|
|
204
204
|
};
|
|
205
205
|
}
|
|
206
206
|
|
|
207
|
-
function runScript(scriptName, args) {
|
|
207
|
+
function runScript(scriptName, args, runner = process.execPath) {
|
|
208
208
|
const scriptPath = path.join(root, "scripts", scriptName);
|
|
209
|
-
const result = spawnSync(
|
|
209
|
+
const result = spawnSync(runner, [scriptPath, ...args], {
|
|
210
210
|
cwd: process.cwd(),
|
|
211
211
|
env: process.env,
|
|
212
212
|
stdio: "inherit",
|
|
@@ -1378,13 +1378,11 @@ async function handleDoctorCommand(args) {
|
|
|
1378
1378
|
}
|
|
1379
1379
|
}
|
|
1380
1380
|
return;
|
|
1381
|
-
|
|
1382
1381
|
}
|
|
1383
|
-
|
|
1384
1382
|
async function handleDevCommand(args) {
|
|
1385
1383
|
const [subcommand = "", ...devArgs] = args;
|
|
1386
|
-
|
|
1387
|
-
runScript(
|
|
1384
|
+
const directScript = { deliver: ["dev-delivery-request.sh", "/bin/bash"], "pr-admit": ["dev-pr-auto-merge.mjs", process.execPath] }[subcommand]; if (directScript) {
|
|
1385
|
+
runScript(directScript[0], devArgs, directScript[1]);
|
|
1388
1386
|
return;
|
|
1389
1387
|
}
|
|
1390
1388
|
if (subcommand === "warrant") {
|
|
@@ -1404,11 +1402,13 @@ async function handleDevCommand(args) {
|
|
|
1404
1402
|
return;
|
|
1405
1403
|
}
|
|
1406
1404
|
if (subcommand !== "merge-queue") {
|
|
1407
|
-
throw new Error("usage: buildchain dev <pr-admit|merge-queue|warrant|authority|proof|two-phase> [options]");
|
|
1405
|
+
throw new Error("usage: buildchain dev <deliver|pr-admit|merge-queue|warrant|authority|proof|two-phase> [options]");
|
|
1408
1406
|
}
|
|
1409
1407
|
runScript("dev-merge-queue.mjs", devArgs);
|
|
1410
1408
|
return;
|
|
1411
1409
|
|
|
1410
|
+
|
|
1411
|
+
|
|
1412
1412
|
}
|
|
1413
1413
|
|
|
1414
1414
|
async function handleLogCommand(args) {
|
|
@@ -558,8 +558,6 @@
|
|
|
558
558
|
"repository",
|
|
559
559
|
"protectedBase",
|
|
560
560
|
"pullRequestNumber",
|
|
561
|
-
"assignmentRoot",
|
|
562
|
-
"initiativeRoot",
|
|
563
561
|
"sourceIdentityRoot",
|
|
564
562
|
"deliveryClass",
|
|
565
563
|
"candidateId",
|
|
@@ -576,10 +574,26 @@
|
|
|
576
574
|
"qualification",
|
|
577
575
|
"terminal"
|
|
578
576
|
],
|
|
577
|
+
"oneOf": [
|
|
578
|
+
{
|
|
579
|
+
"required": ["sourceRoot"],
|
|
580
|
+
"not": {
|
|
581
|
+
"anyOf": [
|
|
582
|
+
{ "required": ["assignmentRoot"] },
|
|
583
|
+
{ "required": ["initiativeRoot"] }
|
|
584
|
+
]
|
|
585
|
+
}
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
"required": ["assignmentRoot", "initiativeRoot"],
|
|
589
|
+
"not": { "required": ["sourceRoot"] }
|
|
590
|
+
}
|
|
591
|
+
],
|
|
579
592
|
"properties": {
|
|
580
593
|
"repository": { "type": "string" },
|
|
581
594
|
"protectedBase": { "type": "string" },
|
|
582
595
|
"pullRequestNumber": { "type": "integer", "minimum": 1 },
|
|
596
|
+
"sourceRoot": { "$ref": "#/$defs/root" },
|
|
583
597
|
"assignmentRoot": { "$ref": "#/$defs/root" },
|
|
584
598
|
"initiativeRoot": { "$ref": "#/$defs/root" },
|
|
585
599
|
"sourceIdentityRoot": { "$ref": "#/$defs/root" },
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"product": {
|
|
5
5
|
"name": "Buildchain",
|
|
6
6
|
"package": "@kungfu-tech/buildchain",
|
|
7
|
-
"version": "4.0.2-alpha.
|
|
7
|
+
"version": "4.0.2-alpha.32",
|
|
8
8
|
"repository": "https://github.com/kungfu-systems/buildchain"
|
|
9
9
|
},
|
|
10
10
|
"majorLine": "v4",
|
|
@@ -1492,7 +1492,7 @@
|
|
|
1492
1492
|
"durable consumers call the public floating workflow and may route a train or exact runtime only through trusted non-persistent dispatch input"
|
|
1493
1493
|
],
|
|
1494
1494
|
"breakingDigest": "sha256:21b65d0746d2e8b3e8a7df4c6fab295a85c8fd42cc405ec3bc5df5cdab0421f0",
|
|
1495
|
-
"auditDigest": "sha256:
|
|
1495
|
+
"auditDigest": "sha256:d86830e186b6ec56816e875adfebd33d705ae309983cc37106717ce05ec9ccca"
|
|
1496
1496
|
},
|
|
1497
1497
|
{
|
|
1498
1498
|
"contractVersion": 1,
|
|
@@ -2167,7 +2167,7 @@
|
|
|
2167
2167
|
"README badge block checks and writes are generated from machine-readable repository facts"
|
|
2168
2168
|
],
|
|
2169
2169
|
"breakingDigest": "sha256:90a73892b2d6c214048448d5f45df75639bdf7b7e8fefd9c596e04b087407bcc",
|
|
2170
|
-
"auditDigest": "sha256:
|
|
2170
|
+
"auditDigest": "sha256:b5ea02b539df886dd19d9a515d6d2a0099a25c1a41cc9e087f7dafb549e69ad1"
|
|
2171
2171
|
},
|
|
2172
2172
|
{
|
|
2173
2173
|
"contractVersion": 1,
|
|
@@ -2257,7 +2257,7 @@
|
|
|
2257
2257
|
"manual entries carry source file digests so downstream sites and agents can detect stale hand-written documentation"
|
|
2258
2258
|
],
|
|
2259
2259
|
"breakingDigest": "sha256:7d0d2819e3a3e72989d9c57b5efe9d0bc0a79bc0f2c82a0c7b9d6c5a211a91f2",
|
|
2260
|
-
"auditDigest": "sha256:
|
|
2260
|
+
"auditDigest": "sha256:1a6a84869fc898263bb531ccfd6ec77260b618d16f0927f41d0da5ede708fab5"
|
|
2261
2261
|
},
|
|
2262
2262
|
{
|
|
2263
2263
|
"contractVersion": 1,
|
|
@@ -2279,7 +2279,7 @@
|
|
|
2279
2279
|
"agents can discover supported Node APIs without importing internal file paths"
|
|
2280
2280
|
],
|
|
2281
2281
|
"breakingDigest": "sha256:48f925608d3e2131d90936b07dc2a30341204cae3e6e785c0f77d61ad755c945",
|
|
2282
|
-
"auditDigest": "sha256:
|
|
2282
|
+
"auditDigest": "sha256:318ce9c5c5ada815227a11e89418ab72854860cb61fd46ec58c6a69cd3dea58e"
|
|
2283
2283
|
},
|
|
2284
2284
|
{
|
|
2285
2285
|
"contractVersion": 1,
|
|
@@ -5444,5 +5444,5 @@
|
|
|
5444
5444
|
"compatibilityFactCutRoot": "sha256:f61b975d4a96c921cc4bd37fb3ed9a0596b47004fe34dc7219979d697e3707f9",
|
|
5445
5445
|
"compatibilityProofRegistryRoot": "sha256:b7194b811e4d3af2df4390bc4d1731e16a86215bd64ee18cb630dd5492f4fb63",
|
|
5446
5446
|
"compatibilityDigest": "sha256:20411029d83211dff426fb6535a608902129844a5ccb4788db77d3f81becb839",
|
|
5447
|
-
"contractDigest": "sha256:
|
|
5447
|
+
"contractDigest": "sha256:6edf61e0fbeedd006d7dba1f4e495da34596ebc84e3f8aee682174182beb7282"
|
|
5448
5448
|
}
|