[Schema Consistency] Schema consistency audit: parser diff false positives and doc drift #50195
Closed
Replies: 1 comment
|
This discussion was automatically closed because it expired on 2026-08-05T06:20:49.107Z.
|
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-04
Summary
Critical Issues
Pre-computed parser field diff is currently unreliable
/tmp/gh-aw/agent/schema-diff.jsonreportsparser_yaml_fields: [], causing every schema field to appear infield_gaps.in_schema_not_parser.pkg/workflow/frontmatter_types.go,pkg/workflow/frontmatter_serialization.go, and related compiler code.in_schema_not_parseras authoritative will over-report inconsistencies and can mis-prioritize real schema drift.Top-level
github-appis implemented and documented, but absent from the user-facing frontmatter guide sectioninggithub-appas a first-class field.pkg/cli/workflows/test-top-level-github-app-*.md.docs/src/content/docs/reference/frontmatter.mdreferenceson.github-appandskills[].github-app, but does not provide a dedicated top-level### GitHub App (github-app:)section near other top-level fields.github-appis available as a workflow-wide fallback rather than only as a nested field.Deprecated
safe-outputs.mentions.allow-team-membersis still shown in docs as if currentallow-team-membersas deprecated in favor ofallowed-collaborators.docs/src/content/docs/reference/safe-outputs.md:1830still shows:allow-team-members: true # Allow repo collaborators (default: true)allowed-collaborators, not the deprecated alias name.max-runsdeprecation is split across docs in a way that can confuse field meaningmax-runsas a deprecated alias formax-turns.pkg/cli/codemod_max_runs_to_max_turns.goto migrate it.max-runs-per-windowunderuser-rate-limit, andglossary.mdcontains both concepts.max-runsandmax-runs-per-windoware both present in docs, users can easily conflate the deprecated AI invocation cap with rate limiting. This is more of a docs-information-architecture inconsistency than a code bug, but it is actionable.Documentation Gaps
github-appguide section indocs/src/content/docs/reference/frontmatter.md.safe-outputs.mdusesallow-team-membersin example YAML.max-runsis weak: deprecation exists, but the distinction fromuser-rate-limit.max-runs-per-windowis easy to miss.Schema Improvements Needed
schema-diff.jsonparser field extraction is incomplete or broken for parser-side YAML fields.so the pre-computed diff better reflects reality.
Parser Updates Required
/tmp/gh-aw/agent/schema-diff.jsonas heuristic input, not source of truth, until parser field extraction is fixed.Workflow Violations
github-app,timeout-minutes, etc.), which supports the implementation side.Recommendations
parser_yaml_fieldsis not empty and field gap reports stop generating false positives.github-appsection todocs/src/content/docs/reference/frontmatter.md, with a short example and explicit fallback semantics.allow-team-memberswithallowed-collaboratorsindocs/src/content/docs/reference/safe-outputs.mdexamples, keeping the old name only in deprecation notes.max-runsvsmax-runs-per-windowwith a short “do not confuse” note infrontmatter.mdorglossary.md.deprecated: truemetadata.Strategy Performance
Next Steps
github-appallow-team-membersmax-runsKey Evidence
Selected evidence
/tmp/gh-aw/agent/schema-diff.jsonparser_yaml_fields: []field_gaps.in_schema_not_parsercontains effectively all top-level schema fieldsdocs/src/content/docs/reference/frontmatter.md:485redirect:section, confirming schema/docs alignment for that fielddocs/src/content/docs/reference/frontmatter.md:265runs-on-slimguidance, confirming the pre-computed “not in workflow compiler” gap is a false leaddocs/src/content/docs/reference/safe-outputs.md:1830allow-team-membersexamplepkg/cli/codemod_max_runs_to_max_turns.gomax-runsis deprecated and migration-supportedpkg/cli/workflows/test-top-level-github-app-safe-outputs.mdgithub-appfallback behaviorNext Actions
github-appand deprecated mention-filter docs.References:
All reactions