📊 Agentic Workflow Lock File Statistics - November 2025 #3512
Closed
Replies: 1 comment
-
|
This discussion was automatically closed because it was created by an agentic workflow more than 1 week 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 - November 2025
This comprehensive analysis examines all 77
.lock.ymlfiles in the.github/workflows/directory to identify usage patterns, popular triggers, safe outputs, structural characteristics, and emerging trends in agentic workflow design.Executive Summary
The gh-aw repository contains a robust collection of agentic workflows with strong patterns emerging around issue-driven automation, safe output practices, and GitHub API integration.
Key Highlights:
Full Statistical Analysis
File Size Distribution
The majority of lock files are substantial, reflecting the comprehensive nature of agentic workflows with extensive tooling and MCP server configurations.
Size Statistics:
shared/opencode.lock.yml(23.3 KB)poem-bot.lock.yml(394.8 KB)Key Finding: The large average size (213 KB) indicates workflows are feature-rich with extensive tool configurations, MCP server integrations, and comprehensive permissions management. The smallest workflow (
opencode.lock.yml) is a shared configuration, while the largest (poem-bot) likely includes extensive prompt templates or data.Trigger Analysis
Most Popular Triggers
Agentic workflows in this repository are predominantly issue-driven, with strong support for manual triggering and scheduled automation.
Key Insights:
Common Trigger Combinations
Most workflows combine multiple triggers for maximum flexibility:
Example Workflows:
Schedule Patterns
For the 38 scheduled workflows, clear temporal patterns emerge:
0 9 * * *0 0,6,12,18 * * *0 6 * * 00 2 * * 1-50 15 * * 10 0 * * *0 9 * * 1-50/10 * * * *Patterns Observed:
Safe Outputs Analysis
Safe outputs are a critical feature of agentic workflows, enabling AI agents to communicate results without direct repository modification.
Safe Output Types Distribution
Total Safe Output Actions: 321 across 77 workflows (average 4.2 per workflow)
Key Findings:
Safe Output Best Practices Observed
Based on usage patterns:
Structural Characteristics
Job Complexity
Agentic workflows in this repository are significantly more complex than typical GitHub Actions workflows.
Typical Workflow Structure:
Based on statistical analysis, a representative
.lock.ymlfile contains:Complexity Drivers:
Average Lock File Structure
A typical agentic workflow lock file includes:
Permission Patterns
The repository demonstrates mature security practices with principle of least privilege.
Most Common Permissions
Across all workflows:
contents(401 total occurrences)pull-requests(209 occurrences)issues(218 occurrences)Permission Distribution
Security Best Practices Observed:
Tool & MCP Patterns
Most Used MCP Servers
Key Insights:
Tool Configurations
Based on allowlist analysis:
Tool Usage Philosophy:
Timeout Patterns
Job timeouts reveal workflow runtime expectations:
Timeout Strategy:
Average Workflow Runtime Budget: ~60-80 minutes total (across all jobs)
Interesting Findings
1. Issue-Driven Architecture
97.4% of workflows trigger on issues, establishing issues as the primary user interface for agentic workflows. This creates a conversational, task-oriented interaction model where users describe problems in natural language and agents respond with analysis, code, or reports.
2. Safe Output Proliferation
With 321 safe output actions across 77 workflows (4.2 per workflow), the repository demonstrates mature "firewall" patterns where AI agents communicate through structured outputs rather than direct repository modification. This reduces risk while maintaining full functionality.
3. The GitHub MCP Monopoly
The GitHub MCP server is used 2,809 times - accounting for ~97% of all MCP usage. This extreme concentration suggests:
4. Large Workflow Files
83% of lock files exceed 100 KB, with an average of 213 KB. This is 10-20x larger than typical GitHub Actions workflows, reflecting:
5. Minimal Push Triggers
Only 3 workflows (3.9%) trigger on
pushevents, indicating a deliberate design choice to avoid automatic execution on every commit. This suggests:6. Job Explosion Pattern
Average of 6.79 jobs per workflow (vs 1-2 for typical GHA workflows) shows the "microservices" pattern where:
7. Schedule Clustering
Scheduled workflows cluster around specific times:
This temporal clustering suggests coordinated workflow orchestration.
8. Permission Paranoia
92% of content access is read-only, showing extreme caution with write permissions. Even workflows that create PRs use minimal write scopes. This "read, analyze, propose" pattern is a best practice for AI agents.
Historical Context
This is the first comprehensive analysis of lock file statistics. Future analyses will track:
Baseline Established:
Recommendations
Based on this analysis, recommendations for workflow authors:
1. Adopt Standard Patterns
2. Optimize File Size
3. MCP Server Diversity
4. Timeout Tuning
5. Job Structuring
6. Safe Output Strategy
7. Trigger Selection
Methodology
Data Collection
.github/workflows/*.lock.yml(including subdirectories)Analysis Techniques
wc -cfor byte counts, statistical aggregationon:sectionsmcp__*__prefixesCache Memory
Analysis scripts and raw data stored in
/tmp/gh-aw/cache-memory/:scripts/analyze_lockfiles.sh: Main analysis scripthistory/2025-11-09-analysis.json: Raw statistical dataLimitations
Summary
The gh-aw repository demonstrates mature agentic workflow patterns with:
These patterns establish a production-ready framework for AI-powered GitHub automation that balances capability with safety, enabling sophisticated agent behaviors while maintaining security and auditability.
Next Steps: Track these metrics over time to identify trends, emerging patterns, and opportunities for standardization across the agentic workflow ecosystem.
Analysis generated by Lockfile Statistics Analysis Agent
Data current as of: November 9, 2025
Lock files analyzed: 77
Total repository lock file size: 16.4 MB
Beta Was this translation helpful? Give feedback.
All reactions