📊 Agentic Workflow Lock File Statistics - November 4, 2025 #3115
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 4, 2025
This report provides comprehensive statistical analysis of all
.lock.ymlfiles in thegithubnext/gh-awrepository, revealing patterns in workflow triggers, safe outputs, permissions, and structural characteristics.Executive Summary
The repository contains 71 lock files with a combined size of 13.95 MB. The majority of workflows (83.1%) support manual triggering via
workflow_dispatch, while 50.7% run on automated schedules. Safe outputs are heavily utilized, withcreate-discussionbeing the most popular (33.8%). The GitHub MCP server is nearly ubiquitous, appearing in 66 of 71 workflows (93%). Lock files are substantial in size, averaging 201.2 KB, reflecting the comprehensive nature of agentic workflow configurations.Key highlights:
schedule + workflow_dispatch(27 workflows)contents:readappears 263 times across all workflowsFull Report Details
File Size Distribution
Statistics:
shared/opencode.lock.yml(22.8 KB)poem-bot.lock.yml(371.0 KB)Insight: The overwhelming majority (82%) of lock files exceed 100 KB, indicating that agentic workflows are complex configurations with extensive job definitions, permissions, and instructions. Only a single workflow is under 50 KB.
Trigger Analysis
Most Popular Triggers
Key Finding:
workflow_dispatchdominates with 83.1% adoption, indicating strong preference for manual control alongside automated triggers. Over half (50.7%) of workflows run on schedules, showing active use of automated execution.Common Trigger Combinations
Pattern: The most popular pattern is combining scheduled automation with manual override capability (27 workflows), allowing both regular execution and on-demand runs.
"Full Stack" Workflows: Three workflows (
arxiv,context7,opencode) implement all six major triggers (issue_comment, issues, pull_request, push, schedule, workflow_dispatch), providing maximum activation flexibility.Schedule Patterns
Total Unique Schedules: 25 distinct cron patterns
0 0 * * *0 9 * * 1-50 9 * * *0 12 * * *0 18 * * *0 0,6,12,18 * * *0/10 * * * *0 9 * * 10 12 * * 0Popular Times:
Insight: Workflows favor morning execution (6-10 AM) for daily reports and checks. One workflow uses aggressive 10-minute intervals, likely for continuous monitoring or smoke testing.
Safe Outputs Analysis
Safe Output Types Distribution
Total Safe Output Instances: 79 across 71 workflows (some workflows use multiple types)
Key Finding:
create-discussionleads adoption at 33.8%, making discussions the preferred medium for sharing workflow outputs. This aligns with the repository's focus on audits and reports that benefit from threaded discussions.Safe Output Usage Patterns
create-discussion(examples: daily-news, daily-repo-chronicle, audit-workflows)create-pull-requestfor automated fixes (examples: tidy, changeset)create-issuefor alerting (examples: dev-hawk, smoke-detector)add-commentto respond to user input (examples: scout, q, plan)Multi-Output Workflows: Several workflows combine multiple safe output types:
Structural Characteristics
Job Complexity
Insight: The average workflow has nearly 7 jobs with 56 steps total, indicating sophisticated orchestration with multiple stages, error handling, and output generation.
Average Lock File Structure
Based on statistical analysis, a typical
.lock.ymlfile has:Timeout Configuration
Note: The 12-minute average suggests workflows are designed for moderate AI tasks that complete within reasonable timeframes while preventing runaway executions.
Permission Patterns
Most Common Permissions
Permission Distribution
Security Pattern: Workflows favor read permissions (70.7%) with selective write access, following the principle of least privilege. Write permissions are granted primarily for safe output generation.
Permission Groupings
Minimal (Read-only):
Standard (Read + Safe Outputs):
Elevated (Code Modification):
Special Purpose:
Tool & MCP Patterns
Most Used MCP Servers
Key Finding: The GitHub MCP server is nearly universal (93%), appearing in 66 of 71 workflows. This makes sense given that most agentic workflows interact with GitHub resources (issues, PRs, discussions, repositories).
MCP Server Combinations
Insight: Most workflows rely solely on the GitHub MCP server, with specialty servers used sparingly for specific use cases like academic research (arxiv) or web testing (playwright).
Common Tool Configurations
Based on lock file analysis, common tool patterns include:
Concurrency Patterns
Most workflows use concurrency groups to prevent simultaneous executions:
group: "gh-aw-${{ github.workflow }}"Interesting Findings
1. Bimodal Trigger Strategy
The repository demonstrates a clear "scheduled automation + manual override" philosophy, with 27 workflows (38%) using both
scheduleandworkflow_dispatchtriggers. This pattern enables:2. Discussion-First Output Culture
With 33.8% of workflows using
create-discussion, this repository has embraced GitHub Discussions as the primary medium for sharing AI-generated insights. This is higher thancreate-issue(23.9%) orcreate-pull-request(25.4%), suggesting that:3. "Swiss Army Knife" Workflows
Three workflows (
arxiv,context7,opencode) implement all 6 major trigger types, making them maximally flexible. These appear to be experimental or multipurpose agents that can respond to any GitHub event type.4. Large Lock Files Are The Norm
With 82% of lock files exceeding 100 KB and an average of 201 KB:
5. High-Frequency Monitoring
One workflow runs every 10 minutes (
0/10 * * * *), indicating active continuous monitoring, likely for:6. Permission Discipline
The 70.7% read vs 29.3% write permission ratio shows strong security practices:
7. Job Orchestration Complexity
With an average of 6.7 jobs and 56.3 steps per workflow:
8. MCP Server Monoculture
The GitHub MCP server's 93% adoption rate indicates:
Historical Trends
First Analysis: This is the initial statistical analysis of lock files in this repository.
Baseline Metrics Established:
Future Tracking Opportunities:
Recommendations
1. Consider Lock File Size Optimization
With 82% of files over 100 KB and an average of 201 KB, there may be opportunities for:
Potential Impact: 20-30% size reduction while maintaining functionality
2. Standardize Schedule Patterns
With 25 unique cron schedules, consider:
Benefit: Improved resource utilization and easier mental model of automation
3. Expand MCP Server Usage
Only 5 MCP servers are in use, with GitHub dominating at 93%. Consider:
Opportunity: Workflows could leverage external data and tools more effectively
4. Discussion Category Analysis
Since
create-discussionis the top safe output (33.8%), perform follow-up analysis:Next Step: Re-run analysis with improved category extraction
5. Document "Full Stack" Workflow Pattern
The three "Swiss Army Knife" workflows (arxiv, context7, opencode) with 6 triggers are unusual:
6. Establish Permission Guidelines
The healthy 70/30 read/write ratio should be codified:
Benefit: Maintain security discipline as workflow count grows
7. Monitor Timeout Patterns
The 12-minute average timeout warrants tracking:
8. Create Workflow Type Taxonomy
Based on trigger patterns, establish workflow categories:
Benefit: Easier navigation and consistent naming/organization
Methodology
Analysis Tools
Data Collection Process
findcommand to locate all.lock.ymlfilesLock Files Analyzed
.github/workflows/*.lock.ymlCache Memory Usage
/tmp/gh-aw/cache-memory/scripts//tmp/gh-aw/cache-memory/data//tmp/gh-aw/cache-memory/history/2025-11-04.jsonLimitations
.lock.ymlcontextFuture Improvements
Analysis Date: November 4, 2025
Repository: githubnext/gh-aw
Lock Files Analyzed: 71
Total Size: 13.95 MB
Generated by Lockfile Statistics Analysis Agent using automated YAML parsing and statistical analysis
Beta Was this translation helpful? Give feedback.
All reactions