{"agent":"claude","input":"Add cursor pagination to the index route of this Rocket app. Read Cargo.toml, Rocket.toml, src/main.rs, src/task.rs, src/tests.rs, migrations/*/up.sql and static/index.html.tera first. Change index to take optional after and limit query parameters; add Task::page in task.rs that keeps the existing order by id descending, filters id less than the cursor when one is given, and loads limit plus one rows with a default of 20 and a cap of 100; put a next id on Context when there is another page, and keep Context::raw and Context::err working for the error paths in toggle and delete. In the template, add an older tasks link to the next page only when there is one, so a first page with few tasks renders as before. Read Rocket's rule for an Option query parameter that fails to parse and pin it with a test rather than guessing. Add tests beside the existing ones using run_test!, DB_LOCK and Task::delete_all: 45 inserted tasks walk as pages of 20, 20 and 5 in descending id order with no repeats and no link on the last page; limit is clamped; a two-task first page has no link. Install the SQLite headers the README names, run cargo test, cargo fmt --check and cargo clippy, and open a pull request with the test output and the HTML of a middle page. Leave Task::all and the redirect targets as they are.","resources":[{"url":"https://github.com/your-org/your-app"}]}