Skip to content

Find code by asking what it does. A CLI for coding agents that uses Jev to discover relevant files and source context.

Wire release checks into the Docker gate and document publishing

David Zhang8a19c8e34b7f
diff --git a/README.md b/README.md
index 1b57dc0..35b0c0c 100644
--- a/README.md
+++ b/README.md
@@ -35,3 +35,10 @@ workflow and accounting rules. Older custom evals are deprecated and stay out of
The canonical [Jevgrep skill](skills/jevgrep/SKILL.md) lives under `skills/` for
agent discovery and installation through the skills CLI. It describes the `jg` search workflow and is embedded in the installed CLI.
+
+## Releases
+
+The npm package is `@dzhng/jevgrep`; its executable is `jg`. The project uses the
+[MIT license](LICENSE). [Release guidance](scripts/RELEASING.md) describes the
+verified tarball and GitHub tag workflow. Publication requires the repository's
+`NPM_TOKEN` secret and a deliberate release tag after the quality gates pass.
diff --git a/scripts/test-suite.sh b/scripts/test-suite.sh
index 48b4772..edc41af 100644
--- a/scripts/test-suite.sh
+++ b/scripts/test-suite.sh
@@ -2,3 +2,4 @@
set -euo pipefail
bun test apps/cli/test packages/core/test test/reference test/gateway.test.ts test/retrieval.test.ts
node --experimental-strip-types --test test/parser/source.test.ts
+node --test test/release.test.mjs
diff --git a/specs/jevgrep/choices.md b/specs/jevgrep/choices.md
index 199d773..900f72d 100644
--- a/specs/jevgrep/choices.md
+++ b/specs/jevgrep/choices.md
@@ -91,3 +91,26 @@ core module cannot yield a stale executable through incomplete cache inputs.
Gap: the spec did not prescribe development build caching. Reach: local builds do
more work; package verification always receives current source. Verdict: sound.
Confidence: high; build caching can be reintroduced with complete input tracking.
+
+### Publish one validated archive and verify it separately after publication
+
+When: release workflow. Match the requested tag to the package version, build and
+validate one tarball, then test, dry-run and publish those same bytes. Fetch that
+exact registry version in a separate job and compare its integrity before testing
+it again. Stable releases use `latest`; prereleases use `next`.
+
+Gap: tag publishing was specified, but artifact identity, prerelease channel and
+post-publication retry layout were delegated. Reach: a failed registry check can
+be retried without trying to republish an immutable version. Verdict: sound.
+Confidence: high. Actual publication still requires a later user-triggered tag.
+
+### Derive dependency notices from the code actually bundled
+
+When: release packaging. Use Bun's emitted-input metadata to collect installed
+license notices. Retain a version-specific upstream license for the SDK package
+whose npm archive omits it; an unknown missing license fails the build. The user
+selected MIT for Jevgrep itself.
+
+Gap: the spec required licenses but left collection mechanics open. Reach: a
+new dependency can require a verified notice update, while ordinary builds need
+no network license lookup. Verdict: sound. Confidence: high.