This directory contains the core intelligence and governance layer of PromptImprover.
Refer to these files for detailed instructions on each component:
- Core: Server orchestration, configuration, and the Command Center Dashboard.
- History: Event Store, Commit Ingestion, and the Learning Layer.
- Memory: Neural Snippets (RAG) and the Local Brain (persistent patterns).
- Engine: Prompt Refinement and Linter logic.
- Detectors: Tech stack and architectural pattern scouting.
- Transport: MCP communication protocols.
- MCP Server: src/core/server.ts
- Database Schema: src/history/schema.ts
- Neural Storage: src/memory/neural-snippets.ts
All code in this directory must adhere to: