@bongos/core 1.21.81 → 1.21.83

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/.bongos-core.json +55 -40
  2. package/clients/bongos-client/README.md +1 -1
  3. package/clients/bongos-client/bongos-client.global.js +2 -0
  4. package/clients/bongos-client/index.cjs +2 -0
  5. package/clients/bongos-client/index.d.ts +3 -0
  6. package/clients/bongos-client/index.mjs +2 -0
  7. package/docs/api/openapi.json +76 -4
  8. package/docs/api-reference.md +4 -3
  9. package/docs/copy-inventory.md +53 -50
  10. package/docs/copy-registry.json +79 -52
  11. package/docs/module-api-changelog.md +4 -0
  12. package/docs/page-inventory.json +7 -0
  13. package/docs/page-readings.json +660 -659
  14. package/modules/government/db.js +45 -0
  15. package/modules/government/routes/government.js +71 -0
  16. package/modules/hall-ui/public/government.js +38 -0
  17. package/modules/platform-identity/invite-notices.js +78 -10
  18. package/modules/platform-identity/migrations/platform_identity_031_parked_invite_notices.sql +45 -0
  19. package/modules/platform-identity/routes/my-projects.js +7 -3
  20. package/modules/public-landing/public/account.html +1 -0
  21. package/modules/public-landing/public/assets/cosmos.css +8 -0
  22. package/modules/public-landing/public/assets/invite-badge.js +91 -0
  23. package/modules/public-landing/public/contact.html +1 -0
  24. package/modules/public-landing/public/guild.html +1 -0
  25. package/modules/public-landing/public/invitations.html +7 -2
  26. package/modules/public-landing/public/privacy.html +1 -0
  27. package/modules/public-landing/public/projects.html +3 -0
  28. package/modules/public-landing/public/terms.html +1 -0
  29. package/package-lock.json +2 -2
  30. package/package.json +1 -1
  31. package/release-notes.json +12 -0
  32. package/src/bongos/route-rank-check.js +1 -0
  33. package/src/module-api.js +1 -1
  34. package/tests/government_routes.mjs +72 -0
  35. package/tests/hub_invite_badge.mjs +204 -0
  36. package/tests/hub_invite_notices.mjs +61 -6
  37. package/tests/landing_legal_pages.mjs +1 -1
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.81",
6
- "core_contract": "1.21.81",
7
- "source_commit": "cf13896f2510e85aa87ab7ad8fbe400a57f37d54",
5
+ "core_version": "1.21.83",
6
+ "core_contract": "1.21.83",
7
+ "source_commit": "7ca921b1f828518c8d97225d2ff9ebb7b0ea3a4f",
8
8
  "source_ref": "HEAD",
9
- "built_at": "2026-10-09T00:28:08.709Z",
9
+ "built_at": "2026-10-09T01:25:36.380Z",
10
10
  "redaction": {
11
11
  "model": "docs-redacted+functional-verbatim",
12
12
  "docs_redacted": 590,
13
13
  "agent_docs_stubbed": 28,
14
- "functional_verbatim": 2992,
14
+ "functional_verbatim": 2995,
15
15
  "rules": 3,
16
16
  "gate_literals": 3,
17
17
  "gate": "passed"
18
18
  },
19
- "file_count": 3611,
20
- "tree_sha256": "ae8df2494a02571e7e6cdc50e626b98cf07fbb4e76b8c8d9f7f851518dc121e8",
19
+ "file_count": 3614,
20
+ "tree_sha256": "061b2cf494fd79fb821f25f43d6d5a2f76fcaaa3d3f15d7d2afdb81fe4912544",
21
21
  "files": [
22
22
  {
23
23
  "path": ".claude/skills/ask-for-help/SKILL.md",
@@ -312,12 +312,12 @@
312
312
  {
313
313
  "path": "clients/bongos-client/README.md",
314
314
  "mode": "0000644",
315
- "sha256": "504c4b1a758ed260348029186c42d6a3b418c5ba77ab1e79f26752a78382d639"
315
+ "sha256": "dca89d0b6d666660f3f20e46c6c6bf23359ed4ab66c6ab2f0a0cf4531b95dc4c"
316
316
  },
317
317
  {
318
318
  "path": "clients/bongos-client/bongos-client.global.js",
319
319
  "mode": "0000644",
320
- "sha256": "ec5ebd7ec8d1789fd600bda1975f2e47c70c0015a4c95726743cfbc3c923755f"
320
+ "sha256": "f13d2ab747d8335f0549f975572f9f2f52d9448ebf98e9b8f65099e41d9eb6da"
321
321
  },
322
322
  {
323
323
  "path": "clients/bongos-client/examples/hello-world.mjs",
@@ -327,17 +327,17 @@
327
327
  {
328
328
  "path": "clients/bongos-client/index.cjs",
329
329
  "mode": "0000644",
330
- "sha256": "741c8c61726bdd503113fb2d2b64bbf02ad2abb6a1b7fbe0a8ddc632b6aaabef"
330
+ "sha256": "637d70956978dbdfdae95d2b60a42a57fa6f873545479e385924ac496d8afcd6"
331
331
  },
332
332
  {
333
333
  "path": "clients/bongos-client/index.d.ts",
334
334
  "mode": "0000644",
335
- "sha256": "b3401e4ba2ef41a422e226c913a7a2d1c919d69091d44694b5935dc98b8e3451"
335
+ "sha256": "0460f90122f6c8af003d124a2a78fe10048b550450fa3c2cdd6ad3a6823a2734"
336
336
  },
337
337
  {
338
338
  "path": "clients/bongos-client/index.mjs",
339
339
  "mode": "0000644",
340
- "sha256": "19e6cc103355748ffba25649109b1d7275d2088bedada6006373a3be9a307960"
340
+ "sha256": "8ec801758d45dfe71cae6dfbb021254dc2be805ad8cce05db488ab0ea57e61d2"
341
341
  },
342
342
  {
343
343
  "path": "clients/bongos-client/package.json",
@@ -2317,12 +2317,12 @@
2317
2317
  {
2318
2318
  "path": "docs/api-reference.md",
2319
2319
  "mode": "0000644",
2320
- "sha256": "a07ae00ebfdd58dd280d94bf6a4961274e11c0de59b3f0e48e5485445b5b7534"
2320
+ "sha256": "6198de89bed28dfb5a51f654d15dbe38817e4c54029c1d28cff8e0c7587aad45"
2321
2321
  },
2322
2322
  {
2323
2323
  "path": "docs/api/openapi.json",
2324
2324
  "mode": "0000644",
2325
- "sha256": "e60da6160e7cce0526896f04dad35493c5e27b81df3fa437f1419e284da57fae"
2325
+ "sha256": "6965ddab65dbb8626c4cf0a1e2de61e6ffc2e0f1a6460f542d53946801a23ac8"
2326
2326
  },
2327
2327
  {
2328
2328
  "path": "docs/architecture.md",
@@ -2347,12 +2347,12 @@
2347
2347
  {
2348
2348
  "path": "docs/copy-inventory.md",
2349
2349
  "mode": "0000644",
2350
- "sha256": "28408a7426fa0bdb7b01b17b47ce5f96ba0d7c3362f2059273405357d674370c"
2350
+ "sha256": "edcb2fbe84fd5dad82e6cb2f881caec590d83dbe3afa1374529778d847073378"
2351
2351
  },
2352
2352
  {
2353
2353
  "path": "docs/copy-registry.json",
2354
2354
  "mode": "0000644",
2355
- "sha256": "857a6a515ddfe47e441636556714d8bc527ceab06ffefe06a368a8ead96d190d"
2355
+ "sha256": "fa89d7183576b29739b7f2c8dfbb3479d26e0e5823683200ea7fc85d07c0a939"
2356
2356
  },
2357
2357
  {
2358
2358
  "path": "docs/design/apex-pass-2-direction.md",
@@ -2862,7 +2862,7 @@
2862
2862
  {
2863
2863
  "path": "docs/module-api-changelog.md",
2864
2864
  "mode": "0000644",
2865
- "sha256": "b32998694f39731350f5e5eff315a2732e48be195f458ccc3de891de9c2442a7"
2865
+ "sha256": "d26392af62d6bdc3007b280c70390a94ee6d5ccb94b2a21d701d7e52a9b5d6fb"
2866
2866
  },
2867
2867
  {
2868
2868
  "path": "docs/modules-contract.md",
@@ -2947,12 +2947,12 @@
2947
2947
  {
2948
2948
  "path": "docs/page-inventory.json",
2949
2949
  "mode": "0000644",
2950
- "sha256": "a44a0767d0e16000369901871c91e343800df768e74c241a6e7d945bceae6a17"
2950
+ "sha256": "0ccdb154196bf9ad65a8b627036409394ddaef0c96d5a5fd14eece332bdecc55"
2951
2951
  },
2952
2952
  {
2953
2953
  "path": "docs/page-readings.json",
2954
2954
  "mode": "0000644",
2955
- "sha256": "1c91405fcccab79ce2b67c9c74ca7114d9c2c1f282e2547e2366f20a5acd417f"
2955
+ "sha256": "3266ef7ccc569b7cdfd4da5e292e2a673c7e5373dff0e6e64d1a4ddca78838e3"
2956
2956
  },
2957
2957
  {
2958
2958
  "path": "docs/project-context.template.md",
@@ -4922,7 +4922,7 @@
4922
4922
  {
4923
4923
  "path": "modules/government/db.js",
4924
4924
  "mode": "0000644",
4925
- "sha256": "bc95bf1e21ee2c2dc5444a8fdd056893a2883fd8e55e01c7c765e2d69bee2c7b"
4925
+ "sha256": "007879cf473c54146f08e94cc46819645a96df46fd81c8a9016507c661a62a8d"
4926
4926
  },
4927
4927
  {
4928
4928
  "path": "modules/government/decision-board.js",
@@ -5157,7 +5157,7 @@
5157
5157
  {
5158
5158
  "path": "modules/government/routes/government.js",
5159
5159
  "mode": "0000644",
5160
- "sha256": "6bc11f4cff85844a8060d3ec688d3d608165d741f7da055d63fe8bf59c65a519"
5160
+ "sha256": "52bd577d606e072982545d91e4a05a94160cfedcf9e07ffdc90f06b75f0aeee1"
5161
5161
  },
5162
5162
  {
5163
5163
  "path": "modules/government/routes/rank-sync.js",
@@ -5802,7 +5802,7 @@
5802
5802
  {
5803
5803
  "path": "modules/hall-ui/public/government.js",
5804
5804
  "mode": "0000644",
5805
- "sha256": "48416dc959b5e332cc38b5802cfc5e516ac10be760b68ee41b68037b4b3756ec"
5805
+ "sha256": "42f8f87beb364c4bd69e0ff00bd98bbdc055fac8b24cd2aa499831d69c66c16c"
5806
5806
  },
5807
5807
  {
5808
5808
  "path": "modules/hall-ui/public/government.states.json",
@@ -7852,7 +7852,7 @@
7852
7852
  {
7853
7853
  "path": "modules/platform-identity/invite-notices.js",
7854
7854
  "mode": "0000644",
7855
- "sha256": "1391ac415c073c88942f517b4467514142e15fb0fadb2e156c44db4e75ee0763"
7855
+ "sha256": "9506da990e19c22513b3fcbb904ce87c4a76be82fbc0ec8d116f79ca547e4b83"
7856
7856
  },
7857
7857
  {
7858
7858
  "path": "modules/platform-identity/invite-suggestions.js",
@@ -8009,6 +8009,11 @@
8009
8009
  "mode": "0000644",
8010
8010
  "sha256": "ee1d7a42517c978a771dd418d61b783b4d34629497718a1ea9340a94a94aabce"
8011
8011
  },
8012
+ {
8013
+ "path": "modules/platform-identity/migrations/platform_identity_031_parked_invite_notices.sql",
8014
+ "mode": "0000644",
8015
+ "sha256": "39926140d225322e267296e0e2f058ac9ffcdcef1ad3d67549f892caa053ca53"
8016
+ },
8012
8017
  {
8013
8018
  "path": "modules/platform-identity/module.json",
8014
8019
  "mode": "0000644",
@@ -8097,7 +8102,7 @@
8097
8102
  {
8098
8103
  "path": "modules/platform-identity/routes/my-projects.js",
8099
8104
  "mode": "0000644",
8100
- "sha256": "ee427e2c230338260ad1852df64917d4ac5901303e26aeee0acceda6b1685492"
8105
+ "sha256": "94812bf81025b4dde9f2001b37158762cb311b45a770cece61ecb93e5d725c2f"
8101
8106
  },
8102
8107
  {
8103
8108
  "path": "modules/platform-identity/routes/profile.js",
@@ -8642,7 +8647,7 @@
8642
8647
  {
8643
8648
  "path": "modules/public-landing/public/account.html",
8644
8649
  "mode": "0000644",
8645
- "sha256": "cb827c07f00e5dbe88007a47ced82c766ab36faaa9d488383d638b005bb9a0ab"
8650
+ "sha256": "827c9defa552be002903ce5f70961c4a0a99ba97df6ca7bbceca0f8952a8126a"
8646
8651
  },
8647
8652
  {
8648
8653
  "path": "modules/public-landing/public/account.probes.json",
@@ -8882,13 +8887,18 @@
8882
8887
  {
8883
8888
  "path": "modules/public-landing/public/assets/cosmos.css",
8884
8889
  "mode": "0000644",
8885
- "sha256": "b58c1e77f4f549726eaae07b5d94f9a094841f54b6b82ea1f9bff6c5bdeb7ed3"
8890
+ "sha256": "e1c3f590cf1425558e31af482d45b0ed77c1cb84cbeeb853050cc79c32272f04"
8886
8891
  },
8887
8892
  {
8888
8893
  "path": "modules/public-landing/public/assets/hub-bar.js",
8889
8894
  "mode": "0000644",
8890
8895
  "sha256": "c5aba3208a9a3dd70db69cc1c2f3f2c42e2f5f64a4c99bb938eb21de64daed52"
8891
8896
  },
8897
+ {
8898
+ "path": "modules/public-landing/public/assets/invite-badge.js",
8899
+ "mode": "0000644",
8900
+ "sha256": "6ba50f6b92ca795554da51ca540434720ebf15f5fb7daf51e4e489982e846bfe"
8901
+ },
8892
8902
  {
8893
8903
  "path": "modules/public-landing/public/assets/verro-medallion.png",
8894
8904
  "mode": "0000644",
@@ -9212,12 +9222,12 @@
9212
9222
  {
9213
9223
  "path": "modules/public-landing/public/contact.html",
9214
9224
  "mode": "0000644",
9215
- "sha256": "a325d4c99a10614f864dcaff0b60fd5b5ed442707dacafe35b1a0a069177356e"
9225
+ "sha256": "bcafe2043b71f1dbdb806de1cf3b90b260474f68293b0f3c395a913fccabdd91"
9216
9226
  },
9217
9227
  {
9218
9228
  "path": "modules/public-landing/public/guild.html",
9219
9229
  "mode": "0000644",
9220
- "sha256": "6919f10dc3d6115e13ef18daeda6eadc10ab8cfd4fdb8fd18e06498b4ec908c6"
9230
+ "sha256": "665c1fa188d19e7fb56fcd139caf7f3d0e8f9b9a82c11b014a1720c9c83bceb1"
9221
9231
  },
9222
9232
  {
9223
9233
  "path": "modules/public-landing/public/guild.probes.json",
@@ -9262,7 +9272,7 @@
9262
9272
  {
9263
9273
  "path": "modules/public-landing/public/invitations.html",
9264
9274
  "mode": "0000644",
9265
- "sha256": "7506f0101eb8ad4354438266e7b2941093f1a11eb14d8fb11179c3ea0ec6ed6e"
9275
+ "sha256": "89bda62eb868436f7cd6ff172f3b1f5558f249dd9c42385ce5c0b3653c2d57c1"
9266
9276
  },
9267
9277
  {
9268
9278
  "path": "modules/public-landing/public/invitations.probes.json",
@@ -9277,7 +9287,7 @@
9277
9287
  {
9278
9288
  "path": "modules/public-landing/public/privacy.html",
9279
9289
  "mode": "0000644",
9280
- "sha256": "bff74e46096c052412a5266bbc2a9176f86fe9b9f917f171855c20df7afa4bac"
9290
+ "sha256": "ee2d0d2676f14d8473913cacc62450345b007675a252a44a19c84ca37c0a2066"
9281
9291
  },
9282
9292
  {
9283
9293
  "path": "modules/public-landing/public/projects-demo.states.json",
@@ -9307,7 +9317,7 @@
9307
9317
  {
9308
9318
  "path": "modules/public-landing/public/projects.html",
9309
9319
  "mode": "0000644",
9310
- "sha256": "a67a0fb1211176b2375e652ab570342063d9f8e5eafd715a0469a42184f98e4d"
9320
+ "sha256": "9959da8e6e40ccd8207686fd0429e90e33dd5267bf8cde10f02d2d42247c4157"
9311
9321
  },
9312
9322
  {
9313
9323
  "path": "modules/public-landing/public/projects.probes.json",
@@ -9322,7 +9332,7 @@
9322
9332
  {
9323
9333
  "path": "modules/public-landing/public/terms.html",
9324
9334
  "mode": "0000644",
9325
- "sha256": "5efafcb91ee1a008d8869f85606e00f39e924b45d57939bf6598ddfe5ea77aea"
9335
+ "sha256": "1ff125a688eacfccc673d2a5d08d3658b330834d8332554e31b97e114039665d"
9326
9336
  },
9327
9337
  {
9328
9338
  "path": "modules/render-deploy/deploys.js",
@@ -10087,12 +10097,12 @@
10087
10097
  {
10088
10098
  "path": "package-lock.json",
10089
10099
  "mode": "0000644",
10090
- "sha256": "f8c13471f23a50668aa5ec8c79f68f3e039be8e38ec84510551b69637b16f699"
10100
+ "sha256": "35d84c77067e235740a2a8bf1919066b17821e2bc471d54d8e5fd9f7b1b9b3b0"
10091
10101
  },
10092
10102
  {
10093
10103
  "path": "package.json",
10094
10104
  "mode": "0000644",
10095
- "sha256": "257169d46b1ec312f90e5062c1dc92d85f865608a14f06173cf2110b6b3abe79"
10105
+ "sha256": "37f65c7fc29dbff0462016a4e1ff0afa1914155db54b3558f76b7786a313826e"
10096
10106
  },
10097
10107
  {
10098
10108
  "path": "public-docs/index.html",
@@ -10112,7 +10122,7 @@
10112
10122
  {
10113
10123
  "path": "release-notes.json",
10114
10124
  "mode": "0000644",
10115
- "sha256": "4aca4ff0ed7bb607cde50892af1d128ac444fe5e8f823b8587f559414f14da01"
10125
+ "sha256": "2923afb95720db7bc3ebd723fbe50ee4e4499661c830eda988f3e5a9fc968e09"
10116
10126
  },
10117
10127
  {
10118
10128
  "path": "scripts/cron/style_guide_audit.sh",
@@ -12197,7 +12207,7 @@
12197
12207
  {
12198
12208
  "path": "src/bongos/route-rank-check.js",
12199
12209
  "mode": "0000644",
12200
- "sha256": "bfe24c17a7f63f0d0dc59f3d50b298e0f09b86eabf79e74140b56b67f157a684"
12210
+ "sha256": "7e72321c1485cd071f4d82cae5263443a529af27becf413c60a61c090d2862b9"
12201
12211
  },
12202
12212
  {
12203
12213
  "path": "src/bongos/routes.js",
@@ -12362,7 +12372,7 @@
12362
12372
  {
12363
12373
  "path": "src/module-api.js",
12364
12374
  "mode": "0000644",
12365
- "sha256": "02c4342378ad3dd61bd2bb44b0c2e8077a45d1388cbe16cabce84038ac188f56"
12375
+ "sha256": "b75093d661a2363204ca1b90912d424ea294c04a8053d5b50f71f6d0dbbb4673"
12366
12376
  },
12367
12377
  {
12368
12378
  "path": "src/module-loader/catalog.js",
@@ -14432,7 +14442,7 @@
14432
14442
  {
14433
14443
  "path": "tests/government_routes.mjs",
14434
14444
  "mode": "0000644",
14435
- "sha256": "c5bc4a05509f2dc26064f9d8fa2c2e0ab156f269c340a9623ebed5e96c935142"
14445
+ "sha256": "5ad02edb432d636f8d02a79e75447199278d169ffe5587db905fe557ecfdd3fd"
14436
14446
  },
14437
14447
  {
14438
14448
  "path": "tests/government_seed.mjs",
@@ -14959,10 +14969,15 @@
14959
14969
  "mode": "0000644",
14960
14970
  "sha256": "7ac7c55c05086c04759d80aa70011cf51b3574bcb97801922b38e127f16e044b"
14961
14971
  },
14972
+ {
14973
+ "path": "tests/hub_invite_badge.mjs",
14974
+ "mode": "0000644",
14975
+ "sha256": "876e928ac6bc861b8a37f7e591e8192f7df9932a2f4079b647ba08aa543773cf"
14976
+ },
14962
14977
  {
14963
14978
  "path": "tests/hub_invite_notices.mjs",
14964
14979
  "mode": "0000644",
14965
- "sha256": "61a4467e59582bd8d640ba82c139089933a2fadf5c3e2bd570bdfb7b11ae26c7"
14980
+ "sha256": "9fbddc3ca86069529429dff253dd482332b5fbe1285c0d4680d66c21a30fdf72"
14966
14981
  },
14967
14982
  {
14968
14983
  "path": "tests/hub_map_orb_states.mjs",
@@ -15347,7 +15362,7 @@
15347
15362
  {
15348
15363
  "path": "tests/landing_legal_pages.mjs",
15349
15364
  "mode": "0000644",
15350
- "sha256": "b236e043fec938152e9e4cc6f19895fab39c514a109189186fec921a95fb2924"
15365
+ "sha256": "1c74feb5b54291ccef9f17f376227a6c92d8b2ee183a049cb1a920f710b0d6e5"
15351
15366
  },
15352
15367
  {
15353
15368
  "path": "tests/landing_page.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
- - 531 operations across 75 resource groups
8
+ - 532 operations across 75 resource groups
9
9
 
10
10
  ## Use it from your project
11
11
 
@@ -531,6 +531,8 @@ function createClient(opts = {}) {
531
531
  getGovernmentRanks: (args) => request("GET", "/government/ranks", { hasBody: false }, args),
532
532
  // POST /government/ranks — rank: archon — POST /government/ranks
533
533
  postGovernmentRanks: (args) => request("POST", "/government/ranks", { hasBody: true }, args),
534
+ // DELETE /government/ranks/{rankKey} — rank: archon — DELETE /government/ranks/:rankKey
535
+ deleteGovernmentRanksRankKey: (args) => request("DELETE", "/government/ranks/{rankKey}", { hasBody: false }, args),
534
536
  // DELETE /government/ranks/{rankKey}/permissions/{permissionKey} — rank: archon — DELETE /government/ranks/:rankKey/permissions/:permissionKey
535
537
  deleteGovernmentRanksRankKeyPermissionsPermissionKey: (args) => request("DELETE", "/government/ranks/{rankKey}/permissions/{permissionKey}", { hasBody: false }, args),
536
538
  // PUT /government/ranks/{rankKey}/permissions/{permissionKey} — rank: archon — PUT /government/ranks/:rankKey/permissions/:permissionKey
@@ -530,6 +530,8 @@ function createClient(opts = {}) {
530
530
  getGovernmentRanks: (args) => request("GET", "/government/ranks", { hasBody: false }, args),
531
531
  // POST /government/ranks — rank: archon — POST /government/ranks
532
532
  postGovernmentRanks: (args) => request("POST", "/government/ranks", { hasBody: true }, args),
533
+ // DELETE /government/ranks/{rankKey} — rank: archon — DELETE /government/ranks/:rankKey
534
+ deleteGovernmentRanksRankKey: (args) => request("DELETE", "/government/ranks/{rankKey}", { hasBody: false }, args),
533
535
  // DELETE /government/ranks/{rankKey}/permissions/{permissionKey} — rank: archon — DELETE /government/ranks/:rankKey/permissions/:permissionKey
534
536
  deleteGovernmentRanksRankKeyPermissionsPermissionKey: (args) => request("DELETE", "/government/ranks/{rankKey}/permissions/{permissionKey}", { hasBody: false }, args),
535
537
  // PUT /government/ranks/{rankKey}/permissions/{permissionKey} — rank: archon — PUT /government/ranks/:rankKey/permissions/:permissionKey
@@ -11,6 +11,7 @@ export interface DeleteConnectionsIdResponse { outcome: unknown }
11
11
  export interface DeleteDependenciesResponse { ok: boolean }
12
12
  export interface DeleteGovernmentAssignmentsBuilderIdRankKeyResponse { ok: boolean; builder_id: unknown; rank_key: unknown; removed: unknown }
13
13
  export interface DeleteGovernmentRanksRankKeyPermissionsPermissionKeyResponse { ok: boolean; rank_key: unknown; permission_key: unknown; removed: unknown }
14
+ export interface DeleteGovernmentRanksRankKeyResponse { ok: boolean; rank_key: unknown; deleted: boolean }
14
15
  export interface DeleteGuildRequestsIdResponse { outcome: unknown }
15
16
  export interface DeleteGuildsSlugMembersHandleResponse { outcome: unknown }
16
17
  export interface DeleteGuildsSlugMembershipResponse { outcome: unknown }
@@ -1037,6 +1038,8 @@ export interface BongosClient {
1037
1038
  getGovernmentRanks(args?: RequestArgs): Promise<GetGovernmentRanksResponse>;
1038
1039
  /** POST /government/ranks — rank: archon */
1039
1040
  postGovernmentRanks(args: RequestArgs & { body: PostGovernmentRanksRequest }): Promise<PostGovernmentRanksResponse>;
1041
+ /** DELETE /government/ranks/{rankKey} — rank: archon */
1042
+ deleteGovernmentRanksRankKey(args?: RequestArgs): Promise<DeleteGovernmentRanksRankKeyResponse>;
1040
1043
  /** DELETE /government/ranks/{rankKey}/permissions/{permissionKey} — rank: archon */
1041
1044
  deleteGovernmentRanksRankKeyPermissionsPermissionKey(args?: RequestArgs): Promise<DeleteGovernmentRanksRankKeyPermissionsPermissionKeyResponse>;
1042
1045
  /** PUT /government/ranks/{rankKey}/permissions/{permissionKey} — rank: archon */
@@ -527,6 +527,8 @@ export function createClient(opts = {}) {
527
527
  getGovernmentRanks: (args) => request("GET", "/government/ranks", { hasBody: false }, args),
528
528
  // POST /government/ranks — rank: archon — POST /government/ranks
529
529
  postGovernmentRanks: (args) => request("POST", "/government/ranks", { hasBody: true }, args),
530
+ // DELETE /government/ranks/{rankKey} — rank: archon — DELETE /government/ranks/:rankKey
531
+ deleteGovernmentRanksRankKey: (args) => request("DELETE", "/government/ranks/{rankKey}", { hasBody: false }, args),
530
532
  // DELETE /government/ranks/{rankKey}/permissions/{permissionKey} — rank: archon — DELETE /government/ranks/:rankKey/permissions/:permissionKey
531
533
  deleteGovernmentRanksRankKeyPermissionsPermissionKey: (args) => request("DELETE", "/government/ranks/{rankKey}/permissions/{permissionKey}", { hasBody: false }, args),
532
534
  // PUT /government/ranks/{rankKey}/permissions/{permissionKey} — rank: archon — PUT /government/ranks/:rankKey/permissions/:permissionKey
@@ -9255,6 +9255,61 @@
9255
9255
  ]
9256
9256
  }
9257
9257
  },
9258
+ "/government/ranks/{rankKey}": {
9259
+ "delete": {
9260
+ "operationId": "delete_government_ranks_rankKey",
9261
+ "tags": [
9262
+ "government"
9263
+ ],
9264
+ "summary": "DELETE /government/ranks/:rankKey",
9265
+ "description": "government.manage — delete a CUSTOM rank (task 1004481). Ranks added from a recommended set used to be permanent; the owner hesitated to try one for exactly that reason. Three refusals, each naming what to do: - a seeded rank, never (`seeded_rank_immutable`) — the ladder is the system; - a rank someone still holds (`rank_still_held`, with the holders) — owner decision 2026-10-08: no auto-unassign, so nobody loses a rank as a side effect of a cleanup; - a rank the constitution or the who-decides table seats (`rank_in_use_by_government`) — deleting it would leave that seat empty, and only an amendment may change who decides.\n\n**Rank:** `archon` — Archon only (rank and identity management + the escalation keys — the trust boundary).\n\n**Permissions:** `government.manage` (all required).",
9266
+ "x-rank": "archon",
9267
+ "x-source": "modules/government/routes/government.js",
9268
+ "x-permissions": [
9269
+ "government.manage"
9270
+ ],
9271
+ "parameters": [
9272
+ {
9273
+ "name": "rankKey",
9274
+ "in": "path",
9275
+ "required": true,
9276
+ "schema": {
9277
+ "type": "string"
9278
+ },
9279
+ "description": "Path parameter `rankKey`."
9280
+ }
9281
+ ],
9282
+ "responses": {
9283
+ "200": {
9284
+ "description": "Success.",
9285
+ "content": {
9286
+ "application/json": {
9287
+ "schema": {
9288
+ "$ref": "#/components/schemas/DeleteGovernmentRanksRankKeyResponse"
9289
+ }
9290
+ }
9291
+ }
9292
+ },
9293
+ "400": {
9294
+ "$ref": "#/components/responses/BadRequest"
9295
+ },
9296
+ "401": {
9297
+ "$ref": "#/components/responses/Unauthorized"
9298
+ },
9299
+ "403": {
9300
+ "$ref": "#/components/responses/Forbidden"
9301
+ },
9302
+ "404": {
9303
+ "$ref": "#/components/responses/NotFound"
9304
+ }
9305
+ },
9306
+ "security": [
9307
+ {
9308
+ "builderSession": []
9309
+ }
9310
+ ]
9311
+ }
9312
+ },
9258
9313
  "/government/ranks/{rankKey}/permissions/{permissionKey}": {
9259
9314
  "put": {
9260
9315
  "operationId": "put_government_ranks_rankKey_permissions_permissionKey",
@@ -14510,7 +14565,7 @@
14510
14565
  "my-projects"
14511
14566
  ],
14512
14567
  "summary": "GET /my-projects/invites",
14513
- "description": "the caller's OWN pending invitations (ADR 0141 §5).\n\n**Rank:** `any-builder` — Any authenticated builder (row-level ownership enforced in-handler).",
14568
+ "description": "the caller's OWN pending invitations (ADR 0141 §5), plus the notices parked under their login before they had a hub account (task 1004646).\n\n**Rank:** `any-builder` — Any authenticated builder (row-level ownership enforced in-handler).",
14514
14569
  "x-rank": "any-builder",
14515
14570
  "x-source": "modules/platform-identity/routes/my-projects.js",
14516
14571
  "responses": {
@@ -25060,6 +25115,23 @@
25060
25115
  "removed"
25061
25116
  ]
25062
25117
  },
25118
+ "DeleteGovernmentRanksRankKeyResponse": {
25119
+ "type": "object",
25120
+ "properties": {
25121
+ "ok": {
25122
+ "type": "boolean"
25123
+ },
25124
+ "rank_key": {},
25125
+ "deleted": {
25126
+ "type": "boolean"
25127
+ }
25128
+ },
25129
+ "required": [
25130
+ "ok",
25131
+ "rank_key",
25132
+ "deleted"
25133
+ ]
25134
+ },
25063
25135
  "DeleteGuildRequestsIdResponse": {
25064
25136
  "type": "object",
25065
25137
  "properties": {
@@ -34107,9 +34179,9 @@
34107
34179
  "description": "A required dependency/feature is not configured or is temporarily down."
34108
34180
  }
34109
34181
  },
34110
- "x-endpoint-count": 531,
34111
- "x-schema-count": 573,
34182
+ "x-endpoint-count": 532,
34183
+ "x-schema-count": 574,
34112
34184
  "x-undocumented-bodies": 12,
34113
- "x-response-schemas": 379,
34185
+ "x-response-schemas": 380,
34114
34186
  "x-generated-by": "scripts/gds/gen-api-docs.js"
34115
34187
  }
@@ -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. 531 endpoints across 93 route files.
5
+ > **Generated from the live route files** — the route file is authoritative. 532 endpoints across 93 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`.
@@ -341,7 +341,7 @@ Base path: `/api/bongos`. Ranks (enforced server-side, [ADR 0016](adr/0016-trust
341
341
  | GET | `/api/bongos/goals/rollups` | `any-builder` | — | GET /goals/rollups?version= — one small row per goal: readiness counters, the last-activity timestamp, the craft set, and the next claima… |
342
342
  | GET | `/api/bongos/goals/suggestions` | `any-builder` | — | GET /goals/suggestions — "which goal should this draft live in?", answered before anything is created (task 1003062 / R07). |
343
343
 
344
- ## `government` (20)
344
+ ## `government` (21)
345
345
 
346
346
  | Method | Path | Rank | Body | Description |
347
347
  |---|---|---|---|---|
@@ -362,6 +362,7 @@ Base path: `/api/bongos`. Ranks (enforced server-side, [ADR 0016](adr/0016-trust
362
362
  | POST | `/api/bongos/government/rank-sets/apply` | `archon` | `type`, `headcount` | government.manage — add a RECOMMENDED RANK SET (task 1004400): the custom ranks recommendations.js names for a project type and size, eac… |
363
363
  | GET | `/api/bongos/government/ranks` | `archon` | — | government.manage — the full rank list with each rank's grants. |
364
364
  | POST | `/api/bongos/government/ranks` | `archon` | `rank_key`, `label`, `description` | government.manage — create a CUSTOM rank (is_system false, no seeded_rank — the seeded four exist only via governance_002). |
365
+ | DELETE | `/api/bongos/government/ranks/:rankKey` | `archon` | — | government.manage — delete a CUSTOM rank (task 1004481). |
365
366
  | PUT | `/api/bongos/government/ranks/:rankKey/permissions/:permissionKey` | `archon` | — | government.manage — grant one permission to a rank (the toggle's ON half). |
366
367
  | DELETE | `/api/bongos/government/ranks/:rankKey/permissions/:permissionKey` | `archon` | — | government.manage — revoke a grant (the toggle's OFF half). |
367
368
  | POST | `/api/bongos/government/ranks/:rankKey/reset` | `archon` | — | government.manage — restore a SEEDED rank to its catalog default (ADR 0172). |
@@ -556,7 +557,7 @@ Base path: `/api/bongos`. Ranks (enforced server-side, [ADR 0016](adr/0016-trust
556
557
  |---|---|---|---|---|
557
558
  | GET | `/api/bongos/my-projects` | `any-builder` | — | the caller's OWN cross-project memberships (own data). |
558
559
  | POST | `/api/bongos/my-projects/:clientId/leave` | `any-builder` | — | leave a project from the caller's OWN membership list. |
559
- | GET | `/api/bongos/my-projects/invites` | `any-builder` | — | the caller's OWN pending invitations (ADR 0141 §5). |
560
+ | GET | `/api/bongos/my-projects/invites` | `any-builder` | — | the caller's OWN pending invitations (ADR 0141 §5), plus the notices parked under their login before they had a hub account (task 1004646). |
560
561
  | POST | `/api/bongos/my-projects/invites/:clientId/decline` | `any-builder` | — | decline an invite (delete the pending row) for the caller's OWN account. |
561
562
  | POST | `/api/bongos/my-projects/join` | `any-builder` | `origin`, `note`, `guild` | request to join a project. |
562
563