Skip to content

docs: point install at the published package, and make the hero command actually run - #10

Merged
dkitchell merged 1 commit into
mainfrom
docs/published-install
Sep 15, 2026
Merged

dkitchell merged 1 commit into
mainfrom
docs/published-install

Conversation

@dkitchell

Copy link
Copy Markdown
Contributor

0.1.0 is on npm, so the docs no longer need the pre-publish workaround.

The hero command failed when followed literally

npm install -g @certifieddata/verify
certifieddata-verify ce_01HXYZ123abc... --dataset path/to/data.csv

ce_01HXYZ123abc... is not a certificate. Anyone following the README literally — the stated bar for this repo — hit a failure on the first command they ran, after a global install to get there.

Now it leads with the zero-install path and two real production artifacts, both confirmed against the published package before being written down:

npx --package @certifieddata/verify cd-verify d6da041f-a70c-4945-93b7-dff1e42a00d0 --type certificate
# ✓ VALID  signed by ed25519-prod-2025-02  (Certified Data LLC)

npx --package @certifieddata/verify cd-verify 2492a060-8fbc-40ae-beab-7258aefb0608 --type receipt
# ✓ VALID  settlement succeeded_live

Five github: install instructions replaced

RECEIPT-VERIFICATION.md (×5) and the README's receipt example still pointed at github:certifieddata/verify. That form works but clones and builds instead of fetching 35 kB from the registry, and it is not what anyone pastes into a terminal on a call.

The Windows trap was still in the global-install line

#7 fixed this for the npx form but not for npm install -g. verify is a cmd.exe built-in that shadows the bin and fails silently with exit 1 — which is exactly how this looked when I first ran the published package. The install section now shows cd-verify with that warning called out.

Verified: both documented commands were executed against the published 0.1.0 package, from a clean directory, before this PR was written.

🤖 Generated with Claude Code

…he hero command actually run

0.1.0 is on npm now, so the docs no longer need the pre-publish workaround.

Every install instruction pointed at `github:certifieddata/verify` — five in
RECEIPT-VERIFICATION.md and the receipt example in the README. That form still
works, but it clones and builds rather than fetching 35 kB from the registry,
and it is not the command anyone would paste into a terminal on a call.

The bigger problem was the hero. It read:

  npm install -g @certifieddata/verify
  certifieddata-verify ce_01HXYZ123abc... --dataset path/to/data.csv

`ce_01HXYZ123abc...` is not a certificate. Anyone following the README
literally — which is the stated bar for this repo — got a failure on the first
command they ran, after installing globally to get there.

The hero now leads with the zero-install path and two REAL production
artifacts, both confirmed working against the published package before being
written down:

  npx --package @certifieddata/verify cd-verify d6da041f-… --type certificate
  → VALID, signed by ed25519-prod-2025-02

  npx --package @certifieddata/verify cd-verify 2492a060-… --type receipt
  → VALID, settlement succeeded_live

Global install is kept, demoted below it, and now shows `cd-verify` with an
explicit Windows warning: `verify` is a cmd.exe built-in that shadows the bin
and fails silently with exit 1. That is the same trap #7 fixed for the npx
form, and the global-install line still had it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@dkitchell
dkitchell merged commit c0c6b4c into main Sep 15, 2026
6 checks passed
@dkitchell
dkitchell deleted the docs/published-install branch September 15, 2026 01:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant