5.15 (propagare design + dashboard editare) si 5.14 (mapare LLM distilata) inchise dupa /code-review high. 8 buguri reparate TDD: - HIGH modal nu se deschidea pe randul slim (base.html: trimitere-slim) - HIGH /repune trunchia prestatii (declaratie incompleta la RAR) -> iterare peste existing, codes pozitional - HIGH embeddings incarca model ~230MB degeaba pe corpus gol -> poarta has_corpus() - HIGH picker chips gol pe re-render eroare -> conn/account_id pe toate ramurile - MED obs re-derivat dupa stergere explicita -> _merge_override pastreaza obs='' - MED mapare salvata fara denumire poluă GOLD -> _record_gold_validation guard - MED typo nome_prestatie -> nume_prestatie in select /repune - MED bucketare timp +3h gresita iarna -> SQLite localtime + TZ=Europe/Bucharest Embeddings WIRE-uit functional (PRD #15, decizie user): ensure_embeddings_corpus construieste corpus din nomenclator, gated pe AUTOPASS_EMBEDDINGS_ENABLED (default off). Marime model corectata ~50MB->~230MB (estimare PRD gresita). Cleanup: hoist load_* din bucla bulk-fix; import re la top. Regresie: 1256 passed, 1 deselected (live), 0 failed. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
28 lines
1.2 KiB
Plaintext
28 lines
1.2 KiB
Plaintext
# Gateway RAR AUTOPASS — variabile de mediu (copiaza in .env; .env NU se comite).
|
|
# Compose citeste .env automat. Prefix AUTOPASS_ pentru toate.
|
|
|
|
# --- CRITIC: cheie criptare creds RAR (Fernet) ---
|
|
# PARTAJATA intre api si worker (API cripteaza, worker decripteaza). Genereaza:
|
|
# python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"
|
|
AUTOPASS_CREDS_KEY=
|
|
|
|
# --- Auth API-key ---
|
|
# true = orice /v1/* cere cheie valida (prod). false = dev (fara cheie -> cont id=1).
|
|
AUTOPASS_REQUIRE_API_KEY=false
|
|
|
|
# --- Worker ---
|
|
# Send catre RAR. false = nu trimite (default, sigur pentru probe). true = end-to-end.
|
|
AUTOPASS_WORKER_SEND_ENABLED=false
|
|
# Dev: foloseste creds <test> din settings.xml cand submission-ul nu are creds criptate.
|
|
AUTOPASS_WORKER_USE_TEST_CREDS=false
|
|
|
|
# --- RAR ---
|
|
# test | prod
|
|
AUTOPASS_RAR_ENV=test
|
|
|
|
# --- Embeddings (sugestie mapare, Stratul 2 PRD 5.14) ---
|
|
# false = dezactivat (default; /mapari instant, sugestii din GOLD/SILVER + fuzzy).
|
|
# true = sugestii semantice. Prima cerere /mapari lazy-load-eaza modelul fastembed/ONNX
|
|
# (~230MB pe disc) sincron -> hang la prima cerere. Doar API-ul il incarca.
|
|
AUTOPASS_EMBEDDINGS_ENABLED=false
|