Add package.json (declare prose deps) - #15
Merged
Merged
Conversation
spell/grammar (an-array-of-english-words, write-good) were require()d via createRequire but never declared, so a standalone clone needed a manual install. Declaring them makes npm install sufficient. cas/anchored-chain stay undeclared (unpublished, lazy-loaded only under STORE=cas). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This was referenced Jun 23, 2026
bdelanghe
added a commit
that referenced
this pull request
Jun 23, 2026
…, fix daemon gating (unbreak main CI) (#17) * fix(store): load cas backends on CasStore construction, not STORE env #13 gated the cas/anchored-chain dynamic import on `STORE === "cas"`, but the store daemon (store-daemon.mjs) builds a CasStore with no STORE set. ESM evaluates store.mjs's top-level gate before the daemon body runs, so the daemon can't flip the env either — the cas/anchored-chain bindings stayed undefined and the daemon crashed: "generateEd25519Keypair is not a function" (store.mjs:55). This is what turned main's CI red on the socket-store step. Load the backends when a CasStore is actually constructed, via a new async `makeCasStore(dir)` factory that both makeStore (STORE=cas) and the daemon go through. The default FsStore / SocketStore-client paths never touch it, so the "offline, free" run still needs no @bounded-systems packages installed (verified by running the default audit with cas/anchored-chain moved aside). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * Reconcile #15: restore v0.3.1 identity + CAS backends as optional deps #15 ("declare prose deps") rewrote package.json and, beyond declaring the prose deps, also reset version 0.3.0 -> 0.0.1, added private:true, and dropped the cas/anchored-chain deps + scripts/license. The version reset tripped release.yml into cutting a stray "Latest" v0.0.1 release, and removing the deps left the socket-store CI step unable to resolve @bounded-systems/cas (main CI red). Restore the 0.3.x package identity (version 0.3.1, description, bin, scripts, license; drop private:true) and bring cas/anchored-chain back as OPTIONAL deps: - default `node audit.mjs` (FsStore) + the prose path stay JSR-free — #15's intent; - the CAS/socket store backings install on demand. package-lock.json regenerated in sync (root 0.3.1, optional entries with resolved+integrity; anchored-chain 0.2.1 -> 0.2.2 within ^0.2.1). ci.yml: `npm ci --omit=optional` proves the JSR-free core, then a dedicated step installs the optional CAS backends before the socket-store test — so npm.jsr.io flakiness can only affect that one step, not the default pipeline. On merge, release.yml sees version 0.3.1 and cuts v0.3.1 (Thread 1). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
bdelanghe
added a commit
that referenced
this pull request
Jun 23, 2026
Bump 0.3.1 → 0.4.0 for the verbspec surfaces merged since v0.3.1: audit + extract authored once as VerbSpecs → CLI + MCP (string-audit-mcp bin), Anthropic report tool single-sourced from a VerbSpec (#18, #19); cas/anchored-chain made optional (#13, #15, #17). The release workflow auto-tags v0.4.0 on merge.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
spell/grammar deps (
an-array-of-english-words,write-good) wererequire()d viacreateRequirebut never declared — a standalone clone failed with MODULE_NOT_FOUND until manually installed. Declaring them makesnpm installsufficient.@bounded-systems/cas/anchored-chainintentionally stay undeclared (unpublished; lazy-loaded only under STORE=cas).🤖 Generated with Claude Code