chore: remove the npm mirror leftovers after align 9.0.0 #2
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/remove-npm-mirror"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This removes the npm-mirror leftovers after align 9.0.0: the
npm-mirrorjob, its integrity step and the OIDC gating inrelease.yml(465 lines removed, 10 added),.github/workflows/release-npm.yml, and the.npm-mirrormarker.release.ymlstill publishes@j4k-oss/worktree-removeto the Forge registry.The README now points at the scoped Forge package. Every npm command carries
--@j4k-oss:registry=https://code.j4k.dev/api/packages/j4k-oss/npm/, the~/.npmrcline that maps the scope is shown once, and the unscoped npm package is described as frozen. I ran each documented command form against the registry with an empty npm userconfig.align also refreshed
AGENTS.md, twocheck-dtsscript comments and a comment incommit-msg.yml.🤖 Generated with Claude Code
Review
01M5JB2SCV29H5F2ST6SDHQQJD— headd415a22220e6d3f7cda13dd39c2bef2b7b6bf1c6Review — j4k-oss/worktree-remove @
8ee27b6711Scope: diff against base tree
c8acf181ea8bStatus: dispatched — coverage complete (8/8 slots terminal)
Facts: current review-wide projection
Computed under:
Findings (1)
medium — The copied agent rule promises that removal avoids permanent deletion
01M5JB5QJ8KFF6G1YX77DGVFXEREADME.md(snippet)01M5JB7Q7BH1FSWYCW59QKERV1· valid: The exact-grounded README rule promises trash disposal instead of permanent deletion. The reviewer reports a specific static path from src/cli.ts through removeBatch to performWorktreeRemoval: trash failure for a registered worktree can continue under policy.force or confirmation, confirmAction auto-confirms with --yes, and unregisterWorktree invokes git worktree remove with a force retry when permitted. These are reviewer-supplied implementation facts, not independently grounded code, but the coherent trace establishes a reachable contradiction and a plausible reader mistake: selecting removal options on a false recoverability assumption. The overview's reported 'when possible' qualification does not travel with the copied rule. The historical adjudication contains no concrete refutation; its reservation about --yes is addressed by the current trace's account of confirmAction, and force alone sustains the defect. INT2/INT3 permit explicitly authorized destructive fallback, so the defect is the false assurance rather than the fallback or coexistence of force and confirmation. Retain medium severity. Preserve tool selection and handling of uncommitted changes and orphaned directories while qualifying trash disposal and stating that proceeding after a registered-worktree trash failure can permanently delete the directory.Other claims
01M5JB65N1VYMVHC0DAT794YP3medium — The repository rule independently countsrepoqwrite commandsCoverage
Coverage pass: 01M5JB2SFH02ST1YQQ169HFJ10
Accounting: complete
Slot health: healthy
@ -164,4 +167,4 @@Run `npx -y worktree-remove --help` to learn available options.Run `npx -y --@j4k-oss:registry=https://code.j4k.dev/api/packages/j4k-oss/npm/ @j4k-oss/worktree-remove@latest --help` to learn available options. Keep the `--@j4k-oss:registry` flag: without it `npx` can fetch another owner's `@j4k-oss` package from npmjs.org.Use `worktree-remove` when you need to safely remove Git worktrees.It handles uncommitted changes, orphaned directories, and movesmedium — The copyable agent rule promises that removal never permanently deletes files
lens
writing-quality· armdefault· tally 1 valid / 0 invalid / 0 uncertainclaim
01M5JA4WZ2ZWDCSH1PQ3SA8R2Gof review01M5JA1S1V0XMFM7X7EYXBQN2XValid, and it predates this PR: the sentence about trash is unchanged here, so the fix is tracked in #3. That PR rewrites the end of the Agent Rule to say that when the trash move fails,
--force(or--yesfor a single worktree) lets Git delete a registered worktree permanently.@ -164,4 +169,4 @@Run `npx -y worktree-remove --help` to learn available options.Run `npx -y --@j4k-oss:registry=https://code.j4k.dev/api/packages/j4k-oss/npm/ @j4k-oss/worktree-remove@latest --help` to learn available options. Keep the `--@j4k-oss:registry` flag: without it `npx` can fetch another owner's `@j4k-oss` package from npmjs.org.Use `worktree-remove` when you need to safely remove Git worktrees.It handles uncommitted changes, orphaned directories, and movesmedium — The copied agent rule promises that removal avoids permanent deletion
lens
writing-quality· armdefault· tally 1 valid / 0 invalid / 0 uncertainclaim
01M5JB5QJ8KFF6G1YX77DGVFXEof review01M5JB2SCV29H5F2ST6SDHQQJDAlready fixed in
b9d4ad8, the squash commit of #3 on main.01M5JB5QJ8KFF6G1YX77DGVFXE, inline #178060): valid, predates this PR, and is already fixed onmaininb9d4ad8(#3). This review ran on a head that does not contain that commit.01M5JB65N1VYMVHC0DAT794YP3(the repoq guidance counts write commands): not a defect in this PR. The sentence "It also carries one write verb:pr create" is in the generatedAGENTS.md/CLAUDE.md, which align regenerated here from the shared rulerepoq/repoq-usage.md; generated files are not edited by hand. The count is accurate today: repoq registerspr createas its only write command (src/cli/register-pr-command.ts). If repoq gains another write verb, the shared rule in the align repository needs the update, which is outside these PRs.