@bongos/core 1.21.5 → 1.21.7

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 (82) hide show
  1. package/.bongos-core.json +152 -72
  2. package/clients/bongos-client/index.d.ts +1 -1
  3. package/docs/adr/0361-merges-publish-as-candidates-release-decides-what-others-are-offered.md +1 -0
  4. package/docs/api/openapi.json +2 -1
  5. package/docs/api-reference.md +1 -1
  6. package/docs/copy-inventory.md +156 -144
  7. package/docs/copy-registry.json +286 -158
  8. package/docs/module-api-changelog.md +4 -0
  9. package/docs/onboarding/diagrams/03-drachmae-karma.mmd +1 -1
  10. package/docs/onboarding/diagrams/assertions.json +1 -1
  11. package/docs/page-inventory.json +35 -6
  12. package/docs/page-readings.json +1056 -1013
  13. package/modules/autonomy/config-idle.js +192 -0
  14. package/modules/autonomy/routes/autonomy.js +22 -0
  15. package/modules/autonomy/runner-health.js +22 -1
  16. package/modules/hall-ui/public/city-draw.js +438 -0
  17. package/modules/hall-ui/public/city.css +110 -0
  18. package/modules/hall-ui/public/city.html +71 -0
  19. package/modules/hall-ui/public/city.js +177 -0
  20. package/modules/hall-ui/public/city.states.json +30 -0
  21. package/modules/hall-ui/public/gate.js +11 -4
  22. package/modules/hall-ui/public/profile.css +4 -0
  23. package/modules/hall-ui/public/profile.js +25 -1
  24. package/modules/hall-ui/public/settings-autobongos.js +19 -1
  25. package/modules/hall-ui/public/settings.css +26 -0
  26. package/modules/hall-ui/public/settings.html +8 -0
  27. package/modules/hall-ui/public/settings.js +43 -3
  28. package/modules/platform-identity/craft-rollup.js +72 -0
  29. package/modules/platform-identity/migrations/platform_identity_029_activity_crafts.sql +23 -0
  30. package/modules/platform-identity/platform-identity.js +12 -6
  31. package/modules/platform-identity/routes/sso.js +4 -0
  32. package/modules/platform-identity/tests/platform-identity.mjs +1 -1
  33. package/modules/provisioning/core-upgrade.js +34 -7
  34. package/modules/provisioning/module.json +2 -1
  35. package/modules/provisioning/seams.js +2 -0
  36. package/modules/public-landing/public/projects-hall-live.states.json +216 -0
  37. package/modules/public-landing/public/projects.html +43 -13
  38. package/modules/public-landing/public/projects.states.json +2 -1
  39. package/modules/ui-design/kit/fixtures/provisioning-instances-hall-live.json +106 -0
  40. package/package-lock.json +2 -2
  41. package/package.json +1 -1
  42. package/release-notes.json +64 -0
  43. package/scripts/gds/autobongos-grade-cap.js +187 -0
  44. package/scripts/gds/autobongos-loop.js +4 -0
  45. package/scripts/gds/autobongos-run.js +154 -13
  46. package/scripts/gds/autobongos-verify.js +211 -14
  47. package/scripts/gds/provision-core-upgrade.js +14 -2
  48. package/scripts/gds/provision-repo.js +77 -13
  49. package/scripts/gds/ship-flow.js +5 -0
  50. package/scripts/gds/ship-preflight-steps.js +2 -1
  51. package/scripts/gds/ship.js +10 -0
  52. package/scripts/gds/update-sweep.js +24 -8
  53. package/scripts/gds/upgrade-outcome.js +1 -0
  54. package/src/bongos/auth-admission.js +95 -13
  55. package/src/bongos/db-kernel.js +1 -1
  56. package/src/bongos/routes/core-update.js +27 -2
  57. package/src/bongos/serve-internal.js +14 -0
  58. package/src/bongos/software-update.js +3 -2
  59. package/src/module-api.js +1 -1
  60. package/tests/activity_rollup_order_db.mjs +3 -1
  61. package/tests/activity_snapshots_db.mjs +2 -0
  62. package/tests/autobongos_grade_cap.mjs +125 -0
  63. package/tests/autobongos_loop.mjs +230 -1
  64. package/tests/autobongos_verify.mjs +239 -3
  65. package/tests/autonomy_config_idle.mjs +272 -0
  66. package/tests/core_update_banner.mjs +29 -0
  67. package/tests/core_upgrade_door.mjs +31 -1
  68. package/tests/core_upgrade_runner.mjs +20 -0
  69. package/tests/hall_audit.mjs +10 -1
  70. package/tests/hall_city.mjs +369 -0
  71. package/tests/hall_page_gate_map.mjs +5 -0
  72. package/tests/hub_craft_rollup.mjs +350 -0
  73. package/tests/profile_rollup_consent.mjs +2 -0
  74. package/tests/profile_route.mjs +16 -2
  75. package/tests/project_invite_ui.mjs +65 -7
  76. package/tests/projects_hub_dns_ready.mjs +7 -1
  77. package/tests/provision.mjs +78 -0
  78. package/tests/settings_main_role.mjs +190 -0
  79. package/tests/software_update.mjs +56 -1
  80. package/tests/ui_design_kit.mjs +1 -1
  81. package/tests/update_subscription_engine.mjs +55 -3
  82. package/tests/wizard_physics_more.mjs +19 -0
@@ -2837,5 +2837,9 @@ is load-bearing: the script throws rather than guess if it is missing, and
2837
2837
  landed since 1.21.3 with no explicit bump. run 36954271746. (task 1002620)
2838
2838
  1.21.5 — CI auto-patch (publish-on-merge, ADR 0161): carrier for merges
2839
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)
2842
+ 1.21.7 — CI auto-patch (publish-on-merge, ADR 0161): carrier for merges
2843
+ landed since 1.21.6 with no explicit bump. run 37038340446. (task 1002620)
2840
2844
  ---------------------------------------------------------------------------
2841
2845
  ```
@@ -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": 215
15
+ "with_states": 34,
16
+ "states": 220
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",
@@ -1231,7 +1257,8 @@
1231
1257
  "modules/public-landing/public/projects-demo.states.json",
1232
1258
  "modules/public-landing/public/projects-dns-pending.states.json",
1233
1259
  "modules/public-landing/public/projects-empty.states.json",
1234
- "modules/public-landing/public/projects-floor.states.json"
1260
+ "modules/public-landing/public/projects-floor.states.json",
1261
+ "modules/public-landing/public/projects-hall-live.states.json"
1235
1262
  ],
1236
1263
  "states": [
1237
1264
  "out-map",
@@ -1267,6 +1294,7 @@
1267
1294
  "in-new-terms-refused",
1268
1295
  "in-new-fork-demo",
1269
1296
  "in-new-demo-what",
1297
+ "in-new-demo-review-address",
1270
1298
  "in-new-what",
1271
1299
  "in-new-name-prefilled",
1272
1300
  "in-new-checks",
@@ -1294,7 +1322,8 @@
1294
1322
  "in-manage-dns-pending",
1295
1323
  "in-mine-empty",
1296
1324
  "card-floor",
1297
- "card-backdrop"
1325
+ "card-backdrop",
1326
+ "in-new-done-live"
1298
1327
  ]
1299
1328
  },
1300
1329
  {