@functional-systems/lambdadb-cli 0.1.0 → 0.1.1-dev.7

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/CHANGELOG.md CHANGED
@@ -2,7 +2,19 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
- ## [0.1.0] - 2026-09-18
5
+ ### Added
6
+
7
+ - A Homebrew formula for the published stable CLI, with a managed Node 24 runtime,
8
+ checksummed npm/lockfile inputs and isolated production dependencies.
9
+ - Local Homebrew installation checks, installed CLI contracts and macOS/Linux PR
10
+ validation. Public tap publication remains a separate pending step.
11
+
12
+ ### Maintenance
13
+
14
+ - Synchronize the 0.1.0 release history into develop and start the 0.1.1 development
15
+ line. Stable installs use npm's default channel; dev builds remain opt-in.
16
+
17
+ ## [0.1.0] - 2026-09-19
6
18
 
7
19
  ### Added
8
20
 
package/CONTRIBUTING.md CHANGED
@@ -66,7 +66,7 @@ development base in that synchronization PR so develop retains a dev version.
66
66
 
67
67
  A separate `release/*` branch can be created from reviewed develop and target
68
68
  main when preparing rc/stable metadata while develop retains its automatic dev
69
- base. The first stable release uses `release/0.1.0` for this reason. Do not merge
69
+ base. The first stable release used `release/0.1.0` for this reason. Do not merge
70
70
  stable package metadata into develop without setting its next dev base, because
71
71
  automatic development publication requires an `X.Y.Z-dev.N` version.
72
72
 
package/README.md CHANGED
@@ -10,25 +10,26 @@ Requires Node.js 22.14 or newer and npm.
10
10
 
11
11
  ### Install from npm
12
12
 
13
- The verified development build is available on the `dev` channel:
13
+ Install the stable channel:
14
14
 
15
15
  ```sh
16
- npm install --global @functional-systems/lambdadb-cli@dev
16
+ npm install --global @functional-systems/lambdadb-cli
17
17
  lambdadb --version
18
18
  lambdadb --help
19
19
  ```
20
20
 
21
- This checkout prepares `0.1.0`. Once its GitHub Release and npm publication are
22
- complete, install the stable version with:
21
+ For reproducible CI runs, pin an exact published version such as
22
+ `@functional-systems/lambdadb-cli@0.1.0`. To try development builds, explicitly use
23
+ `@functional-systems/lambdadb-cli@dev`; this moving channel contains prereleases.
24
+ Installed CLIs do not update themselves. See
25
+ [RELEASING.md](RELEASING.md#current-status) for release status and
26
+ [VALIDATION.md](VALIDATION.md) for verification results and remaining limitations.
23
27
 
24
- ```sh
25
- npm install --global @functional-systems/lambdadb-cli@0.1.0
26
- ```
28
+ ### Homebrew
27
29
 
28
- The `dev` channel contains prerelease versions. For reproducible CI runs, pin an
29
- exact published version instead of the moving `dev` tag. See
30
- [RELEASING.md](RELEASING.md#current-status) for release preparation status and
31
- [VALIDATION.md](VALIDATION.md) for verification results and remaining limitations.
30
+ Homebrew support is being prepared for macOS and Linux. The formula and local
31
+ installation checks are in [the maintainer guide](https://github.com/lambdadb/lambdadb-cli/tree/develop/packaging/homebrew#readme).
32
+ The public tap is not published yet; use npm for installation today.
32
33
 
33
34
  ### Build from source
34
35
 
package/RELEASING.md CHANGED
@@ -2,49 +2,37 @@
2
2
 
3
3
  ## Current status
4
4
 
5
- The `release/0.1.0` candidate prepares the first stable version from reviewed
6
- `develop` commit `c8947e9`. It changes package/lock versions and release documents;
7
- CLI runtime, dependencies, tests and workflows match the verified development build.
8
- The promotion PR targets `main` directly so `develop` keeps its automatic dev base.
9
- Merge with a merge commit, then obtain authorization for `v0.1.0` and a non-prerelease
10
- GitHub Release. Main promotion alone does not publish npm. After publication,
11
- verify `latest=0.1.0`, provenance and a clean consumer installation. Synchronize
12
- main back to develop through a PR that also sets the next development base.
13
- Stable publication has not yet been performed.
14
-
15
- The ordinary develop merge published `0.1.0-dev.5` through OIDC in
16
- [one successful workflow attempt](https://github.com/lambdadb/lambdadb-cli/actions/runs/35344153978).
17
- The new verification logic handled approximately three minutes of registry
18
- propagation without repeating the write or rerunning the workflow. A fresh npm
19
- installation passed 35 CLI contracts, integrity and provenance/signature checks.
20
-
21
- Bootstrap and initial OIDC publication were completed on 2026-09-18:
22
-
23
- - `0.1.0-dev.1` was published publicly from reviewed develop as the manual bootstrap.
24
- - `0.1.0-dev.4` was published by GitHub Actions with verified provenance for
25
- commit `f2397ba`. Its registry installation passed all 35 CLI contract tests.
26
- - The repository variable `NPM_DEV_PUBLISH_ENABLED=true` enables eligible develop
27
- pushes after Node 22/24 CI. Main promotion is required only for rc/stable.
28
-
29
- These are recorded validation milestones, not a continuously updated list of
30
- versions. Check npm for current dist-tags. At verification, `dev` pointed to
31
- `0.1.0-dev.4` and `latest` remained at the bootstrap `0.1.0-dev.1`: the first
32
- publication created both tags despite `--tag dev`, and removing `latest` returned
33
- HTTP 400. The next dev publication preserved `latest`. No stable version has been
34
- published; explicitly select `@dev` or an exact development version until a
35
- reviewed rc/stable release is available. Do not repeatedly delete the bootstrap
36
- tag or publish a placeholder to work around it.
37
-
38
- The CLI is licensed under [Apache-2.0](LICENSE), with matching package metadata.
39
- Publication, provenance and development-project smoke evidence are recorded in
40
- [VALIDATION.md](VALIDATION.md). Local bootstrap has no GitHub Actions provenance;
41
- the automated development artifact does.
42
-
43
- The workflow rejects private packages and missing license metadata. Explicit
44
- rc/stable releases also require matching tags, prerelease flags and dated
45
- changelog entries. Passing metadata validation does not establish live-service
46
- verification. Enabling automatic dev publication authorizes eligible develop
47
- pushes to publish after CI; rc/stable publication remains an explicit action.
5
+ The first stable version, `0.1.0`, was published on 2026-09-19 through
6
+ [GitHub Release v0.1.0](https://github.com/lambdadb/lambdadb-cli/releases/tag/v0.1.0)
7
+ and the [OIDC release workflow](https://github.com/lambdadb/lambdadb-cli/actions/runs/35421226854).
8
+ Tag and main release commit `c8d389f` have the same tree as the reviewed and
9
+ live-tested candidate `658ea7c`. The workflow passed on attempt 1, including Node
10
+ 22/24 validation and tests of the exact publication tarball.
11
+
12
+ Registry verification confirmed `latest=0.1.0` and `dev=0.1.0-dev.5`. A clean,
13
+ unqualified npm install passed all 35 CLI contracts, version/help, integrity,
14
+ provenance and signature checks. Version/tag and attestation metadata propagated
15
+ separately; verification used read retries without republishing.
16
+
17
+ The post-release synchronization brings main history back into develop with
18
+ `0.1.1-dev.1` as the next development base. Its promotion PR must preserve shared
19
+ ancestry with a merge commit. Once merged, the normal develop push workflow
20
+ publishes a numbered `0.1.1-dev.N` build on `dev`; it does not move `latest`.
21
+ No separate stable release or tag is needed for this maintenance step.
22
+
23
+ Bootstrap `0.1.0-dev.1` and the first OIDC development builds were verified on
24
+ 2026-09-18. The ordinary develop merge published `0.1.0-dev.5` in
25
+ [one successful attempt](https://github.com/lambdadb/lambdadb-cli/actions/runs/35344153978),
26
+ handling approximately three minutes of registry propagation without another write.
27
+ The bootstrap initially assigned `latest` to `0.1.0-dev.1`, and a removal attempt
28
+ returned HTTP 400. The stable publication replaces that temporary tag state.
29
+ Do not repeat bootstrap or change tags to work around propagation delays.
30
+
31
+ These are dated validation milestones, not a continuously updated version list.
32
+ Check npm for current dist-tags. Apache-2.0 licensing, publication, provenance,
33
+ consumer checks and development-project smoke evidence are recorded in
34
+ [VALIDATION.md](VALIDATION.md). Automatic dev publication is enabled;
35
+ future stable/rc tags and GitHub Releases remain explicit release actions.
48
36
 
49
37
  ## Branch and version policy
50
38
 
@@ -264,6 +252,16 @@ live behavior, or exactly-once writes. A large result alone does not prove the
264
252
  service selected docsUrl; mock tests explicitly exercise that transport path.
265
253
  Use existing known development tag/alias refs for additional live ref evidence.
266
254
 
255
+ ## Homebrew handoff
256
+
257
+ The stable formula is maintained in `packaging/homebrew/Formula/lambdadb-cli.rb`.
258
+ It consumes the verified npm artifact and the lockfile from its immutable release
259
+ commit. Development publication does not update Homebrew. After each stable npm
260
+ release, follow the [Homebrew maintainer guide](https://github.com/lambdadb/lambdadb-cli/tree/develop/packaging/homebrew#readme) to
261
+ update checksums, pass installation checks and prepare a tap PR. Tap publication
262
+ is separate from this repository's npm workflow; no cross-repository write or
263
+ automatic tap update is configured. The public tap has not been published yet.
264
+
267
265
  ## Design references
268
266
 
269
267
  - LambdaDB TypeScript client `RELEASING.md` and `publish.yaml`: canonical channels,
package/VALIDATION.md CHANGED
@@ -1,14 +1,75 @@
1
1
  # Validation record
2
2
 
3
- Date: 2026-09-18. Local contract tests use loopback servers and synthetic
3
+ Updated: 2026-09-19. Local contract tests use loopback servers and synthetic
4
4
  credentials. A separate authenticated development-project smoke is recorded below.
5
5
 
6
+ ## Homebrew preparation
7
+
8
+ On 2026-09-19, macOS 26.4 arm64 / Homebrew 6.0.17 installed stable `0.1.0`
9
+ from `packaging/homebrew/Formula/lambdadb-cli.rb` through a disposable local tap.
10
+ The npm tarball SHA-256 was checked against the downloaded bytes, whose SHA-512
11
+ matched registry integrity. The release lockfile resource is fixed to `c8d389f`.
12
+
13
+ - Homebrew formula style, installation and `brew test` passed. The formula checks
14
+ CLI version, JSON configuration and mode 0600 without contacting a service.
15
+ - A deliberately unusable `node` placed first on ambient PATH did not prevent
16
+ the installed wrapper from running; it selected Homebrew's Node 24.21.0.
17
+ - All 35 CLI contracts from the stable release commit passed against the installed
18
+ Homebrew package. The harness uses the release commit's tests/examples so future
19
+ development-only features do not create false failures for an older stable CLI.
20
+ - Simulated existing-formula and broken-executable-symlink cases both stopped the
21
+ harness before any installation or tap mutation.
22
+ - The temporary CLI installation and tap were removed. The final harness disables
23
+ automatic dependency removal and cleanup, and does not persist developer mode.
24
+ Homebrew dependencies/caches remain: installing Node also upgraded the required
25
+ ca-certificates, openssl@3, readline, sqlite and xz packages during initial setup.
26
+ The existing fnm-managed Node and global npm CLI were not replaced.
27
+ - Normal clean-install, lint, version/type checks, 59 source tests and 35 npm
28
+ installed-package contracts also passed. CLI runtime and SDK dependencies did
29
+ not change.
30
+
31
+ macOS/Linux Homebrew CI is configured separately from runtime CI; current PR job
32
+ results are the authority for hosted-runner coverage. No public tap repository
33
+ was created and installation from a public tap remains unverified. No new npm
34
+ version was published by this work. LambdaDB service smoke was not repeated for
35
+ this packaging-only change; the stable candidate evidence below remains separate.
36
+
37
+ ## Stable 0.1.0 publication
38
+
39
+ On 2026-09-19, [GitHub Release v0.1.0](https://github.com/lambdadb/lambdadb-cli/releases/tag/v0.1.0)
40
+ and its annotated tag identified main commit
41
+ `c8d389f3264d641ae6eafc7737fedd5ea046ddf1`. Its tree exactly matches the reviewed
42
+ candidate `658ea7ccdce535bbd4f2e29ae06813e2f2e716e2` from PR #5, including the
43
+ runtime verified by the installed-candidate development smoke below. That smoke
44
+ was not repeated because release contents were unchanged.
45
+
46
+ The [release-event workflow](https://github.com/lambdadb/lambdadb-cli/actions/runs/35421226854)
47
+ passed on attempt 1. Node 22/24 validation and exact-tarball contracts passed;
48
+ Trusted Publishing published `0.1.0` on `latest` at 04:27:06 UTC. Version/tag
49
+ metadata and attestation metadata propagated separately. Verification retried
50
+ reads only; no second publication or workflow rerun was needed.
51
+
52
+ A clean, unqualified npm install with an isolated cache resolved to `0.1.0` and
53
+ passed version/help plus all 35 CLI contract tests. The downloaded tarball digest,
54
+ installed lockfile integrity and provenance subject matched. The decoded SLSA
55
+ provenance identified this repository, `.github/workflows/publish.yaml`,
56
+ `refs/tags/v0.1.0`, release commit `c8d389f` and workflow attempt 1.
57
+ `npm audit signatures` reported no invalid or missing signatures.
58
+ At verification, `latest=0.1.0` and `dev=0.1.0-dev.5`; the stable release replaced
59
+ the initial bootstrap latest tag without changing the dev channel.
60
+
61
+ The subsequent main-to-develop synchronization sets `0.1.1-dev.1` as the next
62
+ base. Its local clean install, lint, types, version checks, 59 source tests and
63
+ 35 installed-package contracts passed. This maintenance change updates versions
64
+ and documentation only; CLI runtime, dependencies, tests and workflows match
65
+ `v0.1.0`. Its PR validation does not itself publish a new dev version.
66
+
6
67
  ## Stable 0.1.0 candidate
7
68
 
8
69
  Prepared `release/0.1.0` from reviewed develop commit
9
70
  `c8947e96308283ac593e712716f0732121bb1958`. Relative to that commit, only package
10
71
  versions and release documents change. Runtime source, dependencies, tests,
11
- examples and workflows are unchanged. Stable publication remains pending.
72
+ examples and workflows are unchanged. This records the pre-publication candidate.
12
73
 
13
74
  On Node.js 24.15.0 / npm 11.12.1, a new worktree passed `npm ci`, lint, type
14
75
  checking, all 59 source tests, and 35 installed-package contract tests.
@@ -38,8 +99,8 @@ Target: `bench-recall` at
38
99
  Only documentation was updated after this live run; the final package is checked
39
100
  again with the installed-package contracts. This is development-service evidence
40
101
  for a bounded sample, not a latency/readiness guarantee or live tag/alias coverage.
41
- The stable npm artifact and release-event workflow remain unverified until the
42
- explicit publication and subsequent consumer/provenance checks.
102
+ The stable npm artifact and release-event workflow were not verified at candidate
103
+ preparation time; the subsequent publication evidence is recorded above.
43
104
 
44
105
  ## Public bootstrap and OIDC publication
45
106
 
@@ -74,7 +135,8 @@ At this verification, `dev=0.1.0-dev.4` and `latest=0.1.0-dev.1`. Bootstrap had
74
135
  created both tags despite `--tag dev`; a removal attempt for `latest` returned
75
136
  HTTP 400. The automated dev publication left `latest` unchanged. This observation
76
137
  does not establish a general version-count rule for npm. Bootstrap and OIDC setup
77
- are complete; main promotion and rc/stable publication remain unperformed.
138
+ were complete at that stage; main promotion and stable publication followed as
139
+ recorded above.
78
140
 
79
141
  ## Publication verification hardening
80
142
 
@@ -298,9 +360,6 @@ deployment state of an individual LambdaDB endpoint.
298
360
  receipt. Those capabilities are not implemented.
299
361
  - No Windows-specific permission or signal validation. POSIX modes and injected
300
362
  SIGINT/SIGTERM were checked on macOS; CI targets Linux.
301
- - No main promotion, explicit rc/stable publication or GitHub Release workflow
302
- execution. Public bootstrap and automatic dev/OIDC publication are verified
303
- above, including the five-minute verification behavior on an ordinary develop merge.
304
363
  - Mock large-response tests cover SDK routing/credential separation at 1 MiB;
305
364
  the live sample verifies combined content above 6 MiB. Neither is an exhaustive
306
365
  memory/size stress test. Imports buffer a maximum 64 MiB source file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@functional-systems/lambdadb-cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.1-dev.7",
4
4
  "private": false,
5
5
  "description": "Project-scoped LambdaDB command-line tools",
6
6
  "type": "module",
@@ -52,5 +52,6 @@
52
52
  "bugs": {
53
53
  "url": "https://github.com/lambdadb/lambdadb-cli/issues"
54
54
  },
55
- "license": "Apache-2.0"
55
+ "license": "Apache-2.0",
56
+ "gitHead": "3eefaaae29defacc80b1921aa31deace42f07afd"
56
57
  }