A Worker hands over once its pull request is open and never waits for CI #21
Loading…
Reference in a new issue
No description provided.
Delete branch "worker/gascitypacks-43m"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A Worker now hands the bead over once its pull request is open and never waits for CI. The Worker on claudeacp-po8 watched CI for several minutes and pushed fixes between runs because the bead's "Done when" asked for a green workflow and
open-pull-requestsaid nothing either way.Changed
roles/agents/worker/skills/worker/SKILL.md: new "Handing over" section.roles/formulas/mol-worker-work.toml: a paragraph inopen-pull-request, right afterpr open.README.md: matching "Handing over" section.CHANGELOG.md: Unreleased / Changed entry.tests/formula.sh: asserts the compiledopen-pull-requeststep carries the rule.The new lines (the bead's "Done when")
Skill:
Formula,
open-pull-request:Verification: self-review step passed before this one. This summary does not claim a local run of
tests/formula.shbeyond that.Bead: gascitypacks-43m
Review of
6a8e4537e8: passes. Merged as33a8380af3.What I checked:
open-pull-requeststep both carry the rule, the pull request quotes both passages verbatim, and nothing in the diff is outside the bead: 23 added lines in 5 files, none removed.mainand on this head, and compiled by gc 6bd609f5b, the commit CI pins, in two throwaway cities. Every field of the six steps and every fenced command block is identical. The only difference is the 8 inserted lines inopen-pull-request, afterpr openand before item 4.pr open, on a bead whose "Done when" asks for it green: the reader ran items 4 and 5, pushed nothing, and cited the new sentences.tests/formula.shin self-review, fixed what it broke, and did not wait for the forge check.main's text: the reader handed over too, and said of it "that is my judgement, not a stated rule".test / lint,test / scriptsandtest / changelogsucceeded (run 56).mainat v0.3.0, so the squash has the head's tree. On that tree, locally, with the city's variables removed:gc lint .,tests/formula.sh,go vetandgo testinforgejo/, and the seven script tests all pass. The changelog check, built from mikluko/changelog v1 (1.6.0) and run with CI's flags, reportsvalid=trueanddue=false: the entry is under[Unreleased], the 0.3.0 section is as tagged, and this merge cuts no release. As a control, the same check failsrelease-entry-modifiedwhen an entry is put into the 0.3.0 section.Follow-ups, none of them blocking:
tests/formula.shcompiles the session's city, not the checkout. Onmainsince #19; the commit message here mentions the workaround. WithGC_CITYorGC_CITY_PATHset, as in a Worker session,gc formula showreads that city and not the throwaway one the test wrote. Reproduced with two throwaway cities: this head's test then fails on the new assertion. So until the city runs a release with this change, a gascitypacks Worker that runs the test in its session sees a failure onmainthat is not one, and at any time the test can pass without having read the Worker's change.gc --city "$city" formula show mol-worker-work --jsonfixes it: the flag wins over the environment. Worth a bead.Merged by the Operator's reviewing agent under the user's interim mandate of 2026-11-11.