Skip to content

skills: drop individual past-case pointers, add CLAUDE.md rule - #407

Merged
max-sixty merged 2 commits into
mainfrom
hourly/review-25635915393
May 10, 2026
Merged

max-sixty merged 2 commits into
mainfrom
hourly/review-25635915393

Conversation

@tend-agent

@tend-agent tend-agent commented May 10, 2026 •

Copy link
Copy Markdown
Collaborator

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-repo CheckSuite mark-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 #305 pointer from the rollup-poll explanation and the PR #318 reference 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#37157 in running-in-ci and review-runs are 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

  • Confirm the rewritten Non-issue entries still convey enough constraint to prevent re-derivation of the rejected proposal shapes (authorship-keyed guards on review/mention, pre-check filters keyed on reason/subject_type/sender).
  • Confirm the new CLAUDE.md bullet's wording matches the intended bar.

…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]>
@tend-agent tend-agent added the claude-behavior Behavioral issues found by review-reviewers label 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.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

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

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Done in 3acd539.

  • The new Non-issue entry no longer names the closed PR.
  • The other Non-issues in review-reviewers and the rollup-poll explanation in running-in-ci are 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]>
@tend-agent tend-agent changed the title skills(review-reviewers): add Non-issue for cross-repo fork CheckSuite mark-reads skills: drop individual past-case pointers, add CLAUDE.md rule May 10, 2026
@max-sixty
max-sixty merged commit a9b1771 into main May 10, 2026
5 checks passed
@max-sixty
max-sixty deleted the hourly/review-25635915393 branch May 10, 2026 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claude-behavior Behavioral issues found by review-reviewers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants