[Schema Consistency] Schema consistency check report - 2026-08-13 #52440
Closed
Replies: 1 comment
|
This discussion was automatically closed because it expired on 2026-08-14T05:57:12.738Z.
|
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.
🔍 Schema Consistency Check - 2026-08-13
Summary
Critical Issues
Precomputed parser field diff is misleading because parser extraction is empty
schema-diff.jsonreportsparser_yaml_fields: [], making every schema field appear to be missing from the parser.FrontmatterConfiginpkg/workflow/frontmatter_parsing.go, with fields declared inpkg/workflow/frontmatter_types.go.runs-on-slim,resources,max-daily-ai-credits, andcheck-for-updates.field_gaps.in_schema_not_parserwill generate false positives unless it compensates for this data quality issue.Schema wording for
max-daily-ai-creditscontradicts documentationpkg/parser/schemas/main_workflow_schema.json): description says the guardrail is for "runs triggered by the same user".docs/src/content/docs/reference/frontmatter.md,rate-limiting-controls.md): describe it as a per-workflow rolling 24-hour cap aggregated across recent runs of the workflow.pkg/workflow/daily_aic_workflow_guardrail_test.goreferences workflow-wide behavior).Documentation Gaps
Frontmatter reference omits the documented default for
check-for-updatesin generated reference style"default": trueforcheck-for-updates.pkg/workflow/strict_mode_update_check_validation.go) treats the default-enabled behavior as security-relevant.Workflows do not exercise several documented/schema top-level fields
ambient-folders,resources,runs-on-slim,max-daily-ai-credits,check-for-updates, orgithub-app..github/workflows/.Schema Improvements Needed
Fix
max-daily-ai-creditsdescriptionMake schema-diff generation parser-aware
pkg/parser/*.go, but top-level frontmatter is actually represented inpkg/workflow/frontmatter_types.gowithjsontags and parsed inpkg/workflow/frontmatter_parsing.go.Parser / Compiler Notes
runs-on-slim→pkg/workflow/frontmatter_types.goresources→pkg/workflow/frontmatter_types.goplus validation inpkg/workflow/compiler_validators.gocheck-for-updates→pkg/workflow/frontmatter_types.goplus enforcement inpkg/workflow/strict_mode_update_check_validation.goambient-folders→pkg/workflow/ambient_folders.gogithub-app→pkg/workflow/workflow_github_app.goWorkflow Violations
in_used_not_schemain precomputed data contains many false positives from markdown bodies, not frontmattertitle,repo,authors,try, andelse.Recommendations
max-daily-ai-creditsto say per-workflow rather than same user.pkg/workflow/frontmatter_types.goand frontmatter-only sections of workflow markdown.ambient-folders,resources,runs-on-slim, or top-levelgithub-app.Strategy Performance
Next Steps
max-daily-ai-creditsAll reactions