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
{{ message }}
Repository navigation
[plan] Update developer.instructions agent to emphasize safe-outputs-only write pattern #19542
Update the developer.instructions agent (.github/agents/developer.instructions.md) to more prominently document that the agent job must stay read-only, with all GitHub writes routed exclusively through the safe-outputs system.
Background
Discussion #19488 found that across 5 AI-generated workflows, one placed issues: write directly on the agent job — the only security deviation in all responses. The pattern is documented but not prominently enough for agents to consistently apply it.
Approach
Add a dedicated Security Posture section (or expand the existing one) in .github/agents/developer.instructions.md that makes the rule explicit:
Agent job permissions must be read-only for all scopes
All GitHub writes (issues, PRs, comments, discussions) must go through safe-outputs
Include a concrete ✅ / ❌ example showing the correct pattern vs. the anti-pattern
Activity
pelikhan commentedon Mar 4, 2026
@copilot update .github/agents/create-agentic-workflows.md