Skip to content

chore: version + harden the devops subagent definition#18

Merged
nbrieussel merged 2 commits into
mainfrom
chore/version-devops-agent
Jun 10, 2026
Merged

chore: version + harden the devops subagent definition#18
nbrieussel merged 2 commits into
mainfrom
chore/version-devops-agent

Conversation

@nbrieussel

Copy link
Copy Markdown
Contributor

Context

.claude/agents/devops.md lived only in the local worktree. This versions it so the agent definition evolves through reviewable PRs, and folds in the lessons from #16 / PR #17 (multi-platform Terraform lock).

Changes

  • ae353d8 — track the current devops.md as-is (baseline, no behaviour change).
  • 48fc522 — harden it:
    • Workflow defaults: git fetch + verify sync first, branch off main → PR back to main, one issue = one PR, deliverable is a draft PR the agent creates itself, keep PRs scoped, and confirm CI is green (gh run list) before reporting done.
    • CI checks: state the invariant a check guarantees and on which OS it runs; prefer checks correct regardless of runner OS — e.g. enforce a multi-platform lock via providers lock + git diff --exit-code, not init -lockfile=readonly on a single OS.

Why

During #16 the agent shipped a CI lock-check that only validated linux_amd64 (ubuntu runner), missing a darwin_arm64-only regression; it also worked off an unverified remote state. These defaults close both gaps so the agent needs less hand-holding on small tasks.

How to verify

No runtime impact — docs/config only. Read the diff of .claude/agents/devops.md.

🤖 Generated with Claude Code

Nicolas Brieussel and others added 2 commits June 11, 2026 00:32
Track .claude/agents/devops.md so the agent definition is versioned and can
evolve through reviewable PRs, instead of living only in the local worktree.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Encode the lessons from the #16 PR so the agent needs less hand-holding:

- Workflow defaults: fetch + verify sync, branch off main, PR back to main,
  one issue = one PR, deliverable is a draft PR it creates, keep PRs scoped,
  and confirm CI is green before reporting done.
- CI checks: state the invariant a check guarantees and on which OS it runs;
  prefer checks correct regardless of runner OS (e.g. multi-platform lock
  enforcement via `providers lock` + `git diff`, not single-OS readonly init).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@nbrieussel
nbrieussel marked this pull request as ready for review June 10, 2026 22:49
@nbrieussel
nbrieussel merged commit 0de662c into main Jun 10, 2026
@nbrieussel
nbrieussel deleted the chore/version-devops-agent branch June 10, 2026 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant