{"agent":"claude","input":"Add CSRF protection to this Fiber v3 app. Read go.mod, app.go, handlers/handlers.go, database/database.go, static/public/index.html, static/public/js/app.js, .golangci.yml and .github/workflows/test.yml first. Register github.com/gofiber/fiber/v3/middleware/csrf before the /api/v1 group with the default cookie name, SameSite and X-Csrf-Token header extractor, CookieSessionOnly and CookieHTTPOnly set, and no extractor that reads the cookie. Add GET /api/v1/csrf returning the token from csrf.TokenFromContext, and change app.js to fetch it once and send it as X-Csrf-Token on the POST. Move app construction into a newApp function and add app_test.go covering the 403 without a token, the 200 with the token and cookie from the csrf route, and that static files still serve. Run go build ./..., go test ./... -v -race and golangci-lint run until they pass. In the pull request explain that in-memory Storage does not work across prefork workers and name a shared Storage and csrf.NewCrossOriginProtection as the two ways around it.","resources":[{"url":"https://github.com/your-org/your-app"}]}