docs(memory): add QMD CPU-only VPS guidance#100797
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 8, 2026, 1:47 AM ET / 05:47 UTC. Summary PR surface: Docs +40. Total +40 across 3 files. Reproducibility: not applicable. This PR documents an operational guidance gap rather than a runtime bug. Current main source and the linked upstream QMD issue establish the docs context without needing a local failure reproduction. Review metrics: none identified. Stored data model Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Maintainer decision needed
Security Review detailsBest possible solution: Merge the conservative docs guidance if the QMD owner accepts it, and keep exact CPU minimums, runtime warnings, or default changes as separate policy/runtime work. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR documents an operational guidance gap rather than a runtime bug. Current main source and the linked upstream QMD issue establish the docs context without needing a local failure reproduction. Is this the best way to solve the issue? Yes for the docs-only scope: adding conservative guidance to the QMD concept page and cross-linking from the config reference is the narrow maintainable fix. Exact CPU minimums or runtime warnings should remain separate unless the QMD owner chooses that policy here. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 5a5b4c5b105f. Label changesLabel justifications:
Evidence reviewedPR surface: Docs +40. Total +40 across 3 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
Review history (1 earlier review cycle)
|
|
This pull request has been automatically marked as stale due to inactivity. |
Summary
searchMode: "search"avoids embedding maintenance and vector readiness probesIssue/Motivation
Fixes #90746.
The issue asks whether QMD is practical on CPU-only VPS hosts after reports of 4-vCPU machines becoming saturated during local embedding work. Current docs describe QMD setup and tuning knobs, but do not tell operators which mode is safe to start with or how to roll out semantic search without making the gateway unresponsive.
Changes
docs/concepts/memory-qmd.mdguidance for CPU-only VPS deployments.startup: "off",onBoot: false, and a longerembedIntervalfor semantic rollout.docs/reference/memory-config.mdto pointsearchModereaders to the deployment guidance.Testing
pnpm docs:listpnpm docs:check-mdx— passed, 694 filespnpm docs:check-links— passed, checked_internal_links=5727, broken_links=0git diff --checkWhat Problem This Solves
Small VPS users can now see the practical CPU tradeoff before enabling QMD semantic modes. The docs recommend the already-supported BM25-only mode for small CPU-only hosts and describe a cautious path for trying
query/vsearchwith reduced startup and embedding pressure.Evidence
90746and"CPU-only" QMD VPS; no PR was found that covers this deployment guidance. Existing QMD PRs found by broad search target embed timeout/vector timeout behavior, not CPU-only VPS documentation.pnpm docs:listpnpm docs:check-mdxpassed:Docs MDX check passed (694 files, 11965ms).pnpm docs:check-linkspassed:checked_internal_links=5727,broken_links=0.git diff --checkpassed.