[Schema Consistency] Schema Consistency Check: Frontmatter Documentation vs Actual Workflows #28547
Closed
Replies: 1 comment
-
|
This discussion has been marked as outdated by Schema Consistency Checker. A newer discussion is available at Discussion #28663. |
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.
-
Executive Summary
Schema consistency analysis complete for GitHub Agentic Workflows. This check compares documented frontmatter fields in
/docs/src/content/docs/reference/with actual usage across 280 workflow files in.github/workflows/.Documented Frontmatter Fields
From
frontmatter.md(User-Friendly Guide)Top-Level Configuration Fields:
name- Workflow namedescription- Workflow descriptionsource- Source trackingredirect- Workflow location redirectprivate- Mark workflow as privateresources- Additional files to fetchlabels- Workflow categorization labelsmetadata- Custom key-value pairsimports- Workflow specifications to importinlined-imports- Inline all imports at compile timetracker-id- Identifier for tagging created assetson- Trigger events (with sub-fields: slash_command, label_command, roles, bots, skip-roles, skip-bots, manual-approval, reaction, status-comment, github-token, github-app, stop-after, steps, permissions, needs)engine- AI engine specificationstrict- Enhanced security validationfeatures- Feature flags (action-mode, awf-diagnostic-logs, integrity-reactions, byok-copilot, mcp-cli)network- Network permissionsmcp-scripts- Custom MCP toolssafe-outputs- Safe outputs processingruntimes- Runtime version overridespermissions- GitHub token scopesrun-name- Custom workflow run nameruns-on- Runner label for main jobruns-on-slim- Runner label for framework jobstimeout-minutes- Maximum job durationenv- Workflow-level environment variablessecrets- Secret valuesenvironment- Environment for deployment rulescontainer- Docker container configurationservices- Service containersif- Conditional executioncheckout- Repository checkout configurationsteps- Custom steps before agentic executionpre-agent-steps- Steps before MCP gateway startuppost-steps- Steps after agentic executionjobs- Custom jobs before agentic executioncache- Cache configurationTotal Documented Top-Level Fields: 39
Fields Used in Actual Workflows
Analysis of 280 workflow files in
.github/workflows/reveals the following top-level fields in use:Fields Found in Actual Workflows:
authors(undocumented)cachecheckoutconcurrencydate(undocumented)descriptionengineenvfeaturesifimport-schema(undocumented)importsinlined-importsjobsmcp-scriptsmcp-servers(undocumented)namenetworkobservability(undocumented)onpermissionspre-agent-stepsrate-limit(undocumented)repo(undocumented)runs-onruntimessafe-outputssandbox(undocumented)secret-masking(undocumented)servicessourcestepsstricttimeout-minutestitle(undocumented)toolstracker-idtry(undocumented)Total Fields in Use: 38
Consistency Analysis
Documented But Not Found in Sample Workflows
redirect- Workflow location redirectprivate- Mark workflow as privateresources- Additional files to fetchlabels- Workflow categorization labelsmetadata- Custom key-value pairspost-steps- Steps after agentic executionThese fields may exist but weren't found in the sample analyzed. They are documented and valid for use.
Used in Workflows But NOT Documented
Critical Gaps:
sandbox- Container sandbox configuration (e.g.,agent: awf)mcp-servers- MCP server configurationrate-limit- Rate limiting configurationsecret-masking- Secret value maskingobservability- Observability/telemetry configurationimport-schema- Schema import configurationMinor/Metadata Fields:
7.
authors- Workflow authors (metadata)8.
date- Workflow date (metadata)9.
title- Workflow title (duplicate ofname)10.
repo- Repository reference11.
try- Try/experimental modeSub-field Analysis
Fields Used Under
engine:id- Engine identifier (11 occurrences)model- Model specification (6 occurrences)bare- Bare mode flag (2 occurrences)max-turns- Maximum turn limit (2 occurrences)agent- Agent specification (1 occurrence)max-continuations- Maximum continuations (1 occurrence)Fields Used Under
on:schedule- Schedule specification (31 occurrences)status-comment- Status comments (3 occurrences)skip-if-match- Skip on search match (3 occurrences)roles- Repository access roles (3 occurrences)skip-if-no-match- Skip when no match (2 occurrences)reaction- Emoji reaction triggers (2 occurrences)issues- Issue event configuration (2 occurrences)stop-after- Stop trigger after deadline (1 occurrence)steps- Pre-activation steps (1 occurrence)skip-if-check-failing- Skip on failing checks (1 occurrence)permissions- Token scopes for pre-activation (1 occurrence)Recommendations
Priority 1: Critical Documentation Gaps
Document these fields in
frontmatter.md:sandbox:- Essential for AWF firewall configurationmcp-servers:- Important for custom MCP server setupsecret-masking:- Critical for security configurationobservability:- Important for telemetry configurationimport-schema:- Configuration for schema validationPriority 2: Standard Fields with Limited Documentation
Expand documentation for:
engine.bare- Bare mode executionengine.max-turns- Turn limit configurationengine.max-continuations- Continuation limitPriority 3: Metadata Fields
Add optional section or appendix for:
authors- Workflow authors (metadata)date- Workflow creation date (metadata)repo- Repository reference (optional)try- Try/experimental mode flag (optional)rate-limit- Rate limiting (if production-critical)Priority 4: Verify Deprecated Fields
Check if these documented fields are truly in use or can be deprecated:
redirect- No usage found; verify if actively usedprivate- No usage found; verify if actively usedresources- No usage found; verify if actively usedlabels- No usage found; verify if actively usedmetadata- No usage found; verify if actively usedFiles Analyzed
Documentation Files:
/home/runner/work/gh-aw/gh-aw/docs/src/content/docs/reference/frontmatter.md(34,532 bytes)/home/runner/work/gh-aw/gh-aw/docs/src/content/docs/reference/frontmatter-full.md(222,277 bytes)Workflows Sampled:
.github/workflows/: 280Beta Was this translation helpful? Give feedback.
All reactions