Repository navigation
Description
Context
Codex re-reviewed the current template-alignment PR heads across the scoped repos after the downstream agents marked them ready for review. This issue is a hub checklist for findings that remain after that pass, plus template/generalization questions that should be decided upstream before downstreams converge again.
Reviewed alignment PR heads:
- ProjectTemplate PR Template convergence barrier: absorb pins, generic release + docker-readme, carry-whole-file #207
template-convergenceat0527b6236bc5075a60e33e92ade46984372f9fec - Utilities PR Make carried template docs repo-agnostic; codify the no-cross-reference rule #344
chore/sync-templateate3621ef86ce50f39d4af86a4536215ad789e7723 - PlexCleaner PR Delete a Conflicting Sudo Timestamp Drop-In on Confirm #764
chore/sync-templateat98c719d591ab05faddfae4137753efea135012d3 - ESPHome-NonRoot PR Develop ruleset strict "branches up to date" flag stalls bot auto-merge when sibling PR lands mid-CI #82
chore/sync-templateat43d2d6a8e1dd9ceefbfec76bac8cd286a44227da - VSCode-Server-DotNetCore PR Develop #49
chore/sync-templateat9b5b927226fc828add938054d69b230e63083e53 - KiCadLibrary PR Refactor merge conditions and enhance documentation #39
chore/sync-templateata0bdba0a1fd890c3877fb3166163f93286b3e3f4 - LanguageTags PR Harden merge gate + prerelease guard, and de-prose comments (#188, #189) #190
chore/sync-templateatcfa8dcb4a18d4d1c457825633b4dc09978d6f3e9 - NxWitness PR Promote the config-repo convergence hub fixes to main (#447) #448
chore/sync-templateatcdda57be4904c8c024d7acf6a8c71f1aa6b9d08c - homeassistant-purpleair PR Update codegen files #149
chore/sync-templateat35d67dfcc24bb9b91fd228bbf9bcfc075cd71b61
Validation run: actionlint via rhysd/actionlint:latest was clean across all listed alignment branches.
Downstream fixes still needed
-
PlexCleaner: merge-bot workflow is still on the old shape.
- Current file:
PlexCleaner/.github/workflows/merge-bot-pull-request.ymllines 3-9 still usepull_request,group: ${{ github.workflow }}-${{ github.ref }}, andcancel-in-progress: true. - It also lacks the template's opened/reopened-only merge guard and
disable-auto-merge-on-maintainer-pushjob. - Suggested correction: carry/adapt the current ProjectTemplate
merge-bot-pull-request.ymlshape:pull_request_target, per-PR concurrency on${{ github.event.pull_request.number }},cancel-in-progress: false, opened/reopened guards, and maintainer-push disable logic. Keep only the repo's genuine target set.
- Current file:
-
Utilities: publish artifacts are not cleaned up.
- Current file:
Utilities/.github/workflows/build-nugetlibrary-task.ymluploadsrelease-asset-${{ inputs.branch }}-nugetlibrary, butUtilities/.github/workflows/publish-release.ymlhas no terminalcleanup-artifactsjob. - Suggested correction: add the template terminal cleanup job to
publish-release.ymlwithneedscoveringsetup,publish, anddate-badge,if: ${{ always() && needs.setup.outputs.publish == 'true' }},permissions: actions: write, and best-effort REST deletion.
- Current file:
-
PlexCleaner: publish artifacts are not cleaned up.
- Current files:
PlexCleaner/.github/workflows/build-executable-task.ymluploads both matrix build artifacts andrelease-asset-${{ inputs.branch }}-executable;build-toolversions-task.ymluploadsversions-*; butPlexCleaner/.github/workflows/publish-release.ymlhas no terminalcleanup-artifactsjob. - Suggested correction: add the template terminal cleanup job with
needscoveringsetup,publish,tool-versions,docker-readme, anddate-badge, gated byalways() && needs.setup.outputs.publish == 'true'.
- Current files:
-
homeassistant-purpleair: BYOB action is still tag-pinned and the comment is stale.
- Current file:
homeassistant-purpleair/.github/workflows/build-datebadge-task.ymllines 35-38 says BYOB is not SHA-pinnable and usesRubbaBoy/BYOB@v1. - Current template pins it as
RubbaBoy/BYOB@a4919104bc0ec7cfd7f113e42c405cc45246f2a4 # v1. - Suggested correction: replace the floating tag with the template SHA pin and remove the stale comment.
- Current file:
Template/generalization questions
-
Clarify whether action pinning applies to repo-owned build-layer leaves.
- ProjectTemplate
AGENTS.mdsays every action must be SHA-pinned exceptdotnet/nbgv@master. - NxWitness documents
build-docker-task.yml,build-base-images-task.yml, andtest-release-task.ymlas repo-owned build-layer leaves whose action versions remain tag-owned and Dependabot-managed. Those files currently containactions/checkout@v7,docker/setup-qemu-action@v4,docker/setup-buildx-action@v4,docker/login-action@v4,docker/build-push-action@v7, andactions/setup-dotnet@v5. - Suggested upstream decision: either require SHA pinning in repo-owned build leaves too, or document a narrow exception/ownership rule so downstream agents stop flagging this as drift.
- ProjectTemplate
-
Clarify Docker cache policy for multi-image repos.
- ProjectTemplate
AGENTS.mdsays Docker layer cache should use registry tags, nottype=gha, to avoid the 10 GB Actions cache. - NxWitness uses
type=ghain its multi-image build leaves, including PR-scoped caches and per-image branch caches. It also uses one registry cache line for shared base images. - Suggested upstream decision: either migrate NxWitness to registry-backed per-image caches, or add a documented exception/general pattern for multi-image repos where registry cache tags are impractical or too expensive.
- ProjectTemplate
-
Remove stale CODESTYLE droppable-section wording from downstream instructions.
- Current ProjectTemplate
CODESTYLE.mdsays the file is carried whole and unused language sections are inert. - Some downstream AGENTS text still says language sections are droppable or instructs re-syncing then dropping unused language sections. Examples found: Utilities, PlexCleaner, KiCadLibrary, VSCode-Server-DotNetCore.
- Suggested correction: converge downstream AGENTS text on the current carry-whole-file model, or update the template if droppable language sections are still meant to be supported.
- Current ProjectTemplate
Notes
- This issue intentionally separates downstream fixes from upstream policy questions. If a policy question is resolved upstream, downstreams should reapply the template decision rather than maintaining private exceptions.
- No file changes were made by Codex during this review pass.
Activity
Clarify SHA-pin + Docker-cache policy apply to build leaves / multi-i…
ptr727 commentedon Jun 25, 2026
All items addressed on the alignment branches;
actionlintclean on every changed workflow,markdownlintclean on changed docs.Downstream fixes
pull_request_target, per-PR concurrency ongithub.event.pull_request.number,cancel-in-progress: false, opened/reopened guard, and thedisable-auto-merge-on-maintainer-pushjob; prunedmerge-codegen/merge-upstream-version(this repo has neither mechanism). Also corrected the now-stale AGENTS Branching Model description (maintainer push now disables auto-merge). — PlexCleaner7e9e2f3cleanup-artifactsjob (needs: [setup, publish, date-badge]). — Utilitiesdec3a82needs: [setup, publish, tool-versions, docker-readme, date-badge]). — PlexCleanerd873e03RubbaBoy/BYOB@a4919104... # v1; removed the false "not SHA-pinnable" comment. — homeassistantc0a6116Template/generalization decisions (resolved upstream)
67b3d9b, templatedd9dbecbuild-docker-task+build-base-images-tasknow usetype=registrybuildcache tags (docker.io/ptr727/<repo>:buildcache-<branch>, plus the base tag + inline) instead oftype=gha; all best-effort (ignore-error=true). Template AGENTS clarified the per-image multi-image pattern. — NxWitness472f4a7, templatedd9dbec859f19e, PlexCleaner8ed3d24, KiCadLibrary5d0de37, VSCode-Server9eaf92d