@kungfu-tech/buildchain 4.0.1-alpha.5 → 4.0.1-alpha.8

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.
Files changed (108) hide show
  1. package/actions/release-tail/README.md +8 -0
  2. package/architecture/ci-lane-change-budget.json +187 -0
  3. package/architecture/internal-capabilities.json +65 -5
  4. package/architecture/maintainability-policy.json +27 -21
  5. package/architecture/release-tail-contract-inventory.json +5 -2
  6. package/architecture/v4-adopter-delivery-parity.json +32 -5
  7. package/architecture/v4-floating-consumer-policy.json +6 -0
  8. package/architecture/v4-publication-rehearsal-parity.json +84 -0
  9. package/bin/buildchain.mjs +7 -1
  10. package/bin/internal/adopter-delivery-cli.mjs +70 -0
  11. package/bin/internal/command-registry.mjs +1 -0
  12. package/contracts/fixtures/v4-adopter-delivery-v1/archive-template.json +19 -0
  13. package/contracts/fixtures/v4-adopter-delivery-v1/bootstrap-positive.json +93 -0
  14. package/contracts/fixtures/v4-adopter-delivery-v1/gate-positive.json +29 -0
  15. package/contracts/fixtures/v4-adopter-delivery-v1/gate-unknown-selector.json +26 -0
  16. package/contracts/fixtures/v4-adopter-delivery-v1/offline-vectors.json +50 -0
  17. package/contracts/fixtures/v4-publication-rehearsal-v1/candidate/artifacts/product.bin +1 -0
  18. package/contracts/fixtures/v4-publication-rehearsal-v1/candidate/config/buildchain.toml +5 -0
  19. package/contracts/fixtures/v4-publication-rehearsal-v1/candidate/documents/release-activation.json +1 -0
  20. package/contracts/fixtures/v4-publication-rehearsal-v1/candidate/documents/signed-channel.json +1 -0
  21. package/contracts/fixtures/v4-publication-rehearsal-v1/candidate/evidence/qualification.json +1 -0
  22. package/contracts/fixtures/v4-publication-rehearsal-v1/candidate/manifests/candidate.json +5 -0
  23. package/contracts/fixtures/v4-publication-rehearsal-v1/candidate/manifests/release-passport.json +1 -0
  24. package/contracts/fixtures/v4-publication-rehearsal-v1/capsule.json +707 -0
  25. package/contracts/fixtures/v4-publication-rehearsal-v1/offline-vectors.json +27 -0
  26. package/contracts/fixtures/v4-tail-reseal-v1/valid.json +1 -1
  27. package/contracts/v4-adopter-delivery-v1.schema.json +81 -0
  28. package/contracts/v4-floating-consumer-policy-receipt-v1.schema.json +4 -2
  29. package/contracts/v4-publication-rehearsal-capsule-v1.schema.json +233 -0
  30. package/dist/site/agent-index.json +3 -0
  31. package/dist/site/artifact-schemas.json +6 -0
  32. package/dist/site/buildchain-contract.json +14 -14
  33. package/dist/site/buildchain-site.json +231 -24
  34. package/dist/site/capability-registry.json +11 -10
  35. package/dist/site/cli-registry.json +53 -1
  36. package/dist/site/kfd-claims.json +279 -14
  37. package/dist/site/kfd-upstream-aggregate.json +1 -1
  38. package/dist/site/manual-registry.json +20 -5
  39. package/dist/site/node-api-registry.json +11569 -9299
  40. package/dist/site/page-registry.json +214 -15
  41. package/dist/site/public-surface-audit.json +206 -11
  42. package/dist/site/publication-authority-registry.json +39 -8
  43. package/dist/site/publication-registry.json +4 -4
  44. package/dist/site/release-provenance.json +15 -0
  45. package/dist/site/schemas/release-tail-capabilities-v1.schema.json +199 -0
  46. package/dist/site/schemas/v4-adopter-delivery-v1.schema.json +81 -0
  47. package/dist/site/schemas/v4-publication-rehearsal-capsule-v1.schema.json +233 -0
  48. package/dist/site/site-manifest.json +17 -9
  49. package/dist/site/workflow-registry.json +110 -8
  50. package/docs/MAP.md +3 -1
  51. package/docs/cli-reference.md +68 -0
  52. package/docs/cli.md +8 -0
  53. package/docs/dev-delivery-warrant.md +22 -1
  54. package/docs/node-api-reference.md +332 -172
  55. package/docs/release-tail-provider-plane.md +30 -0
  56. package/docs/v4-adopter-delivery.md +133 -0
  57. package/docs/v4-publication-rehearsal.md +130 -0
  58. package/package.json +18 -3
  59. package/packages/core/adopter-delivery-passport.js +259 -0
  60. package/packages/core/adopter-delivery-vectors.js +158 -0
  61. package/packages/core/adopter-delivery-vectors.json +77 -0
  62. package/packages/core/buildchain-agent-manuals.js +1 -0
  63. package/packages/core/buildchain-config.js +84 -0
  64. package/packages/core/buildchain-delivery-bootstrap.js +240 -0
  65. package/packages/core/buildchain-delivery-infrastructure.js +164 -0
  66. package/packages/core/buildchain-delivery-self-dogfood.js +395 -0
  67. package/packages/core/buildchain-publication-authority.js +1 -0
  68. package/packages/core/ci-lane-change-budget.js +247 -0
  69. package/packages/core/dev-delivery-native-proof.js +43 -27
  70. package/packages/core/dev-delivery-warrant-state.js +31 -8
  71. package/packages/core/dev-delivery-warrant.js +8 -3
  72. package/packages/core/github-governance-authority.js +1 -0
  73. package/packages/core/index.js +5 -0
  74. package/packages/core/legacy-kfd-adopter-driver.js +167 -0
  75. package/packages/core/published-delivery-authority.js +266 -0
  76. package/packages/core/release-candidate-recovery.js +66 -11
  77. package/packages/core/release-candidate.js +2 -2
  78. package/packages/core/release-passport.js +36 -9
  79. package/packages/core/v4-adopter-delivery-parity.js +3 -3
  80. package/packages/core/v4-adopter-delivery.js +359 -0
  81. package/packages/core/v4-delivery-warrant-read-candidate.js +10 -3
  82. package/packages/core/v4-floating-consumer-evidence.js +18 -4
  83. package/packages/core/v4-floating-consumer-policy.js +138 -35
  84. package/packages/core/v4-floating-consumer-release-passport.js +30 -3
  85. package/packages/core/v4-publication-rehearsal-capsule.js +468 -0
  86. package/packages/core/v4-publication-rehearsal-provider-bindings.js +212 -0
  87. package/packages/core/v4-publication-rehearsal.js +481 -0
  88. package/packages/core/workflow-yaml-contract.js +24 -2
  89. package/scripts/buildchain-cli-help.mjs +10 -0
  90. package/scripts/check-ci-lane-change-budget.mjs +100 -0
  91. package/scripts/check-inventory.mjs +3 -3
  92. package/scripts/check-v4-floating-consumer-policy-contract.mjs +23 -4
  93. package/scripts/dev-delivery-source-proof-replay.mjs +153 -0
  94. package/scripts/dev-delivery-source-proof-reuse.mjs +13 -97
  95. package/scripts/dev-delivery-warrant-store.mjs +10 -6
  96. package/scripts/dev-delivery-warrant.mjs +5 -1
  97. package/scripts/dev-pr-delivery-warrant.mjs +1 -0
  98. package/scripts/dev-qualification-patrol.mjs +9 -9
  99. package/scripts/generate-channel-promotion-workflow.mjs +2 -2
  100. package/scripts/generate-release-candidate-passport.mjs +152 -0
  101. package/scripts/generate-site-bundle.mjs +30 -0
  102. package/scripts/promotion-channel-router.mjs +4 -4
  103. package/scripts/release-candidate-anchor-provenance.mjs +99 -0
  104. package/scripts/release-tail.mjs +51 -3
  105. package/scripts/resume-from-candidate-run.mjs +556 -29
  106. package/scripts/site-capability-metadata.mjs +17 -0
  107. package/scripts/v4-consumer-policy.mjs +4 -0
  108. package/scripts/v4-publication-rehearsal-fixture.mjs +144 -0
@@ -0,0 +1,199 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://buildchain.kungfu.ai/contracts/release-tail-capabilities-v1.schema.json",
4
+ "title": "Buildchain release-tail capability declaration",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "contract",
9
+ "schemaVersion",
10
+ "transactionPolicy",
11
+ "subject",
12
+ "capabilities"
13
+ ],
14
+ "properties": {
15
+ "contract": {
16
+ "const": "kungfu-buildchain-release-tail-capabilities"
17
+ },
18
+ "schemaVersion": {
19
+ "const": 1
20
+ },
21
+ "transactionPolicy": {
22
+ "const": "buildchain.release-tail/v1"
23
+ },
24
+ "subject": {
25
+ "type": "object",
26
+ "additionalProperties": false,
27
+ "required": ["repository", "sourceSha", "version", "tag", "channel"],
28
+ "properties": {
29
+ "repository": { "type": "string", "minLength": 1 },
30
+ "sourceSha": { "type": "string", "pattern": "^[0-9a-f]{40}$" },
31
+ "version": { "type": "string", "minLength": 1 },
32
+ "tag": { "type": "string", "minLength": 1 },
33
+ "channel": { "enum": ["alpha", "release", "stable"] }
34
+ }
35
+ },
36
+ "capabilities": {
37
+ "type": "array",
38
+ "minItems": 1,
39
+ "items": { "$ref": "#/$defs/capability" }
40
+ }
41
+ },
42
+ "$defs": {
43
+ "root": {
44
+ "type": "string",
45
+ "pattern": "^sha256:[0-9a-f]{64}$"
46
+ },
47
+ "capability": {
48
+ "type": "object",
49
+ "additionalProperties": false,
50
+ "required": [
51
+ "id",
52
+ "executor",
53
+ "adapter",
54
+ "artifactRoles",
55
+ "destination",
56
+ "channelPolicy",
57
+ "activationPolicy",
58
+ "readbackPredicates",
59
+ "effect",
60
+ "observation",
61
+ "receipt",
62
+ "operationIdentity",
63
+ "idempotency",
64
+ "retry",
65
+ "evidenceRequirements"
66
+ ],
67
+ "properties": {
68
+ "id": {
69
+ "enum": [
70
+ "artifact.publish",
71
+ "signed-channel.commit",
72
+ "release.activate",
73
+ "released-evidence.synthesize"
74
+ ]
75
+ },
76
+ "executor": { "enum": ["buildchain-core", "provider-adapter"] },
77
+ "adapter": { "type": "string", "minLength": 1 },
78
+ "artifactRoles": {
79
+ "type": "array",
80
+ "items": {
81
+ "type": "object",
82
+ "additionalProperties": false,
83
+ "required": ["role", "root"],
84
+ "properties": {
85
+ "role": { "type": "string", "minLength": 1 },
86
+ "root": { "$ref": "#/$defs/root" }
87
+ }
88
+ }
89
+ },
90
+ "destination": {
91
+ "type": "object",
92
+ "additionalProperties": false,
93
+ "required": ["kind", "locator"],
94
+ "properties": {
95
+ "kind": { "type": "string", "minLength": 1 },
96
+ "locator": { "type": "string", "minLength": 1 }
97
+ }
98
+ },
99
+ "channelPolicy": {
100
+ "type": "object",
101
+ "additionalProperties": false,
102
+ "required": ["channel", "tagPattern", "authorityMove"],
103
+ "properties": {
104
+ "channel": { "enum": ["alpha", "release", "stable"] },
105
+ "tagPattern": { "type": "string", "minLength": 1 },
106
+ "authorityMove": { "enum": ["none", "signed-cas", "verified-ref"] }
107
+ }
108
+ },
109
+ "activationPolicy": {
110
+ "type": "object",
111
+ "additionalProperties": false,
112
+ "required": ["mode", "environment"],
113
+ "properties": {
114
+ "mode": { "enum": ["none", "receipt-set", "receipt-only"] },
115
+ "environment": { "enum": ["none", "shadow", "production"] }
116
+ }
117
+ },
118
+ "readbackPredicates": {
119
+ "type": "array",
120
+ "items": {
121
+ "type": "object",
122
+ "additionalProperties": false,
123
+ "required": ["id", "kind", "expected"],
124
+ "properties": {
125
+ "id": { "type": "string", "minLength": 1 },
126
+ "kind": { "type": "string", "minLength": 1 },
127
+ "expected": { "type": "string", "minLength": 1 }
128
+ }
129
+ }
130
+ },
131
+ "effect": { "$ref": "#/$defs/message" },
132
+ "observation": { "$ref": "#/$defs/message" },
133
+ "receipt": { "$ref": "#/$defs/message" },
134
+ "operationIdentity": {
135
+ "type": "object",
136
+ "additionalProperties": false,
137
+ "required": [
138
+ "transactionRoot",
139
+ "capabilityId",
140
+ "subjectRoot",
141
+ "targetRoot",
142
+ "attemptKey"
143
+ ],
144
+ "properties": {
145
+ "transactionRoot": { "$ref": "#/$defs/root" },
146
+ "capabilityId": {
147
+ "enum": [
148
+ "artifact.publish",
149
+ "signed-channel.commit",
150
+ "release.activate",
151
+ "released-evidence.synthesize"
152
+ ]
153
+ },
154
+ "subjectRoot": { "$ref": "#/$defs/root" },
155
+ "targetRoot": { "$ref": "#/$defs/root" },
156
+ "attemptKey": { "type": "string", "minLength": 1 }
157
+ }
158
+ },
159
+ "idempotency": {
160
+ "type": "object",
161
+ "additionalProperties": false,
162
+ "required": ["scope", "duplicate"],
163
+ "properties": {
164
+ "scope": { "enum": ["operation", "subject-target"] },
165
+ "duplicate": {
166
+ "enum": ["return-observed-receipt", "readback-before-retry"]
167
+ }
168
+ }
169
+ },
170
+ "retry": {
171
+ "type": "object",
172
+ "additionalProperties": false,
173
+ "required": ["class", "localAttempts", "exhausted"],
174
+ "properties": {
175
+ "class": { "enum": ["never", "readback", "provider-transient"] },
176
+ "localAttempts": { "type": "integer", "minimum": 0, "maximum": 3 },
177
+ "exhausted": {
178
+ "enum": ["blocked", "repair-required", "terminal-failure"]
179
+ }
180
+ }
181
+ },
182
+ "evidenceRequirements": {
183
+ "type": "array",
184
+ "minItems": 1,
185
+ "items": { "type": "string", "minLength": 1 }
186
+ }
187
+ }
188
+ },
189
+ "message": {
190
+ "type": "object",
191
+ "additionalProperties": false,
192
+ "required": ["kind", "schema"],
193
+ "properties": {
194
+ "kind": { "type": "string", "minLength": 1 },
195
+ "schema": { "type": "string", "minLength": 1 }
196
+ }
197
+ }
198
+ }
199
+ }
@@ -0,0 +1,81 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://buildchain.kungfu-tech.com/schemas/v4-adopter-delivery-v1.schema.json",
4
+ "title": "Buildchain v4 adopter delivery gate input",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "schemaVersion",
9
+ "contract",
10
+ "driverSelector",
11
+ "artifactProfileSelector",
12
+ "request",
13
+ "context"
14
+ ],
15
+ "properties": {
16
+ "schemaVersion": { "const": 1 },
17
+ "contract": { "const": "kungfu-buildchain-v4-adopter-delivery/v1" },
18
+ "driverSelector": {
19
+ "enum": ["json-assertion", "kfd-category", "legacy-kfd"]
20
+ },
21
+ "artifactProfileSelector": { "enum": ["git-commit", "package"] },
22
+ "request": { "$ref": "#/$defs/request" },
23
+ "context": { "type": "object" }
24
+ },
25
+ "$defs": {
26
+ "reference": {
27
+ "type": "object",
28
+ "additionalProperties": false,
29
+ "required": ["id", "version"],
30
+ "properties": {
31
+ "id": {
32
+ "type": "string",
33
+ "pattern": "^[a-z][a-z0-9.-]*(/[a-z][a-z0-9.-]*)*$"
34
+ },
35
+ "version": {
36
+ "type": "string",
37
+ "pattern": "^[1-9][0-9]*\\.[0-9]+\\.[0-9]+$"
38
+ }
39
+ }
40
+ },
41
+ "request": {
42
+ "type": "object",
43
+ "additionalProperties": false,
44
+ "required": [
45
+ "schemaVersion",
46
+ "contract",
47
+ "protocol",
48
+ "artifactProfile",
49
+ "project",
50
+ "artifact",
51
+ "declaration"
52
+ ],
53
+ "properties": {
54
+ "schemaVersion": { "const": 1 },
55
+ "contract": { "const": "kungfu-buildchain-adopter-delivery-request" },
56
+ "protocol": { "$ref": "#/$defs/reference" },
57
+ "artifactProfile": { "$ref": "#/$defs/reference" },
58
+ "project": {
59
+ "type": "object",
60
+ "additionalProperties": false,
61
+ "required": ["instanceId", "adopterId"],
62
+ "properties": {
63
+ "instanceId": { "type": "string", "minLength": 1 },
64
+ "adopterId": { "type": "string", "minLength": 1 }
65
+ }
66
+ },
67
+ "artifact": {
68
+ "type": "object",
69
+ "additionalProperties": false,
70
+ "required": ["kind", "coordinate", "root"],
71
+ "properties": {
72
+ "kind": { "type": "string", "minLength": 1 },
73
+ "coordinate": { "type": "string", "minLength": 1 },
74
+ "root": { "type": "string", "pattern": "^sha256:[0-9a-f]{64}$" }
75
+ }
76
+ },
77
+ "declaration": { "type": "object" }
78
+ }
79
+ }
80
+ }
81
+ }
@@ -0,0 +1,233 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://buildchain.kungfu.ai/contracts/v4-publication-rehearsal-capsule-v1.schema.json",
4
+ "title": "Buildchain v4 Publication Rehearsal Capsule",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "schema",
9
+ "coreVersion",
10
+ "source",
11
+ "candidate",
12
+ "manifest",
13
+ "config",
14
+ "providerBindings",
15
+ "providerBindingsRoot",
16
+ "providerPolicy",
17
+ "expectedObservations",
18
+ "declaration",
19
+ "transaction",
20
+ "files",
21
+ "capsuleRoot"
22
+ ],
23
+ "properties": {
24
+ "schema": { "const": "buildchain-v4-publication-rehearsal-capsule/v1" },
25
+ "coreVersion": { "const": "buildchain.release-tail/v1" },
26
+ "source": {
27
+ "type": "object",
28
+ "additionalProperties": false,
29
+ "required": ["repository", "revision", "root"],
30
+ "properties": {
31
+ "repository": { "type": "string", "minLength": 1 },
32
+ "revision": { "type": "string", "pattern": "^[0-9a-f]{40}$" },
33
+ "root": { "$ref": "#/$defs/root" }
34
+ }
35
+ },
36
+ "candidate": {
37
+ "type": "object",
38
+ "additionalProperties": false,
39
+ "required": ["root"],
40
+ "properties": { "root": { "$ref": "#/$defs/root" } }
41
+ },
42
+ "manifest": { "$ref": "#/$defs/fileBinding" },
43
+ "config": { "$ref": "#/$defs/fileBinding" },
44
+ "providerBindings": { "$ref": "#/$defs/providerBindings" },
45
+ "providerBindingsRoot": { "$ref": "#/$defs/root" },
46
+ "providerPolicy": {
47
+ "type": "object",
48
+ "additionalProperties": false,
49
+ "required": [
50
+ "schema",
51
+ "effectDefault",
52
+ "allowedCapabilityIds",
53
+ "allowedAdapters",
54
+ "root"
55
+ ],
56
+ "properties": {
57
+ "schema": {
58
+ "const": "buildchain-v4-publication-rehearsal-provider-policy/v1"
59
+ },
60
+ "effectDefault": { "const": "disabled" },
61
+ "allowedCapabilityIds": {
62
+ "type": "array",
63
+ "minItems": 1,
64
+ "uniqueItems": true,
65
+ "items": { "type": "string", "minLength": 1 }
66
+ },
67
+ "allowedAdapters": {
68
+ "type": "array",
69
+ "minItems": 1,
70
+ "uniqueItems": true,
71
+ "items": {
72
+ "type": "string",
73
+ "pattern": "^[a-z][a-z0-9]*(?:[.-][a-z0-9]+)*$"
74
+ }
75
+ },
76
+ "root": { "$ref": "#/$defs/root" }
77
+ }
78
+ },
79
+ "expectedObservations": {
80
+ "type": "object",
81
+ "additionalProperties": false,
82
+ "required": ["entries", "root"],
83
+ "properties": {
84
+ "entries": {
85
+ "type": "array",
86
+ "items": { "$ref": "#/$defs/observationSequence" }
87
+ },
88
+ "root": { "$ref": "#/$defs/root" }
89
+ }
90
+ },
91
+ "declaration": { "$ref": "release-tail-capabilities-v1.schema.json" },
92
+ "transaction": { "type": "object" },
93
+ "files": {
94
+ "type": "array",
95
+ "minItems": 1,
96
+ "items": {
97
+ "type": "object",
98
+ "additionalProperties": false,
99
+ "required": ["role", "path", "size", "root"],
100
+ "properties": {
101
+ "role": {
102
+ "type": "string",
103
+ "pattern": "^[a-z][a-z0-9]*(?:[.-][a-z0-9]+)*$"
104
+ },
105
+ "path": { "$ref": "#/$defs/path" },
106
+ "size": { "type": "integer", "minimum": 0 },
107
+ "root": { "$ref": "#/$defs/root" }
108
+ }
109
+ }
110
+ },
111
+ "capsuleRoot": { "$ref": "#/$defs/root" }
112
+ },
113
+ "$defs": {
114
+ "root": { "type": "string", "pattern": "^sha256:[0-9a-f]{64}$" },
115
+ "path": {
116
+ "type": "string",
117
+ "minLength": 1,
118
+ "pattern": "^(?!/)(?!.*(?:^|/)\\.(?:/|$))(?!.*(?:^|/)\\.\\.(?:/|$))(?!.*//)(?!.*\\\\)(?!.*\/$).+$"
119
+ },
120
+ "providerBindings": {
121
+ "type": "object",
122
+ "additionalProperties": false,
123
+ "required": ["schema", "artifacts", "documents", "evidence"],
124
+ "properties": {
125
+ "schema": {
126
+ "const": "kungfu.buildchain.release-tail.provider-bindings/v1"
127
+ },
128
+ "artifacts": {
129
+ "type": "object",
130
+ "propertyNames": {
131
+ "pattern": "^[a-z][a-z0-9]*(?:[.-][a-z0-9]+)*$"
132
+ },
133
+ "additionalProperties": {
134
+ "type": "object",
135
+ "additionalProperties": false,
136
+ "required": ["path", "name"],
137
+ "properties": {
138
+ "path": { "$ref": "#/$defs/path" },
139
+ "name": { "type": "string", "minLength": 1 }
140
+ }
141
+ }
142
+ },
143
+ "documents": {
144
+ "type": "object",
145
+ "propertyNames": {
146
+ "pattern": "^[a-z][a-z0-9]*(?:[.-][a-z0-9]+)*$"
147
+ },
148
+ "additionalProperties": { "$ref": "#/$defs/providerDocument" }
149
+ },
150
+ "evidence": {
151
+ "type": "object",
152
+ "additionalProperties": false,
153
+ "required": ["inputs", "output"],
154
+ "properties": {
155
+ "inputs": {
156
+ "type": "array",
157
+ "uniqueItems": true,
158
+ "items": { "$ref": "#/$defs/path" }
159
+ },
160
+ "output": { "$ref": "#/$defs/path" }
161
+ }
162
+ }
163
+ }
164
+ },
165
+ "providerDocument": {
166
+ "type": "object",
167
+ "additionalProperties": false,
168
+ "required": ["path", "method"],
169
+ "properties": {
170
+ "path": { "$ref": "#/$defs/path" },
171
+ "method": { "enum": ["PUT", "POST"] }
172
+ }
173
+ },
174
+ "fileBinding": {
175
+ "type": "object",
176
+ "additionalProperties": false,
177
+ "required": ["path", "root"],
178
+ "properties": {
179
+ "path": { "$ref": "#/$defs/path" },
180
+ "root": { "$ref": "#/$defs/root" }
181
+ }
182
+ },
183
+ "readback": {
184
+ "type": "object",
185
+ "additionalProperties": false,
186
+ "required": [
187
+ "outcome",
188
+ "subjectRoot",
189
+ "targetRoot",
190
+ "evidenceRoots",
191
+ "providerCode"
192
+ ],
193
+ "properties": {
194
+ "outcome": { "enum": ["observed", "absent", "transient", "conflict"] },
195
+ "subjectRoot": {
196
+ "oneOf": [{ "$ref": "#/$defs/root" }, { "const": "" }]
197
+ },
198
+ "targetRoot": {
199
+ "oneOf": [{ "$ref": "#/$defs/root" }, { "const": "" }]
200
+ },
201
+ "evidenceRoots": {
202
+ "type": "array",
203
+ "uniqueItems": true,
204
+ "items": { "$ref": "#/$defs/root" }
205
+ },
206
+ "providerCode": { "type": "string", "minLength": 1 }
207
+ }
208
+ },
209
+ "observationSequence": {
210
+ "type": "object",
211
+ "additionalProperties": false,
212
+ "required": ["operationId", "readbacks", "apply"],
213
+ "properties": {
214
+ "operationId": { "$ref": "#/$defs/root" },
215
+ "readbacks": {
216
+ "type": "array",
217
+ "minItems": 1,
218
+ "items": { "$ref": "#/$defs/readback" }
219
+ },
220
+ "apply": {
221
+ "type": "object",
222
+ "additionalProperties": false,
223
+ "required": ["outcome", "code", "classification"],
224
+ "properties": {
225
+ "outcome": { "enum": ["applied", "transient", "conflict"] },
226
+ "code": { "type": "string", "minLength": 1 },
227
+ "classification": { "type": "string", "minLength": 1 }
228
+ }
229
+ }
230
+ }
231
+ }
232
+ }
233
+ }
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "contract": "kungfu-buildchain-site-manifest",
4
- "generatedAt": "2026-08-16T06:14:57.817Z",
5
- "publishedAt": "2026-08-16T06:14:57.817Z",
4
+ "generatedAt": "2026-08-22T08:48:35.017Z",
5
+ "publishedAt": "2026-08-22T08:48:35.017Z",
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": "358df2d1ab42465111896a42cde85dcca08549d5",
22
+ "sourceRevision": "62b29172d459584f3d7a89616d6c4d3b5e577d8b",
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": "4.0.1-alpha.5",
40
+ "version": "4.0.1-alpha.8",
41
41
  "versionSource": "package.json#version"
42
42
  },
43
43
  "entrypoint": "buildchain-site.json",
@@ -53,7 +53,7 @@
53
53
  "path": "docs/MAP.md",
54
54
  "plane": "use",
55
55
  "exists": true,
56
- "digest": "sha256:fd63caf537bdc0dc2a220688dcb89534f6f84f6223e8c45f399a7d1bb8f8faf8"
56
+ "digest": "sha256:a04d321dbec562807cb29b748039839d097a97d2c9d2f0e76d6d22f2845055ba"
57
57
  },
58
58
  {
59
59
  "id": "getting-started",
@@ -237,7 +237,7 @@
237
237
  "path": "docs/cli.md",
238
238
  "plane": "use",
239
239
  "exists": true,
240
- "digest": "sha256:fad47682ed909f7b16f58bb8c24c51a943eb704a0a50ab6e033d745ee16a809a"
240
+ "digest": "sha256:60208f0862195df44b27ada15e474ff1808dee6d492cd6303402b92fd72f06bc"
241
241
  },
242
242
  {
243
243
  "id": "cli-reference",
@@ -245,7 +245,7 @@
245
245
  "path": "docs/cli-reference.md",
246
246
  "plane": "use",
247
247
  "exists": true,
248
- "digest": "sha256:157d6259dd8f884833f7065f52bff0d482878eca72623dcc607e4204692e4970"
248
+ "digest": "sha256:ec16f350596692989cf5eade945e7bbeee157a661c6d8faa55c8249b14ef5632"
249
249
  },
250
250
  {
251
251
  "id": "node-api-reference",
@@ -253,7 +253,7 @@
253
253
  "path": "docs/node-api-reference.md",
254
254
  "plane": "use",
255
255
  "exists": true,
256
- "digest": "sha256:34a2feafe2f6183afbc0a72fa6362d39db6968c2bac187a1a1dd376d7ca50e50"
256
+ "digest": "sha256:da744d2071ab7871eccbf6b3049a4d8a44b21daa477598fa9327a28b7d89ae67"
257
257
  },
258
258
  {
259
259
  "id": "build-facts",
@@ -295,6 +295,14 @@
295
295
  "exists": true,
296
296
  "digest": "sha256:fc2649d0ae4dc6a08275bc1f2509efd3e9730227eaa8157ef64daf4b9c850264"
297
297
  },
298
+ {
299
+ "id": "v4-adopter-delivery",
300
+ "title": "V4 public adopter delivery",
301
+ "path": "docs/v4-adopter-delivery.md",
302
+ "plane": "verify",
303
+ "exists": true,
304
+ "digest": "sha256:c74a004657f64d29ba2a47f599223e5ab132daf2881cf0564c85c04b22a69e6e"
305
+ },
298
306
  {
299
307
  "id": "publish-transaction",
300
308
  "title": "Publish transaction",
@@ -317,7 +325,7 @@
317
325
  "path": "docs/release-tail-provider-plane.md",
318
326
  "plane": "use",
319
327
  "exists": true,
320
- "digest": "sha256:80b39ba4f0a8ed723e2a03e7efff0fee1e891245f7d1bf343edc75011aded801"
328
+ "digest": "sha256:72dd8231f51003c8a0d6532991b908b39de02deb11300e8c63113cd3a9e5cd8e"
321
329
  },
322
330
  {
323
331
  "id": "release-governance",