Project Files
LIVE_TEST_SCRIPT.md
rag-v2This script is meant to validate the current prompt-preprocessor behavior in LM Studio with minimal guesswork.
Verify that the plugin:
From the project root:
Expected terminal output should include:
build finished, watching for changes...[PromptPreprocessor] Register with LM StudioUse any model that supports normal chat prompting.
Use these settings unless a case says otherwise:
Ready-to-use fixtures are included in this repo under manual-tests/fixtures/.
You can attach those directly in LM Studio instead of creating your own files.
Prepare these files before testing if you want custom variants instead:
A short text file that easily fits in context. Example contents:
File name suggestion: small-project-note.txt
A longer document with multiple sections so retrieval is likely. Good options:
File name suggestion: large-architecture-doc.md
A second small doc to force ambiguity across multiple files. Example contents:
File name suggestion: small-atlas-note.txt
Start lms dev and install the plugin if needed.
small-project-note.txtLook for a debug decision similar to:
no-retrieval-neededsmall-project-note.txtsmall-atlas-note.txtLook for a debug decision similar to:
ambiguoussmall-project-note.txtLook for a debug decision similar to:
likely-unanswerablesmall-project-note.txtMaya Chen and June 12, 2026Look for a strategy decision similar to:
inject-full-contentlarge-architecture-doc.mdAsk a question whose answer appears in only one or two sections of the large document. Example:
Look for a strategy decision similar to:
retrievalSet:
Ambiguous Query Behavior: Attempt best effortsmall-project-note.txtsmall-atlas-note.txtambiguousSet:
Answerability Gate: offsmall-project-note.txtThis confirms that any changed behavior is coming from the new gate rather than from unrelated retrieval issues.
If you only want the minimum set, run these in order:
Copy this into notes while testing:
Embedding Model: Auto-Detect (Use first loaded/available)Manual Model ID: emptyAuto-Unload Model: offRetrieval Limit: 3Retrieval Affinity Threshold: 0.5Answerability Gate: onGate Confidence Threshold: 0.7Ambiguous Query Behavior: Ask for clarification/home/user/.lmstudio/bin/lms dev
Project Phoenix launch date: June 12, 2026.
Project owner: Maya Chen.
Primary goal: migrate the billing service without downtime.
Project Atlas launch date: August 4, 2026.
Project owner: Leo Park.
Primary goal: consolidate analytics pipelines.
thanks
what about this?
what is the current weather in chicago?
who owns project phoenix and when does it launch?
what database is used by the session service and what tradeoff is mentioned?
what about this?
what is the current weather in chicago?
Case:
Prompt:
Files attached:
Config overrides:
Observed visible response:
Observed terminal/debug output:
Pass/Fail:
Notes: