You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a comprehensive guide page (in the docs site under guides/) for repository maintainers who manage repos with agentic workflows at scale. The guide should focus on three core challenges:
Managing the volume of incoming issues and PRs — especially from unknown or untrusted users
Ensuring agents prioritize important tasks from trustworthy sources
Debugging failed workflows — using the Copilot CLI and /agent agentic-workflows
Motivation
Today, the docs cover individual features in isolation (integrity filtering reference, frontmatter reference, repo-assist workflow). But there is no single guide that ties these together from a maintainer's perspective: how do I set up my repo so that agentic workflows process trusted work first, filter out noise, and scale safely?
Maintainers running agentic workflows on public repos face unique challenges:
Unknown users can open issues/PRs that trigger agent runs, consuming compute and tokens
Without integrity filtering, agents may act on low-quality or adversarial input
Without repo-assist, there is no triage layer to route work appropriately
The relationship between integrity levels, reactions, and policy configuration is not obvious
When workflows fail, maintainers need efficient ways to diagnose and fix issues
Proposed Content
1. Setting Up Repo-Assist as a Triage Layer
What repo-assist does and why it matters at scale
Configuring repo-assist to classify and prioritize incoming issues/PRs
Using repo-assist to assign agents to tasks based on trust signals
Example: routing trusted contributor issues to specialized agents, deferring unknown user issues for human review
2. Integrity Filtering Deep Dive
Integrity levels explained: none, member, approved, merged — when to use each
Practical guidance: choosing the right min-integrity level for different workflow types
Triage workflows: lower integrity (see more content, but act cautiously)
Code-modifying workflows: higher integrity (only act on trusted input)
Reactions as trust signals (proxy-only, MCPG >= v0.2.18):
endorsement-reactions: how thumbs-up/heart from trusted members can promote content
disapproval-reactions: how thumbs-down/confused can demote content
Default values and how to customize them
Limitation: reactions only work in proxy mode (not gateway mode)
Other policy inputs:
allowed-repos — scoping which repos the agent can read
endorser-min-integrity — minimum integrity level for reaction endorsers
disapproval-integrity — integrity level assigned to disapproved content
3. Scaling Strategies
Combining repo-assist + integrity filtering for a defense-in-depth approach
Token budget awareness: how filtering reduces unnecessary token consumption
Rate limiting workflows to avoid runaway costs
Monitoring: using firewall logs and audit runs to track filtering decisions
4. Debugging Failed Workflows
Using the Copilot CLI (copilot) for debugging:
Running gh aw logs <workflow-name> to download and view workflow logs
Running gh aw audit <run-id> to audit a specific workflow run
Interpreting firewall logs, DIFC filtering events, and token usage data
Using /agent agentic-workflows in GitHub Copilot Chat:
The agent automatically routes to the debug prompt, which analyzes logs, identifies missing tools, investigates MCP configuration issues, and suggests fixes
Example workflows: "Analyze the logs for the last failed run of repo-assist" → agent downloads logs, identifies the root cause, and proposes a fix
Common failure patterns and how to diagnose them:
Missing tool calls (tool not configured or MCP server unavailable)
Authentication failures (token permissions, MCP server tokens)
Summary
Create a comprehensive guide page (in the docs site under
guides/) for repository maintainers who manage repos with agentic workflows at scale. The guide should focus on three core challenges:/agent agentic-workflowsMotivation
Today, the docs cover individual features in isolation (integrity filtering reference, frontmatter reference, repo-assist workflow). But there is no single guide that ties these together from a maintainer's perspective: how do I set up my repo so that agentic workflows process trusted work first, filter out noise, and scale safely?
Maintainers running agentic workflows on public repos face unique challenges:
Proposed Content
1. Setting Up Repo-Assist as a Triage Layer
2. Integrity Filtering Deep Dive
none,member,approved,merged— when to use eachmin-integritylevel for different workflow typesendorsement-reactions: how thumbs-up/heart from trusted members can promote contentdisapproval-reactions: how thumbs-down/confused can demote contentallowed-repos— scoping which repos the agent can readendorser-min-integrity— minimum integrity level for reaction endorsersdisapproval-integrity— integrity level assigned to disapproved content3. Scaling Strategies
4. Debugging Failed Workflows
copilot) for debugging:gh aw logs <workflow-name>to download and view workflow logsgh aw audit <run-id>to audit a specific workflow run/agent agentic-workflowsin GitHub Copilot Chat:DIFC_FILTEREDevents in firewall logs)gh aw audit <run-id>for a structured analysis/agent agentic-workflowsto interactively diagnose complex issues.mdfile → recompile → re-run5. Worked Examples
Existing Reference Material
docs/src/content/docs/reference/integrity.md— integrity filtering referencedocs/src/content/docs/reference/frontmatter.md— frontmatter configurationdocs/src/content/docs/reference/github-tools.md— GitHub tools referencedocs/adr/25948-version-gated-integrity-reactions-for-mcpg-allow-only-policy.md— reactions ADR.github/workflows/repo-assist.md(if present) or repo-assist documentation.github/aw/debug-agentic-workflow.md— debug prompt used by/agent agentic-workflowsLocation
docs/src/content/docs/guides/maintaining-repos.md(or similar)Acceptance Criteria
/agent agentic-workflowsusage