You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parser/Compiler: pkg/workflow/engine.go:242-249 still parses top-level max-runs as a legacy alias.
Docs: docs/src/content/docs/reference/frontmatter.md has no max-runs section/hit.
Impact: Users relying on the schema or autocomplete can discover max-runs, but readers of the main reference cannot. This creates migration ambiguity for a still-supported deprecated field.
Top-level github-app docs describe inherited fields that are not visible in the frontmatter reference section itself
Docs say owner/repositories/ignore-if-missing are supported in docs/src/content/docs/reference/frontmatter.md:158-172.
Schema source of truth: top-level github-app references $defs.github_app, which includes owner, repositories, and permissions.
Risk: the short frontmatter reference example only shows client-id and private-key, while the behavioral note says extra fields are supported. This is not a hard contradiction, but it is an under-specified reference section relative to the schema and implementation.
Documentation Gaps
observability.otlp.github-app and workload-identity are implemented in schema/compiler, but only partially surfaced in the main frontmatter reference
Implementation: pkg/workflow/observability_otlp.go, pkg/workflow/compiler_validators.go:498-504, typed fields in pkg/workflow/frontmatter_types.go:267-303
Docs: docs/src/content/docs/reference/frontmatter.md:447-460 documents endpoint/headers/if-missing/attributes/resource-attributes, but does not mention github-app or workload-identity in that main section.
Impact: important auth/configuration branches are discoverable in schema and code but easy to miss in the primary reference.
frontmatter-full.md appears to omit a concrete top-level max-runs entry despite the field being in schema
grep '^max-runs:' docs/src/content/docs/reference/frontmatter-full.md returned no entry.
The glossary and engines docs mention the deprecation, but the exhaustive full reference file appears not to show the field directly.
Impact: generated “full” reference is not fully aligned with schema coverage for deprecated-but-supported keys.
Schema Improvements Needed
Clarify deprecation visibility for max-runs
If it remains accepted, ensure generated/full docs explicitly include it as deprecated.
If removal is imminent, consider stronger schema deprecation metadata or validation warnings that point users to max-turns.
Promote observability auth branches in schema-linked docs
observability.otlp.github-app
observability.otlp.workload-identity
mutual-exclusion rule with GitHub App credentials
Parser Updates Required
No clear parser bug found for the sampled fields, but documentation should catch up with implemented behavior:
pkg/workflow/engine.go correctly honors max-runs as a legacy alias.
pkg/workflow/observability_otlp.go and validators clearly implement advanced OTLP auth behavior.
Potential cleanup opportunity
The precomputed schema-diff.json reported parser_yaml_fields: [], which is misleading for this repo because the frontmatter model lives primarily in pkg/workflow/frontmatter_types.go using JSON tags, not parser YAML tags.
This is a tooling/reporting inconsistency rather than a product schema inconsistency, but it can send future audits in the wrong direction.
Workflow Violations
No confirmed top-level schema violations from sampled workflow files for the targeted fields.
Apparent “used in workflows but not in schema” entries like create-pull-request and noop are mostly nested under safe-outputs, not true top-level frontmatter keys.
This suggests the precomputed workflow-key extraction is flattening nested keys and can produce false positives.
Recommendations
Add a deprecated max-runs subsection to docs/src/content/docs/reference/frontmatter.md and ensure frontmatter-full.md renders it too.
Expand the observability: section in frontmatter.md to mention github-app and workload-identity explicitly, with a pointer to the deeper OTLP/auth docs.
Enrich the top-level github-app: reference example with owner / repositories (and note permissions caveats) so it matches the schema’s effective surface area.
Fix the schema-diff precomputation logic to understand JSON-tagged workflow frontmatter structs and nested workflow keys, reducing false positives in future audits.
Strategy Performance
Strategy Used: Field gap triage + targeted parser/doc verification
Findings: 4
Effectiveness: High
Should Reuse: Yes
Next Steps
Fix deprecated-field coverage in docs (max-runs)
Update frontmatter observability docs for OTLP auth variants
Improve top-level github-app examples/docs
Correct the precomputed schema-diff extraction logic for future runs
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
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-14
🔍 Schema Consistency Check - 2026-08-14
Summary
Critical Issues
max-runsstill exists in schema and parser implementation, but is absent from the main frontmatter reference docspkg/parser/schemas/main_workflow_schema.json:4044pkg/workflow/engine.go:242-249still parses top-levelmax-runsas a legacy alias.docs/src/content/docs/reference/frontmatter.mdhas nomax-runssection/hit.max-runs, but readers of the main reference cannot. This creates migration ambiguity for a still-supported deprecated field.Top-level
github-appdocs describe inherited fields that are not visible in the frontmatter reference section itselfdocs/src/content/docs/reference/frontmatter.md:158-172.github-appreferences$defs.github_app, which includesowner,repositories, andpermissions.client-idandprivate-key, while the behavioral note says extra fields are supported. This is not a hard contradiction, but it is an under-specified reference section relative to the schema and implementation.Documentation Gaps
observability.otlp.github-appandworkload-identityare implemented in schema/compiler, but only partially surfaced in the main frontmatter referencepkg/parser/schemas/main_workflow_schema.json:11669+pkg/workflow/observability_otlp.go,pkg/workflow/compiler_validators.go:498-504, typed fields inpkg/workflow/frontmatter_types.go:267-303docs/src/content/docs/reference/frontmatter.md:447-460documents endpoint/headers/if-missing/attributes/resource-attributes, but does not mentiongithub-apporworkload-identityin that main section.frontmatter-full.mdappears to omit a concrete top-levelmax-runsentry despite the field being in schemagrep '^max-runs:' docs/src/content/docs/reference/frontmatter-full.mdreturned no entry.Schema Improvements Needed
Clarify deprecation visibility for
max-runsmax-turns.Promote observability auth branches in schema-linked docs
observability.otlp.github-appobservability.otlp.workload-identityParser Updates Required
No clear parser bug found for the sampled fields, but documentation should catch up with implemented behavior:
pkg/workflow/engine.gocorrectly honorsmax-runsas a legacy alias.pkg/workflow/workflow_github_app.gocorrectly applies top-level fallback behavior.pkg/workflow/observability_otlp.goand validators clearly implement advanced OTLP auth behavior.Potential cleanup opportunity
schema-diff.jsonreportedparser_yaml_fields: [], which is misleading for this repo because the frontmatter model lives primarily inpkg/workflow/frontmatter_types.gousing JSON tags, not parser YAML tags.Workflow Violations
create-pull-requestandnoopare mostly nested undersafe-outputs, not true top-level frontmatter keys.Recommendations
max-runssubsection todocs/src/content/docs/reference/frontmatter.mdand ensurefrontmatter-full.mdrenders it too.observability:section infrontmatter.mdto mentiongithub-appandworkload-identityexplicitly, with a pointer to the deeper OTLP/auth docs.github-app:reference example withowner/repositories(and notepermissionscaveats) so it matches the schema’s effective surface area.Strategy Performance
Next Steps
max-runs)github-appexamples/docsAll reactions