[Bug]: 'ov status' VLM field always shows 'unknown' even when VLM is healthy and generating summaries
Bug Description
ov status always shows the VLM field as unknown even when the configured VLM provider is healthy, has a valid api_key, and is actively generating .abstract.md files. The command gives the operator no reliable way to answer "is my VLM configured correctly right now" without opening the config file and cross-checking the filesystem.
Environment
- OpenViking versions: reproduced on 0.4.4 and 0.4.7
- VLM provider:
astron-code-latest(iFlyTek) via LiteLLM, configured under[vlm]in~/.openviking/ov.conf .abstract.mdfiles are being generated correctly — VLM is genuinely working
Steps to Reproduce
- Configure a working VLM provider in
~/.openviking/ov.conf(any provider — we've hit this with volcengine, iFlyTek, and openai/codex) - Add a resource that would trigger VLM summarization
- Verify VLM is actually running:
find ~/.openviking/data/resources -name ".abstract.md" -printf '%T@ %p\n' | sort -rn | head -3— recent timestamps - Run
ov status - VLM row shows
unknown(or empty)
Expected
ov status VLM row should show one of:
ok(last VLM call within N minutes)stale(configured but no recent successful call)unconfigured(no[vlm]block or empty provider)error: <last error class>(configured but last call failed)
Something actionable, not unknown.
Actual
Always unknown, regardless of real state. Our internal ov-diagnostics-procedures skill now has an explicit rule: "Never trust ov status VLM field — verify via .abstract.md mtime on disk." That's a workaround we shouldn't need to teach.
Suggested Fix Sketch
- Wire the same signal the observer API uses (last-successful-VLM-call timestamp) into
ov status - If that signal doesn't exist, at least check whether
[vlm]has a non-emptyproviderandapi_keyand printconfiguredvsunconfiguredinstead ofunknown
Additional Context
- We do our own verification via the filesystem timestamp trick, which works but is unfriendly to less experienced operators
- Related area: the observer HTTP endpoints (
/api/v1/observer/*) require ROLE-scoped auth (see #1604 hardening) — that's fine, but the localov statusCLI has direct access to the DB and could surface this without hitting the HTTP API at all
Severity
Low individually, but this is high-visibility UX — ov status is the first thing any new user runs. An always-unknown field trains people to ignore the tool.
thx, fixed