@bongos/core 1.21.156 → 1.21.157
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 +40 -30
- package/clients/bongos-client/README.md +1 -1
- package/clients/bongos-client/bongos-client.global.js +6 -0
- package/clients/bongos-client/index.cjs +6 -0
- package/clients/bongos-client/index.d.ts +8 -0
- package/clients/bongos-client/index.mjs +6 -0
- package/docs/api/openapi.json +159 -2
- package/docs/api-reference.md +5 -2
- package/docs/copy-inventory.md +28 -22
- package/docs/copy-registry.json +77 -23
- package/docs/module-api-changelog.md +2 -0
- package/docs/modules-contract.md +1 -0
- package/docs/page-readings.json +29 -24
- package/modules/government/catalog.js +1 -1
- package/modules/hall-ui/public/modules.html +11 -0
- package/modules/hall-ui/public/modules.js +104 -0
- package/modules/hall-ui/records/catalog.md +2 -0
- package/package-lock.json +2 -2
- package/package.json +1 -1
- package/release-notes.json +6 -0
- package/src/bongos/module-testing.js +73 -0
- package/src/bongos/project-settings.js +3 -0
- package/src/bongos/routes/modules.js +43 -0
- package/src/module-api.js +1 -1
- package/tests/hall_catalog_world.mjs +18 -2
- package/tests/module_testing.mjs +171 -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.21.
|
|
6
|
-
"core_contract": "1.21.
|
|
7
|
-
"source_commit": "
|
|
5
|
+
"core_version": "1.21.157",
|
|
6
|
+
"core_contract": "1.21.157",
|
|
7
|
+
"source_commit": "93bcf1aad3e309875901549d239f182802ecb1a5",
|
|
8
8
|
"source_ref": "HEAD",
|
|
9
|
-
"built_at": "2026-10-
|
|
9
|
+
"built_at": "2026-10-22T22:00:48.501Z",
|
|
10
10
|
"redaction": {
|
|
11
11
|
"model": "docs-redacted+functional-verbatim",
|
|
12
12
|
"docs_redacted": 608,
|
|
13
13
|
"agent_docs_stubbed": 28,
|
|
14
|
-
"functional_verbatim":
|
|
14
|
+
"functional_verbatim": 3173,
|
|
15
15
|
"rules": 3,
|
|
16
16
|
"gate_literals": 3,
|
|
17
17
|
"gate": "passed"
|
|
18
18
|
},
|
|
19
|
-
"file_count":
|
|
20
|
-
"tree_sha256": "
|
|
19
|
+
"file_count": 3810,
|
|
20
|
+
"tree_sha256": "7208fdbac3ca1ecbfc01170ccff02b76309f064b711c6b28b8a7e97bfc452af4",
|
|
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": "8449ac9fed330290274a2809620f86ae24b41c15833c63dd4938eee434c9406b"
|
|
321
321
|
},
|
|
322
322
|
{
|
|
323
323
|
"path": "clients/bongos-client/bongos-client.global.js",
|
|
324
324
|
"mode": "0000644",
|
|
325
|
-
"sha256": "
|
|
325
|
+
"sha256": "7b8fb3eb7373d3dbb512d10db0d74c4524c375ba537546ad5d640b0121aecd50"
|
|
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": "131957a708245127065de48df70ac30f415a9e40bb5f7e8e89da04d0a2d25028"
|
|
336
336
|
},
|
|
337
337
|
{
|
|
338
338
|
"path": "clients/bongos-client/index.d.ts",
|
|
339
339
|
"mode": "0000644",
|
|
340
|
-
"sha256": "
|
|
340
|
+
"sha256": "da5faaa41094a05ac71f09706bae462a5507e7bea5b6faa1ac3963dbe47f3426"
|
|
341
341
|
},
|
|
342
342
|
{
|
|
343
343
|
"path": "clients/bongos-client/index.mjs",
|
|
344
344
|
"mode": "0000644",
|
|
345
|
-
"sha256": "
|
|
345
|
+
"sha256": "db8c0c169a4b791270e17eea06fae7a9eb6d1f2aa518549fd93ffab10f61eb40"
|
|
346
346
|
},
|
|
347
347
|
{
|
|
348
348
|
"path": "clients/bongos-client/package.json",
|
|
@@ -2382,12 +2382,12 @@
|
|
|
2382
2382
|
{
|
|
2383
2383
|
"path": "docs/api-reference.md",
|
|
2384
2384
|
"mode": "0000644",
|
|
2385
|
-
"sha256": "
|
|
2385
|
+
"sha256": "53a65b64b100fe4c132fb0ff5e901e5ad8f566e68440563eb0ba36b5a354c8a0"
|
|
2386
2386
|
},
|
|
2387
2387
|
{
|
|
2388
2388
|
"path": "docs/api/openapi.json",
|
|
2389
2389
|
"mode": "0000644",
|
|
2390
|
-
"sha256": "
|
|
2390
|
+
"sha256": "1545ce6f2f92ca70568121874934ee58a84cbf46c4c93352566b3dc4c92a91d0"
|
|
2391
2391
|
},
|
|
2392
2392
|
{
|
|
2393
2393
|
"path": "docs/architecture.md",
|
|
@@ -2412,12 +2412,12 @@
|
|
|
2412
2412
|
{
|
|
2413
2413
|
"path": "docs/copy-inventory.md",
|
|
2414
2414
|
"mode": "0000644",
|
|
2415
|
-
"sha256": "
|
|
2415
|
+
"sha256": "d43848124b1b26942360625f596a09c51d2343f35db2e625130ec500e41d6d72"
|
|
2416
2416
|
},
|
|
2417
2417
|
{
|
|
2418
2418
|
"path": "docs/copy-registry.json",
|
|
2419
2419
|
"mode": "0000644",
|
|
2420
|
-
"sha256": "
|
|
2420
|
+
"sha256": "eef0fb3a90caa69b82b9a79abc984a14f7f5845061dce00c5241f4e0283e6bba"
|
|
2421
2421
|
},
|
|
2422
2422
|
{
|
|
2423
2423
|
"path": "docs/design/apex-pass-2-direction.md",
|
|
@@ -2927,12 +2927,12 @@
|
|
|
2927
2927
|
{
|
|
2928
2928
|
"path": "docs/module-api-changelog.md",
|
|
2929
2929
|
"mode": "0000644",
|
|
2930
|
-
"sha256": "
|
|
2930
|
+
"sha256": "121987b73841075c24382367357b7cab66e45b8d46954442d3ea0f8104bef1ee"
|
|
2931
2931
|
},
|
|
2932
2932
|
{
|
|
2933
2933
|
"path": "docs/modules-contract.md",
|
|
2934
2934
|
"mode": "0000644",
|
|
2935
|
-
"sha256": "
|
|
2935
|
+
"sha256": "fe1926592aa0572fdcb7fc0352f217762a54292bf8727825d75e2f6799020c13"
|
|
2936
2936
|
},
|
|
2937
2937
|
{
|
|
2938
2938
|
"path": "docs/onboarding/diagrams/01-task-lifecycle.mmd",
|
|
@@ -3017,7 +3017,7 @@
|
|
|
3017
3017
|
{
|
|
3018
3018
|
"path": "docs/page-readings.json",
|
|
3019
3019
|
"mode": "0000644",
|
|
3020
|
-
"sha256": "
|
|
3020
|
+
"sha256": "2931c4f99c185cf5075365526ef403967aedefcaeb5a9b2989348ff389836ab5"
|
|
3021
3021
|
},
|
|
3022
3022
|
{
|
|
3023
3023
|
"path": "docs/project-context.template.md",
|
|
@@ -5027,7 +5027,7 @@
|
|
|
5027
5027
|
{
|
|
5028
5028
|
"path": "modules/government/catalog.js",
|
|
5029
5029
|
"mode": "0000644",
|
|
5030
|
-
"sha256": "
|
|
5030
|
+
"sha256": "11b32663404c1515f45ba3493816178c227b53ffac731ccbbd6d100232ba7d0b"
|
|
5031
5031
|
},
|
|
5032
5032
|
{
|
|
5033
5033
|
"path": "modules/government/charter.js",
|
|
@@ -6162,12 +6162,12 @@
|
|
|
6162
6162
|
{
|
|
6163
6163
|
"path": "modules/hall-ui/public/modules.html",
|
|
6164
6164
|
"mode": "0000644",
|
|
6165
|
-
"sha256": "
|
|
6165
|
+
"sha256": "fea68366593532e57e2ea9c989fa57df02778649ba3676ef5d7d453ebfab3311"
|
|
6166
6166
|
},
|
|
6167
6167
|
{
|
|
6168
6168
|
"path": "modules/hall-ui/public/modules.js",
|
|
6169
6169
|
"mode": "0000644",
|
|
6170
|
-
"sha256": "
|
|
6170
|
+
"sha256": "20b7ee56643f0a95946d93dce3b952f48889ac3f63530c24b8d35a629fed87d5"
|
|
6171
6171
|
},
|
|
6172
6172
|
{
|
|
6173
6173
|
"path": "modules/hall-ui/public/modules.states.json",
|
|
@@ -6762,7 +6762,7 @@
|
|
|
6762
6762
|
{
|
|
6763
6763
|
"path": "modules/hall-ui/records/catalog.md",
|
|
6764
6764
|
"mode": "0000644",
|
|
6765
|
-
"sha256": "
|
|
6765
|
+
"sha256": "d3911fb48be461f005561fb69af5ca1124af02db909b751fbe4c2bc98b301850"
|
|
6766
6766
|
},
|
|
6767
6767
|
{
|
|
6768
6768
|
"path": "modules/hall-ui/records/collaboration.md",
|
|
@@ -10557,12 +10557,12 @@
|
|
|
10557
10557
|
{
|
|
10558
10558
|
"path": "package-lock.json",
|
|
10559
10559
|
"mode": "0000644",
|
|
10560
|
-
"sha256": "
|
|
10560
|
+
"sha256": "46bee705e46ddb6956d2cf4309854febf36c941657839b8f90a2497fee8ebad0"
|
|
10561
10561
|
},
|
|
10562
10562
|
{
|
|
10563
10563
|
"path": "package.json",
|
|
10564
10564
|
"mode": "0000644",
|
|
10565
|
-
"sha256": "
|
|
10565
|
+
"sha256": "3f0a9053c50d3b2e53a7e407db5723204dab8ed240b2d286b264afc063ccf215"
|
|
10566
10566
|
},
|
|
10567
10567
|
{
|
|
10568
10568
|
"path": "public-docs/index.html",
|
|
@@ -10582,7 +10582,7 @@
|
|
|
10582
10582
|
{
|
|
10583
10583
|
"path": "release-notes.json",
|
|
10584
10584
|
"mode": "0000644",
|
|
10585
|
-
"sha256": "
|
|
10585
|
+
"sha256": "70d9278d1e69d83e275f178ecd83f2c99dd3639a780851eeb3428063280ac326"
|
|
10586
10586
|
},
|
|
10587
10587
|
{
|
|
10588
10588
|
"path": "scripts/cron/style_guide_audit.sh",
|
|
@@ -12719,6 +12719,11 @@
|
|
|
12719
12719
|
"mode": "0000644",
|
|
12720
12720
|
"sha256": "1e939e2e07fc71b6fcf1882cb18627e532103ec01a737406f77f8528190e6215"
|
|
12721
12721
|
},
|
|
12722
|
+
{
|
|
12723
|
+
"path": "src/bongos/module-testing.js",
|
|
12724
|
+
"mode": "0000644",
|
|
12725
|
+
"sha256": "602867e5709ef0639d7dd4c370852a63a2fd629175d06007bb710b9be25c7336"
|
|
12726
|
+
},
|
|
12722
12727
|
{
|
|
12723
12728
|
"path": "src/bongos/module-usage-reports.js",
|
|
12724
12729
|
"mode": "0000644",
|
|
@@ -12772,7 +12777,7 @@
|
|
|
12772
12777
|
{
|
|
12773
12778
|
"path": "src/bongos/project-settings.js",
|
|
12774
12779
|
"mode": "0000644",
|
|
12775
|
-
"sha256": "
|
|
12780
|
+
"sha256": "7cd49e347bfd029edffdaf7f3e99c487813f1e43bdbb6f77a9e3049bfe9ec444"
|
|
12776
12781
|
},
|
|
12777
12782
|
{
|
|
12778
12783
|
"path": "src/bongos/repo-info.js",
|
|
@@ -12872,7 +12877,7 @@
|
|
|
12872
12877
|
{
|
|
12873
12878
|
"path": "src/bongos/routes/modules.js",
|
|
12874
12879
|
"mode": "0000644",
|
|
12875
|
-
"sha256": "
|
|
12880
|
+
"sha256": "32629fb4c71f974770e9f8e11f2ea9daf9a951520acd00857077e74b201e7126"
|
|
12876
12881
|
},
|
|
12877
12882
|
{
|
|
12878
12883
|
"path": "src/bongos/routes/my-passkeys.js",
|
|
@@ -12962,7 +12967,7 @@
|
|
|
12962
12967
|
{
|
|
12963
12968
|
"path": "src/module-api.js",
|
|
12964
12969
|
"mode": "0000644",
|
|
12965
|
-
"sha256": "
|
|
12970
|
+
"sha256": "0f74f86dd0e2c80f385d02a49a6713d34aea8f56af8685b1ee92cc9083d79f44"
|
|
12966
12971
|
},
|
|
12967
12972
|
{
|
|
12968
12973
|
"path": "src/module-loader/catalog.js",
|
|
@@ -15467,7 +15472,7 @@
|
|
|
15467
15472
|
{
|
|
15468
15473
|
"path": "tests/hall_catalog_world.mjs",
|
|
15469
15474
|
"mode": "0000644",
|
|
15470
|
-
"sha256": "
|
|
15475
|
+
"sha256": "843039f4e14492045c94c9ce803d22208d0e68d607330da6391e56d75d4c8186"
|
|
15471
15476
|
},
|
|
15472
15477
|
{
|
|
15473
15478
|
"path": "tests/hall_city.mjs",
|
|
@@ -16674,6 +16679,11 @@
|
|
|
16674
16679
|
"mode": "0000644",
|
|
16675
16680
|
"sha256": "328cf836fd45d28ddfc0630f86801037069396dc7cdd066181375ac3c3a81538"
|
|
16676
16681
|
},
|
|
16682
|
+
{
|
|
16683
|
+
"path": "tests/module_testing.mjs",
|
|
16684
|
+
"mode": "0000644",
|
|
16685
|
+
"sha256": "5aefcc8840da42a300ab4319c09c2844a5f5814ab137f4690b17c31f77335e74"
|
|
16686
|
+
},
|
|
16677
16687
|
{
|
|
16678
16688
|
"path": "tests/module_toggle_restart.mjs",
|
|
16679
16689
|
"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
|
+
- 568 operations across 76 resource groups
|
|
9
9
|
|
|
10
10
|
## Use it from your project
|
|
11
11
|
|
|
@@ -833,10 +833,16 @@ function createClient(opts = {}) {
|
|
|
833
833
|
getModules: (args) => request("GET", "/modules", { hasBody: false }, args),
|
|
834
834
|
// POST /modules/{key}/enable — rank: metic+archon — POST /modules/:key/enable
|
|
835
835
|
postModulesKeyEnable: (args) => request("POST", "/modules/{key}/enable", { hasBody: true }, args),
|
|
836
|
+
// POST /modules/{key}/general-only — rank: metic+archon — POST /modules/:key/general-only
|
|
837
|
+
postModulesKeyGeneralOnly: (args) => request("POST", "/modules/{key}/general-only", { hasBody: true }, args),
|
|
836
838
|
// POST /modules/{key}/submit — rank: metic+archon — POST /modules/:key/submit
|
|
837
839
|
postModulesKeySubmit: (args) => request("POST", "/modules/{key}/submit", { hasBody: true }, args),
|
|
838
840
|
// GET /modules/submissions — rank: metic+archon — GET /modules/submissions
|
|
839
841
|
getModulesSubmissions: (args) => request("GET", "/modules/submissions", { hasBody: false }, args),
|
|
842
|
+
// GET /modules/testing — rank: any-builder — GET /modules/testing
|
|
843
|
+
getModulesTesting: (args) => request("GET", "/modules/testing", { hasBody: false }, args),
|
|
844
|
+
// POST /modules/testing — rank: metic+archon — POST /modules/testing
|
|
845
|
+
postModulesTesting: (args) => request("POST", "/modules/testing", { hasBody: true }, args),
|
|
840
846
|
},
|
|
841
847
|
"moving": {
|
|
842
848
|
// GET /moving — rank: any-builder — GET /moving
|
|
@@ -832,10 +832,16 @@ function createClient(opts = {}) {
|
|
|
832
832
|
getModules: (args) => request("GET", "/modules", { hasBody: false }, args),
|
|
833
833
|
// POST /modules/{key}/enable — rank: metic+archon — POST /modules/:key/enable
|
|
834
834
|
postModulesKeyEnable: (args) => request("POST", "/modules/{key}/enable", { hasBody: true }, args),
|
|
835
|
+
// POST /modules/{key}/general-only — rank: metic+archon — POST /modules/:key/general-only
|
|
836
|
+
postModulesKeyGeneralOnly: (args) => request("POST", "/modules/{key}/general-only", { hasBody: true }, args),
|
|
835
837
|
// POST /modules/{key}/submit — rank: metic+archon — POST /modules/:key/submit
|
|
836
838
|
postModulesKeySubmit: (args) => request("POST", "/modules/{key}/submit", { hasBody: true }, args),
|
|
837
839
|
// GET /modules/submissions — rank: metic+archon — GET /modules/submissions
|
|
838
840
|
getModulesSubmissions: (args) => request("GET", "/modules/submissions", { hasBody: false }, args),
|
|
841
|
+
// GET /modules/testing — rank: any-builder — GET /modules/testing
|
|
842
|
+
getModulesTesting: (args) => request("GET", "/modules/testing", { hasBody: false }, args),
|
|
843
|
+
// POST /modules/testing — rank: metic+archon — POST /modules/testing
|
|
844
|
+
postModulesTesting: (args) => request("POST", "/modules/testing", { hasBody: true }, args),
|
|
839
845
|
},
|
|
840
846
|
"moving": {
|
|
841
847
|
// GET /moving — rank: any-builder — GET /moving
|
|
@@ -453,8 +453,10 @@ export interface PostMingleRoundRequest { limit?: number }
|
|
|
453
453
|
export interface PostMingleRoundResponse { paired: unknown; count: unknown; skipped: unknown }
|
|
454
454
|
export interface PostModulesKeyEnableRequest { enabled?: unknown }
|
|
455
455
|
export interface PostModulesKeyEnableResponse { ok: boolean; key: unknown; enabled: unknown; effective: unknown; source: unknown; restart_pending: unknown; note: unknown }
|
|
456
|
+
export interface PostModulesKeyGeneralOnlyRequest { general_only: boolean }
|
|
456
457
|
export interface PostModulesKeySubmitRequest { signed_by?: string }
|
|
457
458
|
export interface PostModulesKeySubmitResponse { ok: boolean; submission: unknown }
|
|
459
|
+
export interface PostModulesTestingRequest { tester: boolean }
|
|
458
460
|
export interface PostMyProjectsClientIdLeaveResponse { ok: boolean; left: unknown }
|
|
459
461
|
export interface PostMyProjectsInvitesClientIdDeclineResponse { ok: boolean; accepted: boolean }
|
|
460
462
|
export interface PostMyProjectsJoinRequest { origin: string; note?: string; guild?: string }
|
|
@@ -1370,10 +1372,16 @@ export interface BongosClient {
|
|
|
1370
1372
|
getModules(args?: RequestArgs): Promise<GetModulesResponse>;
|
|
1371
1373
|
/** POST /modules/{key}/enable — rank: metic+archon */
|
|
1372
1374
|
postModulesKeyEnable(args?: RequestArgs & { body?: PostModulesKeyEnableRequest }): Promise<PostModulesKeyEnableResponse>;
|
|
1375
|
+
/** POST /modules/{key}/general-only — rank: metic+archon */
|
|
1376
|
+
postModulesKeyGeneralOnly(args: RequestArgs & { body: PostModulesKeyGeneralOnlyRequest }): Promise<ApiResponse>;
|
|
1373
1377
|
/** POST /modules/{key}/submit — rank: metic+archon */
|
|
1374
1378
|
postModulesKeySubmit(args?: RequestArgs & { body?: PostModulesKeySubmitRequest }): Promise<PostModulesKeySubmitResponse>;
|
|
1375
1379
|
/** GET /modules/submissions — rank: metic+archon */
|
|
1376
1380
|
getModulesSubmissions(args?: RequestArgs): Promise<GetModulesSubmissionsResponse>;
|
|
1381
|
+
/** GET /modules/testing — rank: any-builder */
|
|
1382
|
+
getModulesTesting(args?: RequestArgs): Promise<ApiResponse>;
|
|
1383
|
+
/** POST /modules/testing — rank: metic+archon */
|
|
1384
|
+
postModulesTesting(args: RequestArgs & { body: PostModulesTestingRequest }): Promise<ApiResponse>;
|
|
1377
1385
|
};
|
|
1378
1386
|
"moving": {
|
|
1379
1387
|
/** GET /moving — rank: any-builder */
|
|
@@ -829,10 +829,16 @@ export function createClient(opts = {}) {
|
|
|
829
829
|
getModules: (args) => request("GET", "/modules", { hasBody: false }, args),
|
|
830
830
|
// POST /modules/{key}/enable — rank: metic+archon — POST /modules/:key/enable
|
|
831
831
|
postModulesKeyEnable: (args) => request("POST", "/modules/{key}/enable", { hasBody: true }, args),
|
|
832
|
+
// POST /modules/{key}/general-only — rank: metic+archon — POST /modules/:key/general-only
|
|
833
|
+
postModulesKeyGeneralOnly: (args) => request("POST", "/modules/{key}/general-only", { hasBody: true }, args),
|
|
832
834
|
// POST /modules/{key}/submit — rank: metic+archon — POST /modules/:key/submit
|
|
833
835
|
postModulesKeySubmit: (args) => request("POST", "/modules/{key}/submit", { hasBody: true }, args),
|
|
834
836
|
// GET /modules/submissions — rank: metic+archon — GET /modules/submissions
|
|
835
837
|
getModulesSubmissions: (args) => request("GET", "/modules/submissions", { hasBody: false }, args),
|
|
838
|
+
// GET /modules/testing — rank: any-builder — GET /modules/testing
|
|
839
|
+
getModulesTesting: (args) => request("GET", "/modules/testing", { hasBody: false }, args),
|
|
840
|
+
// POST /modules/testing — rank: metic+archon — POST /modules/testing
|
|
841
|
+
postModulesTesting: (args) => request("POST", "/modules/testing", { hasBody: true }, args),
|
|
836
842
|
},
|
|
837
843
|
"moving": {
|
|
838
844
|
// GET /moving — rank: any-builder — GET /moving
|
package/docs/api/openapi.json
CHANGED
|
@@ -15518,6 +15518,80 @@
|
|
|
15518
15518
|
]
|
|
15519
15519
|
}
|
|
15520
15520
|
},
|
|
15521
|
+
"/modules/testing": {
|
|
15522
|
+
"get": {
|
|
15523
|
+
"operationId": "get_modules_testing",
|
|
15524
|
+
"tags": [
|
|
15525
|
+
"modules"
|
|
15526
|
+
],
|
|
15527
|
+
"summary": "GET /modules/testing",
|
|
15528
|
+
"description": "Testing new module versions first (task 1003802, ADR 0344 D1): whether THIS project gets tester-channel versions, and which modules it keeps on general. A read anyone signed in can make: the switch is meant to be visible. rank: any-builder — a read of this project's own setting; nothing changes.\n\n**Rank:** `any-builder` — Any authenticated builder (row-level ownership enforced in-handler).",
|
|
15529
|
+
"x-rank": "any-builder",
|
|
15530
|
+
"x-source": "src/bongos/routes/modules.js",
|
|
15531
|
+
"responses": {
|
|
15532
|
+
"200": {
|
|
15533
|
+
"description": "Success."
|
|
15534
|
+
},
|
|
15535
|
+
"400": {
|
|
15536
|
+
"$ref": "#/components/responses/BadRequest"
|
|
15537
|
+
},
|
|
15538
|
+
"401": {
|
|
15539
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
15540
|
+
},
|
|
15541
|
+
"403": {
|
|
15542
|
+
"$ref": "#/components/responses/Forbidden"
|
|
15543
|
+
}
|
|
15544
|
+
},
|
|
15545
|
+
"security": [
|
|
15546
|
+
{
|
|
15547
|
+
"builderSession": []
|
|
15548
|
+
}
|
|
15549
|
+
]
|
|
15550
|
+
},
|
|
15551
|
+
"post": {
|
|
15552
|
+
"operationId": "post_modules_testing",
|
|
15553
|
+
"tags": [
|
|
15554
|
+
"modules"
|
|
15555
|
+
],
|
|
15556
|
+
"summary": "POST /modules/testing",
|
|
15557
|
+
"description": "the project's admin volunteers the whole project, so it takes the same permission that chooses which modules this project runs (module.enable): a builder cannot opt in a project they cannot run modules for.\n\n**Rank:** `metic+archon` — Metic or Archon rank (review/triage powers).\n\n**Permissions:** `module.enable` (all required).",
|
|
15558
|
+
"x-rank": "metic+archon",
|
|
15559
|
+
"x-source": "src/bongos/routes/modules.js",
|
|
15560
|
+
"x-permissions": [
|
|
15561
|
+
"module.enable"
|
|
15562
|
+
],
|
|
15563
|
+
"requestBody": {
|
|
15564
|
+
"required": true,
|
|
15565
|
+
"content": {
|
|
15566
|
+
"application/json": {
|
|
15567
|
+
"schema": {
|
|
15568
|
+
"$ref": "#/components/schemas/PostModulesTestingRequest"
|
|
15569
|
+
}
|
|
15570
|
+
}
|
|
15571
|
+
},
|
|
15572
|
+
"x-validated": true
|
|
15573
|
+
},
|
|
15574
|
+
"responses": {
|
|
15575
|
+
"200": {
|
|
15576
|
+
"description": "Success."
|
|
15577
|
+
},
|
|
15578
|
+
"400": {
|
|
15579
|
+
"$ref": "#/components/responses/ValidationFailed"
|
|
15580
|
+
},
|
|
15581
|
+
"401": {
|
|
15582
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
15583
|
+
},
|
|
15584
|
+
"403": {
|
|
15585
|
+
"$ref": "#/components/responses/Forbidden"
|
|
15586
|
+
}
|
|
15587
|
+
},
|
|
15588
|
+
"security": [
|
|
15589
|
+
{
|
|
15590
|
+
"builderSession": []
|
|
15591
|
+
}
|
|
15592
|
+
]
|
|
15593
|
+
}
|
|
15594
|
+
},
|
|
15521
15595
|
"/modules/{key}/enable": {
|
|
15522
15596
|
"post": {
|
|
15523
15597
|
"operationId": "post_modules_key_enable",
|
|
@@ -15584,6 +15658,65 @@
|
|
|
15584
15658
|
]
|
|
15585
15659
|
}
|
|
15586
15660
|
},
|
|
15661
|
+
"/modules/{key}/general-only": {
|
|
15662
|
+
"post": {
|
|
15663
|
+
"operationId": "post_modules_key_general_only",
|
|
15664
|
+
"tags": [
|
|
15665
|
+
"modules"
|
|
15666
|
+
],
|
|
15667
|
+
"summary": "POST /modules/:key/general-only",
|
|
15668
|
+
"description": "same reasoning as POST /modules/testing: which versions a module arrives in is part of choosing the modules this project runs.\n\n**Rank:** `metic+archon` — Metic or Archon rank (review/triage powers).\n\n**Permissions:** `module.enable` (all required).",
|
|
15669
|
+
"x-rank": "metic+archon",
|
|
15670
|
+
"x-source": "src/bongos/routes/modules.js",
|
|
15671
|
+
"x-permissions": [
|
|
15672
|
+
"module.enable"
|
|
15673
|
+
],
|
|
15674
|
+
"parameters": [
|
|
15675
|
+
{
|
|
15676
|
+
"name": "key",
|
|
15677
|
+
"in": "path",
|
|
15678
|
+
"required": true,
|
|
15679
|
+
"schema": {
|
|
15680
|
+
"type": "string"
|
|
15681
|
+
},
|
|
15682
|
+
"description": "Path parameter `key`."
|
|
15683
|
+
}
|
|
15684
|
+
],
|
|
15685
|
+
"requestBody": {
|
|
15686
|
+
"required": true,
|
|
15687
|
+
"content": {
|
|
15688
|
+
"application/json": {
|
|
15689
|
+
"schema": {
|
|
15690
|
+
"$ref": "#/components/schemas/PostModulesKeyGeneralOnlyRequest"
|
|
15691
|
+
}
|
|
15692
|
+
}
|
|
15693
|
+
},
|
|
15694
|
+
"x-validated": true
|
|
15695
|
+
},
|
|
15696
|
+
"responses": {
|
|
15697
|
+
"200": {
|
|
15698
|
+
"description": "Success."
|
|
15699
|
+
},
|
|
15700
|
+
"400": {
|
|
15701
|
+
"$ref": "#/components/responses/ValidationFailed"
|
|
15702
|
+
},
|
|
15703
|
+
"401": {
|
|
15704
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
15705
|
+
},
|
|
15706
|
+
"403": {
|
|
15707
|
+
"$ref": "#/components/responses/Forbidden"
|
|
15708
|
+
},
|
|
15709
|
+
"404": {
|
|
15710
|
+
"$ref": "#/components/responses/NotFound"
|
|
15711
|
+
}
|
|
15712
|
+
},
|
|
15713
|
+
"security": [
|
|
15714
|
+
{
|
|
15715
|
+
"builderSession": []
|
|
15716
|
+
}
|
|
15717
|
+
]
|
|
15718
|
+
}
|
|
15719
|
+
},
|
|
15587
15720
|
"/modules/{key}/submit": {
|
|
15588
15721
|
"post": {
|
|
15589
15722
|
"operationId": "post_modules_key_submit",
|
|
@@ -33149,6 +33282,18 @@
|
|
|
33149
33282
|
"note"
|
|
33150
33283
|
]
|
|
33151
33284
|
},
|
|
33285
|
+
"PostModulesKeyGeneralOnlyRequest": {
|
|
33286
|
+
"type": "object",
|
|
33287
|
+
"properties": {
|
|
33288
|
+
"general_only": {
|
|
33289
|
+
"type": "boolean"
|
|
33290
|
+
}
|
|
33291
|
+
},
|
|
33292
|
+
"required": [
|
|
33293
|
+
"general_only"
|
|
33294
|
+
],
|
|
33295
|
+
"additionalProperties": false
|
|
33296
|
+
},
|
|
33152
33297
|
"PostModulesKeySubmitRequest": {
|
|
33153
33298
|
"type": "object",
|
|
33154
33299
|
"properties": {
|
|
@@ -33172,6 +33317,18 @@
|
|
|
33172
33317
|
"submission"
|
|
33173
33318
|
]
|
|
33174
33319
|
},
|
|
33320
|
+
"PostModulesTestingRequest": {
|
|
33321
|
+
"type": "object",
|
|
33322
|
+
"properties": {
|
|
33323
|
+
"tester": {
|
|
33324
|
+
"type": "boolean"
|
|
33325
|
+
}
|
|
33326
|
+
},
|
|
33327
|
+
"required": [
|
|
33328
|
+
"tester"
|
|
33329
|
+
],
|
|
33330
|
+
"additionalProperties": false
|
|
33331
|
+
},
|
|
33175
33332
|
"PostMyProjectsClientIdLeaveResponse": {
|
|
33176
33333
|
"type": "object",
|
|
33177
33334
|
"properties": {
|
|
@@ -36042,8 +36199,8 @@
|
|
|
36042
36199
|
"description": "A required dependency/feature is not configured or is temporarily down."
|
|
36043
36200
|
}
|
|
36044
36201
|
},
|
|
36045
|
-
"x-endpoint-count":
|
|
36046
|
-
"x-schema-count":
|
|
36202
|
+
"x-endpoint-count": 568,
|
|
36203
|
+
"x-schema-count": 606,
|
|
36047
36204
|
"x-undocumented-bodies": 12,
|
|
36048
36205
|
"x-response-schemas": 396,
|
|
36049
36206
|
"x-generated-by": "scripts/gds/gen-api-docs.js"
|
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. 568 endpoints across 96 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`.
|
|
@@ -567,14 +567,17 @@ Base path: `/api/bongos`. Ranks (enforced server-side, [ADR 0016](adr/0016-trust
|
|
|
567
567
|
| PUT | `/api/bongos/mingle/project` | `metic+archon` | `enabled` | perm: mingle.manage (floor metic) — see the header. |
|
|
568
568
|
| POST | `/api/bongos/mingle/round` | `metic+archon` | `limit` | perm: mingle.manage — running a round writes introductions for other people, so it is an operator action rather than something a builder … |
|
|
569
569
|
|
|
570
|
-
## `modules` (
|
|
570
|
+
## `modules` (7)
|
|
571
571
|
|
|
572
572
|
| Method | Path | Rank | Body | Description |
|
|
573
573
|
|---|---|---|---|---|
|
|
574
574
|
| GET | `/api/bongos/modules` | `any-builder` | — | list every on-disk module with attribution + provenance (same read gate as the atlas/primer pages). |
|
|
575
575
|
| POST | `/api/bongos/modules/:key/enable` | `metic+archon` | `enabled` | toggling a module changes running behavior for the whole instance, not just the caller. |
|
|
576
|
+
| POST | `/api/bongos/modules/:key/general-only` | `metic+archon` | `general_only` | same reasoning as POST /modules/testing: which versions a module arrives in is part of choosing the modules this project runs. |
|
|
576
577
|
| POST | `/api/bongos/modules/:key/submit` | `metic+archon` | `signed_by` | POST /api/bongos/modules/:key/submit — ADR 0107 §1 upstreaming submission. |
|
|
577
578
|
| GET | `/api/bongos/modules/submissions` | `metic+archon` | — | GET /api/bongos/modules/submissions?status=&module_key= — the upstreaming review queue (task 1771 reads this). |
|
|
579
|
+
| GET | `/api/bongos/modules/testing` | `any-builder` | — | Testing new module versions first (task 1003802, ADR 0344 D1): whether THIS project gets tester-channel versions, and which modules it ke… |
|
|
580
|
+
| POST | `/api/bongos/modules/testing` | `metic+archon` | `tester` | the project's admin volunteers the whole project, so it takes the same permission that chooses which modules this project runs (module.en… |
|
|
578
581
|
|
|
579
582
|
## `moving` (1)
|
|
580
583
|
|