From 49b3e1d3bf4b936591364cd8e24879042c54be41 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 20 Apr 2026 08:26:16 +0000 Subject: [PATCH 1/2] Initial plan From b845816df5de8a86b7028a26de917ca92fafb10d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 20 Apr 2026 08:29:46 +0000 Subject: [PATCH 2/2] chore: upgrade caretaker from 0.5.2 to v0.10.0 Agent-Logs-Url: https://github.com/ianlintner/python_dsa/sessions/8cb7eddd-008d-450a-a09b-ab96665bf57b Co-authored-by: ianlintner <500914+ianlintner@users.noreply.github.com> --- .github/maintainer/.version | 2 +- .github/workflows/maintainer.yml | 53 ++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+), 1 deletion(-) diff --git a/.github/maintainer/.version b/.github/maintainer/.version index cb0c939..78bc1ab 100644 --- a/.github/maintainer/.version +++ b/.github/maintainer/.version @@ -1 +1 @@ -0.5.2 +0.10.0 diff --git a/.github/workflows/maintainer.yml b/.github/workflows/maintainer.yml index 2fed486..324efec 100644 --- a/.github/workflows/maintainer.yml +++ b/.github/workflows/maintainer.yml @@ -34,7 +34,60 @@ permissions: pull-requests: write jobs: + # Short-circuit comment events that caretaker itself produced. Without this + # filter, every status / readiness / task comment caretaker writes triggers + # another caretaker run via the issue_comment webhook, producing a feedback + # loop. Comments are identified by a caretaker:* HTML-comment marker and + # by known bot logins. + dispatch-guard: + runs-on: ubuntu-latest + outputs: + should_run: ${{ steps.guard.outputs.should_run }} + steps: + - id: guard + uses: actions/github-script@v7 + with: + script: | + const ev = context.eventName; + if (ev !== "issue_comment" && ev !== "pull_request_review") { + core.setOutput("should_run", "true"); + return; + } + const payload = context.payload || {}; + if (ev === "issue_comment") { + const body = payload.comment?.body || ""; + if (/