@bongos/core 1.19.849 → 1.19.850
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.
- package/.bongos-core.json +10 -10
- package/docs/module-api-changelog.md +2 -0
- package/package-lock.json +2 -2
- package/package.json +1 -1
- package/src/module-api.js +1 -1
- package/tests/reward_gate.mjs +22 -8
package/.bongos-core.json
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
"artifact": "bongos-core",
|
|
3
3
|
"manifest_schema": 1,
|
|
4
4
|
"generator": "scripts/gds/package-core.js",
|
|
5
|
-
"core_version": "1.19.
|
|
6
|
-
"core_contract": "1.19.
|
|
7
|
-
"source_commit": "
|
|
5
|
+
"core_version": "1.19.850",
|
|
6
|
+
"core_contract": "1.19.850",
|
|
7
|
+
"source_commit": "232e375d3248cfc923d287f61d29cb6c5f59c5d9",
|
|
8
8
|
"source_ref": "HEAD",
|
|
9
|
-
"built_at": "2026-09-17T20:
|
|
9
|
+
"built_at": "2026-09-17T20:32:54.381Z",
|
|
10
10
|
"redaction": {
|
|
11
11
|
"model": "docs-redacted+functional-verbatim",
|
|
12
12
|
"docs_redacted": 496,
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"gate": "passed"
|
|
18
18
|
},
|
|
19
19
|
"file_count": 2798,
|
|
20
|
-
"tree_sha256": "
|
|
20
|
+
"tree_sha256": "12391d158894c3d0cb4e4073c3939f9c3e83705fa0406663fe5a30859fba4af4",
|
|
21
21
|
"files": [
|
|
22
22
|
{
|
|
23
23
|
"path": ".claude/skills/ask-for-help/SKILL.md",
|
|
@@ -2582,7 +2582,7 @@
|
|
|
2582
2582
|
{
|
|
2583
2583
|
"path": "docs/module-api-changelog.md",
|
|
2584
2584
|
"mode": "0000644",
|
|
2585
|
-
"sha256": "
|
|
2585
|
+
"sha256": "6c3496a323791d9b6bfc8e86faba4e433a51091e5a9d12b85ede0b207d8057a5"
|
|
2586
2586
|
},
|
|
2587
2587
|
{
|
|
2588
2588
|
"path": "docs/modules-contract.md",
|
|
@@ -7907,12 +7907,12 @@
|
|
|
7907
7907
|
{
|
|
7908
7908
|
"path": "package-lock.json",
|
|
7909
7909
|
"mode": "0000644",
|
|
7910
|
-
"sha256": "
|
|
7910
|
+
"sha256": "1e217b4d7975b9c295c2806a83a5817f93fc38a0786a1976fe8ec19aac141b50"
|
|
7911
7911
|
},
|
|
7912
7912
|
{
|
|
7913
7913
|
"path": "package.json",
|
|
7914
7914
|
"mode": "0000644",
|
|
7915
|
-
"sha256": "
|
|
7915
|
+
"sha256": "6943316e63bef1a867ea04e705e42a9aa28a50e2cded10e16874899c61f69f03"
|
|
7916
7916
|
},
|
|
7917
7917
|
{
|
|
7918
7918
|
"path": "public-docs/index.html",
|
|
@@ -9852,7 +9852,7 @@
|
|
|
9852
9852
|
{
|
|
9853
9853
|
"path": "src/module-api.js",
|
|
9854
9854
|
"mode": "0000644",
|
|
9855
|
-
"sha256": "
|
|
9855
|
+
"sha256": "d2a5ba427ce014f7940e2757f06541e25275e0c4f59c0b9c5026396c795e41f2"
|
|
9856
9856
|
},
|
|
9857
9857
|
{
|
|
9858
9858
|
"path": "src/module-loader/catalog.js",
|
|
@@ -13022,7 +13022,7 @@
|
|
|
13022
13022
|
{
|
|
13023
13023
|
"path": "tests/reward_gate.mjs",
|
|
13024
13024
|
"mode": "0000644",
|
|
13025
|
-
"sha256": "
|
|
13025
|
+
"sha256": "f1cb5f34e9ecbd072b56840facdc57ca2b9d2fa6efc48427ce738cc65a72011f"
|
|
13026
13026
|
},
|
|
13027
13027
|
{
|
|
13028
13028
|
"path": "tests/reward_mode_cost_plus_only.mjs",
|
|
@@ -2172,5 +2172,7 @@ is load-bearing: the script throws rather than guess if it is missing, and
|
|
|
2172
2172
|
landed since 1.19.847 with no explicit bump. run 35267380720. (task 1002620)
|
|
2173
2173
|
1.19.849 — CI auto-patch (publish-on-merge, ADR 0161): carrier for merges
|
|
2174
2174
|
landed since 1.19.848 with no explicit bump. run 35269098215. (task 1002620)
|
|
2175
|
+
1.19.850 — CI auto-patch (publish-on-merge, ADR 0161): carrier for merges
|
|
2176
|
+
landed since 1.19.849 with no explicit bump. run 35271402682. (task 1002620)
|
|
2175
2177
|
---------------------------------------------------------------------------
|
|
2176
2178
|
```
|
package/package-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bongos/core",
|
|
3
|
-
"version": "1.19.
|
|
3
|
+
"version": "1.19.850",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@bongos/core",
|
|
9
|
-
"version": "1.19.
|
|
9
|
+
"version": "1.19.850",
|
|
10
10
|
"license": "AGPL-3.0-or-later",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"express": "^4.21.2",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bongos/core",
|
|
3
|
-
"version": "1.19.
|
|
3
|
+
"version": "1.19.850",
|
|
4
4
|
"description": "Cloud Bongos — the AI-first build platform core (GDS + platform surfaces + module system), installed as a versioned dependency (ADR 0108).",
|
|
5
5
|
"license": "AGPL-3.0-or-later",
|
|
6
6
|
"main": "src/platform-server.js",
|
package/src/module-api.js
CHANGED
|
@@ -71,7 +71,7 @@ const { responsibilityFor, ROLE_RESPONSIBILITIES } = require('./role-responsibil
|
|
|
71
71
|
// there. scripts/gds/bump-version.js still rewrites the literal below; it appends
|
|
72
72
|
// the entry to that file. Look for a version's history there, not here.
|
|
73
73
|
// ---------------------------------------------------------------------------
|
|
74
|
-
const CORE_VERSION = '1.19.
|
|
74
|
+
const CORE_VERSION = '1.19.850'; // CI auto-patch carrier (ADR 0161); changelog: docs/module-api-changelog.md
|
|
75
75
|
|
|
76
76
|
// A namespaced logger so a module's log lines are attributable + consistent.
|
|
77
77
|
// Usage: const log = api.logger('dev-box'); log.info('mounted');
|
package/tests/reward_gate.mjs
CHANGED
|
@@ -162,14 +162,28 @@ t('promote route AUTO-ASSIGNS then proceeds (no 409 refusal for missing reward)'
|
|
|
162
162
|
t('claim path AUTO-ASSIGNS inside the FOR UPDATE transaction (never refuses)', () => {
|
|
163
163
|
const start = dbSrc.indexOf('async function claimTask');
|
|
164
164
|
assert.ok(start >= 0, 'claimTask not found');
|
|
165
|
-
//
|
|
166
|
-
//
|
|
167
|
-
//
|
|
168
|
-
//
|
|
169
|
-
//
|
|
170
|
-
// the
|
|
171
|
-
//
|
|
172
|
-
|
|
165
|
+
// Scan the REAL claimTask body — from its declaration to the next top-level
|
|
166
|
+
// function (claimTasksBatch) — rather than a fixed byte window, the same fix the
|
|
167
|
+
// createTask and POST /tasks siblings below already carry.
|
|
168
|
+
//
|
|
169
|
+
// The byte window was widened four times for four UNRELATED features: 5000 -> 6000
|
|
170
|
+
// in BV1.R106 (the permission-expressed claim gate), 6000 -> 7000 in task 1002613
|
|
171
|
+
// (the enriched rank_too_low_for_task denial), 7000 -> 8500 in task 1003137 (the
|
|
172
|
+
// goal-membership gate). Each time, an edit to claimTask's PREFLIGHT pushed the
|
|
173
|
+
// reward block past the edge and red a test about rewards — and the message,
|
|
174
|
+
// "claimTask must consult the auto-assign decision", pointed the reader at the
|
|
175
|
+
// reward gate instead of at their own change. Task 1003294 paid the tax again with
|
|
176
|
+
// a five-line comment (margin was down to ~125 chars) and had to trim prose to get
|
|
177
|
+
// green. The comment above USED to name claimTasksBatch as the real bound; it was
|
|
178
|
+
// simply never what the code measured. Now it is, so the window grows with the
|
|
179
|
+
// function and this line stops needing maintenance.
|
|
180
|
+
//
|
|
181
|
+
// A missing anchor fails LOUDLY rather than falling back to a byte count: a silent
|
|
182
|
+
// fallback would reintroduce exactly the failure mode being removed here.
|
|
183
|
+
const end = dbSrc.indexOf('async function claimTasksBatch', start);
|
|
184
|
+
assert.ok(end > start,
|
|
185
|
+
'claimTasksBatch boundary not found — reward_gate can no longer bound claimTask; re-anchor this slice');
|
|
186
|
+
const body = dbSrc.slice(start, end);
|
|
173
187
|
assert.match(body, /rewardGateAssignment\(task\)/, 'claimTask must consult the auto-assign decision');
|
|
174
188
|
assert.match(body, /UPDATE tasks SET credits_reward/, 'claimTask must persist the assigned reward in-tx');
|
|
175
189
|
// it must SELECT the columns the gate needs.
|