Skip to content

skills(running-in-ci): carve out bot-authored machine-report issues - #666

Merged
max-sixty merged 1 commit into
mainfrom
fix/issue-665
Jun 7, 2026
Merged

max-sixty merged 1 commit into
mainfrom
fix/issue-665

Conversation

@tend-agent

Copy link
Copy Markdown
Collaborator

Problem

The Self-conversation Guard in tend-ci-runner/skills/running-in-ci/SKILL.md over-applies to bot-authored machine-report issues. When a consumer's bot opens a "nightly tests failed" issue, tend-triage fires within seconds but reads the issue as a self-conversation and exits silently. The failure then sits untriaged until a human @-mentions the bot.

Solution

Adds a one-sentence exception to the guard: a freshly-opened issue the bot authored is a report to act on, not a self-conversation. The Recheck Before Posting guard immediately below already prevents duplicate triage comments if a sibling run fires on the same issue, so loop risk stays covered.

Testing

Skill-text change; no automated test. The guard's intent (loop prevention on comment/review threads where replying recurses) is preserved verbatim — the carve-out only covers issue bodies the bot authored with no prior bot comments, which can't recurse.


Closes #665 — automated triage

The Self-conversation Guard over-applies to bot-authored CI-failure
issues: when a consumer's bot opens a "nightly tests failed" issue,
tend-triage fires within seconds but exits silently because the issue
is self-authored. The failure then sits untriaged until a human pings.

The guard's intent is loop prevention on comment/review threads, where
replying to your own prior comment can recurse. A one-shot triage of a
freshly-opened bot-authored issue body carries no such risk; the
Recheck Before Posting guard already prevents duplicate triage comments
if a sibling run fires on the same issue.

Closes #665

Co-Authored-By: Claude <[email protected]>
@max-sixty
max-sixty merged commit 4bb2f8d into main Jun 7, 2026
5 checks passed
@max-sixty
max-sixty deleted the fix/issue-665 branch June 7, 2026 08:48
@max-sixty max-sixty mentioned this pull request Jun 11, 2026
max-sixty added a commit that referenced this pull request Jun 11, 2026
Bumps the generator version to 0.1.4, syncs the lockfile, and adds the
0.1.4 CHANGELOG section (published as the GitHub Release notes on tag
push).

Notable changes since 0.1.3:

- Claude harnesses switch to `bypassPermissions` (#677)
- GitHub Releases publish from `CHANGELOG.md` on tag push (#678) — this
release is the first live exercise of that workflow
- Interactive sandbox receives GitHub Actions context env vars (#664)
- install-tend bot-token step restructured around scope-audit
remediation (#680)
- Review skill checks the rollup before APPROVE (#667);
running-in-ci/triage/ci-fix skill refinements (#661, #666, #669, #670,
#671)

> _This was written by Claude Code on behalf of max_

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Fable 5 <[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.

Self-conversation guard blocks triage of bot-authored CI-failure issues

2 participants