[Schema Consistency] 🔍 Schema Consistency Check - 2026-09-26 #63568
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by Schema Consistency Checker. A newer discussion is available at Discussion #63784. |
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.
Summary
degraded: truein/tmp/gh-aw/agent/awf-config-drift.json), so AWF drift observations are non-authoritative only.Critical Issues
Potential schema type invalidity for nullable numeric-like limits
schema-diff.jsonshows blank top-level type entries formax-runs,max-daily-ai-credits,max-ai-credits,max-tool-denials,timeout-minutes,runs-on, andruns-on-sliminfield_types.pkg/workflow/frontmatter_types.go:363,pkg/workflow/frontmatter_types.go:366,pkg/workflow/frontmatter_types.go:367,pkg/workflow/frontmatter_types.go:410).Permissions shape mismatch risk between docs and parser compatibility behavior
PermissionsTyped anyand legacyPermissions map[string]any(pkg/workflow/frontmatter_types.go:393,pkg/workflow/frontmatter_types.go:394).permissions(pkg/parser/schemas/main_workflow_schema.json:2530onward).Documentation Gaps
Top-level legacy aliases are under-signaled in reference docs
max-runsas deprecated alias formax-turns(pkg/workflow/frontmatter_types.go:363)..github/workflows/api-consumption-report.md:7formax-daily-ai-credits).Import-schema value-shape constraints are buried and easy to miss
pkg/parser/schemas/main_workflow_schema.json:223,pkg/parser/schemas/main_workflow_schema.json:286,pkg/parser/schemas/main_workflow_schema.json:388).frontmatter.md/frontmatter-full.mddo not present this prominently with failing examples, users can author nested values that parse mentally but fail validation.Schema Improvements Needed
deprecated/migration annotations for known aliases (e.g.,max-runs) where supported by schema conventions.permissionsexamples to mirror both accepted forms and preferred modern form.Parser Updates Required
permissionsormax-runsalias paths are used, if not already surfaced.inlined-imports,import-schemaobject-depth constraints, and legacy alias normalization.Workflow Violations
field_gaps.in_used_not_schema(empty in/tmp/gh-aw/agent/schema-diff.json).Recommendations
import-schemanested-object invalid examples and corresponding validator errors.field_typesextraction yields blank type markers for top-level keys.Strategy Performance
Next Steps
permissionscompatibility and preferred formatmax-runsalias) in frontmatter referencesimport-schemadocs with invalid nested examplesAll reactions