@kungfu-tech/buildchain 3.0.4-alpha.3 → 3.0.4-alpha.5
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/README.md +18 -0
- package/bin/buildchain.mjs +10 -1
- package/dist/site/buildchain-contract.json +5 -5
- package/dist/site/buildchain-site.json +1459 -58
- package/dist/site/capability-registry.json +8 -5
- package/dist/site/cli-registry.json +1869 -0
- package/dist/site/kfd-claims.json +79 -7
- package/dist/site/kfd-upstream-aggregate.json +1 -1
- package/dist/site/manual-registry.json +47 -4
- package/dist/site/node-api-registry.json +17760 -5
- package/dist/site/page-registry.json +1435 -58
- package/dist/site/public-surface-audit.json +2809 -352
- package/dist/site/publication-registry.json +4 -4
- package/dist/site/site-manifest.json +32 -8
- package/docs/MAP.md +20 -5
- package/docs/cli-reference.md +1936 -0
- package/docs/cli.md +13 -0
- package/docs/getting-started.md +167 -0
- package/docs/node-api-reference.md +1949 -0
- package/docs/site-bundle-contract.md +10 -4
- package/docs/versioning.md +5 -4
- package/package.json +8 -5
- package/packages/core/buildchain-agent-manuals.js +37 -0
- package/packages/core/buildchain-kfd-claims.js +3 -36
- package/packages/core/paper-agent-entry.js +10 -11
- package/packages/core/publication-package.js +7 -0
- package/scripts/check-inventory.mjs +2 -2
- package/scripts/generate-public-reference.mjs +68 -0
- package/scripts/generate-site-bundle.mjs +19 -34
- package/scripts/public-reference.mjs +557 -0
- package/scripts/site-reference-registry.mjs +174 -0
- package/scripts/verify-golden-path.mjs +169 -0
package/README.md
CHANGED
|
@@ -25,6 +25,20 @@ its existing CI.
|
|
|
25
25
|
|
|
26
26
|
The same mechanism releases Buildchain itself.
|
|
27
27
|
|
|
28
|
+
## Choose Your Path
|
|
29
|
+
|
|
30
|
+
| You are... | Start here | You will get... |
|
|
31
|
+
| --- | --- | --- |
|
|
32
|
+
| adopting Buildchain for the first time | [Golden Path](docs/getting-started.md) | an exact install, project declaration, validated config, reusable workflow, release dry-run, and Passport inspection |
|
|
33
|
+
| looking up a CLI command | [Generated CLI Reference](docs/cli-reference.md) | governed syntax, options, aliases, and side-effect-free help paths |
|
|
34
|
+
| writing JavaScript automation | [Generated Node API Reference](docs/node-api-reference.md) | every public subpath and symbol with source-derived signatures and behavior boundaries |
|
|
35
|
+
| operating an advanced build or release | [Documentation Map](docs/MAP.md) | capability-, intent-, and maturity-based navigation to normative contracts |
|
|
36
|
+
|
|
37
|
+
The Golden Path is the beginner lane. Advanced workflow, signing, publishing,
|
|
38
|
+
and governance manuals remain separate so a first-time consumer does not need
|
|
39
|
+
to understand the entire release control plane before reaching a valid local
|
|
40
|
+
configuration.
|
|
41
|
+
|
|
28
42
|
## Where Buildchain sits in the Agent Supply Chain
|
|
29
43
|
|
|
30
44
|
Buildchain binds a product's declarations to the exact source cut, build,
|
|
@@ -48,6 +62,10 @@ or protocol evidence through the repository issue tracker.
|
|
|
48
62
|
|
|
49
63
|
## Install and Verify
|
|
50
64
|
|
|
65
|
+
New repository adopters should follow the [15–30 minute Golden Path](docs/getting-started.md).
|
|
66
|
+
The commands below are the shorter verification-only route for an existing
|
|
67
|
+
consumer.
|
|
68
|
+
|
|
51
69
|
For v3, use the published npm package and verify the release passport before
|
|
52
70
|
trusting release evidence:
|
|
53
71
|
|
package/bin/buildchain.mjs
CHANGED
|
@@ -14,6 +14,7 @@ import { runPublicationPackageCli } from "../scripts/publication-package.mjs";
|
|
|
14
14
|
import { runPublicationReproducibilityCli } from "../scripts/publication-reproducibility.mjs";
|
|
15
15
|
import { runPaperCli } from "../scripts/paper.mjs";
|
|
16
16
|
import { BUILDCHAIN_USAGE } from "../scripts/buildchain-cli-help.mjs";
|
|
17
|
+
import { formatCliHelp } from "../scripts/public-reference.mjs";
|
|
17
18
|
import { validateBuildchainConfig } from "../packages/core/buildchain-config.js";
|
|
18
19
|
import { detectPackageManager } from "../packages/core/package-manager.js";
|
|
19
20
|
import {
|
|
@@ -1224,7 +1225,7 @@ async function runProcessTreeSample(sampleArgs = []) {
|
|
|
1224
1225
|
}
|
|
1225
1226
|
|
|
1226
1227
|
async function handleHelpCommand(args) {
|
|
1227
|
-
process.stdout.write(BUILDCHAIN_USAGE);
|
|
1228
|
+
process.stdout.write(formatCliHelp({ usageText: BUILDCHAIN_USAGE, pathParts: args }));
|
|
1228
1229
|
return;
|
|
1229
1230
|
|
|
1230
1231
|
}
|
|
@@ -1732,6 +1733,14 @@ const BUILDCHAIN_COMMAND_HANDLERS = Object.freeze({
|
|
|
1732
1733
|
});
|
|
1733
1734
|
|
|
1734
1735
|
async function main(argv = process.argv.slice(2)) {
|
|
1736
|
+
const helpIndex = argv.findIndex((entry) => entry === "--help" || entry === "-h");
|
|
1737
|
+
if (helpIndex >= 0) {
|
|
1738
|
+
process.stdout.write(formatCliHelp({
|
|
1739
|
+
usageText: BUILDCHAIN_USAGE,
|
|
1740
|
+
pathParts: argv.slice(0, helpIndex),
|
|
1741
|
+
}));
|
|
1742
|
+
return;
|
|
1743
|
+
}
|
|
1735
1744
|
const [command = "help", ...args] = argv;
|
|
1736
1745
|
return dispatchRegisteredCommand({
|
|
1737
1746
|
command,
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"product": {
|
|
5
5
|
"name": "Buildchain",
|
|
6
6
|
"package": "@kungfu-tech/buildchain",
|
|
7
|
-
"version": "3.0.4-alpha.
|
|
7
|
+
"version": "3.0.4-alpha.5",
|
|
8
8
|
"repository": "https://github.com/kungfu-systems/buildchain"
|
|
9
9
|
},
|
|
10
10
|
"majorLine": "v3",
|
|
@@ -619,7 +619,7 @@
|
|
|
619
619
|
"README badge block checks and writes are generated from machine-readable repository facts"
|
|
620
620
|
],
|
|
621
621
|
"breakingDigest": "sha256:90a73892b2d6c214048448d5f45df75639bdf7b7e8fefd9c596e04b087407bcc",
|
|
622
|
-
"auditDigest": "sha256:
|
|
622
|
+
"auditDigest": "sha256:f3be0e8ce65d5860d1ad808990f78a1fd48c18207a9aacf1ba63fd0d0e51be40"
|
|
623
623
|
},
|
|
624
624
|
{
|
|
625
625
|
"contractVersion": 1,
|
|
@@ -709,7 +709,7 @@
|
|
|
709
709
|
"manual entries carry source file digests so downstream sites and agents can detect stale hand-written documentation"
|
|
710
710
|
],
|
|
711
711
|
"breakingDigest": "sha256:7d0d2819e3a3e72989d9c57b5efe9d0bc0a79bc0f2c82a0c7b9d6c5a211a91f2",
|
|
712
|
-
"auditDigest": "sha256:
|
|
712
|
+
"auditDigest": "sha256:11df0f88b1127261232e6c0f641aac4fbdc7bb17be0064a7571b38c06f070390"
|
|
713
713
|
},
|
|
714
714
|
{
|
|
715
715
|
"contractVersion": 1,
|
|
@@ -731,7 +731,7 @@
|
|
|
731
731
|
"agents can discover supported Node APIs without importing internal file paths"
|
|
732
732
|
],
|
|
733
733
|
"breakingDigest": "sha256:48f925608d3e2131d90936b07dc2a30341204cae3e6e785c0f77d61ad755c945",
|
|
734
|
-
"auditDigest": "sha256:
|
|
734
|
+
"auditDigest": "sha256:e26656998e22ec27f96588959230bc97f9cc9ce8ecbd3a60ba639f4343aec88c"
|
|
735
735
|
},
|
|
736
736
|
{
|
|
737
737
|
"contractVersion": 1,
|
|
@@ -3533,5 +3533,5 @@
|
|
|
3533
3533
|
}
|
|
3534
3534
|
],
|
|
3535
3535
|
"compatibilityDigest": "sha256:3bbcaf835844260ed98414d3bd176667245d12131e13fc748e4c2fae12399691",
|
|
3536
|
-
"contractDigest": "sha256:
|
|
3536
|
+
"contractDigest": "sha256:9e568e25e58803f8c592d1f2330ab1952569f386e280be581d90814df5642604"
|
|
3537
3537
|
}
|