You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The dev-lead.yml caller stub must pass with: agent_ref: dev-lead/<channel> (stable, next, or ring<N>) so the reusable checks out its own scripts/prompts from the same channel. Re-sync from standards/workflows/dev-lead.yml.
Re-sync .github/workflows/dev-lead.yml from the canonical standards/workflows/dev-lead.yml template so the caller stub pins a valid dev-lead channel. The stub currently pins dev-lead/v1-stable, which is not one of the allowed channels (stable, next, ring<N>) enforced by check_dev_lead_stub in the compliance audit; the canonical template pins dev-lead/stable.
Root Cause
.github/workflows/dev-lead.yml line 64 (uses:) and line 66 (agent_ref:) both carry dev-lead/v1-stable. The dev-lead-stub-agent-ref check requires agent_ref: dev-lead/<channel> where <channel> matches stable|next|ring[0-9]+; v1-stable fails the regex. Fix is to copy the template verbatim (only diff is v1-stable -> stable on those two lines).
Implementation Checklist
Update uses: ref on line 64 to ...dev-lead-reusable.yml@dev-lead/stable (retain the # NOSONAR(...) marker)
Update with.agent_ref on line 66 to dev-lead/stable
Confirm resulting file is byte-identical to standards/workflows/dev-lead.yml
Tests to Write
No unit tests apply: this is a behavior-preserving CI-config change to a workflow YAML (Phase 2 config exception). Validation is via the repo lint script and a verbatim diff against the canonical template.
Test Command
bash .dev-lead/scripts/dev-lead-lint.sh (plus diff against the fetched canonical template)
Updated uses: ref (line 64) to ...dev-lead-reusable.yml@dev-lead/stable, retaining the # NOSONAR(githubactions:S7637) marker
Updated with.agent_ref (line 66) to dev-lead/stable
Confirmed the resulting file is byte-identical to the canonical standards/workflows/dev-lead.yml
Root Cause
The stub pinned dev-lead/v1-stable in both the uses: ref and agent_ref. check_dev_lead_stub in the compliance audit only accepts channels matching stable|next|ring[0-9]+, so v1-stable failed the dev-lead-stub-agent-ref check. Re-synced from the canonical template, whose pin is dev-lead/stable.
Verification
Required lint script:
[lint] shellcheck on 2 file(s)...
[lint] validating CODEOWNERS...
OK: CODEOWNERS
[lint] all checks passed
Compliance-audit check_dev_lead_stub checks reproduced locally against the fixed file:
diff .github/workflows/dev-lead.yml <canonical> -> IDENTICAL to canonical template
Files Changed
.github/workflows/dev-lead.yml: changed the dev-lead channel pin from v1-stable to stable on the uses: ref and the with.agent_ref input (2 lines). No other lines touched; on:, permissions:, and the absence of a concurrency: block are unchanged.
Notes
No unit tests were added: this is a behavior-preserving CI-configuration change to a workflow YAML (Phase 2 config exception). Validation is via the repo lint script and a byte-for-byte diff against the canonical template.
The channel pin is the only per-repo-adjustable field in this stub; it now uses the production default stable, consistent with the file's own header comments.
Activity
don-petry commentedon Jul 17, 2026
Dev-Lead Implementation Plan
Issue: #411 — Compliance: dev-lead-stub-agent-ref
Scope
Re-sync
.github/workflows/dev-lead.ymlfrom the canonicalstandards/workflows/dev-lead.ymltemplate so the caller stub pins a validdev-leadchannel. The stub currently pinsdev-lead/v1-stable, which is not one of the allowed channels (stable,next,ring<N>) enforced bycheck_dev_lead_stubin the compliance audit; the canonical template pinsdev-lead/stable.Root Cause
.github/workflows/dev-lead.ymlline 64 (uses:) and line 66 (agent_ref:) both carrydev-lead/v1-stable. Thedev-lead-stub-agent-refcheck requiresagent_ref: dev-lead/<channel>where<channel>matchesstable|next|ring[0-9]+;v1-stablefails the regex. Fix is to copy the template verbatim (only diff isv1-stable->stableon those two lines).Implementation Checklist
uses:ref on line 64 to...dev-lead-reusable.yml@dev-lead/stable(retain the# NOSONAR(...)marker)with.agent_refon line 66 todev-lead/stablestandards/workflows/dev-lead.ymlTests to Write
Test Command
bash .dev-lead/scripts/dev-lead-lint.sh(plusdiffagainst the fetched canonical template)don-petry commentedon Jul 17, 2026
Dev-Lead: Implementation Complete
Plan Execution
uses:ref (line 64) to...dev-lead-reusable.yml@dev-lead/stable, retaining the# NOSONAR(githubactions:S7637)markerwith.agent_ref(line 66) todev-lead/stablestandards/workflows/dev-lead.ymlRoot Cause
The stub pinned
dev-lead/v1-stablein both theuses:ref andagent_ref.check_dev_lead_stubin the compliance audit only accepts channels matchingstable|next|ring[0-9]+, sov1-stablefailed thedev-lead-stub-agent-refcheck. Re-synced from the canonical template, whose pin isdev-lead/stable.Verification
Required lint script:
Compliance-audit
check_dev_lead_stubchecks reproduced locally against the fixed file:Verbatim template match:
Files Changed
.github/workflows/dev-lead.yml: changed thedev-leadchannel pin fromv1-stabletostableon theuses:ref and thewith.agent_refinput (2 lines). No other lines touched;on:,permissions:, and the absence of aconcurrency:block are unchanged.Notes
stable, consistent with the file's own header comments.feat: implement issue #411 — Compliance: dev-lead-stub-agent-ref (#413)
feat: implement issue #411 — Compliance: dev-lead-stub-agent-ref (#413)
feat: implement issue #411 — Compliance: dev-lead-stub-agent-ref (#413)
feat: implement issue #407 — Compliance: ruleset-drift-pr-quality-req…
feat: implement issue #411 — Compliance: dev-lead-stub-agent-ref (#413)
feat: implement issue #411 — Compliance: dev-lead-stub-agent-ref (#413)
feat: implement issue #409 — Compliance: ruleset-drift-pr-quality-req…