@bongos/core 1.19.509 → 1.19.511
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/.bongos-core.json +48 -33
- package/clients/bongos-client/README.md +1 -1
- package/clients/bongos-client/bongos-client.global.js +2 -0
- package/clients/bongos-client/index.cjs +2 -0
- package/clients/bongos-client/index.d.ts +3 -0
- package/clients/bongos-client/index.mjs +2 -0
- package/docs/adr/0233-a-copy-proposal-is-a-task-carrying-a-patch.md +16 -2
- package/docs/adr/0237-a-starter-bundle-is-a-preset-over-the-always-on-core-keyed-by-declared-type.md +137 -0
- package/docs/adr/README.md +1 -0
- package/docs/api/openapi.json +42 -3
- package/docs/api-reference.md +3 -2
- package/docs/module-api-changelog.md +4 -0
- package/modules/copy-desk/proposals.js +13 -0
- package/modules/copy-desk/routes/copy-desk.js +9 -2
- package/modules/copy-desk/tests/copy_proposals.mjs +41 -0
- package/modules/dev-box/app/src/vendor/bongos-client.cjs +2 -0
- package/modules/lifecycle/conflict-resolve.js +59 -3
- package/modules/provisioning/routes/provisioning.js +19 -0
- package/modules/provisioning/starter-bundles.js +159 -0
- package/modules/public-landing/public/assets/cosmos.css +3 -1
- package/package-lock.json +2 -2
- package/package.json +1 -1
- package/scripts/gds/copy-apply.js +54 -4
- package/scripts/gds/git-merge-regen.js +18 -0
- package/src/module-api.js +1 -1
- package/tests/conflict_resolve.mjs +118 -4
- package/tests/git_merge_regen.mjs +128 -2
- package/tests/projects_hub.mjs +13 -0
- package/tests/provisioning_starter_bundles.mjs +268 -0
package/.bongos-core.json
CHANGED
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
"artifact": "bongos-core",
|
|
3
3
|
"manifest_schema": 1,
|
|
4
4
|
"generator": "scripts/gds/package-core.js",
|
|
5
|
-
"core_version": "1.19.
|
|
6
|
-
"core_contract": "1.19.
|
|
7
|
-
"source_commit": "
|
|
5
|
+
"core_version": "1.19.511",
|
|
6
|
+
"core_contract": "1.19.511",
|
|
7
|
+
"source_commit": "3a3d1626dee489511d9d444d6cd3c78620a5fffd",
|
|
8
8
|
"source_ref": "HEAD",
|
|
9
|
-
"built_at": "2026-09-03T18:
|
|
9
|
+
"built_at": "2026-09-03T18:50:51.590Z",
|
|
10
10
|
"redaction": {
|
|
11
11
|
"model": "docs-redacted+functional-verbatim",
|
|
12
|
-
"docs_redacted":
|
|
12
|
+
"docs_redacted": 428,
|
|
13
13
|
"agent_docs_stubbed": 24,
|
|
14
|
-
"functional_verbatim":
|
|
14
|
+
"functional_verbatim": 1951,
|
|
15
15
|
"rules": 3,
|
|
16
16
|
"gate_literals": 3,
|
|
17
17
|
"gate": "passed"
|
|
18
18
|
},
|
|
19
|
-
"file_count":
|
|
20
|
-
"tree_sha256": "
|
|
19
|
+
"file_count": 2403,
|
|
20
|
+
"tree_sha256": "61291b79de3b99190857d7ed49c124e41ac765c57c9ad792cf8cfa1e62f002cb",
|
|
21
21
|
"files": [
|
|
22
22
|
{
|
|
23
23
|
"path": ".claude/skills/blocker-review/SKILL.md",
|
|
@@ -362,12 +362,12 @@
|
|
|
362
362
|
{
|
|
363
363
|
"path": "clients/bongos-client/README.md",
|
|
364
364
|
"mode": "0000644",
|
|
365
|
-
"sha256": "
|
|
365
|
+
"sha256": "146ce9d114ec7d5a90413713b8604843c42eac060dd943648412868e214a1a6e"
|
|
366
366
|
},
|
|
367
367
|
{
|
|
368
368
|
"path": "clients/bongos-client/bongos-client.global.js",
|
|
369
369
|
"mode": "0000644",
|
|
370
|
-
"sha256": "
|
|
370
|
+
"sha256": "0e3fb901fd7110352e0edb686cfd8824d71687b88bd7e42269d0fe855177ac9f"
|
|
371
371
|
},
|
|
372
372
|
{
|
|
373
373
|
"path": "clients/bongos-client/examples/hello-world.mjs",
|
|
@@ -377,17 +377,17 @@
|
|
|
377
377
|
{
|
|
378
378
|
"path": "clients/bongos-client/index.cjs",
|
|
379
379
|
"mode": "0000644",
|
|
380
|
-
"sha256": "
|
|
380
|
+
"sha256": "19f11ecf8c9eda49cd1f2ac2425f1d3d9772ad46495305d9ae4bdeadf4695ea2"
|
|
381
381
|
},
|
|
382
382
|
{
|
|
383
383
|
"path": "clients/bongos-client/index.d.ts",
|
|
384
384
|
"mode": "0000644",
|
|
385
|
-
"sha256": "
|
|
385
|
+
"sha256": "4ced11579608e8fdb481a07b5555c41b3cbf3018cb3a8bd7697fb58368283bf0"
|
|
386
386
|
},
|
|
387
387
|
{
|
|
388
388
|
"path": "clients/bongos-client/index.mjs",
|
|
389
389
|
"mode": "0000644",
|
|
390
|
-
"sha256": "
|
|
390
|
+
"sha256": "3d5868d134bce56923b8f0270fbb2e988dea5b6a5ea1a00b96ff8bcde06bb40e"
|
|
391
391
|
},
|
|
392
392
|
{
|
|
393
393
|
"path": "clients/bongos-client/package.json",
|
|
@@ -1672,7 +1672,7 @@
|
|
|
1672
1672
|
{
|
|
1673
1673
|
"path": "docs/adr/0233-a-copy-proposal-is-a-task-carrying-a-patch.md",
|
|
1674
1674
|
"mode": "0000644",
|
|
1675
|
-
"sha256": "
|
|
1675
|
+
"sha256": "ab2970017b4776ee7d0be1ee22933d86123f57b8935a1f1bb0844e5f367fae07"
|
|
1676
1676
|
},
|
|
1677
1677
|
{
|
|
1678
1678
|
"path": "docs/adr/0234-idea-routing-capture-time-promotion-landing-matrix-homeless-inbox.md",
|
|
@@ -1689,20 +1689,25 @@
|
|
|
1689
1689
|
"mode": "0000644",
|
|
1690
1690
|
"sha256": "87b350049a0ed1b7be0c58fc2ae6ecd18a077b21ca689563a8763f925a37eef6"
|
|
1691
1691
|
},
|
|
1692
|
+
{
|
|
1693
|
+
"path": "docs/adr/0237-a-starter-bundle-is-a-preset-over-the-always-on-core-keyed-by-declared-type.md",
|
|
1694
|
+
"mode": "0000644",
|
|
1695
|
+
"sha256": "10534e533c2c70baf670048fb38e18ddedb36925312806afbae9941a9c958667"
|
|
1696
|
+
},
|
|
1692
1697
|
{
|
|
1693
1698
|
"path": "docs/adr/README.md",
|
|
1694
1699
|
"mode": "0000644",
|
|
1695
|
-
"sha256": "
|
|
1700
|
+
"sha256": "e6b0e3bc8becec5ed9c7384596e205cc5a78e6145da244c8d6d2c1d5a4514380"
|
|
1696
1701
|
},
|
|
1697
1702
|
{
|
|
1698
1703
|
"path": "docs/api-reference.md",
|
|
1699
1704
|
"mode": "0000644",
|
|
1700
|
-
"sha256": "
|
|
1705
|
+
"sha256": "f9a893262b5112e48a8bffa455c8e1a7ce8aed663e34141ef9c48117882a2ad7"
|
|
1701
1706
|
},
|
|
1702
1707
|
{
|
|
1703
1708
|
"path": "docs/api/openapi.json",
|
|
1704
1709
|
"mode": "0000644",
|
|
1705
|
-
"sha256": "
|
|
1710
|
+
"sha256": "ec2d400cae26a7b89f644e978840927fd0fb88fc0b7b94e9f0d00dd19955aaf2"
|
|
1706
1711
|
},
|
|
1707
1712
|
{
|
|
1708
1713
|
"path": "docs/architecture.md",
|
|
@@ -2577,7 +2582,7 @@
|
|
|
2577
2582
|
{
|
|
2578
2583
|
"path": "docs/module-api-changelog.md",
|
|
2579
2584
|
"mode": "0000644",
|
|
2580
|
-
"sha256": "
|
|
2585
|
+
"sha256": "2e35f3f9c7c2c961b5c8274d20202664564cb33d59b046ef4d2e190c15c05afe"
|
|
2581
2586
|
},
|
|
2582
2587
|
{
|
|
2583
2588
|
"path": "docs/modules-contract.md",
|
|
@@ -3692,7 +3697,7 @@
|
|
|
3692
3697
|
{
|
|
3693
3698
|
"path": "modules/copy-desk/proposals.js",
|
|
3694
3699
|
"mode": "0000644",
|
|
3695
|
-
"sha256": "
|
|
3700
|
+
"sha256": "de674674cf2f80fb36569cad67be4f1ba3a94e938b690b8f1d0c96446df346bf"
|
|
3696
3701
|
},
|
|
3697
3702
|
{
|
|
3698
3703
|
"path": "modules/copy-desk/registry.js",
|
|
@@ -3702,7 +3707,7 @@
|
|
|
3702
3707
|
{
|
|
3703
3708
|
"path": "modules/copy-desk/routes/copy-desk.js",
|
|
3704
3709
|
"mode": "0000644",
|
|
3705
|
-
"sha256": "
|
|
3710
|
+
"sha256": "7231f021bb49bd78cb247a6d8e8a0f6e9256ade52f2f9bb1438b54b6ddf400f8"
|
|
3706
3711
|
},
|
|
3707
3712
|
{
|
|
3708
3713
|
"path": "modules/copy-desk/tests/copy_flags.mjs",
|
|
@@ -3717,7 +3722,7 @@
|
|
|
3717
3722
|
{
|
|
3718
3723
|
"path": "modules/copy-desk/tests/copy_proposals.mjs",
|
|
3719
3724
|
"mode": "0000644",
|
|
3720
|
-
"sha256": "
|
|
3725
|
+
"sha256": "e435042dea0436e0f4fa7f2a95b16b8647ff0723290741e26776e76c9d1c6973"
|
|
3721
3726
|
},
|
|
3722
3727
|
{
|
|
3723
3728
|
"path": "modules/copy-desk/tests/copy_queue.mjs",
|
|
@@ -3947,7 +3952,7 @@
|
|
|
3947
3952
|
{
|
|
3948
3953
|
"path": "modules/dev-box/app/src/vendor/bongos-client.cjs",
|
|
3949
3954
|
"mode": "0000644",
|
|
3950
|
-
"sha256": "
|
|
3955
|
+
"sha256": "19f11ecf8c9eda49cd1f2ac2425f1d3d9772ad46495305d9ae4bdeadf4695ea2"
|
|
3951
3956
|
},
|
|
3952
3957
|
{
|
|
3953
3958
|
"path": "modules/dev-box/app/test/unit.mjs",
|
|
@@ -5232,7 +5237,7 @@
|
|
|
5232
5237
|
{
|
|
5233
5238
|
"path": "modules/lifecycle/conflict-resolve.js",
|
|
5234
5239
|
"mode": "0000644",
|
|
5235
|
-
"sha256": "
|
|
5240
|
+
"sha256": "1a281a4233b3805550a05ed6bd38b163ab18db658d48675f055b90d2ba722a16"
|
|
5236
5241
|
},
|
|
5237
5242
|
{
|
|
5238
5243
|
"path": "modules/lifecycle/criterion-suggest.js",
|
|
@@ -5977,7 +5982,12 @@
|
|
|
5977
5982
|
{
|
|
5978
5983
|
"path": "modules/provisioning/routes/provisioning.js",
|
|
5979
5984
|
"mode": "0000644",
|
|
5980
|
-
"sha256": "
|
|
5985
|
+
"sha256": "338e135f492e584aa4539d4a64d7c881b964c9ffa8428ff3359ad96d80b82a5c"
|
|
5986
|
+
},
|
|
5987
|
+
{
|
|
5988
|
+
"path": "modules/provisioning/starter-bundles.js",
|
|
5989
|
+
"mode": "0000644",
|
|
5990
|
+
"sha256": "760382a3e361692f9d8457f88122fda498eb6bccecd37b351837fa5c4fa5e6f4"
|
|
5981
5991
|
},
|
|
5982
5992
|
{
|
|
5983
5993
|
"path": "modules/provisioning/tests/liveness.mjs",
|
|
@@ -6227,7 +6237,7 @@
|
|
|
6227
6237
|
{
|
|
6228
6238
|
"path": "modules/public-landing/public/assets/cosmos.css",
|
|
6229
6239
|
"mode": "0000644",
|
|
6230
|
-
"sha256": "
|
|
6240
|
+
"sha256": "bb2fa6d0a1c87aeb3e08038faf1d3ae0f06a1a41f9fe6d83f357146bc7e73045"
|
|
6231
6241
|
},
|
|
6232
6242
|
{
|
|
6233
6243
|
"path": "modules/public-landing/public/assets/verro-medallion.png",
|
|
@@ -7232,12 +7242,12 @@
|
|
|
7232
7242
|
{
|
|
7233
7243
|
"path": "package-lock.json",
|
|
7234
7244
|
"mode": "0000644",
|
|
7235
|
-
"sha256": "
|
|
7245
|
+
"sha256": "0c5b45784b5275f6c58d456a275a390b6ef111efbcc1fb7653750120a8a84981"
|
|
7236
7246
|
},
|
|
7237
7247
|
{
|
|
7238
7248
|
"path": "package.json",
|
|
7239
7249
|
"mode": "0000644",
|
|
7240
|
-
"sha256": "
|
|
7250
|
+
"sha256": "2605b735d7f5d07c4eb993212d4901e7043138693d4d2bb56492f9fb18c0baf0"
|
|
7241
7251
|
},
|
|
7242
7252
|
{
|
|
7243
7253
|
"path": "public-docs/index.html",
|
|
@@ -7522,7 +7532,7 @@
|
|
|
7522
7532
|
{
|
|
7523
7533
|
"path": "scripts/gds/copy-apply.js",
|
|
7524
7534
|
"mode": "0000644",
|
|
7525
|
-
"sha256": "
|
|
7535
|
+
"sha256": "05326c8016794742acc10a95ae0f1c7b630581231a7f0f86aef449a8c17c2c40"
|
|
7526
7536
|
},
|
|
7527
7537
|
{
|
|
7528
7538
|
"path": "scripts/gds/copy-inventory.js",
|
|
@@ -7752,7 +7762,7 @@
|
|
|
7752
7762
|
{
|
|
7753
7763
|
"path": "scripts/gds/git-merge-regen.js",
|
|
7754
7764
|
"mode": "0000644",
|
|
7755
|
-
"sha256": "
|
|
7765
|
+
"sha256": "f6f9c93faeb589d07105027655e42bd842d8d766119812b16bd534d58aa50816"
|
|
7756
7766
|
},
|
|
7757
7767
|
{
|
|
7758
7768
|
"path": "scripts/gds/go-live.js",
|
|
@@ -8907,7 +8917,7 @@
|
|
|
8907
8917
|
{
|
|
8908
8918
|
"path": "src/module-api.js",
|
|
8909
8919
|
"mode": "0000644",
|
|
8910
|
-
"sha256": "
|
|
8920
|
+
"sha256": "ac752bde3af7292c3b4a1857045652f7d3badf0d1bbdf02cf3fd47f2ac8c40fc"
|
|
8911
8921
|
},
|
|
8912
8922
|
{
|
|
8913
8923
|
"path": "src/module-loader/catalog.js",
|
|
@@ -9502,7 +9512,7 @@
|
|
|
9502
9512
|
{
|
|
9503
9513
|
"path": "tests/conflict_resolve.mjs",
|
|
9504
9514
|
"mode": "0000644",
|
|
9505
|
-
"sha256": "
|
|
9515
|
+
"sha256": "7ad7be450b9350e7888f075944888ddf2a0e2d57a23568f410a9ff17bd340dec"
|
|
9506
9516
|
},
|
|
9507
9517
|
{
|
|
9508
9518
|
"path": "tests/connections_api.mjs",
|
|
@@ -9897,7 +9907,7 @@
|
|
|
9897
9907
|
{
|
|
9898
9908
|
"path": "tests/git_merge_regen.mjs",
|
|
9899
9909
|
"mode": "0000644",
|
|
9900
|
-
"sha256": "
|
|
9910
|
+
"sha256": "f4e7ab5eec2d13404080c408c0a70819c4b398b38fa61474b9c4cc57069d119b"
|
|
9901
9911
|
},
|
|
9902
9912
|
{
|
|
9903
9913
|
"path": "tests/github_push_ancestry.mjs",
|
|
@@ -11102,7 +11112,7 @@
|
|
|
11102
11112
|
{
|
|
11103
11113
|
"path": "tests/projects_hub.mjs",
|
|
11104
11114
|
"mode": "0000644",
|
|
11105
|
-
"sha256": "
|
|
11115
|
+
"sha256": "712e02763f7e9f3e6f4acc17a5a757a4aee11e9234909dcf50923b85679e09e6"
|
|
11106
11116
|
},
|
|
11107
11117
|
{
|
|
11108
11118
|
"path": "tests/projects_hub_pre_uat.mjs",
|
|
@@ -11179,6 +11189,11 @@
|
|
|
11179
11189
|
"mode": "0000644",
|
|
11180
11190
|
"sha256": "1623d2dff20d7b5843f9fd39dd91c35e4a8ebe10b60cf798e01a7fbc4b0202cf"
|
|
11181
11191
|
},
|
|
11192
|
+
{
|
|
11193
|
+
"path": "tests/provisioning_starter_bundles.mjs",
|
|
11194
|
+
"mode": "0000644",
|
|
11195
|
+
"sha256": "0d3dadff4425e8d014cca29c66c31ff094e78ffbf2fd246f56ba11c5e1cefc93"
|
|
11196
|
+
},
|
|
11182
11197
|
{
|
|
11183
11198
|
"path": "tests/provisioning_teardown_intent.mjs",
|
|
11184
11199
|
"mode": "0000644",
|
|
@@ -5,7 +5,7 @@ A **generated**, zero-dependency typed client for the Bongos API — produced fr
|
|
|
5
5
|
by hand; it regenerates when the spec changes, so it can never drift from the routes.
|
|
6
6
|
|
|
7
7
|
- API version: **v1** (served at `/api/bongos/v1`)
|
|
8
|
-
-
|
|
8
|
+
- 346 operations across 53 resource groups
|
|
9
9
|
|
|
10
10
|
## Install
|
|
11
11
|
|
|
@@ -671,6 +671,8 @@ function createClient(opts = {}) {
|
|
|
671
671
|
getProvisioningOnboardPlan: (args) => request("GET", "/provisioning/onboard-plan", { hasBody: false }, args),
|
|
672
672
|
// GET /provisioning/slug-available — rank: any-builder — GET /provisioning/slug-available
|
|
673
673
|
getProvisioningSlugAvailable: (args) => request("GET", "/provisioning/slug-available", { hasBody: false }, args),
|
|
674
|
+
// GET /provisioning/starter-bundles — rank: public — GET /provisioning/starter-bundles
|
|
675
|
+
getProvisioningStarterBundles: (args) => request("GET", "/provisioning/starter-bundles", { hasBody: false }, args),
|
|
674
676
|
// GET /provisioning/tls-check — rank: public — GET /provisioning/tls-check
|
|
675
677
|
getProvisioningTlsCheck: (args) => request("GET", "/provisioning/tls-check", { hasBody: false }, args),
|
|
676
678
|
},
|
|
@@ -670,6 +670,8 @@ function createClient(opts = {}) {
|
|
|
670
670
|
getProvisioningOnboardPlan: (args) => request("GET", "/provisioning/onboard-plan", { hasBody: false }, args),
|
|
671
671
|
// GET /provisioning/slug-available — rank: any-builder — GET /provisioning/slug-available
|
|
672
672
|
getProvisioningSlugAvailable: (args) => request("GET", "/provisioning/slug-available", { hasBody: false }, args),
|
|
673
|
+
// GET /provisioning/starter-bundles — rank: public — GET /provisioning/starter-bundles
|
|
674
|
+
getProvisioningStarterBundles: (args) => request("GET", "/provisioning/starter-bundles", { hasBody: false }, args),
|
|
673
675
|
// GET /provisioning/tls-check — rank: public — GET /provisioning/tls-check
|
|
674
676
|
getProvisioningTlsCheck: (args) => request("GET", "/provisioning/tls-check", { hasBody: false }, args),
|
|
675
677
|
},
|
|
@@ -98,6 +98,7 @@ export interface GetProvisioningInstancesIdSettingsResponse { ok: boolean; setti
|
|
|
98
98
|
export interface GetProvisioningInstancesResponse { instances: unknown }
|
|
99
99
|
export interface GetProvisioningOnboardPlanResponse { mode: unknown; steps: unknown }
|
|
100
100
|
export interface GetProvisioningSlugAvailableResponse { slug: unknown; available: unknown; reason: unknown; address: unknown }
|
|
101
|
+
export interface GetProvisioningStarterBundlesResponse { core: unknown; bundles: unknown }
|
|
101
102
|
export interface GetPublicBlockersIdResponse { blocker: unknown }
|
|
102
103
|
export interface GetPublicBountyTableResponse { table: unknown; currency: unknown }
|
|
103
104
|
export interface GetPublicGradesResponse { window_days: unknown; rolling: unknown; trend: unknown; attempts: unknown; threshold: unknown; grader_version: unknown }
|
|
@@ -981,6 +982,8 @@ export interface BongosClient {
|
|
|
981
982
|
getProvisioningOnboardPlan(args?: RequestArgs): Promise<GetProvisioningOnboardPlanResponse>;
|
|
982
983
|
/** GET /provisioning/slug-available — rank: any-builder */
|
|
983
984
|
getProvisioningSlugAvailable(args?: RequestArgs): Promise<GetProvisioningSlugAvailableResponse>;
|
|
985
|
+
/** GET /provisioning/starter-bundles — rank: public */
|
|
986
|
+
getProvisioningStarterBundles(args?: RequestArgs): Promise<GetProvisioningStarterBundlesResponse>;
|
|
984
987
|
/** GET /provisioning/tls-check — rank: public */
|
|
985
988
|
getProvisioningTlsCheck(args?: RequestArgs): Promise<ApiResponse>;
|
|
986
989
|
};
|
|
@@ -667,6 +667,8 @@ export function createClient(opts = {}) {
|
|
|
667
667
|
getProvisioningOnboardPlan: (args) => request("GET", "/provisioning/onboard-plan", { hasBody: false }, args),
|
|
668
668
|
// GET /provisioning/slug-available — rank: any-builder — GET /provisioning/slug-available
|
|
669
669
|
getProvisioningSlugAvailable: (args) => request("GET", "/provisioning/slug-available", { hasBody: false }, args),
|
|
670
|
+
// GET /provisioning/starter-bundles — rank: public — GET /provisioning/starter-bundles
|
|
671
|
+
getProvisioningStarterBundles: (args) => request("GET", "/provisioning/starter-bundles", { hasBody: false }, args),
|
|
670
672
|
// GET /provisioning/tls-check — rank: public — GET /provisioning/tls-check
|
|
671
673
|
getProvisioningTlsCheck: (args) => request("GET", "/provisioning/tls-check", { hasBody: false }, args),
|
|
672
674
|
},
|
|
@@ -114,7 +114,12 @@ afterwards buys a port widening and a failure mode for a string.
|
|
|
114
114
|
So the bare call, `node scripts/gds/copy-apply.js`, acts on **the task the caller is holding**.
|
|
115
115
|
Holding no claim is a named refusal that says to claim it first. The command may only run under a
|
|
116
116
|
claim — that is the whole feature — and a claim already names a task, so the constraint and the
|
|
117
|
-
ergonomics are the same fact. `--task <id>` remains for someone holding several
|
|
117
|
+
ergonomics are the same fact. `--task <id>` remains for someone holding several — and it is *checked*
|
|
118
|
+
against the same claim list the bare call reads, refusing `claim_not_held` for a task the caller does
|
|
119
|
+
not hold. It shipped unchecked (task 1003493 fixed it): a rule stated in this ADR, in the module's
|
|
120
|
+
`CLAUDE.md` and in the script's own header, enforced on one of its two paths, is the kind of claim
|
|
121
|
+
that rots. The one path with no claim to prove is `--patch-file`, a local JSON patch used by the
|
|
122
|
+
tests, which lands nothing a proposal task authorised.
|
|
118
123
|
|
|
119
124
|
### 7. Proposing is open to every rank, and lands in `backlog`
|
|
120
125
|
|
|
@@ -130,7 +135,16 @@ before anyone can claim it. Landing it `ready` would let anyone with an opinion
|
|
|
130
135
|
## Consequences
|
|
131
136
|
|
|
132
137
|
- **The write surface of `copy-desk` is now three verbs, not two**, and `tests/copy_no_cms.mjs` says so
|
|
133
|
-
in a diff a reviewer can see — which is exactly what R02 built that list for.
|
|
138
|
+
in a diff a reviewer can see — which is exactly what R02 built that list for. To be exact about what
|
|
139
|
+
that test proves (task 1003493): it pins that no route **in this module** can write a rendered
|
|
140
|
+
string, which is narrower than "no route can write a rendered string to production directly". That
|
|
141
|
+
is the right scope for the feature — the module is the write surface this ADR adds — but the wider
|
|
142
|
+
claim is not something a module-scoped test can carry, and reading it as if it were is how a
|
|
143
|
+
no-CMS guarantee quietly becomes an assumption.
|
|
144
|
+
- **A proposal lands only in the version being BUILT.** `proposals.resolveTargetVersion` returns the
|
|
145
|
+
`building` version or `null`, and the route refuses `no_open_version` — there is deliberately no
|
|
146
|
+
"first version in the list" fallback (task 1003493), because that row can be a shipped version, and
|
|
147
|
+
a proposal landing on sealed history is worse than a proposal that was not accepted.
|
|
134
148
|
- **`scripts/gds/copy-apply.js` is the only thing in this feature that writes a surface file**, it is a
|
|
135
149
|
command rather than a route, and the test asserts no file in the module's request path imports it.
|
|
136
150
|
Naming it is fine and required: the task tells its claimer the exact line to run.
|
package/docs/adr/0237-a-starter-bundle-is-a-preset-over-the-always-on-core-keyed-by-declared-type.md
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
# 0237 — A starter bundle is a preset over the always-on core, keyed by the declared project type
|
|
2
|
+
|
|
3
|
+
- **Status:** Accepted
|
|
4
|
+
- **Date:** 2026-09-03
|
|
5
|
+
- **Tasks:** [#1002338](https://cloudbongos.com/builders#/task/1002338) (this decision — BV1.R19)
|
|
6
|
+
- **Goal:** [#1000046](https://cloudbongos.com/builders#/goal/1000046) — Project creation: visibility and
|
|
7
|
+
customization, criterion `proj-module-select` ("during setup a default set of modules is pre-selected…")
|
|
8
|
+
- **Related:** [ADR 0083](<redacted>.md) (the one-way import rule that
|
|
9
|
+
keeps this file pure), [ADR 0107](<redacted>.md) +
|
|
10
|
+
[ADR 0167](<redacted>.md) (the module catalog a bundle names into),
|
|
11
|
+
[ADR 0182](<redacted>.md) D4 (the publish bar a bundle may not join),
|
|
12
|
+
task [#1002772](https://cloudbongos.com/builders#/task/1002772) (the declared project type),
|
|
13
|
+
task [#1002334](https://cloudbongos.com/builders#/task/1002334) (R15, the detail interview)
|
|
14
|
+
|
|
15
|
+
## 1. The problem
|
|
16
|
+
|
|
17
|
+
Criterion `proj-module-select` opens with "during setup a default set of modules is
|
|
18
|
+
pre-selected." Every Cloud Bongos instance already boots with the same always-on
|
|
19
|
+
core — the sixteen `default: true` modules a project cannot sensibly run without —
|
|
20
|
+
so "pre-selected" can only mean the **opt-in** modules layered on top. An owner
|
|
21
|
+
creating their first project has met none of them, and asking them to read a
|
|
22
|
+
twenty-one-row catalog before they have a repo is the version of customization
|
|
23
|
+
that gets skipped.
|
|
24
|
+
|
|
25
|
+
R19 is the data that answers it. R20 ([#1002339](https://cloudbongos.com/builders#/task/1002339))
|
|
26
|
+
renders the picker, R21 searches the catalog, R17/R22 recommend from the interview
|
|
27
|
+
answers, R23 adds modules later — four consumers, one table underneath.
|
|
28
|
+
|
|
29
|
+
## 2. Keyed by the DECLARED type, not by anything inferred
|
|
30
|
+
|
|
31
|
+
The task text (seeded 2026-07-17) names three bundles: *Game / SaaS-Tool /
|
|
32
|
+
Community*. That vocabulary was superseded four weeks later. Task
|
|
33
|
+
[#1002772](https://cloudbongos.com/builders#/task/1002772) settled the closed
|
|
34
|
+
project-type set by owner decision on 2026-08-13 — **`game` · `research` ·
|
|
35
|
+
`business` · `non-profit` · `not-sure`** — and it is the live one: a CHECK on
|
|
36
|
+
`platform_identity_projects.type`, a matching CHECK on
|
|
37
|
+
`provisioning_instances.type`, `PROJECT_TYPES` in both modules, and five buttons in
|
|
38
|
+
the create wizard. "Community" survives, but as a **team shape**
|
|
39
|
+
(`PROJECT_DETAIL_VOCAB.team_shape ∈ solo | small-team | community`), not a project
|
|
40
|
+
type. Bundles key off the shipped vocabulary; the seeded triple is recorded here as
|
|
41
|
+
history so the divergence is not read later as an omission.
|
|
42
|
+
|
|
43
|
+
Two constraints come with that key and neither is negotiable:
|
|
44
|
+
|
|
45
|
+
- **The arrow runs type → modules, never back.** Task 1002772 explicitly rejected
|
|
46
|
+
deriving a project's type from its enabled module set, because flags flip all
|
|
47
|
+
through setup and a half-configured project would show a confidently wrong type.
|
|
48
|
+
- **The interview does not ask a second time.** R15 wrote that into its own
|
|
49
|
+
vocabulary comment: "the module bundle R19 recommends comes off the
|
|
50
|
+
separately-declared `type`, so the interview deliberately does not ask it a
|
|
51
|
+
second time." So R19 adds no key to `PROJECT_DETAIL_VOCAB` and no migration —
|
|
52
|
+
the `detail` jsonb column stays reserved for answers an owner actually gave.
|
|
53
|
+
|
|
54
|
+
`not-sure` and *undeclared* resolve to the same modules (the core, nothing else)
|
|
55
|
+
and are deliberately **not** the same answer: `type` is nullable because every row
|
|
56
|
+
predates the field and must never be back-filled with a guess, so `bundleForProjectType(null)`
|
|
57
|
+
returns `type: null` with its own copy. A picker can tell "the owner said not sure"
|
|
58
|
+
from "nobody asked yet"; conflating them would be the same invention the nullable
|
|
59
|
+
column exists to prevent.
|
|
60
|
+
|
|
61
|
+
## 3. A declaration pinned by a test, not a read of the live catalog
|
|
62
|
+
|
|
63
|
+
The natural implementation is to resolve bundles against
|
|
64
|
+
`src/module-loader/catalog.js` — the one model the hall's Modules tab and
|
|
65
|
+
`bongos module list` both build from, so they cannot drift (ADR 0167). A module may
|
|
66
|
+
not import it: `src/module-api.js` is the only core file a module may require (ADR
|
|
67
|
+
0083's one-way rule) and the doorway exposes no catalog.
|
|
68
|
+
|
|
69
|
+
So `modules/provisioning/starter-bundles.js` **declares** its module keys and stays
|
|
70
|
+
pure — no I/O, no core import, no sibling import — exactly like `onboard-plan.js`
|
|
71
|
+
beside it. The link back to the catalog is a test, not a runtime read:
|
|
72
|
+
`tests/provisioning_starter_bundles.mjs` reads every `modules/*/module.json` off
|
|
73
|
+
disk and fails the build if a bundle names a module that does not exist, if
|
|
74
|
+
`ALWAYS_ON_CORE` drifts from the manifests' `default: true` set, if a bundle names
|
|
75
|
+
an always-on module (a preselect that toggles nothing but reads to the owner as a
|
|
76
|
+
choice), or if it names one of the two hub-only modules. A test is the right
|
|
77
|
+
enforcement point here because the failure is a *build-time* fact — the manifests
|
|
78
|
+
are in the same commit as the declaration — and buying it at runtime would cost the
|
|
79
|
+
purity that lets a script, a route and a test all read the same answer.
|
|
80
|
+
|
|
81
|
+
## 4. What the bundles are, and why they are short
|
|
82
|
+
|
|
83
|
+
| type | bundle (opt-in additions) |
|
|
84
|
+
|---|---|
|
|
85
|
+
| `game` | `dev-box`, `discord` |
|
|
86
|
+
| `research` | `agents` |
|
|
87
|
+
| `business` | `agents`, `dev-box` |
|
|
88
|
+
| `non-profit` | `discord` |
|
|
89
|
+
| `not-sure` | — |
|
|
90
|
+
|
|
91
|
+
Today's opt-in catalog is genuinely three modules wide (`agents`, `dev-box`,
|
|
92
|
+
`discord`; `platform-identity` and `provisioning` are the control plane's own and
|
|
93
|
+
are refused by construction). That is why this is a **declaration and not a rule
|
|
94
|
+
engine** — a bundle grows as the catalog does, and R17/R22 own the layer that
|
|
95
|
+
reasons. A preselect an owner has to audit is worse than none.
|
|
96
|
+
|
|
97
|
+
`dev-box` is preselected on two types despite costing money to *use*: enabling the
|
|
98
|
+
module opens the door, it provisions nothing and bills nothing until a builder asks
|
|
99
|
+
for a box, and the picker toggles it off in one click.
|
|
100
|
+
|
|
101
|
+
## 5. The read surface
|
|
102
|
+
|
|
103
|
+
`GET /provisioning/starter-bundles` returns `{ core, bundles }` — the always-on
|
|
104
|
+
floor once, then every type resolved as
|
|
105
|
+
`{ type, label, summary, core, bundle, modules }`. The whole table in one read,
|
|
106
|
+
because the picker re-preselects as the owner flips the type question and must not
|
|
107
|
+
refetch to do it, and because R17's recommendations and R20's preselect reading the
|
|
108
|
+
same shape is what stops them naming different modules.
|
|
109
|
+
|
|
110
|
+
`rank: public`, the same (absent) gate as `GET /provisioning/onboard-plan` — the
|
|
111
|
+
signed-out wizard reads it while choosing a type, it writes nothing, and the module
|
|
112
|
+
catalog it names into is already public at `GET /public/modules`.
|
|
113
|
+
|
|
114
|
+
## 6. Consequences
|
|
115
|
+
|
|
116
|
+
- **A bundle is never a publish precondition.** [ADR 0182](<redacted>.md)
|
|
117
|
+
D4 fixes the bar at identity alone — a name and a description, "not tagline, art,
|
|
118
|
+
modules, governance, or a completed interview." Taking or declining a bundle
|
|
119
|
+
cannot move a project's dark-matter state.
|
|
120
|
+
- **Nothing is stored yet.** R19 defines and serves; where a chosen selection lands
|
|
121
|
+
is R20's decision, and there is still no module-selection column on any table.
|
|
122
|
+
- **Adding a module to the catalog is now a two-file change** if it belongs in a
|
|
123
|
+
bundle — the manifest and this declaration — and the integrity test says so out
|
|
124
|
+
loud when a manifest flips its `default`.
|
|
125
|
+
|
|
126
|
+
## 7. Rejected
|
|
127
|
+
|
|
128
|
+
- **Resolving against the live catalog at runtime** — costs the purity and breaks
|
|
129
|
+
the one-way rule for a fact that is fixed at build time.
|
|
130
|
+
- **A `bundle` key in `PROJECT_DETAIL_VOCAB`** — R15 already ruled the interview
|
|
131
|
+
must not re-ask what `type` declares.
|
|
132
|
+
- **Inferring the bundle from the free-text description** — that is the deferred
|
|
133
|
+
AI/semantic layer ([#1003500](https://cloudbongos.com/builders#/task/1003500)), and
|
|
134
|
+
the goal's own text pins the near term as rule-based.
|
|
135
|
+
- **Naming the seeded Game / SaaS-Tool / Community triple** — three of those five
|
|
136
|
+
live types would then have no bundle, and two of the three names match nothing an
|
|
137
|
+
owner can pick.
|
package/docs/adr/README.md
CHANGED
|
@@ -324,5 +324,6 @@ This keeps the decision history honest and traceable.
|
|
|
324
324
|
| 0234 | [**Idea routing: capture-time promotion, the landing matrix, and the homeless-only inbox** ([task 1003064](https://cloudbongos.com/builders#/task/1003064) · goal 1000071, "Idea routing"). Idea 1000771 named the failure: Discord `#bugs` created tasks DIRECTLY against a hardcoded, already-shipped version — no `captured_by`, no lineage, so the ideator-credit lane had nothing to pay against — while every other open idea sat waiting for a human triage pass that dropped its promotion into a version catch-all, because nothing in capture ever named a goal. Records what R01/R02/R05/R07/R13 shipped. `captureIdea` (`modules/ideas/inbox.js`) stays the ONE capture chokepoint — routing is one optional `goalId` argument, never a second creation door — and when the matrix routes, `routeIdeaToGoal` writes the idea row, the task (via the `lifecycle.createTask` port) and an `ideas_task_lineage` row (`origin='route'`) in ONE transaction, so a route can never mint attribution-free work the way `#bugs` did. `modules/ideas/routing.js`'s `decideLanding` is PURE and fail-closed: a bug from a Metic+ filer hard-lands `ready`, a sub-Metic bug or any other kind with a goal soft-lands `backlog`, a Full Idea or `criterion-proposal`/`decision` never routes, no goal named stays the pre-routing inbox path. `authorizeRoutedLanding` is the BINDING gate underneath the matrix's decision — a goal reaching protected scope raises the task's rank floor to Metic and REFUSES a sub-Metic filer outright, while membership is deliberately NOT required (reporting isn't authoring). `core_222`'s `suggested_goal_id` is an advisory hint only — the real home is `tasks.goal_id`, set by construction — and `/idea-triage` (`scripts/gds/triage.js`) now sends `goal_id` on promotion, so the inbox is homeless-only. Divergence recorded: R11 (Discord `#bugs`) hard-lands a linked Metic+ builder's bug immediately through the SAME shared matrix rather than the spec's "always soft-land, pending queue" design, because a local copy of the rank split would only drift from the one definition; and R12 (Discord `#ideas` hints) is NOT YET SHIPPED, so `#ideas` carries no goal hint today despite the interview decision that it should, hint-only, never route.](<redacted>.md) | ideas / lifecycle |
|
|
325
325
|
| 0235 | [**A fix category is `kind='bug'` under a goal, not a new column** ([task 1003215](https://cloudbongos.com/builders#/task/1003215) · goal 1000071, "Idea routing" — the structural half of idea 1000828; task 1003214 shipped the advisory's first quiet case, task 1003157 extended it). A fix for something that should already work needs a home under an existing goal WITHOUT a new goal being born and WITHOUT a stored column restating what `tasks.kind` already says. Not a global "Bugs" goal either: a goal spanning every module makes the [ADR 0086](<redacted>.md) scope wall either everything or nothing, and a goal that can never reach `achieved` (a bug container never finishes) pollutes the exact signal [ADR 0183](<redacted>.md)'s auto-satisfy depends on. Not [ADR 0192 "a category orients and authorises nothing"](<redacted>.md) either, despite the structural resemblance: that decision forbids any gate from branching on a goal's category, while THIS decision is two decision surfaces deliberately branching on `kind='bug'` — `adviseGoal()` (`modules/lifecycle/goal-advisory.js`) goes silent for a bug under all three of its reasons (`no_goal`, `catch_all`, `no_criterion_link` — "a fix is the goal's 'fix category', not a delivery against one of its stated outcomes," its own doc comment) and `countTasksWithoutCriterionLink()` (`modules/lifecycle/db-deps-criteria.js`, surfaced on the hall's goal detail view) excludes `kind='bug'` from its count for the same reason. No hall/status change was needed for GROUPING bugs under a goal: every task card already renders its `kind` as a visible tag and the goal detail view's Filters already offer a `Kind` lens with `bug` as a value — verified against the live code, not built new. Rejected: a `tasks.category`/`fix_category` column or enum, a global cross-module "Bugs" goal, a bug-specific grouping widget beside the general-purpose kind facility that already works.](<redacted>.md) | ideas / lifecycle |
|
|
326
326
|
| 0236 | [**Many ideas → one task: the lineage key is the pair** ([task 1003515](https://cloudbongos.com/builders#/task/1003515) · goal 1000071, "Idea routing" — promoted from idea 1000815; the table was built by [task 1002997](https://cloudbongos.com/builders#/task/1002997)). `ideas_task_lineage.task_id` was the PRIMARY KEY on the reasoning that "a task descends from at most one idea", and `linkIdeaTask` wrote `ON CONFLICT (task_id) DO UPDATE SET idea_id = EXCLUDED.idea_id` — so promoting a SECOND idea into a task that already had a link **silently replaced the first idea's lineage**: no error, no warning, no log line. Two ordinary triage promotes at one task were enough, and it happened on prod on 2026-08-21 (ideas 1000811 + 1000812 → task 1003150). Because this table is the rail [ADR 0172](<redacted>.md) stream 1 pays against, an overwritten row is an **ideator not paid** for work their idea produced, with nothing recording it — and it makes merging duplicate reports into one task a LOSSY move, which is the triage the inbox exists to encourage. The R01 grader named this shape and was told it was unreachable; it was unreachable on the ROUTING path examined and fully reachable on the ordinary PROMOTE path. **Decision: many ideas → one task is a real relation, so the key is the pair** — `ideas_006` re-adds `ideas_task_lineage_pkey` as `PRIMARY KEY (task_id, idea_id)` and both INSERT sites `DO UPDATE SET origin`, never `idea_id`. Refusing the second link would turn a legitimate merge into an error; logging the replacement keeps a lossy ledger. **Where one row is still required the EARLIEST link wins** (`ORDER BY created_at, idea_id`, stated in SQL rather than left to the planner): `sourceIdeaForTask`, `credits.awardIdeaTaskShipCredit`, and the nod queue's one-row-per-task predicate — one constant shared by the list and its count, so the pill can never disagree with the rows. Consequences: a task subsumed from N ideas **counts once toward each idea's** shipped-task credit (and cannot double-count within one — the pair is unique); the per-ship payout still names one idea, the earliest, because paying every co-source ideator is a decision about total worth, not a bug fix; the migration **backfills** from `idea_inbox.promoted_to_task_id`, the weaker pointer that survived each overwrite, labelling restored rows `origin='promote'`; and `updateIdea` still swallows a lineage failure but now reports it as a `LINEAGE GAP` through `api.logger` — a silent swallow on top of a silent overwrite was two layers of one mistake.](<redacted>.md) | ideas / economy |
|
|
327
|
+
| 0237 | [**A starter bundle is a preset over the always-on core, keyed by the declared project type** ([task 1002338](https://cloudbongos.com/builders#/task/1002338) · goal 1000046, criterion `proj-module-select`). "During setup a default set of modules is pre-selected" can only mean the OPT-IN modules, since every instance already boots with the same sixteen `default: true` core-domain ones — so a bundle is a short list of opt-in module keys layered on that floor, preselected and freely toggled off by R20's picker ([task 1002339](https://cloudbongos.com/builders#/task/1002339)). **The key is the DECLARED type, and the seeded vocabulary is stale:** the task text (2026-07-17) names *Game / SaaS-Tool / Community*, but task [1002772](https://cloudbongos.com/builders#/task/1002772)'s owner decision (2026-08-13) fixed the live closed set as `game · research · business · non-profit · not-sure` — two CHECK constraints, two `PROJECT_TYPES` constants and five wizard buttons — and "community" survives only as a `team_shape`. Two constraints ride the key: the arrow runs **type → modules, never back** (1002772 rejected inferring type from module flags, which flip all through setup), and the R15 interview must **not re-ask** what `type` declares, so R19 adds no `PROJECT_DETAIL_VOCAB` key and no migration. `not-sure` and *undeclared* resolve to the same modules but are deliberately different answers — `type` is nullable precisely so "nobody said" is never back-filled with a guess, and the resolver returns `type: null` with its own copy. **The declaration is pinned by a test, not a runtime catalog read:** a module may not import `src/module-loader/catalog.js` (the one-way rule, [ADR 0083](<redacted>.md)), so `modules/provisioning/starter-bundles.js` stays PURE like `onboard-plan.js` beside it and `tests/provisioning_starter_bundles.mjs` reads every `modules/*/module.json` off disk — failing the build if a bundle names a module that does not exist, if `ALWAYS_ON_CORE` drifts from the manifests' `default: true` set, if a bundle names an always-on module (a preselect that toggles nothing), or if it names one of the two hub-only modules. The bundles are `game → dev-box, discord`; `research → agents`; `business → agents, dev-box`; `non-profit → discord`; `not-sure → —`, and they are SHORT because today's opt-in catalog is three modules wide and a preselect an owner must audit is worse than none. Served whole at public `GET /provisioning/starter-bundles` (`{ core, bundles }`, same absent gate as `onboard-plan`) so the picker re-preselects without a refetch and R17's recommendations read the same shape. A bundle is **never a publish precondition** — [ADR 0182](<redacted>.md) D4 fixes that bar at name + description alone. Rejected: a runtime catalog read, a `bundle` key in the interview vocabulary, inferring the bundle from the description (the deferred AI layer, [task 1003500](https://cloudbongos.com/builders#/task/1003500)), and keeping the seeded Game/SaaS-Tool/Community triple.](<redacted>.md) | provisioning / project creation |
|
|
327
328
|
|
|
328
329
|
> ⚠️ **Numbering collisions are now machine-enforced, not narrated.** Twenty numbers are shared by two ADRs each — assigned in parallel sessions before anything checked. The files keep their filenames (renumbering would break every existing citation, and a number once assigned is never reused), and this table disambiguates each pair as `NNNN-a` / `NNNN-b`. The authoritative list is `LEGACY_DUPLICATE_ADRS` in [`scripts/gds/adr-namespace.js`](../../scripts/gds/adr-namespace.js), frozen by exact filename: a **new** collision — or a third file joining a legacy number, or a rename of either half — hard-fails the `unit` CI gate, as does an index row that points at no file or an ADR with no row. The list may only shrink. This paragraph used to narrate the collisions one by one and had fallen eight behind reality; see [ADR 0195](<redacted>.md) for why the check exists and why the pairs are grandfathered rather than renumbered.
|
package/docs/api/openapi.json
CHANGED
|
@@ -11728,6 +11728,34 @@
|
|
|
11728
11728
|
]
|
|
11729
11729
|
}
|
|
11730
11730
|
},
|
|
11731
|
+
"/provisioning/starter-bundles": {
|
|
11732
|
+
"get": {
|
|
11733
|
+
"operationId": "get_provisioning_starter_bundles",
|
|
11734
|
+
"tags": [
|
|
11735
|
+
"provisioning"
|
|
11736
|
+
],
|
|
11737
|
+
"summary": "GET /provisioning/starter-bundles",
|
|
11738
|
+
"description": "GET /provisioning/starter-bundles — the curated module preset for each declared project type (BV1.R19, task 1002338; goal 1000046 criterion `proj-module-select`). Returns the always-on core once, then one resolved bundle per type: `{ type, label, summary, core, bundle, modules }`. The whole table in one read, because the creation picker (R20, task 1002339) re-preselects as the owner flips the type question and must not refetch to do it; R17's rule engine reads the same shape so a recommendation and a preselect can never name different modules. A DECLARATION, not a query — modules/provisioning/starter-bundles.js is pure, so this route touches no database and no per-request state. rank: public — the signed-out hub wizard (/projects?view=new) reads it while choosing a type, exactly like onboard-plan above; no write, no secret, and the module catalog it names is already public at GET /public/modules.\n\n**Rank:** `public` — No authentication — any caller.",
|
|
11739
|
+
"x-rank": "public",
|
|
11740
|
+
"x-source": "modules/provisioning/routes/provisioning.js",
|
|
11741
|
+
"responses": {
|
|
11742
|
+
"200": {
|
|
11743
|
+
"description": "Success.",
|
|
11744
|
+
"content": {
|
|
11745
|
+
"application/json": {
|
|
11746
|
+
"schema": {
|
|
11747
|
+
"$ref": "#/components/schemas/GetProvisioningStarterBundlesResponse"
|
|
11748
|
+
}
|
|
11749
|
+
}
|
|
11750
|
+
}
|
|
11751
|
+
},
|
|
11752
|
+
"400": {
|
|
11753
|
+
"$ref": "#/components/responses/BadRequest"
|
|
11754
|
+
}
|
|
11755
|
+
},
|
|
11756
|
+
"security": []
|
|
11757
|
+
}
|
|
11758
|
+
},
|
|
11731
11759
|
"/provisioning/tls-check": {
|
|
11732
11760
|
"get": {
|
|
11733
11761
|
"operationId": "get_provisioning_tls_check",
|
|
@@ -16984,6 +17012,17 @@
|
|
|
16984
17012
|
"address"
|
|
16985
17013
|
]
|
|
16986
17014
|
},
|
|
17015
|
+
"GetProvisioningStarterBundlesResponse": {
|
|
17016
|
+
"type": "object",
|
|
17017
|
+
"properties": {
|
|
17018
|
+
"core": {},
|
|
17019
|
+
"bundles": {}
|
|
17020
|
+
},
|
|
17021
|
+
"required": [
|
|
17022
|
+
"core",
|
|
17023
|
+
"bundles"
|
|
17024
|
+
]
|
|
17025
|
+
},
|
|
16987
17026
|
"GetPublicBlockersIdResponse": {
|
|
16988
17027
|
"type": "object",
|
|
16989
17028
|
"properties": {
|
|
@@ -21758,9 +21797,9 @@
|
|
|
21758
21797
|
"description": "A required dependency/feature is not configured or is temporarily down."
|
|
21759
21798
|
}
|
|
21760
21799
|
},
|
|
21761
|
-
"x-endpoint-count":
|
|
21762
|
-
"x-schema-count":
|
|
21800
|
+
"x-endpoint-count": 346,
|
|
21801
|
+
"x-schema-count": 378,
|
|
21763
21802
|
"x-undocumented-bodies": 9,
|
|
21764
|
-
"x-response-schemas":
|
|
21803
|
+
"x-response-schemas": 258,
|
|
21765
21804
|
"x-generated-by": "scripts/gds/gen-api-docs.js"
|
|
21766
21805
|
}
|
package/docs/api-reference.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Bongos API reference
|
|
4
4
|
|
|
5
|
-
> **Generated from the live route files** — the route file is authoritative.
|
|
5
|
+
> **Generated from the live route files** — the route file is authoritative. 346 endpoints across 56 route files.
|
|
6
6
|
> Machine-readable spec: [`docs/api/openapi.json`](api/openapi.json) (OpenAPI 3.1). Rendered docs site: **`/docs`** (e.g. `cloudbongos.com/docs`).
|
|
7
7
|
|
|
8
8
|
Base path: `/api/bongos`. Ranks (enforced server-side, [ADR 0016](adr/<redacted>.md)): `public` < `any-builder` < `metic+archon` < `archon`.
|
|
@@ -442,7 +442,7 @@ Base path: `/api/bongos`. Ranks (enforced server-side, [ADR 0016](adr/<redacted>
|
|
|
442
442
|
| GET | `/api/bongos/projects/featured` | `public` | — | a curated public showcase; no auth by design. |
|
|
443
443
|
| POST | `/api/bongos/projects/invite` | `metic+archon` | `client_id`, `github_login` | invite a builder into a project (ADR 0141 §5, task #1002115). |
|
|
444
444
|
|
|
445
|
-
## `provisioning` (
|
|
445
|
+
## `provisioning` (20)
|
|
446
446
|
|
|
447
447
|
| Method | Path | Rank | Body | Description |
|
|
448
448
|
|---|---|---|---|---|
|
|
@@ -464,6 +464,7 @@ Base path: `/api/bongos`. Ranks (enforced server-side, [ADR 0016](adr/<redacted>
|
|
|
464
464
|
| POST | `/api/bongos/provisioning/instances/:id/teardown` | `any-builder` | — | POST /provisioning/instances/:id/teardown — request teardown of the caller's OWN instance. |
|
|
465
465
|
| GET | `/api/bongos/provisioning/onboard-plan` | `public` | — | GET /provisioning/onboard-plan?mode=greenfield\|adopt&domain=<host> — the CANONICAL onboarding step sequence (task 2085; goal 35 / criteri… |
|
|
466
466
|
| GET | `/api/bongos/provisioning/slug-available` | `any-builder` | — | GET /provisioning/slug-available?slug=<handle> — is this handle free to create under? rank: any authenticated builder (same gate as the c… |
|
|
467
|
+
| GET | `/api/bongos/provisioning/starter-bundles` | `public` | — | GET /provisioning/starter-bundles — the curated module preset for each declared project type (BV1.R19, task 1002338; goal 1000046 criteri… |
|
|
467
468
|
| GET | `/api/bongos/provisioning/tls-check` | `public` | — | GET /provisioning/tls-check?domain=<host> — the Caddy on-demand-TLS ALLOW-LIST (ADR 0111 §4, task P4 task 1945). |
|
|
468
469
|
|
|
469
470
|
## `public` (18)
|
|
@@ -1455,5 +1455,9 @@ is load-bearing: the script throws rather than guess if it is missing, and
|
|
|
1455
1455
|
landed since 1.19.507 with no explicit bump. run 33790206682. (task 1002620)
|
|
1456
1456
|
1.19.509 — CI auto-patch (publish-on-merge, ADR 0161): carrier for merges
|
|
1457
1457
|
landed since 1.19.508 with no explicit bump. run 33790542026. (task 1002620)
|
|
1458
|
+
1.19.510 — CI auto-patch (publish-on-merge, ADR 0161): carrier for merges
|
|
1459
|
+
landed since 1.19.509 with no explicit bump. run 33791237400. (task 1002620)
|
|
1460
|
+
1.19.511 — CI auto-patch (publish-on-merge, ADR 0161): carrier for merges
|
|
1461
|
+
landed since 1.19.510 with no explicit bump. run 33792868990. (task 1002620)
|
|
1458
1462
|
---------------------------------------------------------------------------
|
|
1459
1463
|
```
|