@bongos/core 1.19.1070 → 1.19.1071
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 +18 -13
- package/docs/adr/0343-a-module-score-is-a-security-gate-then-an-average-of-visible-parts.md +86 -0
- package/docs/adr/README.md +1 -0
- package/docs/module-api-changelog.md +2 -0
- package/package-lock.json +2 -2
- package/package.json +1 -1
- package/release-notes.json +6 -0
- package/src/module-api.js +1 -1
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.1071",
|
|
6
|
+
"core_contract": "1.19.1071",
|
|
7
|
+
"source_commit": "e952aeff8fd966ba7aea8a72df82e4d825c22648",
|
|
8
8
|
"source_ref": "HEAD",
|
|
9
|
-
"built_at": "2026-09-28T19:
|
|
9
|
+
"built_at": "2026-09-28T19:35:40.500Z",
|
|
10
10
|
"redaction": {
|
|
11
11
|
"model": "docs-redacted+functional-verbatim",
|
|
12
|
-
"docs_redacted":
|
|
12
|
+
"docs_redacted": 549,
|
|
13
13
|
"agent_docs_stubbed": 26,
|
|
14
14
|
"functional_verbatim": 2560,
|
|
15
15
|
"rules": 3,
|
|
16
16
|
"gate_literals": 3,
|
|
17
17
|
"gate": "passed"
|
|
18
18
|
},
|
|
19
|
-
"file_count":
|
|
20
|
-
"tree_sha256": "
|
|
19
|
+
"file_count": 3136,
|
|
20
|
+
"tree_sha256": "364a060541bc6ea130edf33f92ee954d0ccf420f8727ea29239c18392f5621c1",
|
|
21
21
|
"files": [
|
|
22
22
|
{
|
|
23
23
|
"path": ".claude/skills/ask-for-help/SKILL.md",
|
|
@@ -2179,10 +2179,15 @@
|
|
|
2179
2179
|
"mode": "0000644",
|
|
2180
2180
|
"sha256": "f847a769842c5c57a86ef8951e685da3b61474029b54b6620046713de7c6c93c"
|
|
2181
2181
|
},
|
|
2182
|
+
{
|
|
2183
|
+
"path": "docs/adr/0343-a-module-score-is-a-security-gate-then-an-average-of-visible-parts.md",
|
|
2184
|
+
"mode": "0000644",
|
|
2185
|
+
"sha256": "821f3c073de063aa9f3df9622a5b138cc5060754bb986cd5c747494150ec59db"
|
|
2186
|
+
},
|
|
2182
2187
|
{
|
|
2183
2188
|
"path": "docs/adr/README.md",
|
|
2184
2189
|
"mode": "0000644",
|
|
2185
|
-
"sha256": "
|
|
2190
|
+
"sha256": "36568b2672c4b2ea76feda41fa9fe5bdffa3c10a1aaa56f862c663559712ed8b"
|
|
2186
2191
|
},
|
|
2187
2192
|
{
|
|
2188
2193
|
"path": "docs/api-reference.md",
|
|
@@ -2752,7 +2757,7 @@
|
|
|
2752
2757
|
{
|
|
2753
2758
|
"path": "docs/module-api-changelog.md",
|
|
2754
2759
|
"mode": "0000644",
|
|
2755
|
-
"sha256": "
|
|
2760
|
+
"sha256": "e8f17d79acc62fcacbcdb415295e23a8385bb050cc544b1c20fb3328b05eaa49"
|
|
2756
2761
|
},
|
|
2757
2762
|
{
|
|
2758
2763
|
"path": "docs/modules-contract.md",
|
|
@@ -8642,12 +8647,12 @@
|
|
|
8642
8647
|
{
|
|
8643
8648
|
"path": "package-lock.json",
|
|
8644
8649
|
"mode": "0000644",
|
|
8645
|
-
"sha256": "
|
|
8650
|
+
"sha256": "b8899117fdc884212b4d763f9a01641137ac5e5b148f2b608d5866137ec86afe"
|
|
8646
8651
|
},
|
|
8647
8652
|
{
|
|
8648
8653
|
"path": "package.json",
|
|
8649
8654
|
"mode": "0000644",
|
|
8650
|
-
"sha256": "
|
|
8655
|
+
"sha256": "d5ff7c99d5927cf91fc93d442725c14383695ed34576cd76840ae3d1579336a3"
|
|
8651
8656
|
},
|
|
8652
8657
|
{
|
|
8653
8658
|
"path": "public-docs/index.html",
|
|
@@ -8667,7 +8672,7 @@
|
|
|
8667
8672
|
{
|
|
8668
8673
|
"path": "release-notes.json",
|
|
8669
8674
|
"mode": "0000644",
|
|
8670
|
-
"sha256": "
|
|
8675
|
+
"sha256": "71549984e44e3f37dd1b858db883c2f9916ad409dff338a42e2664258980c420"
|
|
8671
8676
|
},
|
|
8672
8677
|
{
|
|
8673
8678
|
"path": "scripts/bongos-mcp.js",
|
|
@@ -10757,7 +10762,7 @@
|
|
|
10757
10762
|
{
|
|
10758
10763
|
"path": "src/module-api.js",
|
|
10759
10764
|
"mode": "0000644",
|
|
10760
|
-
"sha256": "
|
|
10765
|
+
"sha256": "f05875c00f06c453f995f13626deff2da66a9a31730d4f483756f4d74cbcc588"
|
|
10761
10766
|
},
|
|
10762
10767
|
{
|
|
10763
10768
|
"path": "src/module-loader/catalog.js",
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# ADR 0343 — A module's score is a security gate, then an average of parts every buyer can see
|
|
2
|
+
|
|
3
|
+
- **Status:** accepted
|
|
4
|
+
- **Date:** 2026-09-28
|
|
5
|
+
- **Task:** [task 1003790](https://cloudbongos.com/builders#/task/1003790) (goal 1000091 — working area 5, Module distribution & economy)
|
|
6
|
+
- **Deciders:** Will (owner of working area 5) chose how the signals combine, and added that each part's score must be visible; Claude inventoried the measurable signals and wrote the record.
|
|
7
|
+
- **Related:** [ADR 0338](0338-modules-travel-through-a-bongos-hosted-store.md) (the hosted store) · [ADR 0342](0342-module-categories-are-eight-parents-with-approved-sub-categories.md) (the sub-category the ranking runs in) · [ADR 0027](0027-bfg-session-inefficiency-evaluator.md) (prior art: a multi-dimension evaluation) · [session log 2026-09-10](../session-logs/2026-09-10-goal-1000091-area-5-criteria.md)
|
|
8
|
+
|
|
9
|
+
## Context
|
|
10
|
+
|
|
11
|
+
Criterion `wa5-quality-assessed` says Bongos scores each module **from what the platform can
|
|
12
|
+
measure itself**, with a Metic+ override and delist, and free modules assessed identically. No
|
|
13
|
+
module score exists today. `bongos module check` is a pass/fail submit gate, not a grade. The
|
|
14
|
+
quality floor (task 1003807), the ranking (task 1003808) and the cap (task 1003809) all derive
|
|
15
|
+
from this score. That makes the formula the thing an author appeals against, so it has to be
|
|
16
|
+
explainable in a sentence.
|
|
17
|
+
|
|
18
|
+
## Decision
|
|
19
|
+
|
|
20
|
+
### D1 — The parts, and when each one arrives
|
|
21
|
+
|
|
22
|
+
| Part | What it measures | Available |
|
|
23
|
+
|---|---|---|
|
|
24
|
+
| **Security** | dependency and code scan (task 1003792) | day one |
|
|
25
|
+
| **Tests** | pass rate of the module's own tests, run by the platform (task 1003791) | day one |
|
|
26
|
+
| **Install** | share of installs that complete cleanly (task 1003793) | once real installs exist |
|
|
27
|
+
| **Reliability** | runtime error and crash rate from real installs (task 1003793) | once real installs exist |
|
|
28
|
+
| **Tester feedback** | what testers hit during staged rollout (task 1003806) | once staged rollout exists |
|
|
29
|
+
|
|
30
|
+
Each part is scored 0–100 per module **version**, because a new version can be better or worse
|
|
31
|
+
than the last.
|
|
32
|
+
|
|
33
|
+
### D2 — Security is a gate, not an ingredient
|
|
34
|
+
|
|
35
|
+
A version that **fails the security check is not listed**, whatever else it scores. Security is
|
|
36
|
+
never averaged in, so a module can't make up for a vulnerability with good tests.
|
|
37
|
+
|
|
38
|
+
### D3 — The overall score is the plain average of the other parts that have data
|
|
39
|
+
|
|
40
|
+
Overall = the unweighted average of whichever of Tests, Install, Reliability and Tester
|
|
41
|
+
feedback have data for that version. A part with no data yet is left out, not counted as zero.
|
|
42
|
+
|
|
43
|
+
Unweighted on purpose: an author who asks "why did I score 71?" gets an answer they can check
|
|
44
|
+
themselves. Weights can be added later by a superseding ADR, if real data shows one part
|
|
45
|
+
predicts quality better than the others.
|
|
46
|
+
|
|
47
|
+
### D4 — Every part is visible, not just the overall number (owner)
|
|
48
|
+
|
|
49
|
+
The owner's addition: **each part's score is shown to buyers alongside the overall score**, so
|
|
50
|
+
someone comparing two modules can pick the one that is strongest where it matters to them. One
|
|
51
|
+
buyer might care most about reliability, another about test coverage. The overall number sorts
|
|
52
|
+
the listing; the parts explain it. This is the requirement tasks 1003798 (store per-part
|
|
53
|
+
scores) and 1003799 (show strengths and weaknesses in the API and hall) build to.
|
|
54
|
+
|
|
55
|
+
### D5 — A version without real-world data is labelled "New", not scored low
|
|
56
|
+
|
|
57
|
+
Until a version has Install or Reliability data, it shows as **New**, with its day-one parts
|
|
58
|
+
(Security passed, Tests score) visible. It isn't pushed below the floor for lacking data it
|
|
59
|
+
couldn't have yet. The floor and the ranking decide how New modules are placed (tasks 1003807,
|
|
60
|
+
1003808). This ADR only says a missing part is never a zero.
|
|
61
|
+
|
|
62
|
+
### D6 — Free and paid are scored identically; Metic+ can override with an audit entry
|
|
63
|
+
|
|
64
|
+
Price is never an input. The Metic+ override (task 1003796) and delist (task 1003797) sit on
|
|
65
|
+
top of the computed score and never replace how it is computed. Every override is recorded.
|
|
66
|
+
|
|
67
|
+
## Consequences
|
|
68
|
+
|
|
69
|
+
- **Day one, only Tests counts toward the overall score**, behind the Security gate. The number
|
|
70
|
+
becomes more meaningful as installs and testers arrive. The "New" label (D5) makes that honest
|
|
71
|
+
rather than hidden.
|
|
72
|
+
- **Re-assessment runs per version** (task 1003794) and whenever new install, reliability or
|
|
73
|
+
tester data arrives.
|
|
74
|
+
- **A score an author can reproduce** is the appeal path: every part and the averaging rule are
|
|
75
|
+
public.
|
|
76
|
+
|
|
77
|
+
## Rejected
|
|
78
|
+
|
|
79
|
+
- **A simple average including security.** A module with a known vulnerability could still
|
|
80
|
+
score well.
|
|
81
|
+
- **A weighted average from day one.** The weights would be guesses, and harder to justify to an
|
|
82
|
+
author asking why they scored low.
|
|
83
|
+
- **One overall number only.** Two modules with the same score can be good at different things,
|
|
84
|
+
and the owner wants buyers to see that.
|
|
85
|
+
- **Counting a missing part as zero.** It would punish every new module for data it couldn't
|
|
86
|
+
have yet.
|
package/docs/adr/README.md
CHANGED
|
@@ -434,3 +434,4 @@ This keeps the decision history honest and traceable.
|
|
|
434
434
|
| 0340 | [**Every hall takes its update from Settings, and /deploy is the platform hall's page** ([task 1004296](https://cloudbongos.com/builders#/task/1004296), goal 1000090 — the owner's 2026-09-25 asks: a Settings version panel "just like iOS", and /deploy only in the Bongos hall). Amends ADR 0339 D3 and the reach of ADR 0293's page. **D1:** Settings → Software update in the core — the running core, the newest release the runner's own channel rule allows, and what each version in between carries from the newest package's release notes; every signed-in builder reads it, and "up to date" is said only from an answer. **D2:** its Update button leads to the door (local /deploy, the hub's /deploy?project=, or a `bongos upgrade` sentence), drawn only for holders of core.pin.move. **D3:** /deploy 302s to Settings on a hall without the provisioning module. **D4:** the banner links Settings everywhere but the platform; the rail is no longer re-pointed; /core-update drops deploy_url. **D5:** the registry reader moved into the core (module-api readPackageRegistry). Rejected: a second copy of the two-step door, gating the panel on the atom, a "moved" page.](0340-every-hall-takes-its-update-from-settings-and-deploy-is-the-platform-halls-page.md) | deploy door / settings / core update |
|
|
435
435
|
| 0341 | [**The page is the unit of Tweak Mode: one tweak task per page round, its status derived from the ledger** ([task 1004332](https://cloudbongos.com/builders#/task/1004332), goal 1000095 — BV2.TW03, the owner's Tweak Mode decisions of 2026-09-27 written down). Amends ADR 0233 (a proposal becomes a page batch); replaces the artist-review-on-ship cascade rule. **D1-D3:** every record keys on a page id from docs/page-inventory.json; a round is a `page-tweak` task (`source_ref page-tweak/<page>/r<n>`, 30c, catch-all goal, one open round per page under an advisory lock); TW04 commits docs/page-readings.json (line keys, placed/shared/unplaced, reading and files hashes, no browser in ship-check). **D4:** the draft, the frozen batch, the apply record and each send-back are fenced blocks on the task, parsed by a pure pages.js; unplaced rewrites file their own engineer task; copy_no_cms.mjs grows in reviewed diffs. **D5-D6:** artist-craft builders claim with a web claim; anyone asks, and a page ask is a copy_desk_flags row with scope page. **D7:** round states are derived; a passed grade on a page tweak holds at completed until the artist approves (the confirm) or sends it back to the apply queue, with the owner override as the escape hatch. **D8:** count, status, changelog, drift (against the last round's lines_after), N of M per surface, the tally and the recommendation order are all reads. **D9:** the cascade rule is removed; hasCopyOrVisualWork stays for the reader lens. **D10:** the reviews paid 30c per task on the estimate stream (withheld under cost-plus-only) plus the session's cost-plus; an approved page pays its artist 30c on a new artist lane that cost-plus-only does not suppress, payee from the claims table, applier keeps its session reward. **D11-D12:** the route table; a dependency-free .docx with content-control line tags, refused as structure_changed, wrong_page or reading_moved. Twelve builder picks are listed for the owner to confirm.](0341-the-page-is-the-unit-of-tweak-mode.md) | copy desk / artist loop / economy |
|
|
436
436
|
| 0342 | [**Module categories are eight fixed parents, with narrow sub-categories an author proposes and Metic+ approves** ([task 1003783](https://cloudbongos.com/builders#/task/1003783), goal 1000091 — working area 5, owner Will). The owner's cap of ten listed modules needs a comparable set, and nothing carried a category. **D1:** eight parents derived from the live roster — Work & planning, Team & people, Quality & review, Money, Communication, Pages & design, Hosting & deploy, Knowledge — for browsing only; the cap never applies to a parent. **D2:** the sub-category (the narrow set a buyer chooses between, e.g. "Stripe payments") is where the cap, ranking and comparison run. **D3 (owner):** an author proposes a sub-category and a Metic+ builder approves, renames or merges it, because free-naming would split one comparable set into near-duplicates and the cap would never bite; a pending module lists under its parent and counts toward no cap. **D4:** one sub-category per module. Rejected: free naming, Metic+-only creation, a flat list, parent-level caps.](0342-module-categories-are-eight-parents-with-approved-sub-categories.md) | modules / store / economy |
|
|
437
|
+
| 0343 | [**A module's score is a security gate, then an average of parts every buyer can see** ([task 1003790](https://cloudbongos.com/builders#/task/1003790), goal 1000091 — working area 5, owner Will). No module score existed; the floor, ranking and cap all derive from this one. **D1:** five parts, each 0–100 per version — Security and Tests day one; Install, Reliability (from real installs) and Tester feedback later. **D2 (owner):** failing Security means not listed, never averaged in. **D3 (owner):** overall = unweighted average of the other parts that have data; a missing part is left out, not zero. **D4 (owner):** every part's score is shown to buyers beside the overall, so they can pick the module strongest where they care (tasks 1003798/1003799). **D5:** a version without real-world data is labelled "New". **D6:** price is never an input; the Metic+ override/delist sits on top and is audited. Rejected: security in the average, day-one weights, a single number, missing-as-zero.](0343-a-module-score-is-a-security-gate-then-an-average-of-visible-parts.md) | modules / store / quality |
|
|
@@ -2627,5 +2627,7 @@ is load-bearing: the script throws rather than guess if it is missing, and
|
|
|
2627
2627
|
landed since 1.19.1068 with no explicit bump. run 36470192310. (task 1002620)
|
|
2628
2628
|
1.19.1070 — CI auto-patch (publish-on-merge, ADR 0161): carrier for merges
|
|
2629
2629
|
landed since 1.19.1069 with no explicit bump. run 36472133987. (task 1002620)
|
|
2630
|
+
1.19.1071 — CI auto-patch (publish-on-merge, ADR 0161): carrier for merges
|
|
2631
|
+
landed since 1.19.1070 with no explicit bump. run 36473239367. (task 1002620)
|
|
2630
2632
|
---------------------------------------------------------------------------
|
|
2631
2633
|
```
|
package/package-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bongos/core",
|
|
3
|
-
"version": "1.19.
|
|
3
|
+
"version": "1.19.1071",
|
|
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.1071",
|
|
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.1071",
|
|
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/release-notes.json
CHANGED
|
@@ -7725,5 +7725,11 @@
|
|
|
7725
7725
|
"id": "1003783",
|
|
7726
7726
|
"text": "Decided how modules in the store are grouped: eight broad sections, each with narrow sub-categories that authors suggest and trusted builders approve, so the top-ten limit compares like with like."
|
|
7727
7727
|
}
|
|
7728
|
+
],
|
|
7729
|
+
"1.19.1071": [
|
|
7730
|
+
{
|
|
7731
|
+
"id": "1003790",
|
|
7732
|
+
"text": "Decided how the store scores modules: a failed security check keeps a module out, the rest is averaged, and buyers can see each part of the score to pick the module that is best at what they need."
|
|
7733
|
+
}
|
|
7728
7734
|
]
|
|
7729
7735
|
}
|
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.1071'; // 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');
|