[Schema Consistency] 🔍 Schema Consistency Check - 2026-08-05 #50498
Closed
Replies: 1 comment
|
This discussion was automatically closed because it expired on 2026-08-06T06:16:28.558Z.
|
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.
Summary
Critical Issues
max-turn-cache-missesis in schema and implementation, but missing from the primary frontmatter reference pagepkg/parser/schemas/main_workflow_schema.jsondefinesmax-turn-cache-missesas an integer with default5.pkg/workflow/engine.goparsesfrontmatter["max-turn-cache-misses"]and applies it toEngineConfig.MaxTurnCacheMisses.docs/src/content/docs/reference/frontmatter.mdhas no mention ofmax-turn-cache-misses, whilefrontmatter-full.mddoes.Workflow examples use
create-pull-request:as a top-level frontmatter key, but schema requires it undersafe-outputs:create-pull-request; it appears undersafe-outputs..github/workflows/dictation-prompt.md:43,.github/workflows/code-scanning-fixer.md:168,.github/workflows/unbloat-docs.md:75containcreate-pull-request:lines.Documentation Gaps
Primary doc coverage is uneven between
frontmatter.mdandfrontmatter-full.mdcheck-for-updatesandruns-on-slimare documented in both places.max-turn-cache-missesappears only indocs/src/content/docs/reference/frontmatter-full.md:3110and is absent fromdocs/src/content/docs/reference/frontmatter.md.safe-outputsoverview page does not expose key nested operations in the main frontmatter referencedocs/src/content/docs/reference/frontmatter.mdmentionssafe-outputs:only briefly and does not surface common nested operations such asnooporcreate-pull-request.Schema Improvements Needed
/tmp/gh-aw/agent/schema-diff.jsonreports every schema field underin_schema_not_parserbecausepkg/parser/frontmatter.gohas no yaml-tagged structs.pkg/workflow/frontmatter_types.goand map-based extraction code.pkg/parser/*.go.Parser Updates Required
pkg/workflow/strict_mode_update_check_validation.go:11points tohttps://github.github.com/gh-aw/reference/check-for-updates/./reference/frontmatter/#check-for-updates).Workflow Violations
used_in_workflowscontains many non-frontmatter keys because it scans whole markdown files, not just frontmatter/tmp/gh-aw/agent/schema-diff.json:authors,date,task,try,else,title,repo.Recommendations
max-turn-cache-missestodocs/src/content/docs/reference/frontmatter.mdwith a short explanation and link to the full reference.safe-outputsoperations are not treated as top-level workflow keys.Strategy Performance
Next Steps
safe-outputsexamples in workflow markdownReferences:
All reactions