Willie
e0d0313b0d
refactor: simplify enable/disable after code review
...
- AddPattern returns (bool, error) — single file read, no TOCTOU
- Remove external HasPattern guard in CLI (AddPattern handles it)
- Merge handleDisableSkill/handleEnableSkill into handleToggleSkill
- Fix locking: RLock for discovery, Lock only for file write
- Handle errors from AddPattern/RemovePattern in TUI toggle
- Only write oplog when changes actually occurred
- Inline capitalizeFirst with strings.ToUpper
2026-03-29 04:59:23 +08:00
..
2026-03-18 22:35:02 +08:00
2026-03-29 04:59:23 +08:00
2026-02-23 04:18:01 +08:00
2026-03-17 04:48:42 +08:00
2026-03-02 23:01:30 +08:00
2026-03-17 04:48:42 +08:00
2026-02-23 04:18:01 +08:00
2026-03-29 04:59:23 +08:00
2026-03-17 04:48:42 +08:00
2026-02-23 04:18:01 +08:00
2026-03-17 04:48:42 +08:00
2026-03-29 04:59:23 +08:00
2026-03-29 04:59:23 +08:00
2026-03-18 22:35:02 +08:00
2026-03-18 22:35:02 +08:00
2026-03-18 22:35:02 +08:00
2026-03-18 22:35:02 +08:00
2026-03-29 04:59:23 +08:00
2026-02-23 04:18:01 +08:00
2026-03-18 00:19:30 +08:00
2026-03-20 02:36:50 +08:00
2026-03-25 21:14:16 +08:00
2026-03-29 04:59:23 +08:00
2026-02-23 04:18:01 +08:00
2026-03-18 22:35:02 +08:00
2026-02-23 04:18:01 +08:00
2026-03-17 04:48:42 +08:00
2026-02-23 04:18:01 +08:00
2026-03-17 04:48:42 +08:00
2026-03-28 02:30:50 +08:00
2026-02-23 04:18:01 +08:00
2026-03-17 04:48:42 +08:00
2026-02-23 04:18:01 +08:00
2026-03-17 04:48:42 +08:00
2026-03-17 04:48:42 +08:00
2026-03-20 02:36:50 +08:00
2026-02-23 04:18:01 +08:00
2026-03-29 04:59:23 +08:00
2026-03-17 04:48:42 +08:00
2026-03-29 04:59:23 +08:00
2026-02-23 04:18:01 +08:00
2026-03-29 04:59:23 +08:00
2026-03-29 04:59:23 +08:00
2026-03-29 04:59:23 +08:00
2026-03-29 04:59:23 +08:00
2026-02-23 04:18:01 +08:00
2026-03-17 04:48:42 +08:00
2026-03-26 23:32:15 +08:00
2026-03-17 04:48:42 +08:00
2026-02-23 04:18:01 +08:00
2026-03-13 09:45:56 +08:00
2026-03-17 04:48:42 +08:00
2026-03-18 22:35:02 +08:00
2026-03-05 02:13:21 +08:00
2026-03-17 04:48:42 +08:00
2026-03-18 22:35:02 +08:00
2026-03-12 16:45:02 +08:00
2026-03-29 04:59:23 +08:00
2026-03-18 22:35:02 +08:00