@bongos/core 1.19.855 → 1.19.856
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 +11 -11
- package/docs/module-api-changelog.md +2 -0
- package/package-lock.json +2 -2
- package/package.json +1 -1
- package/scripts/gds/copy-inventory.js +17 -22
- package/src/module-api.js +1 -1
- package/tests/copy_inventory.mjs +0 -0
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.856",
|
|
6
|
+
"core_contract": "1.19.856",
|
|
7
|
+
"source_commit": "8ced2a661e8458ae529e81df4cb0b11dfeaf7a96",
|
|
8
8
|
"source_ref": "HEAD",
|
|
9
|
-
"built_at": "2026-09-17T21:
|
|
9
|
+
"built_at": "2026-09-17T21:40:29.636Z",
|
|
10
10
|
"redaction": {
|
|
11
11
|
"model": "docs-redacted+functional-verbatim",
|
|
12
12
|
"docs_redacted": 498,
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"gate": "passed"
|
|
18
18
|
},
|
|
19
19
|
"file_count": 2804,
|
|
20
|
-
"tree_sha256": "
|
|
20
|
+
"tree_sha256": "1e26bfc7f80b78ac9e275889e16baadad82668019aaa672e01afe52675d9a93e",
|
|
21
21
|
"files": [
|
|
22
22
|
{
|
|
23
23
|
"path": ".claude/skills/ask-for-help/SKILL.md",
|
|
@@ -2592,7 +2592,7 @@
|
|
|
2592
2592
|
{
|
|
2593
2593
|
"path": "docs/module-api-changelog.md",
|
|
2594
2594
|
"mode": "0000644",
|
|
2595
|
-
"sha256": "
|
|
2595
|
+
"sha256": "18a196415acd0b8dcd475f37b816c7a652cb11a7b59d2083e823035ef1d69b22"
|
|
2596
2596
|
},
|
|
2597
2597
|
{
|
|
2598
2598
|
"path": "docs/modules-contract.md",
|
|
@@ -7917,12 +7917,12 @@
|
|
|
7917
7917
|
{
|
|
7918
7918
|
"path": "package-lock.json",
|
|
7919
7919
|
"mode": "0000644",
|
|
7920
|
-
"sha256": "
|
|
7920
|
+
"sha256": "8cb63b3dfdca80c3fb67143017904b69db150b3f762bc499f8cb23daa83cf800"
|
|
7921
7921
|
},
|
|
7922
7922
|
{
|
|
7923
7923
|
"path": "package.json",
|
|
7924
7924
|
"mode": "0000644",
|
|
7925
|
-
"sha256": "
|
|
7925
|
+
"sha256": "0322ae3ab7c17a95862bd90db75181a061b1d8f9d39e988c6f93d2fdfa7b964e"
|
|
7926
7926
|
},
|
|
7927
7927
|
{
|
|
7928
7928
|
"path": "public-docs/index.html",
|
|
@@ -8287,7 +8287,7 @@
|
|
|
8287
8287
|
{
|
|
8288
8288
|
"path": "scripts/gds/copy-inventory.js",
|
|
8289
8289
|
"mode": "0000644",
|
|
8290
|
-
"sha256": "
|
|
8290
|
+
"sha256": "5317a97fce3dfe9cd4101bb0d8fd7928fdd6ab2298297e2e42ec0f859a2f34f5"
|
|
8291
8291
|
},
|
|
8292
8292
|
{
|
|
8293
8293
|
"path": "scripts/gds/coreB-carve-proof.sh",
|
|
@@ -9867,7 +9867,7 @@
|
|
|
9867
9867
|
{
|
|
9868
9868
|
"path": "src/module-api.js",
|
|
9869
9869
|
"mode": "0000644",
|
|
9870
|
-
"sha256": "
|
|
9870
|
+
"sha256": "bc5ad349fe8a4d7307d9caa042fe3e1d2454f04bc540014037b52d4f7e0482b0"
|
|
9871
9871
|
},
|
|
9872
9872
|
{
|
|
9873
9873
|
"path": "src/module-loader/catalog.js",
|
|
@@ -10717,7 +10717,7 @@
|
|
|
10717
10717
|
{
|
|
10718
10718
|
"path": "tests/copy_inventory.mjs",
|
|
10719
10719
|
"mode": "0000644",
|
|
10720
|
-
"sha256": "
|
|
10720
|
+
"sha256": "e621021bdab92a17c9f0f0760ced4c2f2c955ef3df91fb584a7a398c46a717aa"
|
|
10721
10721
|
},
|
|
10722
10722
|
{
|
|
10723
10723
|
"path": "tests/core_upgrade_door.mjs",
|
|
@@ -2184,5 +2184,7 @@ is load-bearing: the script throws rather than guess if it is missing, and
|
|
|
2184
2184
|
landed since 1.19.853 with no explicit bump. run 35276402271. (task 1002620)
|
|
2185
2185
|
1.19.855 — CI auto-patch (publish-on-merge, ADR 0161): carrier for merges
|
|
2186
2186
|
landed since 1.19.854 with no explicit bump. run 35277047800. (task 1002620)
|
|
2187
|
+
1.19.856 — CI auto-patch (publish-on-merge, ADR 0161): carrier for merges
|
|
2188
|
+
landed since 1.19.855 with no explicit bump. run 35277927951. (task 1002620)
|
|
2187
2189
|
---------------------------------------------------------------------------
|
|
2188
2190
|
```
|
package/package-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bongos/core",
|
|
3
|
-
"version": "1.19.
|
|
3
|
+
"version": "1.19.856",
|
|
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.856",
|
|
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.856",
|
|
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",
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
const fs = require('node:fs');
|
|
41
41
|
const path = require('node:path');
|
|
42
42
|
const crypto = require('node:crypto');
|
|
43
|
+
const { sameContent } = require('./gen-freshness'); // eol-insensitive freshness (CRLF checkouts)
|
|
43
44
|
|
|
44
45
|
const REPO_ROOT = path.resolve(__dirname, '..', '..');
|
|
45
46
|
// Repo-relative paths that end up INSIDE the checked-in artifacts are joined with
|
|
@@ -485,30 +486,24 @@ function renderReport(reg) {
|
|
|
485
486
|
return L.join('\n');
|
|
486
487
|
}
|
|
487
488
|
|
|
488
|
-
// Line-ending-blind view of a file's text, for the --check compare ONLY (task 1003619).
|
|
489
|
-
// Why: the generator emits LF, and --check string-compares that against the file on
|
|
490
|
-
// disk. A Windows checkout hands back CRLF, so the compare reported STALE forever on
|
|
491
|
-
// content that was byte-identical in the index — a permanently red /ship-check gate,
|
|
492
|
-
// which teaches builders to wave past the one check that catches a REAL stale artifact.
|
|
493
|
-
// .gitattributes now pins this pair to eol=lf, but that only governs FUTURE checkouts:
|
|
494
|
-
// a file already sitting CRLF in an existing worktree stays CRLF until renormalized,
|
|
495
|
-
// so the checker must not care either way. Freshness is a question about CONTENT.
|
|
496
|
-
// Not used on the write path — generated files are still written with LF endings.
|
|
497
|
-
function lf(s) {
|
|
498
|
-
return s.replace(/\r\n/g, '\n');
|
|
499
|
-
}
|
|
500
|
-
|
|
501
489
|
// Is the artifact on disk still what the generator would write? Freshness is a
|
|
502
|
-
// question about CONTENT, so CRLF-vs-LF is not a difference —
|
|
503
|
-
//
|
|
504
|
-
//
|
|
505
|
-
//
|
|
506
|
-
//
|
|
507
|
-
//
|
|
508
|
-
//
|
|
490
|
+
// question about CONTENT, so CRLF-vs-LF is not a difference — the eol-blind compare
|
|
491
|
+
// is gen-freshness.sameContent, shared with the other six generators, and its header
|
|
492
|
+
// carries the full why (task 1003619 hit it here: a Windows checkout reads back the
|
|
493
|
+
// CRLF git wrote, so a byte compare reported STALE forever on content that was
|
|
494
|
+
// byte-identical in the index — a permanently red gate teaches builders to wave past
|
|
495
|
+
// the one check that catches a REAL stale artifact). Only \r\n is folded, NOT a lone
|
|
496
|
+
// \r, so a genuinely corrupt file cannot read as fresh.
|
|
497
|
+
//
|
|
498
|
+
// The one thing that is local, and the reason this wrapper exists rather than a bare
|
|
499
|
+
// sameContent() at the call site: a MISSING file is stale by definition. sameContent
|
|
500
|
+
// would coerce a null `have` to '' and call it fresh against an empty `want`.
|
|
501
|
+
// Not used on the write path — generated files are still written with LF endings.
|
|
502
|
+
// Pure + exported so the decision is unit-testable without writing to the committed
|
|
503
|
+
// artifacts (same shape as shouldRefuseSessionClaim in modules/lifecycle/routes/claims.js).
|
|
509
504
|
function matchesGenerated(have, want) {
|
|
510
505
|
if (have === null || have === undefined) return false;
|
|
511
|
-
return
|
|
506
|
+
return sameContent(have, want);
|
|
512
507
|
}
|
|
513
508
|
|
|
514
509
|
function write({ check = false } = {}) {
|
|
@@ -551,5 +546,5 @@ if (require.main === module) {
|
|
|
551
546
|
module.exports = {
|
|
552
547
|
SURFACES, COPY_ATTRS, BLIND_SPOTS, REGISTRY_REL, REPORT_REL,
|
|
553
548
|
cmp, stableId, looksLikeCopy, lineIndex, lineAt, stripEmbedded, fromHtml, fromJs, filesFor,
|
|
554
|
-
buildRegistry, renderReport, write,
|
|
549
|
+
buildRegistry, renderReport, write, matchesGenerated,
|
|
555
550
|
};
|
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.856'; // 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/copy_inventory.mjs
CHANGED
|
Binary file
|