Skip to content

chore(agents): allow make, kubectl, ansible and safe git commands - #5139

Merged
dan-petty merged 2 commits into
mainfrom
chore/5133-allow-make-kubectl-ansible-and-safe
Nov 12, 2026
Merged

dan-petty merged 2 commits into
mainfrom
chore/5133-allow-make-kubectl-ansible-and-safe

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The Claude Code settings and the template of devops devcontainer init allow the standard project commands: make, kubectl, the Ansible commands, uv sync, uv lock, the git reads fetch, show, rev-parse and merge-base, and the local git writes worktree, add, commit and rebase. Before this change, the auto-mode classifier examined these commands and refused make k3s in the homelab clone under repos/. A rule matches the full command line, so the rules also apply in the clones under repos/.

The list does not allow git push, git reset, git checkout, git switch or git stash, because AGENTS.md limits them. The deny list does not change, so --no-verify and bare gh stay refused. CONTRIBUTING.md gives the list.

Closes #5133
Change: openspec/changes/archive/2026-11-12-5133-allow-make-kubectl-ansible-and-safe/

The Claude Code settings and the devcontainer template allow make, kubectl, the Ansible commands, uv sync, uv lock, more git reads and the local git writes worktree, add, commit and rebase. The deny list does not change. CONTRIBUTING.md gives the list.
@dan-petty dan-petty added type/chore Type chore: maintenance, such as a dependency update scope/agents Agent instructions in AGENTS.md, skills and the agent hand-off labels Nov 12, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 12, 2026 16:23
@dan-petty
dan-petty merged commit b1a798c into main Nov 12, 2026
23 checks passed
@dan-petty
dan-petty deleted the chore/5133-allow-make-kubectl-ansible-and-safe branch November 12, 2026 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/agents Agent instructions in AGENTS.md, skills and the agent hand-off type/chore Type chore: maintenance, such as a dependency update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(agents): allow make, kubectl, ansible and safe git commands

1 participant