The roles tool answers what waits on an agent, and nudges it once: the logic of the city's operator-nudge order, in tested Go #82

Merged
city-root merged 5 commits from worker/gascitypacks-fxmc into main 2026-11-12 19:52:18 +00:00
Contributor

gc roles waiting and gc roles nudge: the logic of the city's operator-nudge order (gascity-root#44, review comment 3318) as tested Go in the roles pack's tool, with a two-line pack-command wrapper each.

What it does

  • waiting [--json] [agent] lists every bead assigned to the agent and not closed (open, in_progress, blocked, deferred), in the HQ store and in each rig's store (gc rig list, then gc bd [--rig r] list --assignee). The agent defaults to the Operator: $OPERATOR, else the one city-scoped agent named operator, found with env.operator in roles/assets/roles/common.go, which the handover and failures orders use too.
  • nudge [agent] sends one gc session nudge line, <n> bead(s) wait on you: <up to five ids>[ and more], when at least one bead waits and nothing is pending or in flight in gc nudge status; otherwise nothing, and says so on stdout.
  • A store, the rig list or the nudge queue that cannot be read is an error naming it, exit 1: waiting prints nothing, nudge sends nothing, not even for the stores that could be read. Every store and the queue are read in each run, so a queued nudge does not hide a failure. These are the two defects of the review (HQ or a non-last rig failing read as "nothing waits"; a failed gc nudge status read as success). One consequence: a rig whose store stays down silences the nudge for the other stores too, and fails the order every five minutes (see below).
  • Every gc call carries --city (flag, else GC_CITY_PATH, else GC_CITY), so the HQ store is the city's own whichever rig the caller stands in. With none of them set the command exits 1 (no city to read) and reads nothing.

What the city's order becomes, and from which release. scripts/operator-nudge.sh becomes one line, exec gc roles nudge (the order file is unchanged). It needs the next release after 0.8.0, which this change's fragment makes 0.9.0 (an Added note is a minor version below 1.0). The city's ^0.8 constraint does not reach it (a caret on a 0.x version stops below the next minor), so the gascity-root pull request that swaps the script also moves [imports.roles] to ^0.9 and the lock, and cannot merge before the release is cut.

How the Operator learns that an order keeps failing. From the failures order, which main now carries (#83): an unreadable store fails operator-nudge every five minutes, and after three failed runs in a row the Operator is mailed ORDER FAILING operator-nudge, and ORDER RECOVERED operator-nudge when it runs again. This branch earlier said that nobody is told and filed gascitypacks-lwe0 for it; that part is dropped from the README and the fragment, since main carries it.

What main carried that this change dropped. Main's env.operator (moved from handover.go to common.go by #83) is the lookup of the Operator, so this change's own copy, resolveOperator, is gone and waiting.go calls e.operator. Main also has gcx.FindOperator, the same lookup; the roles tool does not use it yet, and I did not change the handover or failures orders to.

Rebase. Onto b479852 (main with #83 and #87). Conflicts, each resolved by keeping both sides: the README's roles row (main's failures order, this branch's waiting and nudge), the README after the handover section (main's "The failures order", this branch's "What waits on an agent"), the scripts job of test.yaml (tests/failures.sh and tests/waiting.sh both run), main.go's doc comment and usage, and handover.go (main's, unchanged).

Verification, on head 5bcb518

  • go vet ./..., go test -race ./..., tests/waiting.sh, tests/handover.sh, tests/failures.sh, tests/pack-cache.sh, tests/formula.sh, tests/reviewer.sh, gc lint . and SHELL_BUDGET=fail go test ./internal/budget pass; the changelog v2 checker says valid=true against main.
  • The Go tests (roles/assets/roles/waiting_test.go) carry the review's cases (HQ, first, middle and last rig failing, each with and without beads elsewhere; failing and malformed nudge status; failing rig list), the five-id limit, pending, in-flight and dead queue states, --city on every call, text and JSON output, and the command lines. tests/waiting.sh tests the wrappers with a stub go and the real tool with a stub gc.
  • Tests fail without the change: with agentOf returning a fixed name in place of e.operator, the tests of waiting and nudge that take the default agent fail (TestWaitingReadsEveryStoreForOpenAndInProgress, TestWaitingJSON, TestNudgeSendsOneLineWhenBeadsWait and others), and pass again with it restored. In an earlier round I broke the store-error path and its tests failed. I did not undo the change for each of the other tests this round; they are unchanged by the rebase.
  • Not done: I sent no real nudge.
  • README: the commands in the roles row, a section "What waits on an agent"; fragment .changelog/waiting-nudge.md.

Bead: gascitypacks-fxmc

`gc roles waiting` and `gc roles nudge`: the logic of the city's `operator-nudge` order (gascity-root#44, review comment 3318) as tested Go in the roles pack's tool, with a two-line pack-command wrapper each. **What it does** - `waiting [--json] [agent]` lists every bead assigned to the agent and not closed (open, in_progress, blocked, deferred), in the HQ store and in each rig's store (`gc rig list`, then `gc bd [--rig r] list --assignee`). The agent defaults to the Operator: `$OPERATOR`, else the one city-scoped agent named `operator`, found with `env.operator` in `roles/assets/roles/common.go`, which the handover and failures orders use too. - `nudge [agent]` sends one `gc session nudge` line, `<n> bead(s) wait on you: <up to five ids>[ and more]`, when at least one bead waits and nothing is pending or in flight in `gc nudge status`; otherwise nothing, and says so on stdout. - A store, the rig list or the nudge queue that cannot be read is an error naming it, exit 1: `waiting` prints nothing, `nudge` sends nothing, not even for the stores that could be read. Every store and the queue are read in each run, so a queued nudge does not hide a failure. These are the two defects of the review (HQ or a non-last rig failing read as "nothing waits"; a failed `gc nudge status` read as success). One consequence: a rig whose store stays down silences the nudge for the other stores too, and fails the order every five minutes (see below). - Every `gc` call carries `--city` (flag, else `GC_CITY_PATH`, else `GC_CITY`), so the HQ store is the city's own whichever rig the caller stands in. With none of them set the command exits 1 (`no city to read`) and reads nothing. **What the city's order becomes, and from which release.** `scripts/operator-nudge.sh` becomes one line, `exec gc roles nudge` (the order file is unchanged). It needs the next release after 0.8.0, which this change's fragment makes 0.9.0 (an `Added` note is a minor version below 1.0). The city's `^0.8` constraint does not reach it (a caret on a 0.x version stops below the next minor), so the gascity-root pull request that swaps the script also moves `[imports.roles]` to `^0.9` and the lock, and cannot merge before the release is cut. **How the Operator learns that an order keeps failing.** From the `failures` order, which main now carries (#83): an unreadable store fails `operator-nudge` every five minutes, and after three failed runs in a row the Operator is mailed `ORDER FAILING operator-nudge`, and `ORDER RECOVERED operator-nudge` when it runs again. This branch earlier said that nobody is told and filed `gascitypacks-lwe0` for it; that part is dropped from the README and the fragment, since main carries it. **What main carried that this change dropped.** Main's `env.operator` (moved from `handover.go` to `common.go` by #83) is the lookup of the Operator, so this change's own copy, `resolveOperator`, is gone and `waiting.go` calls `e.operator`. Main also has `gcx.FindOperator`, the same lookup; the roles tool does not use it yet, and I did not change the handover or failures orders to. **Rebase.** Onto b479852 (main with #83 and #87). Conflicts, each resolved by keeping both sides: the README's `roles` row (main's `failures` order, this branch's `waiting` and `nudge`), the README after the handover section (main's "The failures order", this branch's "What waits on an agent"), the `scripts` job of `test.yaml` (`tests/failures.sh` and `tests/waiting.sh` both run), `main.go`'s doc comment and usage, and `handover.go` (main's, unchanged). **Verification**, on head 5bcb518 - `go vet ./...`, `go test -race ./...`, `tests/waiting.sh`, `tests/handover.sh`, `tests/failures.sh`, `tests/pack-cache.sh`, `tests/formula.sh`, `tests/reviewer.sh`, `gc lint .` and `SHELL_BUDGET=fail go test ./internal/budget` pass; the changelog v2 checker says `valid=true` against main. - The Go tests (`roles/assets/roles/waiting_test.go`) carry the review's cases (HQ, first, middle and last rig failing, each with and without beads elsewhere; failing and malformed nudge status; failing rig list), the five-id limit, pending, in-flight and dead queue states, `--city` on every call, text and JSON output, and the command lines. `tests/waiting.sh` tests the wrappers with a stub `go` and the real tool with a stub `gc`. - Tests fail without the change: with `agentOf` returning a fixed name in place of `e.operator`, the tests of `waiting` and `nudge` that take the default agent fail (TestWaitingReadsEveryStoreForOpenAndInProgress, TestWaitingJSON, TestNudgeSendsOneLineWhenBeadsWait and others), and pass again with it restored. In an earlier round I broke the store-error path and its tests failed. I did not undo the change for each of the other tests this round; they are unchanged by the rebase. - Not done: I sent no real nudge. - README: the commands in the `roles` row, a section "What waits on an agent"; fragment `.changelog/waiting-nudge.md`. Bead: gascitypacks-fxmc
feat: roles waiting and roles nudge, the logic of the city's operator-nudge order in tested Go (gascitypacks-fxmc)
All checks were successful
test / changelog (pull_request) Successful in 5s
test / lint (pull_request) Successful in 21s
test / scripts (pull_request) Successful in 40s
82fc153d23
The city's operator-nudge order was written as an 18-line shell script, and the review of gascity-root#44 found two defects in it that a test catches: a failed read of the HQ store, or of any rig but the last, counted as "nothing waits" and exited 0, and a failed 'gc nudge status' turned into a silent success. The user's rule for this repository is that such logic is tested Go (docs/shell.md).

'roles waiting' lists the beads of every store (HQ and each rig, from 'gc rig list') that are assigned to an agent and not closed; 'roles nudge' sends one 'gc session nudge' line when any wait and no nudge is pending or in flight. Both read every store and the queue in each run, and any read that fails is an error that names it, with exit 1, no stdout and no nudge: an unreadable store is not an empty one. Every gc call carries --city when one is known, so the HQ store is the city's own whichever rig the caller stands in. The operator lookup of the handover order is now shared (resolveOperator).

Validation: go vet and go test ./... ; the Go tests carry the review's cases (HQ, first, middle and last rig failing, each with and without beads elsewhere; a failing nudge status), the five-id limit, the queue states, --city on every call and the command lines, and fail when a store error is swallowed; tests/waiting.sh tests the wrappers and the real tool against a stub gc; the commands were run against the live city read-only, and dispatch through 'gc roles' in a scratch city.

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

Review of 82fc153d23 for gascitypacks-fxmc. Checks of the head: success.

Verdict

fail

Findings

  • [blocking] README.md:7-8 (the pack table): the pull request does not merge into current main (0e49d7c, "Landing L15: the review order…", #58). Since the branch point be97be3, main added "the review order (the tool's order review, off the same way)" to the forgejo row of the table, and this branch edits the roles row beside it, so git reports a content conflict in README.md and the forge reports not_mergeable. Fix: rebase onto origin/main 0e49d7c and keep both edits: main's forgejo row and this branch's roles row with waiting and nudge. No other file conflicts.
  • [blocking] README.md:528 at the head (section "What waits on an agent", paragraph "The city's operator-nudge order"), and the PR description's "What the city's order becomes, and from which release": these say the commands ship "in the release after 0.6.0, which this change's fragment makes 0.7.0" and that the gascity-root PR moves [imports.roles] to ^0.7. Main has since cut 0.7.0 (4a39722, "Release 0.7.0 (#84)", CHANGELOG.md ## [0.7.0] - 2026-11-12), and it does not contain these commands. After the merge, the fragment .changelog/waiting-nudge.md (### Added) makes the next release 0.8.0. A city that follows the text as written would move to ^0.7, get a release without gc roles nudge, and its order exec gc roles nudge would fail. Answering "from which release" is item 3 of the work bead. Fix: say 0.8.0 and ^0.8 in the README and in the PR description.
  • [minor] roles/assets/roles/waiting.go:213 (forCity) and 256-262 (read): when no city is known (no --city, no GC_CITY_PATH, no GC_CITY), the HQ read is gc bd list with no --rig. Run from inside a rig, that reads the rig's store, as I confirmed against the live city: without --city it answers "from the rig "gascitypacks" store". That rig is then counted twice, the first time under the HQ's name. The comment in forCity says so, and orders and pack commands do carry GC_CITY_PATH, so nothing blocks on it. One way to fix it: return an error when no city can be named, rather than read the HQ store from the working directory.

Verified

  • Read the work bead gascitypacks-fxmc, the PR description, the target branch's README.md (main has no REVIEW.md, AGENTS.md or CLAUDE.md), and the whole diff: 12 files, +1109/-7.
  • Merge into origin/main 0e49d7c: content conflict in README.md only. For testing, I resolved it in my own clone by keeping main's forgejo row and the PR's roles row, and ran everything below on that merged tree.
  • go vet ./...: ok. go test ./... and go test -race ./...: ok, for both forgejo/assets/forgejo and roles/assets/roles.
  • All 15 scripts of the CI workflow passed with the city's variables removed: worktree-setup, worktree, gnu-tools, merge, handover, the new tests/waiting.sh, apply, upgrade, view-beads, view-mail, permission-deny, permission-request, formula, reviewer, operator-overlay. gc lint . reported "2 pack(s) ok".
  • Changelog checker, built from the tagged source of sarak.sh/mikluko/changelog v2.1.0 (the tag v2 points to it): valid=true with -base main, on the head and on the merged tree. On the merged tree it reports version=0.7.0 already tagged, which is why the release text above is stale.
  • Requirement items 1 and 2: the stores are read with gc bd list --assignee <agent> --limit 0 --json and no status filter. gc bd list --help says the default filter hides only closed beads (--all overrides it). The HQ store comes from gc rig list --json's hq flag: the live city lists root with hq: true. With --city, gc bd list answers from the city store even when GC_RIG is set, which I checked read-only against the live city. Every store and the queue are read before the tool decides. Any failure, including a failed rig list or an undecodable answer, exits 1 with nothing on stdout and no nudge, and each failing store is named. gc nudge status roles.operator --json on the live city has the counts.pending and counts.in_flight shape the tool decodes. gc session nudge takes a session alias.
  • Item 3: the Go tests cover the review's cases (HQ, first, middle and last rig failing, each with and without beads in the other stores; a failing, malformed or count-less nudge status; a failing rig list), the five-id limit, pending, in-flight and dead queue states, --city on every call including the agent lookup, and exit 2 on a bad command line. The handover.go change only lifts operator into resolveOperator, with no change in behaviour.
  • Items 4 and 5: the README and the PR answer how the Operator learns of a failing order (it does not; filed as gascitypacks-lwe0), the README lists the commands in the roles row and has its own section, and the fragment is present.
  • The trap 'rm -rf "$tmp"' EXIT in tests/waiting.sh is the same line every test script on main uses, so it is not a finding.
Review of 82fc153d235f193b61ac2b19c06d59366e955bca for gascitypacks-fxmc. Checks of the head: success. ### Verdict fail ### Findings - [blocking] README.md:7-8 (the pack table): the pull request does not merge into current main (0e49d7c, "Landing L15: the review order…", #58). Since the branch point be97be3, main added "the `review` order (the tool's `order review`, off the same way)" to the `forgejo` row of the table, and this branch edits the `roles` row beside it, so git reports a content conflict in README.md and the forge reports `not_mergeable`. Fix: rebase onto origin/main 0e49d7c and keep both edits: main's `forgejo` row and this branch's `roles` row with `waiting` and `nudge`. No other file conflicts. - [blocking] README.md:528 at the head (section "What waits on an agent", paragraph "The city's `operator-nudge` order"), and the PR description's "What the city's order becomes, and from which release": these say the commands ship "in the release after 0.6.0, which this change's fragment makes 0.7.0" and that the gascity-root PR moves `[imports.roles]` to `^0.7`. Main has since cut 0.7.0 (4a39722, "Release 0.7.0 (#84)", CHANGELOG.md `## [0.7.0] - 2026-11-12`), and it does not contain these commands. After the merge, the fragment `.changelog/waiting-nudge.md` (`### Added`) makes the next release 0.8.0. A city that follows the text as written would move to `^0.7`, get a release without `gc roles nudge`, and its order `exec gc roles nudge` would fail. Answering "from which release" is item 3 of the work bead. Fix: say 0.8.0 and `^0.8` in the README and in the PR description. - [minor] roles/assets/roles/waiting.go:213 (`forCity`) and 256-262 (`read`): when no city is known (no `--city`, no `GC_CITY_PATH`, no `GC_CITY`), the HQ read is `gc bd list` with no `--rig`. Run from inside a rig, that reads the rig's store, as I confirmed against the live city: without `--city` it answers "from the rig "gascitypacks" store". That rig is then counted twice, the first time under the HQ's name. The comment in `forCity` says so, and orders and pack commands do carry `GC_CITY_PATH`, so nothing blocks on it. One way to fix it: return an error when no city can be named, rather than read the HQ store from the working directory. ### Verified - Read the work bead gascitypacks-fxmc, the PR description, the target branch's README.md (main has no REVIEW.md, AGENTS.md or CLAUDE.md), and the whole diff: 12 files, +1109/-7. - Merge into origin/main 0e49d7c: content conflict in README.md only. For testing, I resolved it in my own clone by keeping main's `forgejo` row and the PR's `roles` row, and ran everything below on that merged tree. - `go vet ./...`: ok. `go test ./...` and `go test -race ./...`: ok, for both `forgejo/assets/forgejo` and `roles/assets/roles`. - All 15 scripts of the CI workflow passed with the city's variables removed: worktree-setup, worktree, gnu-tools, merge, handover, the new `tests/waiting.sh`, apply, upgrade, view-beads, view-mail, permission-deny, permission-request, formula, reviewer, operator-overlay. `gc lint .` reported "2 pack(s) ok". - Changelog checker, built from the tagged source of sarak.sh/mikluko/changelog v2.1.0 (the tag `v2` points to it): `valid=true` with `-base main`, on the head and on the merged tree. On the merged tree it reports `version=0.7.0` already tagged, which is why the release text above is stale. - Requirement items 1 and 2: the stores are read with `gc bd list --assignee <agent> --limit 0 --json` and no status filter. `gc bd list --help` says the default filter hides only closed beads (`--all` overrides it). The HQ store comes from `gc rig list --json`'s `hq` flag: the live city lists `root` with `hq: true`. With `--city`, `gc bd list` answers from the city store even when `GC_RIG` is set, which I checked read-only against the live city. Every store and the queue are read before the tool decides. Any failure, including a failed rig list or an undecodable answer, exits 1 with nothing on stdout and no nudge, and each failing store is named. `gc nudge status roles.operator --json` on the live city has the `counts.pending` and `counts.in_flight` shape the tool decodes. `gc session nudge` takes a session alias. - Item 3: the Go tests cover the review's cases (HQ, first, middle and last rig failing, each with and without beads in the other stores; a failing, malformed or count-less nudge status; a failing rig list), the five-id limit, pending, in-flight and dead queue states, `--city` on every call including the agent lookup, and exit 2 on a bad command line. The `handover.go` change only lifts `operator` into `resolveOperator`, with no change in behaviour. - Items 4 and 5: the README and the PR answer how the Operator learns of a failing order (it does not; filed as gascitypacks-lwe0), the README lists the commands in the roles row and has its own section, and the fragment is present. - The `trap 'rm -rf "$tmp"' EXIT` in `tests/waiting.sh` is the same line every test script on main uses, so it is not a finding.
mikluko force-pushed worker/gascitypacks-fxmc from 82fc153d23
All checks were successful
test / changelog (pull_request) Successful in 5s
test / lint (pull_request) Successful in 21s
test / scripts (pull_request) Successful in 40s
to b25e43e65c
All checks were successful
test / changelog (pull_request) Successful in 5s
test / lint (pull_request) Successful in 22s
test / scripts (pull_request) Successful in 42s
2026-11-12 17:29:50 +00:00
Compare
city-root-review requested changes 2026-11-12 17:59:49 +00:00
Dismissed
city-root-review left a comment

Review of b25e43e65c for gascitypacks-fxmc. Checks of the head: success.

Verdict

fail

Findings

  • [blocking] README.md:7-8 (the pack table): the pull request does not merge into current main again. It was rebased onto 3316228 (#73). Since then main has gained four commits, 62ca905 (#57), 4db25d1 (#62), 22011b6 (#68) and 0deb291 (#85), and #62 changed the forgejo row to say "pr merge, pr review and pr comment". This branch edits the roles row beside it, so git reports a content conflict in README.md, and the forge reports not_mergeable. No other file conflicts. Fix: rebase onto origin/main 0deb291 and keep both edits: main's forgejo row (with pr comment) and this branch's roles row (with waiting and nudge).

Nothing else blocks. The three findings of round 1 are addressed: the release text now says 0.8.0 and ^0.8 in the README and the PR description, and main's latest tag is still v0.7.0, so it holds. Running with no city named is now an error that reads and sends nothing (cityOf, roles/assets/roles/waiting.go:360-367), and it is tested in Go (TestWaitingWithNoCityIsAnError) and in tests/waiting.sh section 5.

Verified

  • Read the work bead gascitypacks-fxmc with its round-1 note, the PR description, my round-1 review (#299 on 82fc153), the target branch's README.md (main has no REVIEW.md, AGENTS.md or CLAUDE.md), and the whole diff against main: 12 files, +1163/-7.
  • Merged b25e43e into origin/main 0deb291: the only conflict is the README.md table, as above. For testing, I resolved it in my own clone (main's forgejo row, the branch's roles row) and ran everything below on that merged tree.
  • go vet and go test -race -count=1: ok for both forgejo/assets/forgejo and roles/assets/roles.
  • I ran all 15 scripts of the CI workflow with the city's variables removed, and all passed: formula, reviewer, operator-overlay, worktree-setup, worktree, gnu-tools, merge, handover, the new waiting, apply, upgrade, view-beads, view-mail, permission-deny and permission-request. gc lint . reported "2 pack(s) ok".
  • Changelog checker: I built it from the tagged source of sarak.sh/mikluko/changelog v2 (087d7e8, v2.1.0). It reports valid=true with -base main on the head and on the merged tree.
  • The round-1 changes in the code. parseWaiting accepts --city <dir> and --city=<dir>. cityOf takes --city, else GC_CITY_PATH, else GC_CITY, and errors before any gc call. forCity puts --city first on every call, including the agent lookup, the queue read and the nudge, which TestNudgeEveryCallIsOnTheCityNamed checks. gcRun strips the leading --city <dir> only from the name it gives in an error. The help pages, the README section and the fragment describe the no-city error and the 0.8.0 release.
  • Requirement items 1-5, which I checked against the merged tree as in round 1. A store that cannot be read, the rig list or the nudge queue is an error that names it, and nothing is printed or sent. The Go tests carry HQ, first, middle and last rig failing, each with and without beads elsewhere, plus a failing, malformed or count-less queue, the five-id limit and the queue states. The PR and the README say what the order becomes (exec gc roles nudge) and from which release, and how the Operator learns of a failing order (it does not; filed as gascitypacks-lwe0). The README row and section are there, and so is the fragment.
Review of b25e43e65c160fc8033dfcd6988e9ffa1031c02c for gascitypacks-fxmc. Checks of the head: success. ### Verdict fail ### Findings - [blocking] README.md:7-8 (the pack table): the pull request does not merge into current main again. It was rebased onto 3316228 (#73). Since then main has gained four commits, 62ca905 (#57), 4db25d1 (#62), 22011b6 (#68) and 0deb291 (#85), and #62 changed the `forgejo` row to say "`pr merge`, `pr review` and `pr comment`". This branch edits the `roles` row beside it, so git reports a content conflict in README.md, and the forge reports `not_mergeable`. No other file conflicts. Fix: rebase onto origin/main 0deb291 and keep both edits: main's `forgejo` row (with `pr comment`) and this branch's `roles` row (with `waiting` and `nudge`). Nothing else blocks. The three findings of round 1 are addressed: the release text now says 0.8.0 and `^0.8` in the README and the PR description, and main's latest tag is still v0.7.0, so it holds. Running with no city named is now an error that reads and sends nothing (`cityOf`, roles/assets/roles/waiting.go:360-367), and it is tested in Go (`TestWaitingWithNoCityIsAnError`) and in `tests/waiting.sh` section 5. ### Verified - Read the work bead gascitypacks-fxmc with its round-1 note, the PR description, my round-1 review (#299 on 82fc153), the target branch's README.md (main has no REVIEW.md, AGENTS.md or CLAUDE.md), and the whole diff against main: 12 files, +1163/-7. - Merged b25e43e into origin/main 0deb291: the only conflict is the README.md table, as above. For testing, I resolved it in my own clone (main's `forgejo` row, the branch's `roles` row) and ran everything below on that merged tree. - `go vet` and `go test -race -count=1`: ok for both `forgejo/assets/forgejo` and `roles/assets/roles`. - I ran all 15 scripts of the CI workflow with the city's variables removed, and all passed: formula, reviewer, operator-overlay, worktree-setup, worktree, gnu-tools, merge, handover, the new waiting, apply, upgrade, view-beads, view-mail, permission-deny and permission-request. `gc lint .` reported "2 pack(s) ok". - Changelog checker: I built it from the tagged source of sarak.sh/mikluko/changelog `v2` (087d7e8, v2.1.0). It reports `valid=true` with `-base main` on the head and on the merged tree. - The round-1 changes in the code. `parseWaiting` accepts `--city <dir>` and `--city=<dir>`. `cityOf` takes `--city`, else `GC_CITY_PATH`, else `GC_CITY`, and errors before any `gc` call. `forCity` puts `--city` first on every call, including the agent lookup, the queue read and the nudge, which `TestNudgeEveryCallIsOnTheCityNamed` checks. `gcRun` strips the leading `--city <dir>` only from the name it gives in an error. The help pages, the README section and the fragment describe the no-city error and the 0.8.0 release. - Requirement items 1-5, which I checked against the merged tree as in round 1. A store that cannot be read, the rig list or the nudge queue is an error that names it, and nothing is printed or sent. The Go tests carry HQ, first, middle and last rig failing, each with and without beads elsewhere, plus a failing, malformed or count-less queue, the five-id limit and the queue states. The PR and the README say what the order becomes (`exec gc roles nudge`) and from which release, and how the Operator learns of a failing order (it does not; filed as gascitypacks-lwe0). The README row and section are there, and so is the fragment.
mikluko force-pushed worker/gascitypacks-fxmc from b25e43e65c
All checks were successful
test / changelog (pull_request) Successful in 5s
test / lint (pull_request) Successful in 22s
test / scripts (pull_request) Successful in 42s
to 50235446d5
All checks were successful
test / changelog (pull_request) Successful in 4s
test / lint (pull_request) Successful in 25s
test / scripts (pull_request) Successful in 43s
2026-11-12 18:04:33 +00:00
Compare
city-root-review requested changes 2026-11-12 18:23:58 +00:00
Dismissed
city-root-review left a comment

Review of 50235446d5 for gascitypacks-fxmc. Checks of the head: success.

Verdict

fail

Findings

  • [blocking] README.md:7 (the roles row of the pack table): the pull request still does not merge into current main, for the third round running. The head is rebased onto 0deb291 (#85), and main has since gained c82ad40 (#67) and c0246aa (#71). #71, "The Researcher, build 2", rewrote the same roles row: "the Operator, the Worker, which runs for each rig and for the city, and the Researcher, a pool of the city, …". This branch changes the end of that row, so git reports a content conflict in README.md, and the forge reports not_mergeable. No other file conflicts. Fix: rebase onto origin/main c0246aa and keep both edits in the one row: main's wording with the Researcher, and this branch's "view beads, view mail, waiting and nudge commands". This row changes with almost every pull request of the roles pack. So check git merge-tree (or a trial merge) against the freshly fetched main right before the push.

Nothing else blocks. The round-1 and round-2 findings stay addressed.

Verified

  • I read the work bead gascitypacks-fxmc with its round-1 and round-2 notes, the PR description, the two earlier reviews (#299 on 82fc153, #319 on b25e43e), main's README.md (main has no REVIEW.md, AGENTS.md or CLAUDE.md), and the whole diff against main: 12 files, +1163/-7. I read waiting.go, the main.go and handover.go changes, the two wrappers and help pages, tests/waiting.sh, the workflow line and the fragment in full. I also read the list of Go tests.
  • I merged 5023544 into origin/main c0246aa. The only conflict is the README table row above. For testing, I resolved it in my own clone (main's row with the Researcher, plus waiting and nudge) and ran everything below on that merged tree, with the city's variables removed.
  • go vet ./... and go test -race -count=1 ./...: ok, for both forgejo/assets/forgejo and roles/assets/roles. gc lint .: "2 pack(s) ok".
  • All 16 scripts of the merged workflow passed. Lint job: formula, reviewer, operator-overlay and researcher (new on main). Scripts job: worktree-setup, worktree, gnu-tools, merge, handover, the new waiting, apply, upgrade, view-beads, view-mail, permission-deny and permission-request.
  • Changelog checker: I built it from the tagged source of sarak.sh/mikluko/changelog v2 (087d7e8, the v2.1.0 commit). It reports valid=true with -base main, on the head and on the merged tree.
  • Release text: main's latest tag is still v0.7.0, and the fragments main gained since the last round (#67 Changed/Fixed, #71 Added) do not change the next version. So "0.8.0" and ^0.8 in the README and the PR description still hold.
  • Requirement items 1-5 are as in round 2. Every store, the rig list and the nudge queue are read before the tool decides, and a failure in any of them exits 1 naming it, with nothing printed and nothing sent. Every gc call carries --city, and with no city named the tool reads nothing. The order's one line and its release, the answer on failing orders (gascitypacks-lwe0), the README row and section, and the fragment are all there.
Review of 50235446d5a2ab22dbe10aade7270c2fc096fd11 for gascitypacks-fxmc. Checks of the head: success. ### Verdict fail ### Findings - [blocking] README.md:7 (the `roles` row of the pack table): the pull request still does not merge into current main, for the third round running. The head is rebased onto 0deb291 (#85), and main has since gained c82ad40 (#67) and c0246aa (#71). #71, "The Researcher, build 2", rewrote the same `roles` row: "the Operator, the Worker, which runs for each rig and for the city, and the Researcher, a pool of the city, …". This branch changes the end of that row, so git reports a content conflict in README.md, and the forge reports `not_mergeable`. No other file conflicts. Fix: rebase onto origin/main c0246aa and keep both edits in the one row: main's wording with the Researcher, and this branch's "`view beads`, `view mail`, `waiting` and `nudge` commands". This row changes with almost every pull request of the roles pack. So check `git merge-tree` (or a trial merge) against the freshly fetched main right before the push. Nothing else blocks. The round-1 and round-2 findings stay addressed. ### Verified - I read the work bead gascitypacks-fxmc with its round-1 and round-2 notes, the PR description, the two earlier reviews (#299 on 82fc153, #319 on b25e43e), main's README.md (main has no REVIEW.md, AGENTS.md or CLAUDE.md), and the whole diff against main: 12 files, +1163/-7. I read `waiting.go`, the `main.go` and `handover.go` changes, the two wrappers and help pages, `tests/waiting.sh`, the workflow line and the fragment in full. I also read the list of Go tests. - I merged 5023544 into origin/main c0246aa. The only conflict is the README table row above. For testing, I resolved it in my own clone (main's row with the Researcher, plus `waiting` and `nudge`) and ran everything below on that merged tree, with the city's variables removed. - `go vet ./...` and `go test -race -count=1 ./...`: ok, for both `forgejo/assets/forgejo` and `roles/assets/roles`. `gc lint .`: "2 pack(s) ok". - All 16 scripts of the merged workflow passed. Lint job: formula, reviewer, operator-overlay and researcher (new on main). Scripts job: worktree-setup, worktree, gnu-tools, merge, handover, the new waiting, apply, upgrade, view-beads, view-mail, permission-deny and permission-request. - Changelog checker: I built it from the tagged source of sarak.sh/mikluko/changelog `v2` (087d7e8, the v2.1.0 commit). It reports `valid=true` with `-base main`, on the head and on the merged tree. - Release text: main's latest tag is still v0.7.0, and the fragments main gained since the last round (#67 `Changed`/`Fixed`, #71 `Added`) do not change the next version. So "0.8.0" and `^0.8` in the README and the PR description still hold. - Requirement items 1-5 are as in round 2. Every store, the rig list and the nudge queue are read before the tool decides, and a failure in any of them exits 1 naming it, with nothing printed and nothing sent. Every `gc` call carries `--city`, and with no city named the tool reads nothing. The order's one line and its release, the answer on failing orders (gascitypacks-lwe0), the README row and section, and the fragment are all there.
mikluko force-pushed worker/gascitypacks-fxmc from 50235446d5
All checks were successful
test / changelog (pull_request) Successful in 4s
test / lint (pull_request) Successful in 25s
test / scripts (pull_request) Successful in 43s
to 32e9162ead
All checks were successful
test / changelog (pull_request) Successful in 5s
test / lint (pull_request) Successful in 25s
test / scripts (pull_request) Successful in 51s
2026-11-12 18:36:34 +00:00
Compare
city-root-review approved these changes 2026-11-12 19:22:32 +00:00
Dismissed
city-root-review left a comment

Review of 32e9162ead for gascitypacks-fxmc. Checks of the head: success.

Verdict

pass

Findings

None. The only blocking finding of round 3 (review #333 on 5023544: the README roles row conflicted with main) is addressed. The head is rebased onto fe5a75f (#66). The row keeps main's wording with the Researcher and adds "view mail, waiting and nudge commands". The head merges cleanly into current main 745749e (#25), which main gained after the rebase and which touches none of this branch's lines.

Verified

  • Read the work bead gascitypacks-fxmc with its notes for rounds 1, 2 and 4, the PR description, review #333 and main's README.md (main has no REVIEW.md, AGENTS.md or CLAUDE.md). Read the whole diff against main: 12 files, +1163/-7. git range-diff between 5023544 and this head shows the second commit unchanged (=). The first commit differs only in two rebase resolutions: the README row above, and main.go's doc comment and usage, which keep main's new changelog install (#66) beside waiting and nudge. In the merged run(), the changelog install branch and the waiting/nudge branch both stand, in that order.
  • Merged 32e9162 into origin/main 745749e in my clone: no conflict (ort; README.md auto-merged). Everything below ran on that merged tree with the city's variables removed (env -i, proved to leave 0 of them).
  • go vet ./... passed. go test -race -count=1 ./... passed for forgejo/assets/forgejo and roles/assets/roles. gc lint .: "2 pack(s) ok".
  • All 16 scripts of the merged workflow passed. Lint job: formula (as #25 changed it), reviewer, operator-overlay, researcher. Scripts job: worktree-setup, worktree, gnu-tools, merge, handover, waiting, apply, upgrade, view-beads, view-mail, permission-deny, permission-request. The clone's tree was clean afterwards.
  • Changelog checker: built from the tagged source of sarak.sh/mikluko/changelog v2 (087d7e8). It reports valid=true with -base main on the merged tree.
  • Release text: the latest tag is still v0.7.0, and none of main's fragments since then changes the minor bump this Added fragment makes. So "0.8.0" and ^0.8 in the README and the PR description still hold.
  • Requirement items 1-5 stand as in rounds 2 and 3. Every store, the rig list and the nudge queue are read before the tool decides. A failure in any of them exits 1 naming it, prints nothing and sends nothing. Every gc call carries --city, and with no city named the tool reads nothing. Also present: the order's one line and its release, the answer on failing orders (gascitypacks-lwe0), the README row and section, and the fragment.
Review of 32e9162ead43b46abfaad179a59671f9a48ee332 for gascitypacks-fxmc. Checks of the head: success. ### Verdict pass ### Findings None. The only blocking finding of round 3 (review #333 on 5023544: the README `roles` row conflicted with main) is addressed. The head is rebased onto fe5a75f (#66). The row keeps main's wording with the Researcher and adds "`view mail`, `waiting` and `nudge` commands". The head merges cleanly into current main 745749e (#25), which main gained after the rebase and which touches none of this branch's lines. ### Verified - Read the work bead gascitypacks-fxmc with its notes for rounds 1, 2 and 4, the PR description, review #333 and main's README.md (main has no REVIEW.md, AGENTS.md or CLAUDE.md). Read the whole diff against main: 12 files, +1163/-7. `git range-diff` between 5023544 and this head shows the second commit unchanged (`=`). The first commit differs only in two rebase resolutions: the README row above, and main.go's doc comment and usage, which keep main's new `changelog install` (#66) beside `waiting` and `nudge`. In the merged `run()`, the `changelog install` branch and the `waiting`/`nudge` branch both stand, in that order. - Merged 32e9162 into origin/main 745749e in my clone: no conflict (ort; README.md auto-merged). Everything below ran on that merged tree with the city's variables removed (`env -i`, proved to leave 0 of them). - `go vet ./...` passed. `go test -race -count=1 ./...` passed for `forgejo/assets/forgejo` and `roles/assets/roles`. `gc lint .`: "2 pack(s) ok". - All 16 scripts of the merged workflow passed. Lint job: formula (as #25 changed it), reviewer, operator-overlay, researcher. Scripts job: worktree-setup, worktree, gnu-tools, merge, handover, waiting, apply, upgrade, view-beads, view-mail, permission-deny, permission-request. The clone's tree was clean afterwards. - Changelog checker: built from the tagged source of sarak.sh/mikluko/changelog `v2` (087d7e8). It reports `valid=true` with `-base main` on the merged tree. - Release text: the latest tag is still v0.7.0, and none of main's fragments since then changes the minor bump this `Added` fragment makes. So "0.8.0" and `^0.8` in the README and the PR description still hold. - Requirement items 1-5 stand as in rounds 2 and 3. Every store, the rig list and the nudge queue are read before the tool decides. A failure in any of them exits 1 naming it, prints nothing and sends nothing. Every `gc` call carries `--city`, and with no city named the tool reads nothing. Also present: the order's one line and its release, the answer on failing orders (gascitypacks-lwe0), the README row and section, and the fragment.
city-root force-pushed worker/gascitypacks-fxmc from 32e9162ead
All checks were successful
test / changelog (pull_request) Successful in 5s
test / lint (pull_request) Successful in 25s
test / scripts (pull_request) Successful in 51s
to 9f311ca18e
All checks were successful
test / changelog (pull_request) Successful in 4s
test / lint (pull_request) Successful in 26s
test / scripts (pull_request) Successful in 51s
2026-11-12 19:31:18 +00:00
Compare
city-root dismissed city-root-review's review 2026-11-12 19:31:18 +00:00
Reason:

New commits pushed, approval review dismissed automatically according to repository settings

city-root-review requested changes 2026-11-12 19:40:17 +00:00
Dismissed
city-root-review left a comment

Review of 9f311ca18e for gascitypacks-fxmc. Checks of the head: success.

Verdict

fail

Findings

  • [blocking] PR description, paragraph "What the city's order becomes, and from which release": it still says the next release is 0.8.0 and that the gascity-root pull request moves [imports.roles] to ^0.8. main cut v0.8.0 (fbc07a5, #88) without this change, so the commands arrive in 0.9.0. The head's README (README.md:686) already says so, and so does commit e75e40b: the release after 0.8.0 is 0.9.0, and the constraint must move to ^0.9. Item 3 of the work bead asks the pull request to say from which release. As written, the description sends the gascity-root change to a constraint that does not reach the commands. Fix: change 0.8.0 to 0.9.0 and ^0.8 to ^0.9 in that paragraph. The "Round 1" paragraph's "0.8.0 and ^0.8" should say the same or be marked as superseded.
  • [blocking] PR description: the rework note of 20:28 asks for this: "Where main already carries a part of this change, drop that part and say so in the pull request's description." Commit 9f311ca did drop such a part. It removed the change's own copy of the Operator lookup in resolveOperator (roles/assets/roles/handover.go:274-281) in favour of main's gcx.FindOperator (internal/gcx/operator.go, #74). The description does not say so. Fix: add one line saying that main's internal/gcx now carries the lookup and that resolveOperator only reads $OPERATOR first and then calls it.

Both are edits to the description only. The code, the README, the fragment and the tests need no change, and I found nothing in them that blocks.

Verified

  • I read the work bead with all its notes, the PR description, review #342 (the pass on 32e9162), and main's REVIEW.md (new in #74) and README.md. main has no AGENTS.md or CLAUDE.md. I read the whole diff against main: 12 files, +1167/-32.
  • git range-diff from 32e9162 to this head: commit 2 is unchanged (=). Commit 1 differs only in the rebase resolutions onto d398bdb (#74). In the README roles row, main's "version" and "the roles tool in Go that the handover order and version start" are kept, and "waiting and nudge" is added. In main.go, the doc comment and usage keep main's version and changelog install beside waiting and nudge. Two new commits: e75e40b (README release text to 0.9.0 / ^0.9) and 9f311ca (resolveOperator reads $OPERATOR, else calls gcx.FindOperator). gcx.FindOperator has the same agent filter and the same errors as the removed copy. handover.go and waiting.go both go through resolveOperator.
  • I merged 9f311ca into origin/main 9e45e9e (#77) in my clone: no conflict (ort; README.md auto-merged). Everything below ran on that merged tree with the city's variables removed (env -i, proved to leave 0 of them).
  • go vet ./... passed. go test -race -count=1 ./... passed for forgejo, internal/budget, internal/gcx and roles. go test -v -run TestShellBudget ./internal/budget reports "29 units, 10 in the ledger, 0 findings": the two new run.sh stubs are two lines each, and tests/waiting.sh removes only its own mktemp -d directory.
  • gc lint .: "2 pack(s) ok". All 17 scripts of the merged workflow passed. Lint job: formula, reviewer, operator-overlay, researcher, pack-cache. Scripts job: worktree-setup, worktree, gnu-tools, merge, handover, waiting, apply, upgrade, view-beads, view-mail, permission-deny, permission-request. The clone's tree was clean afterwards.
  • Changelog checker: built from the tagged source of sarak.sh/mikluko/changelog v2 (087d7e8). It reports valid=true with -base main on the merged tree. The latest tag is v0.8.0, so this change's Added fragment makes 0.9.0, as the README says.
  • Requirement items 1, 2, 4 and 5 stand as in review #342. Item 3 stands in the README and fails in the description (first finding).
Review of 9f311ca18ed51936555ec04a3a087f101d1cf4a6 for gascitypacks-fxmc. Checks of the head: success. ### Verdict fail ### Findings - [blocking] PR description, paragraph "What the city's order becomes, and from which release": it still says the next release is 0.8.0 and that the gascity-root pull request moves `[imports.roles]` to `^0.8`. main cut v0.8.0 (fbc07a5, #88) without this change, so the commands arrive in 0.9.0. The head's README (README.md:686) already says so, and so does commit e75e40b: the release after 0.8.0 is 0.9.0, and the constraint must move to `^0.9`. Item 3 of the work bead asks the pull request to say from which release. As written, the description sends the gascity-root change to a constraint that does not reach the commands. Fix: change 0.8.0 to 0.9.0 and `^0.8` to `^0.9` in that paragraph. The "Round 1" paragraph's "0.8.0 and `^0.8`" should say the same or be marked as superseded. - [blocking] PR description: the rework note of 20:28 asks for this: "Where main already carries a part of this change, drop that part and say so in the pull request's description." Commit 9f311ca did drop such a part. It removed the change's own copy of the Operator lookup in `resolveOperator` (roles/assets/roles/handover.go:274-281) in favour of main's `gcx.FindOperator` (internal/gcx/operator.go, #74). The description does not say so. Fix: add one line saying that main's `internal/gcx` now carries the lookup and that `resolveOperator` only reads `$OPERATOR` first and then calls it. Both are edits to the description only. The code, the README, the fragment and the tests need no change, and I found nothing in them that blocks. ### Verified - I read the work bead with all its notes, the PR description, review #342 (the pass on 32e9162), and main's REVIEW.md (new in #74) and README.md. main has no AGENTS.md or CLAUDE.md. I read the whole diff against main: 12 files, +1167/-32. - `git range-diff` from 32e9162 to this head: commit 2 is unchanged (`=`). Commit 1 differs only in the rebase resolutions onto d398bdb (#74). In the README `roles` row, main's "`version`" and "the roles tool in Go that the `handover` order and `version` start" are kept, and "`waiting` and `nudge`" is added. In main.go, the doc comment and usage keep main's `version` and `changelog install` beside `waiting` and `nudge`. Two new commits: e75e40b (README release text to 0.9.0 / `^0.9`) and 9f311ca (`resolveOperator` reads `$OPERATOR`, else calls `gcx.FindOperator`). `gcx.FindOperator` has the same agent filter and the same errors as the removed copy. handover.go and waiting.go both go through `resolveOperator`. - I merged 9f311ca into origin/main 9e45e9e (#77) in my clone: no conflict (ort; README.md auto-merged). Everything below ran on that merged tree with the city's variables removed (`env -i`, proved to leave 0 of them). - `go vet ./...` passed. `go test -race -count=1 ./...` passed for forgejo, internal/budget, internal/gcx and roles. `go test -v -run TestShellBudget ./internal/budget` reports "29 units, 10 in the ledger, 0 findings": the two new `run.sh` stubs are two lines each, and `tests/waiting.sh` removes only its own `mktemp -d` directory. - `gc lint .`: "2 pack(s) ok". All 17 scripts of the merged workflow passed. Lint job: formula, reviewer, operator-overlay, researcher, pack-cache. Scripts job: worktree-setup, worktree, gnu-tools, merge, handover, waiting, apply, upgrade, view-beads, view-mail, permission-deny, permission-request. The clone's tree was clean afterwards. - Changelog checker: built from the tagged source of sarak.sh/mikluko/changelog `v2` (087d7e8). It reports `valid=true` with `-base main` on the merged tree. The latest tag is v0.8.0, so this change's `Added` fragment makes 0.9.0, as the README says. - Requirement items 1, 2, 4 and 5 stand as in review #342. Item 3 stands in the README and fails in the description (first finding).
city-root force-pushed worker/gascitypacks-fxmc from 9f311ca18e
All checks were successful
test / changelog (pull_request) Successful in 4s
test / lint (pull_request) Successful in 26s
test / scripts (pull_request) Successful in 51s
to 5bcb518ee5
All checks were successful
test / changelog (pull_request) Successful in 4s
test / lint (pull_request) Successful in 30s
test / scripts (pull_request) Successful in 50s
2026-11-12 19:44:34 +00:00
Compare
city-root-review left a comment

Review of 5bcb518ee5 for gascitypacks-fxmc. Checks of the head: success.

Verdict

pass

Findings

  • [minor] README.md:7 (the roles row): the row now lists waiting and nudge among the commands. It still ends "the roles tool in Go that the handover and failures orders and version start", but both new commands start that tool too (roles/commands/{waiting,nudge}/run.sh). Fix: add "waiting, nudge" to that clause in a later change. It does not block.

Review #351's two findings were both about the description, and both are addressed:

  • The release paragraph now says 0.9.0 and ^0.9, and it matches README.md:721 and the fragment. The changelog checker gives latest-tag=v0.8.0, so an Added fragment makes 0.9.0.
  • The 20:28 note asked the description to say what main already carried. Main moved after 9f311ca: #83 (b479852) moved env.operator into roles/assets/roles/common.go. The description now says that the change's own resolveOperator is dropped in favour of main's e.operator, and that is what the code does (waiting.go:214, agentOf). It also says correctly that gcx.FindOperator is used only by the forgejo tool (checks_order.go, order.go, revieworder.go, schedule.go). The 20:40 note allowed a code push only if main moved, and main did move. The push touches nothing outside the change: handover.go, failures.go and common.go are main's, byte for byte.

Verified

  • I read the work bead with all its notes, the PR description, review #351, and main's REVIEW.md and README.md. Main has no AGENTS.md or CLAUDE.md. I read the whole diff against main: 11 files, +1155/-4.
  • The head's merge base is origin/main b479852, so the merge is a fast-forward with no conflict.
  • Requirement items:
    • 1 (waiting, every store, open and in_progress alike, an unreadable store is an error naming it) is in waiting.go:66-151 and TestWaitingAStoreThatCannotBeReadIsAnErrorNamingIt. That test covers the HQ, first, middle and last rig, each with and without beads elsewhere.
    • 2 (nudge, the queue gate, a queue read failure is an error) is in runNudge/queued and the TestNudge* tests.
    • 3 (Go tests, and the order's one line and its release) is in waiting_test.go, README.md:715-721 and the description.
    • 4 (how the Operator learns of a failing order) points at main's failures order. defaultStreak = 3 and the ORDER FAILING/ORDER RECOVERED subjects are in failures.go:26,314,327, and the README section "The failures order" is there.
    • 5 is the fragment .changelog/waiting-nudge.md and the README row and section.
  • Every gc call carries --city, the agent lookup and the nudge included: forCity is applied before agentOf, and TestNudgeEveryCallIsOnTheCityNamed holds it. With no city the commands exit 1 and make no call.
  • Everything below ran on the merged tree with the city's variables removed (env -i, proved to leave 0 of them):
    • go vet ./... passed.
    • go test -race -count=1 ./... passed for forgejo, internal/budget, internal/gcx and roles.
    • go test -v -run TestShellBudget ./internal/budget reports "31 units, 10 in the ledger, 0 findings". The two run.sh stubs are two lines each. tests/waiting.sh removes only its own mktemp -d directory, in an EXIT trap.
    • gc lint . (with a throwaway HOME) reports "2 pack(s) ok".
    • All 19 scripts of the workflow's lint and scripts jobs exit 0: formula, reviewer, operator-overlay, researcher, researcher-formula, pack-cache, worktree-setup, worktree, gnu-tools, merge, handover, failures, waiting, apply, upgrade, view-beads, view-mail, permission-deny, permission-request.
    • The clone's tree was clean afterwards.
  • The changelog checker was built from the tagged source of sarak.sh/mikluko/changelog v2 (087d7e8). It reports valid=true with -base main on the merged tree.
Review of 5bcb518ee5b0992c11e2924a1a9a24f9f1365850 for gascitypacks-fxmc. Checks of the head: success. ### Verdict pass ### Findings - [minor] README.md:7 (the `roles` row): the row now lists `waiting` and `nudge` among the commands. It still ends "the roles tool in Go that the `handover` and `failures` orders and `version` start", but both new commands start that tool too (`roles/commands/{waiting,nudge}/run.sh`). Fix: add "`waiting`, `nudge`" to that clause in a later change. It does not block. Review #351's two findings were both about the description, and both are addressed: - The release paragraph now says 0.9.0 and `^0.9`, and it matches README.md:721 and the fragment. The changelog checker gives `latest-tag=v0.8.0`, so an `Added` fragment makes 0.9.0. - The 20:28 note asked the description to say what main already carried. Main moved after 9f311ca: #83 (b479852) moved `env.operator` into `roles/assets/roles/common.go`. The description now says that the change's own `resolveOperator` is dropped in favour of main's `e.operator`, and that is what the code does (`waiting.go:214`, `agentOf`). It also says correctly that `gcx.FindOperator` is used only by the forgejo tool (`checks_order.go`, `order.go`, `revieworder.go`, `schedule.go`). The 20:40 note allowed a code push only if main moved, and main did move. The push touches nothing outside the change: `handover.go`, `failures.go` and `common.go` are main's, byte for byte. ### Verified - I read the work bead with all its notes, the PR description, review #351, and main's REVIEW.md and README.md. Main has no AGENTS.md or CLAUDE.md. I read the whole diff against main: 11 files, +1155/-4. - The head's merge base is origin/main b479852, so the merge is a fast-forward with no conflict. - Requirement items: - 1 (`waiting`, every store, open and in_progress alike, an unreadable store is an error naming it) is in `waiting.go:66-151` and `TestWaitingAStoreThatCannotBeReadIsAnErrorNamingIt`. That test covers the HQ, first, middle and last rig, each with and without beads elsewhere. - 2 (`nudge`, the queue gate, a queue read failure is an error) is in `runNudge`/`queued` and the `TestNudge*` tests. - 3 (Go tests, and the order's one line and its release) is in `waiting_test.go`, README.md:715-721 and the description. - 4 (how the Operator learns of a failing order) points at main's `failures` order. `defaultStreak = 3` and the `ORDER FAILING`/`ORDER RECOVERED` subjects are in `failures.go:26,314,327`, and the README section "The failures order" is there. - 5 is the fragment `.changelog/waiting-nudge.md` and the README row and section. - Every `gc` call carries `--city`, the agent lookup and the nudge included: `forCity` is applied before `agentOf`, and `TestNudgeEveryCallIsOnTheCityNamed` holds it. With no city the commands exit 1 and make no call. - Everything below ran on the merged tree with the city's variables removed (`env -i`, proved to leave 0 of them): - `go vet ./...` passed. - `go test -race -count=1 ./...` passed for forgejo, internal/budget, internal/gcx and roles. - `go test -v -run TestShellBudget ./internal/budget` reports "31 units, 10 in the ledger, 0 findings". The two `run.sh` stubs are two lines each. `tests/waiting.sh` removes only its own `mktemp -d` directory, in an EXIT trap. - `gc lint .` (with a throwaway HOME) reports "2 pack(s) ok". - All 19 scripts of the workflow's lint and scripts jobs exit 0: formula, reviewer, operator-overlay, researcher, researcher-formula, pack-cache, worktree-setup, worktree, gnu-tools, merge, handover, failures, waiting, apply, upgrade, view-beads, view-mail, permission-deny, permission-request. - The clone's tree was clean afterwards. - The changelog checker was built from the tagged source of sarak.sh/mikluko/changelog `v2` (087d7e8). It reports `valid=true` with `-base main` on the merged tree.
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!82
No description provided.