@functional-systems/srcx 0.1.0-dev.3 → 0.1.0-dev.4

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
@@ -1,6 +1,6 @@
1
1
  # Changelog
2
2
 
3
- ## Unreleased
3
+ ## [0.1.0-dev.1] - 2026-09-25
4
4
 
5
5
  ### Added
6
6
 
@@ -17,4 +17,6 @@
17
17
  - Pending imports resume without the previous local build artifact.
18
18
  - Search/read `--version` selects the corpus instead of printing the CLI version.
19
19
 
20
- No npm release has been published yet.
20
+ Initial npm bootstrap published to the `dev` channel from commit
21
+ `f94f947bf593b2f8498c07e130933b0ab444f868`. This local bootstrap has no
22
+ GitHub Actions provenance. No stable release has been published.
package/README.md CHANGED
@@ -4,10 +4,21 @@ Version-aware code search on LambdaDB. Import a committed Git tree, search its
4
4
  chunks, and read exact source pinned to a validated immutable version.
5
5
 
6
6
  This is an experimental development CLI. Local fixture, fault-injection, SDK transport,
7
- and opt-in live acceptance checks are available. The npm package is prepared for
8
- publication but remains unpublished. See [VALIDATION.md](VALIDATION.md) for the latest observed results and
7
+ and opt-in live acceptance checks are available. Development builds are available
8
+ on npm under `@functional-systems/srcx@dev`. See [VALIDATION.md](VALIDATION.md) for the latest observed results and
9
9
  remaining scope, and [DESIGN.md](DESIGN.md) for the full design.
10
10
 
11
+ ## Install a development build
12
+
13
+ Requires Node.js 22.14+ and Git. These are experimental prereleases; there is no
14
+ stable release yet. Select the `dev` channel explicitly:
15
+
16
+ ```sh
17
+ npm install -g @functional-systems/srcx@dev
18
+ srcx --version
19
+ srcx --help
20
+ ```
21
+
11
22
  ## Run locally
12
23
 
13
24
  Requires Node.js 22.14+ and Git. The initial preset uses lexical search with
@@ -27,11 +38,11 @@ artifacts. It does not contact LambdaDB. The model's lexical matching is a test
27
38
  convenience, not a Lucene implementation or a relevance benchmark.
28
39
 
29
40
  All commands return JSON, except help and errors. Use `node dist/cli.js` in this
30
- checkout; `srcx` is the configured executable name for future distribution.
41
+ checkout, or `srcx` after installing the npm package.
31
42
 
32
43
  For development branches, CI, and installed-package checks, see
33
44
  [CONTRIBUTING.md](CONTRIBUTING.md). Version channels, first-publication steps, and
34
- the initially disabled npm automation are documented in [RELEASING.md](RELEASING.md).
45
+ npm automation are documented in [RELEASING.md](RELEASING.md).
35
46
  The project is licensed under [Apache-2.0](LICENSE).
36
47
 
37
48
  ## Preview a committed version without credentials
package/RELEASING.md CHANGED
@@ -2,12 +2,19 @@
2
2
 
3
3
  ## Current state
4
4
 
5
- The source is prepared as `@functional-systems/srcx@0.1.0-dev.1` under Apache-2.0.
6
- It has not been published to npm. `private: false` permits a reviewed first
7
- publication; it does not establish registry availability or distribution readiness.
8
- `NPM_DEV_PUBLISH_ENABLED` is initially `false`. No stable/rc release or Homebrew
9
- formula has been published. Local/live application evidence is in
10
- [VALIDATION.md](VALIDATION.md); it is separate from package publication evidence.
5
+ The initial `@functional-systems/srcx@0.1.0-dev.1` package was published publicly
6
+ from reviewed commit `f94f947bf593b2f8498c07e130933b0ab444f868`. Its exact tarball
7
+ passed clean-install and live LambdaDB checks. The local bootstrap has no GitHub
8
+ Actions provenance. npm created both `dev` and `latest` at that prerelease; select
9
+ `@dev` explicitly. No stable/rc release or Homebrew formula has been published.
10
+
11
+ The package-specific Trusted Publisher is configured for `lambdadb/srcx` and
12
+ `publish.yaml`, with direct publication allowed. `NPM_DEV_PUBLISH_ENABLED=true`.
13
+ The first successful [OIDC publication](https://github.com/lambdadb/srcx/actions/runs/36035063463/attempts/3)
14
+ produced `0.1.0-dev.3` from the same commit and moved `dev` to that version.
15
+ Provenance identifies this repository, workflow, commit, and run. The current
16
+ `latest` remains the bootstrap prerelease `0.1.0-dev.1`; it is not a stable release.
17
+ See [VALIDATION.md](VALIDATION.md) for registry and consumer verification.
11
18
 
12
19
  This workflow follows [LambdaDB CLI](https://github.com/lambdadb/lambdadb-cli/blob/develop/RELEASING.md).
13
20
  The repository keeps Prettier plus strict TypeScript checks as its existing lint
@@ -26,7 +33,8 @@ version entries in `package-lock.json` together, for example using
26
33
  `npm version VERSION --no-git-tag-version`. CLI `--version` reads package metadata.
27
34
  For explicit releases, add a dated `## [VERSION] - YYYY-MM-DD` changelog section.
28
35
  The GitHub tag must match the version, and the prerelease flag must match its channel.
29
- `latest`, not the tip of `main`, identifies the stable npm release.
36
+ After the first stable release, `latest` identifies the stable npm release;
37
+ the bootstrap exception is recorded above.
30
38
 
31
39
  The checked-in development base starts at `0.1.0-dev.1`. During an eligible push,
32
40
  `scripts/dev-release.mjs` replaces `N` with the full history's first-parent commit
@@ -64,7 +72,8 @@ Do not republish, overwrite versions, or move release tags to work around lag.
64
72
 
65
73
  ## First publication and Trusted Publisher setup
66
74
 
67
- Complete these steps from a reviewed, validated commit after this setup PR merges:
75
+ The initial bootstrap is complete. The procedure below documents first-time setup
76
+ and the checks required before declaring automatic publication operational:
68
77
 
69
78
  1. Verify npm ownership for the `functional-systems` scope and the package name.
70
79
  GitHub organization membership does not establish npm permissions.
package/VALIDATION.md CHANGED
@@ -4,12 +4,55 @@ Date: 2026-09-25 (Asia/Seoul).
4
4
 
5
5
  ## Evidence boundary
6
6
 
7
- This implementation has passed local fixtures/fault injection/SDK transport checks
8
- and a live synthetic A/B acceptance run against the user-supplied LambdaDB
9
- connection. Only generated test source was uploaded. No production repository
10
- source or paid embeddings were used, and no Git repository/npm package was
11
- published. Live evidence below is limited to this small fixture; it is not a
12
- throughput, general concurrency, or retrieval-quality benchmark.
7
+ This implementation has passed local fixtures/fault injection/SDK transport checks,
8
+ a live synthetic A/B acceptance run, and an exact-package self-index of the public
9
+ srcx repository against the user-supplied LambdaDB connection. No private source
10
+ or paid embeddings were used. These checks are not a throughput, general
11
+ concurrency, or retrieval-quality benchmark. npm publication evidence is recorded
12
+ separately below.
13
+
14
+ ## Initial npm package and live self-index
15
+
16
+ The exact `0.1.0-dev.1` tarball from merged commit
17
+ `f94f947bf593b2f8498c07e130933b0ab444f868` passed clean installation, CLI execution,
18
+ WASM parsing, and the loopback import/search/read contract. Its installed CLI then
19
+ imported that same Git commit into LambdaDB: **37 files, 260 chunks**, with
20
+ inventory, content, and query validation passing. A `validateBuild` query returned
21
+ three results from `src/build.ts`; the full-file read matched the pinned Git blob
22
+ byte for byte. This was a lexical-only import (`embedding=none`).
23
+
24
+ The first npm publication used this tested tarball with the `dev` dist-tag. The
25
+ registry tarball's SHA-512 matched the candidate, and a clean installation of the
26
+ downloaded registry tarball passed the same CLI contract. Registry signatures are
27
+ present. The local bootstrap has no GitHub Actions provenance. npm also created
28
+ `latest=0.1.0-dev.1`; that tag does not represent a stable release.
29
+
30
+ Local evidence is retained under `.srcx/releases/0.1.0-dev.1-f94f947/` (ignored),
31
+ including `candidate.json`, `live-publication.json`, `live-verification.json`,
32
+ `registry-version.json`, and the exact candidate and downloaded tarballs.
33
+ The source commit's [Node 22/24 CI](https://github.com/lambdadb/srcx/actions/runs/36035063463)
34
+ also passed. Current distribution and automation status is in
35
+ [RELEASING.md](RELEASING.md).
36
+
37
+ ## First automatic development publication
38
+
39
+ [CI attempt 3](https://github.com/lambdadb/srcx/actions/runs/36035063463/attempts/3)
40
+ published `0.1.0-dev.3` using npm Trusted Publishing from the same reviewed commit.
41
+ The version suffix is the first-parent commit count. The registry's `gitHead`
42
+ and SLSA provenance both identify `f94f947bf593b2f8498c07e130933b0ab444f868`;
43
+ provenance also identifies `lambdadb/srcx`, `.github/workflows/publish.yaml`, and
44
+ the GitHub-hosted workflow run. The downloaded tarball's SHA-512 matches registry
45
+ metadata. A clean install by package name/version passed CLI execution and the
46
+ loopback import/search/read contract. `npm audit signatures` verified all eight
47
+ installed registry signatures and three attestations, including srcx provenance.
48
+ `dev=0.1.0-dev.3`; `latest=0.1.0-dev.1` remains the bootstrap prerelease.
49
+
50
+ The initial automatic attempt stopped during the pre-write metadata lookup while
51
+ npm's full package listing still returned 404. After the listing became visible,
52
+ only the failed publishing job was rerun. No publication write was retried to
53
+ work around propagation. Local evidence is retained in `registry-dev3.json`,
54
+ `attestations-dev3.json`, and `provenance-dev3.json` under the release directory
55
+ above. No stable release, GitHub Release, or Homebrew formula was created.
13
56
 
14
57
  ## Local checks
15
58
 
@@ -76,11 +119,9 @@ The test suite covers:
76
119
  reruns. Simulated registry delays/failures verify bounded post-write reads and
77
120
  no automatic publication retry; no test writes to npm.
78
121
 
79
- Release infrastructure is prepared in `.github/workflows/publish.yaml` for Node
80
- 22/24. Local validation does not establish GitHub Actions or npm publication
81
- success. Initial npm registration, package-specific Trusted Publisher setup, and
82
- enabling `NPM_DEV_PUBLISH_ENABLED` remain separate release steps. See
83
- [RELEASING.md](RELEASING.md); no npm or Homebrew release was performed in this setup.
122
+ Release infrastructure is in `.github/workflows/publish.yaml` for Node 22/24.
123
+ The local checks above are distinct from the CI, npm, and live-service evidence
124
+ recorded separately. No stable/rc or Homebrew release has been performed.
84
125
 
85
126
  The demo writes [.srcx/demo-report.json](.srcx/demo-report.json). That generated
86
127
  report identifies the retained synthetic repository, A/B build artifacts, counts,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@functional-systems/srcx",
3
- "version": "0.1.0-dev.3",
3
+ "version": "0.1.0-dev.4",
4
4
  "private": false,
5
5
  "description": "Version-aware code search on LambdaDB",
6
6
  "type": "module",
@@ -55,5 +55,5 @@
55
55
  "url": "https://github.com/lambdadb/srcx/issues"
56
56
  },
57
57
  "license": "Apache-2.0",
58
- "gitHead": "f94f947bf593b2f8498c07e130933b0ab444f868"
58
+ "gitHead": "9612cf3c342dbcf898b0ed8ca1526c0c3a04648f"
59
59
  }