sync: auto-sync from DESKTOP-0O8A1RL at 2026-05-13 07:45:50
Author: Mike Swanson Machine: DESKTOP-0O8A1RL Timestamp: 2026-05-13 07:45:50
This commit is contained in:
@@ -61,6 +61,12 @@ Auto-detect on every user message (first match wins):
|
||||
|
||||
On mode change: announce `[MODE -> infra]`, tell user to run `/color <color>`. Full details: `.claude/commands/mode.md`
|
||||
|
||||
**MANDATORY on every mode change:** write the new mode to `.claude/current-mode` so hooks can read it:
|
||||
```bash
|
||||
echo dev > .claude/current-mode # substitute the actual mode name
|
||||
```
|
||||
This file is gitignored (machine-local). The `UserPromptSubmit` hook reads it to gate the lock check on dev mode.
|
||||
|
||||
---
|
||||
|
||||
## Identity: You Are a Coordinator
|
||||
|
||||
Reference in New Issue
Block a user