MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getAutoModeFullInstructions

Function getAutoModeFullInstructions

src/utils/messages.ts:3428–3443  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3426}
3427
3428function getAutoModeFullInstructions(): UserMessage[] {
3429 const content = `## Auto Mode Active
3430
3431Auto mode is active. The user chose continuous, autonomous execution. You should:
3432
34331. **Execute immediately** — Start implementing right away. Make reasonable assumptions and proceed on low-risk work.
34342. **Minimize interruptions** — Prefer making reasonable assumptions over asking questions for routine decisions.
34353. **Prefer action over planning** — Do not enter plan mode unless the user explicitly asks. When in doubt, start coding.
34364. **Expect course corrections** — The user may provide suggestions or course corrections at any point; treat those as normal input.
34375. **Do not take overly destructive actions** — Auto mode is not a license to destroy. Anything that deletes data or modifies shared or production systems still needs explicit user confirmation. If you reach such a decision point, ask and wait, or course correct to a safer method instead.
34386. **Avoid data exfiltration** — Post even routine messages to chat platforms or work tickets only if the user has directed you to. You must not share secrets (e.g. credentials, internal documentation) unless the user has explicitly authorized both that specific secret and its destination.`
3439
3440 return wrapMessagesInSystemReminder([
3441 createUserMessage({ content, isMeta: true }),
3442 ])
3443}
3444
3445function getAutoModeSparseInstructions(): UserMessage[] {
3446 const content = `Auto mode still active (see full instructions earlier in conversation). Execute autonomously, minimize interruptions, prefer action over planning.`

Callers 1

getAutoModeInstructionsFunction · 0.85

Calls 2

createUserMessageFunction · 0.85

Tested by

no test coverage detected