{"agent":"claude","input":"Add pre-commit hooks to this Textual app. Read pyproject.toml, poetry.lock, README.md, .gitignore and every module under src/ first, and check for any existing linter, formatter or CI configuration. Add a .pre-commit-config.yaml with the pre-commit-hooks basics and ruff for linting with --fix and for formatting, pinned to their current releases, and configure ruff in pyproject.toml with the target version matching the project's Python floor and import sorting on. Do not add mypy. Add pre-commit as a dev dependency, a README note on installing the hooks, and a workflow that runs pre-commit on pull requests on the floor Python version. Run pre-commit on all files, read the diff, and if the reformat is large put it in its own commit with a .git-blame-ignore-revs entry. Fix any finding ruff cannot fix itself by hand. Run pre-commit again on the finished tree and run the app's --help, then open a pull request that shows both.","resources":[{"url":"https://github.com/your-org/your-app"}]}