## Goal Create `api/` with FastAPI routes mirroring the CLI. ## Acceptance Criteria - [ ] `POST /index` -- runs `RepoIndexer`, returns stats - [ ] `POST /chat` -- returns `{ answer: str }` - [ ] `GET /health` - [ ] No business logic in route handlers -- delegates to `core/` - [ ] OpenAPI docs at `/docs` - [ ] Unit tests with mocked core clients
Goal
Create
api/with FastAPI routes mirroring the CLI.Acceptance Criteria
POST /index-- runsRepoIndexer, returns statsPOST /chat-- returns{ answer: str }GET /healthcore//docs