Skip to content

Commit a5fbe50

Browse files
bfoss765claude
andcommitted
docs: clarify that commit permission does not carry over
Added explicit documentation that permission to commit/push applies only to the specific changes discussed, not to subsequent changes. Includes example scenario and common mistake to avoid. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 409196e commit a5fbe50

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

CLAUDE.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,17 @@ When the user asks you to make code changes:
2020

2121
**Do NOT commit/push** just because the user asked for code changes. They may want to review first.
2222

23+
### ⚠️ Permission Does NOT Carry Over
24+
25+
**Each set of changes requires its own explicit permission.** If the user gave permission to commit earlier in the conversation, that permission applies ONLY to those specific changes - NOT to any subsequent changes.
26+
27+
**Example scenario:**
28+
1. User: "Fix bug X, then commit and push" → Permission granted for bug X fix only
29+
2. User: "Now fix bug Y" → Make the fix, show diff, **STOP AND WAIT** - no permission to commit yet
30+
3. User: "Looks good, commit it" → NOW permission is granted for bug Y fix
31+
32+
**Common mistake to avoid:** After completing a task like "address review comments" or "fix these issues", do NOT automatically commit. The user needs to test the changes first. Always pause after showing the diff and wait for explicit commit instruction.
33+
2334
## Project Overview
2435

2536
Dash Wallet is an iOS cryptocurrency wallet application built for the Dash network. It's a fork of breadwallet that implements SPV (Simplified Payment Verification) for fast mobile performance. The app includes advanced features like DashPay for user-to-user transactions, CoinJoin for privacy, and integrations with external services like Uphold and Coinbase.

0 commit comments

Comments
 (0)