@bongos/core 1.21.4 → 1.21.6

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 (126) hide show
  1. package/.bongos-core.json +233 -108
  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 -1
  6. package/clients/bongos-client/index.mjs +2 -0
  7. package/docs/adr/0361-merges-publish-as-candidates-release-decides-what-others-are-offered.md +1 -0
  8. package/docs/adr/0362-the-governor-docket-is-collected-from-contributed-sources.md +34 -0
  9. package/docs/adr/README.md +1 -0
  10. package/docs/api/openapi.json +37 -2
  11. package/docs/api-reference.md +4 -3
  12. package/docs/copy-inventory.md +541 -658
  13. package/docs/copy-registry.json +1205 -2340
  14. package/docs/module-api-changelog.md +4 -0
  15. package/docs/onboarding/diagrams/03-drachmae-karma.mmd +1 -1
  16. package/docs/onboarding/diagrams/assertions.json +1 -1
  17. package/docs/page-inventory.json +47 -28
  18. package/docs/page-readings.json +1128 -1339
  19. package/modules/autonomy/config-idle.js +192 -0
  20. package/modules/autonomy/governor-docket.js +101 -0
  21. package/modules/autonomy/routes/autonomy.js +27 -0
  22. package/modules/autonomy/runner-health.js +22 -1
  23. package/modules/discord/board-broadcast.js +3 -1
  24. package/modules/discord/craft-broadcast.js +107 -0
  25. package/modules/discord/routes/discord.js +10 -0
  26. package/modules/discord/ship-broadcast.js +30 -2
  27. package/modules/economy/reward.js +3 -0
  28. package/modules/government/board.js +20 -5
  29. package/modules/government/docket-vocab.js +82 -0
  30. package/modules/government/docket.js +458 -0
  31. package/modules/government/routes/government.js +34 -0
  32. package/modules/hall-ui/public/city-draw.js +438 -0
  33. package/modules/hall-ui/public/city.css +110 -0
  34. package/modules/hall-ui/public/city.html +71 -0
  35. package/modules/hall-ui/public/city.js +177 -0
  36. package/modules/hall-ui/public/city.states.json +30 -0
  37. package/modules/hall-ui/public/gate.js +11 -4
  38. package/modules/hall-ui/public/genesis-home.js +9 -10
  39. package/modules/hall-ui/public/profile.css +4 -0
  40. package/modules/hall-ui/public/profile.js +25 -1
  41. package/modules/hall-ui/public/settings-autobongos.js +19 -1
  42. package/modules/hall-ui/public/settings.css +26 -0
  43. package/modules/hall-ui/public/settings.html +8 -0
  44. package/modules/hall-ui/public/settings.js +43 -3
  45. package/modules/ideas/governor-docket.js +93 -0
  46. package/modules/ideas/routes/blockers.js +5 -0
  47. package/modules/lifecycle/governor-docket.js +192 -0
  48. package/modules/lifecycle/routes/gate-approvals.js +78 -33
  49. package/modules/lifecycle/routes/lifecycle.js +3 -0
  50. package/modules/onboarding/routes/access-requests.js +68 -27
  51. package/modules/platform-identity/craft-rollup.js +72 -0
  52. package/modules/platform-identity/migrations/platform_identity_029_activity_crafts.sql +23 -0
  53. package/modules/platform-identity/platform-identity.js +12 -6
  54. package/modules/platform-identity/routes/sso.js +4 -0
  55. package/modules/platform-identity/tests/platform-identity.mjs +1 -1
  56. package/modules/provisioning/core-upgrade.js +34 -7
  57. package/modules/provisioning/module.json +2 -1
  58. package/modules/provisioning/seams.js +2 -0
  59. package/modules/public-landing/public/assets/cosmos.css +6 -50
  60. package/modules/public-landing/public/projects.html +1170 -1659
  61. package/modules/public-landing/public/projects.probes.json +18 -18
  62. package/modules/public-landing/public/projects.states.json +24 -31
  63. package/modules/security/routes/reports.js +39 -0
  64. package/package-lock.json +2 -2
  65. package/package.json +1 -1
  66. package/release-notes.json +72 -0
  67. package/scripts/gds/autobongos-grade-cap.js +187 -0
  68. package/scripts/gds/autobongos-loop.js +4 -0
  69. package/scripts/gds/autobongos-run.js +154 -13
  70. package/scripts/gds/autobongos-verify.js +211 -14
  71. package/scripts/gds/provision-core-upgrade.js +14 -2
  72. package/scripts/gds/provision-repo.js +77 -13
  73. package/scripts/gds/ship-flow.js +5 -0
  74. package/scripts/gds/ship-preflight-steps.js +2 -1
  75. package/scripts/gds/ship.js +10 -0
  76. package/scripts/gds/update-sweep.js +24 -8
  77. package/scripts/gds/upgrade-outcome.js +1 -0
  78. package/src/bongos/auth-admission.js +95 -13
  79. package/src/bongos/db-kernel.js +1 -1
  80. package/src/bongos/module-rechecks.js +77 -0
  81. package/src/bongos/route-rank-check.js +3 -0
  82. package/src/bongos/routes/core-update.js +68 -2
  83. package/src/bongos/routes/modules.js +17 -0
  84. package/src/bongos/serve-internal.js +14 -0
  85. package/src/bongos/software-update.js +3 -2
  86. package/src/module-api.js +1 -1
  87. package/tests/activity_rollup_order_db.mjs +3 -1
  88. package/tests/activity_snapshots_db.mjs +2 -0
  89. package/tests/autobongos_grade_cap.mjs +125 -0
  90. package/tests/autobongos_loop.mjs +230 -1
  91. package/tests/autobongos_verify.mjs +239 -3
  92. package/tests/autonomy_config_idle.mjs +272 -0
  93. package/tests/core_update_banner.mjs +29 -0
  94. package/tests/core_upgrade_door.mjs +31 -1
  95. package/tests/core_upgrade_runner.mjs +20 -0
  96. package/tests/discord_craft_broadcast.mjs +162 -0
  97. package/tests/genesis_home.mjs +1 -1
  98. package/tests/government_routes.mjs +3 -1
  99. package/tests/governor_docket.mjs +552 -0
  100. package/tests/hall_audit.mjs +10 -1
  101. package/tests/hall_city.mjs +369 -0
  102. package/tests/hall_page_gate_map.mjs +5 -0
  103. package/tests/hub_craft_rollup.mjs +350 -0
  104. package/tests/onboard.mjs +10 -4
  105. package/tests/platform_boot.mjs +1 -1
  106. package/tests/profile_rollup_consent.mjs +2 -0
  107. package/tests/profile_route.mjs +16 -2
  108. package/tests/projects_hub.mjs +196 -89
  109. package/tests/projects_hub_app_status.mjs +3 -1
  110. package/tests/projects_hub_app_step.mjs +72 -48
  111. package/tests/projects_hub_dns_ready.mjs +10 -2
  112. package/tests/projects_hub_look.mjs +32 -22
  113. package/tests/projects_hub_module_picker.mjs +112 -62
  114. package/tests/projects_hub_pre_uat.mjs +48 -41
  115. package/tests/provision.mjs +78 -0
  116. package/tests/public_landing_projects.mjs +12 -6
  117. package/tests/settings_main_role.mjs +190 -0
  118. package/tests/software_update.mjs +56 -1
  119. package/tests/update_subscription_engine.mjs +55 -3
  120. package/tests/wizard_demo.mjs +37 -11
  121. package/tests/wizard_draft_resume.mjs +34 -22
  122. package/tests/wizard_front_door.mjs +173 -103
  123. package/tests/wizard_intent_resume.mjs +28 -25
  124. package/tests/wizard_physics.mjs +94 -76
  125. package/tests/wizard_physics_more.mjs +428 -277
  126. package/tests/wizard_six_screens.mjs +126 -0
@@ -2835,5 +2835,9 @@ is load-bearing: the script throws rather than guess if it is missing, and
2835
2835
  landed since 1.21.2 with no explicit bump. run 36944637655. (task 1002620)
2836
2836
  1.21.4 — CI auto-patch (publish-on-merge, ADR 0161): carrier for merges
2837
2837
  landed since 1.21.3 with no explicit bump. run 36954271746. (task 1002620)
2838
+ 1.21.5 — CI auto-patch (publish-on-merge, ADR 0161): carrier for merges
2839
+ landed since 1.21.4 with no explicit bump. run 36985819041. (task 1002620)
2840
+ 1.21.6 — CI auto-patch (publish-on-merge, ADR 0161): carrier for merges
2841
+ landed since 1.21.5 with no explicit bump. run 37035421571. (task 1002620)
2838
2842
  ---------------------------------------------------------------------------
2839
2843
  ```
@@ -6,7 +6,7 @@ flowchart LR
6
6
  direction TB
7
7
  D_TOKEN["Ship a SESSION — the main reward\nround(true_cost_usd × 1.20) cents — cost-plus on real token spend\n(LIVE: priced server-side from token counts; ADR 0054, idempotent per session)"]
8
8
  D_SHIP["SHIP a TASK — books when the code lands on main, not at confirm\ncredits_reward × kind multiplier (0.8–1.5×)\n+ 25% idea-promotion bonus to the capturer\n(LIVE: ADR 0023; pay-on-land ADR 0120; withheld entirely on a cost-plus-only instance, ADR 0146)"]
9
- D_ACH["Unlock an achievement\nachievements.credit_bonus (LIVE: 9 seeded)\n+ small net-negative-ship bonus"]
9
+ D_ACH["Unlock an achievement\nachievements.credit_bonus (LIVE: 16 seeded)\n+ small net-negative-ship bonus"]
10
10
  D_BOUNTY["Red-team / security bounty\ncredits payout by severity\n(rate card LIVE: R65 #284 — src/bongos/security.js + shown on /builders;\nawarding still PLANNED: R67 #286 + vulnerability_reports R63 #282)"]
11
11
 
12
12
  D_BAL["builders.total_credits\n(running balance per builder)"]
@@ -111,7 +111,7 @@
111
111
  "label": "R67 — auto-confirmation flow that awards drachmae (the awarding gate)"
112
112
  }
113
113
  ],
114
- "achievements_seeded": 9
114
+ "achievements_seeded": 16
115
115
  },
116
116
  "architecture": {
117
117
  "diagram": "04-architecture",
@@ -10,10 +10,10 @@
10
10
  "An id changes only when the host prefix, the data-page value or the file name changes; that is a rename, and records keyed on the old id move with it."
11
11
  ],
12
12
  "counts": {
13
- "pages": 40,
13
+ "pages": 41,
14
14
  "surfaces": 3,
15
- "with_states": 33,
16
- "states": 223
15
+ "with_states": 34,
16
+ "states": 219
17
17
  },
18
18
  "surfaces": [
19
19
  {
@@ -22,7 +22,7 @@
22
22
  "at": "modules/hall-ui/public",
23
23
  "answers_at": "host prefix builders.",
24
24
  "origin": "https://builders.{apex}",
25
- "pages": 32
25
+ "pages": 33
26
26
  },
27
27
  {
28
28
  "id": "landing",
@@ -130,6 +130,32 @@
130
130
  "objection-form"
131
131
  ]
132
132
  },
133
+ {
134
+ "id": "builders:city",
135
+ "surface": "builders",
136
+ "module": "hall-ui",
137
+ "page": "city",
138
+ "id_from": "data-page",
139
+ "title": "The city — {{worldName}}",
140
+ "document_title": "The city — {{worldName}}",
141
+ "path": "/city",
142
+ "url": "https://builders.{apex}/city",
143
+ "files": [
144
+ "modules/hall-ui/public/city.html",
145
+ "modules/hall-ui/public/style.css",
146
+ "modules/hall-ui/public/city.css",
147
+ "modules/hall-ui/public/city-draw.js",
148
+ "modules/hall-ui/public/city.js"
149
+ ],
150
+ "states_files": [
151
+ "modules/hall-ui/public/city.states.json"
152
+ ],
153
+ "states": [
154
+ "city",
155
+ "switched",
156
+ "focus"
157
+ ]
158
+ },
133
159
  {
134
160
  "id": "builders:collab",
135
161
  "surface": "builders",
@@ -1263,36 +1289,29 @@
1263
1289
  "in-manage-missing",
1264
1290
  "out-manage",
1265
1291
  "in-new",
1292
+ "in-new-fork-ticked",
1266
1293
  "in-new-terms-refused",
1267
- "in-new-fork",
1268
1294
  "in-new-fork-demo",
1269
- "in-new-demo-ready",
1270
- "in-new-physics",
1271
- "in-new-physics-state",
1272
- "in-new-physics-geo",
1273
- "in-new-physics-ages",
1274
- "in-new-physics-entity",
1275
- "in-new-physics-builders",
1276
- "in-new-physics-rewards",
1277
- "in-new-physics-framing",
1278
- "in-new-physics-summary",
1279
- "in-new-physics-summary-pro",
1295
+ "in-new-demo-what",
1296
+ "in-new-demo-review-address",
1297
+ "in-new-what",
1280
1298
  "in-new-name-prefilled",
1281
- "in-new-name",
1282
- "out-new",
1283
- "in-new-type",
1284
- "in-new-about",
1285
- "in-new-modules",
1286
- "in-new-modules-search",
1287
- "in-new-home",
1288
- "in-new-address",
1289
- "in-new-app",
1290
- "in-new-app-render",
1291
- "in-new-look",
1292
- "in-new-look-custom",
1299
+ "in-new-checks",
1300
+ "in-new-checks-filled",
1301
+ "in-new-checks-entity",
1293
1302
  "in-new-review",
1303
+ "in-new-review-code",
1304
+ "in-new-review-address",
1305
+ "in-new-review-app",
1306
+ "in-new-review-extras",
1307
+ "in-new-review-team",
1308
+ "in-new-review-run",
1309
+ "in-new-review-confirmed",
1310
+ "in-new-look",
1294
1311
  "in-new-done",
1295
1312
  "in-new-resume-offer",
1313
+ "in-new-look-custom",
1314
+ "out-new",
1296
1315
  "out-map-projects",
1297
1316
  "card",
1298
1317
  "card-noart",