Summary
Define and normalize backend-facing contracts, with special attention to schedule creation and Tauri event handling.
Problem
createSolver() appears to assume schedule creation returns a raw job ID, and the Tauri event stream does not reliably filter against the requested job. Those assumptions create correctness risks in real integrations.
Scope
- Document the expected backend adapter contract shape
- Normalize schedule creation responses instead of relying on implicit raw values
- Filter Tauri events by the active job identifier
- Add tests for mismatched jobs, missing IDs, and malformed backend responses
Acceptance Criteria
- Backend adapter inputs and outputs are explicitly defined in code and docs
- Schedule creation handles structured responses predictably
- Tauri event listeners ignore events for unrelated jobs
- Integration tests cover happy path and contract mismatch scenarios
Notes
This issue should be resolved before promoting the adapter surface as stable.
Summary
Define and normalize backend-facing contracts, with special attention to schedule creation and Tauri event handling.
Problem
createSolver()appears to assume schedule creation returns a raw job ID, and the Tauri event stream does not reliably filter against the requested job. Those assumptions create correctness risks in real integrations.Scope
Acceptance Criteria
Notes
This issue should be resolved before promoting the adapter surface as stable.