Skip to content

Resume unfinished bot repairs from live PR state - #1479

Merged
max-sixty merged 3 commits into
mainfrom
codex/repair-continuation
Oct 2, 2026
Merged

max-sixty merged 3 commits into
mainfrom
codex/repair-continuation

Conversation

@max-sixty

@max-sixty max-sixty commented Oct 2, 2026 •

Copy link
Copy Markdown
Owner

Tend could answer a status question or recognize an existing repair PR while leaving the original repair unfinished. Reply deduplication ended the turn, and ci-fix treated an existing bot PR as a reason to stop.

Resume unfinished bot repairs on their existing branches using current PR state. A shared continuation skill reads prior attempts, live checks, and unresolved findings; mention handling, notifications, and ci-fix invoke it. The existing daily review-runs sweep also visits open bot PRs so a quiet repair can resume without a new comment.

Move mention instructions into a named workflow skill for both harnesses. Duplicate-reply prevention suppresses another post while allowing outstanding work to continue. Repeated attempts at the same failure require new evidence or a materially different approach before another push; diagnosis can continue. The shared yolo CI recipe also rechecks dedicated ownership, review findings, draft status, and human merge holds before its existing SHA-pinned merge.

Validation: the full local test run passed (1,366 Python tests, 32 Worker tests, and typecheck); after integrating current main, all 245 affected generator, skill-contract, and native-eval tests passed. Full pre-commit passed. A frozen offline action-pair reproduced the answered-trigger stop on the baseline and repair/push/pinned verification with the candidate; a reviewer-starts-after-push replay retained the merge hold. The answered-trigger replay passed again after the repeated-attempt refinement. These are bounded replay results, not a measured production failure rate, and this PR does not repair Leaf PR1506 itself.

Committed consumer workflows remain pinned to the published release; this generator change reaches them through release and regeneration.

This was written by Codex on behalf of max-sixty

@tend-agent tend-agent left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

continue-pr has no stopping point for a repair the bot keeps failing at. The new review-runs bullet continues every open bot PR every day, and only a green proposal, a maintainer hold, or an unchanged external blocker exempts one. Meanwhile continue-pr says a failed attempt or an uncertain diagnosis "does not by itself transfer the repair to a maintainer". So a red bot PR whose fix the bot can't find gets a fresh attempt and push every day, and notifications and ci-fix add more on top. Each push starts another review round, which usually finds something. Review's Push fixes already raises the bar with each round ("The bar for another fix rises with each round"). continue-pr needs the same limit; one possible wording is inline.

@max-sixty
max-sixty merged commit 65d1cd0 into main Oct 2, 2026
12 checks passed
@max-sixty
max-sixty deleted the codex/repair-continuation branch October 2, 2026 08:12
max-sixty pushed a commit to max-sixty/worktrunk that referenced this pull request Oct 4, 2026
Regenerates the Tend workflows with tend 0.3.7 (from 0.3.5). The effect
for this repo: the generated workflows now pin third-party actions and
`uv` to commits and checksums, and the bot's sessions pick up
0.3.6–0.3.7's skill and runner fixes. No `.config/tend.yaml` change was
needed.

What changes for worktrunk:

- **Supply-chain pinning** — `actions/checkout` and `astral-sh/setup-uv`
are pinned to commit SHAs (version kept as a comment), and the `uv`
download (bumped to 0.12.22) is verified against a per-arch checksum
(max-sixty/tend#1463).
- **Mention prompt moves into a skill** — `tend-mention` now invokes
`/tend-ci-runner:mention` and passes only the triggering event; the
per-event "read the context, respond, make changes" instructions that
were inlined in the workflow now live in the skill.
- **`fetch-tags: true` is dropped from checkouts.** Every Tend checkout
uses `fetch-depth: 0`, which already fetches all tags, so `build.rs`'s
`git describe` still sees them.
- **CI polling no longer waits on a job held for environment approval**
(max-sixty/tend#1473), and nightly reads the last successful run more
robustly so a cached listing can't widen its review range
(max-sixty/tend#1468).
- **Triage opens a PR when a maintainer is reasonably likely to merge
it** rather than defaulting to a comment (max-sixty/tend#1471), and
repair sessions resume unfinished bot work from the live PR state
(max-sixty/tend#1479).
- Claude Code is bumped to 2.1.288 (max-sixty/tend#1491).

Full upstream diff:
max-sixty/tend@0.3.5...0.3.7

Co-authored-by: worktrunk-bot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants