Your objective is to disable Context Mode.
Before proceeding, verify that .cocoplus/ exists.
If not: output "CocoPlus not initialized in this directory. Run $pod init to begin." Then stop.
Remove mode flag: delete the file .cocoplus/modes/context-mode.on if it exists. Use the Bash tool with node -e "try{require('fs').unlinkSync('.cocoplus/modes/context-mode.on')}catch(_){}" for cross-platform compatibility.
Update AGENTS.md (keep ≤200 lines): replace Context line with - Context Mode: off
Output: "✓ Context Mode disabled. Prompts will no longer be prepended with context. Run $context on to re-enable."
Anti-Rationalization
| Shortcut / Temptation | Why It Fails |
|---|---|
| Skip updating AGENTS.md since the flag removal is sufficient | The flag controls runtime behavior, but AGENTS.md is loaded at session start — a stale entry causes confusion on next session |
Exit Criteria
-
.cocoplus/modes/context-mode.onflag does NOT exist -
.cocoplus/AGENTS.mdContext line reads- Context Mode: off