@bongos/core 1.19.741 → 1.19.743
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
CHANGED
|
@@ -2,22 +2,22 @@
|
|
|
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.743",
|
|
6
|
+
"core_contract": "1.19.743",
|
|
7
|
+
"source_commit": "ab27f1b16b14260ffd2f5ae8342504053928aa40",
|
|
8
8
|
"source_ref": "HEAD",
|
|
9
|
-
"built_at": "2026-09-
|
|
9
|
+
"built_at": "2026-09-15T14:55:42.206Z",
|
|
10
10
|
"redaction": {
|
|
11
11
|
"model": "docs-redacted+functional-verbatim",
|
|
12
12
|
"docs_redacted": 479,
|
|
13
|
-
"agent_docs_stubbed":
|
|
13
|
+
"agent_docs_stubbed": 25,
|
|
14
14
|
"functional_verbatim": 2107,
|
|
15
15
|
"rules": 3,
|
|
16
16
|
"gate_literals": 3,
|
|
17
17
|
"gate": "passed"
|
|
18
18
|
},
|
|
19
|
-
"file_count":
|
|
20
|
-
"tree_sha256": "
|
|
19
|
+
"file_count": 2611,
|
|
20
|
+
"tree_sha256": "7eed1fd142643158bd9ddbb2f69beff6924a75e10c6b3ac121eb4c029787d4e5",
|
|
21
21
|
"files": [
|
|
22
22
|
{
|
|
23
23
|
"path": ".claude/skills/ask-for-help/SKILL.md",
|
|
@@ -2492,7 +2492,7 @@
|
|
|
2492
2492
|
{
|
|
2493
2493
|
"path": "docs/module-api-changelog.md",
|
|
2494
2494
|
"mode": "0000644",
|
|
2495
|
-
"sha256": "
|
|
2495
|
+
"sha256": "97ecbfdf15f6707e5f4a0d46ce1597667e0fd592e1adf2d36f3cf006adf5d2ce"
|
|
2496
2496
|
},
|
|
2497
2497
|
{
|
|
2498
2498
|
"path": "docs/modules-contract.md",
|
|
@@ -3564,6 +3564,11 @@
|
|
|
3564
3564
|
"mode": "0000644",
|
|
3565
3565
|
"sha256": "e8faead6772089c8e47f3f81433c65038bfbb60bb509dff6c2a7b5572124316d"
|
|
3566
3566
|
},
|
|
3567
|
+
{
|
|
3568
|
+
"path": "modules/agents/CLAUDE.md",
|
|
3569
|
+
"mode": "0000644",
|
|
3570
|
+
"sha256": "7cb9dac9cb87b679e1ae50e4112b3a7928a38ebb9902c8947a74d17bec4d9009"
|
|
3571
|
+
},
|
|
3567
3572
|
{
|
|
3568
3573
|
"path": "modules/agents/lib/answer-hold.js",
|
|
3569
3574
|
"mode": "0000644",
|
|
@@ -6127,7 +6132,7 @@
|
|
|
6127
6132
|
{
|
|
6128
6133
|
"path": "modules/platform-identity/tests/platform-identity.mjs",
|
|
6129
6134
|
"mode": "0000644",
|
|
6130
|
-
"sha256": "
|
|
6135
|
+
"sha256": "b843ece3cd9bcb280ba103e1db653f6fef9b1b0d6394960deba7ed57fe71acc2"
|
|
6131
6136
|
},
|
|
6132
6137
|
{
|
|
6133
6138
|
"path": "modules/platform-identity/ui/.gitkeep",
|
|
@@ -7537,12 +7542,12 @@
|
|
|
7537
7542
|
{
|
|
7538
7543
|
"path": "package-lock.json",
|
|
7539
7544
|
"mode": "0000644",
|
|
7540
|
-
"sha256": "
|
|
7545
|
+
"sha256": "9b9d8bc2b152c80ee2cbe2c9ee8e235f0130fbc317e67b7b8cfedbfa806129c2"
|
|
7541
7546
|
},
|
|
7542
7547
|
{
|
|
7543
7548
|
"path": "package.json",
|
|
7544
7549
|
"mode": "0000644",
|
|
7545
|
-
"sha256": "
|
|
7550
|
+
"sha256": "b954e60f7093cbdd715857d5fed0f33c91e1f84fc4844714a59e9ab38669284d"
|
|
7546
7551
|
},
|
|
7547
7552
|
{
|
|
7548
7553
|
"path": "public-docs/index.html",
|
|
@@ -9342,7 +9347,7 @@
|
|
|
9342
9347
|
{
|
|
9343
9348
|
"path": "src/module-api.js",
|
|
9344
9349
|
"mode": "0000644",
|
|
9345
|
-
"sha256": "
|
|
9350
|
+
"sha256": "ff5ab852aa0fe991ee391e3ede0b07bf25316d90525e2c40ea9863ada99834e0"
|
|
9346
9351
|
},
|
|
9347
9352
|
{
|
|
9348
9353
|
"path": "src/module-loader/catalog.js",
|
|
@@ -1956,5 +1956,9 @@ is load-bearing: the script throws rather than guess if it is missing, and
|
|
|
1956
1956
|
landed since 1.19.739 with no explicit bump. run 34839732962. (task 1002620)
|
|
1957
1957
|
1.19.741 — CI auto-patch (publish-on-merge, ADR 0161): carrier for merges
|
|
1958
1958
|
landed since 1.19.740 with no explicit bump. run 34977074381. (task 1002620)
|
|
1959
|
+
1.19.742 — CI auto-patch (publish-on-merge, ADR 0161): carrier for merges
|
|
1960
|
+
landed since 1.19.741 with no explicit bump. run 34983109625. (task 1002620)
|
|
1961
|
+
1.19.743 — CI auto-patch (publish-on-merge, ADR 0161): carrier for merges
|
|
1962
|
+
landed since 1.19.742 with no explicit bump. run 34984876076. (task 1002620)
|
|
1959
1963
|
---------------------------------------------------------------------------
|
|
1960
1964
|
```
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# @bongos/core — installed platform dependency (not your project's CLAUDE.md)
|
|
2
|
+
|
|
3
|
+
This file is a placeholder shipped inside the **@bongos/core** package. The core's own
|
|
4
|
+
internal agent notes are intentionally omitted from the published artifact so they cannot
|
|
5
|
+
load into your instance's context.
|
|
6
|
+
|
|
7
|
+
**It does not govern this repository.** Your own root `CLAUDE.md`, your `.claude/`
|
|
8
|
+
directory, and the live Bongos database are the source of truth for how work happens here
|
|
9
|
+
and who may do what.
|
|
10
|
+
|
|
11
|
+
You are seeing this only because an agent opened a file under `node_modules/@bongos/core/`.
|
|
12
|
+
Nothing in here needs to be read to use the platform — run `bongos help` for commands.
|
|
13
|
+
|
|
14
|
+
_To work ON the platform core itself, use the standalone @bongos/core source repository,
|
|
15
|
+
not this vendored copy._
|
|
@@ -18,6 +18,7 @@ import { readFileSync } from 'node:fs';
|
|
|
18
18
|
|
|
19
19
|
const require = createRequire(import.meta.url);
|
|
20
20
|
const P = require('../platform-identity.js');
|
|
21
|
+
const terms = require('../terms-acceptance.js');
|
|
21
22
|
|
|
22
23
|
let passed = 0, failed = 0;
|
|
23
24
|
function t(name, fn) {
|
|
@@ -130,15 +131,27 @@ t('a service principal (system_role set) may NOT federate', () => {
|
|
|
130
131
|
console.log('\naccounts:');
|
|
131
132
|
|
|
132
133
|
await ta('upsertAccount upserts on github_id and returns the row (default: NOT activating)', async () => {
|
|
133
|
-
const
|
|
134
|
+
const avatar = 'https://avatars.example/octocat.png';
|
|
135
|
+
const row = { id: '1', github_id: '42', github_login: 'octocat', display_name: 'Octo', avatar_url: avatar, profile_state: 'provisional' };
|
|
134
136
|
const pool = mockPool([{ rows: [row] }]);
|
|
135
137
|
const out = await P.upsertAccount(
|
|
136
|
-
{ githubId: 42, githubLogin: 'octocat', displayName: 'Octo', avatarUrl:
|
|
138
|
+
{ githubId: 42, githubLogin: 'octocat', displayName: 'Octo', avatarUrl: avatar }, { pool });
|
|
137
139
|
assert.deepEqual(out, row);
|
|
138
140
|
const c = pool.calls[0];
|
|
139
141
|
assert.match(c.text, /INSERT INTO platform_identity_accounts/);
|
|
140
142
|
assert.match(c.text, /ON CONFLICT \(github_id\) DO UPDATE/);
|
|
141
|
-
|
|
143
|
+
// $6 is the terms version, carried since acceptanceInsertValues('$5', '$6') landed.
|
|
144
|
+
// Asserted against the module's own constant and NEVER the literal date: hardcoding
|
|
145
|
+
// it is precisely what let this assertion rot when terms acceptance shipped.
|
|
146
|
+
assert.deepEqual(c.params, [42, 'octocat', 'Octo', avatar, false, terms.TERMS_VERSION]);
|
|
147
|
+
|
|
148
|
+
// safeAvatarUrl is https-only — anything else is stored as null rather than passed
|
|
149
|
+
// through. This is the suite's only assertion of that guard, so it stays explicit
|
|
150
|
+
// instead of riding on a placeholder fixture.
|
|
151
|
+
const poolBad = mockPool([{ rows: [row] }]);
|
|
152
|
+
await P.upsertAccount(
|
|
153
|
+
{ githubId: 42, githubLogin: 'octocat', displayName: 'Octo', avatarUrl: 'a' }, { pool: poolBad });
|
|
154
|
+
assert.equal(poolBad.calls[0].params[3], null, 'a non-https avatar is nullified, not stored');
|
|
142
155
|
});
|
|
143
156
|
|
|
144
157
|
await ta('upsertAccount consent upgrade is one-way (ADR 0171 D3): activate flips to active, default preserves the stored state', async () => {
|
|
@@ -689,7 +702,9 @@ await ta('getPublicProfileExtras is fail-closed: null for missing / provisional
|
|
|
689
702
|
|
|
690
703
|
await ta('getPublicProfileExtras returns the rollup for an active, visible account', async () => {
|
|
691
704
|
const pool = mockPool([
|
|
692
|
-
|
|
705
|
+
// isRollupVisible composes isAccountActive, so the row must carry consent
|
|
706
|
+
// (terms_accepted_at) AND account_visibility, not just profile_state.
|
|
707
|
+
{ rows: [{ profile_state: 'active', terms_accepted_at: 'T', account_visibility: 'public', hide_stats: false }] },
|
|
693
708
|
{ rows: [{ projects: 1, credits: 10, works_shipped: 1, karma: 0, last_active: 'T', disciplines: null }] },
|
|
694
709
|
{ rows: [] },
|
|
695
710
|
]);
|
package/package-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bongos/core",
|
|
3
|
-
"version": "1.19.
|
|
3
|
+
"version": "1.19.743",
|
|
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.743",
|
|
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.743",
|
|
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.743'; // 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');
|