Scaffold the auditable CLI package - #1
Conversation
Review: technicalFirst review in this repo, single commit Verified
1. Claim the npm name before someone else does
2. Small
SummaryThe scaffold does what its title says: the published artifact is six readable files with no dependencies, no scripts, no network behavior, and CI that proves the tarball contains exactly those files and runs offline on both platforms. Finding 1 is outside the diff but time-sensitive. Nothing in the diff to fix. |
Lesson: what this PR actually didA new repo, a new language, and eighty lines of actual program. The interesting content is everything wrapped around those eighty lines. The one-sentence versionThis creates the Why the program is deliberately boringThe CLI right now handles The word doing the work in the PR title is "auditable." For a tool that users will run against their own projects with their own credentials someday, the promise is: anyone can read the entire published artifact in one sitting. Here that is enforced three ways:
One more line worth knowing about, in Small choices that carry the house styleIf you've been reading the parent-repo lessons, three familiar habits show up here in JavaScript clothing: Errors don't echo input. Run Fail loudly at startup. Pin what executes. The GitHub Actions are referenced by full commit SHA (with a human-readable version comment), so a compromised action tag can't silently change CI. The dev toolchain is locked ( Design for tests. The whole CLI is one function: There's even a tiny lesson in the shell: The one thing the PR can't testThe package is named |
|
Follow-up on the npm-name suggestion: I researched the current registry path and am deliberately not publishing the help-only The plan is to claim Sources: package-name policy, trusted-publisher prerequisites, initial-publish issue, and provenance guidance. |
Create a source-executed ESM command shell for the unscoped firstdraft package with deterministic help, version, exit status, and non-echoing usage errors. Keep the runtime dependency-free and free of installation hooks, telemetry, update checks, or implicit network access. Allowlist and inspect the exact tarball, then install and execute it offline as part of the checks. Pin development and release work to Node 24 while proving the Node 22.0 runtime floor on Linux and Windows. Scope test discovery to the repository test tree and use the working npm shell shim on the affected Windows floor runtime.
3491e19 to
749a90e
Compare
Finding closed: npm-name plan is better than the suggestionThe research in the follow-up settles it, and I'm withdrawing the placeholder-publish recommendation: a functionless Also verified the |
Summary
Boundary
This intentionally adds no Foundation Plan, API, authentication, or release behavior. Those arrive as separate reviewed increments.
Verification
npm run checkon Node 24.18.0