Imported from thrustec/Couply (
CouplyApp/Sources/CouplyApp/Services/AGENTS.md). Install upstream withnpx skills add thrustec/Couply --skill Services. Copyright stays with the author.
Uygulama servis portları ve fake adaptörler
Bu klasör app-level servis protokollerini ve deterministik fake implementasyonları içerir.
- Protokoller
Sendable, I/O metotlarıasync throwsolmalıdır. - Mutable/concurrent adapter state'ini actor veya eşdeğer güvenli izolasyonla koruyun.
- Fakes sabit kimlikler, beklenen hata yolları ve ayarlanabilir
Durationkullanır; preview/testte.zerogecikme korunur. - Canlı adapter eklerken protokol ve domain sınırını koruyun; SDK tipini feature'a taşımayın.
- Widget yazımı
CouplyWidgetSupportstore'undan geçer ve ilgili timeline yeniden yüklenir.
Servis değişikliklerinde app state testlerini ve concurrency-warnings-as-errors build'i çalıştırın.