Commit 3f47002
committed
config: silence migration warning for legacy enabled=true (no-op)
The legacy-enabled migration shim correctly stripped 'enabled: true' from
dreamer/sidekick config in-memory (the key is no longer valid and the value
is a no-op alias for the new default 'disable: false'), but it surfaced a
config warning suggesting the user had something to fix.
This made users with auto-generated configs (LLM-authored, dashboard-written,
or carried forward from before unification) see a 'Magic Context Config
Warning' dialog on every restart even though their config was semantically
equivalent to the new default. The warning was misleading because nothing
needs migrating — the field is simply obsolete.
Keep the warning only when a real semantic value is present:
- dreamer.enabled=false → migrated to disable=true (loud, behavior changes)
- sidekick.enabled=false → migrated to disable=true (loud)
- historian.enabled=<any> → removed (loud, was always invalid)
- dreamer.enabled=true → stripped silently (no-op alias)
- sidekick.enabled=true → stripped silently (no-op alias)
Doctor still cleans both true and false from disk on next run.1 parent 6a3b065 commit 3f47002
2 files changed
Lines changed: 10 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | 56 | | |
| 57 | + | |
61 | 58 | | |
62 | 59 | | |
63 | 60 | | |
| |||
67 | 64 | | |
68 | 65 | | |
69 | 66 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | 67 | | |
| 68 | + | |
75 | 69 | | |
76 | 70 | | |
77 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
| 254 | + | |
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
260 | | - | |
261 | | - | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
262 | 263 | | |
263 | 264 | | |
264 | | - | |
| 265 | + | |
265 | 266 | | |
266 | 267 | | |
267 | 268 | | |
| |||
271 | 272 | | |
272 | 273 | | |
273 | 274 | | |
| 275 | + | |
| 276 | + | |
274 | 277 | | |
275 | 278 | | |
276 | 279 | | |
| |||
0 commit comments