@kungfu-tech/buildchain 4.0.1-alpha.2 → 4.0.1-alpha.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/architecture/decisions/0003-two-phase-delivery-warrant.md +152 -0
- package/architecture/internal-capabilities.json +94 -0
- package/architecture/maintainability-policy.json +75 -8
- package/architecture/v3-core-mechanism-inventory.json +2 -0
- package/architecture/v4-delivery-authority-parity.json +250 -0
- package/architecture/v4-delivery-warrant-shadow-fixtures.json +29 -6
- package/bin/buildchain.mjs +9 -1
- package/contracts/dev-delivery-authority-v2.schema.json +662 -0
- package/dist/site/agent-index.json +1 -0
- package/dist/site/artifact-schemas.json +2 -0
- package/dist/site/buildchain-contract.json +89 -6
- package/dist/site/buildchain-site.json +169 -18
- package/dist/site/capability-registry.json +2 -2
- package/dist/site/cli-registry.json +46 -2
- package/dist/site/kfd-claims.json +43 -9
- package/dist/site/kfd-upstream-aggregate.json +1 -1
- package/dist/site/manual-registry.json +3 -3
- package/dist/site/node-api-registry.json +1694 -165
- package/dist/site/page-registry.json +162 -11
- package/dist/site/public-surface-audit.json +367 -7
- package/dist/site/publication-registry.json +4 -4
- package/dist/site/release-provenance.json +2 -0
- package/dist/site/schemas/dev-delivery-authority-v2.schema.json +662 -0
- package/dist/site/site-manifest.json +7 -7
- package/dist/site/workflow-registry.json +22 -6
- package/docs/MAP.md +1 -0
- package/docs/cli-reference.md +211 -13
- package/docs/dev-delivery-qualification-landing-adr.md +251 -0
- package/docs/dev-delivery-warrant.md +326 -38
- package/docs/node-api-reference.md +113 -53
- package/package.json +5 -1
- package/packages/core/buildchain-contract.js +3 -2
- package/packages/core/dev-delivery-authority-candidate.js +270 -0
- package/packages/core/dev-delivery-authority-evidence.js +146 -0
- package/packages/core/dev-delivery-authority-landing.js +461 -0
- package/packages/core/dev-delivery-authority-observation.js +48 -0
- package/packages/core/dev-delivery-authority-qualification.js +591 -0
- package/packages/core/dev-delivery-authority-settlement.js +213 -0
- package/packages/core/dev-delivery-authority-state.js +583 -0
- package/packages/core/dev-delivery-candidate-identity.js +13 -0
- package/packages/core/dev-delivery-contract-surface.js +76 -0
- package/packages/core/dev-delivery-execution-failure.js +133 -0
- package/packages/core/dev-delivery-execution-transfer.js +572 -0
- package/packages/core/dev-delivery-landing-admission-core.js +119 -0
- package/packages/core/dev-delivery-landing-readback.js +598 -0
- package/packages/core/dev-delivery-landing-terminal-evidence.js +271 -0
- package/packages/core/dev-delivery-landing-testing-port.js +6 -0
- package/packages/core/dev-delivery-native-execution.js +110 -0
- package/packages/core/dev-delivery-native-proof.js +546 -0
- package/packages/core/dev-delivery-process-boundary.js +551 -0
- package/packages/core/dev-delivery-provider-attempt.js +127 -0
- package/packages/core/dev-delivery-provider-heartbeat.js +370 -0
- package/packages/core/dev-delivery-warrant-cancellation.js +1 -0
- package/packages/core/dev-delivery-warrant-qualification.js +145 -0
- package/packages/core/dev-delivery-warrant-settlement.js +237 -36
- package/packages/core/dev-delivery-warrant-state.js +565 -0
- package/packages/core/dev-delivery-warrant.js +320 -368
- package/scripts/buildchain-cli-help.mjs +11 -2
- package/scripts/dev-delivery-authority-command-adapters.mjs +206 -0
- package/scripts/dev-delivery-authority-provider.mjs +28 -0
- package/scripts/dev-delivery-authority.mjs +490 -0
- package/scripts/dev-delivery-native-run.mjs +177 -0
- package/scripts/dev-delivery-process-boundary.mjs +260 -0
- package/scripts/dev-delivery-proof.mjs +67 -2
- package/scripts/dev-delivery-provider-heartbeat.mjs +215 -0
- package/scripts/dev-delivery-two-phase-resume.mjs +345 -0
- package/scripts/dev-delivery-two-phase.mjs +573 -0
- package/scripts/dev-delivery-warrant-options.mjs +266 -0
- package/scripts/dev-delivery-warrant-store.mjs +227 -0
- package/scripts/dev-delivery-warrant.mjs +227 -193
- package/scripts/dev-pr-delivery-warrant.mjs +10 -0
- package/scripts/generate-site-bundle.mjs +26 -4
- package/scripts/npm-publish-transaction.mjs +2 -2
- package/scripts/site-capability-metadata.mjs +12 -0
- package/templates/native-dev-delivery.yml +141 -0
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
"schemas/release-passport-v1.schema.json",
|
|
8
8
|
"schemas/kfd-agent-hub-adoption.schema.json",
|
|
9
9
|
"schemas/kfd-product-gate-input-v1.schema.json",
|
|
10
|
+
"schemas/dev-delivery-authority-v2.schema.json",
|
|
10
11
|
"kfd-support.json",
|
|
11
12
|
"artifact-evidence.json",
|
|
12
13
|
"product-mechanism.json",
|
|
@@ -41,6 +42,7 @@
|
|
|
41
42
|
"schemas/release-passport-v1.schema.json",
|
|
42
43
|
"schemas/kfd-agent-hub-adoption.schema.json",
|
|
43
44
|
"schemas/kfd-product-gate-input-v1.schema.json",
|
|
45
|
+
"schemas/dev-delivery-authority-v2.schema.json",
|
|
44
46
|
"buildchain-contract.json",
|
|
45
47
|
"kfd-claims.json",
|
|
46
48
|
"product-mechanism.json",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"product": {
|
|
5
5
|
"name": "Buildchain",
|
|
6
6
|
"package": "@kungfu-tech/buildchain",
|
|
7
|
-
"version": "4.0.1-alpha.
|
|
7
|
+
"version": "4.0.1-alpha.3",
|
|
8
8
|
"repository": "https://github.com/kungfu-systems/buildchain"
|
|
9
9
|
},
|
|
10
10
|
"majorLine": "v4",
|
|
@@ -93,6 +93,89 @@
|
|
|
93
93
|
"breakingDigest": "sha256:c4597dfa89e1a58f1023905092b849644f5c080abf150aeba9c7e1cd5ed43962",
|
|
94
94
|
"auditDigest": "sha256:97fa61f0e97641edd3b1b435ace06c621e702f0b8b406c4f3998c148a337c74a"
|
|
95
95
|
},
|
|
96
|
+
{
|
|
97
|
+
"contractVersion": 1,
|
|
98
|
+
"stability": "stable",
|
|
99
|
+
"additiveChanges": "optional inputs, optional outputs, diagnostics, and documentation may be added within the same major line",
|
|
100
|
+
"id": "dev-pr-auto-merge",
|
|
101
|
+
"kind": "workflow",
|
|
102
|
+
"path": ".github/workflows/dev-pr-auto-merge.yml",
|
|
103
|
+
"publicRef": "kungfu-systems/buildchain/.github/workflows/dev-pr-auto-merge.yml@v4-alpha",
|
|
104
|
+
"requiredInputs": [
|
|
105
|
+
"target-branch",
|
|
106
|
+
"expected-pr-number",
|
|
107
|
+
"expected-head-sha"
|
|
108
|
+
],
|
|
109
|
+
"requiredOutputs": [
|
|
110
|
+
"admission-receipt-root",
|
|
111
|
+
"warrant-state-root",
|
|
112
|
+
"provider-heartbeat-receipt-root",
|
|
113
|
+
"provider-finalizer-boundary-root"
|
|
114
|
+
],
|
|
115
|
+
"breakingDefaults": {
|
|
116
|
+
"runtimeSelectorDefault": "v4",
|
|
117
|
+
"authorityMode": "two-phase-delivery-warrant",
|
|
118
|
+
"boundedAuthorityWorkflowIntegration": "not-advertised",
|
|
119
|
+
"boundedAuthoritySupportedSurfaces": [
|
|
120
|
+
"cli",
|
|
121
|
+
"node-api",
|
|
122
|
+
"schema"
|
|
123
|
+
],
|
|
124
|
+
"publicFloatingCaller": "v4-alpha",
|
|
125
|
+
"durableSelfDeliveryRef": "v4-alpha",
|
|
126
|
+
"independentHeartbeatRunner": "macos-15",
|
|
127
|
+
"candidateCredentialAccess": "forbidden"
|
|
128
|
+
},
|
|
129
|
+
"optionalInputs": [
|
|
130
|
+
"buildchain-repository",
|
|
131
|
+
"buildchain-ref",
|
|
132
|
+
"source-workflow-run-id",
|
|
133
|
+
"legacy-active-owner-binding-json",
|
|
134
|
+
"delivery-warrant-mode",
|
|
135
|
+
"handoff-workflow-id",
|
|
136
|
+
"source-workflow-id",
|
|
137
|
+
"assignment-root",
|
|
138
|
+
"initiative-root",
|
|
139
|
+
"source-identity-root",
|
|
140
|
+
"source-patch-root",
|
|
141
|
+
"plan-root",
|
|
142
|
+
"closure-root",
|
|
143
|
+
"dependency-root",
|
|
144
|
+
"toolchain-root",
|
|
145
|
+
"environment-root",
|
|
146
|
+
"affected-paths-json",
|
|
147
|
+
"shard-evidence-roots-json",
|
|
148
|
+
"release-blocker-priority-json",
|
|
149
|
+
"native-proof-json",
|
|
150
|
+
"native-command",
|
|
151
|
+
"native-command-root",
|
|
152
|
+
"native-heartbeat-seconds",
|
|
153
|
+
"delivery-class",
|
|
154
|
+
"delivery-priority",
|
|
155
|
+
"required-status-checks",
|
|
156
|
+
"queue-admission-context",
|
|
157
|
+
"active-lease-context",
|
|
158
|
+
"ready-label",
|
|
159
|
+
"block-labels",
|
|
160
|
+
"allowed-head-prefixes",
|
|
161
|
+
"require-approval",
|
|
162
|
+
"same-repository-only",
|
|
163
|
+
"max-merges",
|
|
164
|
+
"merge-method",
|
|
165
|
+
"landing-mode",
|
|
166
|
+
"dry-run"
|
|
167
|
+
],
|
|
168
|
+
"guarantees": [
|
|
169
|
+
"this reusable workflow executes the single-flight v1 Delivery Warrant and does not advertise bounded v2 Landing integration",
|
|
170
|
+
"bounded v2 authority is a separate opt-in CLI, Node API, and schema surface whose controller deployment must be explicit",
|
|
171
|
+
"candidate execution and evidence sealing receive no provider write credentials",
|
|
172
|
+
"a separate credentialed hosted runner durably heartbeats the exact fence through provider-confirmed native and seal completion",
|
|
173
|
+
"the finalizer validates rooted heartbeat continuity and latest durable state before qualification, failure settlement, or landing",
|
|
174
|
+
"durable consumers call the public floating workflow and may route a train or exact runtime only through trusted non-persistent dispatch input"
|
|
175
|
+
],
|
|
176
|
+
"breakingDigest": "sha256:21b65d0746d2e8b3e8a7df4c6fab295a85c8fd42cc405ec3bc5df5cdab0421f0",
|
|
177
|
+
"auditDigest": "sha256:65dd95900973fec345043d1ce92fc7625719fc9b7312f319a03a75a4c3705b0c"
|
|
178
|
+
},
|
|
96
179
|
{
|
|
97
180
|
"contractVersion": 1,
|
|
98
181
|
"stability": "stable",
|
|
@@ -702,7 +785,7 @@
|
|
|
702
785
|
"README badge block checks and writes are generated from machine-readable repository facts"
|
|
703
786
|
],
|
|
704
787
|
"breakingDigest": "sha256:90a73892b2d6c214048448d5f45df75639bdf7b7e8fefd9c596e04b087407bcc",
|
|
705
|
-
"auditDigest": "sha256:
|
|
788
|
+
"auditDigest": "sha256:35f1f62be899e4c0ddf0f7c830f6a081496d16c016278fdef35b1c2b92cc8216"
|
|
706
789
|
},
|
|
707
790
|
{
|
|
708
791
|
"contractVersion": 1,
|
|
@@ -792,7 +875,7 @@
|
|
|
792
875
|
"manual entries carry source file digests so downstream sites and agents can detect stale hand-written documentation"
|
|
793
876
|
],
|
|
794
877
|
"breakingDigest": "sha256:7d0d2819e3a3e72989d9c57b5efe9d0bc0a79bc0f2c82a0c7b9d6c5a211a91f2",
|
|
795
|
-
"auditDigest": "sha256:
|
|
878
|
+
"auditDigest": "sha256:e1c02b90fdc73130294dcbf6719cc8b24d43a197b34200177a120cd7f3e6c15e"
|
|
796
879
|
},
|
|
797
880
|
{
|
|
798
881
|
"contractVersion": 1,
|
|
@@ -814,7 +897,7 @@
|
|
|
814
897
|
"agents can discover supported Node APIs without importing internal file paths"
|
|
815
898
|
],
|
|
816
899
|
"breakingDigest": "sha256:48f925608d3e2131d90936b07dc2a30341204cae3e6e785c0f77d61ad755c945",
|
|
817
|
-
"auditDigest": "sha256:
|
|
900
|
+
"auditDigest": "sha256:971498b4f91c2361ab7eb8ce7a9c32ce20b310509e56cd8b4a517a47062f6589"
|
|
818
901
|
},
|
|
819
902
|
{
|
|
820
903
|
"contractVersion": 1,
|
|
@@ -3859,6 +3942,6 @@
|
|
|
3859
3942
|
"auditDigest": "sha256:d07482cd66413a2fb3781a3b76f960b8151b6231841799647fe237820de2fde6"
|
|
3860
3943
|
}
|
|
3861
3944
|
],
|
|
3862
|
-
"compatibilityDigest": "sha256:
|
|
3863
|
-
"contractDigest": "sha256:
|
|
3945
|
+
"compatibilityDigest": "sha256:c8407195cafe42cb62ac2a4f5ff5b2c3f9b8aa65c27cc678efd46240cb3f0ecc",
|
|
3946
|
+
"contractDigest": "sha256:bd2c8f4ccf3cb9593aa5dcdd8b02f9ad12e4bc211915804585198df418e099bf"
|
|
3864
3947
|
}
|