@functional-systems/lambdadb-cli 0.1.3 → 0.1.4-dev.17
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 +6 -2
- package/CONTRIBUTING.md +95 -10
- package/DESIGN.md +3 -2
- package/README.md +9 -7
- package/RELEASING.md +17 -161
- package/package.json +3 -3
- package/VALIDATION.md +0 -964
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
### Maintenance
|
|
6
|
+
|
|
7
|
+
- Synchronize the 0.1.3 release history and start the 0.1.4 development line.
|
|
8
|
+
- Prepare the Homebrew formula for verified stable 0.1.3 and record publication evidence.
|
|
9
|
+
|
|
5
10
|
## [0.1.3] - 2026-10-06
|
|
6
11
|
|
|
7
12
|
### Added
|
|
@@ -143,6 +148,5 @@ Published publicly on npm's `dev` channel on 2026-09-18 as the manual bootstrap.
|
|
|
143
148
|
The initial OIDC build `0.1.0-dev.4` followed from the same reviewed develop
|
|
144
149
|
commit; generated dev versions do not create separate source changelog entries.
|
|
145
150
|
Automatic dev publication is enabled. The observed `latest` tag remains at the
|
|
146
|
-
bootstrap until a reviewed stable release replaces it.
|
|
147
|
-
installation and development-project smoke evidence are recorded in VALIDATION.md.
|
|
151
|
+
bootstrap until a reviewed stable release replaces it.
|
|
148
152
|
Main promotion is required only for rc/stable.
|
package/CONTRIBUTING.md
CHANGED
|
@@ -66,16 +66,12 @@ 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.
|
|
70
|
-
|
|
71
|
-
|
|
69
|
+
base. Do not merge stable package metadata into develop without setting its next
|
|
70
|
+
dev base, because automatic development publication requires an `X.Y.Z-dev.N`
|
|
71
|
+
version.
|
|
72
72
|
|
|
73
73
|
The first npm bootstrap, rc/stable tags and GitHub Releases remain explicit
|
|
74
|
-
release actions. Subsequent dev publication is automatic once enabled.
|
|
75
|
-
Bootstrap `0.1.0-dev.1` and the first OIDC development publication `0.1.0-dev.4`
|
|
76
|
-
were verified on 2026-09-18; automatic dev publication is enabled. Publication,
|
|
77
|
-
provenance and development-project smoke evidence are recorded in
|
|
78
|
-
[VALIDATION.md](VALIDATION.md). Follow
|
|
74
|
+
release actions. Subsequent dev publication is automatic once enabled. Follow
|
|
79
75
|
[RELEASING.md](RELEASING.md) for package preparation, version/channel rules,
|
|
80
76
|
credentialed live evidence, initial npm bootstrap and Trusted Publishing.
|
|
81
77
|
Local tests and PR validation alone never trigger publication.
|
|
@@ -89,8 +85,8 @@ review requirements.
|
|
|
89
85
|
Never commit project keys, `.env` files or signed URLs. Runtime tests use loopback
|
|
90
86
|
servers with synthetic credentials. Live tests require an explicitly designated
|
|
91
87
|
development project and credential set; local or CI success is not proof of
|
|
92
|
-
live-service readiness. See [README.md](README.md) and
|
|
93
|
-
[
|
|
88
|
+
live-service readiness. See [README.md](README.md) for public behavior and the
|
|
89
|
+
[validation scope](#validation-scope) below for evidence boundaries.
|
|
94
90
|
|
|
95
91
|
## Compatibility and maintenance
|
|
96
92
|
|
|
@@ -104,3 +100,92 @@ Review dependency updates through the same PR checks, including the actual SDK
|
|
|
104
100
|
contract and installed-package tests. Keep workflow actions pinned to commit
|
|
105
101
|
SHAs and document version updates in their comments. Do not copy another
|
|
106
102
|
repository's runtime matrix or release tooling without checking this CLI's needs.
|
|
103
|
+
|
|
104
|
+
## Validation scope
|
|
105
|
+
|
|
106
|
+
- `npm test` builds the CLI and executes unit, subprocess and release-tooling
|
|
107
|
+
contracts. Loopback HTTP servers exercise the installed SDK without contacting
|
|
108
|
+
LambdaDB: input and target precedence, query and Collection mapping, signed
|
|
109
|
+
transfers, pagination, complete results, credential redaction and exit codes.
|
|
110
|
+
Failure cases cover bounded inputs, timeouts, cancellation, partial and unknown
|
|
111
|
+
writes, and the absence of mutation retries.
|
|
112
|
+
- `npm run test:package` packs the candidate, checks its inventory and executable,
|
|
113
|
+
installs it into a temporary consumer and repeats the CLI contracts against
|
|
114
|
+
that artifact. To check an existing candidate, use
|
|
115
|
+
`npm run test:package -- /path/to/package.tgz`. Building test sources alone is
|
|
116
|
+
not evidence that tests executed.
|
|
117
|
+
- [Homebrew validation](packaging/homebrew/README.md#local-and-ci-verification)
|
|
118
|
+
checks the stable formula's installation and released CLI contracts on macOS
|
|
119
|
+
and Linux. A new installation does not establish an existing-user upgrade;
|
|
120
|
+
verify upgrades separately as part of the tap handoff.
|
|
121
|
+
- Local tests and PR CI do not establish backend deployment provenance, live
|
|
122
|
+
search quality, production performance, billing readiness, exactly-once writes
|
|
123
|
+
or durable resume. Check the deployed backend revision separately when a
|
|
124
|
+
feature requires server support. The CI matrix does not validate Windows
|
|
125
|
+
permissions or signals.
|
|
126
|
+
- Input byte/document limits bound accepted input, not process memory. Large
|
|
127
|
+
mock responses and a bounded live sample are not exhaustive memory or storage
|
|
128
|
+
policy tests. A successful live sample applies only to its designated target,
|
|
129
|
+
revision, refs and inputs.
|
|
130
|
+
|
|
131
|
+
## Live validation
|
|
132
|
+
|
|
133
|
+
Provision a disposable development project/key outside this tool, with Collection
|
|
134
|
+
create/update/delete, ordinary and bulk write, and query/fetch access.
|
|
135
|
+
Supply the key through secure shell input or a secret manager, never in history.
|
|
136
|
+
|
|
137
|
+
```sh
|
|
138
|
+
export LAMBDADB_ENDPOINT=https://YOUR_DEV_API_ORIGIN
|
|
139
|
+
export LAMBDADB_PROJECT=YOUR_DEV_PROJECT
|
|
140
|
+
# Inject LAMBDADB_API_KEY securely; no .env file is loaded automatically.
|
|
141
|
+
export LAMBDADB_RUN_LIVE_TESTS=1
|
|
142
|
+
export LAMBDADB_LIVE_CONFIRM_PROJECT="$LAMBDADB_PROJECT"
|
|
143
|
+
npm run test:live
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
The test fails before API calls when required settings are absent. It creates a
|
|
147
|
+
random temporary collection, imports two 3 MiB documents plus a bulk document,
|
|
148
|
+
accepts and verifies metadata for all 49 fixed analyzer presets, checks exact
|
|
149
|
+
facet-only and document+facet buckets, and checks committed query/fetch contents
|
|
150
|
+
with a maximum 300-second observation window per stage. It also checks managed
|
|
151
|
+
reranking with default criteria, null and custom criteria, including
|
|
152
|
+
final/retrieval scores and status metadata.
|
|
153
|
+
It creates two additional temporary Collections for native embedding-only and
|
|
154
|
+
legacy true inputs. It exercises actual CLI create/update, normalized metadata,
|
|
155
|
+
document/query embedding generation, ordinary retrieval,
|
|
156
|
+
Bayesian candidate budgets, default/explicit rerank budgets, null rerank and
|
|
157
|
+
server-side rejection of invalid Bayesian requests. All three Collections are
|
|
158
|
+
cleaned up with subsequent HTTP 404 verification.
|
|
159
|
+
|
|
160
|
+
Request timeouts and polling sleeps are capped to the remaining budget, and
|
|
161
|
+
responses at or after the deadline cannot pass. Process termination
|
|
162
|
+
and event-loop scheduling may delay reporting. It reports elapsed time and
|
|
163
|
+
matched-document counts; a timeout is a failed smoke, not proof that accepted
|
|
164
|
+
writes were rejected or lost.
|
|
165
|
+
|
|
166
|
+
Collection cleanup uses the SDK because deletion is outside the public CLI MVP.
|
|
167
|
+
Only the test's own Collections are eligible for cleanup. An interrupted process
|
|
168
|
+
or failed cleanup may leave those Collections; inspect them manually.
|
|
169
|
+
|
|
170
|
+
This sample does not prove global index readiness, ranking quality, every ref's
|
|
171
|
+
live behavior, or exactly-once writes. A large result alone does not prove the
|
|
172
|
+
service selected docsUrl; mock tests explicitly exercise that transport path.
|
|
173
|
+
Use existing known development tag/alias refs for additional live ref evidence.
|
|
174
|
+
|
|
175
|
+
## Recording verification results
|
|
176
|
+
|
|
177
|
+
Keep repeatable procedures and supported behavior in repository documentation.
|
|
178
|
+
Put each change's exact commands, outcomes, source/artifact revision, CI links,
|
|
179
|
+
live target and cleanup result, and material unperformed checks in its PR.
|
|
180
|
+
For publication, include the verified version, integrity and provenance summary
|
|
181
|
+
in the release PR or GitHub Release. User-facing changes and compatibility notes
|
|
182
|
+
belong in the changelog and release notes.
|
|
183
|
+
|
|
184
|
+
Retain sanitized evidence needed for long-term review as release assets or in
|
|
185
|
+
an approved durable location; CI logs and artifacts have retention limits, and
|
|
186
|
+
local temporary paths are not durable references. Never include credentials or
|
|
187
|
+
signed URLs. Historical repository records remain available through Git history.
|
|
188
|
+
|
|
189
|
+
Do not append per-run logs, release-status snapshots or successful test counts to
|
|
190
|
+
maintainer guides. A completed verification does not require another documentation
|
|
191
|
+
PR. Update these guides when procedures, requirements or supported behavior change.
|
package/DESIGN.md
CHANGED
|
@@ -56,8 +56,9 @@ preserves `facets` while removing the consumed signed URL. Facet field names joi
|
|
|
56
56
|
other user-defined maps in credential redaction, including collision preservation;
|
|
57
57
|
fixed facet result/bucket keys retain their SDK schema even for short credentials.
|
|
58
58
|
Loopback subprocess tests cover serialization and output through the published SDK,
|
|
59
|
-
and the installed-tarball suite repeats these contracts. Live
|
|
60
|
-
|
|
59
|
+
and the installed-tarball suite repeats these contracts. Live validation is
|
|
60
|
+
separate; follow the [contributor procedure](CONTRIBUTING.md#live-validation)
|
|
61
|
+
and record results in the relevant PR.
|
|
61
62
|
|
|
62
63
|
## SDK 0.7.0 contract update (2026-10-04)
|
|
63
64
|
|
package/README.md
CHANGED
|
@@ -19,11 +19,11 @@ lambdadb --help
|
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
For reproducible CI runs, pin an exact published version such as
|
|
22
|
-
`@functional-systems/lambdadb-cli@0.1.
|
|
22
|
+
`@functional-systems/lambdadb-cli@0.1.3`. To try development builds, explicitly use
|
|
23
23
|
`@functional-systems/lambdadb-cli@dev`; this moving channel contains prereleases.
|
|
24
24
|
Installed CLIs do not update themselves. See
|
|
25
|
-
[
|
|
26
|
-
[
|
|
25
|
+
[GitHub Releases](https://github.com/lambdadb/lambdadb-cli/releases) and
|
|
26
|
+
[CHANGELOG.md](CHANGELOG.md) for published changes and compatibility notes.
|
|
27
27
|
|
|
28
28
|
### Homebrew
|
|
29
29
|
|
|
@@ -447,7 +447,8 @@ Tests execute the real CLI and installed SDK against loopback HTTP servers. They
|
|
|
447
447
|
cover the complete first-use flow, ref forwarding, signed transfers, pagination,
|
|
448
448
|
partial and unknown writes, validation, output, credentials and exit codes.
|
|
449
449
|
They do not contact a LambdaDB service. See [DESIGN.md](DESIGN.md) for contract
|
|
450
|
-
|
|
450
|
+
decisions and [CONTRIBUTING.md](CONTRIBUTING.md#validation-scope) for validation
|
|
451
|
+
methods and their limits.
|
|
451
452
|
|
|
452
453
|
This MVP intentionally omits Branch/Tag/Alias management: default `main` supports
|
|
453
454
|
first use, while reads can select existing refs. It also omits Console management,
|
|
@@ -457,9 +458,10 @@ plugins and publication. There are no changes to the SDK or reference repositori
|
|
|
457
458
|
Live verification requires an explicitly designated development project, endpoint
|
|
458
459
|
and project key. Do not discover or borrow credentials from another repository.
|
|
459
460
|
Use `npm run test:live` with the explicit opt-in settings in
|
|
460
|
-
[
|
|
461
|
-
|
|
462
|
-
the SDK to
|
|
461
|
+
[CONTRIBUTING.md](CONTRIBUTING.md#live-validation). It exercises ordinary/bulk
|
|
462
|
+
import, query/fetch, native embeddings and Bayesian reranking in temporary
|
|
463
|
+
Collections, then uses the SDK to delete them and verify their absence. The normal
|
|
464
|
+
test suite and CI never run it.
|
|
463
465
|
|
|
464
466
|
## License
|
|
465
467
|
|
package/RELEASING.md
CHANGED
|
@@ -1,103 +1,9 @@
|
|
|
1
1
|
# Releasing LambdaDB CLI
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
It pins SDK 0.8.0 and adds Bayesian JSON queries, native embedding configuration
|
|
8
|
-
and Collection index updates. Existing search defaults and error/output contracts
|
|
9
|
-
are preserved. See [candidate validation](VALIDATION.md#cli-013-release-preparation-2026-10-06).
|
|
10
|
-
This is release preparation; stable npm and the public Homebrew tap remain at
|
|
11
|
-
0.1.2. Merge the release PR with a merge commit to preserve develop ancestry.
|
|
12
|
-
Tag creation, GitHub Release publication and npm latest promotion require the
|
|
13
|
-
explicit authorization described below.
|
|
14
|
-
|
|
15
|
-
### Latest published stable release
|
|
16
|
-
|
|
17
|
-
CLI 0.1.2 was published on 2026-10-04 from merged main commit
|
|
18
|
-
`6628fe0ed1f405c88fbd91d591e5223d3250dd73` through
|
|
19
|
-
[GitHub Release v0.1.2](https://github.com/lambdadb/lambdadb-cli/releases/tag/v0.1.2)
|
|
20
|
-
and the [successful OIDC workflow](https://github.com/lambdadb/lambdadb-cli/actions/runs/37191188846).
|
|
21
|
-
It pins SDK 0.7.0 and includes 49 fixed analyzer presets, optional per-query
|
|
22
|
-
managed reranking and credential-safe fixed rerank metadata.
|
|
23
|
-
|
|
24
|
-
At stable publication, independent registry verification confirmed latest=0.1.2
|
|
25
|
-
and dev=0.1.2-dev.12.
|
|
26
|
-
The published tarball is byte-identical to the reviewed, live-tested candidate.
|
|
27
|
-
A clean registry consumer passed all 46 CLI contracts, version/help, SDK version,
|
|
28
|
-
integrity, four registry signatures and three attestations. Decoded provenance
|
|
29
|
-
identifies the release commit, tag and workflow. See
|
|
30
|
-
[publication evidence](VALIDATION.md#cli-012-publication-2026-10-04).
|
|
31
|
-
|
|
32
|
-
[PR #16](https://github.com/lambdadb/lambdadb-cli/pull/16) synchronized main into
|
|
33
|
-
develop with the 0.1.3-dev.1 base. Its successful automatic publication produced
|
|
34
|
-
0.1.3-dev.13; an independent registry consumer passed all 46 CLI contracts,
|
|
35
|
-
integrity, signature and provenance checks. At verification, dev=0.1.3-dev.13
|
|
36
|
-
and latest=0.1.2.
|
|
37
|
-
|
|
38
|
-
[Homebrew PR #6](https://github.com/lambdadb/homebrew-tap/pull/6) merged the matching
|
|
39
|
-
0.1.2 formula. Public-tap installation passed on macOS arm64 and Linux x86_64.
|
|
40
|
-
A separate disposable-tap macOS arm64 upgrade from 0.1.1 to 0.1.2 also passed;
|
|
41
|
-
existing-user public-tap upgrades and Linux upgrades were not tested. See
|
|
42
|
-
[post-release evidence](VALIDATION.md#cli-012-post-release-verification-2026-10-04).
|
|
43
|
-
Publication and bounded development smoke do not establish production deployment,
|
|
44
|
-
search quality, load/failure coverage or billing readiness.
|
|
45
|
-
|
|
46
|
-
## CLI 0.1.1 publication
|
|
47
|
-
|
|
48
|
-
CLI 0.1.1 was published on 2026-09-29 through
|
|
49
|
-
[GitHub Release v0.1.1](https://github.com/lambdadb/lambdadb-cli/releases/tag/v0.1.1)
|
|
50
|
-
and the [OIDC release workflow](https://github.com/lambdadb/lambdadb-cli/actions/runs/36557578359).
|
|
51
|
-
Tag/main commit `80a4c10628ad2ad4ebf8d90a01924d27dcb4a790` has the same tree as
|
|
52
|
-
reviewed candidate `0291970`. The workflow passed on attempt 1, including Node
|
|
53
|
-
22/24 validation and tests of the exact publication tarball.
|
|
54
|
-
|
|
55
|
-
Registry reads confirmed `latest=0.1.1`, while `dev=0.1.1-dev.10` remained unchanged.
|
|
56
|
-
A clean unqualified npm installation selected CLI 0.1.1 and SDK 0.6.0, passed all
|
|
57
|
-
40 CLI contracts and verified registry signatures and attestations. The published
|
|
58
|
-
tarball is byte-identical to the tested final candidate; provenance identifies the
|
|
59
|
-
release commit, tag and workflow. See [VALIDATION.md](VALIDATION.md#cli-011-publication).
|
|
60
|
-
|
|
61
|
-
The 0.1.1 post-release synchronization started the `0.1.2-dev.1` development base
|
|
62
|
-
and prepared the 0.1.1 Homebrew formula. The public tap matched that formula at
|
|
63
|
-
the pre-release check on 2026-10-04; the completed 0.1.2 handoff is recorded above.
|
|
64
|
-
Facets still require a supporting server and newly built keyword indexes;
|
|
65
|
-
publication does not migrate Collections or upgrade installed CLIs.
|
|
66
|
-
|
|
67
|
-
## Prior publication status
|
|
68
|
-
|
|
69
|
-
The first stable version, `0.1.0`, was published on 2026-09-19 through
|
|
70
|
-
[GitHub Release v0.1.0](https://github.com/lambdadb/lambdadb-cli/releases/tag/v0.1.0)
|
|
71
|
-
and the [OIDC release workflow](https://github.com/lambdadb/lambdadb-cli/actions/runs/35421226854).
|
|
72
|
-
Tag and main release commit `c8d389f` have the same tree as the reviewed and
|
|
73
|
-
live-tested candidate `658ea7c`. The workflow passed on attempt 1, including Node
|
|
74
|
-
22/24 validation and tests of the exact publication tarball.
|
|
75
|
-
|
|
76
|
-
Registry verification confirmed `latest=0.1.0` and `dev=0.1.0-dev.5`. A clean,
|
|
77
|
-
unqualified npm install passed all 35 CLI contracts, version/help, integrity,
|
|
78
|
-
provenance and signature checks. Version/tag and attestation metadata propagated
|
|
79
|
-
separately; verification used read retries without republishing.
|
|
80
|
-
|
|
81
|
-
The post-release synchronization merged main history back into develop with
|
|
82
|
-
`0.1.1-dev.1` as its development base. After the Homebrew documentation merge,
|
|
83
|
-
[develop CI](https://github.com/lambdadb/lambdadb-cli/actions/runs/35434313586)
|
|
84
|
-
published and verified `0.1.1-dev.8` from `225dec3` on 2026-09-19. Registry and
|
|
85
|
-
provenance metadata identify that commit; `latest` remains `0.1.0`. Development
|
|
86
|
-
builds do not require a separate stable release or tag.
|
|
87
|
-
|
|
88
|
-
Bootstrap `0.1.0-dev.1` and the first OIDC development builds were verified on
|
|
89
|
-
2026-09-18. The ordinary develop merge published `0.1.0-dev.5` in
|
|
90
|
-
[one successful attempt](https://github.com/lambdadb/lambdadb-cli/actions/runs/35344153978),
|
|
91
|
-
handling approximately three minutes of registry propagation without another write.
|
|
92
|
-
The bootstrap initially assigned `latest` to `0.1.0-dev.1`, and a removal attempt
|
|
93
|
-
returned HTTP 400. The stable publication replaces that temporary tag state.
|
|
94
|
-
Do not repeat bootstrap or change tags to work around propagation delays.
|
|
95
|
-
|
|
96
|
-
These are dated validation milestones, not a continuously updated version list.
|
|
97
|
-
Check npm for current dist-tags. Apache-2.0 licensing, publication, provenance,
|
|
98
|
-
consumer checks and development-project smoke evidence are recorded in
|
|
99
|
-
[VALIDATION.md](VALIDATION.md). Automatic dev publication is enabled;
|
|
100
|
-
future stable/rc tags and GitHub Releases remain explicit release actions.
|
|
3
|
+
This guide defines release policy and procedures. User-facing changes belong in
|
|
4
|
+
[CHANGELOG.md](CHANGELOG.md) and [GitHub Releases](https://github.com/lambdadb/lambdadb-cli/releases).
|
|
5
|
+
Record execution results in the relevant PR and release, following
|
|
6
|
+
[Recording verification results](CONTRIBUTING.md#recording-verification-results).
|
|
101
7
|
|
|
102
8
|
## Branch and version policy
|
|
103
9
|
|
|
@@ -206,8 +112,8 @@ compatible. Human summaries are not a scripting interface.
|
|
|
206
112
|
|
|
207
113
|
3. Run the live smoke below against an explicitly designated development project.
|
|
208
114
|
Record commit, SDK version, endpoint/project, command, outcome and cleanup
|
|
209
|
-
without keys or signed URLs. Missing credentials are a blocked
|
|
210
|
-
prerequisite, not a skipped success. PR CI deliberately has no service keys.
|
|
115
|
+
in the release PR without keys or signed URLs. Missing credentials are a blocked
|
|
116
|
+
release prerequisite, not a skipped success. PR CI deliberately has no service keys.
|
|
211
117
|
4. For rc/stable releases, promote to main by reviewed PR with required CI
|
|
212
118
|
checks. The first development bootstrap can use reviewed develop directly.
|
|
213
119
|
Re-run checks/live smoke if release contents changed. Record the verified
|
|
@@ -225,7 +131,8 @@ compatible. Human summaries are not a scripting interface.
|
|
|
225
131
|
7. Verify the workflow, npm version/dist-tag, provenance's repository/commit and
|
|
226
132
|
a clean consumer install of the exact version. Test the installed binary's
|
|
227
133
|
version/help and basic JSON behavior. Confirm a dev/rc release did not move
|
|
228
|
-
`latest`.
|
|
134
|
+
`latest`. Add the verification summary and links to the release PR or GitHub
|
|
135
|
+
Release. Synchronize release-only main changes back to develop by PR.
|
|
229
136
|
|
|
230
137
|
Useful read-only checks after publication:
|
|
231
138
|
|
|
@@ -246,8 +153,8 @@ Trusted Publishers are package-specific. The SDK's configuration does not cover
|
|
|
246
153
|
this CLI. npm requires an existing package before configuring its trust policy.
|
|
247
154
|
See the official [npm trust prerequisites](https://docs.npmjs.com/cli/v11/commands/npm-trust/).
|
|
248
155
|
|
|
249
|
-
This
|
|
250
|
-
|
|
156
|
+
This package is already bootstrapped. The steps below document initial setup;
|
|
157
|
+
do not repeat the bootstrap for an existing package or normal dev builds.
|
|
251
158
|
For a new package, first complete the reviewed release preparation and preflight.
|
|
252
159
|
An authorized npm organization owner performs the bootstrap from the verified
|
|
253
160
|
develop commit, using interactive `npm login` and the account's MFA, then
|
|
@@ -289,45 +196,9 @@ this direct-publish workflow. See [npm Trusted Publishing](https://docs.npmjs.co
|
|
|
289
196
|
|
|
290
197
|
## Explicit live smoke
|
|
291
198
|
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
```sh
|
|
297
|
-
export LAMBDADB_ENDPOINT=https://YOUR_DEV_API_ORIGIN
|
|
298
|
-
export LAMBDADB_PROJECT=YOUR_DEV_PROJECT
|
|
299
|
-
# Inject LAMBDADB_API_KEY securely; no .env file is loaded automatically.
|
|
300
|
-
export LAMBDADB_RUN_LIVE_TESTS=1
|
|
301
|
-
export LAMBDADB_LIVE_CONFIRM_PROJECT="$LAMBDADB_PROJECT"
|
|
302
|
-
npm run test:live
|
|
303
|
-
```
|
|
304
|
-
|
|
305
|
-
The test fails before API calls when required settings are absent. It creates a
|
|
306
|
-
random temporary collection, imports two 3 MiB documents plus a bulk document,
|
|
307
|
-
accepts and verifies metadata for all 49 fixed analyzer presets, checks exact
|
|
308
|
-
facet-only and document+facet buckets, and checks committed query/fetch contents
|
|
309
|
-
with a maximum 300-second observation window per stage. It also checks managed reranking with default criteria, null
|
|
310
|
-
and custom criteria, including final/retrieval scores and status metadata.
|
|
311
|
-
The SDK 0.8.0 extension creates two additional temporary Collections for native
|
|
312
|
-
embedding-only and legacy true inputs. It exercises actual CLI create/update,
|
|
313
|
-
normalized metadata, document/query embedding generation, ordinary retrieval,
|
|
314
|
-
Bayesian candidate budgets, default/explicit rerank budgets, null rerank and
|
|
315
|
-
server-side rejection of invalid Bayesian requests. All three Collections are
|
|
316
|
-
cleaned up with subsequent HTTP 404 verification.
|
|
317
|
-
Request timeouts and polling sleeps are capped to the remaining
|
|
318
|
-
budget, and responses at or after the deadline cannot pass. Process termination
|
|
319
|
-
and event-loop scheduling may delay reporting. It reports elapsed time and
|
|
320
|
-
matched-document counts; a timeout is a failed smoke, not proof that accepted
|
|
321
|
-
writes were rejected or lost.
|
|
322
|
-
Collection cleanup uses the SDK because deletion is outside the public CLI MVP.
|
|
323
|
-
The harness verifies deletion with a subsequent HTTP 404.
|
|
324
|
-
Only the test's own collection is eligible for cleanup. An interrupted process
|
|
325
|
-
or failed cleanup may leave that named collection; inspect it manually.
|
|
326
|
-
|
|
327
|
-
This sample does not prove global index readiness, ranking quality, every ref's
|
|
328
|
-
live behavior, or exactly-once writes. A large result alone does not prove the
|
|
329
|
-
service selected docsUrl; mock tests explicitly exercise that transport path.
|
|
330
|
-
Use existing known development tag/alias refs for additional live ref evidence.
|
|
199
|
+
Follow the [live validation procedure](CONTRIBUTING.md#live-validation) and record
|
|
200
|
+
its result in the release PR. It is a release prerequisite; ordinary PR CI has
|
|
201
|
+
no service credentials and cannot establish live readiness.
|
|
331
202
|
|
|
332
203
|
## Homebrew handoff
|
|
333
204
|
|
|
@@ -338,22 +209,7 @@ commit. Development publication does not update Homebrew. After each stable npm
|
|
|
338
209
|
release, follow the [Homebrew maintainer guide](https://github.com/lambdadb/lambdadb-cli/tree/develop/packaging/homebrew#readme) to
|
|
339
210
|
update checksums, pass installation checks and prepare a tap PR. Tap publication
|
|
340
211
|
is separate from this repository's npm workflow; no cross-repository write or
|
|
341
|
-
automatic tap update is configured.
|
|
342
|
-
|
|
343
|
-
(
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
## Design references
|
|
347
|
-
|
|
348
|
-
- LambdaDB TypeScript client `RELEASING.md` and `publish.yaml`: canonical channels,
|
|
349
|
-
separate live evidence, same tested artifact and OIDC. This CLI intentionally
|
|
350
|
-
publishes dev from develop, while rc/stable releases require main history.
|
|
351
|
-
- LambdaDB migration `.goreleaser.yml`/release workflow and `install.sh`: verify
|
|
352
|
-
installed artifacts and explicit versions. Go binaries, GoReleaser and Docker
|
|
353
|
-
distribution are unnecessary for this npm CLI's first release.
|
|
354
|
-
- [Command Line Interface Guidelines](https://clig.dev/): preserve machine output,
|
|
355
|
-
separate diagnostics, avoid interactive CI requirements, protect secrets and
|
|
356
|
-
test cancellation. The CLI contract suite exercises these boundaries.
|
|
357
|
-
|
|
358
|
-
External documentation checked on 2026-09-18. Consult current npm documentation
|
|
359
|
-
when configuring the package; registry requirements can change independently.
|
|
212
|
+
automatic tap update is configured. Record installation and actual upgrade results
|
|
213
|
+
in the tap PR, including tested platforms and any unperformed checks. Query the
|
|
214
|
+
[public tap](https://github.com/lambdadb/homebrew-tap) for its current formula;
|
|
215
|
+
do not maintain a second release-status history here.
|
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.4-dev.17",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Project-scoped LambdaDB command-line tools",
|
|
6
6
|
"type": "module",
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
"src",
|
|
13
13
|
"README.md",
|
|
14
14
|
"DESIGN.md",
|
|
15
|
-
"VALIDATION.md",
|
|
16
15
|
"CONTRIBUTING.md",
|
|
17
16
|
"examples",
|
|
18
17
|
"RELEASING.md",
|
|
@@ -52,5 +51,6 @@
|
|
|
52
51
|
"bugs": {
|
|
53
52
|
"url": "https://github.com/lambdadb/lambdadb-cli/issues"
|
|
54
53
|
},
|
|
55
|
-
"license": "Apache-2.0"
|
|
54
|
+
"license": "Apache-2.0",
|
|
55
|
+
"gitHead": "b2a52489a5893198466850e221a2cc4bcde79bd3"
|
|
56
56
|
}
|