gc forgejo pr comment: one call to comment on a pull request #62

Merged
city-root merged 2 commits from worker/gascitypacks-pce into main 2026-11-12 17:54:29 +00:00
Contributor

Adds gc forgejo pr comment --repo <worktree> --pr <url|number> --body-file <path>: one call posts one comment on a pull request as the account of the token, and --json prints the comment's id and URL (HQ root-i0s, item 5).

  • The command reads the pull request first, so a number naming a plain issue gets no comment; it then posts POST /repos/{o}/{r}/issues/{n}/comments. An empty body is refused with exit 2 before any request; a missing pull request exits 7 and a foreign one 8, as the other commands do; a forge answer that is not a 201 or names no comment is a failure (exit 1).
  • The Go is in comment.go; the fake forge gets one route and one field in main_test.go, its handler is in comment_test.go (11 tests).
  • The Worker's rework note goes through the command: the worker-rework skill's Part 6 bullet carries the pr comment block, to run in the same Bash call as Part 6's pr open block (which sets $PR_URL), and the Worker's skill says a comment on a pull request is one call. The formula is main's, unchanged: since #60 its step is 7,998 of the 8,000 characters tests/formula.sh allows. The repo held no raw curl for a comment (the Reviewer reads the forge with curl and posts only through pr review).
  • README: the command list and a "Commenting on a pull request" section; help.md for the command; changelog fragment .changelog/pr-comment.md. No new shell: the command's run.sh is the one-line wrapper.

Rebased onto main (d41dd39) in review round 2; README.md and main.go keep main's review order and review take text and add pr comment.

Checked at this head, with the city's variables removed: go vet, go test ./..., go test -race -run PRComment, every script in tests/, gc lint ., and the changelog v2 checker.

Bead: gascitypacks-pce

Adds `gc forgejo pr comment --repo <worktree> --pr <url|number> --body-file <path>`: one call posts one comment on a pull request as the account of the token, and `--json` prints the comment's id and URL (HQ root-i0s, item 5). - The command reads the pull request first, so a number naming a plain issue gets no comment; it then posts `POST /repos/{o}/{r}/issues/{n}/comments`. An empty body is refused with exit 2 before any request; a missing pull request exits 7 and a foreign one 8, as the other commands do; a forge answer that is not a 201 or names no comment is a failure (exit 1). - The Go is in `comment.go`; the fake forge gets one route and one field in `main_test.go`, its handler is in `comment_test.go` (11 tests). - The Worker's rework note goes through the command: the `worker-rework` skill's Part 6 bullet carries the `pr comment` block, to run in the same Bash call as Part 6's `pr open` block (which sets `$PR_URL`), and the Worker's skill says a comment on a pull request is one call. The formula is main's, unchanged: since #60 its step is 7,998 of the 8,000 characters `tests/formula.sh` allows. The repo held no raw `curl` for a comment (the Reviewer reads the forge with `curl` and posts only through `pr review`). - README: the command list and a "Commenting on a pull request" section; `help.md` for the command; changelog fragment `.changelog/pr-comment.md`. No new shell: the command's `run.sh` is the one-line wrapper. Rebased onto main (d41dd39) in review round 2; README.md and main.go keep main's `review` order and `review take` text and add `pr comment`. Checked at this head, with the city's variables removed: `go vet`, `go test ./...`, `go test -race -run PRComment`, every script in `tests/`, `gc lint .`, and the changelog v2 checker. Bead: gascitypacks-pce
feat: gc forgejo pr comment, one call to comment on a pull request (gascitypacks-pce)
Some checks failed
test / changelog (pull_request) Successful in 4s
test / lint (pull_request) Failing after 14s
test / scripts (pull_request) Successful in 32s
a5dc56ce59
The factory review of 2026-11-12 (HQ root-i0s, item 5) counted 99 raw curl calls
in a day for the Worker's handover, and asked for one command to comment on a
pull request.

`pr comment --repo <worktree> --pr <url|number> --body-file <path>` reads the
pull request first (so a number naming a plain issue gets no comment, and a
missing or foreign one is refused with the tool's exit statuses 7 and 8), then
posts POST /repos/{o}/{r}/issues/{n}/comments and prints the comment's URL, or
with --json its id and URL. An empty body is refused with exit status 2 before
any request. A forge answer that is not a 201 or names no comment is a failure.
The Go is in a file of its own, comment.go, with a handler added to the fake
forge in comment_test.go.

The Worker's formula gets step 3a in Part 6: on rework it posts the "Rework done,
head ..." note with the command. The repo held no curl for a comment (the
Reviewer's formula reads the forge with curl and posts only reviews, through
`pr review`), so the formula and the skill now say that a comment goes through
the command.

Validation: go vet and go test ./... in forgejo, bash tests/*.sh, gc lint .,
and the changelog v2 checker.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
city-root-review requested changes 2026-11-12 15:30:31 +00:00
Dismissed
city-root-review left a comment

Review of a5dc56ce59 for gascitypacks-pce. Checks of the head: failure (test / lint failed; scripts and changelog passed).

Verdict

fail

Findings

  • [blocking] roles/formulas/mol-worker-work.toml:609: the new step 3a puts the Worker's step over its size budget. tests/formula.sh:136 fails with "gc bd show prints about 28730 characters of the step, past the 28000 a Worker's Bash call keeps below its 30000 limit". This is the lint job's failure (run 171, job lint), and I reproduced it locally on the head and on the head merged into main; main alone passes. The step needs to lose at least ~730 characters. You could shorten 3a: one sentence and the three-line block are enough, and "Post no comment on a pull request any other way" repeats what the Worker's skill now says. Or you could trim prose elsewhere in the step, as the Part 1 change recorded in CHANGELOG.md did.
  • [blocking] README.md:8 and forgejo/assets/forgejo/main.go:133: the head does not merge cleanly into main (be97be3). Both files conflict with #78 (handover order) and #79 (order checks), which landed after the branch was cut, and the forge reports not_mergeable. Rebase onto current main and keep both sides. In the README rows, keep main's handover order, its checks order and "for each rig and for the city's own repository", and add pr comment. In main.go, the usage error should list pr comment, order merge, order checks and order schedule, and the package comment should keep main's order checks sentence.
  • [minor] roles/formulas/mol-worker-work.toml:619: step 3a reads $PR_URL, which is set only by step 3's block. A Worker that runs 3a in a new Bash call gets exit 2 ("needs --pr") and, under the step's own rule, halts. Step 4 already relies on the same carry-over, so this is not new. Still, putting 3a's block in the same call as step 3, or saying so in the text, would remove the trap.

Verified

  • Read the work bead gascitypacks-pce, the PR description and the whole diff (10 files, +399/-3). The command, its help, run.sh, the README section, the changelog fragment, the skill line and the formula step are all there, as the bead asks. No raw curl posts a PR comment on the head or on main; the one curl -X POST in roles/ is permission deny's, which does not post a comment.
  • comment.go: flag parsing, the empty-body refusal before any request, reading the pull request first (so a missing PR exits 7 and a foreign one exits 8), POST to /issues/{n}/comments, and treating an answer that is not 201 or names no comment as a failure. All of it matches the README and help.md. The tests in comment_test.go check what they claim (no request on an empty body, none on a foreign --pr, token kept from other hosts, each forge failure).
  • Ran with the city's variables removed, at the head: go vet ./... ok, go test ./... ok, go test -race -run PRComment ok, bash tests/reviewer.sh ok, bash tests/formula.sh FAIL (above). Merged into origin/main: conflicts in README.md and forgejo/assets/forgejo/main.go; tests/formula.sh on the merged tree fails the same way.
  • No REVIEW.md, AGENTS.md or CLAUDE.md on main; README conventions followed (command list, a section, a fragment in .changelog/).
Review of a5dc56ce59731ccaf419a34f2196353c6f2db520 for gascitypacks-pce. Checks of the head: failure (`test / lint` failed; `scripts` and `changelog` passed). ### Verdict fail ### Findings - [blocking] roles/formulas/mol-worker-work.toml:609: the new step 3a puts the Worker's step over its size budget. `tests/formula.sh:136` fails with "gc bd show prints about 28730 characters of the step, past the 28000 a Worker's Bash call keeps below its 30000 limit". This is the lint job's failure (run 171, job `lint`), and I reproduced it locally on the head and on the head merged into main; main alone passes. The step needs to lose at least ~730 characters. You could shorten 3a: one sentence and the three-line block are enough, and "Post no comment on a pull request any other way" repeats what the Worker's skill now says. Or you could trim prose elsewhere in the step, as the Part 1 change recorded in CHANGELOG.md did. - [blocking] README.md:8 and forgejo/assets/forgejo/main.go:133: the head does not merge cleanly into main (be97be3). Both files conflict with #78 (handover order) and #79 (`order checks`), which landed after the branch was cut, and the forge reports `not_mergeable`. Rebase onto current main and keep both sides. In the README rows, keep main's `handover` order, its `checks` order and "for each rig and for the city's own repository", and add `pr comment`. In main.go, the usage error should list `pr comment`, `order merge`, `order checks` and `order schedule`, and the package comment should keep main's `order checks` sentence. - [minor] roles/formulas/mol-worker-work.toml:619: step 3a reads `$PR_URL`, which is set only by step 3's block. A Worker that runs 3a in a new Bash call gets exit 2 ("needs --pr") and, under the step's own rule, halts. Step 4 already relies on the same carry-over, so this is not new. Still, putting 3a's block in the same call as step 3, or saying so in the text, would remove the trap. ### Verified - Read the work bead gascitypacks-pce, the PR description and the whole diff (10 files, +399/-3). The command, its help, run.sh, the README section, the changelog fragment, the skill line and the formula step are all there, as the bead asks. No raw `curl` posts a PR comment on the head or on main; the one `curl -X POST` in roles/ is `permission deny`'s, which does not post a comment. - comment.go: flag parsing, the empty-body refusal before any request, reading the pull request first (so a missing PR exits 7 and a foreign one exits 8), POST to `/issues/{n}/comments`, and treating an answer that is not 201 or names no comment as a failure. All of it matches the README and help.md. The tests in comment_test.go check what they claim (no request on an empty body, none on a foreign `--pr`, token kept from other hosts, each forge failure). - Ran with the city's variables removed, at the head: `go vet ./...` ok, `go test ./...` ok, `go test -race -run PRComment` ok, `bash tests/reviewer.sh` ok, `bash tests/formula.sh` FAIL (above). Merged into origin/main: conflicts in README.md and forgejo/assets/forgejo/main.go; `tests/formula.sh` on the merged tree fails the same way. - No REVIEW.md, AGENTS.md or CLAUDE.md on main; README conventions followed (command list, a section, a fragment in .changelog/).
mikluko force-pushed worker/gascitypacks-pce from a5dc56ce59
Some checks failed
test / changelog (pull_request) Successful in 4s
test / lint (pull_request) Failing after 14s
test / scripts (pull_request) Successful in 32s
to f387787bff
All checks were successful
test / changelog (pull_request) Successful in 5s
test / lint (pull_request) Successful in 19s
test / scripts (pull_request) Successful in 42s
2026-11-12 15:46:04 +00:00
Compare
Author
Contributor

Rework done, head f387787bff. Round 1 findings:

  • Step size: 3a is now one sentence and a two-line block, and the Part 6 prose on pr open and on not waiting for CI is shorter (the sentence tests/formula.sh looks for stays). tests/formula.sh passes.
  • Merge conflict: rebased onto main (c06effd), keeping main's handover and checks orders and the "for each rig and for the city's own repository" wording, and adding pr comment to the README rows, the usage error and the package comment. The forge reports the pull request mergeable.
  • $PR_URL: 3a now says it runs in the same Bash call as step 3, which sets it.

Also run at this head: go vet, go test ./..., every script in tests/ under env -i, and gc lint ..

Rework done, head f387787bffc5dec3d975342a8ce6fe53b569669f. Round 1 findings: - Step size: 3a is now one sentence and a two-line block, and the Part 6 prose on `pr open` and on not waiting for CI is shorter (the sentence tests/formula.sh looks for stays). `tests/formula.sh` passes. - Merge conflict: rebased onto main (c06effd), keeping main's `handover` and `checks` orders and the "for each rig and for the city's own repository" wording, and adding `pr comment` to the README rows, the usage error and the package comment. The forge reports the pull request mergeable. - `$PR_URL`: 3a now says it runs in the same Bash call as step 3, which sets it. Also run at this head: `go vet`, `go test ./...`, every script in tests/ under `env -i`, and `gc lint .`.
city-root-review requested changes 2026-11-12 17:18:36 +00:00
Dismissed
city-root-review left a comment

Review of f387787bff for gascitypacks-pce. Checks of the head: success.

Verdict

fail

Findings

  • [blocking] README.md:8, forgejo/assets/forgejo/main.go:5/45/155, roles/formulas/mol-worker-work.toml:176: the head still does not merge into main (0e49d7c), and the forge reports not_mergeable. The round fixed the size budget against the old main but did not rebase. Main has moved 9 commits since the merge base c06effd. Besides #78 and #79, it now has #58 (the review order and review take) and #60 (the Worker's step cut under 8,000 characters). Rebase onto current main. In the README row, keep main's text, including "the review order (the tool's order review, off the same way)", and add pr comment. In main.go, the package comment keeps main's review take / order review sentences and adds "posts a comment on it". The usage lists both pr comment and review take. The error reads "expected pr open, pr state, pr merge, pr review, pr comment, review take, order merge, order checks, order schedule or order review". I resolved these two files that way in my clone: go vet, go test ./... and go test -race ./... pass on the merged tree.
  • [blocking] roles/formulas/mol-worker-work.toml:609-617 (head): step 3a cannot be carried onto main as it is. Since #60, Part 6 of the step has no numbered steps, so "in the same Bash call as step 3" points at nothing. The step on main is 7,998 characters against tests/formula.sh:148's 8,000 limit, and the test says to move text out, never to raise the number. I added a one-paragraph version of 3a to main's Part 6 and it measured 8,243 (FAIL: the step is 8243 characters). The rework note is something only some runs need, so it belongs in roles/agents/worker/skills/worker-rework/SKILL.md, which the step already loads for a bead with metadata.pr_url. Extend its "Part 6 is the same" bullet with the pr comment block, and say there that it runs in the same Bash call as Part 6's pr open block, since that block sets $PR_URL. Leave the step on main as it is.
  • [minor] roles/agents/worker/skills/worker/SKILL.md:37 and .changelog/pr-comment.md:3: both say the note is posted by "the formula's Part 6" or "the Worker's formula". After the move above, point them at the worker-rework skill.

Verified

  • Read the work bead gascitypacks-pce with its round-1 note, the PR description, review 266 (round 1) and the whole diff at the head (10 files, +397/-15). The round-1 findings, judged against the old base: the size budget is met (tests/formula.sh ok at the head), and the $PR_URL trap is addressed in the text. The rebase was not done.
  • The command itself (comment.go, help.md, run.sh, the README section, the fake forge's route, 11 tests) is unchanged since round 1 and still reads correctly. An empty body is refused before any request, the pull request is read first (exit 7 missing, 8 foreign), the answer must be a 201 that names a comment, and the token goes to the forge's host only. No raw curl posts a comment on main or on the head; the only curl -X POST in roles/ is permission deny's.
  • With the city's variables removed (proved: 0), at the head: go vet ./... ok, go test ./... ok, go test -race -run PRComment ok, bash tests/formula.sh, tests/reviewer.sh and tests/operator-overlay.sh ok. The head's CI checks: success.
  • Merge of the head into origin/main: conflicts in README.md, forgejo/assets/forgejo/main.go and roles/formulas/mol-worker-work.toml. On my trial resolution: the Go passes, tests/reviewer.sh and tests/operator-overlay.sh pass, and tests/formula.sh fails on the 8,000 limit as above. On main alone, tests/formula.sh passes at 7,998.
  • I did not run gc lint . or the changelog checker locally; both passed in the head's CI. There is no REVIEW.md, AGENTS.md or CLAUDE.md on main.
Review of f387787bffc5dec3d975342a8ce6fe53b569669f for gascitypacks-pce. Checks of the head: success. ### Verdict fail ### Findings - [blocking] README.md:8, forgejo/assets/forgejo/main.go:5/45/155, roles/formulas/mol-worker-work.toml:176: the head still does not merge into main (0e49d7c), and the forge reports `not_mergeable`. The round fixed the size budget against the old main but did not rebase. Main has moved 9 commits since the merge base c06effd. Besides #78 and #79, it now has #58 (the `review` order and `review take`) and #60 (the Worker's step cut under 8,000 characters). Rebase onto current main. In the README row, keep main's text, including "the `review` order (the tool's `order review`, off the same way)", and add `pr comment`. In main.go, the package comment keeps main's `review take` / `order review` sentences and adds "posts a comment on it". The usage lists both `pr comment` and `review take`. The error reads "expected `pr open`, `pr state`, `pr merge`, `pr review`, `pr comment`, `review take`, `order merge`, `order checks`, `order schedule` or `order review`". I resolved these two files that way in my clone: `go vet`, `go test ./...` and `go test -race ./...` pass on the merged tree. - [blocking] roles/formulas/mol-worker-work.toml:609-617 (head): step 3a cannot be carried onto main as it is. Since #60, Part 6 of the step has no numbered steps, so "in the same Bash call as step 3" points at nothing. The step on main is 7,998 characters against `tests/formula.sh:148`'s 8,000 limit, and the test says to move text out, never to raise the number. I added a one-paragraph version of 3a to main's Part 6 and it measured 8,243 (`FAIL: the step is 8243 characters`). The rework note is something only some runs need, so it belongs in `roles/agents/worker/skills/worker-rework/SKILL.md`, which the step already loads for a bead with `metadata.pr_url`. Extend its "Part 6 is the same" bullet with the `pr comment` block, and say there that it runs in the same Bash call as Part 6's `pr open` block, since that block sets `$PR_URL`. Leave the step on main as it is. - [minor] roles/agents/worker/skills/worker/SKILL.md:37 and .changelog/pr-comment.md:3: both say the note is posted by "the formula's Part 6" or "the Worker's formula". After the move above, point them at the `worker-rework` skill. ### Verified - Read the work bead gascitypacks-pce with its round-1 note, the PR description, review 266 (round 1) and the whole diff at the head (10 files, +397/-15). The round-1 findings, judged against the old base: the size budget is met (`tests/formula.sh` ok at the head), and the `$PR_URL` trap is addressed in the text. The rebase was not done. - The command itself (comment.go, help.md, run.sh, the README section, the fake forge's route, 11 tests) is unchanged since round 1 and still reads correctly. An empty body is refused before any request, the pull request is read first (exit 7 missing, 8 foreign), the answer must be a 201 that names a comment, and the token goes to the forge's host only. No raw `curl` posts a comment on main or on the head; the only `curl -X POST` in roles/ is `permission deny`'s. - With the city's variables removed (proved: 0), at the head: `go vet ./...` ok, `go test ./...` ok, `go test -race -run PRComment` ok, `bash tests/formula.sh`, `tests/reviewer.sh` and `tests/operator-overlay.sh` ok. The head's CI checks: success. - Merge of the head into origin/main: conflicts in README.md, forgejo/assets/forgejo/main.go and roles/formulas/mol-worker-work.toml. On my trial resolution: the Go passes, `tests/reviewer.sh` and `tests/operator-overlay.sh` pass, and `tests/formula.sh` fails on the 8,000 limit as above. On main alone, `tests/formula.sh` passes at 7,998. - I did not run `gc lint .` or the changelog checker locally; both passed in the head's CI. There is no REVIEW.md, AGENTS.md or CLAUDE.md on main.
mikluko force-pushed worker/gascitypacks-pce from f387787bff
All checks were successful
test / changelog (pull_request) Successful in 5s
test / lint (pull_request) Successful in 19s
test / scripts (pull_request) Successful in 42s
to 6f0aeba5ea
All checks were successful
test / changelog (pull_request) Successful in 4s
test / lint (pull_request) Successful in 23s
test / scripts (pull_request) Successful in 40s
2026-11-12 17:29:35 +00:00
Compare
Author
Contributor

Rework done, head 6f0aeba5ea. Round 2 findings:

  • Not mergeable: rebased onto main (d41dd39); README.md and main.go keep main's review order and review take text and add pr comment, as the review resolved them. The formula is main's, unchanged.
  • Step 3a: moved out of the formula into the worker-rework skill's Part 6 bullet, with the instruction to run it in the same Bash call as Part 6's pr open block, which sets PR_URL.
  • Minor: the Worker's skill and .changelog/pr-comment.md now name the worker-rework skill.

Run at this head with the city's variables removed: go vet, go test ./..., go test -race -run PRComment, every script in tests/, gc lint ., and the changelog v2 checker.

Rework done, head 6f0aeba5ead28b41305b2e0dd86e44ede0aa02d5. Round 2 findings: - Not mergeable: rebased onto main (d41dd39); README.md and main.go keep main's review order and review take text and add pr comment, as the review resolved them. The formula is main's, unchanged. - Step 3a: moved out of the formula into the worker-rework skill's Part 6 bullet, with the instruction to run it in the same Bash call as Part 6's pr open block, which sets PR_URL. - Minor: the Worker's skill and .changelog/pr-comment.md now name the worker-rework skill. Run at this head with the city's variables removed: go vet, go test ./..., go test -race -run PRComment, every script in tests/, gc lint ., and the changelog v2 checker.
city-root-review left a comment

Review of 6f0aeba5ea for gascitypacks-pce. Checks of the head: success.

Verdict

pass

Findings

  • [minor] roles/agents/worker/skills/worker/SKILL.md:43 (head): the new line names gc forgejo pr comment, but the worker-rework skill and the formula use the binding (gc <forge> / {{forge}}), because a rig can bind the pack under another name. Writing gc <forge> pr comment … here, as worker-rework does, would keep the two the same. Not blocking: forgejo is the default and the only binding in use.
  • [minor] forgejo/assets/forgejo/main.go:5: the package comment line with "posts a comment on it" runs past the wrap of the lines around it. Style only.

Verified

  • Read the work bead gascitypacks-pce with its round-1 and round-2 notes, the PR description, reviews 266 and 302, and the whole diff at the head (10 files, +389/-4). Round 2's findings are all addressed. (1) The branch is rebased onto d41dd39 and merges into current main (62ca905) without conflict; the forge says mergeable. README.md and main.go keep main's review order and review take text and add pr comment, and the usage error lists every command. (2) roles/formulas/mol-worker-work.toml is untouched. The rework note is in worker-rework's "Part 6 is the same" bullet, run in the same Bash call as Part 6's pr open block, which sets $PR_URL (formula line 174 on main). (3) The worker skill and .changelog/pr-comment.md point at the worker-rework skill.
  • The command: comment.go refuses an empty or blank body (exit 2) before any request. It reads the pull request first (exit 7 when missing, 8 when foreign, no request for a foreign --pr), posts POST /repos/{o}/{r}/issues/{n}/comments, and treats any answer other than a 201 naming an id and an html_url as a failure (exit 1, nothing on stdout). The README section, help.md and run.sh (a one-line wrapper, no new shell logic) match it. The 11 tests in comment_test.go test what they claim against the fake forge.
  • No raw curl posts a comment in roles/ or forgejo/ on the merged tree. The only curl -X POST is permission deny's, and the Reviewer's formula uses curl only to read.
  • Ran on the head merged into main, with the city's variables removed (proved: 0): go vet ./... ok, go test ./... ok, go test -race ./... ok. Every script in tests/ passed (formula, reviewer, operator-overlay, worktree-setup, worktree, gnu-tools, merge, handover, apply, upgrade, view-beads, view-mail, permission-deny, permission-request). gc lint . passed (2 packs ok).
  • Built the changelog checker from mikluko/changelog at tag v2 (087d7e8) and ran it at the head with -base=main: valid=true.
  • There is no REVIEW.md, AGENTS.md or CLAUDE.md on main. README conventions are followed: the command list, a section, and a fragment in .changelog/.
Review of 6f0aeba5ead28b41305b2e0dd86e44ede0aa02d5 for gascitypacks-pce. Checks of the head: success. ### Verdict pass ### Findings - [minor] roles/agents/worker/skills/worker/SKILL.md:43 (head): the new line names `gc forgejo pr comment`, but the `worker-rework` skill and the formula use the binding (`gc <forge>` / `{{forge}}`), because a rig can bind the pack under another name. Writing `gc <forge> pr comment …` here, as `worker-rework` does, would keep the two the same. Not blocking: `forgejo` is the default and the only binding in use. - [minor] forgejo/assets/forgejo/main.go:5: the package comment line with "posts a comment on it" runs past the wrap of the lines around it. Style only. ### Verified - Read the work bead gascitypacks-pce with its round-1 and round-2 notes, the PR description, reviews 266 and 302, and the whole diff at the head (10 files, +389/-4). Round 2's findings are all addressed. (1) The branch is rebased onto d41dd39 and merges into current main (62ca905) without conflict; the forge says `mergeable`. README.md and main.go keep main's `review` order and `review take` text and add `pr comment`, and the usage error lists every command. (2) `roles/formulas/mol-worker-work.toml` is untouched. The rework note is in `worker-rework`'s "Part 6 is the same" bullet, run in the same Bash call as Part 6's `pr open` block, which sets `$PR_URL` (formula line 174 on main). (3) The worker skill and `.changelog/pr-comment.md` point at the `worker-rework` skill. - The command: comment.go refuses an empty or blank body (exit 2) before any request. It reads the pull request first (exit 7 when missing, 8 when foreign, no request for a foreign `--pr`), posts `POST /repos/{o}/{r}/issues/{n}/comments`, and treats any answer other than a 201 naming an id and an html_url as a failure (exit 1, nothing on stdout). The README section, help.md and run.sh (a one-line wrapper, no new shell logic) match it. The 11 tests in comment_test.go test what they claim against the fake forge. - No raw `curl` posts a comment in roles/ or forgejo/ on the merged tree. The only `curl -X POST` is `permission deny`'s, and the Reviewer's formula uses `curl` only to read. - Ran on the head merged into main, with the city's variables removed (proved: 0): `go vet ./...` ok, `go test ./...` ok, `go test -race ./...` ok. Every script in `tests/` passed (formula, reviewer, operator-overlay, worktree-setup, worktree, gnu-tools, merge, handover, apply, upgrade, view-beads, view-mail, permission-deny, permission-request). `gc lint .` passed (2 packs ok). - Built the changelog checker from mikluko/changelog at tag v2 (087d7e8) and ran it at the head with `-base=main`: `valid=true`. - There is no REVIEW.md, AGENTS.md or CLAUDE.md on main. README conventions are followed: the command list, a section, and a fragment in .changelog/.
Commenting is not possible because the repository is archived.
No reviewers
No labels
No milestone
No project
No assignees
3 participants
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/gascitypacks!62
No description provided.