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

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
@@ -4,6 +4,33 @@
4
4
 
5
5
  ### Added
6
6
 
7
+ - Persistent one-to-one Git branch / Collection Branch mapping, branch-local
8
+ incremental updates, and branch-selected search, resolve, and read against the
9
+ last published commit Tag.
10
+ - Remote pending import ownership and resumable in-place branch updates, including
11
+ shared commit Tags across branches and non-fast-forward Git branch changes.
12
+ - `test:live:branches` for repeatable synthetic live acceptance with retained
13
+ checkpoint, retry, and resource evidence.
14
+
15
+ ### Changed
16
+
17
+ - Git branch imports update their fixed `git-*` writer; SHA/tag imports retain
18
+ manual workspaces. Existing publications and pending manual journals remain
19
+ usable. See README for migration and artifact behavior.
20
+ - Ambiguous indexed branch/Git tag names require explicit `refs/heads/...` or
21
+ `refs/tags/...` selectors.
22
+
23
+ ### Fixed
24
+
25
+ - Pin branch control before enumerating versions so a concurrent publication
26
+ cannot advance the selector beyond the version list being read.
27
+ - Reject live checkpoint reuse across different code/harness inputs and preserve
28
+ the original validation revision and completion time on same-input reruns.
29
+
30
+ ## [0.1.0-dev.1] - 2026-09-25
31
+
32
+ ### Added
33
+
7
34
  - Git commit imports, syntax-aware chunks, immutable LambdaDB versions, lexical
8
35
  search, exact source reads, and Git tag aliases.
9
36
  - Node 22/24 CI, package installation checks, version/channel validation, and
@@ -17,4 +44,6 @@
17
44
  - Pending imports resume without the previous local build artifact.
18
45
  - Search/read `--version` selects the corpus instead of printing the CLI version.
19
46
 
20
- No npm release has been published yet.
47
+ Initial npm bootstrap published to the `dev` channel from commit
48
+ `f94f947bf593b2f8498c07e130933b0ab444f868`. This local bootstrap has no
49
+ GitHub Actions provenance. No stable release has been published.
package/DESIGN.md CHANGED
@@ -72,9 +72,10 @@ This document is not a deployed-revision audit or evidence of a passing live run
72
72
 
73
73
  The initial command set below is implemented; run it as `node dist/cli.js` from
74
74
  this checkout after `npm run build`. See README for exact options and recovery.
75
- The first implementation uses fresh `work-*` Branches and observed-local-tag Alias
76
- synchronization; persistent tracked branches and authoritative pruning remain
77
- follow-up work. Immutable manifest `requestedRef` is normalized to the resolved
75
+ Git branch imports now reuse persistent `git-*` Branches; explicit commit/tag
76
+ imports use frozen `work-*` writers. Observed-local-tag Alias synchronization is
77
+ implemented; automatic Git observation and authoritative pruning remain follow-up
78
+ work. Immutable manifest `requestedRef` is normalized to the resolved
78
79
  commit OID; the
79
80
  original user spelling remains in the local build artifact. The broader contract
80
81
  below remains the target design.
@@ -477,7 +478,8 @@ fields are omitted when absent; records of different kinds need not share them.
477
478
  | Corpus root (`kind=manifest`, `role=corpus`, ID `__manifest__`) | `repoId`, `indexId`, full `commitOid`, `commitTime`, `requestedRef`, full `config`, `inventoryHash`, `recordsHash`, `counts`, `buildId`, `attemptId`, `inventoryPartIds` |
478
479
  | Inventory part (`kind=manifest`, `role=inventory`) | `partOrdinal`, `partHash`, ordered `entries` with path, file/chunk IDs, blob/content identities, inclusion/exclusion reasons, parse states, sizes, and embedding coverage |
479
480
  | Repository control (`kind=manifest`, `role=repository`, main ID `__repo__`) | Full source identity, repo/index IDs, immutable preset/config, initialization state |
480
- | Ref control (`kind=manifest`, `role=git-ref`, main) | Full Git ref name, encoded Alias/Branch name, observed commit/time, applied version and synchronization state |
481
+ | Git tag control (`kind=manifest`, `role=git-ref`, main) | Full Git tag ref, encoded Alias name, observed commit, applied version and synchronization state |
482
+ | Git branch control (`kind=manifest`, `role=git-branch`, main) | Full Git branch ref, encoded Branch name, validated writer baseline, canonical published Tag and pending attempt identity |
481
483
  | Validation summary (`kind=manifest`, `role=validation`, main) | Candidate name/Snapshot, build/config/attempt identity, verifier version and checked counts/hashes; no premature claim of publication |
482
484
 
483
485
  `startByte`/`endByte` are half-open; display lines are one-based/inclusive.
@@ -814,10 +816,16 @@ they do not authorize the next commit on that workspace.
814
816
  attempt identity and verifier version. Use an ID derived from the full commit
815
817
  OID and candidate Snapshot ID so attempts cannot overwrite another Snapshot's
816
818
  evidence. Confirm its readback before publication.
817
- 5. Create the deterministic published Tag **from the validated candidate Tag**,
818
- not from the mutable Branch. Verify both Tags have the same Snapshot ID and
819
- matching manifest. Publication changes naming, not corpus content.
820
- 6. Update optional branch-progress/control records and return the published version.
819
+ 5. For a first publication, create the deterministic published Tag **from the
820
+ validated candidate Tag**, not from the mutable Branch. Verify both Tags have
821
+ the same Snapshot ID and matching manifest. If the commit is already published,
822
+ validate and reuse its canonical Tag; retain this writer's validated candidate
823
+ separately when its Snapshot ID differs. Publication never overwrites a commit
824
+ Tag with another writer's snapshot.
825
+ 6. For a tracked Git branch, update its control record with the validated writer
826
+ snapshot and published commit Tag, clear pending ownership, and return the
827
+ published version. Branch selectors keep using the preceding published Tag
828
+ until this control update succeeds.
821
829
  A delayed bookkeeping write does not erase an already published immutable Tag.
822
830
 
823
831
  An empty Snapshot or incomplete candidate never becomes published. A stale Tag
@@ -827,6 +835,33 @@ avoid repeatedly validating known stale Snapshot IDs. A payload/build defect
827
835
  requires explicit same-build recovery, not endless polling. Publication must
828
836
  finish before the same code Branch starts a later commit.
829
837
 
838
+ ### Persistent Git branch state
839
+
840
+ Each full `refs/heads/...` name maps to one `git-<ref-digest>` writer and one
841
+ `branch-<full-ref-digest>` control document on main (`role=git-branch`). The control
842
+ record holds the last applied immutable baseline, canonical published Tag name,
843
+ and pending attempt/build/commit identity. Record pending ownership before branch
844
+ creation or corpus writes. A missing local journal cannot authorize a second
845
+ import over pending remote state, even if the committed head still matches the
846
+ old baseline. Only the same journal may resume; automatic abandoned-attempt
847
+ recovery remains unimplemented.
848
+
849
+ Compare the writer head with the recorded baseline snapshot before the next
850
+ import, then reconcile old IDs and hashes through its immutable Tag. This works
851
+ without the prior local artifact and supports a branch moving backward or across
852
+ history. Every target commit still comes from one full committed Git tree.
853
+
854
+ An already published commit does not skip updating a different tracked branch.
855
+ Validate that branch's own candidate, reuse the existing canonical commit Tag,
856
+ and retain the candidate as the writer's exact baseline when the snapshot IDs
857
+ differ. Never overwrite the canonical commit publication with another writer's
858
+ snapshot. This also applies when a branch returns to a previously indexed commit.
859
+
860
+ Branch search/resolve/read selects the last published Tag from the control record,
861
+ including while the next import is pending. This promises the last indexed state,
862
+ not the current Git tip. A first pending import has no searchable branch version.
863
+ An ambiguous tracked branch/Git tag short name requires an explicit heads/tags ref.
864
+
830
865
  ### `versions` reads LambdaDB
831
866
 
832
867
  1. Resolve the repository Collection through remote metadata.
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
@@ -85,6 +96,25 @@ It saves connection settings under `.srcx/live/config.json` and keeps its state
85
96
  separate under `.srcx/live/state`. Rerunning resumes the saved synthetic run and
86
97
  refuses to reuse it against a different destination.
87
98
 
99
+ For persistent Git branch acceptance, run `npm run test:live:branches`. It uses a
100
+ separate synthetic Collection and `.srcx/live-branches/` state/report, covering
101
+ in-place A/B updates, last-published reads during a pending update, shared commit
102
+ Tags across two branches, rewinds, no-op imports, and SHA-only manual imports.
103
+ From an isolated worktree, load the original checkout's env file explicitly:
104
+
105
+ ```sh
106
+ npm run build
107
+ node --env-file=/absolute/path/to/srcx/.env.local scripts/live-branches.mjs
108
+ ```
109
+
110
+ The branch harness retains resources and resumes saved checkpoints on rerun.
111
+ It preserves the original source revision and completion time. Checkpoints from
112
+ different runtime code, harness, fixture, lockfile, or Node version are rejected
113
+ before connecting or overwriting evidence. To validate changed code, select a new
114
+ `SRCX_LIVE_BRANCHES_DIR` (for example `.srcx/live-branches-next`); retain the old
115
+ run and any pending journal. Its per-import deadline defaults to 300 seconds and accepts
116
+ `SRCX_LIVE_TIMEOUT_MS` up to 600000. Do not delete pending journals to start over.
117
+
88
118
  ## Connected workflow
89
119
 
90
120
  These commands create and write LambdaDB resources. Select an approved project
@@ -104,6 +134,11 @@ node dist/cli.js repo show --repo <name>
104
134
  # Import the exact artifact reviewed in the credential-free preview.
105
135
  node dist/cli.js import --repo <name> --artifact /tmp/srcx-build-a
106
136
  node dist/cli.js versions --repo <name>
137
+
138
+ # Keep a Git branch connected to its Collection Branch.
139
+ node dist/cli.js import --repo <name> --ref develop
140
+ node dist/cli.js search --repo <name> --version develop --query retry
141
+ node dist/cli.js resolve --repo <name> --ref refs/heads/develop
107
142
  node dist/cli.js search --repo <name> --version <full-commit-A> --query retry
108
143
  node dist/cli.js read --result <result-id> --context 20
109
144
  node dist/cli.js read --result <result-id> --full-file
@@ -141,10 +176,28 @@ are one-based and inclusive.
141
176
  ## Publication and recovery
142
177
 
143
178
  The control Branch `main` holds descriptors/version summaries. `checkpoint-empty`
144
- is forked before any control write. Each import uses a new `work-*` Branch,
145
- optionally forked from the last locally retained, remotely validated writer
146
- baseline. Writers are frozen after publication. A fresh local state can start a
147
- full import from `checkpoint-empty`; source data is never forked from a Tag.
179
+ is forked before any control write. Importing a Git branch creates or updates its
180
+ stable `git-*` Collection Branch, derived from the full `refs/heads/...` name.
181
+ Git `main` also uses a `git-*` Branch; Collection `main` remains control-only.
182
+ Each later import reconciles against that branch's last validated snapshot,
183
+ including deletions and non-fast-forward changes. Branches sharing a commit share
184
+ one canonical `ver-*` Tag while retaining their own writer snapshots.
185
+
186
+ `search/read --version develop` and `resolve --ref develop` select the branch's
187
+ last successfully published commit Tag. During an import or after a failed update,
188
+ they keep serving the previous published commit; the first import is unavailable
189
+ until publication. This is the last indexed state, not a live Git HEAD lookup.
190
+ Nothing polls or fetches Git automatically: run import again to advance the branch.
191
+ If an indexed branch and synchronized Git tag share a short name, use
192
+ `refs/heads/<name>` or `refs/tags/<name>` explicitly. Known Git names take precedence
193
+ over commit prefixes.
194
+
195
+ A commit SHA or Git tag import does not infer a containing branch. An unpublished
196
+ commit uses a fresh `work-*` Branch, optionally forked from a validated previous
197
+ manual writer; an already published commit reuses its Tag. Manual writers remain
198
+ frozen. Source data is never forked from a Tag. A clean tracked branch can be
199
+ updated from fresh local state using its remote baseline. Local build reuse is
200
+ cached separately for each Git branch and for manual imports.
148
201
 
149
202
  The importer deletes obsolete IDs, upserts changed records and inventory parts in
150
203
  bounded sequential requests, then sends `__manifest__` **alone** after every prior
@@ -156,7 +209,10 @@ an early/stale snapshot even after the marker is observed.
156
209
 
157
210
  A per-Collection local lock and durable `pending.json` journal prevent another
158
211
  commit from overwriting a partial attempt. Only one importing host is supported.
159
- After a timeout or unknown write result, retain the artifacts and journal:
212
+ A tracked branch also records pending import ownership in control `main` before
213
+ writing code. If the local journal is lost, new local state refuses to overwrite
214
+ that pending branch even when its committed head has not advanced yet. After a
215
+ timeout or unknown write result, retain the artifacts and journal:
160
216
 
161
217
  ```sh
162
218
  node dist/cli.js import --repo <name> --artifact /path/from/pending.json \
@@ -184,8 +240,17 @@ For search and resolve, a synchronized Git tag name takes precedence over a comm
184
240
  prefix, matching Git import's tag-before-OID rule. A pending tag fails explicitly
185
241
  instead of falling back to a matching commit prefix. Use `refs/tags/<name>` to
186
242
  select a Git tag explicitly.
187
- Explicit authoritative pruning and persistent tracked-branch synchronization are
188
- follow-up work; no full history import is required.
243
+ Automatic Git observation, authoritative pruning, branch rename/deletion handling,
244
+ and garbage collection remain follow-up work; no full history import is required.
245
+
246
+ Existing commit Tags and frozen `work-*` Branches remain valid. The next import
247
+ using a Git branch name establishes its fixed mapping, even if that commit was
248
+ already published. A pending journal from the previous implementation resumes on
249
+ its original `work-*` writer; import the branch again after recovery to establish
250
+ tracking. `--artifact` uses the Git branch recorded when the artifact was built,
251
+ with its pinned commit; it does not reread the branch's current tip. The publication
252
+ JSON continues to describe the canonical commit Tag: its `writer` can be the
253
+ original publishing branch when multiple Git branches share that commit.
189
254
 
190
255
  ## State and implementation map
191
256
 
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,129 @@ 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
+ The initial implementation 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. The persistent Git branch changes have a separate synthetic
13
+ live run recorded next; the earlier live runs do not validate this new path.
14
+
15
+ ## Persistent Git branch tracking
16
+
17
+ Local regression coverage exercises one writer across consecutive commits,
18
+ branch-local deletion/diff baselines, separate branches sharing canonical Tags,
19
+ rewinds to already published commits, and imports from fresh local state. Fault
20
+ injection verifies last-published branch resolution during partial writes, pending
21
+ ownership protection when the local journal is missing, stale/corrupt candidate
22
+ rejection, and retries after uncertain control writes. Branch/tag ambiguity and
23
+ explicit full refs are covered.
24
+
25
+ The CLI fixture also imports and updates a tracked branch through the real SDK
26
+ transport and selects it for search, resolve, and read. The same fixture runs
27
+ against the installed tarball. These checks use a loopback fault-injection model,
28
+ not a live LambdaDB deployment.
29
+
30
+ A separate **live LambdaDB run passed all 12 checkpoints** on September 25 using
31
+ Node **24.15.0**, application source commit
32
+ `f42a9141cef3bfc0b604e1b14a00c79607c7dd98`, and the original checkout's `.env.local`
33
+ loaded explicitly through Node. The run took **414.195 seconds** and uploaded only
34
+ synthetic Git source with no paid embeddings. It verified:
35
+
36
+ - First-import timeout remains unpublished, followed by same-journal recovery.
37
+ - A -> B uses one fixed Collection Branch; pending B still resolves/searches A,
38
+ and a fresh local state cannot overwrite that pending branch.
39
+ - Added/modified/deleted code searches correctly after B; old A evidence still
40
+ reads the exact original source bytes.
41
+ - A second Git branch shares canonical A/B Tags while maintaining its own writer
42
+ baseline, including B -> A -> B movement and an unchanged repeated import.
43
+ - A SHA-only new commit uses a manual `work-*` writer.
44
+
45
+ A separate invocation of the actual CLI against that live Collection passed
46
+ branch `resolve`, branch-selected `search`, and a full-file `read` compared byte
47
+ for byte with the pinned Git blob. It used the built CLI, not a registry-installed
48
+ package. Local installed-package evidence remains separate above.
49
+
50
+ The reproducible harness is `scripts/live-branches.mjs` (`npm run
51
+ test:live:branches`). Its ignored evidence is `.srcx/live-branches/report.json`
52
+ and `.srcx/live-branches/cli-report.json` in the validation worktree. The report
53
+ records the exact source commit, harness SHA-256, per-check results, and resource
54
+ URL. One synthetic Collection is retained with two tracked writers, one manual
55
+ writer, the two control/checkpoint Branches, three canonical commit Tags, and seven
56
+ candidate Tags. No application fix was needed during this live run.
57
+
58
+ On Node **22.14.0** and **24.15.0**, typechecking, all **43 tests**, and installed
59
+ package checks passed. Formatting, release-version validation, and `git diff
60
+ --check` also passed locally. These results are not GitHub CI evidence.
61
+
62
+ ## Final branch review validation
63
+
64
+ The final pre-PR review reproduced a read-order race: a concurrent publication
65
+ could advance branch control beyond the version list already captured by the
66
+ reader. Resolution now pins the control record first. The review also found that
67
+ live reruns could skip saved checkpoints while replacing the reported source
68
+ revision; checkpoints now require matching runtime, harness, fixture, lockfile,
69
+ and Node fingerprints and preserve their original revision/completion time.
70
+ Regression tests cover both cases, including rejecting stale evidence before any
71
+ connection or report mutation.
72
+
73
+ After these fixes, Node **22.14.0** and **24.15.0** each passed typechecking,
74
+ all **45 tests**, and installed-package checks. Formatting, release-version
75
+ validation, and diff checks passed locally.
76
+
77
+ A fresh synthetic live run at application/harness commit
78
+ `2988c7e1826a44cfed48381681d0125b28ae9086` passed all **12 checkpoints** in
79
+ **432.836 seconds**. The built CLI also passed live branch resolution,
80
+ search, and exact source reads. Final reports are retained separately under
81
+ `.srcx/live-branches-review/report.json` and
82
+ `.srcx/live-branches-review/cli-report.json`; the previous run remains intact.
83
+ This final run retained one synthetic Collection with two tracked writers, one
84
+ manual writer, two control/checkpoint Branches, three canonical commit Tags,
85
+ and seven candidate Tags. CI evidence, once available on the PR, is separate
86
+ from these local and live results.
87
+
88
+ ## Initial npm package and live self-index
89
+
90
+ The exact `0.1.0-dev.1` tarball from merged commit
91
+ `f94f947bf593b2f8498c07e130933b0ab444f868` passed clean installation, CLI execution,
92
+ WASM parsing, and the loopback import/search/read contract. Its installed CLI then
93
+ imported that same Git commit into LambdaDB: **37 files, 260 chunks**, with
94
+ inventory, content, and query validation passing. A `validateBuild` query returned
95
+ three results from `src/build.ts`; the full-file read matched the pinned Git blob
96
+ byte for byte. This was a lexical-only import (`embedding=none`).
97
+
98
+ The first npm publication used this tested tarball with the `dev` dist-tag. The
99
+ registry tarball's SHA-512 matched the candidate, and a clean installation of the
100
+ downloaded registry tarball passed the same CLI contract. Registry signatures are
101
+ present. The local bootstrap has no GitHub Actions provenance. npm also created
102
+ `latest=0.1.0-dev.1`; that tag does not represent a stable release.
103
+
104
+ Local evidence is retained under `.srcx/releases/0.1.0-dev.1-f94f947/` (ignored),
105
+ including `candidate.json`, `live-publication.json`, `live-verification.json`,
106
+ `registry-version.json`, and the exact candidate and downloaded tarballs.
107
+ The source commit's [Node 22/24 CI](https://github.com/lambdadb/srcx/actions/runs/36035063463)
108
+ also passed. Current distribution and automation status is in
109
+ [RELEASING.md](RELEASING.md).
110
+
111
+ ## First automatic development publication
112
+
113
+ [CI attempt 3](https://github.com/lambdadb/srcx/actions/runs/36035063463/attempts/3)
114
+ published `0.1.0-dev.3` using npm Trusted Publishing from the same reviewed commit.
115
+ The version suffix is the first-parent commit count. The registry's `gitHead`
116
+ and SLSA provenance both identify `f94f947bf593b2f8498c07e130933b0ab444f868`;
117
+ provenance also identifies `lambdadb/srcx`, `.github/workflows/publish.yaml`, and
118
+ the GitHub-hosted workflow run. The downloaded tarball's SHA-512 matches registry
119
+ metadata. A clean install by package name/version passed CLI execution and the
120
+ loopback import/search/read contract. `npm audit signatures` verified all eight
121
+ installed registry signatures and three attestations, including srcx provenance.
122
+ `dev=0.1.0-dev.3`; `latest=0.1.0-dev.1` remains the bootstrap prerelease.
123
+
124
+ The initial automatic attempt stopped during the pre-write metadata lookup while
125
+ npm's full package listing still returned 404. After the listing became visible,
126
+ only the failed publishing job was rerun. No publication write was retried to
127
+ work around propagation. Local evidence is retained in `registry-dev3.json`,
128
+ `attestations-dev3.json`, and `provenance-dev3.json` under the release directory
129
+ above. No stable release, GitHub Release, or Homebrew formula was created.
13
130
 
14
131
  ## Local checks
15
132
 
@@ -76,11 +193,9 @@ The test suite covers:
76
193
  reruns. Simulated registry delays/failures verify bounded post-write reads and
77
194
  no automatic publication retry; no test writes to npm.
78
195
 
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.
196
+ Release infrastructure is in `.github/workflows/publish.yaml` for Node 22/24.
197
+ The local checks above are distinct from the CI, npm, and live-service evidence
198
+ recorded separately. No stable/rc or Homebrew release has been performed.
84
199
 
85
200
  The demo writes [.srcx/demo-report.json](.srcx/demo-report.json). That generated
86
201
  report identifies the retained synthetic repository, A/B build artifacts, counts,
@@ -94,12 +209,14 @@ interface verifies eligibility/cache behavior only; production provider selectio
94
209
  semantic/hybrid querying, pricing, and evaluation remain open. Public imports
95
210
  reject a vector-enabled build to prevent fixture vectors from reaching LambdaDB.
96
211
 
97
- Each import gets a fresh `work-*` Branch, with incremental reuse only from an exact
98
- validated previous writer snapshot. Existing writers are not mutated after
99
- publication. Persistent `git-*` tracking, automatic failed-workspace recovery,
100
- Alias pruning, and garbage collection are not yet implemented. Failed/candidate
212
+ Git branch imports reuse a fixed `git-*` Branch with its last validated immutable
213
+ baseline; SHA/tag-only imports retain frozen `work-*` writers. Automatic Git
214
+ observation, failed-workspace recovery, branch rename/deletion handling, Alias
215
+ pruning, and garbage collection are not yet implemented. Failed/candidate
101
216
  resources and build artifacts are retained. A single importing host is required;
102
- the local lock is not a distributed lease.
217
+ the local lock is not a distributed lease. Remote pending ownership prevents
218
+ accidental adoption from fresh local state but is not a distributed compare-and-set
219
+ or lease protocol.
103
220
 
104
221
  Parsing uses the pinned packaged grammars. Unsupported/new syntax can fall back
105
222
  and is recorded; no claim of complete language-version coverage is made. There is
package/dist/build.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { type Identity } from "./git.js";
1
+ import { resolveCommit, type Identity } from "./git.js";
2
2
  import { CHUNKER } from "./chunk.js";
3
3
  import { type Doc } from "./common.js";
4
4
  export declare const INDEX_CONFIGS: {
@@ -84,6 +84,7 @@ export declare function loadBuild(directory: string): Promise<Build>;
84
84
  export declare function materialize(args: {
85
85
  identity: Identity;
86
86
  ref: string;
87
+ resolvedCommit?: Awaited<ReturnType<typeof resolveCommit>>;
87
88
  output: string;
88
89
  previous?: Build;
89
90
  preset?: Preset;
package/dist/build.js CHANGED
@@ -62,7 +62,7 @@ export async function materialize(args) {
62
62
  invariant(!preset.embedding ||
63
63
  (args.embedder?.model === preset.embedding.model &&
64
64
  args.embedder.dimensions === preset.embedding.dimensions), "Embedding provider must match the pinned preset.");
65
- const commit = await resolveCommit(args.identity.path, args.ref);
65
+ const commit = args.resolvedCommit ?? (await resolveCommit(args.identity.path, args.ref));
66
66
  const directory = resolve(args.output);
67
67
  await mkdir(directory, { recursive: false, mode: 0o700 });
68
68
  const output = await open(join(directory, "records.jsonl"), "wx", 0o600);
package/dist/build.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"build.js","sourceRoot":"","sources":["../src/build.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,C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