AGENTS.md
Guidance for coding agents working on LMSSEP Vibe MCP Server. This server turns vague prompts into implementation-ready specifications through interactive refinement.
Project overview
The Vibe server analyzes prompt specificity, generates refinement steps, asks contextual questions, presents suggestions, records explicit user selections, tracks progress, and produces a final specification report.
Setup commands
bashcd <project-root>/genesis/LMSSEP/vibe
pip install -r requirements.txt
python3 main.py
Edit configs/vibe.py for enablement, minimum and maximum refinement steps, and specificity thresholds.
Tool workflow
- Call
vibe_refinement_initializewith the initial prompt. - Call
vibe_refinement_get_nextto receive the next question and suggestions. - Show all suggestions to the user.
- Wait for the user's explicit selection.
- Call
vibe_refinement_submitonly after the user chooses. - Repeat until complete.
- Call
vibe_refinement_reportfor the final specification.
Non-negotiable interaction rules
Do not auto-select the recommended option. Do not skip user interaction. Do not infer preferences when the server is asking for a real choice. is_recommended is advisory only; user selection is the contract.
Testing and verification
Verify initialize, get-next, status, submit, report, and list behavior with a synthetic prompt. Include one test path where the prompt starts vague and requires multiple steps, and one path where specificity is high and fewer steps are expected.
Security and privacy
Prompts can contain product strategy, credentials, or private requirements. Do not persist or publish raw prompts without user consent and redaction. Keep generated reports local unless they are explicitly meant to become project docs.
Commit and PR rules
Changes to suggestion ranking, step count, or report format must include an example before-and-after flow. Preserve the explicit user-selection rule.