Your objective is to disable automatic environment scanning.
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/inspector.on if it exists. Use the Bash tool with node -e "try{require('fs').unlinkSync('.cocoplus/modes/inspector.on')}catch(_){}" for cross-platform compatibility.
Update AGENTS.md (keep ≤200 lines): replace Inspector line with - Inspector: off
Output: "✓ Environment Inspector disabled. Existing snapshots in .cocoplus/snapshots/ are preserved. Run $inspector on to re-enable."
Anti-Rationalization
| Shortcut / Temptation | Why It Fails |
|---|---|
| Delete existing snapshots when disabling | Snapshots are environment history records; disabling auto-scan does not invalidate past environment data |
Exit Criteria
-
.cocoplus/modes/inspector.onflag does NOT exist -
.cocoplus/AGENTS.mdInspector line reads- Inspector: off - Existing snapshot files in
.cocoplus/snapshots/are still present (not deleted)