Skip to content

Commit 75845c5

Browse files
cliffhallclaude
andcommitted
docs: the milestone release flow and the release skill
The release skill (name-only) is the procedure for one milestone: the release issue, the preparation PRs on v2/main, the pure v2/main to main merge PR (Part of #N, tree hash equal to origin/v2/main's), the release ledger, and the Release a maintainer publishes. AGENTS.md gains the credentialed-job rules (SHA pins; no install or build next to a publish credential) and the merge PR's exception. RELEASING.md describes the merged flow. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Signed-off-by: cliffhall <cliff@futurescale.com>
1 parent a2b28ba commit 75845c5

5 files changed

Lines changed: 469 additions & 14 deletions

File tree

‎.claude/skills/pre-push-gate/SKILL.md‎

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,25 @@ The guard matches spellings, not semantics, so an unrelated `retry:` property
9999
in server source trips it too. Rename the property, or restructure so the key
100100
is not written as `retry:` at the start of an expression.
101101

102+
### `verify:action-pins`
103+
104+
A job that holds a credential, or one whose artifact such a job downloads, uses
105+
an action by a tag (`actions/checkout@v6`) or by a SHA with no exact-version
106+
comment. The finding names the workflow, the job and the `uses:` value. Pin it
107+
as `owner/repo@<40-hex sha> # vX.Y.Z`, resolving both from one lookup:
108+
109+
```sh
110+
ACTION=actions/checkout TAG=v6.1.0
111+
echo "uses: $ACTION@$(gh api "repos/$ACTION/commits/$TAG" --jq .sha) # $TAG"
112+
```
113+
114+
If the job should not have become credentialed, that is the real fix: the
115+
guard counts `id-token: write` or `packages: write` (the job's own, or the
116+
workflow's when the job declares none), any secret other than `GITHUB_TOKEN`,
117+
and an `upload-artifact` that a credentialed job `needs` and downloads. A YAML
118+
alias in such a job is reported too; spell the ref out. The rule is in
119+
`AGENTS.md` **Credentialed workflow jobs**.
120+
102121
### `test:scripts`
103122

104123
A guard's own unit test failed. Two of these are about the gate itself and
@@ -198,6 +217,8 @@ The details of the lease are in
198217

199218
## Not part of the gate
200219

201-
`npm run skills:eval` (real model calls) and `npm run coverage` (a report; no
202-
threshold is enforced yet) are separate commands. Run the eval suite when you
220+
`npm run skills:eval` (real model calls), `npm run coverage` (a report; no
221+
threshold is enforced yet) and `npm run pack:verify` (installs each package's
222+
publish artifact and boots it; needs the network, and belongs to the release
223+
flow) are separate commands. Run the eval suite when you
203224
add a skill or change a description.

0 commit comments

Comments
 (0)