Skip to content

Commit c835550

Browse files
committed
chore(claude): deny edits to .werks/first_free
The werk tooling manages this file; direct modifications by the agent would race with `werk ids` and risk duplicate werk numbers. Change-Id: Ie5a49d4c73c367750919e941daf9cdfafd47f67d
1 parent 73757bc commit c835550

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.claude/settings.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,14 @@
9797
"WebFetch(domain:*.checkmk.net)"
9898
],
9999
"ask": ["Bash(find *--exec*)", "Bash(git remote *)", "Bash(git config *)"],
100+
"deny": [
101+
"Edit(.werks/first_free)",
102+
"Write(.werks/first_free)",
103+
"Bash(* > .werks/first_free*)",
104+
"Bash(* >> .werks/first_free*)",
105+
"Bash(sed -i * .werks/first_free*)",
106+
"Bash(tee .werks/first_free*)"
107+
],
100108
"defaultMode": "acceptEdits"
101109
}
102110
}

0 commit comments

Comments
 (0)