Files
Clément SAILLANT ccbeb68937 feat(mistral): introduce Mistral integration for safe patch generation and indexing
- Added new tools for generating and applying safe patches using Mistral.
- Implemented a local embedding index for repository files to facilitate search functionality.
- Created a schema for validating patch JSON structure.
- Developed various prompts for different agent roles (Architect, PM, QA, etc.) to guide Mistral's output.
- Established a set of scope allowlists to ensure safe application of patches.
- Included documentation for agents and systems correspondence.
- Added requirements for Mistral dependencies in requirements-mistral.txt.
2026-02-19 04:40:13 +01:00

16 lines
470 B
Makefile

# Mistral pack helper
venv:
python -m venv .venv && . .venv/bin/activate && pip install -r requirements-mistral.txt
patch-spec:
python tools/mistral/mistral_generate_patch.py --model codestral-latest --scope ai:spec --request "$(REQ)" --out /tmp/patch.json
apply-spec:
python tools/mistral/apply_safe_patch.py --scope ai:spec --patch /tmp/patch.json
index:
python tools/mistral/index_repo.py
search:
python tools/mistral/search_index.py --query "$(Q)" --topk 5