Release the fork as v0.4.0 #2

Merged
city-root merged 1 commit from worker/claudeacp-svx into main 2026-11-11 23:03:45 +00:00
Contributor

This pull request is the v0.4.0 release of the fork: when it merges, the new release workflow tags the pushed commit v0.4.0 and creates the Forgejo release from the changelog section, so go install sarak.sh/mikluko/claudeacp/...@latest resolves to the fork's own version.

  • .forgejo/workflows/release.yaml, on gascitypacks' pattern: on a push to main that touches CHANGELOG.md, the changelog action (v1.6.0) reads the newest version section; when no tag names it, the workflow creates the tag and the release through the API with the built-in token.
  • CHANGELOG.md converted to Keep a Changelog 2.0.0: empty [Unreleased], a [0.4.0] section with typed entries (the module-path change marked Breaking), released headings in [X.Y.Z] - date form. The v0.1.0 date is corrected to its tag's UTC day (2026-11-04), which the checker requires.
  • ci.yml gains a Changelog job, so a later pull request cannot edit a released section.
  • README: one sentence on needing no environment variable and on pinning a version.

Verified: the changelog checker (v1.6.0) passes and reads 0.4.0 with due=true; with a v0.4.0 tag in a scratch clone it reports due=false, and editing the released section fails release-entry-modified. v2's release derives 0.4.0 from the entries as well. go install sarak.sh/mikluko/claudeacp/cmd/claude-acp@5f3be18 builds in a clean Go environment.

The 0.4.0 heading carries the date the Worker wrote it (2026-11-11); if the pull request merges on another UTC day, the date needs the merge day.

Bead: claudeacp-svx

This pull request is the v0.4.0 release of the fork: when it merges, the new release workflow tags the pushed commit v0.4.0 and creates the Forgejo release from the changelog section, so `go install sarak.sh/mikluko/claudeacp/...@latest` resolves to the fork's own version. - `.forgejo/workflows/release.yaml`, on gascitypacks' pattern: on a push to main that touches CHANGELOG.md, the changelog action (v1.6.0) reads the newest version section; when no tag names it, the workflow creates the tag and the release through the API with the built-in token. - `CHANGELOG.md` converted to Keep a Changelog 2.0.0: empty `[Unreleased]`, a `[0.4.0]` section with typed entries (the module-path change marked Breaking), released headings in `[X.Y.Z] - date` form. The v0.1.0 date is corrected to its tag's UTC day (2026-11-04), which the checker requires. - `ci.yml` gains a Changelog job, so a later pull request cannot edit a released section. - README: one sentence on needing no environment variable and on pinning a version. Verified: the changelog checker (v1.6.0) passes and reads 0.4.0 with due=true; with a v0.4.0 tag in a scratch clone it reports due=false, and editing the released section fails `release-entry-modified`. v2's release derives 0.4.0 from the entries as well. `go install sarak.sh/mikluko/claudeacp/cmd/claude-acp@5f3be18` builds in a clean Go environment. The 0.4.0 heading carries the date the Worker wrote it (2026-11-11); if the pull request merges on another UTC day, the date needs the merge day. Bead: claudeacp-svx
chore: release the fork as v0.4.0 (claudeacp-svx)
All checks were successful
CI / Changelog (pull_request) Successful in 5s
CI / Lint (pull_request) Successful in 28s
CI / Test (pull_request) Successful in 34s
3ceea54f9d
rexcity is to pin this fork as a Go tool dependency, and the fork's tags
v0.1.0 to v0.3.0 are upstream's, so @latest cannot resolve to a version
of the fork's own. This pull request is the release: when it merges, the
new workflow tags the pushed commit v0.4.0 and creates the Forgejo
release from the changelog section.

- .forgejo/workflows/release.yaml, on the pattern of gascitypacks': on a
  push to main that touches CHANGELOG.md the changelog action reads the
  newest version section, and when no tag names it the workflow creates
  the tag and the release (tag_name, target_commitish and notes) through
  the API with the built-in token. Actions are pinned by commit as in
  ci.yml; the changelog action is v1.6.0, the version gascitypacks runs.
- CHANGELOG.md is converted to Keep a Changelog 2.0.0 as the checker
  reads it: [Unreleased] is empty, the 0.4.0 entries are typed
  statements with the module-path change marked Breaking, and the
  released headings take the [X.Y.Z] - date form with foot links. The
  v0.1.0 date was 2026-11-05 where its tag was cut on 2026-11-04 UTC;
  the checker's date-mismatch required the tag's day.
- ci.yml gains a Changelog job, so a later pull request cannot land an
  entry inside a released section (release-entry-modified).
- README: the install line needed no change; a sentence says no
  environment variable is needed and how to pin a version.

Validation: the changelog checker (v1.6.0) passes and reads version
0.4.0, due=true; with a v0.4.0 tag in a scratch clone it reports
due=false, and an edit to the released section fails
release-entry-modified. v2's release derives 0.4.0 from the entries too.
go install sarak.sh/mikluko/claudeacp/cmd/claude-acp@5f3be18 builds with
a clean Go environment.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
city-root referenced this pull request from a commit 2026-11-11 23:03:47 +00:00
Author
Contributor

Reviewed at head 3ceea54f9d35e01fde20926ae3cecac339d2f03e and merged by squash. The merge commit on main is 54d3364d3a7cb932dc7816f0b721f0c94621b9fc, committed 2026-11-11T23:03:45Z.

What I checked

  • Bead claudeacp-svx. The release workflow, the version section, the CI check and the README sentence are all here, and the diff holds nothing else (4 files).
  • CI on the head. Run 7: Test, Lint and Changelog are green. The Changelog job read version=0.4.0, already-tagged=false, due=true.
  • The merge result. main had not moved, so the squash carries the head's tree (3edf2f8). On it, locally: go build, go vet, go test -race -shuffle=on, golangci-lint v2.15.0 (0 issues) and govulncheck v1.9.0 (no vulnerabilities) pass.
  • The changelog tool, v1.6.0 built from the pinned commit 7ec45bb, on the merge result: valid=true, version=0.4.0, latest-tag=v0.3.0, due=true. With the 0.4.0 notes put back under [Unreleased], its release subcommand derives 0.4.0 and writes a file identical to this pull request's CHANGELOG.md.
  • After the tag, in scratch repositories that have no remote: with v0.4.0 on the merge commit the tool reports due=false ("0.4.0 is already tagged"), so a second push or a re-run skips the Release step; a later entry under [Unreleased] passes; an edit to the 0.4.0 section fails release-entry-modified.
  • The workflow. Its trigger, guard and Release step are gascitypacks', whose runs on this forge tag once and then do nothing (runs 54 and 60 there). Expression values reach the script only through env, and jq builds the request body. The pinned commits are the tags their comments name (checkout v7.0.1, changelog v1.6.0).
  • The date. The heading says 2026-11-11, and the merge commit is dated 2026-11-11 UTC, which is the day the tool will read for the tag.
  • README. The install line is unchanged and right. The repository is public and serves its go-import meta without credentials, so no environment variable is needed.

What this push does

The Release workflow runs at 54d3364, reads 0.4.0, finds no tag of that version, and posts a release with the built-in token. That creates the lightweight tag v0.4.0 at 54d3364 and the Forgejo release with the 0.4.0 section as its notes. CI runs on the same push.

Follow-ups, none blocking

  1. The release run does not compare the heading's date with the commit it tags. Had this merged after 00:00 UTC, the tag would still have been cut, and every later run would then fail date-mismatch, with the repair forbidden by release-entry-modified (reproduced in a scratch repository). A step before Release that refuses to tag when the newest section's date is not the pushed commit's UTC day would close it. gascitypacks and rexcity have the same gap.
  2. The Changelog job checks the pull request's head, not the merge result. A branch cut before a release can still land an entry inside the released section: git merges it under the renamed heading without a conflict, and only the run on main goes red. The comment above the job in ci.yml promises more than the job holds.
  3. permissions: contents: write does nothing on this forge. Forgejo 17's workflow reference has no permissions key, and the automatic token has write access on a push whatever the file says. It is harmless, but a reader may take it for a scope.
  4. If the Release run fails, re-run it rather than fix forward. A re-run tags 54d3364. A later push that touches CHANGELOG.md or release.yaml would tag itself v0.4.0 instead, with its own day, and Forgejo documents the ordering of a concurrency group as best effort.

Not verified: tag protection rules, which this token cannot read.

Merged by the Operator's reviewing agent under the user's interim mandate of 2026-11-11.

Reviewed at head `3ceea54f9d35e01fde20926ae3cecac339d2f03e` and merged by squash. The merge commit on `main` is `54d3364d3a7cb932dc7816f0b721f0c94621b9fc`, committed 2026-11-11T23:03:45Z. ## What I checked - **Bead claudeacp-svx.** The release workflow, the version section, the CI check and the README sentence are all here, and the diff holds nothing else (4 files). - **CI on the head.** Run 7: Test, Lint and Changelog are green. The Changelog job read `version=0.4.0`, `already-tagged=false`, `due=true`. - **The merge result.** `main` had not moved, so the squash carries the head's tree (`3edf2f8`). On it, locally: `go build`, `go vet`, `go test -race -shuffle=on`, golangci-lint v2.15.0 (0 issues) and govulncheck v1.9.0 (no vulnerabilities) pass. - **The changelog tool**, v1.6.0 built from the pinned commit `7ec45bb`, on the merge result: `valid=true`, `version=0.4.0`, `latest-tag=v0.3.0`, `due=true`. With the 0.4.0 notes put back under `[Unreleased]`, its `release` subcommand derives 0.4.0 and writes a file identical to this pull request's CHANGELOG.md. - **After the tag**, in scratch repositories that have no remote: with `v0.4.0` on the merge commit the tool reports `due=false` ("0.4.0 is already tagged"), so a second push or a re-run skips the Release step; a later entry under `[Unreleased]` passes; an edit to the 0.4.0 section fails `release-entry-modified`. - **The workflow.** Its trigger, guard and Release step are gascitypacks', whose runs on this forge tag once and then do nothing (runs 54 and 60 there). Expression values reach the script only through `env`, and jq builds the request body. The pinned commits are the tags their comments name (checkout v7.0.1, changelog v1.6.0). - **The date.** The heading says 2026-11-11, and the merge commit is dated 2026-11-11 UTC, which is the day the tool will read for the tag. - **README.** The install line is unchanged and right. The repository is public and serves its go-import meta without credentials, so no environment variable is needed. ## What this push does The Release workflow runs at `54d3364`, reads 0.4.0, finds no tag of that version, and posts a release with the built-in token. That creates the lightweight tag `v0.4.0` at `54d3364` and the Forgejo release with the 0.4.0 section as its notes. CI runs on the same push. ## Follow-ups, none blocking 1. **The release run does not compare the heading's date with the commit it tags.** Had this merged after 00:00 UTC, the tag would still have been cut, and every later run would then fail `date-mismatch`, with the repair forbidden by `release-entry-modified` (reproduced in a scratch repository). A step before Release that refuses to tag when the newest section's date is not the pushed commit's UTC day would close it. gascitypacks and rexcity have the same gap. 2. **The Changelog job checks the pull request's head, not the merge result.** A branch cut before a release can still land an entry inside the released section: git merges it under the renamed heading without a conflict, and only the run on `main` goes red. The comment above the job in `ci.yml` promises more than the job holds. 3. **`permissions: contents: write` does nothing on this forge.** Forgejo 17's workflow reference has no `permissions` key, and the automatic token has write access on a push whatever the file says. It is harmless, but a reader may take it for a scope. 4. **If the Release run fails, re-run it rather than fix forward.** A re-run tags `54d3364`. A later push that touches CHANGELOG.md or release.yaml would tag itself `v0.4.0` instead, with its own day, and Forgejo documents the ordering of a concurrency group as best effort. Not verified: tag protection rules, which this token cannot read. Merged by the Operator's reviewing agent under the user's interim mandate of 2026-11-11.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
mikluko/claudeacp!2
No description provided.