forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to src/guard/tenant.pyClear filter

2026-09-22

docs: name the school corpus segment as the hyphenated uuidAhmet Kaan Gümüş · 5af65fc
docs: name the school corpus segment as the hyphenated uuid

The fleet school value and the corpus directory's first segment are the hyphenated uuid. The repo BOOK_PATH default stays the okul-a demo fixture. The school-token regex is unchanged.
Local-Gate: 9fc7c5131f919a6bf13440ef595a7e694a6b82c1 (1407 passed, 32s)

2026-09-17

feat(rag): 🏫 okul istek bazlı kiracılık — korpus anahtarı, store süzgeci, hab/2 okul eko'suAhmet Kaan Gümüş · b2ba173
feat(rag): 🏫 okul istek bazlı kiracılık — korpus anahtarı, store süzgeci, hab/2 okul eko'su

- guard/tenant.py: okul değeri doğrulaması; okul-scoped ya da hiç (paylaşılan
  'public' boyutu YOK, damgasız satır taşınmaz ve erişilemez).
- CorpusKey artık (okul, sınıf, ders): iki okulun aynı dersi birbirini ezemez;
  resolve() okulsuz isteği school_required ile reddeder.
- Store okulla kapsanır: dense payload'ı + BM25/sparse satır damgası zorunlu,
  aramalar okur okuluna TAM eşitlikle süzülür (kırpma değil süzgeç).
- build_service/ensure yazma damgasını ZORUNLU kılar; tek-korpus modu okulu
  BOOK_PATH düzeninden okur (multi.school_from_book_path).
- Cevap cache anahtarına school eklendi (iki okul aynı soruda hit paylaşamaz).
- hab/2 giriş çerçevesi (BridgeRequest/BridgeResponse) + transport-bağımsız
  Dispatcher: okul çerçevede zorunlu, cevapta aynen eko; rag.chat/chat.reply
  eşlemesi (asker_role -> role); rag.index tipli reddedilir (taşıma yok).
- Testler: okul A okul B'nin chunk'ını göremez (store + registry + çerçeve),
  30 yeni test; süit 1278 yeşil.