Claude Code Permission Receipt Pattern: scope, proof और rollback लिखना
Claude Code के लिए permission receipt: allowed actions, approval boundary, verification commands, rollback note और revenue CTA checks।
permission settings सिर्फ एक बार लिखा गया file नहीं है। real work में हर task के लिए छोटा record चाहिए कि क्या allow था, क्या approval मांगता था, और कौन सा proof बचा। यही permission receipt है।
यह तरीका क्यों जरूरी है
Claude Code को जितनी ज्यादा अनुमति देते हैं, workflow उतना तेज होता है और accountability भी बढ़ती है। receipt बताता है कि command क्यों चला, कौन से files scope में थे, और consultation तथा Gumroad links check हुए या नहीं।
साथ में पढ़ें: साथ में पढ़ें 1, साथ में पढ़ें 2, साथ में पढ़ें 3.
काम में इस्तेमाल करने का तरीका
काम शुरू करने से पहले allowed actions, approval boundaries, files in scope, proof commands और rollback note को JSON या Markdown में लिखें। auth, billing, secrets, email sending या production deploy दिखे तो रुकें और approval लें। काम के बाद build और public URL proof जोड़ें।
कॉपी करने लायक छोटा सेट
{
"request": "update article CTA links",
"allowed": ["Read", "Grep", "Edit content files", "npm run build"],
"requiresApproval": ["deploy production", "change product price", "send email"],
"proof": ["build passed", "public URL checked", "CTA clicked"],
"owner": "content-ops"
}
Before acting, write a permission receipt.
Include allowed actions, actions requiring approval, files in scope, commands to verify, and rollback note.
If the task touches billing, auth, secrets, email sending, or production deploy, stop and ask for approval.
export function needsHumanApproval(receipt) {
const risky = ["billing", "auth", "secrets", "email", "production deploy"];
return receipt.requiresApproval.some((item) =>
risky.some((word) => item.toLowerCase().includes(word))
);
}
वास्तविक उदाहरण
- article CTA edit में content files और build allow करें, लेकिन product price change approval में रखें।
- free PDF form improvement में test submission proof हो सकता है, पर real email approval से पहले नहीं।
- team rollout में receipt template CLAUDE.md में रखें ताकि हर session same audit shape छोड़े।
ऑपरेशन चेकलिस्ट
यह तरीका केवल पढ़ने के लिए नहीं है। Claude Code के साथ article, product page या inquiry path बदलते समय इसे छोटी control list की तरह इस्तेमाल करें।
- काम शुरू करने से पहले goal एक sentence में लिखें और out-of-scope files बताएं।
- Claude Code को कौन से files पढ़ने हैं और कौन से नहीं, यह अलग करें।
- implementation के बाद कम से कम एक proof command बचाएं। content में build के साथ public URL भी देखें।
- free PDF, Gumroad और consultation links body तथा final CTA में consistent हैं या नहीं देखें।
- localized posts में title, h1, opening body और CTA language check करें।
- unrelated dirty files stage न करें। जरूरत हो तो commit से पहले diff फिर अलग करें।
- remaining risk और next metric लिखें ताकि अगली session साफ शुरू हो।
किस offer की तरफ भेजना चाहिए
अगर reader command fluency में नया है, पहला exit free cheatsheet होना चाहिए। workflow हर हफ्ते दोहरता है तो Prompt Templates review, debugging और article update instructions standard करता है। permissions, CLAUDE.md, hooks, MCP या CI/CD blocker हो तो Setup Guide बेहतर है। team ownership, public verification और revenue routing साथ डिजाइन करने हों तो consultation की ओर भेजें।
handoff में क्या छोड़ना चाहिए
Claude Code का काम patch अच्छा दिखने पर खत्म नहीं होता। अगला व्यक्ति पूरी session दोहराए बिना decision समझ सके, तभी काम उपयोगी बनता है। handoff में changed scope, scope क्यों चुना, proof commands, public URL, CTA destination और remaining risk लिखें। content work में heroImage, internal links, external links, language check, और body में free PDF, Gumroad, consultation path बचा है या नहीं, यह भी लिखें। product के पास वाली pages में यह भी बताएं कि कौन reader free resource से ठीक है, कौन guide खरीदे, और किसे help चाहिए।
बाद में कौन से numbers देखने हैं
PV अकेला success metric नहीं है। publish के बाद indexing, country mix, final CTA के पास clicks, Gumroad clicks और consultation form visits देखें। existing popular article सुधारने पर rewrite से पहले और बाद की bounce rate तथा next-page movement compare करें। अगली Claude Code session को ये numbers पहले मिलें तो वह सिर्फ text नहीं, revenue path सुधारने का decision लेती है।
गलतियां और बचाव
- permissions को सिर्फ settings file में रखने से task-level decision छिप जाता है।
- approval boundary साफ न हो तो price, email और deploy जैसे बदलाव निकल जाते हैं।
- proof न हो तो local build success और public URL success मिल जाते हैं।
मुफ्त PDF, Gumroad और सलाह का रास्ता
पहले मुफ्त PDF से command habit बनाएं। workflow दोहरने लगे तो Gumroad material लें, और team rollout, permissions या revenue path डिजाइन करना हो तो consultation चुनें।
जांच नोट
यह article permissions guide, permission budget loop और approval sandbox guide से जुड़ता है, और free PDF, Setup Guide, Prompt Templates तथा consultation path साफ करता है।
मुफ़्त PDF: Claude Code cheatsheet
Email डालें और commands, review habits तथा safe workflow वाली एक-page PDF पाएँ.
हम आपका data सुरक्षित रखते हैं और spam नहीं भेजते.
लेखक के बारे में
Masa
Claude Code workflow और team adoption पर काम करने वाला engineer.
संबंधित लेख
Claude Code और Codex के लिए सुरक्षित Agent Harness: permissions, verification और rollback
Claude Code और Codex agents को सुरक्षित चलाने के लिए policy, plan, verification और recovery layers वाला practical harness design.
Claude Code Subagent के लिए 10 शक्तिशाली पैटर्न
Claude Code की subagent सुविधा में महारत हासिल करें 10 व्यावहारिक पैटर्न के साथ। समानांतर प्रसंस्करण, विशेषज्ञता, संदर्भ अलगाव सीखें।
Claude Code Agent SDK का परिचय — स्वायत्त एजेंट तेज़ी से बनाएं
Claude Code Agent SDK से स्वायत्त AI एजेंट बनाना सीखें। सेटअप, टूल परिभाषा और मल्टी-स्टेप निष्पादन को व्यावहारिक कोड उदाहरणों के साथ समझें।