@bongos/core 1.19.148 → 1.19.149

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,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.148",
6
- "core_contract": "1.19.148",
7
- "source_commit": "7e339c95065a311ed8124d03557ded14bca9446a",
5
+ "core_version": "1.19.149",
6
+ "core_contract": "1.19.149",
7
+ "source_commit": "38bb790f0c03376979720a73d20e7a966749e06c",
8
8
  "source_ref": "HEAD",
9
- "built_at": "2026-08-16T14:24:46.637Z",
9
+ "built_at": "2026-08-16T14:37:21.742Z",
10
10
  "redaction": {
11
11
  "model": "docs-redacted+functional-verbatim",
12
12
  "docs_redacted": 304,
@@ -17,7 +17,7 @@
17
17
  "gate": "passed"
18
18
  },
19
19
  "file_count": 1579,
20
- "tree_sha256": "8cab3bae4120d167d296a253ea3e0b6064a55de4ea9188fa52a09217898cd086",
20
+ "tree_sha256": "4d4238a80aa501af9cdf8257ebb99f5f51c806b2f9a87c9b02adcb878cda1af0",
21
21
  "files": [
22
22
  {
23
23
  "path": ".claude/skills/blocker-review/SKILL.md",
@@ -4187,12 +4187,12 @@
4187
4187
  {
4188
4188
  "path": "package-lock.json",
4189
4189
  "mode": "0000644",
4190
- "sha256": "354de77e768f98c77062278cead6271a3249cfe4ed35d811fb76b497f3028d8b"
4190
+ "sha256": "4683e76f97deb0d808cc94b82abc8bba5b4332646d073cbb95155a305dce7bac"
4191
4191
  },
4192
4192
  {
4193
4193
  "path": "package.json",
4194
4194
  "mode": "0000644",
4195
- "sha256": "23c72c88771c78d76a61334a4710e6ce77a146331de749c944f6bf2890602162"
4195
+ "sha256": "0ba329b9178e83c2d379bc65d0defde57428ae8b317a4c9ad0d900c872eb1d64"
4196
4196
  },
4197
4197
  {
4198
4198
  "path": "public-docs/index.html",
@@ -5612,7 +5612,7 @@
5612
5612
  {
5613
5613
  "path": "src/bongos/module-scope-map.js",
5614
5614
  "mode": "0000644",
5615
- "sha256": "c42e08fd814524fd022f74ba651393cd8b3e5ac1418b7cb7c5ea647251af3dc2"
5615
+ "sha256": "dde61de24af4bdb3ed0d00267873ee700c959166a4f86ab3a3283e8813f65bc6"
5616
5616
  },
5617
5617
  {
5618
5618
  "path": "src/bongos/module-submissions.js",
@@ -5782,7 +5782,7 @@
5782
5782
  {
5783
5783
  "path": "src/module-api.js",
5784
5784
  "mode": "0000644",
5785
- "sha256": "f6ad6d7407077ad6166646472601151847a96f338de366e0de4daa692957b205"
5785
+ "sha256": "f551b1a40bb56bfbdef3ad3f40cbbae092c6ac42ac0683c43db63d033aa0a1bb"
5786
5786
  },
5787
5787
  {
5788
5788
  "path": "src/module-loader/catalog.js",
@@ -7107,7 +7107,7 @@
7107
7107
  {
7108
7108
  "path": "tests/module-scope-map.mjs",
7109
7109
  "mode": "0000644",
7110
- "sha256": "e858ff2ae89fbd1577dc00f988c97b71e91f06ee754f5513ba8c18c214d3e181"
7110
+ "sha256": "9eb05d38e5138e0da16d57d1d4c8768528dbc052acbc1a9d5d5e7cef7d38f06c"
7111
7111
  },
7112
7112
  {
7113
7113
  "path": "tests/module_api.mjs",
package/package-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@bongos/core",
3
- "version": "1.19.148",
3
+ "version": "1.19.149",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@bongos/core",
9
- "version": "1.19.148",
9
+ "version": "1.19.149",
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.148",
3
+ "version": "1.19.149",
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",
@@ -207,6 +207,19 @@ const MODULE_GLOBS = {
207
207
  'modules/game/', 'src/preview-server.js',
208
208
  ],
209
209
  'art-pipeline': ['modules/art-pipeline/'],
210
+ // --- the declarative agent registry (goal 1000038, ADR 0083 default:false):
211
+ // agent definitions reconciled at deploy into agents_definitions + a per-fire
212
+ // agents_runs ledger. Carved to modules/agents/ at foundation time, so the
213
+ // glob is its module home. `.claude/agents/` is the module's SOURCE surface
214
+ // (files-are-source — the committed definitions ARE the input agents-sync
215
+ // upserts), listed alongside it on the autonomy precedent, which likewise
216
+ // owns its '.claude/scheduled-tasks/' definition dir. The sync CLI travels
217
+ // with the domain but stays under scripts/gds/ (the dev-box/provisioning
218
+ // precedent). Without this key the three Agents goals (1000038/39/40) could
219
+ // declare no wall at all (task 1002736).
220
+ agents: [
221
+ 'modules/agents/', '.claude/agents/', 'scripts/gds/agents-sync.js',
222
+ ],
210
223
  // --- the hub identity provider + the PROJECTS CATALOG it owns (ADR 0141): platform
211
224
  // accounts, the SSO client registry, project memberships/invites, and the
212
225
  // platform_identity_projects rows the Explore feed reads. Carved already, so the
package/src/module-api.js CHANGED
@@ -723,8 +723,10 @@ const { validateOrRespond, LIMITS, parseId, asyncHandler, corsPublicGet, parsePa
723
723
  // landed since 1.19.146 with no explicit bump. run 31950807165. (task 1002620)
724
724
  // 1.19.148 — CI auto-patch (publish-on-merge, ADR 0161): carrier for merges
725
725
  // landed since 1.19.147 with no explicit bump. run 31952592623. (task 1002620)
726
+ // 1.19.149 — CI auto-patch (publish-on-merge, ADR 0161): carrier for merges
727
+ // landed since 1.19.148 with no explicit bump. run 31953207683. (task 1002620)
726
728
  // ---------------------------------------------------------------------------
727
- const CORE_VERSION = '1.19.148'; // CI auto-patch carrier (ADR 0161); see changelog above
729
+ const CORE_VERSION = '1.19.149'; // CI auto-patch carrier (ADR 0161); see changelog above
728
730
 
729
731
  // A namespaced logger so a module's log lines are attributable + consistent.
730
732
  // Usage: const log = api.logger('dev-box'); log.info('mounted');
@@ -136,3 +136,33 @@ test('platform-identity joined the roster (task 1002322) — the catalog territo
136
136
  assert.equal(covers('src/bongos/auth.js'), false, 'the wall must not cover the kernel auth core');
137
137
  assert.equal(scope.scopeIncludesProtected(wall), false, 'goal 1000046 wall stays non-protected (governance widens it later)');
138
138
  });
139
+
140
+ test('agents joined the roster (task 1002736) — the territory goals 1000038/39/40 wall', () => {
141
+ // Before this, modules/agents/ was covered by NO key, so the three Agents goals
142
+ // had to stay wall-less: scope_modules:[] resolves to zero globs, and
143
+ // goal-scope-check then denies EVERY member-authored task (empty_scope).
144
+ assert.ok(scope.isModuleKey('agents'), 'roster missing module "agents"');
145
+ const globs = scope.globsForModules(['agents']);
146
+ assert.ok(globs.includes('modules/agents/'), 'agents owns its module directory');
147
+ assert.ok(globs.includes('.claude/agents/'), 'the committed definitions are the module source surface');
148
+ // Derived, not hand-set: none of the agents globs appear in PROTECTED_GLOBS.
149
+ assert.equal(scope.isProtectedModule('agents'), false);
150
+ assert.equal(
151
+ scope.scopeForModule('agents').protected,
152
+ scope.isProtected(globs),
153
+ 'protected must be the faithful derivation, never a literal',
154
+ );
155
+ // Asserted through the REAL consumer (directional containment), not re-implemented.
156
+ const covers = (touch) => gsc.scopeSubset(['agents'], [touch]).ok;
157
+ for (const touch of [
158
+ 'modules/agents/module.json',
159
+ 'modules/agents/migrations/agents_001_definitions.sql',
160
+ '.claude/agents/reviewer.md',
161
+ 'scripts/gds/agents-sync.js',
162
+ ]) {
163
+ assert.equal(covers(touch), true, `wall does not cover ${touch}`);
164
+ }
165
+ // …and still BOUNDS: the trust core and the sibling definition dir stay outside.
166
+ assert.equal(covers('src/bongos/auth.js'), false, 'the wall must not cover the kernel auth core');
167
+ assert.equal(covers('.claude/scheduled-tasks/bfg/SKILL.md'), false, 'scheduled-tasks belongs to autonomy, not agents');
168
+ });