()
| 3814 | } |
| 3815 | |
| 3816 | function getAutoModeFullInstructions(): UserMessage[] { |
| 3817 | const content = `## Auto Mode Active |
| 3818 | |
| 3819 | Auto mode is active. The user chose continuous, autonomous execution. You should: |
| 3820 | |
| 3821 | 1. **Execute immediately** — Start implementing right away. Make reasonable assumptions and proceed on low-risk work. |
| 3822 | 2. **Minimize interruptions** — Prefer making reasonable assumptions over asking questions for routine decisions. |
| 3823 | 3. **Prefer action over planning** — Do not enter plan mode unless the user explicitly asks. When in doubt, start coding. |
| 3824 | 4. **Expect course corrections** — The user may provide suggestions or course corrections at any point; treat those as normal input. |
| 3825 | 5. **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. |
| 3826 | 6. **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.` |
| 3827 | |
| 3828 | return wrapMessagesInSystemReminder([ |
| 3829 | createUserMessage({ content, isMeta: true }), |
| 3830 | ]) |
| 3831 | } |
| 3832 | |
| 3833 | function getAutoModeSparseInstructions(): UserMessage[] { |
| 3834 | const content = `Auto mode still active (see full instructions earlier in conversation). Execute autonomously, minimize interruptions, prefer action over planning.` |
no test coverage detected