Repository navigation
feat(diagnostics): version telemetry block in doctor and status (#115) - #119
Merged
Merged
Conversation
Both reports now carry a copy-pasteable versions block: synloq (from package.json), Node runtime, protocol version, on-disk schema version (read-only probe), and host CLI versions where detectable (kimi-work, opencode, codex --version with bounded timeouts). Every probe fails soft — missing CLIs or an unreadable database yield absent fields, never an error; no network calls. The block appears in normal and degraded (storage-error) report paths so external bug reports are reproducible.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #115.
What
synloq doctorandsynloq statusnow embed aversionsblock — one copy-pasteable unit for reproducible external bug reports:package.jsonat the package root; Node fromprocess.version; protocol fromPROTOCOL_VERSION; schema from a read-onlyuser_versionprobe.kimi-work --version/opencode --version/codex --versioninvocations,shell: false, 3 s bounded, parallel — no network calls.schema; the block never breaks the report. The probe is injectable (hostVersionProbe) so tests stay hermetic, andskipVersionslets embeddings opt out.Verification
New
test/diagnostics/versions.test.ts(3 tests): collected block with injected probe; fail-soft on throwing probe + missing DB; block embedded in both doctor and status reports. Fullpnpm verify: 109 files / 956 tests PASS.Review
Author: dev. Pairs naturally with #116 (same CLI surface); independent diff — either merge order works. Suggest dev2 review → CTO final.