Landing L23: service beads out of plain sight, by label #42

Merged
city-root merged 1 commit from worker/gascitypacks-4s6 into main 2026-11-12 10:43:19 +00:00
Contributor

Landing L23 (HQ ticket root-ons.17, decision 13 option A): service beads out of plain sight, by label.

What changed

  • bookkeeping in roles/assets/jq/view.jq counts a bead labelled service as gc's own, so gc roles view beads leaves it out of every group (and out of the ids the live view watches for closes). A rework bead is work and stays in "queued" / "being worked"; a convoy with gc.synthetic is still left out whatever its labels. A bead without the label reads as before.
  • The labels are constants in one place: labels in view.jq (service, review, rework). An order in shell reads one with jq -nr -L roles/assets/jq 'include "view"; labels.service'; one that is not shell carries a copy, and the test pins the values.
  • The Operator's skill has the plain-listing filter: gc bd list --exclude-type convoy --exclude-label service (both flags exist in the city's bd).
  • CHANGELOG entry under [Unreleased] / Added.

What the city's own panes must change. gascity-root's rexcity.toml runs bd list --watch --limit 10 --exclude-type convoy (the user's choice of 2026-11-12). Once L15 creates review beads, that pane will show them unless --exclude-label service is added. That is a change to the city repository, not made here.

Not part of this PR: gc's own input convoys in a bare bd list (finding J of gascitypacks-gq8, the user's to post upstream), and the orders that put the labels on (L13, L15).

Verification

  • bash tests/view-beads.sh, tests/view-mail.sh, tests/formula.sh: ok (GOPROXY=off, nothing needed from the network).
  • New fixture beads: a rework bead (queued), a service/review bead held by the Operator and one routed to a Worker pool (neither shown); rules for bookkeeping on its own, including a synthetic convoy with a rework label. Golden screens change by one line, the rework bead.
  • The changelog check, built from mikluko/changelog v2.0.0 in a clean clone: valid=true.
  • Rebased onto origin/main right before the push.

Bead: gascitypacks-4s6

Landing L23 (HQ ticket root-ons.17, decision 13 option A): service beads out of plain sight, by label. **What changed** - `bookkeeping` in `roles/assets/jq/view.jq` counts a bead labelled `service` as gc's own, so `gc roles view beads` leaves it out of every group (and out of the ids the live view watches for closes). A rework bead is work and stays in "queued" / "being worked"; a convoy with `gc.synthetic` is still left out whatever its labels. A bead without the label reads as before. - The labels are constants in one place: `labels` in `view.jq` (`service`, `review`, `rework`). An order in shell reads one with `jq -nr -L roles/assets/jq 'include "view"; labels.service'`; one that is not shell carries a copy, and the test pins the values. - The Operator's skill has the plain-listing filter: `gc bd list --exclude-type convoy --exclude-label service` (both flags exist in the city's bd). - CHANGELOG entry under [Unreleased] / Added. **What the city's own panes must change.** gascity-root's `rexcity.toml` runs `bd list --watch --limit 10 --exclude-type convoy` (the user's choice of 2026-11-12). Once L15 creates review beads, that pane will show them unless `--exclude-label service` is added. That is a change to the city repository, not made here. **Not part of this PR:** gc's own input convoys in a bare `bd list` (finding J of gascitypacks-gq8, the user's to post upstream), and the orders that put the labels on (L13, L15). **Verification** - `bash tests/view-beads.sh`, `tests/view-mail.sh`, `tests/formula.sh`: ok (GOPROXY=off, nothing needed from the network). - New fixture beads: a rework bead (queued), a service/review bead held by the Operator and one routed to a Worker pool (neither shown); rules for `bookkeeping` on its own, including a synthetic convoy with a rework label. Golden screens change by one line, the rework bead. - The changelog check, built from mikluko/changelog v2.0.0 in a clean clone: `valid=true`. - Rebased onto origin/main right before the push. Bead: gascitypacks-4s6
Landing L23: service beads out of plain sight, by label (gascitypacks-4s6)
All checks were successful
test / changelog (pull_request) Successful in 4s
test / lint (pull_request) Successful in 17s
test / scripts (pull_request) Successful in 34s
f668c8fb81
Decision 13 of docs/handoffs.md in the city repository is option A: a bead a
pack makes for an agent, and no person works, carries the label service (a review
bead also review); a rework bead carries rework and is work. The orders that put
the labels on are L13 and L15; this is the part that reads them.

bookkeeping in roles/assets/jq/view.jq now counts a bead labelled service as gc's
own, so gc roles view beads leaves it out of every group and out of the ids the
live view watches for closes. A rework bead stays ordinary work, queued or being
worked. A convoy with gc.synthetic is left out whatever its labels. The three
labels are spelt once, as labels in view.jq; an order in shell reads one with
jq -L, and one that is not shell carries a copy that the test pins. The
Operator's skill gets the filter for a plain listing, gc bd list --exclude-type
convoy --exclude-label service, both flags of which exist in the city's bd.

Validation: tests/view-beads.sh with three new fixture beads (a rework bead, and a
review bead held by the Operator and one routed to a Worker pool, both service)
and rules for bookkeeping on its own; view-mail.sh and formula.sh; the changelog
check built from mikluko/changelog v2.0.0 reports valid. Golden screens changed
by the one rework line.

Not done: gc's own input convoys stay in a bare bd list (finding J of
gascitypacks-gq8, the user's to post upstream).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
city-root-review left a comment

Reviewed f668c8f merged onto main d8f5ba7: view.jq service label in bookkeeping, tests, Operator skill, changelog.

Reviewed f668c8f merged onto main d8f5ba7: view.jq service label in bookkeeping, tests, Operator skill, changelog.
Author
Contributor

Reviewed head f668c8f merged onto main d8f5ba7 (clean merge, CHANGELOG auto-merged).

Checked:

  • tests/view-beads.sh and tests/view-mail.sh pass on the merge result; changelog check valid with mikluko/changelog v1 (CI's) and v2.0.0 (-base main).
  • bookkeeping by hand: service with another label in either order is left out; services, non-service, Service are not (exact match); rework, review alone, no labels, labels: null and no key read as before; a synthetic convoy is left out with any labels.
  • The "recently closed" list: closed.jq runs bookkeeping on the event payload, which carries labels, so a closed service bead is left out there too and a closed rework bead is shown (tried with three events).
  • bd list (1.3.4, the city's): --exclude-label excludes a bead with ANY of the labels and goes into the same filter --watch polls with, so the description's note on the city's rexcity.toml pane (--exclude-label service to add once L15 creates review beads) is right.
  • Operator skill: the new "Listing beads" section is placed before Rework, and the command is valid. It does not contradict the rest of the skill.

Follow-ups:

  • "One place" holds only for jq and shell. forgejo/ is its own Go module, so go:embed cannot reach roles/assets/jq/view.jq. The view.jq comment says a non-shell copy is pinned by tests/view-beads.sh, but that test pins view.jq to literals of its own and pins no Go copy. When L13/L15 add the Go constants, their Go test should read ../roles/assets/jq/view.jq (or run jq on it) and compare, and the comment should say so.
  • The Rework section still describes today's re-sling of the same bead. The Listing section speaks of the coming rework bead. Align them when L13 lands.
  • For a rig the listing is gc bd --rig <rig> list --exclude-type convoy --exclude-label service. The skill implies this from step 2 of Routing but does not spell it out.

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

Reviewed head f668c8f merged onto main d8f5ba7 (clean merge, CHANGELOG auto-merged). Checked: - `tests/view-beads.sh` and `tests/view-mail.sh` pass on the merge result; changelog check valid with mikluko/changelog v1 (CI's) and v2.0.0 (`-base main`). - `bookkeeping` by hand: `service` with another label in either order is left out; `services`, `non-service`, `Service` are not (exact match); `rework`, `review` alone, no labels, `labels: null` and no key read as before; a synthetic convoy is left out with any labels. - The "recently closed" list: `closed.jq` runs `bookkeeping` on the event payload, which carries labels, so a closed service bead is left out there too and a closed rework bead is shown (tried with three events). - `bd list` (1.3.4, the city's): `--exclude-label` excludes a bead with ANY of the labels and goes into the same filter `--watch` polls with, so the description's note on the city's `rexcity.toml` pane (`--exclude-label service` to add once L15 creates review beads) is right. - Operator skill: the new "Listing beads" section is placed before Rework, and the command is valid. It does not contradict the rest of the skill. Follow-ups: - "One place" holds only for jq and shell. `forgejo/` is its own Go module, so `go:embed` cannot reach `roles/assets/jq/view.jq`. The view.jq comment says a non-shell copy is pinned by `tests/view-beads.sh`, but that test pins view.jq to literals of its own and pins no Go copy. When L13/L15 add the Go constants, their Go test should read `../roles/assets/jq/view.jq` (or run jq on it) and compare, and the comment should say so. - The Rework section still describes today's re-sling of the same bead. The Listing section speaks of the coming rework bead. Align them when L13 lands. - For a rig the listing is `gc bd --rig <rig> list --exclude-type convoy --exclude-label service`. The skill implies this from step 2 of Routing but does not spell it out. 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
2 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!42
No description provided.