[Schema Consistency] Schema consistency check report - 2026-08-06 #50792
Closed
Replies: 1 comment
|
This discussion was automatically closed because it expired on 2026-08-07T06:17:49.617Z.
|
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.
Caution
agentic threat detected
Threat detection flagged this output in warn mode. Manual review is REQUIRED before any follow-up automation.
Details
Potential security threats were detected in the agent output.
Review the workflow run logs for details.
🔍 Schema Consistency Check - 2026-08-06
Summary
Critical Issues
Precomputed schema diff reports every top-level schema field as absent from the parser, but that result is false.
/tmp/gh-aw/agent/schema-diff.jsonshowsparser_yaml_fields: []and therefore all schema fields underfield_gaps.in_schema_not_parser.pkg/workflow/*rather than yaml-tagged structs inpkg/parser/frontmatter.go.max-turn-cache-missesis parsed inpkg/workflow/engine.goandpkg/workflow/engine_config_parser.gostatus-comment,skip-if-match, andskip-if-no-matchare parsed inpkg/workflow/trigger_parser.goambient-foldersis consumed inpkg/workflow/compiler_activation_outputs.goGlossary documentation says
status-comment:is configured insafe-outputs, but implementation and primary docs place it underon:.docs/src/content/docs/reference/glossary.mdsays: “Configured viastatus-comment: trueinsafe-outputs.”docs/src/content/docs/reference/frontmatter.mddocumentsstatus-commentunderon:docs/src/content/docs/reference/triggers.mddocumentson.status-commentpkg/workflow/trigger_parser.goparsesstatus-commentfrom theonmapDocumentation claims
gh aw fixmigrates deprecatedapp-idtoclient-id, but the code shown here only normalizes aliases during parsing.docs/src/content/docs/reference/glossary.mddocs/src/content/docs/reference/checkout.mddocs/src/content/docs/reference/frontmatter.mdpkg/workflow/safe_outputs_app_config.goaccepts bothclient-idand deprecatedapp-idpkg/workflow/config_helpers.gonormalizesgithub-app.app-idtoclient-idin memory while parsinggh aw fixrewrite implementation in this pass.Documentation Gaps
ambient-foldersis documented as a top-level frontmatter feature and import-safe shared component field, but real workflow usage in this repo appears only in shared workflow content..github/workflows/shared/squad.mdpkg/workflow/compiler_activation_outputs.goThe machine-generated
field_gaps.in_used_not_schemalist contains many false positives caused by scanning non-frontmatter YAML-like content inside workflow prompts/examples.title,task,repo,noop,try,elseSchema Improvements Needed
Analysis tooling should distinguish top-level schema fields from nested/manual parser surfaces.
on.status-comment,on.restore-memory,on.skip-if-match,on.skip-if-no-match, andengine.extensionsdo exist in the schema and implementation, but they are invisible to the top-level yaml-tag diff strategy.Schema-consistency workflows should exclude markdown-body pseudo-YAML when computing actual workflow key usage.
field_gaps.in_used_not_schemawill continue to produce low-signal findings.Parser Updates Required
status-comment,skip-if-match,skip-if-no-match,restore-memory,engine.extensions,ambient-folders, andmax-turn-cache-missesall have implementation evidence.Workflow Violations
.github/workflows/ab-testing-advisor.mduse schema-backed keys such asmax-daily-ai-credits,safe-outputs,engine,features,sandbox, andevals..github/workflows/shared/squad.mdusesambient-folders, which is documented and has compiler support.Recommendations
docs/src/content/docs/reference/glossary.mdsostatus-commentis described underon:instead ofsafe-outputs.gh aw fixmigration path forapp-id→client-id; if none exists, remove or soften that promise in docs./tmp/gh-aw/agent/schema-diff.jsonas a hint, not ground truth, because parser support is often implemented through manualmap[string]anyprocessing.on.*,engine.*, andgithub-appsubfields, since top-level diffs miss the most important behavior.Strategy Performance
Next Steps
status-commentgh aw fixandapp-idmigrationon.*andengine.*All reactions