Skip to content

[agent-suggestions] Agent suggestions - 2026-08-24 #1890

Closed as not planned
Closed as not planned

Description

@github-actions

Agent Suggestions

Date: 2026-08-24

1. workflow-contract-preflight

Trigger: pull_request on workflow source paths (.github/workflows/**, gh-agent-workflows/**, docs workflow references) plus weekly schedule backstop.

Purpose: Detect workflow contract drift before merge (source .md ↔ trigger/example ↔ README parity, required workflow_call input wiring, footer wiring, permissions consistency, generated-file boundary checks excluding .lock.yml). This would shift drift detection from post-merge issue filing to pre-merge prevention.

Proposed safe outputs:

  • add-comment on PRs (inline actionable drift report)
  • create-issue on scheduled runs for unresolved/recurrent drift
  • noop when no drift is found

Evidence:

Why not covered already:
Current coverage includes many detectors/reviewers/fixers and an internal scheduled workflow-patrol; it does not provide a published PR-triggered preflight focused on workflow contract parity for maintainers and downstream adopters.

Duplicate Checks

Downstream Signals

  • elastic/beats: uses gh-aw-pr-review trigger (link above)
  • elastic/elastic-agent: uses gh-aw-pr-review trigger (link above)
  • elastic/integrations: uses gh-aw-pr-review trigger (link above)
  • elastic/logstash: uses gh-aw-estc-pr-buildkite-detective trigger (link above)

Suggested Next Steps

  • Prototype gh-aw-workflow-contract-preflight as a public workflow using pull_request trigger + scheduled backstop.
  • Reuse checks and heuristics from workflow-patrol for parity dimensions, but tune outputs for PR-time maintainers.
  • Add gh-agent-workflows/workflow-contract-preflight/README.md and example.yml so downstream repos can adopt it directly.

What is this? | From workflow: Trigger Agent Suggestions

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

  • expires on Aug 31, 2026, 12:33 PM UTC

Activity

  1. github-actions commented on Aug 31, 2026

    @github-actions
    ContributorAuthor

    This issue was automatically closed because it expired on 2026-08-31T12:33:48.177Z.

    Closed by Workflow

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions