Repository navigation
[Schema Consistency] 🔍 Schema Consistency Check - 2026-11-06 #75502
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by Schema Consistency Checker. A newer discussion is available at Discussion #75614. |
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.
Overview
Schema consistency audit for §42313891413.
0required reuse of a proven strategyWarning
/tmp/gh-aw/agent/awf-config-drift.jsonreportsdegraded: truebecause the canonical AWF source was unavailable. This is a non-authoritative availability warning only; no AWF drift claim or corrective action is based on that comparison.The already-cached top-level
FrontmatterConfigserializer gaps were not re-counted. This run focused on new contradictions.Critical Issues
High — Schema blocks four parser/compiler-supported templatable booleans. The schema restricts
safe-outputs.add-comment.footer,reply-to-pull-request-review-comment.footer,noop.report-as-issue, andassign-to-user.unassign-firstto literal booleans (main_workflow_schema.json:8798,:9667,:10717,:12401). Their parsers callpreprocessBoolFieldAsString(add_comment.go:59,reply_to_pr_review_comment.go:56,noop.go:47,assign_to_user.go:29), and downstream generation preserves expressions. A value such as${{ inputs.footer }}is therefore implemented but rejected before that implementation is reachable.Medium — Reply-comment footer documentation advertises values its parser rejects.
safe-outputs-pull-requests.md:386andglossary.md:610sayreply-to-pull-request-review-comment.footeracceptsalways,none, orif-body. The reply parser accepts only booleans or GitHub Actions expressions and rejects free-form strings. Those three modes belong tosubmit-pull-request-review, correctly shown atsafe-outputs-pull-requests.md:358.Documentation Gaps
Medium — The glossary states the wrong protected-files default and omits the current default policy.
glossary.md:546lists three policies and callsblockedthe default. The schema (main_workflow_schema.json:9173,:11510), compiler (safe_outputs_handler_registry_pull_requests.go:334-345), and detailed reference (safe-outputs-pull-requests.md:620) userequest-reviewas the default and support four policies. This is security-sensitive guidance because omission changes whether a protected-file patch is hard-blocked or preserved behind a requested-change review.Low — One provenance-managed workflow uses the legacy protected-files spelling.
.github/workflows/squad-implement-worker.md:96usesrequest_review; the compiler normalizes it torequest-review, so it is accepted today. The workflow declares upstream source provenance at line 106, so the correction must be made inbradygaster/squadand then imported with the approvedgh aw updatepath. Do not edit the local source directly.Contract evidence for the systemic schema gap
add-comment.footerreply-to-pull-request-review-comment.footernoop.report-as-issueGH_AW_NOOP_REPORT_AS_ISSUEassign-to-user.unassign-firstunassign_firstas templatableThe parser helper explicitly accepts literal booleans and
${{ ... }}expression strings inpkg/workflow/config_preprocessing.go:12-40. The schema already defines reusable$defs.templatable_boolean; these four properties do not use it.Schema Improvements Needed
$ref: #/$defs/templatable_booleanwhile preserving descriptions and defaults.frontmatter-full.mdafter the schema correction.Parser Updates Required
No runtime parser behavior needs widening for the confirmed issues. Add parity tests so schema validation and
preprocessBoolFieldAsStringcannot diverge again. Keepreply-to-pull-request-review-comment.footerrejectingalways/none/if-body; correct the documentation instead.Workflow Violations
field_gaps.in_used_not_schema: []; no unsupported top-level keys were found.request_reviewalias; it is upstream-managed and requires an upstream migration.Recommendations
request-reviewas the default andrequest_reviewidentified only as a legacy alias.bradygaster/squad, then refresh the pinned workflow throughgh aw update.Strategy Performance
strategy-3success count increased to 3 with this run evidenceNext Steps
References: §42313891413
All reactions