@codeledger/cli 0.10.75 → 0.10.77

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.
Files changed (2) hide show
  1. package/README.md +23 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -12,6 +12,10 @@ Published by [Intelligent Context AI, Inc.](https://codeledger.dev).
12
12
  > There is an unrelated unscoped `codeledger` package on npm by a different
13
13
  > author. The real ContextECF CodeLedger package is published under the
14
14
  > `@codeledger` scope.
15
+ >
16
+ > Use the global `-g` form for normal CLI installs. `npm install @codeledger/cli`
17
+ > inside an existing project modifies that project and `npm audit` reports the
18
+ > whole project dependency tree, not just CodeLedger.
15
19
 
16
20
  ## Install
17
21
 
@@ -21,12 +25,22 @@ cd your-repo
21
25
  codeledger ready
22
26
  ```
23
27
 
28
+ The wrapper package declares no runtime npm dependencies. Release CI verifies
29
+ that with a clean install audit fixture before `latest` is promoted.
30
+
24
31
  This package is a **thin npm wrapper**. When you install it, the
25
32
  `postinstall` step downloads the platform-specific hardened binary from
26
33
  the matching GitHub Release, verifies its SHA256 against
27
34
  `SHA256SUMS-v<version>.txt`, and caches it under
28
35
  `~/.cache/codeledger/bin/`.
29
36
 
37
+ SHA256 verification confirms that the downloaded binary matches the bytes
38
+ published by CodeLedger. It does not make the binary source-verifiable. If your
39
+ organization requires source inspection for repo-reading tools, use the
40
+ Enterprise Source-Build Profile in
41
+ [`docs/security/ENTERPRISE_ASSURANCE.md`](../../docs/security/ENTERPRISE_ASSURANCE.md)
42
+ instead of this npm wrapper path.
43
+
30
44
  Installation downloads and verifies the binary only. It does not rewrite repo
31
45
  hooks, vendored runtimes, or ambient setup by default. After install, run
32
46
  `cd your-repo && codeledger ready`. Existing repos can opt into the ambient
@@ -37,6 +51,15 @@ No engine code, scoring logic, or formulas ship to npm. The wrapper is
37
51
  ~30 KB of plain JavaScript that fetches, verifies, and launches the
38
52
  real CodeLedger binary.
39
53
 
54
+ For least-privilege enterprise review, build from source and run:
55
+
56
+ ```bash
57
+ pnpm install --frozen-lockfile
58
+ pnpm build
59
+ pnpm release:smoke:source
60
+ node packages/cli/dist/index.js scan
61
+ ```
62
+
40
63
  ## Supported platforms (tier 1)
41
64
 
42
65
  - `darwin-arm64` (Apple Silicon macOS)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codeledger/cli",
3
- "version": "0.10.75",
3
+ "version": "0.10.77",
4
4
  "mcpName": "io.github.codeledgerECF/codeledger",
5
5
  "description": "Official ContextECF CodeLedger CLI wrapper. Installs the hardened binary from GitHub Releases; zero engine code ships in this package.",
6
6
  "type": "commonjs",