diff --git a/.claude/skills/bump-bundled-tools/SKILL.md b/.claude/skills/bump-bundled-tools/SKILL.md deleted file mode 100644 index 3fd98217d..000000000 --- a/.claude/skills/bump-bundled-tools/SKILL.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -name: bump-bundled-tools -description: Update a versioned tool bundled in the native CLI. Use when bumping socket-patch, uv, cdxgen, or synp. -user-invocable: true ---- - -# Bump a bundled native tool - -Take a tool name and its exact upstream version as `$ARGUMENTS`; ask if either -is missing. Read [the bundled tool inventory](references/bundled-tools.md), -then follow that tool's matching `bump-*` skill. Update one tool per change. - -Check the target-specific payload and manifest after building. Keep any tool -unavailable while its provenance, license, or notice checks remain unresolved. -Do not add a new tool here unless the builder stages it into the VFS. diff --git a/.claude/skills/bump-cli-tools/SKILL.md b/.claude/skills/bump-cli-tools/SKILL.md new file mode 100644 index 000000000..81e51e64e --- /dev/null +++ b/.claude/skills/bump-cli-tools/SKILL.md @@ -0,0 +1,15 @@ +--- +name: bump-cli-tools +description: Route Socket CLI tool updates to their release workflows. Use when a request spans tools or the tool's packaging path is unclear. +allowed-tools: Read, Edit, Write, Bash, Glob +user-invocable: true +--- + +# Update CLI tools + +Take the requested tool names and exact upstream versions as `$ARGUMENTS`. Ask +only for missing values. Read [the tool inventory](references/cli-tools.md), +then follow each matching `bump-*` skill. + +For multiple tools, follow each workflow and keep separate changes in separate +PRs unless the user asks to combine them. diff --git a/.claude/skills/bump-bundled-tools/references/bundled-tools.md b/.claude/skills/bump-cli-tools/references/cli-tools.md similarity index 52% rename from .claude/skills/bump-bundled-tools/references/bundled-tools.md rename to .claude/skills/bump-cli-tools/references/cli-tools.md index 4631298b4..99bf21c3c 100644 --- a/.claude/skills/bump-bundled-tools/references/bundled-tools.md +++ b/.claude/skills/bump-cli-tools/references/cli-tools.md @@ -1,13 +1,9 @@ -# Tools bundled in the native CLI +# Pinned CLI tools -| Tool and type | Pin | Staging path | Target and status | Skill | +| Tool | Pin | Delivery | Notes | Skill | | --- | --- | --- | --- | --- | -| `socket-patch` executable | `dependencies.@socketsecurity/socket-patch` in `package.json` | `src/sea/build-sea.mts` → `resources/socket-patch` | Built for targets with a matching locked platform package; the manifest records its digest. | [bump-socket-patch](../../bump-socket-patch/SKILL.md) | +| Coana CLI | `COANA_CLI_VERSION` in `src/constants.mts` | Downloaded from the Socket API on first use and cached by the CLI. | Not part of the native executable. | [bump-coana](../../bump-coana/SKILL.md) | +| Socket Patch executable | `dependencies.@socketsecurity/socket-patch` in `package.json` | `src/sea/build-sea.mts` → `resources/socket-patch` | Built for targets with a matching locked platform package; the manifest records its digest. | [bump-socket-patch](../../bump-socket-patch/SKILL.md) | | `uv` executable | `src/sea/stage/uv-pins.json` | `src/sea/stage/uv.mts` → `tools/uv` | Target archives are checksum-verified; the manifest records each binary digest. | [bump-uv](../../bump-uv/SKILL.md) | | `cdxgen` JavaScript API | `devDependencies.@cyclonedx/cdxgen` in `package.json` | `.config/rollup.cdxgen-sea.config.mjs` and `src/sea/build-sea.mts` → `tools/cdxgen` | `darwin-arm64` only; capability stays disabled until provenance and notices are resolved. | [bump-cdxgen](../../bump-cdxgen/SKILL.md) | | `synp` JavaScript package | `devDependencies.synp` in `package.json` | `src/sea/stage/synp.mts` → `tools/synp` | `darwin-arm64` only; Yarn Classic stays disabled until provenance and notices are resolved. | [bump-synp](../../bump-synp/SKILL.md) | - -Node is the SEA runtime; use [bump-node-sea](../../bump-node-sea/SKILL.md). -Coana runs from a Socket API download; use [bump-coana](../../bump-coana/SKILL.md). -The .NET facts helper is built from source and requires a compatible .NET SDK. -Socket Python CLI has no version pin or VFS staging step in this repo. diff --git a/.claude/skills/bump-coana/SKILL.md b/.claude/skills/bump-coana/SKILL.md index 654a56a77..259dfa9c7 100644 --- a/.claude/skills/bump-coana/SKILL.md +++ b/.claude/skills/bump-coana/SKILL.md @@ -7,6 +7,8 @@ user-invocable: true # Bump the Coana CLI +For a new release, check for the Socket CLI PR created by Coana's `Publish CLI` workflow (`publish-cli.yml`). It normally opens the PR and refreshes `src/vendor/coana-cache.mjs`. Continue on that PR instead of opening a duplicate. Use these steps for a manual bump. + Take the exact Coana version as `$ARGUMENTS` in `X.Y.Z` form; ask if it is missing. Read [the pin and snapshot notes](references/pin-and-snapshots.md).