@cejel/cejel 0.1.8 → 0.1.10
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/README.md +29 -26
- package/dist/{chunk-SFEPABAX.js → chunk-EFOUXVJE.js} +2432 -234
- package/dist/index.js +49 -10
- package/dist/mcp/index.js +2 -2
- package/package.json +10 -12
package/README.md
CHANGED
|
@@ -20,10 +20,6 @@ certificate + badge over all of them. See "Aggregate your scanners" below.
|
|
|
20
20
|
> monorepo — the ten-product studio it was built inside — which it currently scores
|
|
21
21
|
> 3.1/4.0 ("Conditional"). We score ourselves before asking you to score yourself.
|
|
22
22
|
|
|
23
|
-
The reusable Barg Labs listing mark is kept at [`brand/barg-icon.png`](./brand/barg-icon.png)
|
|
24
|
-
for directories and registries that accept a custom image. GitHub Actions Marketplace uses
|
|
25
|
-
GitHub's predefined `action.yml` branding icons instead.
|
|
26
|
-
|
|
27
23
|
## Install
|
|
28
24
|
|
|
29
25
|
No account, no key, no signup.
|
|
@@ -65,12 +61,19 @@ docker run --rm --network=none -v "$PWD:/w" -w /w -v "$PWD/cejel:/cejel:ro" debi
|
|
|
65
61
|
npx @cejel/cejel .
|
|
66
62
|
```
|
|
67
63
|
|
|
64
|
+
If a root `package.json` still carries a template name, override only the certificate display
|
|
65
|
+
name while keeping the repository-derived stable slug:
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
npx @cejel/cejel . --name "Customer Portal"
|
|
69
|
+
```
|
|
70
|
+
|
|
68
71
|
The npm package is scoped as `@cejel/cejel`; its executable remains the short command `cejel`.
|
|
69
72
|
|
|
70
73
|
**GitHub Action** — score every PR and publish the badge:
|
|
71
74
|
|
|
72
75
|
```yaml
|
|
73
|
-
- uses: BargLabs/cejel/action@
|
|
76
|
+
- uses: BargLabs/cejel/action@v1
|
|
74
77
|
with:
|
|
75
78
|
min-score: "2.5" # optional: fail the build below this
|
|
76
79
|
```
|
|
@@ -99,26 +102,17 @@ Microsoft Authenticode code-signing.
|
|
|
99
102
|
**Docker / OCI.** The same MCP server is published as a non-root, multi-platform image:
|
|
100
103
|
|
|
101
104
|
```bash
|
|
102
|
-
docker run --rm -i -v "$PWD:/workspace:ro" ghcr.io/barglabs/cejel:0.1.
|
|
105
|
+
docker run --rm -i -v "$PWD:/workspace:ro" ghcr.io/barglabs/cejel:0.1.10
|
|
103
106
|
```
|
|
104
107
|
|
|
105
108
|
The image defaults to `cejel-mcp` over stdio. To use the CLI instead:
|
|
106
109
|
|
|
107
110
|
```bash
|
|
108
|
-
docker run --rm -v "$PWD:/workspace:ro" --entrypoint cejel ghcr.io/barglabs/cejel:0.1.
|
|
109
|
-
```
|
|
110
|
-
|
|
111
|
-
Beginning with v0.1.7, the standard CLI identity flags are also available directly, while an
|
|
112
|
-
invocation without arguments continues to start the MCP server:
|
|
113
|
-
|
|
114
|
-
```bash
|
|
115
|
-
docker run --rm ghcr.io/barglabs/cejel:0.1.8 --version
|
|
116
|
-
docker run --rm ghcr.io/barglabs/cejel:0.1.8 --help
|
|
111
|
+
docker run --rm -v "$PWD:/workspace:ro" --entrypoint cejel ghcr.io/barglabs/cejel:0.1.10 .
|
|
117
112
|
```
|
|
118
113
|
|
|
119
114
|
The OCI image carries an SBOM, maximum-mode build provenance, and a signed registry
|
|
120
|
-
attestation.
|
|
121
|
-
Official MCP Registry.
|
|
115
|
+
attestation.
|
|
122
116
|
|
|
123
117
|
## Leaderboard
|
|
124
118
|
|
|
@@ -227,9 +221,10 @@ honestly rather than guessing:
|
|
|
227
221
|
dependency hygiene, audit trail, secrets), but without ecosystem-specific test-framework
|
|
228
222
|
tuning.
|
|
229
223
|
- **Recognised but unmodelled** — shell, R, Lua, Julia, Haskell, Terraform, SQL, Perl, OCaml,
|
|
230
|
-
Clojure, Erlang, Nim, Zig, F#, Groovy
|
|
231
|
-
but with the least ecosystem-specific tuning of the
|
|
232
|
-
|
|
224
|
+
Clojure, Erlang, Nim, Zig, F#, Groovy, Fortran, CUDA/HIP, Web templates/styles: counted as
|
|
225
|
+
source so a repo isn't misread as empty, but with the least ecosystem-specific tuning of the
|
|
226
|
+
three tiers.
|
|
227
|
+
- **Not yet recognised** — other ecosystems, including COBOL and MATLAB. Cejel does
|
|
233
228
|
not score these as "source" at all: a repository with zero
|
|
234
229
|
recognised-extension files gets the `unrecognised_ecosystem` archetype, an explicit
|
|
235
230
|
`insufficient_data` criterion status, `null` headline scores, and an explicit machine verdict
|
|
@@ -324,7 +319,7 @@ a configurable `min-score` threshold. The scoring step makes no network calls an
|
|
|
324
319
|
secrets.
|
|
325
320
|
|
|
326
321
|
```yaml
|
|
327
|
-
- uses: BargLabs/cejel/action@
|
|
322
|
+
- uses: BargLabs/cejel/action@v1
|
|
328
323
|
with:
|
|
329
324
|
min-score: '2.5' # optional; omit to never fail the check
|
|
330
325
|
```
|
|
@@ -336,10 +331,6 @@ server over stdio, so any MCP client (Claude Code, Cowork, Cursor, Codex) can re
|
|
|
336
331
|
trust certificate as a tool call. It wraps the exact same scan the CLI runs — same scores,
|
|
337
332
|
same verdict — and is listed on Smithery via the repo's `smithery.yaml`.
|
|
338
333
|
|
|
339
|
-
The canonical discovery manifest is [`server.json`](./server.json), published under
|
|
340
|
-
`io.github.BargLabs/cejel` in the Official MCP Registry. Its npm ownership metadata,
|
|
341
|
-
OCI ownership label, image version, and registry version are checked together before release.
|
|
342
|
-
|
|
343
334
|
Add it to an MCP client config:
|
|
344
335
|
|
|
345
336
|
```json
|
|
@@ -403,7 +394,7 @@ enforced structurally — the public artifacts are built from filtered data rath
|
|
|
403
394
|
rendered and then scrubbed — and a build that would emit a private path fails rather than
|
|
404
395
|
publishes.
|
|
405
396
|
|
|
406
|
-
**What we exclude from ranking.** The
|
|
397
|
+
**What we exclude from ranking.** The v5 repository scanner does not evaluate B1 (dispatch
|
|
407
398
|
trace completeness) or B5 (verified learning trace) for repository inputs, including ours:
|
|
408
399
|
both are always *not applicable* in a repository certificate. They remain defined in the
|
|
409
400
|
rubric for structured substrate evidence, but that evidence is not accepted by this scanner.
|
|
@@ -485,6 +476,18 @@ scoring tool that has not been checked:
|
|
|
485
476
|
detected even though `test.js` was present at the repository root. That was a detection gap
|
|
486
477
|
in Cejel, not evidence about the repository. Rubric v6 recognizes AVA's `test.js` and
|
|
487
478
|
`test-*.js` conventions; a regression fixture preserves the correction.
|
|
479
|
+
- **Version 0.1.9 claimed Express had no coverage configuration while its package scripts used
|
|
480
|
+
`nyc`.** The detector looked only for standalone coverage files and framework configuration.
|
|
481
|
+
Version 0.1.10 also recognizes actual `nyc`, `c8`, and Istanbul commands or configuration in
|
|
482
|
+
`package.json`. An unused dependency is not treated as coverage evidence. This removes a false
|
|
483
|
+
finding without changing the measured coverage score.
|
|
484
|
+
- **Metric-only dimension bands told users that “combined metric weighting” was responsible,
|
|
485
|
+
then stopped.** The underlying metrics were present in the full certificate but absent from
|
|
486
|
+
the terminal finding, and `info` finding severity could appear beside a `critical` dimension
|
|
487
|
+
band without naming the two different concepts. Version 0.1.10 prints the two lowest
|
|
488
|
+
contributing measurements, concrete next actions, `finding severity`, and `dimension band`
|
|
489
|
+
explicitly. It also explains when a requested scan target is gitignored instead of presenting
|
|
490
|
+
the target as a generic empty repository.
|
|
488
491
|
|
|
489
492
|
Every one was a trust failure produced by *us* — false alarms about other people's code,
|
|
490
493
|
silent omissions, inconsistent presentation, or a home-only scoring path — and we would
|