@bongos/core 1.24.7 → 1.24.8

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 (43) hide show
  1. package/.bongos-core.json +97 -37
  2. package/clients/bongos-client/README.md +1 -1
  3. package/clients/bongos-client/bongos-client.global.js +8 -0
  4. package/clients/bongos-client/index.cjs +8 -0
  5. package/clients/bongos-client/index.d.ts +12 -0
  6. package/clients/bongos-client/index.mjs +8 -0
  7. package/docs/api/openapi.json +260 -3
  8. package/docs/api-reference.md +6 -2
  9. package/docs/copy-inventory.md +27 -4
  10. package/docs/copy-registry.json +244 -6
  11. package/docs/module-api-changelog.md +2 -0
  12. package/docs/page-inventory.json +40 -4
  13. package/docs/page-readings.json +61 -1
  14. package/modules/government/decision-board.js +5 -0
  15. package/modules/government/decision-rules.js +3 -0
  16. package/modules/government/routes/government.js +2 -0
  17. package/modules/hall-ui/public/market-watch-rules-lib.js +207 -0
  18. package/modules/hall-ui/public/market-watch-rules.css +68 -0
  19. package/modules/hall-ui/public/market-watch-rules.html +54 -0
  20. package/modules/hall-ui/public/market-watch-rules.js +129 -0
  21. package/modules/hall-ui/public/market-watch-rules.states.json +17 -0
  22. package/modules/market-watch/matter-acts.js +59 -0
  23. package/modules/market-watch/module.json +5 -4
  24. package/modules/market-watch/proposals.js +214 -0
  25. package/modules/market-watch/research.js +49 -8
  26. package/modules/market-watch/routes/rules.js +202 -0
  27. package/modules/market-watch/rules-logic.js +264 -0
  28. package/modules/market-watch/rules-view.js +165 -0
  29. package/package-lock.json +2 -2
  30. package/package.json +1 -1
  31. package/release-notes.json +6 -0
  32. package/scripts/bongos/government-walk.js +18 -2
  33. package/scripts/bongos/run-unit-tests.js +3 -0
  34. package/src/bongos/module-scope-map.js +2 -0
  35. package/src/bongos/serve-internal.js +2 -1
  36. package/src/module-api.js +1 -1
  37. package/tests/government_act_alone_buildings.mjs +3 -0
  38. package/tests/government_decision_rules.mjs +4 -1
  39. package/tests/governor_matter_acts.mjs +5 -1
  40. package/tests/hall_page_gate_map.mjs +3 -0
  41. package/tests/market_watch_module.mjs +1 -0
  42. package/tests/market_watch_rules.mjs +496 -0
  43. package/tests/market_watch_rules_db.mjs +133 -0
package/.bongos-core.json CHANGED
@@ -2,22 +2,22 @@
2
2
  "artifact": "bongos-core",
3
3
  "manifest_schema": 1,
4
4
  "generator": "scripts/bongos/package-core.js",
5
- "core_version": "1.24.7",
6
- "core_contract": "1.24.7",
7
- "source_commit": "046c1730b79c87e6abf97c7337e208c4fc054ec8",
5
+ "core_version": "1.24.8",
6
+ "core_contract": "1.24.8",
7
+ "source_commit": "e1928e4e0a2c1ac1a87f42e26dd675bb88a3c1a0",
8
8
  "source_ref": "HEAD",
9
- "built_at": "2026-10-30T09:01:01.769Z",
9
+ "built_at": "2026-10-30T09:10:40.062Z",
10
10
  "redaction": {
11
11
  "model": "docs-redacted+functional-verbatim",
12
12
  "docs_redacted": 628,
13
13
  "agent_docs_stubbed": 32,
14
- "functional_verbatim": 3727,
14
+ "functional_verbatim": 3739,
15
15
  "rules": 3,
16
16
  "gate_literals": 3,
17
17
  "gate": "passed"
18
18
  },
19
- "file_count": 4388,
20
- "tree_sha256": "54fabc03ac0d1ff8a7a609a441b0c3e3f6b2dfb3c31a628c759730d619d7c885",
19
+ "file_count": 4400,
20
+ "tree_sha256": "1d028c48c3869754ab8e877d8fb880e796c69671039e6ef7cb480eec228b780a",
21
21
  "files": [
22
22
  {
23
23
  "path": ".claude/skills/ask-for-help/SKILL.md",
@@ -327,12 +327,12 @@
327
327
  {
328
328
  "path": "clients/bongos-client/README.md",
329
329
  "mode": "0000644",
330
- "sha256": "6aa2a4269ce603ae9b21a26c16fb4a19316a4b740981067e60de4825dfc99e34"
330
+ "sha256": "4bf092681f3a398bd836f3e9d7f4530ce56688448ea0824dff84268edda2375b"
331
331
  },
332
332
  {
333
333
  "path": "clients/bongos-client/bongos-client.global.js",
334
334
  "mode": "0000644",
335
- "sha256": "6de6d6f401db915703edc4068bfa650e526695542f3c547b4563f6d8d24e5fe5"
335
+ "sha256": "42b5d095f8e637490f755f23f83c2c53cc3eae4c8a77664380277b841d166d13"
336
336
  },
337
337
  {
338
338
  "path": "clients/bongos-client/examples/hello-world.mjs",
@@ -342,17 +342,17 @@
342
342
  {
343
343
  "path": "clients/bongos-client/index.cjs",
344
344
  "mode": "0000644",
345
- "sha256": "89e68bce31d01cececb2ab1a28766828e37281523462acda77d5c20e17106470"
345
+ "sha256": "2321dd3865548a19fb1df02672901d58798b2c579869caf32ba1a3548d736d6d"
346
346
  },
347
347
  {
348
348
  "path": "clients/bongos-client/index.d.ts",
349
349
  "mode": "0000644",
350
- "sha256": "a0404bb52e95d34894f733dbc4819f135e4baf333f058e06212579f9babc4e79"
350
+ "sha256": "87282327820749848cd6f0295a02206728a483c55671d2748d5938cd9cb50877"
351
351
  },
352
352
  {
353
353
  "path": "clients/bongos-client/index.mjs",
354
354
  "mode": "0000644",
355
- "sha256": "c5c8097091dba7e2471eec9b81175cf1f9458a164f7b8a4ebaf3c9476197155f"
355
+ "sha256": "cf8d31c9b75edd1209cd4438ebbcbb767d0dc0a7dbab2907c03fe4c99bf30584"
356
356
  },
357
357
  {
358
358
  "path": "clients/bongos-client/package.json",
@@ -2447,12 +2447,12 @@
2447
2447
  {
2448
2448
  "path": "docs/api-reference.md",
2449
2449
  "mode": "0000644",
2450
- "sha256": "f448b281a5bceb1c12bdd8fda50212a6ab58f55fe6222b3d38a2de5594a4fdb2"
2450
+ "sha256": "062569424f3cbdd9edd3f992956a28a92957e27be176914cff99edd20002f952"
2451
2451
  },
2452
2452
  {
2453
2453
  "path": "docs/api/openapi.json",
2454
2454
  "mode": "0000644",
2455
- "sha256": "f5a026f69ec3fd3416937d5d022ac519de293b2f8cf32929fb0feab884488b65"
2455
+ "sha256": "2bf47c975ae69a1cb7d78c894dac554a9343e4aa15141a581f92497d804b7da7"
2456
2456
  },
2457
2457
  {
2458
2458
  "path": "docs/architecture.md",
@@ -2477,12 +2477,12 @@
2477
2477
  {
2478
2478
  "path": "docs/copy-inventory.md",
2479
2479
  "mode": "0000644",
2480
- "sha256": "ec200ef276e9901999c596f748b44d7c86a3a159507ed353eeff5d60d1ccdc71"
2480
+ "sha256": "0138b011fbec3aa37fa9a41e0bc632e21e9d4df3a47fcc8855f87ea6ee801857"
2481
2481
  },
2482
2482
  {
2483
2483
  "path": "docs/copy-registry.json",
2484
2484
  "mode": "0000644",
2485
- "sha256": "d2b188a01d973cfcf240db8afb13cc5ffdf34d048ce0229fd0527b1d22d991f4"
2485
+ "sha256": "de6dc54e4cc8b5a5d61174c422eefdd9c773a026a039eda7dc3b8881e5b1580f"
2486
2486
  },
2487
2487
  {
2488
2488
  "path": "docs/design/apex-pass-2-direction.md",
@@ -2992,7 +2992,7 @@
2992
2992
  {
2993
2993
  "path": "docs/module-api-changelog.md",
2994
2994
  "mode": "0000644",
2995
- "sha256": "93de7b0468a490b13b362a1dd02800c6d2d090422255b8858eea5f886ed11bda"
2995
+ "sha256": "2b545339b5bfcb895fe16d8219ebefa46bcc486488cc99316c9ef633e22e8ad6"
2996
2996
  },
2997
2997
  {
2998
2998
  "path": "docs/modules-contract.md",
@@ -3077,12 +3077,12 @@
3077
3077
  {
3078
3078
  "path": "docs/page-inventory.json",
3079
3079
  "mode": "0000644",
3080
- "sha256": "143bc5348d7b717165493315352709bdf95bbce55f3158044fbd151d2525e296"
3080
+ "sha256": "b89d81d0ba63950f9244d9f87d35986ef9082b30916b267bda9a01ffa5132eaf"
3081
3081
  },
3082
3082
  {
3083
3083
  "path": "docs/page-readings.json",
3084
3084
  "mode": "0000644",
3085
- "sha256": "4489d7ac710dbe601d07a5c983439d58f40979e7798c2e8bc2bd5dbd938f5311"
3085
+ "sha256": "936ed9ec72c32a878ad28f7825aef8a3c5c4901d4a5931f09bb51693893c2380"
3086
3086
  },
3087
3087
  {
3088
3088
  "path": "docs/project-context.template.md",
@@ -5337,12 +5337,12 @@
5337
5337
  {
5338
5338
  "path": "modules/government/decision-board.js",
5339
5339
  "mode": "0000644",
5340
- "sha256": "2f26cdec8ba249255692e06b09b7d3858cf144650983593a4920ee9aeafc36cf"
5340
+ "sha256": "fae2b429b6d3714d12b08a1d94bb9a28670a94370ae2f51cd8e5bdea692fe760"
5341
5341
  },
5342
5342
  {
5343
5343
  "path": "modules/government/decision-rules.js",
5344
5344
  "mode": "0000644",
5345
- "sha256": "7c683e381de1fb3cb50b550fbc01c654a56b83196bfcb54b061516e776fa0b1d"
5345
+ "sha256": "adba77e3af1da714230fb08f4729db04a697d502d3c1bb76a7f01bade3734f66"
5346
5346
  },
5347
5347
  {
5348
5348
  "path": "modules/government/docket-floors.js",
@@ -5642,7 +5642,7 @@
5642
5642
  {
5643
5643
  "path": "modules/government/routes/government.js",
5644
5644
  "mode": "0000644",
5645
- "sha256": "9317c3b9267460c7ccc227cfe814a1347390633c33e31f5895868cc24ade2b24"
5645
+ "sha256": "e09db840a2c20dd098034b87c434a995eb02f91eacc7be3241cc6335a79f3316"
5646
5646
  },
5647
5647
  {
5648
5648
  "path": "modules/government/routes/rank-sync.js",
@@ -6514,6 +6514,31 @@
6514
6514
  "mode": "0000644",
6515
6515
  "sha256": "0cc04ed27665728fe0f0e66b3c18aa430d12d12dfdb6091a42f79d4215be1c0e"
6516
6516
  },
6517
+ {
6518
+ "path": "modules/hall-ui/public/market-watch-rules-lib.js",
6519
+ "mode": "0000644",
6520
+ "sha256": "c52540dce74ed498a7132c70931d7e8178e636e390c6dbfac3462478d3feb863"
6521
+ },
6522
+ {
6523
+ "path": "modules/hall-ui/public/market-watch-rules.css",
6524
+ "mode": "0000644",
6525
+ "sha256": "e8192e732d449586244de8863c13c187d5edf87937c73f2111a2974f7c75172d"
6526
+ },
6527
+ {
6528
+ "path": "modules/hall-ui/public/market-watch-rules.html",
6529
+ "mode": "0000644",
6530
+ "sha256": "be7dc00211d561d9c347ad6fb3984d5c48d1ec43e801fddcf13f5b3885fc9b8f"
6531
+ },
6532
+ {
6533
+ "path": "modules/hall-ui/public/market-watch-rules.js",
6534
+ "mode": "0000644",
6535
+ "sha256": "f4d9852cdc48c069dcc48a95651c150df7742d0571ce81d26c945c102d7a156f"
6536
+ },
6537
+ {
6538
+ "path": "modules/hall-ui/public/market-watch-rules.states.json",
6539
+ "mode": "0000644",
6540
+ "sha256": "7298cd98038bc49a8281e46f1f0efaededfbd766c1622ee5be48dcd7ca77bb81"
6541
+ },
6517
6542
  {
6518
6543
  "path": "modules/hall-ui/public/md-reader.js",
6519
6544
  "mode": "0000644",
@@ -8329,6 +8354,11 @@
8329
8354
  "mode": "0000644",
8330
8355
  "sha256": "12e72db5dc4973bdde50f9266de6da8d45ca82719d483abc483cdde8357e0dca"
8331
8356
  },
8357
+ {
8358
+ "path": "modules/market-watch/matter-acts.js",
8359
+ "mode": "0000644",
8360
+ "sha256": "9f2719c63c87d754533e98465f3ffa054b92e6f3c0b6f8ce7aeda1d3a0e4c2ea"
8361
+ },
8332
8362
  {
8333
8363
  "path": "modules/market-watch/migrations/market_watch_001_tables.sql",
8334
8364
  "mode": "0000644",
@@ -8347,7 +8377,7 @@
8347
8377
  {
8348
8378
  "path": "modules/market-watch/module.json",
8349
8379
  "mode": "0000644",
8350
- "sha256": "a57233d9893fb24807dd6bceef619d34a8f1942763e263dfff92eaa05aef8f5a"
8380
+ "sha256": "55d9dc0927a6058510165c4ec3bb24c95b4a3bce37fd4c77a9eca2975309b871"
8351
8381
  },
8352
8382
  {
8353
8383
  "path": "modules/market-watch/pollers/hub-seed.js",
@@ -8364,6 +8394,11 @@
8364
8394
  "mode": "0000644",
8365
8395
  "sha256": "72667087f124c3436e875648fbd74d1a8ec305bd2b0487c83b9959183c7fc82b"
8366
8396
  },
8397
+ {
8398
+ "path": "modules/market-watch/proposals.js",
8399
+ "mode": "0000644",
8400
+ "sha256": "fff22e07a50f43b658c10a10ffe55496e838d1c7f118e9ebd8d4b4490dda2d33"
8401
+ },
8367
8402
  {
8368
8403
  "path": "modules/market-watch/public/hall-widget.js",
8369
8404
  "mode": "0000644",
@@ -8377,13 +8412,28 @@
8377
8412
  {
8378
8413
  "path": "modules/market-watch/research.js",
8379
8414
  "mode": "0000644",
8380
- "sha256": "769e5a5d5dfd66a6c2dadbffe115f768cb259efe872f7600a53a0044baf6e6bc"
8415
+ "sha256": "0b6e06e28613083bba818cf2d6df2b458ef066206fcb71d84bf9cd8322cb2af0"
8381
8416
  },
8382
8417
  {
8383
8418
  "path": "modules/market-watch/routes/ask.js",
8384
8419
  "mode": "0000644",
8385
8420
  "sha256": "f8c94811414fad25af4088f8a4ed48e7b25b7ddbb5c2bdab8c73ce554618b220"
8386
8421
  },
8422
+ {
8423
+ "path": "modules/market-watch/routes/rules.js",
8424
+ "mode": "0000644",
8425
+ "sha256": "0e58cbb9a96820de6113393d246f995654aa8f79e9db6573256f774488cb0426"
8426
+ },
8427
+ {
8428
+ "path": "modules/market-watch/rules-logic.js",
8429
+ "mode": "0000644",
8430
+ "sha256": "4fe34b8b6f5fb1f3d83645ffee427ee1a1db1594885b4f6c6dc18c18f49110af"
8431
+ },
8432
+ {
8433
+ "path": "modules/market-watch/rules-view.js",
8434
+ "mode": "0000644",
8435
+ "sha256": "ac4ce56bb40697d89b41c52f29d1d97e2ab9005a57298160204fbc2859dcbb37"
8436
+ },
8387
8437
  {
8388
8438
  "path": "modules/market-watch/run.js",
8389
8439
  "mode": "0000644",
@@ -11437,12 +11487,12 @@
11437
11487
  {
11438
11488
  "path": "package-lock.json",
11439
11489
  "mode": "0000644",
11440
- "sha256": "7b71ba8d77d1dd4d6021fc816b8b836033b10f74df90cbd2221e174787af2282"
11490
+ "sha256": "fe8bbe7d7e7bf8e8b666d2527bbff2f1dc3617ab9bc472fffe5683f3e5ce1858"
11441
11491
  },
11442
11492
  {
11443
11493
  "path": "package.json",
11444
11494
  "mode": "0000644",
11445
- "sha256": "f269c422e500602393c61b5dfe27efb058d3657dfc1ffd786d464677ab649e11"
11495
+ "sha256": "7db5714cd191277d9bfd584bf80a6f0f0cf5b5fcdae31a61305d57ea36191c64"
11446
11496
  },
11447
11497
  {
11448
11498
  "path": "public-docs/index.html",
@@ -11462,7 +11512,7 @@
11462
11512
  {
11463
11513
  "path": "release-notes.json",
11464
11514
  "mode": "0000644",
11465
- "sha256": "9f645811cc8ad16b95914c42b5d5f475c9e711c87d6d6cf523a7bff11da7e4fc"
11515
+ "sha256": "652511c01f9993927babd2528806249a3eef0d95a4981dd66adb9ae24d7d399e"
11466
11516
  },
11467
11517
  {
11468
11518
  "path": "scripts/bongos/CLAUDE.md",
@@ -12102,7 +12152,7 @@
12102
12152
  {
12103
12153
  "path": "scripts/bongos/government-walk.js",
12104
12154
  "mode": "0000644",
12105
- "sha256": "91a66046b7e4bf98b96fb848abfab1f1a27939f8b9efcf52dd489f56d5faa359"
12155
+ "sha256": "d20763a3e5d87f5617a42a7e312c25a16ab8f125a1baab51cf2a4324729bffcf"
12106
12156
  },
12107
12157
  {
12108
12158
  "path": "scripts/bongos/grade-correlation-audit.js",
@@ -12687,7 +12737,7 @@
12687
12737
  {
12688
12738
  "path": "scripts/bongos/run-unit-tests.js",
12689
12739
  "mode": "0000644",
12690
- "sha256": "761091c93930535e1ec22e9c268897aeef935ca0c985aea5e194fa50e17393f6"
12740
+ "sha256": "59bce9b896eb24b1650ce546b16c28111e148a22b33d58db3a75c48b221ac48f"
12691
12741
  },
12692
12742
  {
12693
12743
  "path": "scripts/bongos/runner-drift.js",
@@ -14992,7 +15042,7 @@
14992
15042
  {
14993
15043
  "path": "src/bongos/module-scope-map.js",
14994
15044
  "mode": "0000644",
14995
- "sha256": "ab7bb8b01ffd40562329a593dea6a2e204e8c7c68671bc372fb9a8dfeb67eba6"
15045
+ "sha256": "dea666f021241bb0dd4b478f870c30200b097ce5f3cb97ae74f9dd26bb171fc0"
14996
15046
  },
14997
15047
  {
14998
15048
  "path": "src/bongos/module-store.js",
@@ -15252,7 +15302,7 @@
15252
15302
  {
15253
15303
  "path": "src/bongos/serve-internal.js",
15254
15304
  "mode": "0000644",
15255
- "sha256": "d1712ea3dfc06ffbad0914d1f6feb5d89a1ffea98cbf6342a9dc552b03206fee"
15305
+ "sha256": "52782755e554b04c03a5e7994a91402c78578ca939127f07242cbe1f22167c49"
15256
15306
  },
15257
15307
  {
15258
15308
  "path": "src/bongos/sign-in-pages.js",
@@ -15307,7 +15357,7 @@
15307
15357
  {
15308
15358
  "path": "src/module-api.js",
15309
15359
  "mode": "0000644",
15310
- "sha256": "bbccf2e76af9d26277225210a9f741356123c3afb0c6790c44b51494f4802b33"
15360
+ "sha256": "14a0c1c875df0982dff9b066fbd0b2c657f685ccc86a924cab434a91f520e0ca"
15311
15361
  },
15312
15362
  {
15313
15363
  "path": "src/module-loader/catalog.js",
@@ -17512,7 +17562,7 @@
17512
17562
  {
17513
17563
  "path": "tests/government_act_alone_buildings.mjs",
17514
17564
  "mode": "0000644",
17515
- "sha256": "9c686234f1271fc6a59915922dea72af84b25c68c10c04bb5ba034d2bb510efc"
17565
+ "sha256": "8583a2f565f9d7d52fa4f3c06e61268b54b9995603d8fe24afcf6760b6e4e562"
17516
17566
  },
17517
17567
  {
17518
17568
  "path": "tests/government_agent_asks.mjs",
@@ -17667,7 +17717,7 @@
17667
17717
  {
17668
17718
  "path": "tests/government_decision_rules.mjs",
17669
17719
  "mode": "0000644",
17670
- "sha256": "598fe5884fbe88c204fa83bcea757d7008ac446d6b903d6764cb7930bc8c6ad3"
17720
+ "sha256": "f518b1250b37a1d861e6ea16761a0f8db6c74b93876b0ccf139864d4393848a1"
17671
17721
  },
17672
17722
  {
17673
17723
  "path": "tests/government_fold.mjs",
@@ -17812,7 +17862,7 @@
17812
17862
  {
17813
17863
  "path": "tests/governor_matter_acts.mjs",
17814
17864
  "mode": "0000644",
17815
- "sha256": "f7aa81f4e8772996f77b4d227ca76d93de95564cef317f915d84b3cfaea30de3"
17865
+ "sha256": "ff51aa11698e1570ac31acd09414ec5e0655b7c39e3cc0a6a3059ef328b2e842"
17816
17866
  },
17817
17867
  {
17818
17868
  "path": "tests/grade_aggregates_unavailable.mjs",
@@ -18152,7 +18202,7 @@
18152
18202
  {
18153
18203
  "path": "tests/hall_page_gate_map.mjs",
18154
18204
  "mode": "0000644",
18155
- "sha256": "d5180b8fce3585dae82246fa207f0b8e4abe132584f336744281e681d89cc442"
18205
+ "sha256": "82c93e37d2867b96c26f7b49e6772e34b8698e676767f909f51335a18405e4f8"
18156
18206
  },
18157
18207
  {
18158
18208
  "path": "tests/hall_palette.mjs",
@@ -19052,7 +19102,17 @@
19052
19102
  {
19053
19103
  "path": "tests/market_watch_module.mjs",
19054
19104
  "mode": "0000644",
19055
- "sha256": "afdd81a6cb40f91f4cc477e0da5ace03110fa479ea1596615c921f966cd6d783"
19105
+ "sha256": "2509941ba8d6e05606562575af376831eb66c70dbfcc27209358ba9f65333f98"
19106
+ },
19107
+ {
19108
+ "path": "tests/market_watch_rules.mjs",
19109
+ "mode": "0000644",
19110
+ "sha256": "d309b3f73968b3663257ac9c0251b8028b0ddcb1883a5e3691210bbc2fc061a7"
19111
+ },
19112
+ {
19113
+ "path": "tests/market_watch_rules_db.mjs",
19114
+ "mode": "0000644",
19115
+ "sha256": "2c93217510b2f654f44ace9793df18c43e6d5420e37d266d17366a3194d93abc"
19056
19116
  },
19057
19117
  {
19058
19118
  "path": "tests/market_watch_run.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
- - 639 operations across 80 resource groups
8
+ - 643 operations across 80 resource groups
9
9
 
10
10
  ## Use it from your project
11
11
 
@@ -763,6 +763,14 @@ function createClient(opts = {}) {
763
763
  getMarketWatchAsk: (args) => request("GET", "/market-watch/ask", { hasBody: false }, args),
764
764
  // POST /market-watch/ask/answer — rank: any-builder — POST /market-watch/ask/answer
765
765
  postMarketWatchAskAnswer: (args) => request("POST", "/market-watch/ask/answer", { hasBody: true }, args),
766
+ // POST /market-watch/proposals/{id}/decide — rank: any-builder — POST /market-watch/proposals/:id/decide
767
+ postMarketWatchProposalsIdDecide: (args) => request("POST", "/market-watch/proposals/{id}/decide", { hasBody: true }, args),
768
+ // POST /market-watch/proposals/{id}/vote — rank: metic+archon — POST /market-watch/proposals/:id/vote
769
+ postMarketWatchProposalsIdVote: (args) => request("POST", "/market-watch/proposals/{id}/vote", { hasBody: true }, args),
770
+ // GET /market-watch/rules — rank: any-builder — GET /market-watch/rules
771
+ getMarketWatchRules: (args) => request("GET", "/market-watch/rules", { hasBody: false }, args),
772
+ // POST /market-watch/rules/proposals — rank: any-builder — POST /market-watch/rules/proposals
773
+ postMarketWatchRulesProposals: (args) => request("POST", "/market-watch/rules/proposals", { hasBody: true }, args),
766
774
  },
767
775
  "me": {
768
776
  // GET /me — rank: any-builder — GET /me
@@ -762,6 +762,14 @@ function createClient(opts = {}) {
762
762
  getMarketWatchAsk: (args) => request("GET", "/market-watch/ask", { hasBody: false }, args),
763
763
  // POST /market-watch/ask/answer — rank: any-builder — POST /market-watch/ask/answer
764
764
  postMarketWatchAskAnswer: (args) => request("POST", "/market-watch/ask/answer", { hasBody: true }, args),
765
+ // POST /market-watch/proposals/{id}/decide — rank: any-builder — POST /market-watch/proposals/:id/decide
766
+ postMarketWatchProposalsIdDecide: (args) => request("POST", "/market-watch/proposals/{id}/decide", { hasBody: true }, args),
767
+ // POST /market-watch/proposals/{id}/vote — rank: metic+archon — POST /market-watch/proposals/:id/vote
768
+ postMarketWatchProposalsIdVote: (args) => request("POST", "/market-watch/proposals/{id}/vote", { hasBody: true }, args),
769
+ // GET /market-watch/rules — rank: any-builder — GET /market-watch/rules
770
+ getMarketWatchRules: (args) => request("GET", "/market-watch/rules", { hasBody: false }, args),
771
+ // POST /market-watch/rules/proposals — rank: any-builder — POST /market-watch/rules/proposals
772
+ postMarketWatchRulesProposals: (args) => request("POST", "/market-watch/rules/proposals", { hasBody: true }, args),
765
773
  },
766
774
  "me": {
767
775
  // GET /me — rank: any-builder — GET /me
@@ -464,6 +464,10 @@ export interface PostLlmCacheLookupResponse { hit: boolean; result: unknown }
464
464
  export interface PostLlmCacheStoreRequest { spec?: unknown; result_stdout?: unknown; result_cost_usd?: unknown }
465
465
  export interface PostLlmCacheStoreResponse { stored: boolean; result_cost_usd?: unknown }
466
466
  export interface PostMarketWatchAskAnswerRequest { week_of?: string; picks?: unknown[]; names?: unknown[]; nothing?: boolean; builder_id?: number }
467
+ export interface PostMarketWatchProposalsIdDecideRequest { decision: "approve" | "decline" }
468
+ export interface PostMarketWatchProposalsIdVoteResponse { ok: boolean; matter_id: unknown; item_id: unknown }
469
+ export interface PostMarketWatchRulesProposalsRequest { step: string; change: Record<string, unknown>; reason: string }
470
+ export interface PostMarketWatchRulesProposalsResponse { ok: boolean; proposal: unknown }
467
471
  export interface PostMeAnthropicLinkRequest { anthropic_email: string; anthropic_user_id: string }
468
472
  export interface PostMeAnthropicLinkResponse { linked: unknown }
469
473
  export interface PostMeFilterViewsRequest { page: string; name: string; values: Record<string, unknown>; is_default?: boolean }
@@ -1383,6 +1387,14 @@ export interface BongosClient {
1383
1387
  getMarketWatchAsk(args?: RequestArgs): Promise<GetMarketWatchAskResponse>;
1384
1388
  /** POST /market-watch/ask/answer — rank: any-builder */
1385
1389
  postMarketWatchAskAnswer(args?: RequestArgs & { body?: PostMarketWatchAskAnswerRequest }): Promise<ApiResponse>;
1390
+ /** POST /market-watch/proposals/{id}/decide — rank: any-builder */
1391
+ postMarketWatchProposalsIdDecide(args: RequestArgs & { body: PostMarketWatchProposalsIdDecideRequest }): Promise<ApiResponse>;
1392
+ /** POST /market-watch/proposals/{id}/vote — rank: metic+archon */
1393
+ postMarketWatchProposalsIdVote(args?: RequestArgs): Promise<PostMarketWatchProposalsIdVoteResponse>;
1394
+ /** GET /market-watch/rules — rank: any-builder */
1395
+ getMarketWatchRules(args?: RequestArgs): Promise<ApiResponse>;
1396
+ /** POST /market-watch/rules/proposals — rank: any-builder */
1397
+ postMarketWatchRulesProposals(args: RequestArgs & { body: PostMarketWatchRulesProposalsRequest }): Promise<PostMarketWatchRulesProposalsResponse>;
1386
1398
  };
1387
1399
  "me": {
1388
1400
  /** GET /me — rank: any-builder */
@@ -759,6 +759,14 @@ export function createClient(opts = {}) {
759
759
  getMarketWatchAsk: (args) => request("GET", "/market-watch/ask", { hasBody: false }, args),
760
760
  // POST /market-watch/ask/answer — rank: any-builder — POST /market-watch/ask/answer
761
761
  postMarketWatchAskAnswer: (args) => request("POST", "/market-watch/ask/answer", { hasBody: true }, args),
762
+ // POST /market-watch/proposals/{id}/decide — rank: any-builder — POST /market-watch/proposals/:id/decide
763
+ postMarketWatchProposalsIdDecide: (args) => request("POST", "/market-watch/proposals/{id}/decide", { hasBody: true }, args),
764
+ // POST /market-watch/proposals/{id}/vote — rank: metic+archon — POST /market-watch/proposals/:id/vote
765
+ postMarketWatchProposalsIdVote: (args) => request("POST", "/market-watch/proposals/{id}/vote", { hasBody: true }, args),
766
+ // GET /market-watch/rules — rank: any-builder — GET /market-watch/rules
767
+ getMarketWatchRules: (args) => request("GET", "/market-watch/rules", { hasBody: false }, args),
768
+ // POST /market-watch/rules/proposals — rank: any-builder — POST /market-watch/rules/proposals
769
+ postMarketWatchRulesProposals: (args) => request("POST", "/market-watch/rules/proposals", { hasBody: true }, args),
762
770
  },
763
771
  "me": {
764
772
  // GET /me — rank: any-builder — GET /me