Commits
2026-09-17
fix: 🔐 hab/2 sözleşmesini sertifika pinlemesi ve kalıcı-red dayanıklılığıyla tamamlaAhmet Kaan Gümüş · 3c4490c
fix: 🔐 hab/2 sözleşmesini sertifika pinlemesi ve kalıcı-red dayanıklılığıyla tamamla hab/1 -> hab/2 geçişi ve `school` yankısı önceki iki commit'te gelmişti; wire'da kalan iki boşluk burada kapanıyor. - AI_TLS_FINGERPRINT: sertifika DÜZ HTTP ile çekildiği için onu pinlemek tek başına yetmiyordu — araya giren biri kendi sertifikasını pinletebilirdi. Parmak izi artık PEM'den YENİDEN hesaplanıyor, sunucunun bildirdiği fingerprint_sha256 yalnızca çapraz denetleniyor (uyduran onu da uydurur), pin verilmişse uyuşmayan sertifikaya bağlanılmıyor; boş bırakılırsa TOFU her açılışta uyarıyla loglanıyor. Yarım/bozuk bir pin sessizce TOFU'ya düşmüyor, yapılandırma hatası veriyor. - Kayıt kalıcı olarak reddedilince (unsupported_protocol/unauthorized) köprü ÇIKMIYOR — zeka ile aynı şekil: üstel geri çekilme, jitter, AI_RECONNECT_MAX_SECS tavanı ve logun durum değişiminde BİR kez atılması. restart: unless-stopped altında çıkan bir köprü sonsuz crash-loop olur ve backend düzeltildiğinde kendiliğinden dönmez; operatörün elle müdahalesi gerekir. - Cevap çerçeveleri artık ok_response/err_response ile kuruluyor: dal başına elle dict yazmak bir dalın school'u unutmasına açıktı ve o, backend'de error_code=protocol demektir. - Sertifika her (yeniden) bağlanmada tazeleniyor (backend her boot'ta kendi self-signed'ını yeniden üretir); docstring ve ReadMe bunu söylüyor. - Deploy: Containerfile ENV bloğuna AI_RECONNECT_MAX_SECS, operatör env örneğine AI_TLS_FINGERPRINT + AI_RECONNECT_MAX_SECS; CLAUDE.md'ye "tekrar keşfetme" notları (reddedilince çık davranışını geri ekleme). Testler (tests/unit/test_bridge.py): hab/2 işareti, telde Hello gövdesi, dört cevap dalında okul yankısı, kalıcı redde tavana çekilme + durum başına tek log, geçici hatada üstel eğri + sağlıklı oturumda sıfırlama, ve gerçek bir X.509 gövdesi üzerinde openssl'in verdiği parmak iziyle doğrulanan aritmetik. Süit: 465 test OK (skipped=1).
2026-09-15
refactor: 🔧 name the stack after the repo and fix the backend host - every runtime name follows the repo: image hezarfen_rule_based_chatbot, container_name, the systemd unit hezarfen_rule_based_chatbot_compose, the operator file hezarfen_rule_based_chatbot.env, the deploy dir and the release artifact - AI_BRIDGE_HOST/AI_BACKEND_URL now use hezarfen_backend: the hyphenated name does not resolve on the shared podman network (proved inside the container: getaddrinfo("hezarfen-backend") fails, hezarfen_backend and backend both point at 10.89.0.4) - AI_BACKEND_URL points at the backend's real port 7656 instead of 8080Ahmet Kaan Gümüş · 2ddc9e8
refactor: 🔧 name the stack after the repo and fix the backend host
- every runtime name follows the repo: image hezarfen_rule_based_chatbot,
container_name, the systemd unit hezarfen_rule_based_chatbot_compose, the
operator file hezarfen_rule_based_chatbot.env, the deploy dir and the
release artifact
- AI_BRIDGE_HOST/AI_BACKEND_URL now use hezarfen_backend: the hyphenated
name does not resolve on the shared podman network (proved inside the
container: getaddrinfo("hezarfen-backend") fails, hezarfen_backend and
backend both point at 10.89.0.4)
- AI_BACKEND_URL points at the backend's real port 7656 instead of 8080chore: 🔧 compose stack, hab/2 protocol and VPS deploy workflow - compose.yaml: env-file driven single service that joins the backend's podman network and dials QUIC 8090; no ports, no environment block, so nothing can shadow the operator's hezarfen_chatbot.env - Containerfile is the single source of the deployment defaults (AI_* ENV block) and now CMDs the bridge; AI_BACKEND_URL points at the backend's own port 7656 instead of the stale 8080 - bridge.py speaks hab/2: the backend pins AI_PROTOCOL/AI_ALPN to hab/2 and rejects any other hello, so the bridge could never register - deploy/: operator env example + systemd user unit (compose up --no-build with both --env-file arguments) - .github/workflows/main.yml: validate ∥ build-and-test (unittest suite, Composefile image, release artifact) then an SSH deploy that rotates HEZARFEN_TAG in a deploy-owned stack.env, installs the unit, restarts and gates on the backend accepting the registration, rolling back on failureAhmet Kaan Gümüş · e013725
chore: 🔧 compose stack, hab/2 protocol and VPS deploy workflow - compose.yaml: env-file driven single service that joins the backend's podman network and dials QUIC 8090; no ports, no environment block, so nothing can shadow the operator's hezarfen_chatbot.env - Containerfile is the single source of the deployment defaults (AI_* ENV block) and now CMDs the bridge; AI_BACKEND_URL points at the backend's own port 7656 instead of the stale 8080 - bridge.py speaks hab/2: the backend pins AI_PROTOCOL/AI_ALPN to hab/2 and rejects any other hello, so the bridge could never register - deploy/: operator env example + systemd user unit (compose up --no-build with both --env-file arguments) - .github/workflows/main.yml: validate ∥ build-and-test (unittest suite, Composefile image, release artifact) then an SSH deploy that rotates HEZARFEN_TAG in a deploy-owned stack.env, installs the unit, restarts and gates on the backend accepting the registration, rolling back on failure
2026-08-24
docs: rehberi docs/ altına taşı + benchmark_qa_report (--strict, 601 gold) düzenleKadir Yönak · 559d04d
docs: rehberi docs/ altına taşı + benchmark_qa_report (--strict, 601 gold) düzenle - hezarfen-site-rehberi.md -> docs/ ; referanslar (catalog/CLAUDE/ReadMe) güncellendi - benchmark_report.py -> benchmark_qa_report.py (tam Engine ile 601 gold soru, birleşik JSON + okunabilir Markdown rapor); testleri güncellendi - docs/README.md indeksi + docs/archive/benchmark notları - data/benchmark_results.json (~1.6MB üretilmiş çıktı) gitignore'a alındı
2026-08-23
chore(deploy): all-in-one compose'u kaldır -> proje-bazlıKadir Yönak · a7a060e
chore(deploy): all-in-one compose'u kaldır -> proje-bazlı deploy/compose.yaml (surrealdb+backend+frontend+bridge all-in-one) silindi. Artık her repo kendi compose'uyla backend'in ağını paylaşır. run-stack.ps1 3 repoyu doğru sırada başlatır (backend->frontend->chatbot bridge); PODMAN-WSL-SETUP.md + ReadMe per-repo'ya güncellendi. WSL kernel/machine kurulum dokümanları korundu.
2026-08-14
chore(deploy): podman-on-WSL2 kurulum paketi (başkası da çalıştırabilsin)Kadir Yönak · 3c4e59d
chore(deploy): podman-on-WSL2 kurulum paketi (başkası da çalıştırabilsin) Tüm yığını podman'da reproducible biçimde ayağa kaldıran deploy/ paketi: - compose.yaml — surrealdb+backend+chatbot+frontend orkestrasyonu (üç repo sibling; deploy/ içinden ../../ yollarıyla çalışır). - wsl-kernel/Containerfile — WSL2 kernel'i podman/netavark+rootless için gereken ağ özellikleriyle (nft_fib+bridge+veth+tun) KAYNAKTAN derler. - setup-podman-wsl.ps1 — kernel derle+kur, .wslconfig yaz, machine'i rootless yap. - run-stack.ps1 — base imajları pre-pull + compose up. - PODMAN-WSL-SETUP.md — neden/hızlı-başlangıç/manuel/sorun-giderme rehberi. ReadMe'ye tam-yığın pointer'ı eklendi.
chore(podman): chatbot'u tam Containerfile/podman konfigürasyonuna geçirKadir Yönak · 598b86b
chore(podman): chatbot'u tam Containerfile/podman konfigürasyonuna geçir Front/back ile aynı Podman konvansiyonuna hizalandı (artık aktif feature line'da, hack değil): - Dockerfile -> Containerfile, .dockerignore -> .containerignore (git mv). - compose.yaml: dockerfile: Containerfile, image localhost/ önekiyle. - ReadMe.md: "# Docker / docker compose" -> "# Podman / podman compose". - Containerfile yorumu: "Docker katman önbelleği" -> "konteyner katman önbelleği". Davranış/kod aynı; yalnız container konfigürasyonu. Stack podman'da bu Containerfile ile ayağa kalkıyor.
2026-08-12
2026-08-11
chore: profesyonel repo temizligi — obsolete/uretilmis belgeleri kaldirKadir Yönak · 24236b9
chore: profesyonel repo temizligi — obsolete/uretilmis belgeleri kaldir ENTEGRASYON.md (entegrasyon artik bridge.py ile tamamlandi) ve KONUSMALAR.md (uretilmis transkript, --markdown ile yeniden uretilir) kaldirildi. ReadMe.md guncel duruma cekildi: bridge.py eklendi, metrikler F1 0.99 / OOS %100, yukseltilmis kalite esikleri. Uretilmis raporlar (KONUSMALAR.md, test_sonuclari.txt) gitignore'a alindi.
2026-07-21
Çelebi asistanı: beta-hazır AI katmanı + entegrasyon paketiKadir Yönak · 64c15cb
Çelebi asistanı: beta-hazır AI katmanı + entegrasyon paketi Kural + benzerlik tabanlı kullanım asistanı; yalnızca doğrulanmış cevaplar, rol-farkında, sıfır bağımlılık. Backend entegrasyonuna hazır. Öne çıkanlar: - 53 intent, 6 rol (Veli dahil), gerçek frontend route'larıyla uyumlu yönlendirme - Güvenlik paketi (safety/): injection/PII/taciz/tehdit/nefret + KVKK log maskeleme - Netleştirme (belirsizlikte "bunu mu demek istedin"), role göre soru önerileri, çoklu-istek, selamlama aynalama, cevap varyantları, rol beyanı - safety/ ve evaluation/ paket ayrımı; observability telemetri (query maskeli) - 341 test (unit/integration/e2e), davranış-matrisi sözleşmesi, 212 örnek konuşma - macro-F1 0.87, OOS recall %81, yanıt < 2 ms Belgeler: - ENTEGRASYON.md: backend için istek/yanıt JSON sözleşmesi, çalıştırma, izleme - ReadMe.md: proje haritası (ne nerede) + güncel mimari/metrikler - KONUSMALAR.md: üretilmiş 212 konuşma transkripti