Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
skills(running-tend): post nightly ci-fix diagnoses on the auto-filed nightly issue (#4512)
Worktrunk Bot9cf6c949e714
diff --git a/.claude/skills/running-tend/SKILL.md b/.claude/skills/running-tend/SKILL.mdindex e2bdf7097..251efec01 100644--- a/.claude/skills/running-tend/SKILL.md+++ b/.claude/skills/running-tend/SKILL.md@@ -124,6 +124,16 @@ failure, not a broken link:When in doubt, post a comment on the failed run summarizing the diagnosis andwait — don't open a PR.+## CI Fix: A Failed Scheduled Nightly Already Has Its Issue++When a scheduled `nightly` run fails, its `create-issue-on-nightly-failure` job opens (or updates) an open `Nightly tests failed` issue labelled `ci`, and `tend-triage` diagnoses it there. That issue is the tracker for the failure. The `ci-fix:` title search in `/tend-ci-runner:ci-fix` cannot find it, so look it up by title before filing anything:++```bash+gh issue list --state open --label ci --search '"Nightly tests failed" in:title' --json number,title+```++Post a durable diagnosis on that issue, unless a comment there already covers it, instead of opening a `ci-fix:` tracking issue. A fix PR closes it with `Fixes #<n>`. A transient diagnosis still files its closed `tend-outage` tracker, since the repeat-occurrence escalation in `/tend-ci-runner:ci-fix` counts only those.+## Applying GitHub SuggestionsApply the literal suggestion only — change the lines it covers, nothing more.