From a34ecf2b16c036a11fe0da3f4579cf612383afb1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 30 Sep 2026 04:04:50 +0000 Subject: [PATCH] Add chart-embedding, agent-delegation, and PR-throttle tips from upstream mining Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- patterns/archetypes/backlog-drip.json | 3 ++- patterns/archetypes/community-digest.json | 3 ++- patterns/archetypes/repo-maintainer.json | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/patterns/archetypes/backlog-drip.json b/patterns/archetypes/backlog-drip.json index 0c4bb04..0b356ff 100644 --- a/patterns/archetypes/backlog-drip.json +++ b/patterns/archetypes/backlog-drip.json @@ -30,7 +30,8 @@ "Before proposing a new item, search the last few closed items from this workflow and read the close reason and any review feedback \u2014 treat 'not planned' or a rejecting comment as a negative signal and avoid re-proposing the same idea", "Persist a compact accept/reject history across runs in cache-memory (or repo-memory if it must survive cache eviction) so the backlog improves over time instead of repeating rejected proposals", "Use this pattern for open-ended, non-event-driven backlogs (improvement ideas, maintenance chores, research notes) \u2014 prefer the community-digest archetype instead when the output is a periodic report tied to a time window", - "Call noop when nothing in the backlog clears the quality bar left by past rejections" + "Call noop when nothing in the backlog clears the quality bar left by past rejections", + "To hand the served item directly to an implementation agent instead of leaving it for a human, add assign-to-agent (allowed: [copilot], max: 1) alongside create-issue, and set ignore-if-error: true so the run doesn't fail when the agent is temporarily unavailable" ], "anti_patterns": [] } diff --git a/patterns/archetypes/community-digest.json b/patterns/archetypes/community-digest.json index 1135bb2..b8088f4 100644 --- a/patterns/archetypes/community-digest.json +++ b/patterns/archetypes/community-digest.json @@ -28,7 +28,8 @@ "Set close-older-discussions: true so scheduled digests don't accumulate as duplicate open discussions", "Pick a category that matches the content (e.g. announcements, audits, q-a) so digests are easy to find", "Pre-fetch issue, PR, and commit activity in a steps: block before the agent starts writing the narrative", - "Set mentions: false, allowed-github-references: [], and max-bot-mentions: 0 on safe-outputs so periodic digests don't notify users or create backlinks/bot-trigger side effects every run" + "Set mentions: false, allowed-github-references: [], and max-bot-mentions: 0 on safe-outputs so periodic digests don't notify users or create backlinks/bot-trigger side effects every run", + "When the digest includes trend charts, generate them with Python (matplotlib/seaborn) in a pre-step, publish each with the upload-asset safe output, and embed the returned URLs in the discussion body rather than inlining raw data" ], "anti_patterns": [] } diff --git a/patterns/archetypes/repo-maintainer.json b/patterns/archetypes/repo-maintainer.json index 263ae63..1fc4304 100644 --- a/patterns/archetypes/repo-maintainer.json +++ b/patterns/archetypes/repo-maintainer.json @@ -59,7 +59,8 @@ "tips": [ "Use persistent memory and check for existing work before acting", "Limit each run to one high-value maintenance task", - "Leave merges, approvals, and destructive actions to maintainers" + "Leave merges, approvals, and destructive actions to maintainers", + "Add a pre-activation step that skips scheduled runs once too many open PRs share your title prefix, to avoid spamming maintainers" ], "anti_patterns": [ "repo-assist",