Repository navigation
fix(running-in-ci): don't ask outsiders to do work the bot can't do itself - #789
Merged
Merged
Conversation
…self When a check needs an environment CI lacks (Windows, hardware), the bot must not hand the verification to an outside party — least of all an upstream maintainer reviewing its change as a favor. Adds a 'Who to ask when you can't do it yourself' hierarchy (do it yourself → make it doable in your own repo → ask your own contributor → escalate to your own maintainer) and redirects the 'ask a human' escape hatch in 'Verifying external-tool behavior' to route through it. Closes #788
max-sixty
added a commit
that referenced
this pull request
Jul 24, 2026
## Summary Cuts release 0.1.12. 5 commits since 0.1.11: - Raise default harness timeout to 5h50m (#790) - Stop asking upstream maintainers to do verification the bot couldn't do itself (#789) - Fail loud on transient `gh` errors in `list-recent-runs.sh` instead of a false all-clear (#784) - Bump pinned `claude_version` to 2.1.215 (#782) - Tolerate transient non-JSON `gh api` responses in notifications (#780) (`#778`, a routine post-0.1.11 workflow regen, is omitted from the changelog as non-user-facing.) ## Test plan - [x] `wt test` — 276 passed - [x] `pre-commit run --all-files` — passed - [ ] CI green on this PR - [ ] Tag `0.1.12` and push after merge to trigger PyPI publish + GitHub Release > _This was written by Claude Code on behalf of Maximilian Roos_
max-sixty
pushed a commit
to max-sixty/worktrunk
that referenced
this pull request
Jul 25, 2026
Automated nightly regeneration of tend's workflow files via `uvx tend@latest init`, picking up the tend release since the last regen. **tend version:** 0.1.11 → 0.1.12 **Notable changes:** - **Notifications workflow tolerates transient `gh api` blips** — the notifications fetch now retries on non-JSON responses (e.g. an HTML error page returned with a 200 during an API blip) and skips the cycle cleanly instead of aborting the step red (max-sixty/tend#780). - **`review-runs` fails loud on transient `gh` errors** — a failed run enumeration no longer reports a false all-clear; it surfaces the error so the run isn't silently treated as clean (max-sixty/tend#784). - **`running-in-ci` guidance** — the bot no longer asks outside contributors to do work it can't do itself (max-sixty/tend#789). - **Harness bumps** — Claude harness version bumped to 2.1.215 (max-sixty/tend#782) and the default harness timeout raised to 5h50m (max-sixty/tend#790). Compare: max-sixty/tend@0.1.11...0.1.12 Co-authored-by: worktrunk-bot <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
A tend consumer's bot, after upstreaming a fix to another repo, closed its PR comment with "If you can confirm on a real Windows terminal I'd appreciate it" — handing verification work to the maintainer of another repo who was doing the bot a favor by reviewing and merging the change. #788 flags this as out of bounds and gives the intended hierarchy: do the task itself → offer to make changes so it can do the task itself (e.g. add a Windows CI job) → ask a contributor of its own repo → escalate to its own maintainer; it shouldn't ask outsiders.
Root cause is a bundled-skill gap. The
running-in-ciVerifying external-tool behavior section ends with a generic escape hatch — "ask a human with the tool installed to confirm." In an upstream thread the nearest "human with the tool installed" is the reviewing maintainer, so the guidance actively steers the bot toward the behavior #788 objects to. Nothing in the bundled skills established who is and isn't appropriate to ask.Solution
In
plugins/tend-ci-runner/skills/running-in-ci/SKILL.md:This is a bundled default, so it reaches every tend consumer at the next release. It's complementary to #770 (permit maintainer-invited upstream contributions): #770 says the bot may contribute upstream when invited; this says that while doing so it still owns its own verification and doesn't offload it onto the host maintainer.
Testing
Skill-text change (no code path to unit-test). Reproduction is the linked real-world comment; the fix removes the guidance that steered toward it and states the correct hierarchy. Verified no duplication of this rule exists in the shared system prompt or co-loaded skills before adding it.
Closes #788 — automated triage