The Worker's skill: every claim true of the head, and every test seen to fail without the change #59

Merged
city-root merged 1 commit from worker/gascitypacks-w30 into main 2026-11-12 17:24:59 +00:00
Contributor

The Worker's skill (roles/agents/worker/skills/worker/SKILL.md) gets two rules under "Handing over", from the factory review of 2026-11-12 (item 6): every claim a Worker wrote about the code, in the README, docs, comments, changelog fragment and this description, is checked against the commit it pushes, after its last change; and for each test it added or changed it undoes the change the test is for, sees the test fail, restores the change, and says so here, naming any test it could not do it for.

Also: a paragraph in README's "Handing over" section, a .changelog/ fragment, and seven phrase checks in tests/formula.sh. No shell logic was added beyond grep -qF lines in the existing style; the formula is unchanged.

Checked at the head: bash tests/formula.sh prints ok. Test undone: with SKILL.md as on origin/main, the new checks fail (seven FAIL lines); restored, they pass. Every test I added is covered by that; none was left unchecked. The README, fragment and this text were read again against the pushed commit.

Bead: gascitypacks-w30

The Worker's skill (`roles/agents/worker/skills/worker/SKILL.md`) gets two rules under "Handing over", from the factory review of 2026-11-12 (item 6): every claim a Worker wrote about the code, in the README, docs, comments, changelog fragment and this description, is checked against the commit it pushes, after its last change; and for each test it added or changed it undoes the change the test is for, sees the test fail, restores the change, and says so here, naming any test it could not do it for. Also: a paragraph in README's "Handing over" section, a `.changelog/` fragment, and seven phrase checks in `tests/formula.sh`. No shell logic was added beyond `grep -qF` lines in the existing style; the formula is unchanged. Checked at the head: `bash tests/formula.sh` prints `ok`. Test undone: with `SKILL.md` as on origin/main, the new checks fail (seven `FAIL` lines); restored, they pass. Every test I added is covered by that; none was left unchecked. The README, fragment and this text were read again against the pushed commit. Bead: gascitypacks-w30
feat: the Worker's skill holds two rules before the hand-over (gascitypacks-w30)
All checks were successful
test / changelog (pull_request) Successful in 4s
test / lint (pull_request) Successful in 29s
test / scripts (pull_request) Successful in 33s
486b284bc4
The factory review of 2026-11-12 (HQ root-i0s, item 6) found that 23% of the reviewer's findings were untrue claims in docs or changelog entries and 15% were weak tests, and that rework was 26% of all Worker time that day.

The skill's Handing over section now gives the two rules the review asked for: every claim is checked against the commit pushed, after the last change, and each test added or changed is seen to fail with its change undone, the pull request saying so and naming any test it could not do it for. The README's Handing over section says the same in one paragraph, and a changelog fragment notes it. The formula is unchanged: its step is near the size limit tests/formula.sh keeps.

Validation: tests/formula.sh holds the skill to both rules by their phrases. With the skill as on origin/main the new checks fail (seven FAIL lines); with the change they pass.
city-root-review requested changes 2026-11-12 14:07:53 +00:00
Dismissed
city-root-review left a comment

Review of 486b284bc4 for gascitypacks-w30. Checks of the head: success.

Verdict

fail

Findings

  • [blocking] README.md:444 and tests/formula.sh:320: the pull request does not merge into the current main (b05a214); the forge says not_mergeable and git merge conflicts in both files. It was cut from 53a9474, and two later merges added text at the same places: #78 put the section "### The handover order" right after the "A Worker never waits for CI" paragraph of README's "Handing over", and #55 put the Operator's skill checks (the holds helper and its lines) right before the final [ "$failures" -eq 0 ] of tests/formula.sh. Rebase onto origin/main and keep both sides. In README, the new paragraph goes after "A Worker never waits for CI…" and before "### The handover order", so it stays with the Worker's hand-over and does not land inside the order's subsection. In tests/formula.sh, keep main's Operator block and the seven new Worker checks. I resolved it that way in my own clone and everything below passed, so the rebase should need nothing more.
  • [minor] tests/formula.sh:320-331: after the rebase, main has a holds <file> <phrase> <what> helper in the same file for exactly this kind of check. Using it for the seven lines is optional: the plain grep -qF ... || fail lines are correct as they are.

Verified

  • Read the work bead gascitypacks-w30, the pull request's description, and the whole diff (4 files, +23). main has no REVIEW.md, AGENTS.md or CLAUDE.md; I read its README.
  • Done-when of the bead: both rules are in roles/agents/worker/skills/worker/SKILL.md under "## Handing over", written as steps a Worker can act on (claims checked one by one against the pushed commit, the description written last from the head; undo the change, see the test fail, restore it, check git diff, and name in the description each test that could not be checked). tests/formula.sh holds both by seven phrases. There is a fragment in .changelog/. No shell logic was added beyond grep -qF lines. main did not change SKILL.md since the branch point, and it merges cleanly.
  • The claims in the PR description, README paragraph and fragment, checked at the head: there are seven checks; with SKILL.md as on origin/main, bash tests/formula.sh prints the seven new FAIL lines; restored, it prints ok. Each phrase occurs in the new text only (for example see it fail occurs 0 times on main and once at the head).
  • On my trial merge with origin/main (conflicts resolved as above), run with the city's variables removed: gc lint . (2 packs ok), bash tests/formula.sh ok, bash tests/reviewer.sh ok, go vet ./... ok, go test -race ./... ok, and the scripts job (worktree-setup, worktree, gnu-tools, merge, handover, apply, upgrade, view-beads, view-mail, permission-deny, permission-request) all ok. The changelog checker, built from mikluko/changelog tag v2 with -base=main, reports valid=true and no findings.
  • The checks of the head on the forge: success.
Review of 486b284bc4e5bccea40235130674b2bead943223 for gascitypacks-w30. Checks of the head: success. ### Verdict fail ### Findings - [blocking] README.md:444 and tests/formula.sh:320: the pull request does not merge into the current `main` (b05a214); the forge says `not_mergeable` and `git merge` conflicts in both files. It was cut from 53a9474, and two later merges added text at the same places: #78 put the section "### The handover order" right after the "A Worker never waits for CI" paragraph of README's "Handing over", and #55 put the Operator's skill checks (the `holds` helper and its lines) right before the final `[ "$failures" -eq 0 ]` of `tests/formula.sh`. Rebase onto `origin/main` and keep both sides. In README, the new paragraph goes after "A Worker never waits for CI…" and before "### The handover order", so it stays with the Worker's hand-over and does not land inside the order's subsection. In `tests/formula.sh`, keep main's Operator block and the seven new Worker checks. I resolved it that way in my own clone and everything below passed, so the rebase should need nothing more. - [minor] tests/formula.sh:320-331: after the rebase, main has a `holds <file> <phrase> <what>` helper in the same file for exactly this kind of check. Using it for the seven lines is optional: the plain `grep -qF ... || fail` lines are correct as they are. ### Verified - Read the work bead gascitypacks-w30, the pull request's description, and the whole diff (4 files, +23). `main` has no REVIEW.md, AGENTS.md or CLAUDE.md; I read its README. - Done-when of the bead: both rules are in `roles/agents/worker/skills/worker/SKILL.md` under "## Handing over", written as steps a Worker can act on (claims checked one by one against the pushed commit, the description written last from the head; undo the change, see the test fail, restore it, check `git diff`, and name in the description each test that could not be checked). `tests/formula.sh` holds both by seven phrases. There is a fragment in `.changelog/`. No shell logic was added beyond `grep -qF` lines. `main` did not change SKILL.md since the branch point, and it merges cleanly. - The claims in the PR description, README paragraph and fragment, checked at the head: there are seven checks; with SKILL.md as on origin/main, `bash tests/formula.sh` prints the seven new `FAIL` lines; restored, it prints `ok`. Each phrase occurs in the new text only (for example `see it fail` occurs 0 times on main and once at the head). - On my trial merge with origin/main (conflicts resolved as above), run with the city's variables removed: `gc lint .` (2 packs ok), `bash tests/formula.sh` ok, `bash tests/reviewer.sh` ok, `go vet ./...` ok, `go test -race ./...` ok, and the scripts job (worktree-setup, worktree, gnu-tools, merge, handover, apply, upgrade, view-beads, view-mail, permission-deny, permission-request) all ok. The changelog checker, built from mikluko/changelog tag v2 with `-base=main`, reports `valid=true` and no findings. - The checks of the head on the forge: success.
mikluko force-pushed worker/gascitypacks-w30 from 486b284bc4
All checks were successful
test / changelog (pull_request) Successful in 4s
test / lint (pull_request) Successful in 29s
test / scripts (pull_request) Successful in 33s
to eef88cc053
All checks were successful
test / lint (pull_request) Successful in 23s
test / changelog (pull_request) Successful in 4s
test / scripts (pull_request) Successful in 37s
2026-11-12 14:11:19 +00:00
Compare
city-root-review left a comment

Review of eef88cc053 for gascitypacks-w30. Checks of the head: success.

Verdict

pass

Findings

  • None blocking. The finding of round 1 (review 248 on 486b284: no clean merge into main) is resolved: the head is one commit on 915ce14, the forge says mergeable, and git merge into the current main (0e49d7c, which has moved by three merges since) is clean, with no conflicts. In README, the new paragraph sits after "A Worker never waits for CI…" and before "### The handover order", as asked. In tests/formula.sh, the seven checks come after main's Operator and city-skill block, right before the final [ "$failures" -eq 0 ].
  • The optional holds helper of round 1 was not used. The plain grep -qF … || fail lines are correct, and nothing needs to change.

Verified

  • Read the work bead (description, and the note of round 1), the pull request's description, and the whole diff: 4 files, +23. main has no REVIEW.md, AGENTS.md or CLAUDE.md; I read its README.
  • Done-when of the bead:
    • Both rules are in roles/agents/worker/skills/worker/SKILL.md under "## Handing over", as steps a Worker can act on. Rule 1: check the claims one by one against the pushed commit, after the last change, and write the description last from the head. Rule 2: undo the change, see the test fail, restore it, check that git diff is clean, and name in the description each test that could not be checked, with the reason.
    • tests/formula.sh holds both rules by seven phrases. $skill (line 291) is still the Worker's skill where the checks use it.
    • There is a fragment in .changelog/.
    • No shell logic was added beyond grep -qF lines.
  • The claims of the description, the README paragraph and the fragment, checked on the merge:
    • There are seven checks, and each phrase occurs 0 times in main's SKILL.md and once at the head.
    • With SKILL.md as on origin/main, bash tests/formula.sh prints exactly the seven new FAIL lines. Restored, it prints ok, and git status is clean.
  • On the merge with origin/main (0e49d7c), run with the city's variables removed:
    • Lint job: gc lint . (2 packs ok), bash tests/formula.sh, tests/reviewer.sh and tests/operator-overlay.sh all ok; go vet ./... and go test -race ./... ok.
    • Scripts job: worktree-setup, worktree, gnu-tools, merge, handover, apply, upgrade, view-beads, view-mail, permission-deny and permission-request all ok.
    • Changelog job: the checker, built from mikluko/changelog tag v2 (087d7e8) and run with -base=main, reports valid=true, with no findings.
  • The checks of the head on the forge: success.
Review of eef88cc053f9423fe8d829afcd97c614b9124360 for gascitypacks-w30. Checks of the head: success. ### Verdict pass ### Findings - None blocking. The finding of round 1 (review 248 on 486b284: no clean merge into `main`) is resolved: the head is one commit on 915ce14, the forge says `mergeable`, and `git merge` into the current `main` (0e49d7c, which has moved by three merges since) is clean, with no conflicts. In README, the new paragraph sits after "A Worker never waits for CI…" and before "### The handover order", as asked. In `tests/formula.sh`, the seven checks come after main's Operator and city-skill block, right before the final `[ "$failures" -eq 0 ]`. - The optional `holds` helper of round 1 was not used. The plain `grep -qF … || fail` lines are correct, and nothing needs to change. ### Verified - Read the work bead (description, and the note of round 1), the pull request's description, and the whole diff: 4 files, +23. `main` has no REVIEW.md, AGENTS.md or CLAUDE.md; I read its README. - Done-when of the bead: - Both rules are in `roles/agents/worker/skills/worker/SKILL.md` under "## Handing over", as steps a Worker can act on. Rule 1: check the claims one by one against the pushed commit, after the last change, and write the description last from the head. Rule 2: undo the change, see the test fail, restore it, check that `git diff` is clean, and name in the description each test that could not be checked, with the reason. - `tests/formula.sh` holds both rules by seven phrases. `$skill` (line 291) is still the Worker's skill where the checks use it. - There is a fragment in `.changelog/`. - No shell logic was added beyond `grep -qF` lines. - The claims of the description, the README paragraph and the fragment, checked on the merge: - There are seven checks, and each phrase occurs 0 times in main's SKILL.md and once at the head. - With SKILL.md as on `origin/main`, `bash tests/formula.sh` prints exactly the seven new `FAIL` lines. Restored, it prints `ok`, and `git status` is clean. - On the merge with `origin/main` (0e49d7c), run with the city's variables removed: - Lint job: `gc lint .` (2 packs ok), `bash tests/formula.sh`, `tests/reviewer.sh` and `tests/operator-overlay.sh` all ok; `go vet ./...` and `go test -race ./...` ok. - Scripts job: worktree-setup, worktree, gnu-tools, merge, handover, apply, upgrade, view-beads, view-mail, permission-deny and permission-request all ok. - Changelog job: the checker, built from mikluko/changelog tag v2 (087d7e8) and run with `-base=main`, reports `valid=true`, with no findings. - The checks of the head on the forge: success.
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!59
No description provided.