📊 Agentic Workflow Lock File Statistics - 2025-10-16 #1787
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-16
Executive Summary
File Size Distribution
Statistics:
smoke-opencode.lock.yml(123,811 bytes = 120.9 KB)poem-bot.lock.yml(331,273 bytes = 323.5 KB)Finding: All lock files are substantial in size (>100 KB), reflecting the comprehensive nature of agentic workflows with embedded instructions, error handling, and safe outputs infrastructure.
Trigger Analysis
Most Popular Triggers
Key Finding:
workflow_dispatch(manual trigger) is present in nearly all workflows (23 occurrences), making workflows easily testable and runnable on-demand.Common Trigger Combinations
Based on analysis, workflows typically combine:
issues+issue_comment+workflow_dispatch(most common pattern)pull_request+pull_request_review_comment+issue_comment+workflow_dispatchdiscussion+discussion_comment+issues+issue_comment+pull_request+pull_request_review_comment+workflow_dispatch(comprehensive coverage)schedule+workflow_dispatch(automated with manual override)Schedule Patterns
0 10 * * *0 9 * * 00 9 * * 1-50 0 * * *0 3 * * *0 11 * * *0 9 * * 1Total Scheduled Workflows: 7 unique schedules across 9 workflow instances
Safe Outputs Analysis
Safe Output Types Distribution
Key Findings:
missing_tooloutput for reporting capability gapscreate_issueandadd_commentare the most common actionable outputsSafe Output Configuration Patterns
Most Common Configurations:
{"create_discussion":{"max":1},"missing_tool":{}}- 6 workflows{"create_issue":{"max":1,"min":1},"missing_tool":{}}- 5 workflows{"create_issue":{"max":1},"missing_tool":{}}- 4 workflows{"add_comment":{"max":1},"missing_tool":{}}- 3 workflowsComplex Configuration Example (poem-bot):
Structural Characteristics
Job Complexity
poem-bot.lock.yml)Job Distribution:
Standard Job Pattern (most workflows follow this):
pre_activation- Check permissions/team membershipactivation- Validate activation conditionsagent- Main agent executiondetection- Detect completion/output typescreate_<output>- Execute safe outputs (e.g., create_discussion, create_issue)missing_tool- Report missing tool requestsAverage Lock File Structure
Based on statistical analysis, a typical .lock.yml file has:
Permission Patterns
Observed Pattern
Universal Approach: All workflows use
permissions: {}(empty permissions) in the workflow-level configuration.Why This Works:
GITHUB_TOKENwith appropriate scopesSecurity Benefit: This pattern minimizes attack surface by not granting broad permissions to the entire workflow.
Tool & MCP Patterns
Most Used MCP Servers
Key Findings:
MCP Server Version
ghcr.io/github/github-mcp-server:v0.18.0(standardized across all workflows)Timeout Configuration
Timeout Analysis
Pattern: Most jobs use 10-minute timeouts, with some pre-activation/detection jobs using 5 minutes for faster feedback.
Interesting Findings
1. Consistent Architecture Pattern
All workflows follow a remarkably consistent job structure:
This standardization suggests:
2. Large File Sizes Despite YAML Format
Lock files range from 120 KB to 331 KB, which is unusually large for workflow files. This is because:
3. Safety-First Design
Every workflow includes:
4. Flexibility Through Triggers
Most workflows (27 out of 30) include
workflow_dispatch, enabling:5. Specialized vs. General Purpose
While most workflows follow the standard 6-job pattern, some workflows are more complex:
6. No Direct Permissions
Unique finding: Zero workflows grant direct permissions at the workflow level. All GitHub interactions go through safe outputs MCP, which:
Historical Trends
Note: This is the first comprehensive analysis. Future analyses will track:
Baseline Established: 2025-10-16
Recommendations
1. Document the Standard Pattern
The 6-job pattern (pre_activation → activation → agent → detection → safe_outputs → missing_tool) should be documented as the standard architecture for agentic workflows. This helps:
2. Consider File Size Optimization
At 120-331 KB per lock file:
3. Standardize Timeout Values
Current timeouts vary (5-20 minutes). Recommend:
4. Track MCP Server Versions
github-mcp-server:v0.18.05. Expand Safe Output Types
Current safe outputs are GitHub-centric. Consider adding:
6. Schedule Optimization
Methodology
Analysis Tools
Data Sources
.github/workflows/*.lock.ymlpyyamlCache Memory
Analysis scripts and data stored in
/tmp/gh-aw/cache-memory/:scripts/- Reusable extraction and analysis scriptsdata/- Extracted raw data and compiled statisticsQuality Assurance
Conclusion
The agentic workflows in this repository demonstrate:
The lock files are comprehensive artifacts that encode not just workflow steps, but also safety guarantees, agent instructions, and operational infrastructure. This analysis establishes a baseline for tracking the evolution of agentic workflows in this repository.
Generated by Lockfile Statistics Analysis Agent on 2025-10-16 03:25:52 UTC
Analysis scripts cached in
/tmp/gh-aw/cache-memory/scripts/Raw data available in
/tmp/gh-aw/cache-memory/data/Beta Was this translation helpful? Give feedback.
All reactions