From 334428c54c9e9cf148782b6fc244aae396832aaf Mon Sep 17 00:00:00 2001 From: Muse Sweep Date: Sat, 24 Oct 2026 05:51:18 -0500 Subject: [PATCH] =?UTF-8?q?chore(ci):=20Jules=20house=20rules=20=E2=80=94?= =?UTF-8?q?=20batch=20same-set=20changes,=20merge=20only=20when=20reasonab?= =?UTF-8?q?ly=20certain?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/jules-daily-codebase-ideation.yml | 3 +++ .github/workflows/jules-daily-flake-sync.yml | 4 ++-- .github/workflows/jules.yml | 12 ++++++++++-- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/workflows/jules-daily-codebase-ideation.yml b/.github/workflows/jules-daily-codebase-ideation.yml index def3f0758c..bff193a25d 100644 --- a/.github/workflows/jules-daily-codebase-ideation.yml +++ b/.github/workflows/jules-daily-codebase-ideation.yml @@ -79,3 +79,6 @@ jobs: - You are actively encouraged to open small, focused Pull Requests implementing the fix or feature directly. - Ensure all added code follows repository standards, includes tests, and passes formatting/linting hooks (`treefmt`, `conform`). - Never introduce breaking regressions to existing stable flows. + - **One PR per coherent set**: batch every instance of the same problem — and all related dependency updates — into a single PR, or a few PRs split by coherent group. Never one PR per item or per dependency. + - **Prefer tracked, higher-impact work**: before inventing a new micro-fix, check the open issues and implement the highest-impact one you can complete and verify, even when it spans several files. + - **Merging is permitted, never required**: merge your PR only when checks pass and you are reasonably certain it is correct and low-risk. Otherwise leave it open and state your confidence and what a human should check in the description. diff --git a/.github/workflows/jules-daily-flake-sync.yml b/.github/workflows/jules-daily-flake-sync.yml index b1812a6bf5..dc1f4cc384 100644 --- a/.github/workflows/jules-daily-flake-sync.yml +++ b/.github/workflows/jules-daily-flake-sync.yml @@ -73,5 +73,5 @@ jobs: ### 4. PULL REQUEST & MERGE - If updates or improvements are present: - - Open a clear Pull Request documenting the bumped input hashes, commit logs, and any configuration enhancements made. - - If all Nix evaluations and checks succeed and the PR is conflict-free, proceed to merge into `main`. + - Open a clear Pull Request documenting the bumped input hashes, commit logs, and any configuration enhancements made. Keep every related update in this one PR — never split dependency or input bumps into one PR per item. + - Merge into `main` only when you are reasonably certain it is correct: all Nix evaluations and checks succeed, the PR is conflict-free, and the changes are limited to the intended bumps and fixes. Merging is permitted, never required — when any of that is uncertain, leave the PR open and explain what a human should check. diff --git a/.github/workflows/jules.yml b/.github/workflows/jules.yml index 1cf32bf222..10695f5682 100644 --- a/.github/workflows/jules.yml +++ b/.github/workflows/jules.yml @@ -69,7 +69,12 @@ jobs: Review the repository for low-risk housekeeping: dead code, unused dependencies, stale TODOs and obvious documentation drift. Open a single pull request with the changes, and explain each one. - Do not make behavioural changes. + Do not make behavioural changes. Batch every instance of the same + problem into that one PR — update related dependencies together, + never one PR per dependency. Merging is permitted but never + required: merge only when checks pass and you are reasonably + certain the PR is correct and low-risk; otherwise leave it open + and state your confidence and what a human should check. # Triggered by applying the `jules` label to an issue. Note this is the same # convention the Jules GitHub App uses natively; keep one or the other to @@ -90,7 +95,10 @@ jobs: Address GitHub issue #${{ github.event.issue.number }}: "${{ github.event.issue.title }}". ${{ github.event.issue.body }} - Open a pull request that fixes it and reference the issue. + Open a pull request that fixes it. Put "Fixes #${{ github.event.issue.number }}" + in the pull request description so the issue closes on merge, and + cover any same-set instances of the problem (including related + dependency updates) in the same PR rather than separately. ci-failure-fix: if: >-