📊 Agentic Workflow Lock File Statistics - November 19, 2025 #4308
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 19, 2025
This comprehensive analysis examines all 83 agentic workflow lock files (.lock.yml) in the
.github/workflows/directory, providing insights into usage patterns, structural characteristics, and common configurations.Executive Summary
The gh-aw repository contains 83 lock files totaling 18.21 MB, with an average file size of 224.69 KB. Nearly all workflows (87%) are over 100 KB in size, indicating rich, feature-complete agentic workflows. The workflows predominantly use read-only permissions (67% of all permissions), favor pull request triggers (86% of workflows), and implement 30 workflows with discussion outputs for reporting results.
Key Highlights:
Full Statistical Analysis
File Size Distribution
Size Statistics:
The overwhelming majority (86.7%) of lock files exceed 100 KB, suggesting these workflows contain comprehensive instructions, extensive tool configurations, and detailed job definitions characteristic of mature agentic workflows.
Trigger Analysis
Trigger Type Distribution
Trigger Usage Patterns
Key Observations:
Multi-Trigger Workflows: Most workflows combine multiple triggers, typically pairing:
Schedule Patterns
Common Cron Schedules:
Safe Outputs Analysis
Safe outputs enable workflows to interact with GitHub resources in controlled, secure ways.
Safe Output Type Distribution
Safe Output Insights
Discussion-First Approach: With 30 workflows using
create-discussion, the repository clearly favors GitHub Discussions as the primary output mechanism for:Issue Creation: 18 workflows create issues, typically for:
Pull Request Automation: 13 workflows can create PRs, enabling:
Structural Characteristics
Job Complexity
Standard Job Architecture
The gh-aw framework establishes a consistent job structure across workflows:
Standard Job Flow:
Typical Lock File Structure
Based on statistical analysis, a representative .lock.yml file has:
Permission Patterns
Permission Type Distribution
Read vs. Write Analysis
Security Posture
Key Security Characteristics:
The permission model demonstrates strong security practices with workflows requesting only the minimal permissions needed for their tasks.
Timeout Configuration
Timeout Distribution
Most Common: 10-minute timeouts (42% of all timeout configurations), balancing execution time with reasonable limits for agent-based workflows.
Concurrency Management
group: "gh-aw-${{ github.workflow }}"Nearly all workflows implement concurrency control to prevent overlapping executions of the same workflow, ensuring:
Tool & Pattern Analysis
Tool References
Analysis of tool mentions in lock files reveals 12,498 total tool references, indicating extensive use of the Claude Code toolkit:
Most Common Tools (by category):
Engine References
Interesting Findings
Standardization is High: 95% of workflows follow the same job architecture (activation→agent→conclusion), indicating strong framework adoption and consistency.
Discussion-Centric Reporting: Discussions are the rejig docs #1 safe output mechanism (30 workflows), suggesting the repository uses Discussions as a knowledge base and audit trail.
Security-First Design: With 67% read-only permissions and minimal write access, workflows prioritize safe, non-destructive operations.
Extensive Workflows: The average workflow has 62 steps, with the largest having 103 steps—far more complex than typical CI/CD workflows, reflecting the rich capabilities of agentic workflows.
Pull Request Focus: 86% of workflows trigger on PRs, emphasizing code review, analysis, and PR automation as primary use cases.
Manual Override Universal: 77% of workflows include workflow_dispatch, allowing developers to trigger any workflow manually for testing and debugging.
Timeout Sweet Spot: 10-minute timeouts dominate (42%), suggesting this is the optimal balance for agent-based processing that's responsive yet allows sufficient time for LLM interactions.
Test Workflows Present: 11 workflows under 100 KB (13.3%) are likely test or example workflows, serving as templates for users.
Large Variance in Complexity: From 77 KB (test workflows) to 403 KB (poem-bot), showing diverse use cases from simple examples to highly sophisticated agents.
Near-Universal Concurrency Control: 94% implement concurrency groups, preventing workflow collisions and resource contention.
Historical Trends
Note: This is the first automated statistical analysis of lock files. Future runs will track changes over time, including:
Recommendations
Based on this analysis, here are suggested best practices and opportunities:
Continue Discussion-Centric Reporting: The pattern of using discussions for audits and reports works well—consider expanding this pattern for all analytical workflows.
Standardize Timeout Values: With 10 minutes being the clear favorite, consider documenting this as the recommended default for agent workflows.
Maintain Security Posture: The 67% read-only permission ratio is excellent—maintain this least-privilege approach in new workflows.
Leverage Tested Patterns: The 95% adoption of the standard job architecture (activation→agent→conclusion) validates this pattern—document it as the canonical structure.
Expand Schedule Diversity: While 52% use schedules, there's room to grow periodic automation for monitoring, maintenance, and reporting tasks.
Consider Workflow Templates: With clear patterns emerging (PR automation, scheduled reports, discussion responses), create templates for common use cases.
Monitor Large Workflows: The poem-bot workflow at 403 KB is an outlier—investigate if complexity can be reduced or if it represents a valid advanced use case.
Test Workflow Library: The 11 smaller workflows (<100 KB) could be organized as an official test suite or example library.
Methodology
.github/workflows/*.lock.yml/tmp/gh-aw/cache-memory/for persistenceAnalysis Scripts
Reusable analysis scripts have been stored in
/tmp/gh-aw/cache-memory/scripts/:extract_triggers.sh- Extracts trigger patternsfull_analysis.sh- Comprehensive structural analysisdetailed_analysis.sh- In-depth pattern extractionData Persistence
Analysis results saved to
/tmp/gh-aw/cache-memory/analysis_data.jsonfor:Summary
The 83 agentic workflow lock files in this repository demonstrate a mature, well-structured ecosystem with:
The workflows average 62 steps and 225 KB, significantly more complex than traditional CI/CD, reflecting the sophisticated capabilities of LLM-powered agentic workflows. The repository serves as an excellent example of GitHub Actions workflows that leverage AI agents for code analysis, reporting, and automation at scale.
Generated by Lockfile Statistics Analysis Agent on 2025-11-19
Beta Was this translation helpful? Give feedback.
All reactions