diff --git a/.story_kit/work/1_upcoming/111_story_add_test_coverage_for_api_agents_ts.md b/.story_kit/work/1_upcoming/111_story_add_test_coverage_for_api_agents_ts.md new file mode 100644 index 0000000..7a8e047 --- /dev/null +++ b/.story_kit/work/1_upcoming/111_story_add_test_coverage_for_api_agents_ts.md @@ -0,0 +1,20 @@ +--- +name: "Add test coverage for api/agents.ts" +--- + +# Story 111: Add test coverage for api/agents.ts + +## User Story + +As a developer, I want better test coverage for api/agents.ts, so that regressions in the agent API wrapper are caught early. + +## Acceptance Criteria + +- [ ] api/agents.ts reaches 80% coverage (currently 29.5%, 67 lines missing) +- [ ] Tests use fetch mocks to exercise all agent API wrapper functions +- [ ] All vitest tests pass +- [ ] No production code changes are made + +## Out of Scope + +- TBD