Repository navigation
[Schema Consistency] 🔍 Schema Consistency Check - 2026-11-12 #77077
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by Schema Consistency Checker. A newer discussion is available at Discussion #77360. |
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
Key findings
High — Daily credit guardrail default is described incorrectly.
pkg/parser/schemas/main_workflow_schema.json:5027anddocs/src/content/docs/reference/frontmatter.md:578say omission disablesmax-daily-ai-credits; the generated reference repeats this atdocs/src/content/docs/reference/frontmatter-full.md:4424. In contrast,pkg/workflow/daily_aic_workflow.go:208resolves an omitted value to the repository variable or built-in default, andpkg/workflow/daily_aic_workflow.go:234enables the guardrail unless explicitly disabled or in dry-run.pkg/constants/constants.go:444sets the fallback to 5000;docs/src/content/docs/reference/cost-management.md:214agrees. Authors relying on the incorrect text may encounter unexpected activation blocking. Update the schema description and friendly reference to explain the 5000 default, variable override, imports, and explicit-1opt-out; regenerate the full reference.Medium — Skip questions pass schema validation but fail compiler validation.
pkg/parser/schemas/main_workflow_schema.json:39accepts any nonblank string, including a question containing${{ inputs.reason }}.pkg/workflow/skip_if_decision.go:25explicitly rejects${{, anddocs/src/content/docs/reference/frontmatter.md:91says Actions expressions are unsupported. Editors and schema-only validators can therefore accept configuration that compilation rejects. Add a schema prohibition for that literal sequence, with a regression case for both valid questions and expressions, while retaining the compiler check. Existing examples such as.github/workflows/daily-file-diet.md:33use runtime file references.Medium — Generated frontmatter reference contains schema-invalid example values.
docs/src/content/docs/reference/frontmatter-full.md:25emitsconnectors: {}, but the schema requires at least one connector (main_workflow_schema.json:27). The reference emitsmax-turns: "example-value"at line 4375, although its string alternative requires an Actions expression (main_workflow_schema.json:15289), anduser-rate-limit.events: []at line 25034 despiteminItems: 1(main_workflow_schema.json:13987). Copying these illustrative alternatives produces validation errors. Teach the reference generator to respect property counts, array minimums, and string patterns or select schema-provided examples; validate generated alternatives against the corresponding schema fragments.Review notes and limitations
skip-if-decisionusage and the explicitmax-daily-ai-credits: -1in.github/workflows/pr-sous-chef.md:6were checked. This does not establish that all nested fields or workflow values validate.Next actions
References: §43161108939
All reactions