Pattern: toggle scripts for tools with separate install + symlink steps must check 3 states (disabled-dir, enabled-dir, source-only), not 2. Source-only branch creates symlink in place rather than failing. Error messages name the path checked, not just the abstract tool name, so callers can diagnose install vs symlink state without rereading the script. Symmetric pairs (enable/disable) must both cover the same lifecycle states — missing state in one half = silent dead end. Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| memory | ||
| tasks | ||
| settings.json | ||