Commit Graph

3 Commits

Author SHA1 Message Date
Teknium e83816a4d1 review-fix(comments): restore lost #NNNN rationale comments across non-test source (mechanical sweep, condensed, code unchanged)
For each issue anchor present in BASE 63279301bc non-test .py and absent on HEAD, the BASE comment/docstring block was re-attached at the HEAD location of the code it explained (matched by the distinctive code line / enclosing def). Sentences already covered by an existing HEAD comment were deduped; the issue number always survives. Insert-only: no code lines changed.
2026-09-03 09:44:26 -07:00
Teknium 745de4c832 refactor(gateway/platforms): simplify helpers.py (strip rules table, unified mention compiler, chunker cleanups), media_cache.py, _http_client_limits.py, __init__.py 2026-09-02 18:49:12 -07:00
Teknium 661fc669a0 refactor(adapters): add gateway/platforms/_shared.py (scoped-secret / profile-scope / port helpers) and lift shared text-batching into BasePlatformAdapter
Unifies 25 per-adapter copies of _get_scoped_secret/_get_wsecret/_resolve_qq_secret/_sig_secret/_yb_secret, 4+ _profile_scoped*, 3 _coerce_port, 5 _text_batch_key and 4 _enqueue_text_event.
2026-09-02 14:06:31 -07:00