@bongos/core 1.21.105 → 1.21.107

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 (55) hide show
  1. package/.bongos-core.json +88 -58
  2. package/clients/bongos-client/README.md +1 -1
  3. package/clients/bongos-client/bongos-client.global.js +4 -0
  4. package/clients/bongos-client/index.cjs +4 -0
  5. package/clients/bongos-client/index.d.ts +6 -1
  6. package/clients/bongos-client/index.mjs +4 -0
  7. package/docs/api/openapi.json +91 -2
  8. package/docs/api-reference.md +5 -3
  9. package/docs/copy-inventory.md +368 -366
  10. package/docs/copy-registry.json +475 -457
  11. package/docs/design/project-startup-direction.md +14 -0
  12. package/docs/module-api-changelog.md +4 -0
  13. package/docs/page-inventory.json +10 -3
  14. package/docs/page-readings.json +1023 -977
  15. package/migrations/core_275_claims_auto_pickup.sql +24 -0
  16. package/modules/government/decision-rules.js +1 -0
  17. package/modules/lifecycle/autopickup.js +94 -0
  18. package/modules/lifecycle/db-claims.js +18 -4
  19. package/modules/lifecycle/routes/claims.js +12 -1
  20. package/modules/lifecycle/routes/project-settings.js +59 -0
  21. package/modules/public-landing/public/projects-hall-live.states.json +3 -2
  22. package/modules/public-landing/public/projects-setup.states.json +91 -0
  23. package/modules/public-landing/public/projects.html +535 -804
  24. package/modules/public-landing/public/projects.probes.json +3 -3
  25. package/modules/public-landing/public/projects.states.json +1 -1
  26. package/modules/ui-design/kit/fixtures/provisioning-instances-hall-live.json +22 -2
  27. package/modules/ui-design/kit/fixtures/provisioning-instances-setup.json +195 -0
  28. package/modules/ui-design/kit/serve.js +22 -4
  29. package/package-lock.json +2 -2
  30. package/package.json +1 -1
  31. package/release-notes.json +12 -0
  32. package/scripts/gds/government-walk.js +1 -0
  33. package/scripts/gds/run-unit-tests.js +3 -0
  34. package/src/bongos/project-settings.js +79 -0
  35. package/src/module-api.js +8 -1
  36. package/tests/autopickup_cap.mjs +236 -0
  37. package/tests/autopickup_cap_db.mjs +115 -0
  38. package/tests/cosmos_token_contrast.mjs +10 -18
  39. package/tests/github_handback_any_device.mjs +4 -3
  40. package/tests/github_one_trip.mjs +45 -47
  41. package/tests/github_org_account.mjs +2 -2
  42. package/tests/github_pick_up.mjs +40 -29
  43. package/tests/government_act_alone_buildings.mjs +1 -0
  44. package/tests/onboard.mjs +13 -7
  45. package/tests/project_invite_ui.mjs +6 -3
  46. package/tests/project_modules_ui.mjs +3 -3
  47. package/tests/projects_hub.mjs +8 -9
  48. package/tests/projects_hub_cloud_hop.mjs +77 -125
  49. package/tests/projects_hub_dns_ready.mjs +42 -51
  50. package/tests/projects_hub_pre_uat.mjs +68 -69
  51. package/tests/public_landing_projects.mjs +45 -102
  52. package/tests/setup_status_facts.mjs +400 -0
  53. package/tests/wizard_github_feedback.mjs +90 -87
  54. package/tests/wizard_one_page.mjs +11 -9
  55. package/tests/wizard_auto_open.mjs +0 -94
@@ -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. 539 endpoints across 95 route files.
5
+ > **Generated from the live route files** — the route file is authoritative. 541 endpoints across 95 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`.
@@ -143,7 +143,7 @@ Base path: `/api/bongos`. Ranks (enforced server-side, [ADR 0016](adr/0016-trust
143
143
 
144
144
  | Method | Path | Rank | Body | Description |
145
145
  |---|---|---|---|---|
146
- | POST | `/api/bongos/claims` | `any-builder` | `task_id`, `worktree_name`, `head_sha`, `bind_session`, `enforce_touches` | own work (claim a ready task); Xenos additionally filtered to newcomer_friendly rows inside db.claimTask (returns rank_too_low_for_task 4… |
146
+ | POST | `/api/bongos/claims` | `any-builder` | `task_id`, `worktree_name`, `head_sha`, `bind_session`, `enforce_touches`, `auto_pickup` | own work (claim a ready task); Xenos additionally filtered to newcomer_friendly rows inside db.claimTask (returns rank_too_low_for_task 4… |
147
147
  | POST | `/api/bongos/claims/:id/release-on-behalf` | `metic+archon` | `reason` | POST /claims/:id/release-on-behalf — V3.R14 (task 238). |
148
148
  | POST | `/api/bongos/claims/:id/resolve` | `any-builder` | `outcome`, `notes_md`, `value_summary`, `verification`, `force`, `committed_files`, `sandbox_review`, `resolver_worktree` | resolve own claim (ship/abandon); ownership checked in db.resolveClaim (NOT_YOUR_CLAIM). |
149
149
  | POST | `/api/bongos/claims/batch` | `any-builder` | `task_ids`, `worktree_name`, `bind_session` | Atomic multi-claim. |
@@ -616,7 +616,7 @@ Base path: `/api/bongos`. Ranks (enforced server-side, [ADR 0016](adr/0016-trust
616
616
  |---|---|---|---|---|
617
617
  | GET | `/api/bongos/project/manage-link` | `archon` | — | GET /project/manage-link — the hub's page for THIS project, where its owner takes it offline or disconnects it (task 1004570). |
618
618
 
619
- ## `project-settings` (4)
619
+ ## `project-settings` (6)
620
620
 
621
621
  | Method | Path | Rank | Body | Description |
622
622
  |---|---|---|---|---|
@@ -624,6 +624,8 @@ Base path: `/api/bongos`. Ranks (enforced server-side, [ADR 0016](adr/0016-trust
624
624
  | PATCH | `/api/bongos/project-settings/rot-days` | `metic+archon` | `days` | PATCH /project-settings/rot-days — body { days }. |
625
625
  | GET | `/api/bongos/project-settings/ship-mode` | `any-builder` | — | GET /project-settings/ship-mode — the ship mode alone, for the CLI and the AI. |
626
626
  | PATCH | `/api/bongos/project-settings/ship-mode` | `metic+archon` | `mode` | PATCH /project-settings/ship-mode — body { mode: 'auto' \| 'manual' }. |
627
+ | GET | `/api/bongos/project-settings/tweak-autopickup` | `any-builder` | — | |
628
+ | PATCH | `/api/bongos/project-settings/tweak-autopickup` | `metic+archon` | `mode`, `cap` | PATCH /project-settings/tweak-autopickup — body { mode?: 'off' \| 'on', cap?: n }. |
627
629
 
628
630
  ## `projects` (8)
629
631