@bongos/core 1.20.61 → 1.20.62
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 +80 -35
- 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 +5 -1
- package/clients/bongos-client/index.mjs +2 -0
- package/docs/adr/0357-the-update-rule-set-on-deploy-is-the-one-the-sweep-follows.md +2 -0
- package/docs/api/openapi.json +96 -3
- package/docs/api-reference.md +4 -3
- package/docs/copy-inventory.md +372 -324
- package/docs/copy-registry.json +881 -417
- package/docs/module-api-changelog.md +2 -0
- package/docs/page-inventory.json +4 -1
- package/docs/page-readings.json +544 -481
- package/docs/recipes/upgrading-the-core.md +30 -1
- package/modules/provisioning/demo.js +176 -0
- package/modules/provisioning/migrations/provisioning_035_demo.sql +26 -0
- package/modules/provisioning/module.json +5 -3
- package/modules/provisioning/pollers/demo-archive.js +61 -0
- package/modules/provisioning/provisioning.js +2 -2
- package/modules/provisioning/routes/demo.js +54 -0
- package/modules/provisioning/routes/provisioning.js +7 -4
- package/modules/public-landing/public/projects-demo.states.json +53 -0
- package/modules/public-landing/public/projects.html +300 -23
- package/modules/public-landing/public/projects.probes.json +3 -3
- package/modules/public-landing/public/projects.states.json +2 -1
- package/modules/ui-design/kit/fixtures/provisioning-instances-demo.json +114 -0
- package/package-lock.json +2 -2
- package/package.json +1 -1
- package/release-notes.json +14 -0
- package/scripts/gds/update-channel.js +11 -2
- package/scripts/gds/update-sweep.js +717 -0
- package/src/module-api.js +1 -1
- package/tests/update_channel_db.mjs +13 -6
- package/tests/update_subscription_engine.mjs +5 -5
- package/tests/update_sweep_home.mjs +100 -0
- package/tests/wizard_demo.mjs +264 -0
- package/tests/wizard_front_door.mjs +16 -20
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.20.
|
|
6
|
-
"core_contract": "1.20.
|
|
7
|
-
"source_commit": "
|
|
5
|
+
"core_version": "1.20.62",
|
|
6
|
+
"core_contract": "1.20.62",
|
|
7
|
+
"source_commit": "38acba884eac9c41b8648a84e81fd1bf405afa4f",
|
|
8
8
|
"source_ref": "HEAD",
|
|
9
|
-
"built_at": "2026-10-01T10:
|
|
9
|
+
"built_at": "2026-10-01T10:28:21.912Z",
|
|
10
10
|
"redaction": {
|
|
11
11
|
"model": "docs-redacted+functional-verbatim",
|
|
12
12
|
"docs_redacted": 572,
|
|
13
13
|
"agent_docs_stubbed": 27,
|
|
14
|
-
"functional_verbatim":
|
|
14
|
+
"functional_verbatim": 2790,
|
|
15
15
|
"rules": 3,
|
|
16
16
|
"gate_literals": 3,
|
|
17
17
|
"gate": "passed"
|
|
18
18
|
},
|
|
19
|
-
"file_count":
|
|
20
|
-
"tree_sha256": "
|
|
19
|
+
"file_count": 3390,
|
|
20
|
+
"tree_sha256": "b152eccd4354d5a51a47a32cbe58eddabe889dcdc3771178d70814e05f61c58c",
|
|
21
21
|
"files": [
|
|
22
22
|
{
|
|
23
23
|
"path": ".claude/skills/ask-for-help/SKILL.md",
|
|
@@ -317,12 +317,12 @@
|
|
|
317
317
|
{
|
|
318
318
|
"path": "clients/bongos-client/README.md",
|
|
319
319
|
"mode": "0000644",
|
|
320
|
-
"sha256": "
|
|
320
|
+
"sha256": "87352a8f884ec57b9263ac7596f8c66a5f353b633658304f2b531d31b9cf9b44"
|
|
321
321
|
},
|
|
322
322
|
{
|
|
323
323
|
"path": "clients/bongos-client/bongos-client.global.js",
|
|
324
324
|
"mode": "0000644",
|
|
325
|
-
"sha256": "
|
|
325
|
+
"sha256": "0a2e5d5157aeecb5ba74d68533e8267bc733f06eff2a72025c2fefce196c4c4e"
|
|
326
326
|
},
|
|
327
327
|
{
|
|
328
328
|
"path": "clients/bongos-client/examples/hello-world.mjs",
|
|
@@ -332,17 +332,17 @@
|
|
|
332
332
|
{
|
|
333
333
|
"path": "clients/bongos-client/index.cjs",
|
|
334
334
|
"mode": "0000644",
|
|
335
|
-
"sha256": "
|
|
335
|
+
"sha256": "1b62998873e5e55e5ddd827b48b4698e851859c667f2993d2552b79fae4e9009"
|
|
336
336
|
},
|
|
337
337
|
{
|
|
338
338
|
"path": "clients/bongos-client/index.d.ts",
|
|
339
339
|
"mode": "0000644",
|
|
340
|
-
"sha256": "
|
|
340
|
+
"sha256": "425cfa53b1e0bf7d7ff08675e7732312fe14e6b6bf84bb3d627beffbebbd73ad"
|
|
341
341
|
},
|
|
342
342
|
{
|
|
343
343
|
"path": "clients/bongos-client/index.mjs",
|
|
344
344
|
"mode": "0000644",
|
|
345
|
-
"sha256": "
|
|
345
|
+
"sha256": "1a73be7803ba716ee5e03cdffdb807d2700d8cd398ce4f22a07a3fe809c3aa76"
|
|
346
346
|
},
|
|
347
347
|
{
|
|
348
348
|
"path": "clients/bongos-client/package.json",
|
|
@@ -2247,7 +2247,7 @@
|
|
|
2247
2247
|
{
|
|
2248
2248
|
"path": "docs/adr/0357-the-update-rule-set-on-deploy-is-the-one-the-sweep-follows.md",
|
|
2249
2249
|
"mode": "0000644",
|
|
2250
|
-
"sha256": "
|
|
2250
|
+
"sha256": "9568e163768299f434d73ef57b6083114f59f54b6d8c9771adb1a0b6abf471cf"
|
|
2251
2251
|
},
|
|
2252
2252
|
{
|
|
2253
2253
|
"path": "docs/adr/0358-a-hall-wears-a-look-and-its-night-takes-a-tint.md",
|
|
@@ -2262,12 +2262,12 @@
|
|
|
2262
2262
|
{
|
|
2263
2263
|
"path": "docs/api-reference.md",
|
|
2264
2264
|
"mode": "0000644",
|
|
2265
|
-
"sha256": "
|
|
2265
|
+
"sha256": "630d2344ea6f8a380f99022dfab1d2c4a79b2c1804259f42f6954cb769536407"
|
|
2266
2266
|
},
|
|
2267
2267
|
{
|
|
2268
2268
|
"path": "docs/api/openapi.json",
|
|
2269
2269
|
"mode": "0000644",
|
|
2270
|
-
"sha256": "
|
|
2270
|
+
"sha256": "bbfc9546a939b4472a734d121f4db659667ad2e647e005b882a7a7c76589a287"
|
|
2271
2271
|
},
|
|
2272
2272
|
{
|
|
2273
2273
|
"path": "docs/architecture.md",
|
|
@@ -2292,12 +2292,12 @@
|
|
|
2292
2292
|
{
|
|
2293
2293
|
"path": "docs/copy-inventory.md",
|
|
2294
2294
|
"mode": "0000644",
|
|
2295
|
-
"sha256": "
|
|
2295
|
+
"sha256": "787cd75e8ff90d5c0f0b1f14141a5f12d2101379192a26040066707b21980747"
|
|
2296
2296
|
},
|
|
2297
2297
|
{
|
|
2298
2298
|
"path": "docs/copy-registry.json",
|
|
2299
2299
|
"mode": "0000644",
|
|
2300
|
-
"sha256": "
|
|
2300
|
+
"sha256": "adf4a052f6fc6a9065c54cd02abed6725c5d56b7c17eee8a54ad369f78f078fc"
|
|
2301
2301
|
},
|
|
2302
2302
|
{
|
|
2303
2303
|
"path": "docs/design/apex-pass-2-direction.md",
|
|
@@ -2802,7 +2802,7 @@
|
|
|
2802
2802
|
{
|
|
2803
2803
|
"path": "docs/module-api-changelog.md",
|
|
2804
2804
|
"mode": "0000644",
|
|
2805
|
-
"sha256": "
|
|
2805
|
+
"sha256": "6ba77376f4f8ea0daa6090fe16135a131e9b90b8c5d3559c5932db2bab541016"
|
|
2806
2806
|
},
|
|
2807
2807
|
{
|
|
2808
2808
|
"path": "docs/modules-contract.md",
|
|
@@ -2887,12 +2887,12 @@
|
|
|
2887
2887
|
{
|
|
2888
2888
|
"path": "docs/page-inventory.json",
|
|
2889
2889
|
"mode": "0000644",
|
|
2890
|
-
"sha256": "
|
|
2890
|
+
"sha256": "f18cea3a73ad3f88f57dabb5562bc9ef8a84a882b1d7f7a99375a53259785d38"
|
|
2891
2891
|
},
|
|
2892
2892
|
{
|
|
2893
2893
|
"path": "docs/page-readings.json",
|
|
2894
2894
|
"mode": "0000644",
|
|
2895
|
-
"sha256": "
|
|
2895
|
+
"sha256": "186fe20dbcfecd7bdeefc5fcdd2aecbe5eab805145d6a36b82c0fe7b2d1d388a"
|
|
2896
2896
|
},
|
|
2897
2897
|
{
|
|
2898
2898
|
"path": "docs/project-context.template.md",
|
|
@@ -3057,7 +3057,7 @@
|
|
|
3057
3057
|
{
|
|
3058
3058
|
"path": "docs/recipes/upgrading-the-core.md",
|
|
3059
3059
|
"mode": "0000644",
|
|
3060
|
-
"sha256": "
|
|
3060
|
+
"sha256": "dfb8a97fc8955bdea090dcb673c0a1b8ea890ae1aa15dff1d22a5db8d0477429"
|
|
3061
3061
|
},
|
|
3062
3062
|
{
|
|
3063
3063
|
"path": "docs/recipes/windows-builders.md",
|
|
@@ -7734,6 +7734,11 @@
|
|
|
7734
7734
|
"mode": "0000644",
|
|
7735
7735
|
"sha256": "83e174333fbe6a2e9d11b46bfd5755fbd6314b1ccd09d8b8cefb01973a69fc37"
|
|
7736
7736
|
},
|
|
7737
|
+
{
|
|
7738
|
+
"path": "modules/provisioning/demo.js",
|
|
7739
|
+
"mode": "0000644",
|
|
7740
|
+
"sha256": "c79ebfafd1bec36e968c287e521eb47e10560bfa1dea51a0d412e1ae6aa94e3c"
|
|
7741
|
+
},
|
|
7737
7742
|
{
|
|
7738
7743
|
"path": "modules/provisioning/disconnect.js",
|
|
7739
7744
|
"mode": "0000644",
|
|
@@ -7929,10 +7934,15 @@
|
|
|
7929
7934
|
"mode": "0000644",
|
|
7930
7935
|
"sha256": "ee9911846df8d47bd1152996c6e6497831daefb5e5647c4fb22c91be78fce2c2"
|
|
7931
7936
|
},
|
|
7937
|
+
{
|
|
7938
|
+
"path": "modules/provisioning/migrations/provisioning_035_demo.sql",
|
|
7939
|
+
"mode": "0000644",
|
|
7940
|
+
"sha256": "d5eeedcd23121a7db92d0a20986c75866d195523a8467a66df4e6cc7d1c3db22"
|
|
7941
|
+
},
|
|
7932
7942
|
{
|
|
7933
7943
|
"path": "modules/provisioning/module.json",
|
|
7934
7944
|
"mode": "0000644",
|
|
7935
|
-
"sha256": "
|
|
7945
|
+
"sha256": "f5de0b6e3b30f853d3623e0b88c605ddbae3c0e0898575d4d617bd27500d69ec"
|
|
7936
7946
|
},
|
|
7937
7947
|
{
|
|
7938
7948
|
"path": "modules/provisioning/onboard-plan.js",
|
|
@@ -7959,6 +7969,11 @@
|
|
|
7959
7969
|
"mode": "0000644",
|
|
7960
7970
|
"sha256": "bf4a392ce4c545feb246b818ad2b37dd5e92050538d5202fb8980941d0ec52c9"
|
|
7961
7971
|
},
|
|
7972
|
+
{
|
|
7973
|
+
"path": "modules/provisioning/pollers/demo-archive.js",
|
|
7974
|
+
"mode": "0000644",
|
|
7975
|
+
"sha256": "fb47238eac4aef12ca1e30f4c95af8f1b705fbf0158378e7926e048b79fec6a7"
|
|
7976
|
+
},
|
|
7962
7977
|
{
|
|
7963
7978
|
"path": "modules/provisioning/pollers/liveness-notify.js",
|
|
7964
7979
|
"mode": "0000644",
|
|
@@ -7977,7 +7992,7 @@
|
|
|
7977
7992
|
{
|
|
7978
7993
|
"path": "modules/provisioning/provisioning.js",
|
|
7979
7994
|
"mode": "0000644",
|
|
7980
|
-
"sha256": "
|
|
7995
|
+
"sha256": "99c89cd077446d601eedb9f4c403228962c89ba9e991c7b22cf48de777194db3"
|
|
7981
7996
|
},
|
|
7982
7997
|
{
|
|
7983
7998
|
"path": "modules/provisioning/public-refusal.js",
|
|
@@ -8024,6 +8039,11 @@
|
|
|
8024
8039
|
"mode": "0000644",
|
|
8025
8040
|
"sha256": "980f25a157dfde5bda6ed903c727fab944b922abdc34be05dc0ccdb5fb3650cc"
|
|
8026
8041
|
},
|
|
8042
|
+
{
|
|
8043
|
+
"path": "modules/provisioning/routes/demo.js",
|
|
8044
|
+
"mode": "0000644",
|
|
8045
|
+
"sha256": "142e64536d3d23f081249b8898afadfe4d3e69a0f22425a7664b25003de92541"
|
|
8046
|
+
},
|
|
8027
8047
|
{
|
|
8028
8048
|
"path": "modules/provisioning/routes/disconnect.js",
|
|
8029
8049
|
"mode": "0000644",
|
|
@@ -8042,7 +8062,7 @@
|
|
|
8042
8062
|
{
|
|
8043
8063
|
"path": "modules/provisioning/routes/provisioning.js",
|
|
8044
8064
|
"mode": "0000644",
|
|
8045
|
-
"sha256": "
|
|
8065
|
+
"sha256": "d0efd18cd1774d02434b974ee4214bb310fd2392170d3767e0e17bdc4b76cb77"
|
|
8046
8066
|
},
|
|
8047
8067
|
{
|
|
8048
8068
|
"path": "modules/provisioning/routes/render-standup.js",
|
|
@@ -8704,6 +8724,11 @@
|
|
|
8704
8724
|
"mode": "0000644",
|
|
8705
8725
|
"sha256": "ed91b3f8410daea0273cbaeaa9afe08ee212093ef76b3d2961bfe419a93712f1"
|
|
8706
8726
|
},
|
|
8727
|
+
{
|
|
8728
|
+
"path": "modules/public-landing/public/projects-demo.states.json",
|
|
8729
|
+
"mode": "0000644",
|
|
8730
|
+
"sha256": "829b6cd756d34ab4e2590681f3071447d102381ac46f4953d89bd4aaa438b6b1"
|
|
8731
|
+
},
|
|
8707
8732
|
{
|
|
8708
8733
|
"path": "modules/public-landing/public/projects-empty.states.json",
|
|
8709
8734
|
"mode": "0000644",
|
|
@@ -8717,17 +8742,17 @@
|
|
|
8717
8742
|
{
|
|
8718
8743
|
"path": "modules/public-landing/public/projects.html",
|
|
8719
8744
|
"mode": "0000644",
|
|
8720
|
-
"sha256": "
|
|
8745
|
+
"sha256": "cb725d5bbdedf22f8404eb5ebd67a4c0195a98847785fec4e2e3582739682ec0"
|
|
8721
8746
|
},
|
|
8722
8747
|
{
|
|
8723
8748
|
"path": "modules/public-landing/public/projects.probes.json",
|
|
8724
8749
|
"mode": "0000644",
|
|
8725
|
-
"sha256": "
|
|
8750
|
+
"sha256": "0495d05bc905faf1f0ef669d3403c4de656f9e8c2784cdae4e439a70185c8ac6"
|
|
8726
8751
|
},
|
|
8727
8752
|
{
|
|
8728
8753
|
"path": "modules/public-landing/public/projects.states.json",
|
|
8729
8754
|
"mode": "0000644",
|
|
8730
|
-
"sha256": "
|
|
8755
|
+
"sha256": "73fbf81a0608fd266fd8389fcc1f6edba48eaccfd04c8b43068eaed3cc7dc8de"
|
|
8731
8756
|
},
|
|
8732
8757
|
{
|
|
8733
8758
|
"path": "modules/public-landing/public/terms.html",
|
|
@@ -9244,6 +9269,11 @@
|
|
|
9244
9269
|
"mode": "0000644",
|
|
9245
9270
|
"sha256": "ffa63e050308f9d65960c8b38a0abe17d987cf948f2d0b099ca58e0014a95bbf"
|
|
9246
9271
|
},
|
|
9272
|
+
{
|
|
9273
|
+
"path": "modules/ui-design/kit/fixtures/provisioning-instances-demo.json",
|
|
9274
|
+
"mode": "0000644",
|
|
9275
|
+
"sha256": "c3c66d05a94a71937a43bcf15d7de187d085c213ad161ff4f84d6094bed377ba"
|
|
9276
|
+
},
|
|
9247
9277
|
{
|
|
9248
9278
|
"path": "modules/ui-design/kit/fixtures/provisioning-instances-empty.json",
|
|
9249
9279
|
"mode": "0000644",
|
|
@@ -9417,12 +9447,12 @@
|
|
|
9417
9447
|
{
|
|
9418
9448
|
"path": "package-lock.json",
|
|
9419
9449
|
"mode": "0000644",
|
|
9420
|
-
"sha256": "
|
|
9450
|
+
"sha256": "8d6ab41ffe14567ae2027926260eda90e96ffb4c98737f1e14409c699003aab3"
|
|
9421
9451
|
},
|
|
9422
9452
|
{
|
|
9423
9453
|
"path": "package.json",
|
|
9424
9454
|
"mode": "0000644",
|
|
9425
|
-
"sha256": "
|
|
9455
|
+
"sha256": "185364d802ce214a78623d07f59be243499b5f854efe3447a62c2dc023f7fa1e"
|
|
9426
9456
|
},
|
|
9427
9457
|
{
|
|
9428
9458
|
"path": "public-docs/index.html",
|
|
@@ -9442,7 +9472,7 @@
|
|
|
9442
9472
|
{
|
|
9443
9473
|
"path": "release-notes.json",
|
|
9444
9474
|
"mode": "0000644",
|
|
9445
|
-
"sha256": "
|
|
9475
|
+
"sha256": "2d0a6e7f73b17f7eae1cdd2e621ae2880082141195a1cfd0bfe88d6eaa879622"
|
|
9446
9476
|
},
|
|
9447
9477
|
{
|
|
9448
9478
|
"path": "scripts/bongos-mcp.js",
|
|
@@ -11082,7 +11112,12 @@
|
|
|
11082
11112
|
{
|
|
11083
11113
|
"path": "scripts/gds/update-channel.js",
|
|
11084
11114
|
"mode": "0000644",
|
|
11085
|
-
"sha256": "
|
|
11115
|
+
"sha256": "41f23f17789e9d02ff4885b9fb74e24f6b903fb1b9ff89a54e822306806096f0"
|
|
11116
|
+
},
|
|
11117
|
+
{
|
|
11118
|
+
"path": "scripts/gds/update-sweep.js",
|
|
11119
|
+
"mode": "0000644",
|
|
11120
|
+
"sha256": "bd9513492975cd50a8e6ad45d387afba91efa78c94f3ad251ddc3bbca69aff23"
|
|
11086
11121
|
},
|
|
11087
11122
|
{
|
|
11088
11123
|
"path": "scripts/gds/upgrade-artist-gate.js",
|
|
@@ -11617,7 +11652,7 @@
|
|
|
11617
11652
|
{
|
|
11618
11653
|
"path": "src/module-api.js",
|
|
11619
11654
|
"mode": "0000644",
|
|
11620
|
-
"sha256": "
|
|
11655
|
+
"sha256": "46631e7f30bf1f9056e310e5ebf8cb0c88001eb043a93a725be8513638e90ac6"
|
|
11621
11656
|
},
|
|
11622
11657
|
{
|
|
11623
11658
|
"path": "src/module-loader/catalog.js",
|
|
@@ -16722,12 +16757,17 @@
|
|
|
16722
16757
|
{
|
|
16723
16758
|
"path": "tests/update_channel_db.mjs",
|
|
16724
16759
|
"mode": "0000644",
|
|
16725
|
-
"sha256": "
|
|
16760
|
+
"sha256": "7e2ac6e3aef93636db7542e0a2c6af7337b1d62aa5e5db4a7e0c56451f994193"
|
|
16726
16761
|
},
|
|
16727
16762
|
{
|
|
16728
16763
|
"path": "tests/update_subscription_engine.mjs",
|
|
16729
16764
|
"mode": "0000644",
|
|
16730
|
-
"sha256": "
|
|
16765
|
+
"sha256": "6e0f160998cf026c02df6f82492ea430300ce7142b42dde3fd200c20164ddf1b"
|
|
16766
|
+
},
|
|
16767
|
+
{
|
|
16768
|
+
"path": "tests/update_sweep_home.mjs",
|
|
16769
|
+
"mode": "0000644",
|
|
16770
|
+
"sha256": "0a67352de1cb4be131a6a3c8f41620b455acd74246ef33508683345e5d85268b"
|
|
16731
16771
|
},
|
|
16732
16772
|
{
|
|
16733
16773
|
"path": "tests/upgrade.mjs",
|
|
@@ -16864,6 +16904,11 @@
|
|
|
16864
16904
|
"mode": "0000644",
|
|
16865
16905
|
"sha256": "7a5260e3e09388bc59ea1752f3296cb2a58e7b81a2ebeb723ef916512fc89db7"
|
|
16866
16906
|
},
|
|
16907
|
+
{
|
|
16908
|
+
"path": "tests/wizard_demo.mjs",
|
|
16909
|
+
"mode": "0000644",
|
|
16910
|
+
"sha256": "2654d5dad8d1d7ada929ed2107406ddc59094145a2c1d2be1598e93db692b497"
|
|
16911
|
+
},
|
|
16867
16912
|
{
|
|
16868
16913
|
"path": "tests/wizard_draft_resume.mjs",
|
|
16869
16914
|
"mode": "0000644",
|
|
@@ -16872,7 +16917,7 @@
|
|
|
16872
16917
|
{
|
|
16873
16918
|
"path": "tests/wizard_front_door.mjs",
|
|
16874
16919
|
"mode": "0000644",
|
|
16875
|
-
"sha256": "
|
|
16920
|
+
"sha256": "ba94f9a0c317357facdccc94b954a388302c4983094e712c27ddff246dda3a11"
|
|
16876
16921
|
},
|
|
16877
16922
|
{
|
|
16878
16923
|
"path": "tests/wizard_intent_resume.mjs",
|
|
@@ -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
|
+
- 484 operations across 73 resource groups
|
|
9
9
|
|
|
10
10
|
## Use it from your project
|
|
11
11
|
|
|
@@ -835,6 +835,8 @@ function createClient(opts = {}) {
|
|
|
835
835
|
getProvisioningInstancesIdCoreUpgrade: (args) => request("GET", "/provisioning/instances/{id}/core-upgrade", { hasBody: false }, args),
|
|
836
836
|
// POST /provisioning/instances/{id}/core-upgrade — rank: archon — POST /provisioning/instances/:id/core-upgrade
|
|
837
837
|
postProvisioningInstancesIdCoreUpgrade: (args) => request("POST", "/provisioning/instances/{id}/core-upgrade", { hasBody: true }, args),
|
|
838
|
+
// POST /provisioning/instances/{id}/demo — rank: any-builder — POST /provisioning/instances/:id/demo
|
|
839
|
+
postProvisioningInstancesIdDemo: (args) => request("POST", "/provisioning/instances/{id}/demo", { hasBody: true }, args),
|
|
838
840
|
// PATCH /provisioning/instances/{id}/detail — rank: any-builder — PATCH /provisioning/instances/:id/detail
|
|
839
841
|
patchProvisioningInstancesIdDetail: (args) => request("PATCH", "/provisioning/instances/{id}/detail", { hasBody: true }, args),
|
|
840
842
|
// POST /provisioning/instances/{id}/disconnect — rank: any-builder — POST /provisioning/instances/:id/disconnect
|
|
@@ -834,6 +834,8 @@ function createClient(opts = {}) {
|
|
|
834
834
|
getProvisioningInstancesIdCoreUpgrade: (args) => request("GET", "/provisioning/instances/{id}/core-upgrade", { hasBody: false }, args),
|
|
835
835
|
// POST /provisioning/instances/{id}/core-upgrade — rank: archon — POST /provisioning/instances/:id/core-upgrade
|
|
836
836
|
postProvisioningInstancesIdCoreUpgrade: (args) => request("POST", "/provisioning/instances/{id}/core-upgrade", { hasBody: true }, args),
|
|
837
|
+
// POST /provisioning/instances/{id}/demo — rank: any-builder — POST /provisioning/instances/:id/demo
|
|
838
|
+
postProvisioningInstancesIdDemo: (args) => request("POST", "/provisioning/instances/{id}/demo", { hasBody: true }, args),
|
|
837
839
|
// PATCH /provisioning/instances/{id}/detail — rank: any-builder — PATCH /provisioning/instances/:id/detail
|
|
838
840
|
patchProvisioningInstancesIdDetail: (args) => request("PATCH", "/provisioning/instances/{id}/detail", { hasBody: true }, args),
|
|
839
841
|
// POST /provisioning/instances/{id}/disconnect — rank: any-builder — POST /provisioning/instances/:id/disconnect
|
|
@@ -404,6 +404,8 @@ export interface PostProjectsProjectIdSpecialitiesRequest { name: string; discip
|
|
|
404
404
|
export interface PostProjectsProjectIdSpecialitiesResponse { speciality: unknown }
|
|
405
405
|
export interface PostProjectsRequest { origin: string; name: string; tagline?: string; description?: string; art_url?: string; type?: string; template?: string }
|
|
406
406
|
export interface PostProjectsResponse { project: unknown }
|
|
407
|
+
export interface PostProvisioningInstancesIdDemoRequest { outcome: string }
|
|
408
|
+
export interface PostProvisioningInstancesIdDemoResponse { ok: boolean; outcome: unknown; demo: unknown }
|
|
407
409
|
export interface PostProvisioningInstancesIdDisconnectRequest { confirm_slug: string }
|
|
408
410
|
export interface PostProvisioningInstancesIdDisconnectResponse { ok: boolean; queued: unknown; action: unknown; status: unknown; message: unknown }
|
|
409
411
|
export interface PostProvisioningInstancesIdDomainRequest { domain: string }
|
|
@@ -417,7 +419,7 @@ export interface PostProvisioningInstancesIdRenderResponse { ok: boolean; queued
|
|
|
417
419
|
export interface PostProvisioningInstancesIdRepoPrivateResponse { ok: boolean; queued: unknown; action: unknown; status: unknown; message: unknown }
|
|
418
420
|
export interface PostProvisioningInstancesIdRestartResponse { ok: boolean; queued: unknown; action: unknown; status: unknown; message: unknown }
|
|
419
421
|
export interface PostProvisioningInstancesIdTeardownResponse { ok: boolean; queued: unknown; action: unknown; status: unknown; superseded: unknown; message: unknown }
|
|
420
|
-
export interface PostProvisioningInstancesRequest { slug: string; target_ref?: string; hosting_shape?: string; domain?: string; no_address?: boolean; tier?: string; onboard_mode?: string; type?: string; description?: string; detail?: Record<string, unknown>; modules?: string[]; terms_acknowledged?: boolean }
|
|
422
|
+
export interface PostProvisioningInstancesRequest { slug: string; target_ref?: string; hosting_shape?: string; domain?: string; no_address?: boolean; tier?: string; onboard_mode?: string; type?: string; description?: string; detail?: Record<string, unknown>; modules?: string[]; terms_acknowledged?: boolean; demo?: Record<string, unknown> }
|
|
421
423
|
export interface PostProvisioningRenderLookupRequest { key: string; owner_id?: string }
|
|
422
424
|
export interface PostRemovalProposalsIdDecideRequest { verdict: string; note?: string }
|
|
423
425
|
export interface PostRenderDeployActRequest { action?: string; deployId?: string; confirm?: unknown; expectLiveDeployId?: unknown }
|
|
@@ -1277,6 +1279,8 @@ export interface BongosClient {
|
|
|
1277
1279
|
getProvisioningInstancesIdCoreUpgrade(args?: RequestArgs): Promise<ApiResponse>;
|
|
1278
1280
|
/** POST /provisioning/instances/{id}/core-upgrade — rank: archon */
|
|
1279
1281
|
postProvisioningInstancesIdCoreUpgrade(args?: RequestArgs): Promise<ApiResponse>;
|
|
1282
|
+
/** POST /provisioning/instances/{id}/demo — rank: any-builder */
|
|
1283
|
+
postProvisioningInstancesIdDemo(args: RequestArgs & { body: PostProvisioningInstancesIdDemoRequest }): Promise<PostProvisioningInstancesIdDemoResponse>;
|
|
1280
1284
|
/** PATCH /provisioning/instances/{id}/detail — rank: any-builder */
|
|
1281
1285
|
patchProvisioningInstancesIdDetail(args?: RequestArgs & { body?: PatchProvisioningInstancesIdDetailRequest }): Promise<PatchProvisioningInstancesIdDetailResponse>;
|
|
1282
1286
|
/** POST /provisioning/instances/{id}/disconnect — rank: any-builder */
|
|
@@ -831,6 +831,8 @@ export function createClient(opts = {}) {
|
|
|
831
831
|
getProvisioningInstancesIdCoreUpgrade: (args) => request("GET", "/provisioning/instances/{id}/core-upgrade", { hasBody: false }, args),
|
|
832
832
|
// POST /provisioning/instances/{id}/core-upgrade — rank: archon — POST /provisioning/instances/:id/core-upgrade
|
|
833
833
|
postProvisioningInstancesIdCoreUpgrade: (args) => request("POST", "/provisioning/instances/{id}/core-upgrade", { hasBody: true }, args),
|
|
834
|
+
// POST /provisioning/instances/{id}/demo — rank: any-builder — POST /provisioning/instances/:id/demo
|
|
835
|
+
postProvisioningInstancesIdDemo: (args) => request("POST", "/provisioning/instances/{id}/demo", { hasBody: true }, args),
|
|
834
836
|
// PATCH /provisioning/instances/{id}/detail — rank: any-builder — PATCH /provisioning/instances/:id/detail
|
|
835
837
|
patchProvisioningInstancesIdDetail: (args) => request("PATCH", "/provisioning/instances/{id}/detail", { hasBody: true }, args),
|
|
836
838
|
// POST /provisioning/instances/{id}/disconnect — rank: any-builder — POST /provisioning/instances/:id/disconnect
|
|
@@ -23,6 +23,8 @@ That left two rules for one project. On 2026-09-30 cloudbongos.com was set to `m
|
|
|
23
23
|
|
|
24
24
|
**D4. It reads the control plane's database, over psql, from the sweep's own environment** — `DATABASE_URL`, else `PGDATABASE` (socket + peer auth). These are the two variables `upgrade.js` `recordLedger` reads. Unlike recordLedger, it hands a `DATABASE_URL` to `psql -d` rather than the pg driver, because the sweep is synchronous. An entry's `env` is never used, because it names *that instance's* database. A core too old to carry the reader keeps the roster behaviour unchanged. A failure is logged as a fixed class (unreachable, login refused, table missing…), never psql's own text, which can name a user or host.
|
|
25
25
|
|
|
26
|
+
**D4a. `UPDATE_CHANNEL_DB` comes first** (task 1004307, 2026-10-01). The sweep spawns every upgrade with its own env underneath the entry's, so a unit-level `PGDATABASE` would reach any tenant entry that names no database and point its migrate at the control plane's. A control-plane unit therefore sets `UPDATE_CHANNEL_DB`, which only this reader consults; `DATABASE_URL` / `PGDATABASE` remain the fallback.
|
|
27
|
+
|
|
26
28
|
**D1a. Why not slug *or* directory.** The task brief suggested matching by slug or dir. `provisioning_instances` stores no directory, so there is nothing to match a dir against, and a roster slug that differs from its row's slug falls back to the roster, visibly (D3).
|
|
27
29
|
|
|
28
30
|
**D5. Nothing is migrated or copied.** Every row already has a channel (the column defaults to `patch`, the old behaviour). So once this is live, an entry the roster listed as `minor` but whose row was never changed on /deploy is swept as `patch`. That is the ruling applied, not a regression, and D3 makes it visible in the log.
|
package/docs/api/openapi.json
CHANGED
|
@@ -15085,6 +15085,69 @@
|
|
|
15085
15085
|
]
|
|
15086
15086
|
}
|
|
15087
15087
|
},
|
|
15088
|
+
"/provisioning/instances/{id}/demo": {
|
|
15089
|
+
"post": {
|
|
15090
|
+
"operationId": "post_provisioning_instances_id_demo",
|
|
15091
|
+
"tags": [
|
|
15092
|
+
"provisioning"
|
|
15093
|
+
],
|
|
15094
|
+
"summary": "POST /provisioning/instances/:id/demo",
|
|
15095
|
+
"description": "**Rank:** `any-builder` — Any authenticated builder (row-level ownership enforced in-handler).",
|
|
15096
|
+
"x-rank": "any-builder",
|
|
15097
|
+
"x-source": "modules/provisioning/routes/demo.js",
|
|
15098
|
+
"parameters": [
|
|
15099
|
+
{
|
|
15100
|
+
"name": "id",
|
|
15101
|
+
"in": "path",
|
|
15102
|
+
"required": true,
|
|
15103
|
+
"schema": {
|
|
15104
|
+
"type": "string"
|
|
15105
|
+
},
|
|
15106
|
+
"description": "Path parameter `id`."
|
|
15107
|
+
}
|
|
15108
|
+
],
|
|
15109
|
+
"requestBody": {
|
|
15110
|
+
"required": true,
|
|
15111
|
+
"content": {
|
|
15112
|
+
"application/json": {
|
|
15113
|
+
"schema": {
|
|
15114
|
+
"$ref": "#/components/schemas/PostProvisioningInstancesIdDemoRequest"
|
|
15115
|
+
}
|
|
15116
|
+
}
|
|
15117
|
+
},
|
|
15118
|
+
"x-validated": true
|
|
15119
|
+
},
|
|
15120
|
+
"responses": {
|
|
15121
|
+
"200": {
|
|
15122
|
+
"description": "Success.",
|
|
15123
|
+
"content": {
|
|
15124
|
+
"application/json": {
|
|
15125
|
+
"schema": {
|
|
15126
|
+
"$ref": "#/components/schemas/PostProvisioningInstancesIdDemoResponse"
|
|
15127
|
+
}
|
|
15128
|
+
}
|
|
15129
|
+
}
|
|
15130
|
+
},
|
|
15131
|
+
"400": {
|
|
15132
|
+
"$ref": "#/components/responses/ValidationFailed"
|
|
15133
|
+
},
|
|
15134
|
+
"401": {
|
|
15135
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
15136
|
+
},
|
|
15137
|
+
"403": {
|
|
15138
|
+
"$ref": "#/components/responses/Forbidden"
|
|
15139
|
+
},
|
|
15140
|
+
"404": {
|
|
15141
|
+
"$ref": "#/components/responses/NotFound"
|
|
15142
|
+
}
|
|
15143
|
+
},
|
|
15144
|
+
"security": [
|
|
15145
|
+
{
|
|
15146
|
+
"builderSession": []
|
|
15147
|
+
}
|
|
15148
|
+
]
|
|
15149
|
+
}
|
|
15150
|
+
},
|
|
15088
15151
|
"/provisioning/instances/{id}/detail": {
|
|
15089
15152
|
"patch": {
|
|
15090
15153
|
"operationId": "patch_provisioning_instances_id_detail",
|
|
@@ -28623,6 +28686,33 @@
|
|
|
28623
28686
|
"project"
|
|
28624
28687
|
]
|
|
28625
28688
|
},
|
|
28689
|
+
"PostProvisioningInstancesIdDemoRequest": {
|
|
28690
|
+
"type": "object",
|
|
28691
|
+
"properties": {
|
|
28692
|
+
"outcome": {
|
|
28693
|
+
"type": "string"
|
|
28694
|
+
}
|
|
28695
|
+
},
|
|
28696
|
+
"required": [
|
|
28697
|
+
"outcome"
|
|
28698
|
+
],
|
|
28699
|
+
"additionalProperties": false
|
|
28700
|
+
},
|
|
28701
|
+
"PostProvisioningInstancesIdDemoResponse": {
|
|
28702
|
+
"type": "object",
|
|
28703
|
+
"properties": {
|
|
28704
|
+
"ok": {
|
|
28705
|
+
"type": "boolean"
|
|
28706
|
+
},
|
|
28707
|
+
"outcome": {},
|
|
28708
|
+
"demo": {}
|
|
28709
|
+
},
|
|
28710
|
+
"required": [
|
|
28711
|
+
"ok",
|
|
28712
|
+
"outcome",
|
|
28713
|
+
"demo"
|
|
28714
|
+
]
|
|
28715
|
+
},
|
|
28626
28716
|
"PostProvisioningInstancesIdDisconnectRequest": {
|
|
28627
28717
|
"type": "object",
|
|
28628
28718
|
"properties": {
|
|
@@ -28954,6 +29044,9 @@
|
|
|
28954
29044
|
},
|
|
28955
29045
|
"terms_acknowledged": {
|
|
28956
29046
|
"type": "boolean"
|
|
29047
|
+
},
|
|
29048
|
+
"demo": {
|
|
29049
|
+
"type": "object"
|
|
28957
29050
|
}
|
|
28958
29051
|
},
|
|
28959
29052
|
"required": [
|
|
@@ -30797,9 +30890,9 @@
|
|
|
30797
30890
|
"description": "A required dependency/feature is not configured or is temporarily down."
|
|
30798
30891
|
}
|
|
30799
30892
|
},
|
|
30800
|
-
"x-endpoint-count":
|
|
30801
|
-
"x-schema-count":
|
|
30893
|
+
"x-endpoint-count": 484,
|
|
30894
|
+
"x-schema-count": 511,
|
|
30802
30895
|
"x-undocumented-bodies": 12,
|
|
30803
|
-
"x-response-schemas":
|
|
30896
|
+
"x-response-schemas": 342,
|
|
30804
30897
|
"x-generated-by": "scripts/gds/gen-api-docs.js"
|
|
30805
30898
|
}
|
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. 484 endpoints across 88 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/0016-trust-boundary-server-enforced-permissions.md)): `public` < `any-builder` < `metic+archon` < `archon`.
|
|
@@ -587,7 +587,7 @@ Base path: `/api/bongos`. Ranks (enforced server-side, [ADR 0016](adr/0016-trust
|
|
|
587
587
|
| GET | `/api/bongos/projects/featured` | `public` | — | the public map of projects; no auth by design. |
|
|
588
588
|
| POST | `/api/bongos/projects/invite` | `metic+archon` | `client_id`, `github_login` | own-or-metic in effect: where to invite a builder into a project, asked by a `project.curate` holder OR the project's OWN OWNER (task 100… |
|
|
589
589
|
|
|
590
|
-
## `provisioning` (
|
|
590
|
+
## `provisioning` (41)
|
|
591
591
|
|
|
592
592
|
| Method | Path | Rank | Body | Description |
|
|
593
593
|
|---|---|---|---|---|
|
|
@@ -598,10 +598,11 @@ Base path: `/api/bongos`. Ranks (enforced server-side, [ADR 0016](adr/0016-trust
|
|
|
598
598
|
| GET | `/api/bongos/provisioning/github-app/status` | `public` | — | GET /provisioning/github-app/status?state=<> — the PUBLIC progress read the onboarding callback page polls (task 2096) to know when setup… |
|
|
599
599
|
| GET | `/api/bongos/provisioning/health` | `public` | — | GET /provisioning/health — liveness + the core version this module mounted against. |
|
|
600
600
|
| GET | `/api/bongos/provisioning/instances` | `any-builder` | — | GET /provisioning/instances — the caller's own instances + each open intent. |
|
|
601
|
-
| POST | `/api/bongos/provisioning/instances` | `any-builder` | `slug`, `target_ref`, `hosting_shape`, `domain`, `no_address`, `tier`, `onboard_mode`, `type`, `description`, `detail`, `modules`, `terms_acknowledged` | POST /provisioning/instances — request a new instance. |
|
|
601
|
+
| POST | `/api/bongos/provisioning/instances` | `any-builder` | `slug`, `target_ref`, `hosting_shape`, `domain`, `no_address`, `tier`, `onboard_mode`, `type`, `description`, `detail`, `modules`, `terms_acknowledged`, `demo` | POST /provisioning/instances — request a new instance. |
|
|
602
602
|
| GET | `/api/bongos/provisioning/instances/:id` | `any-builder` | — | GET /provisioning/instances/:id — read one instance (the manage page's read). |
|
|
603
603
|
| GET | `/api/bongos/provisioning/instances/:id/core-upgrade` | `archon` | — | GET the same path — step ONE of the two-step (ADR 0293 D4): what a move would do. |
|
|
604
604
|
| POST | `/api/bongos/provisioning/instances/:id/core-upgrade` | `archon` | — | POST /provisioning/instances/:id/core-upgrade — move the core pin. |
|
|
605
|
+
| POST | `/api/bongos/provisioning/instances/:id/demo` | `any-builder` | `outcome` | |
|
|
605
606
|
| PATCH | `/api/bongos/provisioning/instances/:id/detail` | `any-builder` | `description`, `detail`, `modules`, `type` | ── The optional project detail (task 1002334, goal 1000046) ────────────── PATCH /provisioning/instances/:id/detail — answer (or re-answe… |
|
|
606
607
|
| POST | `/api/bongos/provisioning/instances/:id/disconnect` | `any-builder` | `confirm_slug` | POST /provisioning/instances/:id/disconnect — rank: any authenticated builder (own resource); an archon may disconnect any project. |
|
|
607
608
|
| POST | `/api/bongos/provisioning/instances/:id/domain` | `any-builder` | `domain` | POST /provisioning/instances/:id/domain — give the caller's OWN instance its address (task 1002692, gap 5: no path existed to add a domai… |
|