Skip to content

[deep-report] Docs: clarify redirect: compile behavior + add missing frontmatter field coverage (max-turn-cache-misses, excluded-env, import-s #54179

Description

@github-actions

Description

Schema Consistency Checker (discussion #54161) found two related doc gaps in docs/src/content/docs/reference/frontmatter.md:

  1. It states gh aw compile emits an informational message "when a redirect is configured," but the compiler (pkg/workflow/compiler_orchestrator_frontmatter.go) only treats a file as redirect-only when it has redirect and no on field — ordinary workflows combining both redirect: and on: (e.g. .github/workflows/ai-moderator.md:3) aren't obviously covered the same way. Docs should distinguish the redirect-only-placeholder case from the general case.
  2. Several implemented top-level frontmatter fields — max-turn-cache-misses, excluded-env, import-schema — have no coverage in frontmatter.md at all (or the page should be explicitly marked partial).

Expected Impact

Removes two documented-but-inaccurate/incomplete claims from the primary frontmatter reference page, reducing confusion for anyone relying on it to understand redirect: behavior or discover these existing fields.

Suggested Agent

Documentation-focused agent — update docs/src/content/docs/reference/frontmatter.md to (a) clarify redirect:-only vs redirect: + on: compile behavior against the actual code in pkg/workflow/compiler_orchestrator_frontmatter.go / compiler_orchestrator_workflow.go, and (b) add entries for max-turn-cache-misses, excluded-env, import-schema.

Estimated Effort

Quick (< 1 hour)

Data Source

DeepReport Intelligence analysis, 2026-08-20 cycle, based on Schema Consistency Checker discussion #54161.

Generated by 🔬 Deep Report · agent · 175.8 AIC · ⌖ 9.08 AIC · ⊞ 11.9K ·

  • expires on Aug 21, 2026, 10:33 PM UTC-08:00

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions