{"agent":"claude","input":"Add JWT authentication to this Ktor API and open a pull request. Read build.gradle.kts, gradle.properties, src/main/resources/application.yaml, postgres.yaml, src/main/kotlin/com/example/PostgresApplication.kt, plugins/Routing.kt, service/ArticleService.kt and models/Article.kt first, and the jwt-auth-tests sample in this repository for the pattern. Add ktor-server-auth and ktor-server-auth-jwt, a configureSecurity function that installs Authentication with an HMAC verifier using jwt.secret from application.yaml read from the JWT_SECRET environment variable, plus jwt.issuer, jwt.audience and jwt.realm, a validate block that requires a username claim, and a challenge that answers 401. Add POST /login that checks a username and password against one admin user read from configuration, with a comment and a note in the pull request on where a real user store goes, and returns a signed token with an expiry. Wrap POST /articles, PUT /articles/{id} and DELETE /articles/{id} in authenticate and leave GET /articles/{id} public. Add src/test with testApplication cases for no token, a token with the wrong secret, an expired token, a valid token and the login round trip, using MapApplicationConfig and a small protected test route so Postgres is not needed. Run ./gradlew test and ./gradlew build and paste the output in the pull request. Do not change ArticleService or the database setup.","resources":[{"url":"https://github.com/your-org/your-app"}]}