📊 Agentic Workflow Lock File Statistics - 2025-10-29 #2715
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
Analysis Date: 2025-10-29
Repository: githubnext/gh-aw
Total Lock Files Analyzed: 56
This report provides comprehensive statistical analysis of all
.lock.ymlfiles in the repository, covering file characteristics, trigger patterns, safe outputs, structural metrics, and more.Executive Summary
The repository contains 56 agentic workflow lock files totaling 11.12 MB, with an average size of 203 KB. The workflows are predominantly triggered by manual dispatch (workflow_dispatch) and scheduled runs (cron). Most workflows use Copilot (62.5%) as the AI engine, with Claude (37.5%) as the secondary choice. All workflows follow a consistent pattern of read-only permissions for safety, with an average of 5.6 jobs and 57.7 steps per workflow.
Full Report Details
File Size Analysis
Overall Statistics
Size Distribution
Key Insight: 89% of workflows fall in the 100-300 KB range, indicating consistent complexity across the repository.
Trigger Analysis
Most Popular Triggers
Trigger Combinations
The most common pattern combines workflow_dispatch with schedule/cron, allowing both manual and automated execution:
This pattern appears in 29 workflows (51.8%), providing maximum flexibility.
Schedule Patterns
Popular cron schedules include:
0 9 * * *0 6 * * *0 0 * * *0 0,6,12,18 * * *0 2 * * 1-50 6 * * 0Most frequent: Every 6 hours (5 workflows) for continuous monitoring tasks like smoke tests.
Safe Outputs Analysis
All workflows implement safe outputs to control agent actions and prevent unrestricted modifications.
Safe Output Types Distribution
Note: Counts may exceed 56 as workflows can have multiple safe output types configured
Common Safe Output Configurations
1. Discussion-First Pattern (Reports & Analysis):
{"create_discussion": {"max": 1}, "missing_tool": {}}Used by: daily-news, audit-workflows, lockfile-stats, etc.
2. Issue-Focused Pattern (Bug Detection):
{"create_issue": {"max": 1, "min": 1}, "add_comment": {"max": 1}}3. Full-Service Pattern (Interactive Workflows):
Multiple output types enabled for comprehensive interaction.
Discussion Categories
Workflows use the "audits" category most frequently for reporting findings and analysis results.
Structural Characteristics
Job & Step Statistics
Typical Workflow Structure
Based on median values, a representative
.lock.ymlfile contains:Job Distribution
Permissions Analysis
Most Common Permissions
Permission Patterns
Security Posture: The repository follows excellent security practices:
discussions:write(for safe outputs)contents:write,pull-requests:write, or other risky permissions on the workflow levelTimeout Configuration
Timeout Distribution
AI Engine Analysis
Engine Distribution
Engine Selection Patterns
Tool & MCP Server Patterns
MCP Server Usage
Key Finding: Near-universal adoption of the GitHub MCP server (52/56 workflows) for repository operations.
Tool Configuration Patterns
Concurrency Management
100% of workflows use the standard
gh-aw-patternconcurrency group:This ensures workflows don't interfere with each other while allowing parallel execution across different triggers.
Interesting Findings
1. Consistency is King
The repository demonstrates remarkable consistency:
2. Safety-First Design
Every workflow implements multiple layers of safety:
3. Flexibility Through Triggers
85% of workflows support both scheduled and manual execution, providing excellent operational flexibility.
4. Balanced Engine Selection
The 62/38 split between Copilot and Claude suggests thoughtful engine selection based on task requirements rather than dogmatic adherence to a single engine.
5. Outliers Tell Stories
Recommendations
1. Consider Timeout Optimization
With 46% of workflows using 10-minute timeouts, monitor actual runtimes to identify opportunities for:
2. Document Engine Selection Criteria
Create guidelines for when to use Copilot vs. Claude based on the observed patterns to help future workflow authors.
3. Standardize Safe Output Patterns
The variety of safe output configurations suggests potential for standardization into 3-4 common templates:
4. Monitor Growth Trends
Track these metrics over time:
5. Leverage Shared Configurations
With 93% using GitHub MCP, consider:
Methodology
Data Collection
/tmp/gh-aw/cache-memory/scripts/Analysis Approach
Data Quality
Generated by Lockfile Statistics Analysis Agent on 2025-10-29 03:31:11 UTC
Workflow Run: §18896129317
Beta Was this translation helpful? Give feedback.
All reactions