Conversation
PR #719 Multi-Agent Review: "Add npm publishing and update documentation"Repository: kosli-dev/cli | Author: jbrejner | Status: DRAFT
Branch: The Review PanelFour agents with distinct personas reviewed this PR independently, then their findings were synthesized. Here's who was on the panel:
Unanimous Verdict: DO NOT MERGE (yet)All four agents independently reached the same conclusion: the PR has a sound architectural foundation (the esbuild-style per-platform binary distribution pattern is well-chosen) but has several blocking issues that would result in a non-functional npm package if published today. This aligns with the PR's own DRAFT status and the author's listed TODOs. The Big Three: Issues Every Agent FlaggedThese three issues were independently identified by all four reviewers, making them the highest-confidence findings: 1. The Missing
|
|
Claude finished @jbrejner's task in 2m 18s —— View job PR Review: Add npm publishing and update documentation
Static AnalysisAll clean:
Review SummaryThis PR is in good shape. The esbuild-style per-platform binary distribution pattern is well-executed, and most issues from earlier review rounds have been addressed. The Two remaining items (posted as inline comments):
What's Working Well
|
cec0e37 to
43e9885
Compare
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
- Copy each platform binary into its npm package dir via per-build post hooks - Run npm-publish.sh after release (dry-run on snapshots) via after hook - Clean npm bin dirs and tarballs before each build via before hooks
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
- Clean up temp file on jq/mv failure for wrapper package.json update, consistent with the platform loop - Pass --provenance to npm publish when running in GitHub Actions
…SLI_GORELEASERPRO }} — that's the standard way the goreleaser-action picks up the pro license.
- Test npm install -g @kosli/cli on all 6 supported platforms - Trigger on release (published) to test newly published packages - Also trigger on push/PR to npm/**, .goreleaser.yml, and scripts/npm-publish.sh
85be13d to
096462b
Compare
… but it's not available in all GitHub org configuration
Distribute kosli cli as npm package.
Install globally with
npm install -g @kosli/cliThe above will install the wrapper package which detects the current platform and architecture and then pull the appriate package with the correct binary.
Testable packages exist, they are tagged with "snapshot" so you can test with
npm install -g @kosli/cli --tag snapshot