Task · task_msqjq4ch_d5porv
DoneResearch + implement: Rates API thin client
Source cli · scenario_thin_client · updated Aug 12, 08:32 PM
Delegation brief
Implement a thin HTTP client for the sample FX rates endpoint with timeout and typed response.
Integration code should be isolated, testable, and fail loudly on network timeouts before it touches business logic.
- File src/rates-client.ts exists
- Client tests pass
- Timeout defaults to 3000ms and is overridable
- Do not add a new framework
- Do not hardcode production API keys
- Keep the client under 80 lines
Summary + risks + file list + test output
Gates & result
Standard · approval not required
Not approved yet
Implemented createRatesClient with default 3000ms timeout and typed RateQuote.
- sample-target/src/rates-client.ts
- Live endpoint not wired in unit tests
PR description (worker)
## Summary Thin rates client.
Worker transcript
Hermes research → coding path → tests PASS.
Task audit
No events for this task.