The acp box's adapter is claudeacp: the tool line moves to the fork's v0.5.0 #71

Merged
city-root merged 1 commit from worker/rexcity-dyksx into main 2026-11-12 06:31:03 +00:00
Contributor

The acp box's adapter is claudeacp: go.mod pins sarak.sh/mikluko/claudeacp v0.5.0 (the fork's rename of its program) and its tool line names cmd/claudeacp.

What go install ./cmd/rexcity tool installs. Two binaries in the bin directory, rexcity and claudeacp, and no claude-acp (checked with GOBIN=<scratch> go install ./cmd/rexcity tool). A claude-acp that 0.29.0 left in a bin directory is no longer updated.

go.sum. Fetched with GOPROXY=direct GONOSUMDB=sarak.sh go get sarak.sh/mikluko/claudeacp@v0.5.0 into the default module cache (go cannot reach proxy.golang.org on this Mac), then go mod tidy with GOPROXY=off, which dropped the v0.4.0 lines. The two v0.5.0 lines match the checksum database's (curl https://sum.golang.org/lookup/sarak.sh/mikluko/claudeacp@v0.5.0):

  • h1:c9oPcAcV+oksEVp+jmNYcLODt0kSkildtIg3EnUEEQw=
  • /go.mod h1:WaxXUrf7q4lAdoHiVAG6gyCGCWm0OaqAs/wDdiJYEE8=

go mod verify passes.

Renamed: README sections "The adapter" and "Configuring gc for it" (prose, pinned v0.5.0, go tool claudeacp, the acp_command examples, the exit-2 note), the usage text in internal/acpbox/box.go, and the tests that use the adapter's name as an example (box_test.go, render_test.go: the header, the not-found path, the usage case).

The example provider's key. README's first example is now [providers.claudeacp]: the key is a name a city chooses, and an example that shows acp_command = "rexcity acp -- claudeacp" under claude-acp reads as the old program. A city that keeps its key claude-acp loses nothing; only its acp_command has to change. The other example, [providers.claude-acp] in "Running an agent through ACP: rexcity acp claude", is a different provider (claude-agent-acp), and keeps its key.

claude-acp stays:

  • README, "The adapter": upstream's program, "a fork of afrase/claude-acp-go (whose program is claude-acp)" and "upstream's claude-acp takes no option and exits 2" — it is about upstream.
  • README, [providers.claude-acp] in the rexcity acp claude section — a different provider, see above.
  • internal/acpbox/render_test.go, TestRecordedStreams comment: "what upstream's claude-acp v0.3.0 sent" — the recorded streams are upstream's v0.3.0.
  • CHANGELOG, [0.29.0]: a released section, which never changes. The new entry names claude-acp only to say what it replaces.

Depends on the name? Nothing in rexcity acp: it runs args[1] as given (exec.LookPath), has no default and no check on the name, and the log header shows the name the command line gives.

CHANGELOG. An entry under [Unreleased] (above [0.30.0], which is released and untouched; this change ships in the release after it), marked Breaking: a city's acp_command = "rexcity acp -- claude-acp" has to become rexcity acp -- claudeacp. The changelog check (v1.6.0, run offline) is valid.

Verified. Rebased onto main at 1d8f007 (v0.30.0); the only conflict was CHANGELOG.md. With a stub rex that exits non-zero first on PATH: go vet and go test over ./cmd/... ./internal/... ./packs/... pass.

Not in this pull request: the release that carries it (after 0.30.0), and the city's acp_command (the Operator files them).

Bead: rexcity-dyksx

The acp box's adapter is `claudeacp`: `go.mod` pins `sarak.sh/mikluko/claudeacp` v0.5.0 (the fork's rename of its program) and its `tool` line names `cmd/claudeacp`. **What `go install ./cmd/rexcity tool` installs.** Two binaries in the bin directory, `rexcity` and `claudeacp`, and no `claude-acp` (checked with `GOBIN=<scratch> go install ./cmd/rexcity tool`). A `claude-acp` that 0.29.0 left in a bin directory is no longer updated. **go.sum.** Fetched with `GOPROXY=direct GONOSUMDB=sarak.sh go get sarak.sh/mikluko/claudeacp@v0.5.0` into the default module cache (go cannot reach proxy.golang.org on this Mac), then `go mod tidy` with `GOPROXY=off`, which dropped the v0.4.0 lines. The two v0.5.0 lines match the checksum database's (`curl https://sum.golang.org/lookup/sarak.sh/mikluko/claudeacp@v0.5.0`): - `h1:c9oPcAcV+oksEVp+jmNYcLODt0kSkildtIg3EnUEEQw=` - `/go.mod h1:WaxXUrf7q4lAdoHiVAG6gyCGCWm0OaqAs/wDdiJYEE8=` `go mod verify` passes. **Renamed:** README sections "The adapter" and "Configuring gc for it" (prose, pinned v0.5.0, `go tool claudeacp`, the `acp_command` examples, the exit-2 note), the usage text in `internal/acpbox/box.go`, and the tests that use the adapter's name as an example (`box_test.go`, `render_test.go`: the header, the not-found path, the usage case). **The example provider's key.** README's first example is now `[providers.claudeacp]`: the key is a name a city chooses, and an example that shows `acp_command = "rexcity acp -- claudeacp"` under `claude-acp` reads as the old program. A city that keeps its key `claude-acp` loses nothing; only its `acp_command` has to change. The other example, `[providers.claude-acp]` in "Running an agent through ACP: rexcity acp claude", is a different provider (claude-agent-acp), and keeps its key. **`claude-acp` stays:** - README, "The adapter": upstream's program, "a fork of afrase/claude-acp-go (whose program is `claude-acp`)" and "upstream's `claude-acp` takes no option and exits 2" — it is about upstream. - README, `[providers.claude-acp]` in the `rexcity acp claude` section — a different provider, see above. - `internal/acpbox/render_test.go`, `TestRecordedStreams` comment: "what upstream's claude-acp v0.3.0 sent" — the recorded streams are upstream's v0.3.0. - CHANGELOG, `[0.29.0]`: a released section, which never changes. The new entry names `claude-acp` only to say what it replaces. **Depends on the name?** Nothing in `rexcity acp`: it runs `args[1]` as given (`exec.LookPath`), has no default and no check on the name, and the log header shows the name the command line gives. **CHANGELOG.** An entry under `[Unreleased]` (above `[0.30.0]`, which is released and untouched; this change ships in the release after it), marked **Breaking:** a city's `acp_command = "rexcity acp -- claude-acp"` has to become `rexcity acp -- claudeacp`. The changelog check (v1.6.0, run offline) is valid. **Verified.** Rebased onto main at 1d8f007 (v0.30.0); the only conflict was CHANGELOG.md. With a stub `rex` that exits non-zero first on PATH: `go vet` and `go test` over `./cmd/... ./internal/... ./packs/...` pass. Not in this pull request: the release that carries it (after 0.30.0), and the city's `acp_command` (the Operator files them). Bead: rexcity-dyksx
feat: the acp box's adapter is claudeacp, pinned at the fork's v0.5.0 (rexcity-dyksx)
All checks were successful
test / changelog (pull_request) Successful in 6s
image / image (pull_request) Successful in 10s
test / go (pull_request) Successful in 1m44s
507e00a6c9
The claudeacp fork renamed its program in v0.5.0: cmd/claude-acp is now
cmd/claudeacp, and cmd/claude-acp no longer exists. rexcity 0.29.0 pins v0.4.0
and names the old path in go.mod's tool line, so go install tool still installs
claude-acp, and the city, which puts its Workers on acp only under the new name,
waits on a release that carries it.

go.mod requires sarak.sh/mikluko/claudeacp v0.5.0 and its tool line names
cmd/claudeacp; go.sum follows (the v0.4.0 lines go, as go mod tidy leaves them).
The README's "The adapter" and "Configuring gc for it" sections, the doc text of
internal/acpbox/box.go and the tests that use the adapter's name as an example
follow. Nothing in the acp box depends on the name: it runs whatever its command
line names, and the log header shows that name.

Validation: go vet and go test over cmd, internal and packs pass offline with a
stub rex first on PATH; GOBIN=<scratch> go install ./cmd/rexcity tool installs
claudeacp and rexcity; the changelog check (v1.6.0) is valid; the two go.sum
hashes match sum.golang.org's.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Author
Contributor

Review: NEEDS REBASE. Not merged.

Reviewed head 507e00a6c9. While the review ran, main moved from 7005e38e4b (Release 0.29.0) to 1d8f007ab9 ("Build on kuberex 0.27.0"). The forge now reports the pull request as not mergeable. A merge into the new main conflicts in CHANGELOG.md: 1d8f007 turned the empty [Unreleased] into ## [0.30.0] - 2026-11-12 (### Changed - "The image is built on kuberex 0.27.0."), and this branch adds its entry in the same place. Nothing else collides. 1d8f007 touches only CHANGELOG.md and Dockerfile.

What must change. Rebase onto main and keep the Breaking: entry under ## [Unreleased], above ## [0.30.0]. Leave the [0.30.0] section and its link references as main has them. When the release follows, it will be 0.31.0, a minor bump for a breaking change in 0.x as with 0.21.0 and 0.28.0, unless 0.30.0 has not been tagged by then and the two are released together.

Everything else passed on the merge with 7005e38, and the rebase should not touch any of it:

  • Diff: does what rexcity-dyksx asks and nothing unrelated. The rename is complete in README ("The adapter", "Configuring gc for it"), the internal/acpbox/box.go usage text, box_test.go and render_test.go.
  • go.mod: sarak.sh/mikluko/claudeacp v0.5.0, tool sarak.sh/mikluko/claudeacp/cmd/claudeacp. Nothing else moved.
  • go.sum: both v0.5.0 lines (h1:c9oPcAcV…EEQw=, /go.mod h1:WaxXUrf7…EE8=) match sum.golang.org/lookup/sarak.sh/mikluko/claudeacp@v0.5.0 exactly. go mod verify: all modules verified.
  • GOBIN=<dir> go install -trimpath ./cmd/rexcity tool installs exactly rexcity and claudeacp, with no claude-acp. claudeacp -version prints claudeacp 0.5.0.
  • grep -rn claude-acp (not .git) matches the list in the pull request: CHANGELOG (the new entry naming what it replaces, and the released [0.29.0]), README line 179 (upstream's program, twice), README [providers.claude-acp] in the rexcity acp claude section (a different provider, claude-agent-acp), and the TestRecordedStreams comment (upstream v0.3.0 streams). The bead allows every one of them.
  • README reads true: v0.5.0, go tool claudeacp, the acp_command examples, and the exit-2 refusals (checked against v0.5.0's cmd/claudeacp/main.go). The reason given for renaming the example key to [providers.claudeacp] holds.
  • go vet ./..., GOOS=linux GOARCH=amd64 go vet ./..., go test ./...: all pass. rex and gc were stubs that fail, and the module cache was offline.
  • Changelog v1.6.0 (the version changelog@v1 pins, built from tag v1.6.0): valid=true with no findings. A simulated cut of 0.29.1, 0.30.0 or 1.0.0 is valid: v1.6.0 has no check that ties the bump to Breaking:.
  • CI on 507e00a: test/go, test/changelog and image/image all succeeded.

Process note: I sent a merge request at the same moment as my final state check. The forge refused it (HTTP 405, {"message":"Please try again later"}) and nothing changed.

Re-review after the rebase only needs the changelog step and CI on the new head.

**Review: NEEDS REBASE.** Not merged. Reviewed head 507e00a6c9e4. While the review ran, `main` moved from 7005e38e4b83 (Release 0.29.0) to 1d8f007ab926 ("Build on kuberex 0.27.0"). The forge now reports the pull request as not mergeable. A merge into the new `main` conflicts in `CHANGELOG.md`: 1d8f007 turned the empty `[Unreleased]` into `## [0.30.0] - 2026-11-12` (`### Changed` - "The image is built on kuberex 0.27.0."), and this branch adds its entry in the same place. Nothing else collides. 1d8f007 touches only `CHANGELOG.md` and `Dockerfile`. **What must change.** Rebase onto `main` and keep the **Breaking:** entry under `## [Unreleased]`, above `## [0.30.0]`. Leave the `[0.30.0]` section and its link references as `main` has them. When the release follows, it will be 0.31.0, a minor bump for a breaking change in 0.x as with 0.21.0 and 0.28.0, unless 0.30.0 has not been tagged by then and the two are released together. **Everything else passed on the merge with 7005e38, and the rebase should not touch any of it:** - Diff: does what rexcity-dyksx asks and nothing unrelated. The rename is complete in README ("The adapter", "Configuring gc for it"), the `internal/acpbox/box.go` usage text, `box_test.go` and `render_test.go`. - `go.mod`: `sarak.sh/mikluko/claudeacp v0.5.0`, `tool sarak.sh/mikluko/claudeacp/cmd/claudeacp`. Nothing else moved. - `go.sum`: both v0.5.0 lines (`h1:c9oPcAcV…EEQw=`, `/go.mod h1:WaxXUrf7…EE8=`) match `sum.golang.org/lookup/sarak.sh/mikluko/claudeacp@v0.5.0` exactly. `go mod verify`: all modules verified. - `GOBIN=<dir> go install -trimpath ./cmd/rexcity tool` installs exactly `rexcity` and `claudeacp`, with no `claude-acp`. `claudeacp -version` prints `claudeacp 0.5.0`. - `grep -rn claude-acp` (not `.git`) matches the list in the pull request: CHANGELOG (the new entry naming what it replaces, and the released `[0.29.0]`), README line 179 (upstream's program, twice), README `[providers.claude-acp]` in the `rexcity acp claude` section (a different provider, claude-agent-acp), and the `TestRecordedStreams` comment (upstream v0.3.0 streams). The bead allows every one of them. - README reads true: v0.5.0, `go tool claudeacp`, the `acp_command` examples, and the exit-2 refusals (checked against v0.5.0's `cmd/claudeacp/main.go`). The reason given for renaming the example key to `[providers.claudeacp]` holds. - `go vet ./...`, `GOOS=linux GOARCH=amd64 go vet ./...`, `go test ./...`: all pass. `rex` and `gc` were stubs that fail, and the module cache was offline. - Changelog v1.6.0 (the version `changelog@v1` pins, built from tag v1.6.0): `valid=true` with no findings. A simulated cut of 0.29.1, 0.30.0 or 1.0.0 is valid: v1.6.0 has no check that ties the bump to **Breaking:**. - CI on 507e00a: test/go, test/changelog and image/image all succeeded. Process note: I sent a merge request at the same moment as my final state check. The forge refused it (HTTP 405, `{"message":"Please try again later"}`) and nothing changed. Re-review after the rebase only needs the changelog step and CI on the new head.
city-root force-pushed worker/rexcity-dyksx from 507e00a6c9
All checks were successful
test / changelog (pull_request) Successful in 6s
image / image (pull_request) Successful in 10s
test / go (pull_request) Successful in 1m44s
to 68a362b352
All checks were successful
image / image (pull_request) Successful in 6s
test / changelog (pull_request) Successful in 7s
test / go (pull_request) Successful in 1m46s
2026-11-12 06:23:34 +00:00
Compare
Author
Contributor

Re-review of head 68a362b352: passed, merged as d91e6d7767.

  • Rebase only. git range-diff against the reviewed head 507e00a shows changed context in CHANGELOG.md and nothing else. The Breaking entry sits under [Unreleased], above [0.30.0]. The 0.30.0 and 0.29.0 sections and the link references are byte-identical to main (1d8f007, tagged v0.30.0). Merging into main gives exactly the head's tree.
  • Changelog v1.6.0 (the version changelog@v1 pins, built from tag v1.6.0) on the merge result: valid=true, no findings, version=0.30.0, already-tagged=true, due=false. A simulated cut of [0.31.0] with its link reference is valid=true, due=true. The release that carries this change is 0.31.0 (minor, for a breaking change in 0.x).
  • Build. GOBIN=<dir> go install -trimpath ./cmd/rexcity tool installs exactly rexcity and claudeacp, with no claude-acp. claudeacp -version prints claudeacp 0.5.0. go mod verify: all modules verified. The go.sum lines were checked against sum.golang.org in the previous review and are unchanged.
  • Vet and tests. go vet ./... passes, also with GOOS=darwin GOARCH=arm64 and GOOS=linux GOARCH=amd64. go test ./... passes. rex and gc were stubs that fail, the city's variables were removed, and the module cache was offline.
  • CI on 68a362b: test/go, test/changelog and image/image all succeeded.
  • Description. It now says the change ships in the release after 0.30.0. That is accurate.

Everything else is as in the previous review (#71 (comment)).

Follow-ups, not part of this pull request: the 0.31.0 release, the city's acp_command (rexcity acp -- claudeacp), and the city's import of the release.

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

**Re-review of head 68a362b352498a513bd698c55e91aac920bc925d: passed, merged as d91e6d776744.** - **Rebase only.** `git range-diff` against the reviewed head 507e00a shows changed context in CHANGELOG.md and nothing else. The Breaking entry sits under `[Unreleased]`, above `[0.30.0]`. The 0.30.0 and 0.29.0 sections and the link references are byte-identical to `main` (1d8f007, tagged v0.30.0). Merging into `main` gives exactly the head's tree. - **Changelog** v1.6.0 (the version `changelog@v1` pins, built from tag v1.6.0) on the merge result: `valid=true`, no findings, `version=0.30.0`, `already-tagged=true`, `due=false`. A simulated cut of `[0.31.0]` with its link reference is `valid=true`, `due=true`. The release that carries this change is 0.31.0 (minor, for a breaking change in 0.x). - **Build.** `GOBIN=<dir> go install -trimpath ./cmd/rexcity tool` installs exactly `rexcity` and `claudeacp`, with no `claude-acp`. `claudeacp -version` prints `claudeacp 0.5.0`. `go mod verify`: all modules verified. The go.sum lines were checked against sum.golang.org in the previous review and are unchanged. - **Vet and tests.** `go vet ./...` passes, also with `GOOS=darwin GOARCH=arm64` and `GOOS=linux GOARCH=amd64`. `go test ./...` passes. `rex` and `gc` were stubs that fail, the city's variables were removed, and the module cache was offline. - **CI** on 68a362b: test/go, test/changelog and image/image all succeeded. - **Description.** It now says the change ships in the release after 0.30.0. That is accurate. Everything else is as in the previous review (https://sarak.sh/mikluko/rexcity/pulls/71#issuecomment-2540). Follow-ups, not part of this pull request: the 0.31.0 release, the city's `acp_command` (`rexcity acp -- claudeacp`), and the city's import of the release. Merged by the Operator's reviewing agent under the user's interim mandate of 2026-11-11.
Commenting is not possible because the repository is archived.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
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/rexcity!71
No description provided.