# LM Studio HauhauCS Reasoning Wrapper Spec ## Goal Generate a portable LM Studio model wrapper for the local HauhauCS Qwen3.6-35B-A3B GGUF so LM Studio recognizes it as a reasoning-capable model in both the UI and the native `/api/v1/chat` API. ## Scope - Do not modify the GGUF files. - Do not modify LM Studio `.internal` state. - Do not overwrite official Hub model packages. - Generate a standalone wrapper directory with LM Studio-style metadata files. - Reuse the official Qwen3.6-35B-A3B reasoning metadata and prompt-template behavior. ## Output The generator script must create a wrapper directory containing: - `model.yaml` - `manifest.json` - `README.md` The wrapper must: - Declare `reasoning: true` - Declare `customFields.enableThinking` - Declare `customFields.preserveThinking` - Use the Qwen3.6 prompt template with `enable_thinking` and `preserve_thinking` - Reference the target HauhauCS local model identity instead of copying model weights ## Automation Provide a one-click Python script that: - Accepts a target local model key - Accepts an output directory - Reads the official LM Studio Qwen3.6-35B-A3B package as the source template - Produces the wrapper files - Supports a dry-run mode - Emits a summary JSON file for inspection ## Verification Minimum automated verification: - Generated `model.yaml` contains `reasoning: true` - Generated `model.yaml` contains `customFields.enableThinking` - Generated `manifest.json` identifies the wrapper model - Generated files mention the requested HauhauCS source model key - Dry-run mode performs validation without writing files Runtime validation remains a separate manual step: - Import or expose the wrapper to LM Studio - Confirm UI reasoning toggle appears - Confirm `/api/v1/chat` accepts `reasoning: "off"` and `reasoning: "on"` for the wrapped model