Pattern miner: Add min-integrity tip to status-report archetype from upstream mining - #259
Merged
pelikhan merged 1 commit intoSep 5, 2026
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
pelikhan
marked this pull request as ready for review
September 5, 2026 09:13
pelikhan
deleted the
pattern-mine/status-report-min-integrity-bc000fb230a2ce19
branch
September 5, 2026 09:13
There was a problem hiding this comment.
🟢 Approval recommended
The change is a small, valid JSON-only update consistent with existing pattern guidance (including prior min-integrity mentions) and does not introduce behavioral or structural risk.
Pull request overview
This PR updates the pattern library’s status-report archetype to capture a newly mined, recurring upstream configuration tip related to GitHub tool integrity filtering, improving guidance for report-style workflows.
Changes:
- Added a new
tipsentry topatterns/archetypes/status-report.jsonrecommendingtools.github.min-integrity: nonefor read-only reporting workflows that must include content from any author. - Kept all other archetype fields unchanged (e.g., metadata, anti-patterns, trigger combos).
File summaries
| File | Description |
|---|---|
patterns/archetypes/status-report.json |
Appends a mined tip about tools.github.min-integrity tuning for comprehensive, non-destructive reporting scenarios. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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
Mined upstream workflow sources for recurring shapes not yet represented in
patterns/, and added one small, evidence-backed refinement to thestatus-reportarchetype.Upstream sources mined
githubnext/agentics:.github/workflows/*.md(58 workflow files), includingteam-status.md,repo-status.md,weekly-issue-activity.md,repo-chronicle.md,plan.md,q.md,repo-ask.md,daily-issue-triage.mdgithub/gh-aw:.github/aw/syntax-tools-imports.md,.github/aw/pr-reviewer.md(docs confirming supported frontmatter fortools.github.min-integrity)Recurring pattern found
16 upstream workflows in
githubnext/agenticssettools.github.min-integrity: none(or explicitly document the equivalent trust rationale), including report/status-style workflows:team-status.md(line 23),repo-status.md(line 26),weekly-issue-activity.md(line 26),repo-chronicle.md(line 31),plan.md(line 33),q.md(line 33),repo-ask.md(line 26), plusdaily-issue-triage.md(line 38),issue-arborist.md,contribution-check.md,contribution-guidelines-checker.md,ai-moderator.md,pr-fix.md,pr-nitpick-reviewer.md,discussion-task-miner.md,weekly-research.md.In each case the comment explains the same rationale: the workflow only reads/summarizes issues, PRs, or discussions (never acts destructively on them), so it deliberately sets the lowest trust gate (
min-integrity: none) to avoid filtering out content from untrusted authors when generating a report.github/gh-aw's.github/aw/syntax-tools-imports.md(line 84) and.github/aw/pr-reviewer.md(line 62, "Use the lowestmin-integritythat supports the required actions") confirm this is a documented, recommended tuning knob, not an incidental one-off.This satisfies the two-workflow-plus-documentation bar for a recurring, evidence-backed candidate.
Why the existing library did not cover it
Searched
patterns/*.jsonandpatterns/archetypes/*.jsonformin-integrityandlockdown— the only prior mentions arelockdownincontent-moderation.jsonandpr-review.json. No archetype mentionedmin-integrityat all, despite it recurring heavily across exactly the reporting-style workflows (status-reportarchetype: team-status/repo-status/weekly-issue-activity/repo-chronicle/plan/q/repo-ask all map to this archetype's shape — scheduled, read-heavy, report-producing).What changed
patterns/archetypes/status-report.json: appended one tip to the existingtipsarray:No other fields (
metadata,anti_patterns,trigger_combos,research_findings,success_rate,count,top_repos) were touched. No new archetype was added, no manifest changes, noworkflow-generation.jsonchanges (thestatus-reportruntime body doesn't currently render per-archetype tips separately).Validation
npm test: 18 test files, 319 tests passed.npm run build: succeeded (✓ built in 145ms),dist/patterns/archetypes/status-report.jsonregenerated with the updated tip.Candidates considered and left out
link-checker.md): only one upstream workflow of this specific shape (daily doc link-checking via a scriptedsteps:block, no safe-outputs, direct commit-based fix). No second corroborating workflow or explicit doc recommendation found, so it does not meet the two-workflow-or-documented bar.assignees: copiloton findings (duplicate-code-detector.md,large-file-simplifier.md): only 2 upstream workflows use this exact convention, both already summarized in and consistent with the existingcode-health-auditorarchetype's tip ("Assign findings to copilot so remediation can be picked up automatically") — already covered.glossary-maintainer.md,unbloat-docs.md): same guard already reflected incode-improvement.json/documentation-updater.jsontips ("Add a pre-activation step that skips scheduled runs once too many open PRs share your title prefix") — already covered.dispatcher/slash_commandarchetype: onlyunbloat-docs.mdcombinesslash_commandwithschedule; not enough distinct recurring shape beyond what's already described in the custom-instruction trigger-combo notes (slash_command as dispatcher pattern) to warrant a new archetype file.