Repository navigation
skills: drop individual past-case pointers, add CLAUDE.md rule - #407
Merged
Merged
Conversation
…e mark-reads PR #392 ("feat(notifications): drop cross-repo CheckSuite notifications in pre-check") was closed by the maintainer as superseded by #375's fork-owner guard. Record this in the review-reviewers Non-issues list so future runs do not re-propose a pre-check filter for the same notification shape from abandoned forks. Co-Authored-By: Claude Opus 4.7 <[email protected]>
max-sixty
reviewed
May 10, 2026
|
|
||
| - **`tend-mention` firing on the bot's own comments and exiting silently.** When the bot comments on an issue or PR where it has previously participated (including its own tracking issues such as `review-reviewers-tracking` and `review-runs-tracking`), the `issue_comment` event fires `tend-mention`; the prompt's self-conversation guard then detects the self-trigger and exits silently after a few Claude turns. This looks wasteful (each exit costs ~$0.20–$0.50), but [#203](https://github.com/max-sixty/tend/pull/203) ("fix: filter bot self-triggers in tend-mention workflow") added sender-based filters for `pull_request_review` / `pull_request_review_comment` events and was closed by the maintainer without merge — the same authorship-keyed-guard pattern rejected in #154 and #212. Do not propose sender-based or commenter-based filters to `tend-mention`. The outage-loop guard added in [#268](https://github.com/max-sixty/tend/pull/268) (skipping `tend-outage`-labeled issues) is the accepted shape for a label-based skip — propose new filters only when there's a distinct loop risk that can't be expressed with a label. | ||
|
|
||
| - **`tend-notifications` mark-reading a cross-repo `CheckSuite` `ci_activity` notification from an abandoned fork and exiting silently.** A fork that doesn't sync upstream keeps running its own scheduled `tend-*` workflows; when those fail, the canonical bot receives `reason: ci_activity` `CheckSuite` notifications about another repo's CI. The notifications skill classifies them as cross-repo not-actionable and marks them read, but the agent still spins up. PR [#392](https://github.com/max-sixty/tend/pull/392) ("feat(notifications): drop cross-repo CheckSuite notifications in pre-check") proposed a YAML pre-check filter and was closed by the maintainer as superseded by [#375](https://github.com/max-sixty/tend/pull/375)'s `github.repository_owner` fork-owner guard (released in 0.0.17): synced forks pick up the guard and no-op on the cron, and the residual cost of abandoned-fork notifications is "small enough not to justify a permanent pre-check layer." Do not re-propose a pre-check filter keyed on `reason`, `subject_type`, or sender, and do not maintain a per-month occurrence threshold for this notification shape — record as carry observations and move on. |
Owner
There was a problem hiding this comment.
can we:
- remove the pointer to the individual past case
- remove the pointers in any skills to individual past cases
- add this guidance to a CLAUDE.md
Collaborator
Author
There was a problem hiding this comment.
Done in 3acd539.
- The new Non-issue entry no longer names the closed PR.
- The other Non-issues in
review-reviewersand the rollup-poll explanation inrunning-in-ciare rewritten as structural rules without past-PR pointers (#154,#212,#263,#203,#268,#305,#318). - Added a "No specific past-case references" bullet to the "Authoring skills" list in the root
CLAUDE.md, parallel to the existing "No specific past-run references" rule.
Left the cross-repo anthropics/claude-code#37157 references in place since they track an open external bug whose resolution removes the workaround. Happy to drop those too if you'd prefer no cross-repo issue links at all.
Remove links to specific past PRs (#154, #212, #263, #203, #268, #392, #375, #305, #318) from review-reviewers and running-in-ci, restating each as a structural rule (what shape is accepted, what shape is not). Extend "Authoring skills" in the root CLAUDE.md with a parallel "No specific past-case references" bullet so future skill edits don't re-introduce them. Co-Authored-By: Claude Opus 4.7 <[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.
Summary
Drops individual past-case pointers from skills and adds a CLAUDE.md rule to keep them out going forward.
plugins/tend-ci-runner/skills/review-reviewers/SKILL.md: rewrites the four Non-issue entries (including the new cross-repoCheckSuitemark-reads entry) as structural rules — "what shape is accepted, what shape is not" — without naming the rejected PRs as precedent.plugins/tend-ci-runner/skills/running-in-ci/SKILL.md: removes the#305pointer from the rollup-poll explanation and thePR #318reference from the line-wrapping example body.CLAUDE.md: adds a "No specific past-case references" bullet to the existing "Authoring skills" list, parallel to the existing "No specific past-run references" rule.The cross-repo upstream-bug references to
anthropics/claude-code#37157inrunning-in-ciandreview-runsare left in place — they track an open external bug whose resolution removes the workaround they justify, which is forward-looking rather than precedent. Happy to remove those too if you'd prefer no cross-repo issue links at all.Test plan
reason/subject_type/sender).