@bongos/core 1.21.37 → 1.21.39

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 (33) hide show
  1. package/.bongos-core.json +51 -36
  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 +77 -3
  8. package/docs/api-reference.md +3 -2
  9. package/docs/copy-inventory.md +6 -7
  10. package/docs/copy-registry.json +8 -17
  11. package/docs/module-api-changelog.md +4 -0
  12. package/docs/page-readings.json +310 -318
  13. package/modules/government/board-withdraw.js +38 -0
  14. package/modules/government/board.js +1 -0
  15. package/modules/government/db.js +20 -0
  16. package/modules/government/migrations/government_026_board_outcome_withdrawn.sql +29 -0
  17. package/modules/government/routes/government.js +26 -0
  18. package/modules/hall-ui/public/street-card.js +16 -0
  19. package/modules/hall-ui/public/street-desk.js +2 -0
  20. package/modules/hall-ui/public/street-inside.js +3 -13
  21. package/modules/hall-ui/public/street.css +2 -6
  22. package/modules/hall-ui/public/street.html +0 -4
  23. package/modules/hall-ui/public/street.js +3 -18
  24. package/modules/hall-ui/records/governor-street.md +2 -2
  25. package/package-lock.json +2 -2
  26. package/package.json +1 -1
  27. package/release-notes.json +12 -0
  28. package/src/bongos/route-rank-check.js +4 -0
  29. package/src/module-api.js +1 -1
  30. package/tests/government_board_withdraw.mjs +144 -0
  31. package/tests/government_seed.mjs +1 -0
  32. package/tests/hall_street_desk.mjs +37 -0
  33. package/tests/hall_street_inside.mjs +18 -16
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.37",
6
- "core_contract": "1.21.37",
7
- "source_commit": "69e08f81d80ecb8608652c407232f20496e1d51c",
5
+ "core_version": "1.21.39",
6
+ "core_contract": "1.21.39",
7
+ "source_commit": "79a5b4dde4c0dba1623440911c08a5a601dbe3a9",
8
8
  "source_ref": "HEAD",
9
- "built_at": "2026-10-04T14:17:58.987Z",
9
+ "built_at": "2026-10-04T16:47:04.510Z",
10
10
  "redaction": {
11
11
  "model": "docs-redacted+functional-verbatim",
12
12
  "docs_redacted": 582,
13
13
  "agent_docs_stubbed": 27,
14
- "functional_verbatim": 2912,
14
+ "functional_verbatim": 2915,
15
15
  "rules": 3,
16
16
  "gate_literals": 3,
17
17
  "gate": "passed"
18
18
  },
19
- "file_count": 3522,
20
- "tree_sha256": "0242316b7f3956d646d235b60867d285793fb7a29a1dba3db0a1b46624396619",
19
+ "file_count": 3525,
20
+ "tree_sha256": "d65b572c59ad18e5bea578aae2d4bdc3be3b4a1ed9996a3b593db29afe4c88b6",
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": "0ff95bf12579c65f3339ac4bf0cc282d7d0132a4872a159042954907b36abfa3"
320
+ "sha256": "428e6d43f0f3e60c0777a0c937b2f0d96b957a66353d6bcb66c33d523f092252"
321
321
  },
322
322
  {
323
323
  "path": "clients/bongos-client/bongos-client.global.js",
324
324
  "mode": "0000644",
325
- "sha256": "d7d4b4c0235d41edfa9348e2953c7f30e97d1c967f1c3d40d32b9a788981826f"
325
+ "sha256": "3d883a2c48e51f1d4a3dfc25a0997ebafa068a03844102643fa67108c1b447f1"
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": "4f3cba7f1b570870e2f407e2fbe4d407337a71c882b55e064e814bb653bd77be"
335
+ "sha256": "05964ae1ba8451e4b25810f568c3d5e8c87acb6dba93a3cb3949992c124e4460"
336
336
  },
337
337
  {
338
338
  "path": "clients/bongos-client/index.d.ts",
339
339
  "mode": "0000644",
340
- "sha256": "e07a6b252459922dad017a3165d52b0068268509a2ac901f00b6aca6c6eab5e4"
340
+ "sha256": "d5c51fd8aa78ec05ff4cdd22318db54c2940527c00a16c6c4f8ec9be5e41d207"
341
341
  },
342
342
  {
343
343
  "path": "clients/bongos-client/index.mjs",
344
344
  "mode": "0000644",
345
- "sha256": "1a0e9c95b879d23b2ed6035e27de9c8a4c830dcb2b8614cfdb6b887028684ca3"
345
+ "sha256": "3d3b0fed9ae284c918ca5d7fd54dc9892a1829f0dd250979994cd8f2c3d0da8b"
346
346
  },
347
347
  {
348
348
  "path": "clients/bongos-client/package.json",
@@ -2292,12 +2292,12 @@
2292
2292
  {
2293
2293
  "path": "docs/api-reference.md",
2294
2294
  "mode": "0000644",
2295
- "sha256": "73ebc308ec5a5995594da8e28c8866d94660121ab92930b377f35498064f02b9"
2295
+ "sha256": "006e9f56a98916643a873612e1e34818e6bf8376654556bb9ed43cd2469b6c94"
2296
2296
  },
2297
2297
  {
2298
2298
  "path": "docs/api/openapi.json",
2299
2299
  "mode": "0000644",
2300
- "sha256": "c5dc54ad280fecc902b089a95e43186bd8bcb538bb932683313903c5c1633643"
2300
+ "sha256": "716ad5a04338ac72a92687ec62ada3c12cc450cbfd269c4bac96ef0f81c69048"
2301
2301
  },
2302
2302
  {
2303
2303
  "path": "docs/architecture.md",
@@ -2322,12 +2322,12 @@
2322
2322
  {
2323
2323
  "path": "docs/copy-inventory.md",
2324
2324
  "mode": "0000644",
2325
- "sha256": "10591ecd88a3179009a440ab5ad525e2429d3e20f171ac166c8d67b2e60126b4"
2325
+ "sha256": "deaf7fe0b1d4b2ee6b3e28b50283c4ce54d9e2412a41c33f4ab6c1b76ce925df"
2326
2326
  },
2327
2327
  {
2328
2328
  "path": "docs/copy-registry.json",
2329
2329
  "mode": "0000644",
2330
- "sha256": "e62d65124f2df168423b03be12ca035d48251d2b8f9dd68729e3e050eb6f62ca"
2330
+ "sha256": "d3c84391f09cdefd556f31a457fae965a418bbaa77febd1f9a66796a153175de"
2331
2331
  },
2332
2332
  {
2333
2333
  "path": "docs/design/apex-pass-2-direction.md",
@@ -2837,7 +2837,7 @@
2837
2837
  {
2838
2838
  "path": "docs/module-api-changelog.md",
2839
2839
  "mode": "0000644",
2840
- "sha256": "e8854973bbeec4bd1b88ddc67c72ba9b80af7874705d1dfda740b97ff8a2158e"
2840
+ "sha256": "0e6ad0eebd2955f7582ee5e8f88476612ec0dc6be88e1b95563b23b97f243a54"
2841
2841
  },
2842
2842
  {
2843
2843
  "path": "docs/modules-contract.md",
@@ -2927,7 +2927,7 @@
2927
2927
  {
2928
2928
  "path": "docs/page-readings.json",
2929
2929
  "mode": "0000644",
2930
- "sha256": "8cdc965a45a5acd7286ee54e4b539086eef1d5acd102ce3591781df975dfdffa"
2930
+ "sha256": "127c1d0d5d10a1d0b15ac45470052cb2c6dbadd91760b5e28fcf8f13eaa04c19"
2931
2931
  },
2932
2932
  {
2933
2933
  "path": "docs/project-context.template.md",
@@ -4854,10 +4854,15 @@
4854
4854
  "mode": "0000644",
4855
4855
  "sha256": "26f212bfb64239e98418618ec3304664180b06f3740b8c4f682f29d3bbf2f3e9"
4856
4856
  },
4857
+ {
4858
+ "path": "modules/government/board-withdraw.js",
4859
+ "mode": "0000644",
4860
+ "sha256": "debc9d9e01c2a698aa5039f4368c38d1ae43302b9fa345f63d8a5b05ff22536a"
4861
+ },
4857
4862
  {
4858
4863
  "path": "modules/government/board.js",
4859
4864
  "mode": "0000644",
4860
- "sha256": "fbbc5a9ec8175619469885b6b8aeb4b6ef44b1b5d09550c815611e2e63e070dc"
4865
+ "sha256": "d95e53c9aec8dc4614aec18da37644da44256d0977195ae32ad5951a1d50ba09"
4861
4866
  },
4862
4867
  {
4863
4868
  "path": "modules/government/catalog.js",
@@ -4877,7 +4882,7 @@
4877
4882
  {
4878
4883
  "path": "modules/government/db.js",
4879
4884
  "mode": "0000644",
4880
- "sha256": "39e316a3a9fee74532e75b8c588d8934004a1f00fa61a90d8a3ffb73ae8a5f5d"
4885
+ "sha256": "bc95bf1e21ee2c2dc5444a8fdd056893a2883fd8e55e01c7c765e2d69bee2c7b"
4881
4886
  },
4882
4887
  {
4883
4888
  "path": "modules/government/decision-board.js",
@@ -5069,6 +5074,11 @@
5069
5074
  "mode": "0000644",
5070
5075
  "sha256": "5bcdd9defa3927adda5612d990d25dc8efaea8f2a0c159b5bd1b4154364512df"
5071
5076
  },
5077
+ {
5078
+ "path": "modules/government/migrations/government_026_board_outcome_withdrawn.sql",
5079
+ "mode": "0000644",
5080
+ "sha256": "24296bac7d187f9f4c9290238c5ba8fa253e906839dac9ec46598f578adad4be"
5081
+ },
5072
5082
  {
5073
5083
  "path": "modules/government/module.json",
5074
5084
  "mode": "0000644",
@@ -5107,7 +5117,7 @@
5107
5117
  {
5108
5118
  "path": "modules/government/routes/government.js",
5109
5119
  "mode": "0000644",
5110
- "sha256": "22d64cbaf6ecfd0b922a1552915be160974e9941d79192265d8033c537582827"
5120
+ "sha256": "6bc11f4cff85844a8060d3ec688d3d608165d741f7da055d63fe8bf59c65a519"
5111
5121
  },
5112
5122
  {
5113
5123
  "path": "modules/government/routes/rank-sync.js",
@@ -6192,7 +6202,7 @@
6192
6202
  {
6193
6203
  "path": "modules/hall-ui/public/street-card.js",
6194
6204
  "mode": "0000644",
6195
- "sha256": "36e0df620d59a86d87b9c209a7a3d223119d656010f3f68b023a30ff75232f14"
6205
+ "sha256": "ce16bc30bfe106e13a25592f01d75dc650f05482c40747646e8c73a1f35f8ddf"
6196
6206
  },
6197
6207
  {
6198
6208
  "path": "modules/hall-ui/public/street-card.states.json",
@@ -6202,7 +6212,7 @@
6202
6212
  {
6203
6213
  "path": "modules/hall-ui/public/street-desk.js",
6204
6214
  "mode": "0000644",
6205
- "sha256": "b2e5226276d02ea495f22abfee7ea8e2de8865798d5c8e4916e7ad62be2a49e5"
6215
+ "sha256": "d4b7f5a792afeb639134efeb36a26ff4a246d98cde44170e48d44e55403db664"
6206
6216
  },
6207
6217
  {
6208
6218
  "path": "modules/hall-ui/public/street-draw.js",
@@ -6212,22 +6222,22 @@
6212
6222
  {
6213
6223
  "path": "modules/hall-ui/public/street-inside.js",
6214
6224
  "mode": "0000644",
6215
- "sha256": "6280b350e6a63c9f8647e8cb431a3841ab3c54f5aee283c37d16f2c19f84f611"
6225
+ "sha256": "8b322b299f6bbdb95cd7c7f0ff898f1ccce1cc8cafd0133380c61edef62b71bc"
6216
6226
  },
6217
6227
  {
6218
6228
  "path": "modules/hall-ui/public/street.css",
6219
6229
  "mode": "0000644",
6220
- "sha256": "a15abb51a276582998c63017dd98a2b5210805581b15ebded5f4f94c26c75c5b"
6230
+ "sha256": "df8c3fc40e598653293abd82a60659dac17c9bdbb10b47f0f804b47db58c69d0"
6221
6231
  },
6222
6232
  {
6223
6233
  "path": "modules/hall-ui/public/street.html",
6224
6234
  "mode": "0000644",
6225
- "sha256": "9980d60d024551aaf104d19eb76d2c30cace48959042203212e01af46c8978b1"
6235
+ "sha256": "861d3118237545ec9819087129a490a7cdba407d93e2b6faa54f7cdd939eee88"
6226
6236
  },
6227
6237
  {
6228
6238
  "path": "modules/hall-ui/public/street.js",
6229
6239
  "mode": "0000644",
6230
- "sha256": "96b62eb3244b981203dbf8f6984be984dacd99dc2f1b6c3c3f09c8852a42227f"
6240
+ "sha256": "2b8b19602ad1cba295629d3eeaea92391ed256f3a4014babd49683638164361f"
6231
6241
  },
6232
6242
  {
6233
6243
  "path": "modules/hall-ui/public/street.states.json",
@@ -6447,7 +6457,7 @@
6447
6457
  {
6448
6458
  "path": "modules/hall-ui/records/governor-street.md",
6449
6459
  "mode": "0000644",
6450
- "sha256": "6fabf54abfc6c7f17cada81bf96956c556d20c11aa831f927746054241511ab9"
6460
+ "sha256": "b6867a66658b2a8cfdae11c096f4ffae8e165bd37ce82bc3498cc44376c1a931"
6451
6461
  },
6452
6462
  {
6453
6463
  "path": "modules/hall-ui/records/hall-navigation.md",
@@ -9832,12 +9842,12 @@
9832
9842
  {
9833
9843
  "path": "package-lock.json",
9834
9844
  "mode": "0000644",
9835
- "sha256": "5b2f7452afc6df312d438b7debeecf02375e7ae9647ba1dd3efd16b2061b6e0f"
9845
+ "sha256": "6ea044351de0eb6cb6c3e62ccfc5dd3bb4d066037d5f0d0f0d66403da580d2a5"
9836
9846
  },
9837
9847
  {
9838
9848
  "path": "package.json",
9839
9849
  "mode": "0000644",
9840
- "sha256": "754f1df55a3524137716518fe3e8203091990259221f5bccb437876ddd30381e"
9850
+ "sha256": "0d08c6aa00b2a109ffbc040e1ce9b92847c89eddc68b118a5fc7abc3b8e7842f"
9841
9851
  },
9842
9852
  {
9843
9853
  "path": "public-docs/index.html",
@@ -9857,7 +9867,7 @@
9857
9867
  {
9858
9868
  "path": "release-notes.json",
9859
9869
  "mode": "0000644",
9860
- "sha256": "d3755ac84cc5f60ac422b36ca583cd73bab23f8a941af1e9cbe9a0339f72cf99"
9870
+ "sha256": "287023d32ad4bc2838c87ef6e2985b7613fd64239cfad2180f1ca0305f6fafe1"
9861
9871
  },
9862
9872
  {
9863
9873
  "path": "scripts/bongos-mcp.js",
@@ -11922,7 +11932,7 @@
11922
11932
  {
11923
11933
  "path": "src/bongos/route-rank-check.js",
11924
11934
  "mode": "0000644",
11925
- "sha256": "bbcf6353af5a63a1d0c496e7ccdd89184eeff4a51d070a890100561387eaaa07"
11935
+ "sha256": "bfe24c17a7f63f0d0dc59f3d50b298e0f09b86eabf79e74140b56b67f157a684"
11926
11936
  },
11927
11937
  {
11928
11938
  "path": "src/bongos/routes.js",
@@ -12082,7 +12092,7 @@
12082
12092
  {
12083
12093
  "path": "src/module-api.js",
12084
12094
  "mode": "0000644",
12085
- "sha256": "822183e28c1e8b3f074651850d586849097b48cc8595c61e0cada0b9fe06c8a8"
12095
+ "sha256": "ca0d40549d7fc7fc61776b27ddc74239d0825d731c33a8dea831ab37de578eb7"
12086
12096
  },
12087
12097
  {
12088
12098
  "path": "src/module-loader/catalog.js",
@@ -13994,6 +14004,11 @@
13994
14004
  "mode": "0000644",
13995
14005
  "sha256": "bb78d4fe2610e08a2d538d4e4a64cd3b7198da12b09da1313a58ed32a96dab5a"
13996
14006
  },
14007
+ {
14008
+ "path": "tests/government_board_withdraw.mjs",
14009
+ "mode": "0000644",
14010
+ "sha256": "68a9035a76d72fe87ad5bbbf79514a93e06b5779a07059456b1ff338b53027a1"
14011
+ },
13997
14012
  {
13998
14013
  "path": "tests/government_catalog.mjs",
13999
14014
  "mode": "0000644",
@@ -14112,7 +14127,7 @@
14112
14127
  {
14113
14128
  "path": "tests/government_seed.mjs",
14114
14129
  "mode": "0000644",
14115
- "sha256": "3d3fdae6553db59da40f639b5ba5788a4953bcfd560fdcbba46e5cc08806e3dc"
14130
+ "sha256": "1024c3bf989d82790103a78e5866b43ad95f71310c1da6a292cffe9320cbd567"
14116
14131
  },
14117
14132
  {
14118
14133
  "path": "tests/government_session_scope.mjs",
@@ -14482,12 +14497,12 @@
14482
14497
  {
14483
14498
  "path": "tests/hall_street_desk.mjs",
14484
14499
  "mode": "0000644",
14485
- "sha256": "f3131b0b6ed88f84b22621c43a4f78c99508e4e05f1e62a5e469c4e134d14233"
14500
+ "sha256": "d2b3177198022b06fac1b22a2e7b0db93770567cf80ed03b5e7fe3f0715a1f38"
14486
14501
  },
14487
14502
  {
14488
14503
  "path": "tests/hall_street_inside.mjs",
14489
14504
  "mode": "0000644",
14490
- "sha256": "68e6dc2cda80006101c6e1045093f102bc61ee994cc0e4b99480a8e5c606abca"
14505
+ "sha256": "a2664588f40c739bac658c953e0e1609fa4c98da55b032deedf46f166d0f5dea"
14491
14506
  },
14492
14507
  {
14493
14508
  "path": "tests/hall_studio_home.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
- - 502 operations across 73 resource groups
8
+ - 503 operations across 73 resource groups
9
9
 
10
10
  ## Use it from your project
11
11
 
@@ -513,6 +513,8 @@ function createClient(opts = {}) {
513
513
  postGovernmentBoardItems: (args) => request("POST", "/government/board/items", { hasBody: true }, args),
514
514
  // POST /government/board/items/{itemId}/votes — rank: any-builder — POST /government/board/items/:itemId/votes
515
515
  postGovernmentBoardItemsItemIdVotes: (args) => request("POST", "/government/board/items/{itemId}/votes", { hasBody: true }, args),
516
+ // POST /government/board/items/{itemId}/withdraw — rank: metic+archon — POST /government/board/items/:itemId/withdraw
517
+ postGovernmentBoardItemsItemIdWithdraw: (args) => request("POST", "/government/board/items/{itemId}/withdraw", { hasBody: true }, args),
516
518
  // POST /government/board/matters — rank: metic+archon — POST /government/board/matters
517
519
  postGovernmentBoardMatters: (args) => request("POST", "/government/board/matters", { hasBody: true }, args),
518
520
  // GET /government/constitution — rank: any-builder — GET /government/constitution
@@ -512,6 +512,8 @@ function createClient(opts = {}) {
512
512
  postGovernmentBoardItems: (args) => request("POST", "/government/board/items", { hasBody: true }, args),
513
513
  // POST /government/board/items/{itemId}/votes — rank: any-builder — POST /government/board/items/:itemId/votes
514
514
  postGovernmentBoardItemsItemIdVotes: (args) => request("POST", "/government/board/items/{itemId}/votes", { hasBody: true }, args),
515
+ // POST /government/board/items/{itemId}/withdraw — rank: metic+archon — POST /government/board/items/:itemId/withdraw
516
+ postGovernmentBoardItemsItemIdWithdraw: (args) => request("POST", "/government/board/items/{itemId}/withdraw", { hasBody: true }, args),
515
517
  // POST /government/board/matters — rank: metic+archon — POST /government/board/matters
516
518
  postGovernmentBoardMatters: (args) => request("POST", "/government/board/matters", { hasBody: true }, args),
517
519
  // GET /government/constitution — rank: any-builder — GET /government/constitution
@@ -350,6 +350,7 @@ export interface PostGovernmentBoardCharterResponse { ok: boolean; amendment: un
350
350
  export interface PostGovernmentBoardDecisionRulesRequest { rules: unknown[]; rationale_md?: string }
351
351
  export interface PostGovernmentBoardDecisionRulesResponse { ok: boolean; amendment: unknown; item: unknown; rules: unknown }
352
352
  export interface PostGovernmentBoardItemsItemIdVotesRequest { direction: string; reason_md?: string; section_key?: string }
353
+ export interface PostGovernmentBoardItemsItemIdWithdrawResponse { ok: boolean; item_closed: boolean; outcome: unknown; item: unknown }
353
354
  export interface PostGovernmentBoardItemsRequest { subject_type: string; proposal: Record<string, unknown>; rationale_md?: string; acknowledge_self_removal?: boolean }
354
355
  export interface PostGovernmentBoardItemsResponse { ok: boolean; amendment: unknown; item: unknown }
355
356
  export interface PostGovernmentBoardMattersRequest { area: string; title: string; detail_md?: string; action?: Record<string, unknown> }
@@ -982,6 +983,8 @@ export interface BongosClient {
982
983
  postGovernmentBoardItems(args: RequestArgs & { body: PostGovernmentBoardItemsRequest }): Promise<PostGovernmentBoardItemsResponse>;
983
984
  /** POST /government/board/items/{itemId}/votes — rank: any-builder */
984
985
  postGovernmentBoardItemsItemIdVotes(args: RequestArgs & { body: PostGovernmentBoardItemsItemIdVotesRequest }): Promise<ApiResponse>;
986
+ /** POST /government/board/items/{itemId}/withdraw — rank: metic+archon */
987
+ postGovernmentBoardItemsItemIdWithdraw(args?: RequestArgs): Promise<PostGovernmentBoardItemsItemIdWithdrawResponse>;
985
988
  /** POST /government/board/matters — rank: metic+archon */
986
989
  postGovernmentBoardMatters(args: RequestArgs & { body: PostGovernmentBoardMattersRequest }): Promise<PostGovernmentBoardMattersResponse>;
987
990
  /** GET /government/constitution — rank: any-builder */
@@ -509,6 +509,8 @@ export function createClient(opts = {}) {
509
509
  postGovernmentBoardItems: (args) => request("POST", "/government/board/items", { hasBody: true }, args),
510
510
  // POST /government/board/items/{itemId}/votes — rank: any-builder — POST /government/board/items/:itemId/votes
511
511
  postGovernmentBoardItemsItemIdVotes: (args) => request("POST", "/government/board/items/{itemId}/votes", { hasBody: true }, args),
512
+ // POST /government/board/items/{itemId}/withdraw — rank: metic+archon — POST /government/board/items/:itemId/withdraw
513
+ postGovernmentBoardItemsItemIdWithdraw: (args) => request("POST", "/government/board/items/{itemId}/withdraw", { hasBody: true }, args),
512
514
  // POST /government/board/matters — rank: metic+archon — POST /government/board/matters
513
515
  postGovernmentBoardMatters: (args) => request("POST", "/government/board/matters", { hasBody: true }, args),
514
516
  // GET /government/constitution — rank: any-builder — GET /government/constitution
@@ -8846,6 +8846,61 @@
8846
8846
  ]
8847
8847
  }
8848
8848
  },
8849
+ "/government/board/items/{itemId}/withdraw": {
8850
+ "post": {
8851
+ "operationId": "post_government_board_items_itemId_withdraw",
8852
+ "tags": [
8853
+ "government"
8854
+ ],
8855
+ "summary": "POST /government/board/items/:itemId/withdraw",
8856
+ "description": "board.item.open — withdraw your own open sitting (task 1004564). The same atom as putting one up: taking it back is the proposer's half of the same act. The atom is only the coarse gate; the walls are in board-withdraw.js and repeated in its write — only the builder who opened the sitting, only while it is open and inside its clock, and only before anyone has voted. It closes with outcome 'withdrawn' (government_026).\n\n**Rank:** `metic+archon` — Metic or Archon rank (review/triage powers).\n\n**Permissions:** `board.item.open` (all required).",
8857
+ "x-rank": "metic+archon",
8858
+ "x-source": "modules/government/routes/government.js",
8859
+ "x-permissions": [
8860
+ "board.item.open"
8861
+ ],
8862
+ "parameters": [
8863
+ {
8864
+ "name": "itemId",
8865
+ "in": "path",
8866
+ "required": true,
8867
+ "schema": {
8868
+ "type": "string"
8869
+ },
8870
+ "description": "Path parameter `itemId`."
8871
+ }
8872
+ ],
8873
+ "responses": {
8874
+ "200": {
8875
+ "description": "Success.",
8876
+ "content": {
8877
+ "application/json": {
8878
+ "schema": {
8879
+ "$ref": "#/components/schemas/PostGovernmentBoardItemsItemIdWithdrawResponse"
8880
+ }
8881
+ }
8882
+ }
8883
+ },
8884
+ "400": {
8885
+ "$ref": "#/components/responses/BadRequest"
8886
+ },
8887
+ "401": {
8888
+ "$ref": "#/components/responses/Unauthorized"
8889
+ },
8890
+ "403": {
8891
+ "$ref": "#/components/responses/Forbidden"
8892
+ },
8893
+ "404": {
8894
+ "$ref": "#/components/responses/NotFound"
8895
+ }
8896
+ },
8897
+ "security": [
8898
+ {
8899
+ "builderSession": []
8900
+ }
8901
+ ]
8902
+ }
8903
+ },
8849
8904
  "/government/board/matters": {
8850
8905
  "post": {
8851
8906
  "operationId": "post_government_board_matters",
@@ -28701,6 +28756,25 @@
28701
28756
  ],
28702
28757
  "additionalProperties": false
28703
28758
  },
28759
+ "PostGovernmentBoardItemsItemIdWithdrawResponse": {
28760
+ "type": "object",
28761
+ "properties": {
28762
+ "ok": {
28763
+ "type": "boolean"
28764
+ },
28765
+ "item_closed": {
28766
+ "type": "boolean"
28767
+ },
28768
+ "outcome": {},
28769
+ "item": {}
28770
+ },
28771
+ "required": [
28772
+ "ok",
28773
+ "item_closed",
28774
+ "outcome",
28775
+ "item"
28776
+ ]
28777
+ },
28704
28778
  "PostGovernmentBoardItemsRequest": {
28705
28779
  "type": "object",
28706
28780
  "properties": {
@@ -32160,9 +32234,9 @@
32160
32234
  "description": "A required dependency/feature is not configured or is temporarily down."
32161
32235
  }
32162
32236
  },
32163
- "x-endpoint-count": 502,
32164
- "x-schema-count": 536,
32237
+ "x-endpoint-count": 503,
32238
+ "x-schema-count": 537,
32165
32239
  "x-undocumented-bodies": 12,
32166
- "x-response-schemas": 355,
32240
+ "x-response-schemas": 356,
32167
32241
  "x-generated-by": "scripts/gds/gen-api-docs.js"
32168
32242
  }
@@ -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. 502 endpoints across 92 route files.
5
+ > **Generated from the live route files** — the route file is authoritative. 503 endpoints across 92 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`.
@@ -340,7 +340,7 @@ Base path: `/api/bongos`. Ranks (enforced server-side, [ADR 0016](adr/0016-trust
340
340
  | 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… |
341
341
  | 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). |
342
342
 
343
- ## `government` (19)
343
+ ## `government` (20)
344
344
 
345
345
  | Method | Path | Rank | Body | Description |
346
346
  |---|---|---|---|---|
@@ -353,6 +353,7 @@ Base path: `/api/bongos`. Ranks (enforced server-side, [ADR 0016](adr/0016-trust
353
353
  | GET | `/api/bongos/government/board/items` | `any-builder` | — | board.vote.cast — the Board Room view: open items with their clock, the OPEN BALLOT, the closed history (R16 of goal 1000069). |
354
354
  | POST | `/api/bongos/government/board/items` | `metic+archon` | `subject_type`, `proposal`, `rationale_md`, `acknowledge_self_removal` | board.item.open — put an AMENDMENT to the board (R14 of goal 1000069, ADR 0175 §7). |
355
355
  | POST | `/api/bongos/government/board/items/:itemId/votes` | `any-builder` | `direction`, `reason_md`, `section_key` | board.vote.cast — cast a vote on an open board item (R08 of goal 1000069, ADR 0175). |
356
+ | POST | `/api/bongos/government/board/items/:itemId/withdraw` | `metic+archon` | — | board.item.open — withdraw your own open sitting (task 1004564). |
356
357
  | POST | `/api/bongos/government/board/matters` | `metic+archon` | `area`, `title`, `detail_md`, `action` | board.item.open — put a MATTER to a building's sitting (task 1004529): the board's new subjects, one per building other than the charter. |
357
358
  | GET | `/api/bongos/government/constitution` | `any-builder` | — | board.vote.cast — the Constitution view (R18 of goal 1000069): the live board block plus the full amendment history, passed and returned … |
358
359
  | GET | `/api/bongos/government/docket` | `any-builder` | — | board.vote.cast — the governor's DOCKET (task 1004523, goal 1000125): ONE read of every matter waiting on, or moving for, a governor, whi… |
@@ -4,13 +4,13 @@
4
4
  > Deterministic on a given tree — regenerate and commit rather than hand-editing.
5
5
  > Machine-readable twin: [`copy-registry.json`](copy-registry.json).
6
6
 
7
- **2426 strings** across 3 surfaces · 2109 distinct pieces of copy · 2426 certain, 0 heuristic · 220 shown in more than one place.
7
+ **2425 strings** across 3 surfaces · 2108 distinct pieces of copy · 2425 certain, 0 heuristic · 220 shown in more than one place.
8
8
 
9
9
  ## Surfaces
10
10
 
11
11
  | surface | lives at | files | strings |
12
12
  |---|---|---|---|
13
- | `builders-hall` | `modules/hall-ui/public` | 131 | 1777 |
13
+ | `builders-hall` | `modules/hall-ui/public` | 131 | 1776 |
14
14
  | `status-dashboard` | `modules/status-ui/public` | 4 | 100 |
15
15
  | `landing` | `modules/public-landing/public` | 6 | 549 |
16
16
 
@@ -78,7 +78,7 @@ Identical copy within one surface. Sometimes right (a repeated button), sometime
78
78
  | `2287c62afcdd` | 3x | The street | modules/hall-ui/public/street.html:54, modules/hall-ui/public/street.html:54, modules/hall-ui/public/street.html:97 |
79
79
  | … | | _180 more in the JSON registry_ | |
80
80
 
81
- ## `builders-hall` — 1777 strings
81
+ ## `builders-hall` — 1776 strings
82
82
 
83
83
  | id | conf | text | where |
84
84
  |---|---|---|---|
@@ -1231,7 +1231,7 @@ Identical copy within one surface. Sometimes right (a repeated button), sometime
1231
1231
  | `6360a5988f26` | certain | The shape and health of the codebase. | `modules/hall-ui/public/watch.html:105` |
1232
1232
  | `fc422cced9e3` | certain | The shared goals you’ve joined. Browse, join, and leave goals — and read their criteria — on the | `modules/hall-ui/public/goals.js:94` |
1233
1233
  | `ac46dc53d95f` | certain | The shared repository the core ships and the modules this project built for itself, each credited to its autho | `modules/hall-ui/public/modules.html:50` |
1234
- | `282638f26534` | certain | The six readings | `modules/hall-ui/public/street.html:189` |
1234
+ | `282638f26534` | certain | The six readings | `modules/hall-ui/public/street.html:185` |
1235
1235
  | `5f631f51f29e` | certain | The skill list could not be loaded. Reload the page to try again. | `modules/hall-ui/public/settings.js:127` |
1236
1236
  | `6b617d158e40` | certain | The sky | `modules/hall-ui/public/goal-map.html:49` |
1237
1237
  | `6b617d158e40` | certain | The sky | `modules/hall-ui/public/goal-map.html:49` |
@@ -1608,10 +1608,9 @@ Identical copy within one surface. Sometimes right (a repeated button), sometime
1608
1608
  | `99f88f2af2ee` | certain | of work — a tangent, an investigation, an unprompted suggestion — instead of staying on your claimed task. It | `modules/hall-ui/public/settings.html:305` |
1609
1609
  | `5e7a2220c6a9` | certain | of {…} | `modules/hall-ui/public/roadmap.js:341` |
1610
1610
  | `759c12b5f983` | certain | oldest first | `modules/hall-ui/public/hall-widgets.js:165` |
1611
- | `7a0398261747` | certain | on the table here | `modules/hall-ui/public/street.html:170` |
1612
1611
  | `f5a9579bbc36` | certain | open in new tab | `modules/hall-ui/public/tweak-editor.html:61` |
1613
1612
  | `e2431ea36238` | certain | open in split view | `modules/hall-ui/public/tweak-editor.html:62` |
1614
- | `b9d1b0f0dfb4` | certain | open it where it lives | `modules/hall-ui/public/street.html:202` |
1613
+ | `b9d1b0f0dfb4` | certain | open it where it lives | `modules/hall-ui/public/street.html:198` |
1615
1614
  | `08f1f614253c` | certain | open the page ↗ | `modules/hall-ui/public/tweak-editor.html:59` |
1616
1615
  | `cbaf58cdbe35` | certain | open the queue | `modules/hall-ui/public/goal-inbox.js:561` |
1617
1616
  | `af3a8e0fe6a8` | certain | open your goals | `modules/hall-ui/public/goal-inbox.js:127` |
@@ -1691,7 +1690,7 @@ Identical copy within one surface. Sometimes right (a repeated button), sometime
1691
1690
  | `95854f8315ca` | certain | the page everyone else reads | `modules/hall-ui/public/profile.html:33` |
1692
1691
  | `2f48995206d4` | certain | the pages /tweak has applied | `modules/hall-ui/public/studio.html:122` |
1693
1692
  | `4bde7b562cf4` | certain | the record | `modules/hall-ui/public/sky-panel.js:51` |
1694
- | `4bde7b562cf4` | certain | the record | `modules/hall-ui/public/street.html:177` |
1693
+ | `4bde7b562cf4` | certain | the record | `modules/hall-ui/public/street.html:173` |
1695
1694
  | `2e24d473cfcc` | certain | the room | `modules/hall-ui/public/sky-panel.js:118` |
1696
1695
  | `2e24d473cfcc` | certain | the room | `modules/hall-ui/public/thinking.html:111` |
1697
1696
  | `5e1eda03fa73` | certain | the sky | `modules/hall-ui/public/goal-map.html:69` |
@@ -3,9 +3,9 @@
3
3
  "generator": "scripts/gds/copy-inventory.js",
4
4
  "goal": 1000074,
5
5
  "counts": {
6
- "strings": 2426,
7
- "unique_ids": 2109,
8
- "certain": 2426,
6
+ "strings": 2425,
7
+ "unique_ids": 2108,
8
+ "certain": 2425,
9
9
  "heuristic": 0,
10
10
  "duplicate_ids": 220
11
11
  },
@@ -13,7 +13,7 @@
13
13
  "builders-hall": {
14
14
  "at": "modules/hall-ui/public",
15
15
  "files": 131,
16
- "strings": 1777
16
+ "strings": 1776
17
17
  },
18
18
  "status-dashboard": {
19
19
  "at": "modules/status-ui/public",
@@ -2162,7 +2162,7 @@
2162
2162
  "occurrences": 2,
2163
2163
  "at": [
2164
2164
  "modules/hall-ui/public/sky-panel.js:51",
2165
- "modules/hall-ui/public/street.html:177"
2165
+ "modules/hall-ui/public/street.html:173"
2166
2166
  ]
2167
2167
  },
2168
2168
  {
@@ -12683,7 +12683,7 @@
12683
12683
  "surface": "builders-hall",
12684
12684
  "text": "The six readings",
12685
12685
  "file": "modules/hall-ui/public/street.html",
12686
- "line": 189,
12686
+ "line": 185,
12687
12687
  "origin": "html-attr:aria-label",
12688
12688
  "confidence": "certain"
12689
12689
  },
@@ -16071,15 +16071,6 @@
16071
16071
  "origin": "js-markup",
16072
16072
  "confidence": "certain"
16073
16073
  },
16074
- {
16075
- "id": "7a0398261747",
16076
- "surface": "builders-hall",
16077
- "text": "on the table here",
16078
- "file": "modules/hall-ui/public/street.html",
16079
- "line": 170,
16080
- "origin": "html-text",
16081
- "confidence": "certain"
16082
- },
16083
16074
  {
16084
16075
  "id": "f5a9579bbc36",
16085
16076
  "surface": "builders-hall",
@@ -16103,7 +16094,7 @@
16103
16094
  "surface": "builders-hall",
16104
16095
  "text": "open it where it lives",
16105
16096
  "file": "modules/hall-ui/public/street.html",
16106
- "line": 202,
16097
+ "line": 198,
16107
16098
  "origin": "html-text",
16108
16099
  "confidence": "certain"
16109
16100
  },
@@ -16823,7 +16814,7 @@
16823
16814
  "surface": "builders-hall",
16824
16815
  "text": "the record",
16825
16816
  "file": "modules/hall-ui/public/street.html",
16826
- "line": 177,
16817
+ "line": 173,
16827
16818
  "origin": "html-text",
16828
16819
  "confidence": "certain"
16829
16820
  },
@@ -2901,5 +2901,9 @@ is load-bearing: the script throws rather than guess if it is missing, and
2901
2901
  landed since 1.21.35 with no explicit bump. run 37207566188. (task 1002620)
2902
2902
  1.21.37 — CI auto-patch (publish-on-merge, ADR 0161): carrier for merges
2903
2903
  landed since 1.21.36 with no explicit bump. run 37208699890. (task 1002620)
2904
+ 1.21.38 — CI auto-patch (publish-on-merge, ADR 0161): carrier for merges
2905
+ landed since 1.21.37 with no explicit bump. run 37209756963. (task 1002620)
2906
+ 1.21.39 — CI auto-patch (publish-on-merge, ADR 0161): carrier for merges
2907
+ landed since 1.21.38 with no explicit bump. run 37217990860. (task 1002620)
2904
2908
  ---------------------------------------------------------------------------
2905
2909
  ```