📊 Agentic Workflow Lock File Statistics - 2025-10-26 #2491
Closed
Replies: 1 comment
-
|
This discussion was automatically closed because it was created by an agentic workflow more than 1 month ago. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
📊 Agentic Workflow Lock File Statistics - 2025-10-26
This comprehensive analysis examines all 58
.lock.ymlfiles in the.github/workflows/directory to identify usage patterns, popular triggers, safe outputs, structural characteristics, and MCP server adoption across the gh-aw repository.Executive Summary
The gh-aw repository contains 58 agentic workflow lock files totaling 10.93 MB of YAML configuration. These workflows demonstrate sophisticated automation patterns with strong security controls, extensive GitHub integration, and diverse trigger mechanisms. Analysis reveals high adoption of manual workflow dispatch (96.6%), broad use of scheduled automation (53.4%), and overwhelming reliance on GitHub MCP tools (92% of all MCP references).
Key Highlights:
Full Report Details
File Size Distribution
Statistics:
The size distribution shows most workflows (74.1%) fall in the 100-250 KB range, indicating consistent complexity and feature sets across the repository.
Trigger Analysis
Most Popular Triggers
Key Insights:
schedule+workflow_dispatch)Common Trigger Combinations
Schedule Patterns
0 0,6,12,18 * * *0/10 * * * *0 6 * * 00 2 * * 1-50 9 * * 1-50 16 * * 1-50 15 * * 1Pattern Analysis:
Safe Outputs Analysis
Safe outputs provide controlled, security-conscious ways for AI agents to interact with GitHub without direct repository write access.
Safe Output Types Distribution
Key Findings:
missing_toolfor reporting gaps in functionalitySafe Output Combinations
poem-bot.lock.yml (9 types) - Most comprehensive safe outputs:
Multi-output Patterns:
Structural Characteristics
Job Complexity
Job Count Distribution:
Standard Job Pattern (5 jobs):
Average Lock File Structure
Based on statistical analysis, a typical
.lock.ymlfile has:workflow_dispatch+ one other trigger (schedule/issue_comment/issues)actions: read+contents: readmissing_tool)Permission Patterns
Most Common Permissions
Permission Distribution
contents: writein the agent jobactions: read+contents: readSecurity Highlights:
MCP Server & Tool Analysis
MCP Server Usage
Key Insights:
Top 20 Most Used MCP Tools
Tool Usage Patterns:
Workflows with Most MCP Tools
Interesting Findings
1. Consistent Workflow Architecture
The repository demonstrates remarkable consistency in workflow structure. 48.3% of workflows follow the exact same 5-job pattern (activation → agent → detection → safe_output → missing_tool), showing strong standardization.
2. Security-First Design
Zero workflows grant
contents: writepermission to AI agents. All repository modifications flow through safe outputs, ensuring human review via GitHub's native UI (issues, PRs, discussions).3. High Reusability
Three shared workflows (shared/mcp/*.lock.yml, shared/opencode.lock.yml) run every 10 minutes to keep MCP servers available. These are imported by other workflows, showing modular design.
4. Smoke Test Battery
Four dedicated smoke test workflows (smoke-claude, smoke-copilot, smoke-codex, smoke-opencode) run every 6 hours (4x daily) to validate different AI engine integrations.
5. Business Intelligence Automation
Multiple "daily-*" workflows (daily-news, daily-test-improver, daily-perf-improver, daily-doc-updater, daily-firewall-report, daily-repo-chronicle) provide continuous monitoring and improvement suggestions on weekdays.
6. Interactive AI Agents
Comment-based triggers enable conversational workflows where users can invoke AI assistance by commenting on issues/PRs (e.g.,
/poem-bot,/mergefest,/scout).7. Comprehensive Self-Documentation
The lockfile-stats workflow (this analysis!) demonstrates meta-analysis capability - workflows analyzing workflows.
8. Browser Automation Integration
Two workflows integrate Playwright for web interactions, showing capability to automate beyond GitHub API (blog-auditor checks external blogs, unbloat-docs processes documentation sites).
9. Multi-Engine Support
Workflows support multiple AI engines (Claude, Copilot, Codex, OpenCode) with dedicated smoke tests for each, showing platform flexibility.
10. Custom Integrations
Custom safe outputs (notion-add-comment, post-to-slack-channel) demonstrate extensibility beyond GitHub's native actions.
File Size vs Complexity Correlation
Correlation Insights:
Recommendations
1. Standardization Success
The 5-job pattern is highly effective. Continue using this as the template for new workflows. Consider creating a workflow generator to enforce this pattern.
2. MCP Tool Optimization
Many workflows include all 52 GitHub MCP tools but use only 5-10. Consider:
[Content truncated due to length]
Beta Was this translation helpful? Give feedback.
All reactions