From 7d936d135b433596a314b451a1a1f11bd8b97b85 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 26 Feb 2026 21:20:10 +0000 Subject: [PATCH 1/5] Initial plan From 0ffa4218dd6e7daa263ea3dd6f2c61cf6d99247c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 26 Feb 2026 21:34:30 +0000 Subject: [PATCH 2/5] Rename Elastic-specific workflows with estc- prefix and add dedicated section in docs Co-authored-by: strawgate <6384545+strawgate@users.noreply.github.com> --- ... gh-aw-estc-docs-patrol-external.lock.yml} | 18 +++++------ ....md => gh-aw-estc-docs-patrol-external.md} | 2 +- ...yml => gh-aw-estc-docs-pr-review.lock.yml} | 18 +++++------ ...review.md => gh-aw-estc-docs-pr-review.md} | 2 +- ... => gh-aw-estc-downstream-health.lock.yml} | 18 +++++------ ...lth.md => gh-aw-estc-downstream-health.md} | 2 +- ...wbie-contributor-patrol-external.lock.yml} | 18 +++++------ ...stc-newbie-contributor-patrol-external.md} | 2 +- ...h-aw-estc-pr-buildkite-detective.lock.yml} | 20 ++++++------ ...d => gh-aw-estc-pr-buildkite-detective.md} | 0 .github/workflows/smoke-test-install.yml | 10 +++--- ...ew.yml => trigger-estc-docs-pr-review.yml} | 6 ++-- ...yml => trigger-estc-downstream-health.yml} | 6 ++-- ...> trigger-estc-pr-buildkite-detective.yml} | 6 ++-- docs/blog/posts/meet-the-detectives.md | 2 +- docs/blog/posts/meet-the-docs-patrol.md | 4 +-- docs/blog/posts/meet-the-reviewers.md | 2 +- docs/blog/posts/meet-the-watchdogs.md | 2 +- docs/workflows/gh-agent-workflows.md | 32 ++++++++++++++++--- .../docs-patrol-overview.md | 12 +++---- .../gh-agent-workflows/newbie-contributor.md | 12 +++---- gh-agent-workflows/README.md | 11 +++++++ .../README.md | 6 ++-- .../example.yml | 4 +-- .../README.md | 6 ++-- .../dogfood-with.yml | 0 .../example.yml | 4 +-- .../README.md | 6 ++-- .../example.yml | 4 +-- .../README.md | 6 ++-- .../example.yml | 4 +-- .../README.md | 6 ++-- .../example.yml | 4 +-- mkdocs.yml | 9 ++++-- scripts/dogfood.sh | 4 +-- 35 files changed, 152 insertions(+), 116 deletions(-) rename .github/workflows/{gh-aw-docs-patrol-external.lock.yml => gh-aw-estc-docs-patrol-external.lock.yml} (99%) rename .github/workflows/{gh-aw-docs-patrol-external.md => gh-aw-estc-docs-patrol-external.md} (99%) rename .github/workflows/{gh-aw-docs-pr-review.lock.yml => gh-aw-estc-docs-pr-review.lock.yml} (99%) rename .github/workflows/{gh-aw-docs-pr-review.md => gh-aw-estc-docs-pr-review.md} (99%) rename .github/workflows/{gh-aw-downstream-health.lock.yml => gh-aw-estc-downstream-health.lock.yml} (99%) rename .github/workflows/{gh-aw-downstream-health.md => gh-aw-estc-downstream-health.md} (99%) rename .github/workflows/{gh-aw-newbie-contributor-patrol-external.lock.yml => gh-aw-estc-newbie-contributor-patrol-external.lock.yml} (99%) rename .github/workflows/{gh-aw-newbie-contributor-patrol-external.md => gh-aw-estc-newbie-contributor-patrol-external.md} (99%) rename .github/workflows/{gh-aw-pr-buildkite-detective.lock.yml => gh-aw-estc-pr-buildkite-detective.lock.yml} (99%) rename .github/workflows/{gh-aw-pr-buildkite-detective.md => gh-aw-estc-pr-buildkite-detective.md} (100%) rename .github/workflows/{trigger-docs-pr-review.yml => trigger-estc-docs-pr-review.yml} (73%) rename .github/workflows/{trigger-downstream-health.yml => trigger-estc-downstream-health.yml} (60%) rename .github/workflows/{trigger-pr-buildkite-detective.yml => trigger-estc-pr-buildkite-detective.yml} (77%) rename gh-agent-workflows/{docs-patrol-external => estc-docs-patrol-external}/README.md (89%) rename gh-agent-workflows/{docs-patrol-external => estc-docs-patrol-external}/example.yml (63%) rename gh-agent-workflows/{docs-pr-review => estc-docs-pr-review}/README.md (93%) rename gh-agent-workflows/{docs-pr-review => estc-docs-pr-review}/dogfood-with.yml (100%) rename gh-agent-workflows/{docs-pr-review => estc-docs-pr-review}/example.yml (74%) rename gh-agent-workflows/{downstream-health => estc-downstream-health}/README.md (89%) rename gh-agent-workflows/{downstream-health => estc-downstream-health}/example.yml (65%) rename gh-agent-workflows/{newbie-contributor-patrol-external => estc-newbie-contributor-patrol-external}/README.md (86%) rename gh-agent-workflows/{newbie-contributor-patrol-external => estc-newbie-contributor-patrol-external}/example.yml (58%) rename gh-agent-workflows/{pr-buildkite-detective => estc-pr-buildkite-detective}/README.md (90%) rename gh-agent-workflows/{pr-buildkite-detective => estc-pr-buildkite-detective}/example.yml (83%) diff --git a/.github/workflows/gh-aw-docs-patrol-external.lock.yml b/.github/workflows/gh-aw-estc-docs-patrol-external.lock.yml similarity index 99% rename from .github/workflows/gh-aw-docs-patrol-external.lock.yml rename to .github/workflows/gh-aw-estc-docs-patrol-external.lock.yml index df0ba24f..052b927e 100644 --- a/.github/workflows/gh-aw-docs-patrol-external.lock.yml +++ b/.github/workflows/gh-aw-estc-docs-patrol-external.lock.yml @@ -41,7 +41,7 @@ # # gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"6e8148d197697e6bcbd937883265e67c2d25912aad7bfc2ed69da7453e45a210"} -name: "Docs Patrol External" +name: "Estc Docs Patrol External" "on": # bots: # Bots processed as bot check in pre-activation job # - ${{ inputs.allowed-bot-users }} # Bots processed as bot check in pre-activation job @@ -96,7 +96,7 @@ concurrency: cancel-in-progress: true group: docs-patrol-external -run-name: "Docs Patrol External" +run-name: "Estc Docs Patrol External" jobs: activation: @@ -662,7 +662,7 @@ jobs: model: "${{ inputs.model }}", version: "", agent_version: "0.0.417", - workflow_name: "Docs Patrol External", + workflow_name: "Estc Docs Patrol External", experimental: false, supports_tools_allowlist: true, run_id: context.runId, @@ -1256,7 +1256,7 @@ jobs: if: always() && steps.detection_guard.outputs.run_detection == 'true' uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: - WORKFLOW_NAME: "Docs Patrol External" + WORKFLOW_NAME: "Estc Docs Patrol External" WORKFLOW_DESCRIPTION: "Detect code changes that require updates to published Elastic documentation" HAS_PATCH: ${{ steps.collect_output.outputs.has_patch }} with: @@ -1371,7 +1371,7 @@ jobs: env: GH_AW_AGENT_OUTPUT: ${{ env.GH_AW_AGENT_OUTPUT }} GH_AW_NOOP_MAX: "1" - GH_AW_WORKFLOW_NAME: "Docs Patrol External" + GH_AW_WORKFLOW_NAME: "Estc Docs Patrol External" with: github-token: ${{ secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} script: | @@ -1384,7 +1384,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_AGENT_OUTPUT: ${{ env.GH_AW_AGENT_OUTPUT }} - GH_AW_WORKFLOW_NAME: "Docs Patrol External" + GH_AW_WORKFLOW_NAME: "Estc Docs Patrol External" with: github-token: ${{ secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} script: | @@ -1397,7 +1397,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_AGENT_OUTPUT: ${{ env.GH_AW_AGENT_OUTPUT }} - GH_AW_WORKFLOW_NAME: "Docs Patrol External" + GH_AW_WORKFLOW_NAME: "Estc Docs Patrol External" GH_AW_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} GH_AW_AGENT_CONCLUSION: ${{ needs.agent.result }} GH_AW_WORKFLOW_ID: "gh-aw-docs-patrol-external" @@ -1417,7 +1417,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_AGENT_OUTPUT: ${{ env.GH_AW_AGENT_OUTPUT }} - GH_AW_WORKFLOW_NAME: "Docs Patrol External" + GH_AW_WORKFLOW_NAME: "Estc Docs Patrol External" GH_AW_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} GH_AW_AGENT_CONCLUSION: ${{ needs.agent.result }} GH_AW_NOOP_MESSAGE: ${{ steps.noop.outputs.noop_message }} @@ -1467,7 +1467,7 @@ jobs: GH_AW_ENGINE_MODEL: "${{ inputs.model }}" GH_AW_SAFE_OUTPUT_MESSAGES: "{\"footer\":\"${{ inputs.messages-footer || '---\\n[What is this?](https://ela.st/github-ai-tools) | [From workflow: {workflow_name}]({run_url})\\n\\nGive us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.' }}\",\"activationComments\":\"false\"}" GH_AW_WORKFLOW_ID: "gh-aw-docs-patrol-external" - GH_AW_WORKFLOW_NAME: "Docs Patrol External" + GH_AW_WORKFLOW_NAME: "Estc Docs Patrol External" outputs: code_push_failure_count: ${{ steps.process_safe_outputs.outputs.code_push_failure_count }} code_push_failure_errors: ${{ steps.process_safe_outputs.outputs.code_push_failure_errors }} diff --git a/.github/workflows/gh-aw-docs-patrol-external.md b/.github/workflows/gh-aw-estc-docs-patrol-external.md similarity index 99% rename from .github/workflows/gh-aw-docs-patrol-external.md rename to .github/workflows/gh-aw-estc-docs-patrol-external.md index d1fcadfe..58649a36 100644 --- a/.github/workflows/gh-aw-docs-patrol-external.md +++ b/.github/workflows/gh-aw-estc-docs-patrol-external.md @@ -1,6 +1,6 @@ --- inlined-imports: true -name: "Docs Patrol External" +name: "Estc Docs Patrol External" description: "Detect code changes that require updates to published Elastic documentation" imports: - gh-aw-fragments/elastic-tools.md diff --git a/.github/workflows/gh-aw-docs-pr-review.lock.yml b/.github/workflows/gh-aw-estc-docs-pr-review.lock.yml similarity index 99% rename from .github/workflows/gh-aw-docs-pr-review.lock.yml rename to .github/workflows/gh-aw-estc-docs-pr-review.lock.yml index 658c8ebb..4ca4414c 100644 --- a/.github/workflows/gh-aw-docs-pr-review.lock.yml +++ b/.github/workflows/gh-aw-estc-docs-pr-review.lock.yml @@ -39,7 +39,7 @@ # # gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"7da5c787f8f5e0641c14bcb3504a5f15cad20c035506dbf8c3ea5767acab5b7c"} -name: "Docs PR Review" +name: "Estc Docs PR Review" "on": # bots: # Bots processed as bot check in pre-activation job # - ${{ inputs.allowed-bot-users }} # Bots processed as bot check in pre-activation job @@ -99,7 +99,7 @@ concurrency: cancel-in-progress: true group: docs-pr-review-${{ github.event.pull_request.number }} -run-name: "Docs PR Review" +run-name: "Estc Docs PR Review" jobs: activation: @@ -679,7 +679,7 @@ jobs: model: "${{ inputs.model }}", version: "", agent_version: "0.0.417", - workflow_name: "Docs PR Review", + workflow_name: "Estc Docs PR Review", experimental: false, supports_tools_allowlist: true, run_id: context.runId, @@ -1322,7 +1322,7 @@ jobs: if: always() && steps.detection_guard.outputs.run_detection == 'true' uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: - WORKFLOW_NAME: "Docs PR Review" + WORKFLOW_NAME: "Estc Docs PR Review" WORKFLOW_DESCRIPTION: "Docs PR review from an Elastic technical writer perspective" HAS_PATCH: ${{ steps.collect_output.outputs.has_patch }} with: @@ -1437,7 +1437,7 @@ jobs: env: GH_AW_AGENT_OUTPUT: ${{ env.GH_AW_AGENT_OUTPUT }} GH_AW_NOOP_MAX: "1" - GH_AW_WORKFLOW_NAME: "Docs PR Review" + GH_AW_WORKFLOW_NAME: "Estc Docs PR Review" with: github-token: ${{ secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} script: | @@ -1450,7 +1450,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_AGENT_OUTPUT: ${{ env.GH_AW_AGENT_OUTPUT }} - GH_AW_WORKFLOW_NAME: "Docs PR Review" + GH_AW_WORKFLOW_NAME: "Estc Docs PR Review" with: github-token: ${{ secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} script: | @@ -1463,7 +1463,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_AGENT_OUTPUT: ${{ env.GH_AW_AGENT_OUTPUT }} - GH_AW_WORKFLOW_NAME: "Docs PR Review" + GH_AW_WORKFLOW_NAME: "Estc Docs PR Review" GH_AW_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} GH_AW_AGENT_CONCLUSION: ${{ needs.agent.result }} GH_AW_WORKFLOW_ID: "gh-aw-docs-pr-review" @@ -1483,7 +1483,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_AGENT_OUTPUT: ${{ env.GH_AW_AGENT_OUTPUT }} - GH_AW_WORKFLOW_NAME: "Docs PR Review" + GH_AW_WORKFLOW_NAME: "Estc Docs PR Review" GH_AW_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} GH_AW_AGENT_CONCLUSION: ${{ needs.agent.result }} GH_AW_NOOP_MESSAGE: ${{ steps.noop.outputs.noop_message }} @@ -1533,7 +1533,7 @@ jobs: GH_AW_ENGINE_MODEL: "${{ inputs.model }}" GH_AW_SAFE_OUTPUT_MESSAGES: "{\"footer\":\"${{ inputs.messages-footer || '---\\n[What is this?](https://ela.st/github-ai-tools) | [From workflow: {workflow_name}]({run_url})\\n\\nGive us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.' }}\",\"activationComments\":\"false\"}" GH_AW_WORKFLOW_ID: "gh-aw-docs-pr-review" - GH_AW_WORKFLOW_NAME: "Docs PR Review" + GH_AW_WORKFLOW_NAME: "Estc Docs PR Review" outputs: code_push_failure_count: ${{ steps.process_safe_outputs.outputs.code_push_failure_count }} code_push_failure_errors: ${{ steps.process_safe_outputs.outputs.code_push_failure_errors }} diff --git a/.github/workflows/gh-aw-docs-pr-review.md b/.github/workflows/gh-aw-estc-docs-pr-review.md similarity index 99% rename from .github/workflows/gh-aw-docs-pr-review.md rename to .github/workflows/gh-aw-estc-docs-pr-review.md index 0fb6de8f..2b361f47 100644 --- a/.github/workflows/gh-aw-docs-pr-review.md +++ b/.github/workflows/gh-aw-estc-docs-pr-review.md @@ -1,6 +1,6 @@ --- inlined-imports: true -name: "Docs PR Review" +name: "Estc Docs PR Review" description: "Docs PR review from an Elastic technical writer perspective" imports: - gh-aw-fragments/elastic-tools.md diff --git a/.github/workflows/gh-aw-downstream-health.lock.yml b/.github/workflows/gh-aw-estc-downstream-health.lock.yml similarity index 99% rename from .github/workflows/gh-aw-downstream-health.lock.yml rename to .github/workflows/gh-aw-estc-downstream-health.lock.yml index 7ccc3652..995de20c 100644 --- a/.github/workflows/gh-aw-downstream-health.lock.yml +++ b/.github/workflows/gh-aw-estc-downstream-health.lock.yml @@ -40,7 +40,7 @@ # # gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"c5355799dd7d802ca80818981a617db301478c8d95d4098eba479863b27a27c0"} -name: "Downstream Health" +name: "Estc Downstream Health" "on": # bots: # Bots processed as bot check in pre-activation job # - ${{ inputs.allowed-bot-users }} # Bots processed as bot check in pre-activation job @@ -90,7 +90,7 @@ concurrency: cancel-in-progress: true group: downstream-health -run-name: "Downstream Health" +run-name: "Estc Downstream Health" jobs: activation: @@ -665,7 +665,7 @@ jobs: model: "${{ inputs.model }}", version: "", agent_version: "0.0.417", - workflow_name: "Downstream Health", + workflow_name: "Estc Downstream Health", experimental: false, supports_tools_allowlist: true, run_id: context.runId, @@ -1249,7 +1249,7 @@ jobs: if: always() && steps.detection_guard.outputs.run_detection == 'true' uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: - WORKFLOW_NAME: "Downstream Health" + WORKFLOW_NAME: "Estc Downstream Health" WORKFLOW_DESCRIPTION: "Monitor downstream repositories using AI workflows and report quality issues" HAS_PATCH: ${{ steps.collect_output.outputs.has_patch }} with: @@ -1364,7 +1364,7 @@ jobs: env: GH_AW_AGENT_OUTPUT: ${{ env.GH_AW_AGENT_OUTPUT }} GH_AW_NOOP_MAX: "1" - GH_AW_WORKFLOW_NAME: "Downstream Health" + GH_AW_WORKFLOW_NAME: "Estc Downstream Health" with: github-token: ${{ secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} script: | @@ -1377,7 +1377,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_AGENT_OUTPUT: ${{ env.GH_AW_AGENT_OUTPUT }} - GH_AW_WORKFLOW_NAME: "Downstream Health" + GH_AW_WORKFLOW_NAME: "Estc Downstream Health" with: github-token: ${{ secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} script: | @@ -1390,7 +1390,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_AGENT_OUTPUT: ${{ env.GH_AW_AGENT_OUTPUT }} - GH_AW_WORKFLOW_NAME: "Downstream Health" + GH_AW_WORKFLOW_NAME: "Estc Downstream Health" GH_AW_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} GH_AW_AGENT_CONCLUSION: ${{ needs.agent.result }} GH_AW_WORKFLOW_ID: "gh-aw-downstream-health" @@ -1410,7 +1410,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_AGENT_OUTPUT: ${{ env.GH_AW_AGENT_OUTPUT }} - GH_AW_WORKFLOW_NAME: "Downstream Health" + GH_AW_WORKFLOW_NAME: "Estc Downstream Health" GH_AW_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} GH_AW_AGENT_CONCLUSION: ${{ needs.agent.result }} GH_AW_NOOP_MESSAGE: ${{ steps.noop.outputs.noop_message }} @@ -1460,7 +1460,7 @@ jobs: GH_AW_ENGINE_MODEL: "${{ inputs.model }}" GH_AW_SAFE_OUTPUT_MESSAGES: "{\"footer\":\"${{ inputs.messages-footer || '---\\n[What is this?](https://ela.st/github-ai-tools) | [From workflow: {workflow_name}]({run_url})\\n\\nGive us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.' }}\",\"activationComments\":\"false\"}" GH_AW_WORKFLOW_ID: "gh-aw-downstream-health" - GH_AW_WORKFLOW_NAME: "Downstream Health" + GH_AW_WORKFLOW_NAME: "Estc Downstream Health" outputs: code_push_failure_count: ${{ steps.process_safe_outputs.outputs.code_push_failure_count }} code_push_failure_errors: ${{ steps.process_safe_outputs.outputs.code_push_failure_errors }} diff --git a/.github/workflows/gh-aw-downstream-health.md b/.github/workflows/gh-aw-estc-downstream-health.md similarity index 99% rename from .github/workflows/gh-aw-downstream-health.md rename to .github/workflows/gh-aw-estc-downstream-health.md index da7b9e8a..f0ef1283 100644 --- a/.github/workflows/gh-aw-downstream-health.md +++ b/.github/workflows/gh-aw-estc-downstream-health.md @@ -1,6 +1,6 @@ --- inlined-imports: true -name: "Downstream Health" +name: "Estc Downstream Health" description: "Monitor downstream repositories using AI workflows and report quality issues" imports: - gh-aw-fragments/elastic-tools.md diff --git a/.github/workflows/gh-aw-newbie-contributor-patrol-external.lock.yml b/.github/workflows/gh-aw-estc-newbie-contributor-patrol-external.lock.yml similarity index 99% rename from .github/workflows/gh-aw-newbie-contributor-patrol-external.lock.yml rename to .github/workflows/gh-aw-estc-newbie-contributor-patrol-external.lock.yml index 36efc2ed..25d74dd2 100644 --- a/.github/workflows/gh-aw-newbie-contributor-patrol-external.lock.yml +++ b/.github/workflows/gh-aw-estc-newbie-contributor-patrol-external.lock.yml @@ -40,7 +40,7 @@ # # gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"0ccdfcb4f4148a785c5d57a4d22d778b52b9ed2a34f19484f04e169ea21d906c"} -name: "Newbie Contributor Patrol External" +name: "Estc Newbie Contributor Patrol External" "on": # bots: # Bots processed as bot check in pre-activation job # - ${{ inputs.allowed-bot-users }} # Bots processed as bot check in pre-activation job @@ -90,7 +90,7 @@ concurrency: cancel-in-progress: true group: newbie-contributor-patrol-external -run-name: "Newbie Contributor Patrol External" +run-name: "Estc Newbie Contributor Patrol External" jobs: activation: @@ -604,7 +604,7 @@ jobs: model: "${{ inputs.model }}", version: "", agent_version: "0.0.417", - workflow_name: "Newbie Contributor Patrol External", + workflow_name: "Estc Newbie Contributor Patrol External", experimental: false, supports_tools_allowlist: true, run_id: context.runId, @@ -1197,7 +1197,7 @@ jobs: if: always() && steps.detection_guard.outputs.run_detection == 'true' uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: - WORKFLOW_NAME: "Newbie Contributor Patrol External" + WORKFLOW_NAME: "Estc Newbie Contributor Patrol External" WORKFLOW_DESCRIPTION: "Review docs from a new contributor perspective, cross-referencing published Elastic documentation" HAS_PATCH: ${{ steps.collect_output.outputs.has_patch }} with: @@ -1312,7 +1312,7 @@ jobs: env: GH_AW_AGENT_OUTPUT: ${{ env.GH_AW_AGENT_OUTPUT }} GH_AW_NOOP_MAX: "1" - GH_AW_WORKFLOW_NAME: "Newbie Contributor Patrol External" + GH_AW_WORKFLOW_NAME: "Estc Newbie Contributor Patrol External" with: github-token: ${{ secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} script: | @@ -1325,7 +1325,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_AGENT_OUTPUT: ${{ env.GH_AW_AGENT_OUTPUT }} - GH_AW_WORKFLOW_NAME: "Newbie Contributor Patrol External" + GH_AW_WORKFLOW_NAME: "Estc Newbie Contributor Patrol External" with: github-token: ${{ secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} script: | @@ -1338,7 +1338,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_AGENT_OUTPUT: ${{ env.GH_AW_AGENT_OUTPUT }} - GH_AW_WORKFLOW_NAME: "Newbie Contributor Patrol External" + GH_AW_WORKFLOW_NAME: "Estc Newbie Contributor Patrol External" GH_AW_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} GH_AW_AGENT_CONCLUSION: ${{ needs.agent.result }} GH_AW_WORKFLOW_ID: "gh-aw-newbie-contributor-patrol-external" @@ -1358,7 +1358,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_AGENT_OUTPUT: ${{ env.GH_AW_AGENT_OUTPUT }} - GH_AW_WORKFLOW_NAME: "Newbie Contributor Patrol External" + GH_AW_WORKFLOW_NAME: "Estc Newbie Contributor Patrol External" GH_AW_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} GH_AW_AGENT_CONCLUSION: ${{ needs.agent.result }} GH_AW_NOOP_MESSAGE: ${{ steps.noop.outputs.noop_message }} @@ -1408,7 +1408,7 @@ jobs: GH_AW_ENGINE_MODEL: "${{ inputs.model }}" GH_AW_SAFE_OUTPUT_MESSAGES: "{\"footer\":\"${{ inputs.messages-footer || '---\\n[What is this?](https://ela.st/github-ai-tools) | [From workflow: {workflow_name}]({run_url})\\n\\nGive us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.' }}\",\"activationComments\":\"false\"}" GH_AW_WORKFLOW_ID: "gh-aw-newbie-contributor-patrol-external" - GH_AW_WORKFLOW_NAME: "Newbie Contributor Patrol External" + GH_AW_WORKFLOW_NAME: "Estc Newbie Contributor Patrol External" outputs: code_push_failure_count: ${{ steps.process_safe_outputs.outputs.code_push_failure_count }} code_push_failure_errors: ${{ steps.process_safe_outputs.outputs.code_push_failure_errors }} diff --git a/.github/workflows/gh-aw-newbie-contributor-patrol-external.md b/.github/workflows/gh-aw-estc-newbie-contributor-patrol-external.md similarity index 99% rename from .github/workflows/gh-aw-newbie-contributor-patrol-external.md rename to .github/workflows/gh-aw-estc-newbie-contributor-patrol-external.md index 3f30d780..9c796118 100644 --- a/.github/workflows/gh-aw-newbie-contributor-patrol-external.md +++ b/.github/workflows/gh-aw-estc-newbie-contributor-patrol-external.md @@ -1,6 +1,6 @@ --- inlined-imports: true -name: "Newbie Contributor Patrol External" +name: "Estc Newbie Contributor Patrol External" description: "Review docs from a new contributor perspective, cross-referencing published Elastic documentation" imports: - gh-aw-fragments/elastic-tools.md diff --git a/.github/workflows/gh-aw-pr-buildkite-detective.lock.yml b/.github/workflows/gh-aw-estc-pr-buildkite-detective.lock.yml similarity index 99% rename from .github/workflows/gh-aw-pr-buildkite-detective.lock.yml rename to .github/workflows/gh-aw-estc-pr-buildkite-detective.lock.yml index 9b515fa7..afd35079 100644 --- a/.github/workflows/gh-aw-pr-buildkite-detective.lock.yml +++ b/.github/workflows/gh-aw-estc-pr-buildkite-detective.lock.yml @@ -38,7 +38,7 @@ # # gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"ea98d152cecc4ba17969adf6b63c8ea83b5436d04902f073f336cf31bb05bd4c"} -name: "PR Buildkite Detective" +name: "Estc PR Buildkite Detective" "on": # bots: # Bots processed as bot check in pre-activation job # - ${{ inputs.allowed-bot-users }} # Bots processed as bot check in pre-activation job @@ -95,7 +95,7 @@ concurrency: cancel-in-progress: false group: pr-buildkite-detective-${{ github.event.workflow_run.id }} -run-name: "PR Buildkite Detective" +run-name: "Estc PR Buildkite Detective" jobs: activation: @@ -290,7 +290,7 @@ jobs: GH_AW_PROMPT_EOF cat << 'GH_AW_PROMPT_EOF' - # PR Buildkite Detective + # Estc PR Buildkite Detective Analyze failed Buildkite CI builds for pull requests in __GH_AW_GITHUB_REPOSITORY__. Identify root causes from build logs, trace failures to source code, and provide actionable fix recommendations via PR comments. This workflow is read-only. @@ -588,7 +588,7 @@ jobs: model: "${{ inputs.model }}", version: "", agent_version: "0.0.417", - workflow_name: "PR Buildkite Detective", + workflow_name: "Estc PR Buildkite Detective", experimental: false, supports_tools_allowlist: true, run_id: context.runId, @@ -1153,7 +1153,7 @@ jobs: if: always() && steps.detection_guard.outputs.run_detection == 'true' uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: - WORKFLOW_NAME: "PR Buildkite Detective" + WORKFLOW_NAME: "Estc PR Buildkite Detective" WORKFLOW_DESCRIPTION: "Analyze failed Buildkite PR checks and report findings" HAS_PATCH: ${{ steps.collect_output.outputs.has_patch }} with: @@ -1268,7 +1268,7 @@ jobs: env: GH_AW_AGENT_OUTPUT: ${{ env.GH_AW_AGENT_OUTPUT }} GH_AW_NOOP_MAX: "1" - GH_AW_WORKFLOW_NAME: "PR Buildkite Detective" + GH_AW_WORKFLOW_NAME: "Estc PR Buildkite Detective" with: github-token: ${{ secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} script: | @@ -1281,7 +1281,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_AGENT_OUTPUT: ${{ env.GH_AW_AGENT_OUTPUT }} - GH_AW_WORKFLOW_NAME: "PR Buildkite Detective" + GH_AW_WORKFLOW_NAME: "Estc PR Buildkite Detective" with: github-token: ${{ secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} script: | @@ -1294,7 +1294,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_AGENT_OUTPUT: ${{ env.GH_AW_AGENT_OUTPUT }} - GH_AW_WORKFLOW_NAME: "PR Buildkite Detective" + GH_AW_WORKFLOW_NAME: "Estc PR Buildkite Detective" GH_AW_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} GH_AW_AGENT_CONCLUSION: ${{ needs.agent.result }} GH_AW_WORKFLOW_ID: "gh-aw-pr-buildkite-detective" @@ -1314,7 +1314,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_AGENT_OUTPUT: ${{ env.GH_AW_AGENT_OUTPUT }} - GH_AW_WORKFLOW_NAME: "PR Buildkite Detective" + GH_AW_WORKFLOW_NAME: "Estc PR Buildkite Detective" GH_AW_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} GH_AW_AGENT_CONCLUSION: ${{ needs.agent.result }} GH_AW_NOOP_MESSAGE: ${{ steps.noop.outputs.noop_message }} @@ -1364,7 +1364,7 @@ jobs: GH_AW_ENGINE_MODEL: "${{ inputs.model }}" GH_AW_SAFE_OUTPUT_MESSAGES: "{\"footer\":\"${{ inputs.messages-footer || '---\\n[What is this?](https://ela.st/github-ai-tools) | [From workflow: {workflow_name}]({run_url})\\n\\nGive us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.' }}\",\"activationComments\":\"false\"}" GH_AW_WORKFLOW_ID: "gh-aw-pr-buildkite-detective" - GH_AW_WORKFLOW_NAME: "PR Buildkite Detective" + GH_AW_WORKFLOW_NAME: "Estc PR Buildkite Detective" outputs: code_push_failure_count: ${{ steps.process_safe_outputs.outputs.code_push_failure_count }} code_push_failure_errors: ${{ steps.process_safe_outputs.outputs.code_push_failure_errors }} diff --git a/.github/workflows/gh-aw-pr-buildkite-detective.md b/.github/workflows/gh-aw-estc-pr-buildkite-detective.md similarity index 100% rename from .github/workflows/gh-aw-pr-buildkite-detective.md rename to .github/workflows/gh-aw-estc-pr-buildkite-detective.md diff --git a/.github/workflows/smoke-test-install.yml b/.github/workflows/smoke-test-install.yml index 883abba3..af6035ac 100644 --- a/.github/workflows/smoke-test-install.yml +++ b/.github/workflows/smoke-test-install.yml @@ -51,9 +51,9 @@ jobs: code-duplication-fixer code-simplifier docs-patrol - docs-patrol-external - docs-pr-review - downstream-health + estc-docs-patrol-external + estc-docs-pr-review + estc-downstream-health duplicate-issue-detector flaky-test-investigator issue-fixer @@ -62,11 +62,11 @@ jobs: mention-in-pr newbie-contributor-fixer newbie-contributor-patrol - newbie-contributor-patrol-external + estc-newbie-contributor-patrol-external performance-profiler pr-actions-detective pr-actions-fixer - pr-buildkite-detective + estc-pr-buildkite-detective pr-review project-summary release-update diff --git a/.github/workflows/trigger-docs-pr-review.yml b/.github/workflows/trigger-estc-docs-pr-review.yml similarity index 73% rename from .github/workflows/trigger-docs-pr-review.yml rename to .github/workflows/trigger-estc-docs-pr-review.yml index 27b4e358..12e88193 100644 --- a/.github/workflows/trigger-docs-pr-review.yml +++ b/.github/workflows/trigger-estc-docs-pr-review.yml @@ -1,6 +1,6 @@ # This file is auto-generated by scripts/dogfood.sh. Do not edit directly. -# Edit gh-agent-workflows/docs-pr-review/example.yml and run 'make compile' to regenerate. -name: Trigger Docs PR Review +# Edit gh-agent-workflows/estc-docs-pr-review/example.yml and run 'make compile' to regenerate. +name: Trigger Estc Docs PR Review on: issue_comment: types: [created] @@ -17,7 +17,7 @@ jobs: if: >- github.event.issue.pull_request != null && startsWith(github.event.comment.body, '/docs-review') - uses: ./.github/workflows/gh-aw-docs-pr-review.lock.yml + uses: ./.github/workflows/gh-aw-estc-docs-pr-review.lock.yml with: allowed-bot-users: "github-actions[bot],copilot" intensity: aggressive diff --git a/.github/workflows/trigger-downstream-health.yml b/.github/workflows/trigger-estc-downstream-health.yml similarity index 60% rename from .github/workflows/trigger-downstream-health.yml rename to .github/workflows/trigger-estc-downstream-health.yml index 6de7dcc7..e08c6db3 100644 --- a/.github/workflows/trigger-downstream-health.yml +++ b/.github/workflows/trigger-estc-downstream-health.yml @@ -1,6 +1,6 @@ # This file is auto-generated by scripts/dogfood.sh. Do not edit directly. -# Edit gh-agent-workflows/downstream-health/example.yml and run 'make compile' to regenerate. -name: Trigger Downstream Health +# Edit gh-agent-workflows/estc-downstream-health/example.yml and run 'make compile' to regenerate. +name: Trigger Estc Downstream Health on: schedule: - cron: "0 10 * * *" @@ -14,6 +14,6 @@ permissions: jobs: run: - uses: ./.github/workflows/gh-aw-downstream-health.lock.yml + uses: ./.github/workflows/gh-aw-estc-downstream-health.lock.yml secrets: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} diff --git a/.github/workflows/trigger-pr-buildkite-detective.yml b/.github/workflows/trigger-estc-pr-buildkite-detective.yml similarity index 77% rename from .github/workflows/trigger-pr-buildkite-detective.yml rename to .github/workflows/trigger-estc-pr-buildkite-detective.yml index 9df61b69..c86d3365 100644 --- a/.github/workflows/trigger-pr-buildkite-detective.yml +++ b/.github/workflows/trigger-estc-pr-buildkite-detective.yml @@ -1,6 +1,6 @@ # This file is auto-generated by scripts/dogfood.sh. Do not edit directly. -# Edit gh-agent-workflows/pr-buildkite-detective/example.yml and run 'make compile' to regenerate. -name: Trigger PR Buildkite Detective +# Edit gh-agent-workflows/estc-pr-buildkite-detective/example.yml and run 'make compile' to regenerate. +name: Trigger Estc PR Buildkite Detective on: status: check_run: @@ -18,7 +18,7 @@ jobs: if: >- (github.event_name == 'status' && github.event.state == 'failure') || (github.event_name == 'check_run' && github.event.check_run.conclusion == 'failure') - uses: ./.github/workflows/gh-aw-pr-buildkite-detective.lock.yml + uses: ./.github/workflows/gh-aw-estc-pr-buildkite-detective.lock.yml with: buildkite-org: "elastic" # buildkite-pipeline: "your-pipeline" # auto-discovered if omitted diff --git a/docs/blog/posts/meet-the-detectives.md b/docs/blog/posts/meet-the-detectives.md index b7587438..02da2505 100644 --- a/docs/blog/posts/meet-the-detectives.md +++ b/docs/blog/posts/meet-the-detectives.md @@ -26,7 +26,7 @@ Not every failure happens on a PR. Sometimes code passes all checks, gets merged It triggers on failed checks against the main or default branch -- but only when those failures aren't associated with any open PR. That distinction is important. If a PR is open and its checks fail, the PR Actions Detective handles it. The Branch Actions Detective picks up the failures that nobody owns: post-merge breakage on main that would otherwise sit unnoticed until someone runs into it manually. It reads the logs, diagnoses the root cause, and files its findings so the team can act. -## [PR Buildkite Detective](../../workflows/gh-agent-workflows/pr-buildkite-detective.md) +## [Estc PR Buildkite Detective](../../workflows/gh-agent-workflows/estc-pr-buildkite-detective.md) Not every team runs CI exclusively on GitHub Actions. The PR Buildkite Detective does the same job as the PR Actions Detective, but for Buildkite CI pipelines. It requires a `BUILDKITE_API_TOKEN` to access pipeline logs, and from there the workflow is the same: read the failure, diagnose it, and recommend a fix directly on the PR. diff --git a/docs/blog/posts/meet-the-docs-patrol.md b/docs/blog/posts/meet-the-docs-patrol.md index 07650ca4..56f6d0cb 100644 --- a/docs/blog/posts/meet-the-docs-patrol.md +++ b/docs/blog/posts/meet-the-docs-patrol.md @@ -18,11 +18,11 @@ Documentation rot is one of the most predictable problems in software engineerin This agent runs on a weekday schedule and scans for stale internal documentation — READMEs, inline docs, and any other documentation that lives inside the repository. It operates as a detector: it identifies places where the docs have drifted from the code. There is no dedicated fixer paired with it yet, so when it finds staleness it opens an issue describing what is out of date and what changed. A human still makes the call on how to update the wording, but the hard part — noticing the drift in the first place — is handled. -## [Docs Patrol External](../../workflows/gh-agent-workflows/docs-patrol-external.md) +## [Estc Docs Patrol External](../../workflows/gh-agent-workflows/estc-docs-patrol-external.md) Same concept, different scope. This agent also runs on a weekday schedule, but instead of scanning internal docs it scans published Elastic documentation for references that have fallen out of date with the codebase. Published docs are even more dangerous when they go stale because they reach a wider audience and carry more authority. If the public docs say a parameter is required but the code made it optional three releases ago, that is a real problem. This agent catches it. -## [Docs PR Review](../../workflows/gh-agent-workflows/docs-pr-review.md) +## [Estc Docs PR Review](../../workflows/gh-agent-workflows/estc-docs-pr-review.md) This one is not scheduled — it is triggered by the `/docs-review` command on pull requests. When someone opens a PR that touches documentation, they can invoke this agent to review the changes for style guide compliance, correct `applies_to` frontmatter, and consistency with existing docs. It is human-coordinated: you decide when to call it and on which PRs. Think of it as a specialized reviewer that never forgets the style guide. diff --git a/docs/blog/posts/meet-the-reviewers.md b/docs/blog/posts/meet-the-reviewers.md index 187004de..9374d929 100644 --- a/docs/blog/posts/meet-the-reviewers.md +++ b/docs/blog/posts/meet-the-reviewers.md @@ -42,7 +42,7 @@ Every PR needs a good description, and nobody wants to write one. Update PR Body This sounds simple, and it is. But it solves a real problem. PRs that sit in review with a blank description, or a description that was accurate three days and twelve commits ago, slow everyone down. Update PR Body keeps the description clean and current throughout the PR lifecycle, so reviewers always know what they're looking at. -## [Docs PR Review](../../workflows/gh-agent-workflows/docs-pr-review.md) — The Style Guide Enforcer +## [Estc Docs PR Review](../../workflows/gh-agent-workflows/estc-docs-pr-review.md) — The Style Guide Enforcer Docs PR Review is the specialist. Invoke it with the `/docs-review` command on a PR, and it reviews documentation changes for style guide compliance, `applies_to` frontmatter correctness, and overall consistency. It's human-coordinated — you call it when you want a docs-specific review on top of the standard code review. diff --git a/docs/blog/posts/meet-the-watchdogs.md b/docs/blog/posts/meet-the-watchdogs.md index ec8350fe..4b889d90 100644 --- a/docs/blog/posts/meet-the-watchdogs.md +++ b/docs/blog/posts/meet-the-watchdogs.md @@ -34,7 +34,7 @@ Running on a weekday schedule, the UX Design Patrol reviews UI components for de The Information Architecture agent evaluates whether the application's interface is logically organized, navigable, and consistent. It traces the component tree from the top-level layout, examining navigation structure, action placement, data presentation patterns, progressive disclosure, and empty states. It only files an issue when it finds a concrete, user-impacting IA problem — something a real user would likely get confused or frustrated by. Like the other watchdogs, most runs end with `noop`. -## [Downstream Health](../../workflows/gh-agent-workflows/downstream-health.md) +## [Estc Downstream Health](../../workflows/gh-agent-workflows/estc-downstream-health.md) Running on a daily schedule, the Downstream Health agent monitors the overall quality of downstream repositories. It provides a regular pulse check on the repos that consume the factory's workflows and components, catching issues that might not surface in any single focused audit but become visible when you look at the repository holistically. diff --git a/docs/workflows/gh-agent-workflows.md b/docs/workflows/gh-agent-workflows.md index 1039ea5b..a8c0adb7 100644 --- a/docs/workflows/gh-agent-workflows.md +++ b/docs/workflows/gh-agent-workflows.md @@ -45,7 +45,6 @@ These pair together: a Scheduled Audit finds problems, a Scheduled Fix resolves | Workflow | Trigger | Description | | --- | --- | --- | -| [Docs PR Review](gh-agent-workflows/docs-pr-review.md) | `/docs-review` on PRs | Review docs for style guide, `applies_to`, and consistency | | [Plan](gh-agent-workflows/plan.md) | `/plan` in issues | Triage-style planning from comments with optional issue/sub-issue creation | | [Mention in Issue](gh-agent-workflows/mention-in-issue.md) | `/ai` in issues | Answer questions, debug, create PRs | | [Mention in PR](gh-agent-workflows/mention-in-pr.md) | `/ai` in PRs | Review, fix code, push changes | @@ -59,7 +58,6 @@ These pair together: a Scheduled Audit finds problems, a Scheduled Fix resolves | [Issue Triage](gh-agent-workflows/issue-triage.md) | New issues | Investigate and provide implementation plans | | [Issue Fixer](gh-agent-workflows/issue-fixer.md) | New issues | Triage plus automatic draft PR for straightforward fixes | | [PR Actions Detective](gh-agent-workflows/pr-actions-detective.md) | Failed PR checks | Diagnose failures and recommend fixes | -| [PR Buildkite Detective](gh-agent-workflows/pr-buildkite-detective.md) | Failed PR checks | Diagnose Buildkite failures and recommend fixes | | [PR Review](gh-agent-workflows/pr-review.md) | PR opened/updated | AI code review with inline comments | | [PR Review (Fork)](gh-agent-workflows/pr-review-fork.md) | PR opened/updated (`pull_request_target`) | AI code review for fork PRs — **private repos or trusted contributors only** | | [Update PR Body](gh-agent-workflows/update-pr-body.md) | PR opened / updated / ready for review | Auto-populate PR description from diff and linked issues | @@ -75,9 +73,7 @@ Many scheduled workflows follow a **detector / fixer** pattern: the detector fin | [Bug Hunter](gh-agent-workflows/bug-hunter.md) | [Bug Exterminator](gh-agent-workflows/bug-exterminator.md) | Reproducible bugs | | [Code Duplication Detector](gh-agent-workflows/code-duplication-detector.md) | [Code Duplication Fixer](gh-agent-workflows/code-duplication-fixer.md) | Duplicate / clustered code | | [Docs Patrol](gh-agent-workflows/docs-patrol.md) | — | Stale internal documentation | -| [Docs Patrol External](gh-agent-workflows/docs-patrol-external.md) | — | Stale published Elastic docs | | [Newbie Contributor Patrol](gh-agent-workflows/newbie-contributor-patrol.md) | [Newbie Contributor Fixer](gh-agent-workflows/newbie-contributor-fixer.md) | Onboarding documentation gaps | -| [Newbie Contributor Patrol External](gh-agent-workflows/newbie-contributor-patrol-external.md) | — | Cross-referencing published docs | | [Text Auditor](gh-agent-workflows/text-auditor.md) | [Text Beautifier](gh-agent-workflows/text-beautifier.md) | User-facing text quality | #### Standalone scheduled workflows @@ -88,7 +84,6 @@ Many scheduled workflows follow a **detector / fixer** pattern: the detector fin | [Autonomy Atomicity Analyzer](gh-agent-workflows/autonomy-atomicity-analyzer.md) | Weekday schedule | Find patterns that block concurrent development by multiple agents or developers | | [Breaking Change Detector](gh-agent-workflows/breaking-change-detector.md) | Weekday schedule | Detect undocumented public breaking changes | | [Code Simplifier](gh-agent-workflows/code-simplifier.md) | Weekday schedule | Simplify overcomplicated code with high-confidence refactors | -| [Downstream Health](gh-agent-workflows/downstream-health.md) | Daily schedule | Monitor downstream repo quality | | [Flaky Test Investigator](gh-agent-workflows/flaky-test-investigator.md) | Weekday schedule + failed CI runs | Identify repeated flaky failures and file root-cause-first triage reports | | [Framework Best Practices](gh-agent-workflows/framework-best-practices.md) | Weekday schedule | Find where library-native features could replace hand-rolled solutions | | [Information Architecture](gh-agent-workflows/information-architecture.md) | Weekday schedule | Audit UI information architecture for navigation, placement, and consistency | @@ -100,6 +95,33 @@ Many scheduled workflows follow a **detector / fixer** pattern: the detector fin | [Stale Issues](gh-agent-workflows/stale-issues.md) | Weekday schedule | Find resolved issues that can be closed | | [Test Improver](gh-agent-workflows/test-improver.md) | Weekly schedule | Add targeted tests and clean up redundant coverage | +### Elastic-specific workflows + +These workflows are tailored for Elastic's internal tooling and documentation platform. They reference Elastic's published documentation on `elastic.co/docs`, Elastic's style guide and `applies_to` tag conventions, or Elastic-owned infrastructure (Buildkite, downstream repositories). Use these if you are working in an Elastic repository. + +#### Human-coordinated + +| Workflow | Trigger | Description | +| --- | --- | --- | +| [Estc Docs PR Review](gh-agent-workflows/estc-docs-pr-review.md) | `/docs-review` on PRs | Review docs for Elastic style guide, `applies_to`, and consistency with elastic.co/docs | + +#### Event-driven + +| Workflow | Trigger | Description | +| --- | --- | --- | +| [Estc PR Buildkite Detective](gh-agent-workflows/estc-pr-buildkite-detective.md) | Failed PR checks | Diagnose Buildkite failures and recommend fixes | + +#### Scheduled + +| Detector | Fixer | Domain | +| --- | --- | --- | +| [Estc Docs Patrol External](gh-agent-workflows/estc-docs-patrol-external.md) | — | Stale published Elastic docs | +| [Estc Newbie Contributor Patrol External](gh-agent-workflows/estc-newbie-contributor-patrol-external.md) | — | Cross-referencing published Elastic docs | + +| Workflow | Trigger | Description | +| --- | --- | --- | +| [Estc Downstream Health](gh-agent-workflows/estc-downstream-health.md) | Daily schedule | Monitor downstream Elastic repo quality | + ## Secrets These workflows require a Copilot PAT stored as `COPILOT_GITHUB_TOKEN`. diff --git a/docs/workflows/gh-agent-workflows/docs-patrol-overview.md b/docs/workflows/gh-agent-workflows/docs-patrol-overview.md index a49ed058..7630f9a8 100644 --- a/docs/workflows/gh-agent-workflows/docs-patrol-overview.md +++ b/docs/workflows/gh-agent-workflows/docs-patrol-overview.md @@ -2,7 +2,7 @@ Detect code changes that require documentation updates — both internal and published. -Two variants cover different documentation scopes: **Docs Patrol** checks internal documentation (READMEs, CONTRIBUTING, etc.) against recent code changes, while **Docs Patrol External** focuses on published Elastic documentation on `elastic.co/docs`. Both scan recent commits for public API or behavioral changes not reflected in documentation. Most runs end with `noop`. +Two variants cover different documentation scopes: **Docs Patrol** checks internal documentation (READMEs, CONTRIBUTING, etc.) against recent code changes, while **Estc Docs Patrol External** focuses on published Elastic documentation on `elastic.co/docs`. Both scan recent commits for public API or behavioral changes not reflected in documentation. Most runs end with `noop`. ## Quick install @@ -20,8 +20,8 @@ mkdir -p .github/workflows && curl -sL \ mkdir -p .github/workflows && \ curl -sL https://raw.githubusercontent.com/elastic/ai-github-actions/v0/gh-agent-workflows/docs-patrol/example.yml \ -o .github/workflows/docs-patrol.yml && \ -curl -sL https://raw.githubusercontent.com/elastic/ai-github-actions/v0/gh-agent-workflows/docs-patrol-external/example.yml \ - -o .github/workflows/docs-patrol-external.yml +curl -sL https://raw.githubusercontent.com/elastic/ai-github-actions/v0/gh-agent-workflows/estc-docs-patrol-external/example.yml \ + -o .github/workflows/estc-docs-patrol-external.yml ``` --- @@ -72,7 +72,7 @@ jobs: --- -## Docs Patrol External +## Estc Docs Patrol External Like Docs Patrol, but focuses on changes that require updates to published Elastic documentation on `elastic.co/docs`. Also flags features that need `applies_to` tag updates or documentation backports to earlier release branches. @@ -98,7 +98,7 @@ Like Docs Patrol, but focuses on changes that require updates to published Elast ### Example workflow ```yaml -name: Docs Patrol External +name: Estc Docs Patrol External on: schedule: - cron: "0 14 * * 1-5" @@ -111,7 +111,7 @@ permissions: jobs: run: - uses: elastic/ai-github-actions/.github/workflows/gh-aw-docs-patrol-external.lock.yml@v0 + uses: elastic/ai-github-actions/.github/workflows/gh-aw-estc-docs-patrol-external.lock.yml@v0 secrets: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} ``` diff --git a/docs/workflows/gh-agent-workflows/newbie-contributor.md b/docs/workflows/gh-agent-workflows/newbie-contributor.md index 654cc838..e6cca18f 100644 --- a/docs/workflows/gh-agent-workflows/newbie-contributor.md +++ b/docs/workflows/gh-agent-workflows/newbie-contributor.md @@ -2,7 +2,7 @@ Review documentation from a new contributor's perspective and automatically fix gaps. -**Newbie Contributor Patrol** reads all contributor-facing documentation as if it were a new contributor's first encounter with the project — following getting-started paths, checking for missing prerequisites, and flagging blocking gaps. An **External** variant also cross-references published Elastic documentation. **Newbie Contributor Fixer** picks up patrol issues and opens PRs with documentation improvements. Most runs end with `noop`. +**Newbie Contributor Patrol** reads all contributor-facing documentation as if it were a new contributor's first encounter with the project — following getting-started paths, checking for missing prerequisites, and flagging blocking gaps. An **Estc External** variant also cross-references published Elastic documentation. **Newbie Contributor Fixer** picks up patrol issues and opens PRs with documentation improvements. Most runs end with `noop`. ## Quick install @@ -30,8 +30,8 @@ curl -sL https://raw.githubusercontent.com/elastic/ai-github-actions/v0/gh-agent mkdir -p .github/workflows && \ curl -sL https://raw.githubusercontent.com/elastic/ai-github-actions/v0/gh-agent-workflows/newbie-contributor-patrol/example.yml \ -o .github/workflows/newbie-contributor-patrol.yml && \ -curl -sL https://raw.githubusercontent.com/elastic/ai-github-actions/v0/gh-agent-workflows/newbie-contributor-patrol-external/example.yml \ - -o .github/workflows/newbie-contributor-patrol-external.yml && \ +curl -sL https://raw.githubusercontent.com/elastic/ai-github-actions/v0/gh-agent-workflows/estc-newbie-contributor-patrol-external/example.yml \ + -o .github/workflows/estc-newbie-contributor-patrol-external.yml && \ curl -sL https://raw.githubusercontent.com/elastic/ai-github-actions/v0/gh-agent-workflows/newbie-contributor-fixer/example.yml \ -o .github/workflows/newbie-contributor-fixer.yml ``` @@ -83,7 +83,7 @@ jobs: --- -## Newbie Contributor Patrol External (detector variant) +## Estc Newbie Contributor Patrol External (detector variant) Like Newbie Contributor Patrol, but also cross-references the repo's documentation against published Elastic documentation on `elastic.co/docs`. Contradictions between the repo and published docs are treated as blocking issues. @@ -108,7 +108,7 @@ Like Newbie Contributor Patrol, but also cross-references the repo's documentati ### Example workflow ```yaml -name: Newbie Contributor Patrol External +name: Estc Newbie Contributor Patrol External on: schedule: - cron: "0 11 * * 1" @@ -121,7 +121,7 @@ permissions: jobs: run: - uses: elastic/ai-github-actions/.github/workflows/gh-aw-newbie-contributor-patrol-external.lock.yml@v0 + uses: elastic/ai-github-actions/.github/workflows/gh-aw-estc-newbie-contributor-patrol-external.lock.yml@v0 secrets: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} ``` diff --git a/gh-agent-workflows/README.md b/gh-agent-workflows/README.md index 53f44a06..7a220d25 100644 --- a/gh-agent-workflows/README.md +++ b/gh-agent-workflows/README.md @@ -77,3 +77,14 @@ workflows, or `--repo OWNER/REPO` when auto-detection is not available. - `breaking-change-detector` - `code-duplication-detector` - `update-pr-body` + +## Elastic-specific Workflows + +These workflows are tailored for Elastic's internal tooling, documentation platform, and infrastructure. They reference Elastic's published documentation on `elastic.co/docs`, Elastic's style guide and `applies_to` tag conventions, or Elastic-owned infrastructure (Buildkite CI, downstream repositories). Use these if you are working in an Elastic repository. + +- [Estc Docs PR Review](estc-docs-pr-review/) — review docs for Elastic style guide, `applies_to` tags, and consistency with `elastic.co/docs` +- [Estc PR Buildkite Detective](estc-pr-buildkite-detective/) — diagnose Buildkite CI failures and recommend fixes +- [Estc Docs Patrol External](estc-docs-patrol-external/) — detect stale published Elastic documentation +- [Estc Newbie Contributor Patrol External](estc-newbie-contributor-patrol-external/) — cross-reference repo docs against published Elastic documentation +- [Estc Downstream Health](estc-downstream-health/) — monitor downstream Elastic repositories using AI workflows + diff --git a/gh-agent-workflows/docs-patrol-external/README.md b/gh-agent-workflows/estc-docs-patrol-external/README.md similarity index 89% rename from gh-agent-workflows/docs-patrol-external/README.md rename to gh-agent-workflows/estc-docs-patrol-external/README.md index bb262cf0..5174474a 100644 --- a/gh-agent-workflows/docs-patrol-external/README.md +++ b/gh-agent-workflows/estc-docs-patrol-external/README.md @@ -1,4 +1,4 @@ -# Docs Patrol External +# Estc Docs Patrol External Detect code changes that require updates to published Elastic documentation, `applies_to` tags, or backports. @@ -10,8 +10,8 @@ Like Docs Patrol, but focuses on changes that require updates to published Elast ```bash mkdir -p .github/workflows && curl -sL \ - https://raw.githubusercontent.com/elastic/ai-github-actions/v0/gh-agent-workflows/docs-patrol-external/example.yml \ - -o .github/workflows/docs-patrol-external.yml + https://raw.githubusercontent.com/elastic/ai-github-actions/v0/gh-agent-workflows/estc-docs-patrol-external/example.yml \ + -o .github/workflows/estc-docs-patrol-external.yml ``` See [example.yml](example.yml) for the full workflow file. diff --git a/gh-agent-workflows/docs-patrol-external/example.yml b/gh-agent-workflows/estc-docs-patrol-external/example.yml similarity index 63% rename from gh-agent-workflows/docs-patrol-external/example.yml rename to gh-agent-workflows/estc-docs-patrol-external/example.yml index 62003801..1cf9aabe 100644 --- a/gh-agent-workflows/docs-patrol-external/example.yml +++ b/gh-agent-workflows/estc-docs-patrol-external/example.yml @@ -1,4 +1,4 @@ -name: Docs Patrol External +name: Estc Docs Patrol External on: schedule: - cron: "0 14 * * 1-5" @@ -11,6 +11,6 @@ permissions: jobs: run: - uses: elastic/ai-github-actions/.github/workflows/gh-aw-docs-patrol-external.lock.yml@v0 + uses: elastic/ai-github-actions/.github/workflows/gh-aw-estc-docs-patrol-external.lock.yml@v0 secrets: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} diff --git a/gh-agent-workflows/docs-pr-review/README.md b/gh-agent-workflows/estc-docs-pr-review/README.md similarity index 93% rename from gh-agent-workflows/docs-pr-review/README.md rename to gh-agent-workflows/estc-docs-pr-review/README.md index ba08b249..b4cc9637 100644 --- a/gh-agent-workflows/docs-pr-review/README.md +++ b/gh-agent-workflows/estc-docs-pr-review/README.md @@ -1,4 +1,4 @@ -# Docs PR Review +# Estc Docs PR Review Docs PR review from an Elastic technical writer perspective. Reviews documentation changes for style guide compliance, `applies_to` tag correctness, and consistency with published Elastic documentation. @@ -13,8 +13,8 @@ Docs PR review from an Elastic technical writer perspective. Reviews documentati ```bash mkdir -p .github/workflows && curl -sL \ - https://raw.githubusercontent.com/elastic/ai-github-actions/v0/gh-agent-workflows/docs-pr-review/example.yml \ - -o .github/workflows/docs-pr-review.yml + https://raw.githubusercontent.com/elastic/ai-github-actions/v0/gh-agent-workflows/estc-docs-pr-review/example.yml \ + -o .github/workflows/estc-docs-pr-review.yml ``` See [example.yml](example.yml) for the full workflow file. diff --git a/gh-agent-workflows/docs-pr-review/dogfood-with.yml b/gh-agent-workflows/estc-docs-pr-review/dogfood-with.yml similarity index 100% rename from gh-agent-workflows/docs-pr-review/dogfood-with.yml rename to gh-agent-workflows/estc-docs-pr-review/dogfood-with.yml diff --git a/gh-agent-workflows/docs-pr-review/example.yml b/gh-agent-workflows/estc-docs-pr-review/example.yml similarity index 74% rename from gh-agent-workflows/docs-pr-review/example.yml rename to gh-agent-workflows/estc-docs-pr-review/example.yml index 0c435785..daf0af4d 100644 --- a/gh-agent-workflows/docs-pr-review/example.yml +++ b/gh-agent-workflows/estc-docs-pr-review/example.yml @@ -1,4 +1,4 @@ -name: Docs PR Review +name: Estc Docs PR Review on: issue_comment: types: [created] @@ -15,6 +15,6 @@ jobs: if: >- github.event.issue.pull_request != null && startsWith(github.event.comment.body, '/docs-review') - uses: elastic/ai-github-actions/.github/workflows/gh-aw-docs-pr-review.lock.yml@v0 + uses: elastic/ai-github-actions/.github/workflows/gh-aw-estc-docs-pr-review.lock.yml@v0 secrets: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} diff --git a/gh-agent-workflows/downstream-health/README.md b/gh-agent-workflows/estc-downstream-health/README.md similarity index 89% rename from gh-agent-workflows/downstream-health/README.md rename to gh-agent-workflows/estc-downstream-health/README.md index f544c141..8fb57a34 100644 --- a/gh-agent-workflows/downstream-health/README.md +++ b/gh-agent-workflows/estc-downstream-health/README.md @@ -1,4 +1,4 @@ -# Downstream Health +# Estc Downstream Health Monitor downstream repositories using AI workflows and report quality issues. @@ -10,8 +10,8 @@ Discovers elastic-owned repositories that use ai-github-actions workflows, monit ```bash mkdir -p .github/workflows && curl -sL \ - https://raw.githubusercontent.com/elastic/ai-github-actions/v0/gh-agent-workflows/downstream-health/example.yml \ - -o .github/workflows/downstream-health.yml + https://raw.githubusercontent.com/elastic/ai-github-actions/v0/gh-agent-workflows/estc-downstream-health/example.yml \ + -o .github/workflows/estc-downstream-health.yml ``` See [example.yml](example.yml) for the full workflow file. diff --git a/gh-agent-workflows/downstream-health/example.yml b/gh-agent-workflows/estc-downstream-health/example.yml similarity index 65% rename from gh-agent-workflows/downstream-health/example.yml rename to gh-agent-workflows/estc-downstream-health/example.yml index 2def8285..0b9929cf 100644 --- a/gh-agent-workflows/downstream-health/example.yml +++ b/gh-agent-workflows/estc-downstream-health/example.yml @@ -1,4 +1,4 @@ -name: Downstream Health +name: Estc Downstream Health on: schedule: - cron: "0 10 * * *" @@ -12,6 +12,6 @@ permissions: jobs: run: - uses: elastic/ai-github-actions/.github/workflows/gh-aw-downstream-health.lock.yml@v0 + uses: elastic/ai-github-actions/.github/workflows/gh-aw-estc-downstream-health.lock.yml@v0 secrets: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} diff --git a/gh-agent-workflows/newbie-contributor-patrol-external/README.md b/gh-agent-workflows/estc-newbie-contributor-patrol-external/README.md similarity index 86% rename from gh-agent-workflows/newbie-contributor-patrol-external/README.md rename to gh-agent-workflows/estc-newbie-contributor-patrol-external/README.md index f5217ca7..e4cb2dda 100644 --- a/gh-agent-workflows/newbie-contributor-patrol-external/README.md +++ b/gh-agent-workflows/estc-newbie-contributor-patrol-external/README.md @@ -1,4 +1,4 @@ -# Newbie Contributor Patrol External +# Estc Newbie Contributor Patrol External Review docs from a new contributor perspective, cross-referencing published Elastic documentation. @@ -10,8 +10,8 @@ Like Newbie Contributor Patrol, but also cross-references the repo's documentati ```bash mkdir -p .github/workflows && curl -sL \ - https://raw.githubusercontent.com/elastic/ai-github-actions/v0/gh-agent-workflows/newbie-contributor-patrol-external/example.yml \ - -o .github/workflows/newbie-contributor-patrol-external.yml + https://raw.githubusercontent.com/elastic/ai-github-actions/v0/gh-agent-workflows/estc-newbie-contributor-patrol-external/example.yml \ + -o .github/workflows/estc-newbie-contributor-patrol-external.yml ``` See [example.yml](example.yml) for the full workflow file. diff --git a/gh-agent-workflows/newbie-contributor-patrol-external/example.yml b/gh-agent-workflows/estc-newbie-contributor-patrol-external/example.yml similarity index 58% rename from gh-agent-workflows/newbie-contributor-patrol-external/example.yml rename to gh-agent-workflows/estc-newbie-contributor-patrol-external/example.yml index a969b23a..598be1db 100644 --- a/gh-agent-workflows/newbie-contributor-patrol-external/example.yml +++ b/gh-agent-workflows/estc-newbie-contributor-patrol-external/example.yml @@ -1,4 +1,4 @@ -name: Newbie Contributor Patrol External +name: Estc Newbie Contributor Patrol External on: schedule: - cron: "0 11 * * 1" @@ -11,6 +11,6 @@ permissions: jobs: run: - uses: elastic/ai-github-actions/.github/workflows/gh-aw-newbie-contributor-patrol-external.lock.yml@v0 + uses: elastic/ai-github-actions/.github/workflows/gh-aw-estc-newbie-contributor-patrol-external.lock.yml@v0 secrets: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} diff --git a/gh-agent-workflows/pr-buildkite-detective/README.md b/gh-agent-workflows/estc-pr-buildkite-detective/README.md similarity index 90% rename from gh-agent-workflows/pr-buildkite-detective/README.md rename to gh-agent-workflows/estc-pr-buildkite-detective/README.md index e07d9769..6c1d0188 100644 --- a/gh-agent-workflows/pr-buildkite-detective/README.md +++ b/gh-agent-workflows/estc-pr-buildkite-detective/README.md @@ -1,4 +1,4 @@ -# PR Buildkite Detective +# Estc PR Buildkite Detective Analyze failed PR checks backed by Buildkite and report findings (read-only). @@ -10,8 +10,8 @@ Triggered automatically when a commit status or check run reports a failure. Loo ````bash mkdir -p .github/workflows && curl -sL \ - https://raw.githubusercontent.com/elastic/ai-github-actions/v0/gh-agent-workflows/pr-buildkite-detective/example.yml \ - -o .github/workflows/pr-buildkite-detective.yml + https://raw.githubusercontent.com/elastic/ai-github-actions/v0/gh-agent-workflows/estc-pr-buildkite-detective/example.yml \ + -o .github/workflows/estc-pr-buildkite-detective.yml ```` See [example.yml](example.yml) for the full workflow file. diff --git a/gh-agent-workflows/pr-buildkite-detective/example.yml b/gh-agent-workflows/estc-pr-buildkite-detective/example.yml similarity index 83% rename from gh-agent-workflows/pr-buildkite-detective/example.yml rename to gh-agent-workflows/estc-pr-buildkite-detective/example.yml index 85651aa8..33ea724d 100644 --- a/gh-agent-workflows/pr-buildkite-detective/example.yml +++ b/gh-agent-workflows/estc-pr-buildkite-detective/example.yml @@ -1,4 +1,4 @@ -name: PR Buildkite Detective +name: Estc PR Buildkite Detective on: status: check_run: @@ -16,7 +16,7 @@ jobs: if: >- (github.event_name == 'status' && github.event.state == 'failure') || (github.event_name == 'check_run' && github.event.check_run.conclusion == 'failure') - uses: elastic/ai-github-actions/.github/workflows/gh-aw-pr-buildkite-detective.lock.yml@v0 + uses: elastic/ai-github-actions/.github/workflows/gh-aw-estc-pr-buildkite-detective.lock.yml@v0 with: buildkite-org: "elastic" # buildkite-pipeline: "your-pipeline" # auto-discovered if omitted diff --git a/mkdocs.yml b/mkdocs.yml index e68fa980..1a6cc09b 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -33,7 +33,6 @@ nav: - Plan: workflows/gh-agent-workflows/plan.md - Mention in Issue (no sandbox): workflows/gh-agent-workflows/mention-in-issue-no-sandbox.md - Mention in PR (no sandbox): workflows/gh-agent-workflows/mention-in-pr-no-sandbox.md - - Docs PR Review: workflows/gh-agent-workflows/docs-pr-review.md - Event-driven: - Automatic Issue Triage: workflows/gh-agent-workflows/issue-triage.md - PR Review: workflows/gh-agent-workflows/pr-review.md @@ -43,7 +42,6 @@ nav: - Issue Fixer: workflows/gh-agent-workflows/issue-fixer.md - PR Actions Detective: workflows/gh-agent-workflows/pr-actions-detective.md - PR Actions Fixer: workflows/gh-agent-workflows/pr-actions-fixer.md - - PR Buildkite Detective: workflows/gh-agent-workflows/pr-buildkite-detective.md - Base Workflows: - Scheduled Audit: workflows/gh-agent-workflows/scheduled-audit.md - Scheduled Fix: workflows/gh-agent-workflows/scheduled-fix.md @@ -58,7 +56,6 @@ nav: - Agent Suggestions: workflows/gh-agent-workflows/agent-suggestions.md - Breaking Change Detector: workflows/gh-agent-workflows/breaking-change-detector.md - Code Simplifier: workflows/gh-agent-workflows/code-simplifier.md - - Downstream Health: workflows/gh-agent-workflows/downstream-health.md - Flaky Test Investigator: workflows/gh-agent-workflows/flaky-test-investigator.md - Performance Profiler: workflows/gh-agent-workflows/performance-profiler.md - Project Summary: workflows/gh-agent-workflows/project-summary.md @@ -66,6 +63,12 @@ nav: - Small Problem Fixer: workflows/gh-agent-workflows/small-problem-fixer.md - Stale Issues: workflows/gh-agent-workflows/stale-issues.md - Test Improver: workflows/gh-agent-workflows/test-improver.md + - Elastic-specific: + - Estc Docs PR Review: workflows/gh-agent-workflows/estc-docs-pr-review.md + - Estc PR Buildkite Detective: workflows/gh-agent-workflows/estc-pr-buildkite-detective.md + - Estc Docs Patrol External: workflows/gh-agent-workflows/estc-docs-patrol-external.md + - Estc Newbie Contributor Patrol External: workflows/gh-agent-workflows/estc-newbie-contributor-patrol-external.md + - Estc Downstream Health: workflows/gh-agent-workflows/estc-downstream-health.md - Legacy: - Claude Workflows: workflows/claude-workflows.md - Migration Guide: migration-guide.md diff --git a/scripts/dogfood.sh b/scripts/dogfood.sh index a4710afa..f644b3e0 100755 --- a/scripts/dogfood.sh +++ b/scripts/dogfood.sh @@ -18,8 +18,8 @@ cd "$REPO_ROOT" # Workflows that are not dogfooded in this repository. EXCLUDED_WORKFLOWS=( - "docs-patrol-external" - "newbie-contributor-patrol-external" + "estc-docs-patrol-external" + "estc-newbie-contributor-patrol-external" "flaky-test-investigator" "issue-fixer" "mention-in-issue-no-sandbox" From c4fe4273d068ce99893721d0784e2d71214b8cf7 Mon Sep 17 00:00:00 2001 From: Copilot <223556219+Copilot@users.noreply.github.com> Date: Thu, 26 Feb 2026 23:08:02 +0000 Subject: [PATCH 3/5] docs: replace Estc labels with Elastic-specific wording Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- docs/blog/posts/meet-the-detectives.md | 2 +- docs/blog/posts/meet-the-docs-patrol.md | 4 ++-- docs/blog/posts/meet-the-reviewers.md | 2 +- docs/blog/posts/meet-the-watchdogs.md | 2 +- docs/workflows/gh-agent-workflows.md | 10 +++++----- .../gh-agent-workflows/docs-patrol-overview.md | 6 +++--- .../workflows/gh-agent-workflows/newbie-contributor.md | 6 +++--- gh-agent-workflows/README.md | 10 +++++----- gh-agent-workflows/estc-docs-patrol-external/README.md | 2 +- gh-agent-workflows/estc-docs-pr-review/README.md | 2 +- gh-agent-workflows/estc-downstream-health/README.md | 2 +- .../estc-newbie-contributor-patrol-external/README.md | 2 +- .../estc-pr-buildkite-detective/README.md | 2 +- mkdocs.yml | 10 +++++----- 14 files changed, 31 insertions(+), 31 deletions(-) diff --git a/docs/blog/posts/meet-the-detectives.md b/docs/blog/posts/meet-the-detectives.md index 02da2505..bc086d52 100644 --- a/docs/blog/posts/meet-the-detectives.md +++ b/docs/blog/posts/meet-the-detectives.md @@ -26,7 +26,7 @@ Not every failure happens on a PR. Sometimes code passes all checks, gets merged It triggers on failed checks against the main or default branch -- but only when those failures aren't associated with any open PR. That distinction is important. If a PR is open and its checks fail, the PR Actions Detective handles it. The Branch Actions Detective picks up the failures that nobody owns: post-merge breakage on main that would otherwise sit unnoticed until someone runs into it manually. It reads the logs, diagnoses the root cause, and files its findings so the team can act. -## [Estc PR Buildkite Detective](../../workflows/gh-agent-workflows/estc-pr-buildkite-detective.md) +## [PR Buildkite Detective (Elastic-specific)](../../workflows/gh-agent-workflows/estc-pr-buildkite-detective.md) Not every team runs CI exclusively on GitHub Actions. The PR Buildkite Detective does the same job as the PR Actions Detective, but for Buildkite CI pipelines. It requires a `BUILDKITE_API_TOKEN` to access pipeline logs, and from there the workflow is the same: read the failure, diagnose it, and recommend a fix directly on the PR. diff --git a/docs/blog/posts/meet-the-docs-patrol.md b/docs/blog/posts/meet-the-docs-patrol.md index 56f6d0cb..1c45cf45 100644 --- a/docs/blog/posts/meet-the-docs-patrol.md +++ b/docs/blog/posts/meet-the-docs-patrol.md @@ -18,11 +18,11 @@ Documentation rot is one of the most predictable problems in software engineerin This agent runs on a weekday schedule and scans for stale internal documentation — READMEs, inline docs, and any other documentation that lives inside the repository. It operates as a detector: it identifies places where the docs have drifted from the code. There is no dedicated fixer paired with it yet, so when it finds staleness it opens an issue describing what is out of date and what changed. A human still makes the call on how to update the wording, but the hard part — noticing the drift in the first place — is handled. -## [Estc Docs Patrol External](../../workflows/gh-agent-workflows/estc-docs-patrol-external.md) +## [Docs Patrol External (Elastic-specific)](../../workflows/gh-agent-workflows/estc-docs-patrol-external.md) Same concept, different scope. This agent also runs on a weekday schedule, but instead of scanning internal docs it scans published Elastic documentation for references that have fallen out of date with the codebase. Published docs are even more dangerous when they go stale because they reach a wider audience and carry more authority. If the public docs say a parameter is required but the code made it optional three releases ago, that is a real problem. This agent catches it. -## [Estc Docs PR Review](../../workflows/gh-agent-workflows/estc-docs-pr-review.md) +## [Docs PR Review (Elastic-specific)](../../workflows/gh-agent-workflows/estc-docs-pr-review.md) This one is not scheduled — it is triggered by the `/docs-review` command on pull requests. When someone opens a PR that touches documentation, they can invoke this agent to review the changes for style guide compliance, correct `applies_to` frontmatter, and consistency with existing docs. It is human-coordinated: you decide when to call it and on which PRs. Think of it as a specialized reviewer that never forgets the style guide. diff --git a/docs/blog/posts/meet-the-reviewers.md b/docs/blog/posts/meet-the-reviewers.md index 9374d929..87a478f6 100644 --- a/docs/blog/posts/meet-the-reviewers.md +++ b/docs/blog/posts/meet-the-reviewers.md @@ -42,7 +42,7 @@ Every PR needs a good description, and nobody wants to write one. Update PR Body This sounds simple, and it is. But it solves a real problem. PRs that sit in review with a blank description, or a description that was accurate three days and twelve commits ago, slow everyone down. Update PR Body keeps the description clean and current throughout the PR lifecycle, so reviewers always know what they're looking at. -## [Estc Docs PR Review](../../workflows/gh-agent-workflows/estc-docs-pr-review.md) — The Style Guide Enforcer +## [Docs PR Review (Elastic-specific)](../../workflows/gh-agent-workflows/estc-docs-pr-review.md) — The Style Guide Enforcer Docs PR Review is the specialist. Invoke it with the `/docs-review` command on a PR, and it reviews documentation changes for style guide compliance, `applies_to` frontmatter correctness, and overall consistency. It's human-coordinated — you call it when you want a docs-specific review on top of the standard code review. diff --git a/docs/blog/posts/meet-the-watchdogs.md b/docs/blog/posts/meet-the-watchdogs.md index 4b889d90..bedf110b 100644 --- a/docs/blog/posts/meet-the-watchdogs.md +++ b/docs/blog/posts/meet-the-watchdogs.md @@ -34,7 +34,7 @@ Running on a weekday schedule, the UX Design Patrol reviews UI components for de The Information Architecture agent evaluates whether the application's interface is logically organized, navigable, and consistent. It traces the component tree from the top-level layout, examining navigation structure, action placement, data presentation patterns, progressive disclosure, and empty states. It only files an issue when it finds a concrete, user-impacting IA problem — something a real user would likely get confused or frustrated by. Like the other watchdogs, most runs end with `noop`. -## [Estc Downstream Health](../../workflows/gh-agent-workflows/estc-downstream-health.md) +## [Downstream Health (Elastic-specific)](../../workflows/gh-agent-workflows/estc-downstream-health.md) Running on a daily schedule, the Downstream Health agent monitors the overall quality of downstream repositories. It provides a regular pulse check on the repos that consume the factory's workflows and components, catching issues that might not surface in any single focused audit but become visible when you look at the repository holistically. diff --git a/docs/workflows/gh-agent-workflows.md b/docs/workflows/gh-agent-workflows.md index a8c0adb7..19ea4286 100644 --- a/docs/workflows/gh-agent-workflows.md +++ b/docs/workflows/gh-agent-workflows.md @@ -103,24 +103,24 @@ These workflows are tailored for Elastic's internal tooling and documentation pl | Workflow | Trigger | Description | | --- | --- | --- | -| [Estc Docs PR Review](gh-agent-workflows/estc-docs-pr-review.md) | `/docs-review` on PRs | Review docs for Elastic style guide, `applies_to`, and consistency with elastic.co/docs | +| [Docs PR Review (Elastic-specific)](gh-agent-workflows/estc-docs-pr-review.md) | `/docs-review` on PRs | Review docs for Elastic style guide, `applies_to`, and consistency with elastic.co/docs | #### Event-driven | Workflow | Trigger | Description | | --- | --- | --- | -| [Estc PR Buildkite Detective](gh-agent-workflows/estc-pr-buildkite-detective.md) | Failed PR checks | Diagnose Buildkite failures and recommend fixes | +| [PR Buildkite Detective (Elastic-specific)](gh-agent-workflows/estc-pr-buildkite-detective.md) | Failed PR checks | Diagnose Buildkite failures and recommend fixes | #### Scheduled | Detector | Fixer | Domain | | --- | --- | --- | -| [Estc Docs Patrol External](gh-agent-workflows/estc-docs-patrol-external.md) | — | Stale published Elastic docs | -| [Estc Newbie Contributor Patrol External](gh-agent-workflows/estc-newbie-contributor-patrol-external.md) | — | Cross-referencing published Elastic docs | +| [Docs Patrol External (Elastic-specific)](gh-agent-workflows/estc-docs-patrol-external.md) | — | Stale published Elastic docs | +| [Newbie Contributor Patrol External (Elastic-specific)](gh-agent-workflows/estc-newbie-contributor-patrol-external.md) | — | Cross-referencing published Elastic docs | | Workflow | Trigger | Description | | --- | --- | --- | -| [Estc Downstream Health](gh-agent-workflows/estc-downstream-health.md) | Daily schedule | Monitor downstream Elastic repo quality | +| [Downstream Health (Elastic-specific)](gh-agent-workflows/estc-downstream-health.md) | Daily schedule | Monitor downstream Elastic repo quality | ## Secrets diff --git a/docs/workflows/gh-agent-workflows/docs-patrol-overview.md b/docs/workflows/gh-agent-workflows/docs-patrol-overview.md index 7630f9a8..50b392b5 100644 --- a/docs/workflows/gh-agent-workflows/docs-patrol-overview.md +++ b/docs/workflows/gh-agent-workflows/docs-patrol-overview.md @@ -2,7 +2,7 @@ Detect code changes that require documentation updates — both internal and published. -Two variants cover different documentation scopes: **Docs Patrol** checks internal documentation (READMEs, CONTRIBUTING, etc.) against recent code changes, while **Estc Docs Patrol External** focuses on published Elastic documentation on `elastic.co/docs`. Both scan recent commits for public API or behavioral changes not reflected in documentation. Most runs end with `noop`. +Two variants cover different documentation scopes: **Docs Patrol** checks internal documentation (READMEs, CONTRIBUTING, etc.) against recent code changes, while **Docs Patrol External (Elastic-specific)** focuses on published Elastic documentation on `elastic.co/docs`. Both scan recent commits for public API or behavioral changes not reflected in documentation. Most runs end with `noop`. ## Quick install @@ -72,7 +72,7 @@ jobs: --- -## Estc Docs Patrol External +## Docs Patrol External (Elastic-specific) Like Docs Patrol, but focuses on changes that require updates to published Elastic documentation on `elastic.co/docs`. Also flags features that need `applies_to` tag updates or documentation backports to earlier release branches. @@ -98,7 +98,7 @@ Like Docs Patrol, but focuses on changes that require updates to published Elast ### Example workflow ```yaml -name: Estc Docs Patrol External +name: Docs Patrol External (Elastic-specific) on: schedule: - cron: "0 14 * * 1-5" diff --git a/docs/workflows/gh-agent-workflows/newbie-contributor.md b/docs/workflows/gh-agent-workflows/newbie-contributor.md index e6cca18f..7455d8f5 100644 --- a/docs/workflows/gh-agent-workflows/newbie-contributor.md +++ b/docs/workflows/gh-agent-workflows/newbie-contributor.md @@ -2,7 +2,7 @@ Review documentation from a new contributor's perspective and automatically fix gaps. -**Newbie Contributor Patrol** reads all contributor-facing documentation as if it were a new contributor's first encounter with the project — following getting-started paths, checking for missing prerequisites, and flagging blocking gaps. An **Estc External** variant also cross-references published Elastic documentation. **Newbie Contributor Fixer** picks up patrol issues and opens PRs with documentation improvements. Most runs end with `noop`. +**Newbie Contributor Patrol** reads all contributor-facing documentation as if it were a new contributor's first encounter with the project — following getting-started paths, checking for missing prerequisites, and flagging blocking gaps. An **Elastic-specific** variant also cross-references published Elastic documentation. **Newbie Contributor Fixer** picks up patrol issues and opens PRs with documentation improvements. Most runs end with `noop`. ## Quick install @@ -83,7 +83,7 @@ jobs: --- -## Estc Newbie Contributor Patrol External (detector variant) +## Newbie Contributor Patrol External (Elastic-specific) (detector variant) Like Newbie Contributor Patrol, but also cross-references the repo's documentation against published Elastic documentation on `elastic.co/docs`. Contradictions between the repo and published docs are treated as blocking issues. @@ -108,7 +108,7 @@ Like Newbie Contributor Patrol, but also cross-references the repo's documentati ### Example workflow ```yaml -name: Estc Newbie Contributor Patrol External +name: Newbie Contributor Patrol External (Elastic-specific) on: schedule: - cron: "0 11 * * 1" diff --git a/gh-agent-workflows/README.md b/gh-agent-workflows/README.md index 7a220d25..3f7260d8 100644 --- a/gh-agent-workflows/README.md +++ b/gh-agent-workflows/README.md @@ -82,9 +82,9 @@ workflows, or `--repo OWNER/REPO` when auto-detection is not available. These workflows are tailored for Elastic's internal tooling, documentation platform, and infrastructure. They reference Elastic's published documentation on `elastic.co/docs`, Elastic's style guide and `applies_to` tag conventions, or Elastic-owned infrastructure (Buildkite CI, downstream repositories). Use these if you are working in an Elastic repository. -- [Estc Docs PR Review](estc-docs-pr-review/) — review docs for Elastic style guide, `applies_to` tags, and consistency with `elastic.co/docs` -- [Estc PR Buildkite Detective](estc-pr-buildkite-detective/) — diagnose Buildkite CI failures and recommend fixes -- [Estc Docs Patrol External](estc-docs-patrol-external/) — detect stale published Elastic documentation -- [Estc Newbie Contributor Patrol External](estc-newbie-contributor-patrol-external/) — cross-reference repo docs against published Elastic documentation -- [Estc Downstream Health](estc-downstream-health/) — monitor downstream Elastic repositories using AI workflows +- [Docs PR Review (Elastic-specific)](estc-docs-pr-review/) — review docs for Elastic style guide, `applies_to` tags, and consistency with `elastic.co/docs` +- [PR Buildkite Detective (Elastic-specific)](estc-pr-buildkite-detective/) — diagnose Buildkite CI failures and recommend fixes +- [Docs Patrol External (Elastic-specific)](estc-docs-patrol-external/) — detect stale published Elastic documentation +- [Newbie Contributor Patrol External (Elastic-specific)](estc-newbie-contributor-patrol-external/) — cross-reference repo docs against published Elastic documentation +- [Downstream Health (Elastic-specific)](estc-downstream-health/) — monitor downstream Elastic repositories using AI workflows diff --git a/gh-agent-workflows/estc-docs-patrol-external/README.md b/gh-agent-workflows/estc-docs-patrol-external/README.md index 5174474a..c8049bd6 100644 --- a/gh-agent-workflows/estc-docs-patrol-external/README.md +++ b/gh-agent-workflows/estc-docs-patrol-external/README.md @@ -1,4 +1,4 @@ -# Estc Docs Patrol External +# Docs Patrol External (Elastic-specific) Detect code changes that require updates to published Elastic documentation, `applies_to` tags, or backports. diff --git a/gh-agent-workflows/estc-docs-pr-review/README.md b/gh-agent-workflows/estc-docs-pr-review/README.md index b4cc9637..b21b5d0c 100644 --- a/gh-agent-workflows/estc-docs-pr-review/README.md +++ b/gh-agent-workflows/estc-docs-pr-review/README.md @@ -1,4 +1,4 @@ -# Estc Docs PR Review +# Docs PR Review (Elastic-specific) Docs PR review from an Elastic technical writer perspective. Reviews documentation changes for style guide compliance, `applies_to` tag correctness, and consistency with published Elastic documentation. diff --git a/gh-agent-workflows/estc-downstream-health/README.md b/gh-agent-workflows/estc-downstream-health/README.md index 8fb57a34..ec2c1fd4 100644 --- a/gh-agent-workflows/estc-downstream-health/README.md +++ b/gh-agent-workflows/estc-downstream-health/README.md @@ -1,4 +1,4 @@ -# Estc Downstream Health +# Downstream Health (Elastic-specific) Monitor downstream repositories using AI workflows and report quality issues. diff --git a/gh-agent-workflows/estc-newbie-contributor-patrol-external/README.md b/gh-agent-workflows/estc-newbie-contributor-patrol-external/README.md index e4cb2dda..803344d4 100644 --- a/gh-agent-workflows/estc-newbie-contributor-patrol-external/README.md +++ b/gh-agent-workflows/estc-newbie-contributor-patrol-external/README.md @@ -1,4 +1,4 @@ -# Estc Newbie Contributor Patrol External +# Newbie Contributor Patrol External (Elastic-specific) Review docs from a new contributor perspective, cross-referencing published Elastic documentation. diff --git a/gh-agent-workflows/estc-pr-buildkite-detective/README.md b/gh-agent-workflows/estc-pr-buildkite-detective/README.md index 6c1d0188..f4035b57 100644 --- a/gh-agent-workflows/estc-pr-buildkite-detective/README.md +++ b/gh-agent-workflows/estc-pr-buildkite-detective/README.md @@ -1,4 +1,4 @@ -# Estc PR Buildkite Detective +# PR Buildkite Detective (Elastic-specific) Analyze failed PR checks backed by Buildkite and report findings (read-only). diff --git a/mkdocs.yml b/mkdocs.yml index 1a6cc09b..c811a582 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -64,11 +64,11 @@ nav: - Stale Issues: workflows/gh-agent-workflows/stale-issues.md - Test Improver: workflows/gh-agent-workflows/test-improver.md - Elastic-specific: - - Estc Docs PR Review: workflows/gh-agent-workflows/estc-docs-pr-review.md - - Estc PR Buildkite Detective: workflows/gh-agent-workflows/estc-pr-buildkite-detective.md - - Estc Docs Patrol External: workflows/gh-agent-workflows/estc-docs-patrol-external.md - - Estc Newbie Contributor Patrol External: workflows/gh-agent-workflows/estc-newbie-contributor-patrol-external.md - - Estc Downstream Health: workflows/gh-agent-workflows/estc-downstream-health.md + - Docs PR Review (Elastic-specific): workflows/gh-agent-workflows/estc-docs-pr-review.md + - PR Buildkite Detective (Elastic-specific): workflows/gh-agent-workflows/estc-pr-buildkite-detective.md + - Docs Patrol External (Elastic-specific): workflows/gh-agent-workflows/estc-docs-patrol-external.md + - Newbie Contributor Patrol External (Elastic-specific): workflows/gh-agent-workflows/estc-newbie-contributor-patrol-external.md + - Downstream Health (Elastic-specific): workflows/gh-agent-workflows/estc-downstream-health.md - Legacy: - Claude Workflows: workflows/claude-workflows.md - Migration Guide: migration-guide.md From 9ec736c4685545e8a1fa552cf03850ed4b4aca02 Mon Sep 17 00:00:00 2001 From: William Easton Date: Thu, 26 Feb 2026 18:37:47 -0600 Subject: [PATCH 4/5] Small additional fixes --- .../gh-aw-estc-docs-patrol-external.md | 2 +- .../workflows/gh-aw-estc-docs-pr-review.md | 2 +- .../workflows/gh-aw-estc-downstream-health.md | 2 +- ...estc-newbie-contributor-patrol-external.md | 2 +- .../gh-aw-estc-pr-buildkite-detective.md | 48 +++++++++++++++---- .github/workflows/smoke-test-install.yml | 6 +-- 6 files changed, 47 insertions(+), 15 deletions(-) diff --git a/.github/workflows/gh-aw-estc-docs-patrol-external.md b/.github/workflows/gh-aw-estc-docs-patrol-external.md index 58649a36..a539553e 100644 --- a/.github/workflows/gh-aw-estc-docs-patrol-external.md +++ b/.github/workflows/gh-aw-estc-docs-patrol-external.md @@ -62,7 +62,7 @@ on: bots: - "${{ inputs.allowed-bot-users }}" concurrency: - group: docs-patrol-external + group: estc-docs-patrol-external cancel-in-progress: true permissions: contents: read diff --git a/.github/workflows/gh-aw-estc-docs-pr-review.md b/.github/workflows/gh-aw-estc-docs-pr-review.md index 2b361f47..3631a455 100644 --- a/.github/workflows/gh-aw-estc-docs-pr-review.md +++ b/.github/workflows/gh-aw-estc-docs-pr-review.md @@ -67,7 +67,7 @@ on: bots: - "${{ inputs.allowed-bot-users }}" concurrency: - group: docs-pr-review-${{ github.event.pull_request.number }} + group: estc-docs-pr-review-${{ github.event.pull_request.number }} cancel-in-progress: true permissions: contents: read diff --git a/.github/workflows/gh-aw-estc-downstream-health.md b/.github/workflows/gh-aw-estc-downstream-health.md index f0ef1283..18c456d8 100644 --- a/.github/workflows/gh-aw-estc-downstream-health.md +++ b/.github/workflows/gh-aw-estc-downstream-health.md @@ -56,7 +56,7 @@ on: bots: - "${{ inputs.allowed-bot-users }}" concurrency: - group: downstream-health + group: estc-downstream-health cancel-in-progress: true permissions: actions: read diff --git a/.github/workflows/gh-aw-estc-newbie-contributor-patrol-external.md b/.github/workflows/gh-aw-estc-newbie-contributor-patrol-external.md index 9c796118..db1d5732 100644 --- a/.github/workflows/gh-aw-estc-newbie-contributor-patrol-external.md +++ b/.github/workflows/gh-aw-estc-newbie-contributor-patrol-external.md @@ -56,7 +56,7 @@ on: bots: - "${{ inputs.allowed-bot-users }}" concurrency: - group: newbie-contributor-patrol-external + group: estc-newbie-contributor-patrol-external cancel-in-progress: true permissions: contents: read diff --git a/.github/workflows/gh-aw-estc-pr-buildkite-detective.md b/.github/workflows/gh-aw-estc-pr-buildkite-detective.md index c8e8fe47..c942dfd6 100644 --- a/.github/workflows/gh-aw-estc-pr-buildkite-detective.md +++ b/.github/workflows/gh-aw-estc-pr-buildkite-detective.md @@ -55,12 +55,12 @@ on: COPILOT_GITHUB_TOKEN: required: true BUILDKITE_API_TOKEN: - required: true + required: false roles: [admin, maintainer, write] bots: - "${{ inputs.allowed-bot-users }}" concurrency: - group: pr-buildkite-detective-${{ github.run_id }} + group: estc-pr-buildkite-detective-${{ github.run_id }} cancel-in-progress: false permissions: actions: read @@ -80,11 +80,25 @@ mcp-servers: network: allowed: - "mcp.buildkite.com" + - "buildkite.com" safe-outputs: activation-comments: false strict: false timeout-minutes: 30 steps: + - name: Resolve event context + run: | + set -euo pipefail + echo "BK_EVENT_NAME=$GITHUB_EVENT_NAME" >> "$GITHUB_ENV" + if [ "$GITHUB_EVENT_NAME" = "status" ]; then + echo "BK_EVENT_ID=$(jq -r '.id' "$GITHUB_EVENT_PATH")" >> "$GITHUB_ENV" + echo "BK_FAILURE_STATE=$(jq -r '.state' "$GITHUB_EVENT_PATH")" >> "$GITHUB_ENV" + echo "BK_COMMIT_SHA=$(jq -r '.sha' "$GITHUB_EVENT_PATH")" >> "$GITHUB_ENV" + else + echo "BK_EVENT_ID=$(jq -r '.check_run.id' "$GITHUB_EVENT_PATH")" >> "$GITHUB_ENV" + echo "BK_FAILURE_STATE=$(jq -r '.check_run.conclusion' "$GITHUB_EVENT_PATH")" >> "$GITHUB_ENV" + echo "BK_COMMIT_SHA=$(jq -r '.check_run.head_sha' "$GITHUB_EVENT_PATH")" >> "$GITHUB_ENV" + fi - name: Repo-specific setup if: ${{ inputs.setup-commands != '' }} env: @@ -99,10 +113,10 @@ Analyze failed Buildkite CI builds for pull requests in ${{ github.repository }} ## Context - **Repository**: ${{ github.repository }} -- **Event Name**: ${{ github.event_name }} -- **Event ID**: ${{ github.event_name == 'status' && github.event.id || github.event.check_run.id }} -- **Failure State**: ${{ github.event_name == 'status' && github.event.state || github.event.check_run.conclusion }} -- **Commit SHA**: ${{ github.event_name == 'status' && github.event.sha || github.event.check_run.head_sha }} +- **Event Name**: ${{ env.BK_EVENT_NAME }} +- **Event ID**: ${{ env.BK_EVENT_ID }} +- **Failure State**: ${{ env.BK_FAILURE_STATE }} +- **Commit SHA**: ${{ env.BK_COMMIT_SHA }} - **Buildkite Organization**: ${{ inputs.buildkite-org }} ## Constraints @@ -134,13 +148,15 @@ Classify each failure to guide your investigation: ### Step 1: Gather Context 1. Call `generate_agents_md` to get the repository's coding guidelines and conventions. If this fails, continue without it. -2. Resolve the failed commit SHA from the triggering event (`github.event.sha` for `status`, `github.event.check_run.head_sha` for `check_run`). +2. Use the commit SHA provided in the Context section above. If it is empty, discover it from the PR's commit statuses or check runs. 3. Call `list_pull_requests` for the repository (open PRs), then call `pull_request_read` with method `get` on candidates and keep PRs where `head.sha` matches the failed commit SHA. If none match, call `noop` with message "No pull request associated with failed commit status; nothing to do" and stop. 4. For each matching PR, keep author, branches, and fork status for downstream analysis. ### Step 2: Find the Buildkite Build -> **If Buildkite MCP is unavailable** (connection error, 401, timeout): The build failure may come from GitHub checks/status contexts outside Buildkite. Fall back to analyzing the failing status/check context directly — use the GitHub API (`pull_request_read` status endpoints), `web-fetch`, or `bash` with `gh` to inspect related checks/jobs. Proceed to Step 3 using whatever evidence is available and note in your comment that Buildkite data was unavailable. +> **If Buildkite MCP is unavailable** (connection error, 401, timeout, or empty token): Proceed with the **public pipeline** fallback described in Step 2b. Public Buildkite pipelines expose build pages and logs without authentication. + +#### Step 2a: Via Buildkite MCP (when API token is available) 1. **Resolve the pipeline**: If `${{ inputs.buildkite-pipeline }}` is provided, use it. Otherwise, call `list_pipelines` for organization `${{ inputs.buildkite-org }}` and find the pipeline whose slug matches the repository name (extract the repo name from `${{ github.repository }}`). If multiple pipelines match, prefer an exact slug match. 2. **Find the failed build**: Call `list_builds` for the resolved pipeline, filtering by the failed commit SHA resolved in Step 1. If no match by SHA, use the PR's head branch (from the `pull_request_read` response in Step 1) to filter builds and select the most recent failed one. @@ -152,6 +168,22 @@ Classify each failure to guide your investigation: - `tail_logs` — get the last 100 lines (often contains the final error and exit code) - Call `list_annotations` to capture any warnings, errors, or context the pipeline attached to the build. +#### Step 2b: Via public Buildkite pages (fallback when no API token) + +Use this path when the Buildkite MCP server is unavailable (missing token, 401, connection error). + +1. **Discover the Buildkite build URL** from the PR's commit statuses or check runs: + - Call `pull_request_read` with method `get_status` for the PR to retrieve commit status contexts. + - Look for status contexts or check runs whose `target_url` contains `buildkite.com`. The URL typically follows the pattern `https://buildkite.com///builds/`. + +2. **Fetch the public build page**: Use `web-fetch` to retrieve the Buildkite build URL found above. The page contains the build status, job list, and links to individual job logs. + +3. **Collect failure evidence from public pages**: + - Parse the fetched build page to identify failed jobs. Look for job links matching the pattern `https://buildkite.com///builds/#`. + - For each failed job, use `web-fetch` to retrieve the job log page at `https://buildkite.com///builds//jobs//log`. + - Extract error messages, stack traces, and the final output from the fetched log content. + - If the pipeline is not publicly accessible (403/404), note this in your comment and proceed with whatever evidence is available from GitHub status contexts. + ### Step 3: Analyze 1. **Identify the failure**: Which job(s) and step(s) failed? What is the specific error message or stack trace? diff --git a/.github/workflows/smoke-test-install.yml b/.github/workflows/smoke-test-install.yml index af6035ac..4966ff8b 100644 --- a/.github/workflows/smoke-test-install.yml +++ b/.github/workflows/smoke-test-install.yml @@ -51,10 +51,12 @@ jobs: code-duplication-fixer code-simplifier docs-patrol + duplicate-issue-detector estc-docs-patrol-external estc-docs-pr-review estc-downstream-health - duplicate-issue-detector + estc-newbie-contributor-patrol-external + estc-pr-buildkite-detective flaky-test-investigator issue-fixer issue-triage @@ -62,11 +64,9 @@ jobs: mention-in-pr newbie-contributor-fixer newbie-contributor-patrol - estc-newbie-contributor-patrol-external performance-profiler pr-actions-detective pr-actions-fixer - estc-pr-buildkite-detective pr-review project-summary release-update From ab0596bc4a3aaf348a554696518f582a3e0faa5f Mon Sep 17 00:00:00 2001 From: William Easton Date: Thu, 26 Feb 2026 18:41:05 -0600 Subject: [PATCH 5/5] updates --- .github/aw/actions-lock.json | 5 +++ .../gh-aw-estc-docs-patrol-external.lock.yml | 12 +++---- .../gh-aw-estc-docs-pr-review.lock.yml | 12 +++---- .../gh-aw-estc-downstream-health.lock.yml | 12 +++---- ...ewbie-contributor-patrol-external.lock.yml | 12 +++---- ...gh-aw-estc-pr-buildkite-detective.lock.yml | 32 +++++++++---------- 6 files changed, 45 insertions(+), 40 deletions(-) diff --git a/.github/aw/actions-lock.json b/.github/aw/actions-lock.json index 8a25eeb8..f22e6fdc 100644 --- a/.github/aw/actions-lock.json +++ b/.github/aw/actions-lock.json @@ -89,6 +89,11 @@ "repo": "github/gh-aw/actions/setup", "version": "v0.50.4", "sha": "90ebf8057e8e005103b8d123732d2c64c30e9b27" + }, + "github/gh-aw/actions/setup@v0.50.5": { + "repo": "github/gh-aw/actions/setup", + "version": "v0.50.5", + "sha": "a7d371cc7e68f270ded0592942424548e05bf1c2" } } } diff --git a/.github/workflows/gh-aw-estc-docs-patrol-external.lock.yml b/.github/workflows/gh-aw-estc-docs-patrol-external.lock.yml index 052b927e..3d4f4eea 100644 --- a/.github/workflows/gh-aw-estc-docs-patrol-external.lock.yml +++ b/.github/workflows/gh-aw-estc-docs-patrol-external.lock.yml @@ -39,7 +39,7 @@ # # inlined-imports: true # -# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"6e8148d197697e6bcbd937883265e67c2d25912aad7bfc2ed69da7453e45a210"} +# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"369d282daea2183c783dc3fe8fff0c2400b86ca4ea4ea30d3dc9dd5a76f771e0"} name: "Estc Docs Patrol External" "on": @@ -94,7 +94,7 @@ permissions: {} concurrency: cancel-in-progress: true - group: docs-patrol-external + group: estc-docs-patrol-external run-name: "Estc Docs Patrol External" @@ -132,7 +132,7 @@ jobs: - name: Check workflow file timestamps uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: - GH_AW_WORKFLOW_FILE: "gh-aw-docs-patrol-external.lock.yml" + GH_AW_WORKFLOW_FILE: "gh-aw-estc-docs-patrol-external.lock.yml" with: script: | const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); @@ -541,7 +541,7 @@ jobs: GH_AW_SAFE_OUTPUTS: /opt/gh-aw/safeoutputs/outputs.jsonl GH_AW_SAFE_OUTPUTS_CONFIG_PATH: /opt/gh-aw/safeoutputs/config.json GH_AW_SAFE_OUTPUTS_TOOLS_PATH: /opt/gh-aw/safeoutputs/tools.json - GH_AW_WORKFLOW_ID_SANITIZED: ghawdocspatrolexternal + GH_AW_WORKFLOW_ID_SANITIZED: ghawestcdocspatrolexternal outputs: checkout_pr_success: ${{ steps.checkout-pr.outputs.checkout_pr_success || 'true' }} detection_conclusion: ${{ steps.detection_conclusion.outputs.conclusion }} @@ -1400,7 +1400,7 @@ jobs: GH_AW_WORKFLOW_NAME: "Estc Docs Patrol External" GH_AW_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} GH_AW_AGENT_CONCLUSION: ${{ needs.agent.result }} - GH_AW_WORKFLOW_ID: "gh-aw-docs-patrol-external" + GH_AW_WORKFLOW_ID: "gh-aw-estc-docs-patrol-external" GH_AW_SECRET_VERIFICATION_RESULT: ${{ needs.agent.outputs.secret_verification_result }} GH_AW_CHECKOUT_PR_SUCCESS: ${{ needs.agent.outputs.checkout_pr_success }} GH_AW_SAFE_OUTPUT_MESSAGES: "{\"footer\":\"${{ inputs.messages-footer || '---\\n[What is this?](https://ela.st/github-ai-tools) | [From workflow: {workflow_name}]({run_url})\\n\\nGive us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.' }}\",\"activationComments\":\"false\"}" @@ -1466,7 +1466,7 @@ jobs: GH_AW_ENGINE_ID: "copilot" GH_AW_ENGINE_MODEL: "${{ inputs.model }}" GH_AW_SAFE_OUTPUT_MESSAGES: "{\"footer\":\"${{ inputs.messages-footer || '---\\n[What is this?](https://ela.st/github-ai-tools) | [From workflow: {workflow_name}]({run_url})\\n\\nGive us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.' }}\",\"activationComments\":\"false\"}" - GH_AW_WORKFLOW_ID: "gh-aw-docs-patrol-external" + GH_AW_WORKFLOW_ID: "gh-aw-estc-docs-patrol-external" GH_AW_WORKFLOW_NAME: "Estc Docs Patrol External" outputs: code_push_failure_count: ${{ steps.process_safe_outputs.outputs.code_push_failure_count }} diff --git a/.github/workflows/gh-aw-estc-docs-pr-review.lock.yml b/.github/workflows/gh-aw-estc-docs-pr-review.lock.yml index 4ca4414c..5fd58791 100644 --- a/.github/workflows/gh-aw-estc-docs-pr-review.lock.yml +++ b/.github/workflows/gh-aw-estc-docs-pr-review.lock.yml @@ -37,7 +37,7 @@ # # inlined-imports: true # -# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"7da5c787f8f5e0641c14bcb3504a5f15cad20c035506dbf8c3ea5767acab5b7c"} +# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"4d37878672e48d55828843fa53868c69a363044054c6d1c9ed92a2d38f24ee49"} name: "Estc Docs PR Review" "on": @@ -97,7 +97,7 @@ permissions: {} concurrency: cancel-in-progress: true - group: docs-pr-review-${{ github.event.pull_request.number }} + group: estc-docs-pr-review-${{ github.event.pull_request.number }} run-name: "Estc Docs PR Review" @@ -135,7 +135,7 @@ jobs: - name: Check workflow file timestamps uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: - GH_AW_WORKFLOW_FILE: "gh-aw-docs-pr-review.lock.yml" + GH_AW_WORKFLOW_FILE: "gh-aw-estc-docs-pr-review.lock.yml" with: script: | const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); @@ -567,7 +567,7 @@ jobs: GH_AW_SAFE_OUTPUTS: /opt/gh-aw/safeoutputs/outputs.jsonl GH_AW_SAFE_OUTPUTS_CONFIG_PATH: /opt/gh-aw/safeoutputs/config.json GH_AW_SAFE_OUTPUTS_TOOLS_PATH: /opt/gh-aw/safeoutputs/tools.json - GH_AW_WORKFLOW_ID_SANITIZED: ghawdocsprreview + GH_AW_WORKFLOW_ID_SANITIZED: ghawestcdocsprreview outputs: checkout_pr_success: ${{ steps.checkout-pr.outputs.checkout_pr_success || 'true' }} detection_conclusion: ${{ steps.detection_conclusion.outputs.conclusion }} @@ -1466,7 +1466,7 @@ jobs: GH_AW_WORKFLOW_NAME: "Estc Docs PR Review" GH_AW_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} GH_AW_AGENT_CONCLUSION: ${{ needs.agent.result }} - GH_AW_WORKFLOW_ID: "gh-aw-docs-pr-review" + GH_AW_WORKFLOW_ID: "gh-aw-estc-docs-pr-review" GH_AW_SECRET_VERIFICATION_RESULT: ${{ needs.agent.outputs.secret_verification_result }} GH_AW_CHECKOUT_PR_SUCCESS: ${{ needs.agent.outputs.checkout_pr_success }} GH_AW_SAFE_OUTPUT_MESSAGES: "{\"footer\":\"${{ inputs.messages-footer || '---\\n[What is this?](https://ela.st/github-ai-tools) | [From workflow: {workflow_name}]({run_url})\\n\\nGive us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.' }}\",\"activationComments\":\"false\"}" @@ -1532,7 +1532,7 @@ jobs: GH_AW_ENGINE_ID: "copilot" GH_AW_ENGINE_MODEL: "${{ inputs.model }}" GH_AW_SAFE_OUTPUT_MESSAGES: "{\"footer\":\"${{ inputs.messages-footer || '---\\n[What is this?](https://ela.st/github-ai-tools) | [From workflow: {workflow_name}]({run_url})\\n\\nGive us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.' }}\",\"activationComments\":\"false\"}" - GH_AW_WORKFLOW_ID: "gh-aw-docs-pr-review" + GH_AW_WORKFLOW_ID: "gh-aw-estc-docs-pr-review" GH_AW_WORKFLOW_NAME: "Estc Docs PR Review" outputs: code_push_failure_count: ${{ steps.process_safe_outputs.outputs.code_push_failure_count }} diff --git a/.github/workflows/gh-aw-estc-downstream-health.lock.yml b/.github/workflows/gh-aw-estc-downstream-health.lock.yml index 995de20c..a422a72f 100644 --- a/.github/workflows/gh-aw-estc-downstream-health.lock.yml +++ b/.github/workflows/gh-aw-estc-downstream-health.lock.yml @@ -38,7 +38,7 @@ # # inlined-imports: true # -# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"c5355799dd7d802ca80818981a617db301478c8d95d4098eba479863b27a27c0"} +# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"d8c8e8c42af354024e878ef5d774b89c5dcdff2d564f1dd09dca5b4e891a8f1b"} name: "Estc Downstream Health" "on": @@ -88,7 +88,7 @@ permissions: {} concurrency: cancel-in-progress: true - group: downstream-health + group: estc-downstream-health run-name: "Estc Downstream Health" @@ -126,7 +126,7 @@ jobs: - name: Check workflow file timestamps uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: - GH_AW_WORKFLOW_FILE: "gh-aw-downstream-health.lock.yml" + GH_AW_WORKFLOW_FILE: "gh-aw-estc-downstream-health.lock.yml" with: script: | const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); @@ -550,7 +550,7 @@ jobs: GH_AW_SAFE_OUTPUTS: /opt/gh-aw/safeoutputs/outputs.jsonl GH_AW_SAFE_OUTPUTS_CONFIG_PATH: /opt/gh-aw/safeoutputs/config.json GH_AW_SAFE_OUTPUTS_TOOLS_PATH: /opt/gh-aw/safeoutputs/tools.json - GH_AW_WORKFLOW_ID_SANITIZED: ghawdownstreamhealth + GH_AW_WORKFLOW_ID_SANITIZED: ghawestcdownstreamhealth outputs: checkout_pr_success: ${{ steps.checkout-pr.outputs.checkout_pr_success || 'true' }} detection_conclusion: ${{ steps.detection_conclusion.outputs.conclusion }} @@ -1393,7 +1393,7 @@ jobs: GH_AW_WORKFLOW_NAME: "Estc Downstream Health" GH_AW_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} GH_AW_AGENT_CONCLUSION: ${{ needs.agent.result }} - GH_AW_WORKFLOW_ID: "gh-aw-downstream-health" + GH_AW_WORKFLOW_ID: "gh-aw-estc-downstream-health" GH_AW_SECRET_VERIFICATION_RESULT: ${{ needs.agent.outputs.secret_verification_result }} GH_AW_CHECKOUT_PR_SUCCESS: ${{ needs.agent.outputs.checkout_pr_success }} GH_AW_SAFE_OUTPUT_MESSAGES: "{\"footer\":\"${{ inputs.messages-footer || '---\\n[What is this?](https://ela.st/github-ai-tools) | [From workflow: {workflow_name}]({run_url})\\n\\nGive us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.' }}\",\"activationComments\":\"false\"}" @@ -1459,7 +1459,7 @@ jobs: GH_AW_ENGINE_ID: "copilot" GH_AW_ENGINE_MODEL: "${{ inputs.model }}" GH_AW_SAFE_OUTPUT_MESSAGES: "{\"footer\":\"${{ inputs.messages-footer || '---\\n[What is this?](https://ela.st/github-ai-tools) | [From workflow: {workflow_name}]({run_url})\\n\\nGive us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.' }}\",\"activationComments\":\"false\"}" - GH_AW_WORKFLOW_ID: "gh-aw-downstream-health" + GH_AW_WORKFLOW_ID: "gh-aw-estc-downstream-health" GH_AW_WORKFLOW_NAME: "Estc Downstream Health" outputs: code_push_failure_count: ${{ steps.process_safe_outputs.outputs.code_push_failure_count }} diff --git a/.github/workflows/gh-aw-estc-newbie-contributor-patrol-external.lock.yml b/.github/workflows/gh-aw-estc-newbie-contributor-patrol-external.lock.yml index 25d74dd2..b939fcb2 100644 --- a/.github/workflows/gh-aw-estc-newbie-contributor-patrol-external.lock.yml +++ b/.github/workflows/gh-aw-estc-newbie-contributor-patrol-external.lock.yml @@ -38,7 +38,7 @@ # # inlined-imports: true # -# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"0ccdfcb4f4148a785c5d57a4d22d778b52b9ed2a34f19484f04e169ea21d906c"} +# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"9d95dc2f68fe578ef3354c4fd2315a7108d87646632cf6d18cc9b8bf570c5666"} name: "Estc Newbie Contributor Patrol External" "on": @@ -88,7 +88,7 @@ permissions: {} concurrency: cancel-in-progress: true - group: newbie-contributor-patrol-external + group: estc-newbie-contributor-patrol-external run-name: "Estc Newbie Contributor Patrol External" @@ -126,7 +126,7 @@ jobs: - name: Check workflow file timestamps uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: - GH_AW_WORKFLOW_FILE: "gh-aw-newbie-contributor-patrol-external.lock.yml" + GH_AW_WORKFLOW_FILE: "gh-aw-estc-newbie-contributor-patrol-external.lock.yml" with: script: | const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); @@ -489,7 +489,7 @@ jobs: GH_AW_SAFE_OUTPUTS: /opt/gh-aw/safeoutputs/outputs.jsonl GH_AW_SAFE_OUTPUTS_CONFIG_PATH: /opt/gh-aw/safeoutputs/config.json GH_AW_SAFE_OUTPUTS_TOOLS_PATH: /opt/gh-aw/safeoutputs/tools.json - GH_AW_WORKFLOW_ID_SANITIZED: ghawnewbiecontributorpatrolexternal + GH_AW_WORKFLOW_ID_SANITIZED: ghawestcnewbiecontributorpatrolexternal outputs: checkout_pr_success: ${{ steps.checkout-pr.outputs.checkout_pr_success || 'true' }} detection_conclusion: ${{ steps.detection_conclusion.outputs.conclusion }} @@ -1341,7 +1341,7 @@ jobs: GH_AW_WORKFLOW_NAME: "Estc Newbie Contributor Patrol External" GH_AW_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} GH_AW_AGENT_CONCLUSION: ${{ needs.agent.result }} - GH_AW_WORKFLOW_ID: "gh-aw-newbie-contributor-patrol-external" + GH_AW_WORKFLOW_ID: "gh-aw-estc-newbie-contributor-patrol-external" GH_AW_SECRET_VERIFICATION_RESULT: ${{ needs.agent.outputs.secret_verification_result }} GH_AW_CHECKOUT_PR_SUCCESS: ${{ needs.agent.outputs.checkout_pr_success }} GH_AW_SAFE_OUTPUT_MESSAGES: "{\"footer\":\"${{ inputs.messages-footer || '---\\n[What is this?](https://ela.st/github-ai-tools) | [From workflow: {workflow_name}]({run_url})\\n\\nGive us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.' }}\",\"activationComments\":\"false\"}" @@ -1407,7 +1407,7 @@ jobs: GH_AW_ENGINE_ID: "copilot" GH_AW_ENGINE_MODEL: "${{ inputs.model }}" GH_AW_SAFE_OUTPUT_MESSAGES: "{\"footer\":\"${{ inputs.messages-footer || '---\\n[What is this?](https://ela.st/github-ai-tools) | [From workflow: {workflow_name}]({run_url})\\n\\nGive us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.' }}\",\"activationComments\":\"false\"}" - GH_AW_WORKFLOW_ID: "gh-aw-newbie-contributor-patrol-external" + GH_AW_WORKFLOW_ID: "gh-aw-estc-newbie-contributor-patrol-external" GH_AW_WORKFLOW_NAME: "Estc Newbie Contributor Patrol External" outputs: code_push_failure_count: ${{ steps.process_safe_outputs.outputs.code_push_failure_count }} diff --git a/.github/workflows/gh-aw-estc-pr-buildkite-detective.lock.yml b/.github/workflows/gh-aw-estc-pr-buildkite-detective.lock.yml index 16548bc5..63f970d8 100644 --- a/.github/workflows/gh-aw-estc-pr-buildkite-detective.lock.yml +++ b/.github/workflows/gh-aw-estc-pr-buildkite-detective.lock.yml @@ -36,9 +36,9 @@ # # inlined-imports: true # -# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"d444744609be4f9cbfa4065a94b8b0da0423ac5d8f888702aac2cb9b97115c86"} +# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"8dc410ca5105d3a103dd4d38e78e08cfa27b6db13cbcef21bb4f63c023e9eab7"} -name: "Estc PR Buildkite Detective" +name: "PR Buildkite Detective" "on": # bots: # Bots processed as bot check in pre-activation job # - ${{ inputs.allowed-bot-users }} # Bots processed as bot check in pre-activation job @@ -93,9 +93,9 @@ permissions: {} concurrency: cancel-in-progress: false - group: pr-buildkite-detective-${{ github.run_id }} + group: estc-pr-buildkite-detective-${{ github.run_id }} -run-name: "Estc PR Buildkite Detective" +run-name: "PR Buildkite Detective" jobs: activation: @@ -131,7 +131,7 @@ jobs: - name: Check workflow file timestamps uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: - GH_AW_WORKFLOW_FILE: "gh-aw-pr-buildkite-detective.lock.yml" + GH_AW_WORKFLOW_FILE: "gh-aw-estc-pr-buildkite-detective.lock.yml" with: script: | const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); @@ -291,7 +291,7 @@ jobs: GH_AW_PROMPT_EOF cat << 'GH_AW_PROMPT_EOF' - # Estc PR Buildkite Detective + # PR Buildkite Detective Analyze failed Buildkite CI builds for pull requests in __GH_AW_GITHUB_REPOSITORY__. Identify root causes from build logs, trace failures to source code, and provide actionable fix recommendations via PR comments. This workflow is read-only. @@ -502,7 +502,7 @@ jobs: GH_AW_SAFE_OUTPUTS: /opt/gh-aw/safeoutputs/outputs.jsonl GH_AW_SAFE_OUTPUTS_CONFIG_PATH: /opt/gh-aw/safeoutputs/config.json GH_AW_SAFE_OUTPUTS_TOOLS_PATH: /opt/gh-aw/safeoutputs/tools.json - GH_AW_WORKFLOW_ID_SANITIZED: ghawprbuildkitedetective + GH_AW_WORKFLOW_ID_SANITIZED: ghawestcprbuildkitedetective outputs: checkout_pr_success: ${{ steps.checkout-pr.outputs.checkout_pr_success || 'true' }} detection_conclusion: ${{ steps.detection_conclusion.outputs.conclusion }} @@ -625,7 +625,7 @@ jobs: model: "${{ inputs.model }}", version: "", agent_version: "0.0.417", - workflow_name: "Estc PR Buildkite Detective", + workflow_name: "PR Buildkite Detective", experimental: false, supports_tools_allowlist: true, run_id: context.runId, @@ -1190,7 +1190,7 @@ jobs: if: always() && steps.detection_guard.outputs.run_detection == 'true' uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: - WORKFLOW_NAME: "Estc PR Buildkite Detective" + WORKFLOW_NAME: "PR Buildkite Detective" WORKFLOW_DESCRIPTION: "Analyze failed Buildkite PR checks and report findings" HAS_PATCH: ${{ steps.collect_output.outputs.has_patch }} with: @@ -1305,7 +1305,7 @@ jobs: env: GH_AW_AGENT_OUTPUT: ${{ env.GH_AW_AGENT_OUTPUT }} GH_AW_NOOP_MAX: "1" - GH_AW_WORKFLOW_NAME: "Estc PR Buildkite Detective" + GH_AW_WORKFLOW_NAME: "PR Buildkite Detective" with: github-token: ${{ secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} script: | @@ -1318,7 +1318,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_AGENT_OUTPUT: ${{ env.GH_AW_AGENT_OUTPUT }} - GH_AW_WORKFLOW_NAME: "Estc PR Buildkite Detective" + GH_AW_WORKFLOW_NAME: "PR Buildkite Detective" with: github-token: ${{ secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} script: | @@ -1331,10 +1331,10 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_AGENT_OUTPUT: ${{ env.GH_AW_AGENT_OUTPUT }} - GH_AW_WORKFLOW_NAME: "Estc PR Buildkite Detective" + GH_AW_WORKFLOW_NAME: "PR Buildkite Detective" GH_AW_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} GH_AW_AGENT_CONCLUSION: ${{ needs.agent.result }} - GH_AW_WORKFLOW_ID: "gh-aw-pr-buildkite-detective" + GH_AW_WORKFLOW_ID: "gh-aw-estc-pr-buildkite-detective" GH_AW_SECRET_VERIFICATION_RESULT: ${{ needs.agent.outputs.secret_verification_result }} GH_AW_CHECKOUT_PR_SUCCESS: ${{ needs.agent.outputs.checkout_pr_success }} GH_AW_SAFE_OUTPUT_MESSAGES: "{\"footer\":\"${{ inputs.messages-footer || '---\\n[What is this?](https://ela.st/github-ai-tools) | [From workflow: {workflow_name}]({run_url})\\n\\nGive us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.' }}\",\"activationComments\":\"false\"}" @@ -1351,7 +1351,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_AGENT_OUTPUT: ${{ env.GH_AW_AGENT_OUTPUT }} - GH_AW_WORKFLOW_NAME: "Estc PR Buildkite Detective" + GH_AW_WORKFLOW_NAME: "PR Buildkite Detective" GH_AW_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} GH_AW_AGENT_CONCLUSION: ${{ needs.agent.result }} GH_AW_NOOP_MESSAGE: ${{ steps.noop.outputs.noop_message }} @@ -1400,8 +1400,8 @@ jobs: GH_AW_ENGINE_ID: "copilot" GH_AW_ENGINE_MODEL: "${{ inputs.model }}" GH_AW_SAFE_OUTPUT_MESSAGES: "{\"footer\":\"${{ inputs.messages-footer || '---\\n[What is this?](https://ela.st/github-ai-tools) | [From workflow: {workflow_name}]({run_url})\\n\\nGive us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.' }}\",\"activationComments\":\"false\"}" - GH_AW_WORKFLOW_ID: "gh-aw-pr-buildkite-detective" - GH_AW_WORKFLOW_NAME: "Estc PR Buildkite Detective" + GH_AW_WORKFLOW_ID: "gh-aw-estc-pr-buildkite-detective" + GH_AW_WORKFLOW_NAME: "PR Buildkite Detective" outputs: code_push_failure_count: ${{ steps.process_safe_outputs.outputs.code_push_failure_count }} code_push_failure_errors: ${{ steps.process_safe_outputs.outputs.code_push_failure_errors }}