Skip to content

governance(ci): exempt Dependabot from gate + consolidate bumps (#12-#14)#15

Merged
ImPanick merged 2 commits into
devfrom
agent/claude/deps-gate-exempt-and-bumps
Jun 2, 2026
Merged

governance(ci): exempt Dependabot from gate + consolidate bumps (#12-#14)#15
ImPanick merged 2 commits into
devfrom
agent/claude/deps-gate-exempt-and-bumps

Conversation

@ImPanick
Copy link
Copy Markdown
Owner

@ImPanick ImPanick commented Jun 2, 2026

Summary

Spec authorization

  • .agent/SCOPE_GUARDRAILS.md §2.11 (enforcement-stack change — owner-approved carve-out) and §1.6 (CI tooling).
  • .github/dependabot.yml governance note (version bumps of approved packages; license/provenance reviewed).

Consultation

  • AGENTS.md
  • .agent/CONSTITUTION.md
  • .agent/SCOPE_GUARDRAILS.md §1, §2
  • .agent/HANDOFF_PROTOCOL.md §3
  • .agent/SECURITY_PROTOCOL.md §8
  • .github/dependabot.yml, .github/PULL_REQUEST_TEMPLATE.md

Agent

Agent: claude-code/2.1.149

Files touched

  • .github/workflows/governance-check.yml (job-level if on pr-body-check + commit-trailer-check; header note)
  • .github/workflows/release.yml (attest-build-provenance@v4, action-gh-release@v3)
  • src/IUUT.Cli/IUUT.Cli.csproj (Logging.Console 10.0.8)

Test plan

  • dotnet restore -p:Configuration=Release + build -c Release --no-restore → 0 warnings, 0 errors
  • dotnet test -c Release --no-build312/312 passed
  • The release.yml action bumps are exercised only on a vX.Y.Z tag, not in PR CI — to be confirmed at the next release.
  • Exemption behavior: this PR is authored by a human/agent (not dependabot), so all governance jobs run and must pass here; the if only skips for dependabot[bot].

Definition-of-Done checklist

  • Branch agent/claude/deps-gate-exempt-and-bumps
  • Every commit has Agent:, Consulted:, Co-Authored-By: trailers
  • scripts/governance-lint.ps1 passes (no PII)
  • No --no-verify / unjustified override
  • No new external runtime dependencies (version bumps only)
  • Existing tests pass (312/312)

Drift declarations

This narrows the enforcement stack for dependabot[bot] only (SCOPE_GUARDRAILS §2.11). It is an owner-approved policy carve-out, not a silent weakening: human and AI-agent PRs remain fully gated, and the PII/secret lint still runs on Dependabot PRs. Rationale: a configured bot mechanically cannot emit our PR template or commit trailers, so those two checks produced guaranteed false failures on every bump.

Hand-off notes

Drift / Governance flags

  • experimental
  • requires-human-approval (enforcement-stack change — approved by owner 2026-06-01)
  • governance-amendment
  • cross-cutting
  • emergency

ImPanick and others added 2 commits June 1, 2026 22:08
Dependabot[bot] cannot author our PR template sections or the Agent:/
Consulted: commit trailers, so its PRs fail pr-body-check and
commit-trailer-check on every run by construction (not a code defect).
Add a job-level `if: github.actor != 'dependabot[bot]'` to those two jobs
so they skip (neutral/green) for the bot. The PII/secret governance-lint
job still runs on Dependabot PRs, and bumps remain reviewed via
.github/dependabot.yml (license/provenance).

This is a deliberate, owner-approved carve-out of the enforcement stack
(SCOPE_GUARDRAILS §2.11) — it narrows two checks for a trusted, configured
bot only; human/AI-agent PRs are unaffected and still fully gated.

Agent: claude-code/2.1.149
Consulted: AGENTS.md, .agent/CONSTITUTION.md#VIII, .agent/SCOPE_GUARDRAILS.md#2, .agent/HANDOFF_PROTOCOL.md#3, .github/PULL_REQUEST_TEMPLATE.md
Co-Authored-By: Claude <noreply@anthropic.com>
Consolidates the three new Dependabot PRs (#12-#14) as one governed
commit, verified green locally (build + 312 tests).

NuGet (IUUT.Cli):
- Microsoft.Extensions.Logging.Console 8.0.0 -> 10.0.8
  (Logging.Abstractions follows transitively; not a direct reference)

GitHub Actions (release.yml, exercised only on a release tag):
- actions/attest-build-provenance 1 -> 4
- softprops/action-gh-release      2 -> 3

Supersedes PRs #12, #13, #14 (closed as consolidated).

Agent: claude-code/2.1.149
Consulted: AGENTS.md, .agent/CONSTITUTION.md#VIII, .agent/SCOPE_GUARDRAILS.md#1,#2, .agent/SECURITY_PROTOCOL.md#8, .github/dependabot.yml
Co-Authored-By: Claude <noreply@anthropic.com>
Handoff-State: ready-for-review
Handoff-Notes: Done — gate exemption + 3 bumps committed, build/tests green (312). Next: PR into dev, merge, close #12-#14, FF main. The release.yml action bumps are only exercised on a vX.Y.Z tag, not in PR CI; verify on the next release. Do not remove the dependabot[bot] `if:` guards unless reverting the owner-approved exemption.
@ImPanick ImPanick added ci Continuous integration / GitHub Actions agent:claude-code Authored by the Claude Code agent governance-amendment Amends the governance/enforcement stack (.agent or gate) requires-human-approval Out-of-scope per SCOPE_GUARDRAILS §2; needs explicit human sign-off labels Jun 2, 2026
@codacy-production
Copy link
Copy Markdown

codacy-production Bot commented Jun 2, 2026

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@ImPanick ImPanick merged commit c972891 into dev Jun 2, 2026
5 checks passed
@ImPanick ImPanick deleted the agent/claude/deps-gate-exempt-and-bumps branch June 2, 2026 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent:claude-code Authored by the Claude Code agent ci Continuous integration / GitHub Actions governance-amendment Amends the governance/enforcement stack (.agent or gate) requires-human-approval Out-of-scope per SCOPE_GUARDRAILS §2; needs explicit human sign-off

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant