forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to src/protocol.pyClear filter

2026-09-17

✨ feat(bridge): is kaydi backend'e tasindi - backend'in job_id'si, podcast.report, blob yuklemeAhmet Kaan Gümüş · 18c75c3
✨ feat(bridge): is kaydi backend'e tasindi - backend'in job_id'si, podcast.report, blob yukleme

- submit {job_id, source_id, format, user_id} alir; kimlik backend'den gelir (ayni kimlik -> conflict)
- podcast.status/podcast.result YETENEKLERI KALDIRILDI; durum backend satirindan okunur
- her gecis podcast.report ile bildirilir; done raporu ancak ses yuklendikten SONRA gider (audio_missing korumasi)
- mp3, BlobUploadRequest + tam boyut ham bayt ile backend'e yuklenir (audio_key + duration_secs satira damgalanir)
- reddedilen rapor/yukleme isi NEDENIYLE failed yapar; baglanti yoksa rapor beklemeye alinir ve baglanti gelince flush edilir; sahte done yok
- jobs.py artik turetilmis calisma onbellegi: caller'in gordugu tek kaynak backend satiridir
- 12 yeni rapor/gecis testi + validate 'rapor kablosu' kontrolu + tum suite yesil (381 test)
feat(bridge): migrate the dial-out client from hab/1 to hab/2Ahmet Kaan Gümüş · 394c54c
feat(bridge): migrate the dial-out client from hab/1 to hab/2

The backend rejects hab/1 at ALPN and again in Hello, so the service was dead
against production. This moves the wire to hab/2 and closes the gaps the new
wire exposes:

- PROTOCOL is hab/2 (one constant drives ALPN, Hello and --validate).
- School scoping: Request carries school, every Response echoes it verbatim,
  a school-less request is bad_request. Threaded into capability handlers and
  into the ApiRequest/ApiResponse pair, which hab/2 also scopes.
- Permanent rejects no longer exit 2 (that was an endless crash-loop under
  restart: unless-stopped). Exponential backoff with jitter, capped at
  AI_RECONNECT_MAX_SECS, and the certificate is refetched every reconnect.
- AI_TLS_FINGERPRINT pins the SHA-256 of the PEM's own DER; a mismatch logs and
  retries instead of silently trusting. Empty pin stays TOFU and warns loudly.

Callers migrated: capabilities dispatch/handler signatures, main.py validate,
tools/{fuzz_test,smoke_test,api_probe}.py, and the test suite.

2026-09-08

createMuhammet Ozdemir · d74d2fcBrowse files