~/.config/tracevault/context.json, alongside credentials.json.
Public path accessor (used by tests / lib consumers as the canonical default);
production resolves via UserContext::path/path_in, so the bin has no direct
caller.
The default user-context file: context.json under config_root. One
an earlier release left in the legacy directory is read until this one
is written (see Context::load_from).
Resolve the effective user-context source. A repo that configured it
(Some) wins — including an explicit Some(Toggle(false)) (hard-off, no
fallback). Only when the repo did NOT configure it (None) does the
user-level config.toml under config_root supply it.
Load the user-level config.toml, distinguishing a missing file
(Ok(None)) from a malformed/unreadable one (Err). Mirrors
TracevaultConfig::try_load but for a direct file path (the user-level
config is NOT inside a .visdom/ dir).
Root of the user-level config dir: ~/.config/visdom/ (beside
credentials.json / context.json). Falls back to ./visdom. Files an
earlier release left in ~/.config/tracevault/ are still read from there
(see crate::layout).