@functional-systems/lambdadb-cli 0.1.0-dev.5 → 0.1.1-dev.6
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 +18 -0
- package/CONTRIBUTING.md +5 -5
- package/README.md +7 -5
- package/RELEASING.md +31 -27
- package/VALIDATION.md +83 -10
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
### Maintenance
|
|
6
|
+
|
|
7
|
+
- Synchronize the 0.1.0 release history into develop and start the 0.1.1 development
|
|
8
|
+
line. Stable installs use npm's default channel; dev builds remain opt-in.
|
|
9
|
+
|
|
10
|
+
## [0.1.0] - 2026-09-19
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- First stable release of the project-scoped LambdaDB CLI: configure, doctor,
|
|
15
|
+
collection list/describe/create, JSONL ordinary/bulk import, query and ID fetch.
|
|
16
|
+
- Explicit branch/tag/alias read targets, noninteractive commands, versioned JSON
|
|
17
|
+
output and documented exit codes, including partial and unknown write outcomes.
|
|
18
|
+
- Reuse of TypeScript SDK 0.5.1 for authentication, transport, read retries,
|
|
19
|
+
pagination, bulk transfers and large response downloads.
|
|
20
|
+
- Apache-2.0 licensing, installed-package contract tests, opt-in development-project
|
|
21
|
+
smoke tests and provenance-enabled npm publication.
|
|
22
|
+
|
|
5
23
|
### Fixed
|
|
6
24
|
|
|
7
25
|
- Development publication verifies registry propagation for up to five minutes,
|
package/CONTRIBUTING.md
CHANGED
|
@@ -14,9 +14,6 @@ not LambdaDB collection branches or refs.
|
|
|
14
14
|
4. Address review feedback and pass both required CI checks before merging.
|
|
15
15
|
5. Delete the short-lived branch after verifying the merge.
|
|
16
16
|
|
|
17
|
-
For the initial MVP, `feat/cli-mvp` targets the initial `develop` commit. The
|
|
18
|
-
review includes the CLI implementation, tests, documentation and CI setup.
|
|
19
|
-
|
|
20
17
|
## Local and CI validation
|
|
21
18
|
|
|
22
19
|
```sh
|
|
@@ -67,8 +64,11 @@ commit so the shared branch ancestry is preserved. After promotion, synchronize
|
|
|
67
64
|
`develop`, especially release-only changes or hotfixes. Include the next intended
|
|
68
65
|
development base in that synchronization PR so develop retains a dev version.
|
|
69
66
|
|
|
70
|
-
A separate `release/*` branch
|
|
71
|
-
|
|
67
|
+
A separate `release/*` branch can be created from reviewed develop and target
|
|
68
|
+
main when preparing rc/stable metadata while develop retains its automatic dev
|
|
69
|
+
base. The first stable release used `release/0.1.0` for this reason. Do not merge
|
|
70
|
+
stable package metadata into develop without setting its next dev base, because
|
|
71
|
+
automatic development publication requires an `X.Y.Z-dev.N` version.
|
|
72
72
|
|
|
73
73
|
The first npm bootstrap, rc/stable tags and GitHub Releases remain explicit
|
|
74
74
|
release actions. Subsequent dev publication is automatic once enabled.
|
package/README.md
CHANGED
|
@@ -10,17 +10,19 @@ Requires Node.js 22.14 or newer and npm.
|
|
|
10
10
|
|
|
11
11
|
### Install from npm
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
Install the stable channel:
|
|
14
14
|
|
|
15
15
|
```sh
|
|
16
|
-
npm install --global @functional-systems/lambdadb-cli
|
|
16
|
+
npm install --global @functional-systems/lambdadb-cli
|
|
17
17
|
lambdadb --version
|
|
18
18
|
lambdadb --help
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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
|
|
24
26
|
[VALIDATION.md](VALIDATION.md) for verification results and remaining limitations.
|
|
25
27
|
|
|
26
28
|
### Build from source
|
package/RELEASING.md
CHANGED
|
@@ -2,33 +2,37 @@
|
|
|
2
2
|
|
|
3
3
|
## Current status
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
The
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
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.
|
|
32
36
|
|
|
33
37
|
## Branch and version policy
|
|
34
38
|
|
package/VALIDATION.md
CHANGED
|
@@ -1,8 +1,76 @@
|
|
|
1
1
|
# Validation record
|
|
2
2
|
|
|
3
|
-
|
|
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
|
+
## Stable 0.1.0 publication
|
|
7
|
+
|
|
8
|
+
On 2026-09-19, [GitHub Release v0.1.0](https://github.com/lambdadb/lambdadb-cli/releases/tag/v0.1.0)
|
|
9
|
+
and its annotated tag identified main commit
|
|
10
|
+
`c8d389f3264d641ae6eafc7737fedd5ea046ddf1`. Its tree exactly matches the reviewed
|
|
11
|
+
candidate `658ea7ccdce535bbd4f2e29ae06813e2f2e716e2` from PR #5, including the
|
|
12
|
+
runtime verified by the installed-candidate development smoke below. That smoke
|
|
13
|
+
was not repeated because release contents were unchanged.
|
|
14
|
+
|
|
15
|
+
The [release-event workflow](https://github.com/lambdadb/lambdadb-cli/actions/runs/35421226854)
|
|
16
|
+
passed on attempt 1. Node 22/24 validation and exact-tarball contracts passed;
|
|
17
|
+
Trusted Publishing published `0.1.0` on `latest` at 04:27:06 UTC. Version/tag
|
|
18
|
+
metadata and attestation metadata propagated separately. Verification retried
|
|
19
|
+
reads only; no second publication or workflow rerun was needed.
|
|
20
|
+
|
|
21
|
+
A clean, unqualified npm install with an isolated cache resolved to `0.1.0` and
|
|
22
|
+
passed version/help plus all 35 CLI contract tests. The downloaded tarball digest,
|
|
23
|
+
installed lockfile integrity and provenance subject matched. The decoded SLSA
|
|
24
|
+
provenance identified this repository, `.github/workflows/publish.yaml`,
|
|
25
|
+
`refs/tags/v0.1.0`, release commit `c8d389f` and workflow attempt 1.
|
|
26
|
+
`npm audit signatures` reported no invalid or missing signatures.
|
|
27
|
+
At verification, `latest=0.1.0` and `dev=0.1.0-dev.5`; the stable release replaced
|
|
28
|
+
the initial bootstrap latest tag without changing the dev channel.
|
|
29
|
+
|
|
30
|
+
The subsequent main-to-develop synchronization sets `0.1.1-dev.1` as the next
|
|
31
|
+
base. Its local clean install, lint, types, version checks, 59 source tests and
|
|
32
|
+
35 installed-package contracts passed. This maintenance change updates versions
|
|
33
|
+
and documentation only; CLI runtime, dependencies, tests and workflows match
|
|
34
|
+
`v0.1.0`. Its PR validation does not itself publish a new dev version.
|
|
35
|
+
|
|
36
|
+
## Stable 0.1.0 candidate
|
|
37
|
+
|
|
38
|
+
Prepared `release/0.1.0` from reviewed develop commit
|
|
39
|
+
`c8947e96308283ac593e712716f0732121bb1958`. Relative to that commit, only package
|
|
40
|
+
versions and release documents change. Runtime source, dependencies, tests,
|
|
41
|
+
examples and workflows are unchanged. This records the pre-publication candidate.
|
|
42
|
+
|
|
43
|
+
On Node.js 24.15.0 / npm 11.12.1, a new worktree passed `npm ci`, lint, type
|
|
44
|
+
checking, all 59 source tests, and 35 installed-package contract tests.
|
|
45
|
+
`RELEASE_TAG=v0.1.0 RELEASE_PRERELEASE=false npm run check:version -- --release`
|
|
46
|
+
passed and selected `latest`. CI results for the final commit belong to the
|
|
47
|
+
promotion PR; local success is not a substitute for those required checks.
|
|
48
|
+
|
|
49
|
+
A newly packed `0.1.0` tarball was installed into an isolated temporary consumer.
|
|
50
|
+
Its executable reported `0.1.0` and was selected with `LAMBDADB_TEST_CLI` while
|
|
51
|
+
running `node --test --test-reporter=tap test/live/cli.test.mjs`. The launcher used
|
|
52
|
+
the maintainer's existing opt-in development settings and the in-memory variable
|
|
53
|
+
mapping described below; it did not change or copy `.env.local` into the worktree.
|
|
54
|
+
Target: `bench-recall` at
|
|
55
|
+
`https://internal-dev-aws-apne2-v3-c05a2b5d492a.lambdadb.ai`.
|
|
56
|
+
|
|
57
|
+
- Doctor and temporary collection creation passed within the first second.
|
|
58
|
+
- Two ordinary documents with 3 MiB payloads each and one bulk document were
|
|
59
|
+
accepted at approximately 3 seconds. Acceptance did not imply search visibility.
|
|
60
|
+
- Query and ID fetch on `branch:main` returned all three documents with exact
|
|
61
|
+
contents at approximately 69 seconds, without a pending-write overlay.
|
|
62
|
+
- The live test passed in 69.6 seconds. Cleanup was accepted, then an independent
|
|
63
|
+
SDK get returned `ResourceNotFoundError` for
|
|
64
|
+
`cli-smoke-b854ef72-1448-42ae-8c9a-ce5c0441f104`, confirming its absence.
|
|
65
|
+
- The source `.env.local` was byte-for-byte unchanged, and the temporary consumer
|
|
66
|
+
and tarball were removed. No key or signed URL is recorded here.
|
|
67
|
+
|
|
68
|
+
Only documentation was updated after this live run; the final package is checked
|
|
69
|
+
again with the installed-package contracts. This is development-service evidence
|
|
70
|
+
for a bounded sample, not a latency/readiness guarantee or live tag/alias coverage.
|
|
71
|
+
The stable npm artifact and release-event workflow were not verified at candidate
|
|
72
|
+
preparation time; the subsequent publication evidence is recorded above.
|
|
73
|
+
|
|
6
74
|
## Public bootstrap and OIDC publication
|
|
7
75
|
|
|
8
76
|
On 2026-09-18, the maintainer authorized the public bootstrap
|
|
@@ -36,7 +104,8 @@ At this verification, `dev=0.1.0-dev.4` and `latest=0.1.0-dev.1`. Bootstrap had
|
|
|
36
104
|
created both tags despite `--tag dev`; a removal attempt for `latest` returned
|
|
37
105
|
HTTP 400. The automated dev publication left `latest` unchanged. This observation
|
|
38
106
|
does not establish a general version-count rule for npm. Bootstrap and OIDC setup
|
|
39
|
-
|
|
107
|
+
were complete at that stage; main promotion and stable publication followed as
|
|
108
|
+
recorded above.
|
|
40
109
|
|
|
41
110
|
## Publication verification hardening
|
|
42
111
|
|
|
@@ -57,11 +126,18 @@ A read-only probe used the actual npm CLI and new bounded-read flags to verify
|
|
|
57
126
|
the existing `0.1.0-dev.4` manifest/tag. Only its preflight and accepted write were
|
|
58
127
|
simulated; the probe performed no registry mutation.
|
|
59
128
|
|
|
60
|
-
The
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
129
|
+
The [ordinary develop merge workflow](https://github.com/lambdadb/lambdadb-cli/actions/runs/35344153978)
|
|
130
|
+
published `0.1.0-dev.5` from `c8947e96308283ac593e712716f0732121bb1958`
|
|
131
|
+
on attempt 1. Node 22/24 validation and exact-artifact tests passed. Publication
|
|
132
|
+
succeeded at 12:22:09 UTC; registry verification completed at 12:25:10 UTC with
|
|
133
|
+
`result=published`. The approximately 181-second propagation delay required only
|
|
134
|
+
read retries, with no manual rerun or repeated publication.
|
|
135
|
+
|
|
136
|
+
A fresh npm `@dev` install with an isolated cache passed all 35 CLI contract tests,
|
|
137
|
+
version/help, tarball/lockfile integrity checks and npm signature verification.
|
|
138
|
+
Provenance identified the expected repository, develop ref, workflow, source
|
|
139
|
+
commit and attempt 1. `dev=0.1.0-dev.5`; `latest` remained `0.1.0-dev.1`.
|
|
140
|
+
These registry checks are separate from the development-service smoke below.
|
|
65
141
|
|
|
66
142
|
## Initial local automation validation (before publication)
|
|
67
143
|
|
|
@@ -253,9 +329,6 @@ deployment state of an individual LambdaDB endpoint.
|
|
|
253
329
|
receipt. Those capabilities are not implemented.
|
|
254
330
|
- No Windows-specific permission or signal validation. POSIX modes and injected
|
|
255
331
|
SIGINT/SIGTERM were checked on macOS; CI targets Linux.
|
|
256
|
-
- No main promotion, explicit rc/stable publication or GitHub Release workflow
|
|
257
|
-
execution. Public bootstrap and automatic dev/OIDC publication are verified
|
|
258
|
-
above; the new five-minute verification behavior awaits its first develop merge.
|
|
259
332
|
- Mock large-response tests cover SDK routing/credential separation at 1 MiB;
|
|
260
333
|
the live sample verifies combined content above 6 MiB. Neither is an exhaustive
|
|
261
334
|
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.
|
|
3
|
+
"version": "0.1.1-dev.6",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Project-scoped LambdaDB command-line tools",
|
|
6
6
|
"type": "module",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"url": "https://github.com/lambdadb/lambdadb-cli/issues"
|
|
54
54
|
},
|
|
55
55
|
"license": "Apache-2.0",
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "397fbfbe6977fbd4fbb3977eca73887a4899d564"
|
|
57
57
|
}
|