@bongos/core 1.18.0 → 1.18.3

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 (113) hide show
  1. package/.bongos-core.json +132 -322
  2. package/README.md +1 -1
  3. package/config/branding.neutral.json +5 -1
  4. package/docs/adr/0142-project-context-is-prose-only.md +41 -0
  5. package/docs/adr/0143-onboarding-repo-picker-oauth-scope.md +35 -0
  6. package/docs/adr/README.md +5 -2
  7. package/docs/api/openapi.json +1789 -450
  8. package/docs/api-reference.md +52 -5
  9. package/docs/file-map.md +7 -7
  10. package/docs/recipes/packaging-the-core.md +13 -0
  11. package/docs/recipes/upgrading-the-core.md +5 -2
  12. package/migrations/039_newcomer_friendly_column.sql +5 -0
  13. package/migrations/102_remove_box_first_provision_approval.sql +4 -0
  14. package/migrations/core_192_github_oauth_tokens.sql +33 -0
  15. package/modules/hall-ui/public/my-projects.html +78 -0
  16. package/modules/hall-ui/public/my-projects.js +142 -0
  17. package/modules/hall-ui/public/scouting.html +45 -0
  18. package/modules/hall-ui/public/scouting.js +73 -0
  19. package/modules/status-ui/public/explore.html +54 -0
  20. package/modules/status-ui/public/explore.js +67 -0
  21. package/package-lock.json +2 -2
  22. package/package.json +1 -1
  23. package/public-landing/create.html +211 -14
  24. package/scripts/gds/cli-lib.js +11 -5
  25. package/scripts/gds/lint-migrations.js +102 -0
  26. package/scripts/gds/login.js +42 -10
  27. package/scripts/gds/mirror-redact.js +5 -0
  28. package/scripts/gds/package-core.js +263 -4
  29. package/scripts/gds/provision.js +145 -7
  30. package/scripts/gds/publish-manifest.js +15 -0
  31. package/scripts/gds/run-unit-tests.js +38 -14
  32. package/scripts/gds/setup.js +41 -0
  33. package/scripts/gds/ship.js +115 -31
  34. package/scripts/gds/upgrade.js +147 -5
  35. package/scripts/migrate.sh +10 -0
  36. package/src/bongos/auth.js +362 -5
  37. package/src/bongos/db.js +66 -0
  38. package/src/bongos/github-repos.js +93 -0
  39. package/src/bongos/routes/auth.js +93 -11
  40. package/src/bongos/routes/github.js +90 -0
  41. package/src/bongos/routes/instance.js +15 -3
  42. package/src/bongos/routes.js +2 -0
  43. package/src/branding.js +17 -2
  44. package/src/instance-config.js +16 -0
  45. package/src/module-api.js +29 -1
  46. package/tests/branding.mjs +29 -23
  47. package/tests/github_repos_helpers.mjs +91 -0
  48. package/tests/github_token_store.mjs +121 -0
  49. package/tests/idp_device_exchange.mjs +105 -0
  50. package/tests/idp_federation.mjs +100 -0
  51. package/tests/migrations_forward_safe.mjs +86 -0
  52. package/tests/module_api.mjs +1 -1
  53. package/tests/package_core.mjs +246 -1
  54. package/tests/provision.mjs +157 -0
  55. package/tests/pruned_lockfile_integrity.mjs +79 -0
  56. package/tests/ship_ci_deploy.mjs +60 -0
  57. package/tests/upgrade.mjs +254 -5
  58. package/.gitignore +0 -91
  59. package/docs/adr/0139-platform-history-migration-to-cloudbongos.md +0 -94
  60. package/docs/adr/0140-cloudbongos-standalone-reprovision.md +0 -43
  61. package/scripts/hall-preview/fixtures/access-requests.json +0 -20
  62. package/scripts/hall-preview/fixtures/achievements.json +0 -76
  63. package/scripts/hall-preview/fixtures/analytics__builder.json +0 -251
  64. package/scripts/hall-preview/fixtures/audit-log.json +0 -68
  65. package/scripts/hall-preview/fixtures/blockers__detail.json +0 -12
  66. package/scripts/hall-preview/fixtures/box__me.json +0 -5
  67. package/scripts/hall-preview/fixtures/boxes__cost-ledger.json +0 -69
  68. package/scripts/hall-preview/fixtures/builders__active-claims.json +0 -1
  69. package/scripts/hall-preview/fixtures/builders__directory.json +0 -81
  70. package/scripts/hall-preview/fixtures/builders__roster.json +0 -48
  71. package/scripts/hall-preview/fixtures/goals.json +0 -502
  72. package/scripts/hall-preview/fixtures/goals__25.json +0 -96
  73. package/scripts/hall-preview/fixtures/goals__26.json +0 -67
  74. package/scripts/hall-preview/fixtures/goals__3.json +0 -103
  75. package/scripts/hall-preview/fixtures/goals__35.json +0 -49
  76. package/scripts/hall-preview/fixtures/goals__conflicts.json +0 -154
  77. package/scripts/hall-preview/fixtures/goals__detail.json +0 -96
  78. package/scripts/hall-preview/fixtures/goals__inbox.json +0 -5
  79. package/scripts/hall-preview/fixtures/goals__requests.json +0 -3
  80. package/scripts/hall-preview/fixtures/grades__by-builder.json +0 -32
  81. package/scripts/hall-preview/fixtures/inbox.json +0 -330
  82. package/scripts/hall-preview/fixtures/inbox__detail.json +0 -15
  83. package/scripts/hall-preview/fixtures/instance.json +0 -124
  84. package/scripts/hall-preview/fixtures/leaderboard.json +0 -184
  85. package/scripts/hall-preview/fixtures/me.json +0 -476
  86. package/scripts/hall-preview/fixtures/me__art-key__own.json +0 -6
  87. package/scripts/hall-preview/fixtures/me__event-sound-prefs.json +0 -209
  88. package/scripts/hall-preview/fixtures/me__recent-ships.json +0 -304
  89. package/scripts/hall-preview/fixtures/me__render.json +0 -5
  90. package/scripts/hall-preview/fixtures/me__skill-prefs.json +0 -143
  91. package/scripts/hall-preview/fixtures/me__sound-prefs.json +0 -67
  92. package/scripts/hall-preview/fixtures/me__wandering.json +0 -43
  93. package/scripts/hall-preview/fixtures/override-requests.json +0 -15
  94. package/scripts/hall-preview/fixtures/provisioning__fleet.json +0 -1
  95. package/scripts/hall-preview/fixtures/provisioning__fleet__cost-ledger.json +0 -1
  96. package/scripts/hall-preview/fixtures/provisioning__instances.json +0 -1
  97. package/scripts/hall-preview/fixtures/public__analytics__ecosystem.json +0 -516
  98. package/scripts/hall-preview/fixtures/public__bounty-table.json +0 -37
  99. package/scripts/hall-preview/fixtures/public__cost-summary.json +0 -742
  100. package/scripts/hall-preview/fixtures/public__estimation-drift.json +0 -41
  101. package/scripts/hall-preview/fixtures/public__grades.json +0 -50
  102. package/scripts/hall-preview/fixtures/public__progress.json +0 -124
  103. package/scripts/hall-preview/fixtures/public__recent-shipped.json +0 -426
  104. package/scripts/hall-preview/fixtures/public__repo-health.json +0 -160
  105. package/scripts/hall-preview/fixtures/public__repo-info.json +0 -5
  106. package/scripts/hall-preview/fixtures/security__docs.json +0 -10
  107. package/scripts/hall-preview/fixtures/security__reports.json +0 -31
  108. package/scripts/hall-preview/fixtures/sessions__search.json +0 -9
  109. package/scripts/hall-preview/fixtures/tasks.json +0 -2420
  110. package/scripts/hall-preview/fixtures/tasks__claimable.json +0 -2555
  111. package/scripts/hall-preview/fixtures/tasks__detail.json +0 -111
  112. package/scripts/hall-preview/fixtures/tasks__peer-votes__feed.json +0 -330
  113. package/scripts/hall-preview/fixtures/versions.json +0 -89
@@ -1,160 +0,0 @@
1
- {
2
- "window_days": 30,
3
- "latest": {
4
- "snapshot_date": "2026-05-27T04:00:00.000Z",
5
- "total_loc": 27195,
6
- "loc_by_dir": {
7
- "src/": 8720,
8
- "public/game/": 1854,
9
- "scripts/gds/": 10135,
10
- "art/pipeline/": 0
11
- },
12
- "largest_files": [
13
- {
14
- "path": "src/gds/db.js",
15
- "lines": 2207
16
- },
17
- {
18
- "path": "scripts/gds/seed-v3-tasks.js",
19
- "lines": 1980
20
- },
21
- {
22
- "path": "public-status/status.js",
23
- "lines": 1199
24
- },
25
- {
26
- "path": "scripts/gds/seed-v2-tasks.js",
27
- "lines": 1167
28
- },
29
- {
30
- "path": "scripts/gds/ship.js",
31
- "lines": 759
32
- },
33
- {
34
- "path": "public-builders/builders.js",
35
- "lines": 696
36
- },
37
- {
38
- "path": "src/gds/grader.js",
39
- "lines": 673
40
- },
41
- {
42
- "path": "scripts/gds/version-close.js",
43
- "lines": 546
44
- },
45
- {
46
- "path": "src/gds/onboarding.js",
47
- "lines": 505
48
- },
49
- {
50
- "path": "tests/grader.mjs",
51
- "lines": 501
52
- },
53
- {
54
- "path": "src/gds/routes/tasks.js",
55
- "lines": 426
56
- },
57
- {
58
- "path": "scripts/gds/import-backlog.js",
59
- "lines": 411
60
- },
61
- {
62
- "path": "scripts/gds/session.js",
63
- "lines": 399
64
- },
65
- {
66
- "path": "scripts/gds/backfill-achievements.js",
67
- "lines": 378
68
- },
69
- {
70
- "path": "src/gds/auth.js",
71
- "lines": 378
72
- }
73
- ],
74
- "dead_exports": 0,
75
- "dead_files": 0,
76
- "stale_branches": 1,
77
- "max_branch_age_days": "17",
78
- "confirmed_unshipped": 1,
79
- "raw": {
80
- "total_loc": 27195,
81
- "dead_files": 0,
82
- "file_count": 119,
83
- "loc_by_dir": {
84
- "src/": 8720,
85
- "public/game/": 1854,
86
- "scripts/gds/": 10135,
87
- "art/pipeline/": 0
88
- },
89
- "knip_status": "ok",
90
- "dead_exports": 0,
91
- "largest_files": [
92
- {
93
- "path": "src/gds/db.js",
94
- "lines": 2207
95
- },
96
- {
97
- "path": "scripts/gds/seed-v3-tasks.js",
98
- "lines": 1980
99
- },
100
- {
101
- "path": "public-status/status.js",
102
- "lines": 1199
103
- },
104
- {
105
- "path": "scripts/gds/seed-v2-tasks.js",
106
- "lines": 1167
107
- },
108
- {
109
- "path": "scripts/gds/ship.js",
110
- "lines": 759
111
- },
112
- {
113
- "path": "public-builders/builders.js",
114
- "lines": 696
115
- },
116
- {
117
- "path": "src/gds/grader.js",
118
- "lines": 673
119
- },
120
- {
121
- "path": "scripts/gds/version-close.js",
122
- "lines": 546
123
- },
124
- {
125
- "path": "src/gds/onboarding.js",
126
- "lines": 505
127
- },
128
- {
129
- "path": "tests/grader.mjs",
130
- "lines": 501
131
- },
132
- {
133
- "path": "src/gds/routes/tasks.js",
134
- "lines": 426
135
- },
136
- {
137
- "path": "scripts/gds/import-backlog.js",
138
- "lines": 411
139
- },
140
- {
141
- "path": "scripts/gds/session.js",
142
- "lines": 399
143
- },
144
- {
145
- "path": "scripts/gds/backfill-achievements.js",
146
- "lines": 378
147
- },
148
- {
149
- "path": "src/gds/auth.js",
150
- "lines": 378
151
- }
152
- ],
153
- "stale_branches": 1,
154
- "confirmed_unshipped": 1,
155
- "max_branch_age_days": 17
156
- },
157
- "created_at": "2026-05-28T01:24:32.252Z"
158
- },
159
- "trend": []
160
- }
@@ -1,5 +0,0 @@
1
- {
2
- "blob_base": "https://github.com/lars589/amazonprimea/blob/main",
3
- "tree_base": "https://github.com/lars589/amazonprimea/tree/main",
4
- "branch": "main"
5
- }
@@ -1,10 +0,0 @@
1
- {
2
- "docs": [
3
- {
4
- "title": "Synthetic engagement report",
5
- "slug": "synthetic-engagement",
6
- "updated_at": "2026-07-01T10:00:00.000Z",
7
- "bytes": 4096
8
- }
9
- ]
10
- }
@@ -1,31 +0,0 @@
1
- {
2
- "reports": [
3
- {
4
- "id": "31",
5
- "severity": "high",
6
- "title": "Synthetic: rate-limit missing on preview endpoint",
7
- "target": "api/preview",
8
- "status": "open"
9
- },
10
- {
11
- "id": "32",
12
- "severity": "medium",
13
- "title": "Synthetic: verbose error leaks stack trace",
14
- "target": "api/sample",
15
- "status": "confirmed"
16
- },
17
- {
18
- "id": "33",
19
- "severity": "low",
20
- "title": "Synthetic: cache header on static asset",
21
- "target": "assets",
22
- "status": "fixed"
23
- }
24
- ],
25
- "statuses": [
26
- "open",
27
- "confirmed",
28
- "fixed",
29
- "disputed"
30
- ]
31
- }
@@ -1,9 +0,0 @@
1
- {
2
- "totals": {
3
- "total": 214,
4
- "builders": 6,
5
- "tokens": 48200000,
6
- "tool_errors": 12
7
- },
8
- "sessions": []
9
- }