The feature doctor¶
Several of vornik's capabilities — memory & RAG, authentication, the instinct layer, clustering — are opt-in and gated behind config flags. The feature doctor is the single tool for diagnosing and turning them on safely, so you don't have to hand-edit config and guess whether you got the prerequisites right.
Diagnosing¶
To see the state of a feature — whether its gates are set, whether its prerequisites are met, and what's left to do:
vornikctl doctor feature <feature-id>
Each feature reports its gates (the config keys that enable it) and runs prerequisite checks — for example, memory & RAG probes that an embedding model is actually reachable, and auth checks that an admin key is in place before you lock the door behind you. The doctor tells you what's missing and how to fix it rather than failing cryptically at runtime.
Enabling¶
To apply a feature's gates and bring it up:
vornikctl doctor feature enable <feature-id>
This sets the feature's config gates for you. Two behaviours make this safe:
- Prerequisite-gated. Enable refuses to proceed if a prerequisite isn't met (for example, the embedding endpoint is unreachable), so you don't half-enable a feature into a broken state.
- Restart-aware. Many features take effect only on a daemon restart. For those, the doctor is restart-gated: it will not restart while tasks are running, and waits for an idle window before applying — so enabling a feature never interrupts work in flight.
Why use it instead of editing config¶
The config keys are documented, and you can set them by hand. The doctor adds the parts that are easy to get wrong: it validates the prerequisites first, applies the full set of gates a feature needs (not just the obvious one), and handles the restart timing. Each feature page in this documentation names the doctor command that enables it; that's the recommended path.