Repository navigation
Conversation
The bot now distinguishes "helping" (anyone can ask — investigating bugs, creating issues/PRs, answering questions) from "directing" (closing issues, dismissing reviews, reverting — requires maintainer access via author_association check). Guidance lives in two layers: a compact reinforcement in system_prompt_append (trusted, from workflow YAML on pull_request_target) and the full explanation in the running-in-ci skill. Scope is limited to the current repo and organization, with an escape hatch for repos that explicitly welcome AI-created issues. Co-Authored-By: Claude <[email protected]>
Adds .pre-commit-config.yaml with trailing-whitespace, end-of-file-fixer, check-yaml, ruff-check, ruff-format, uv-lock, typos, and actionlint. Python hooks scoped to generator/ via --directory and files patterns. Fixes: unused variable in test_config_edge_cases.py, ruff formatting across all Python files, stale uv.lock (version 0.0.1 -> 0.0.2). Co-Authored-By: Claude <[email protected]>
tend-agent
reviewed
Mar 26, 2026
tend-agent
left a comment
Collaborator
There was a problem hiding this comment.
CLAUDE.md says "No pre-commit or linter configured" — now outdated after this PR. Worth updating that line to reflect the new setup.
Co-Authored-By: Claude <[email protected]>
tend-agent
added a commit
that referenced
this pull request
Mar 26, 2026
The `.pre-commit-config.yaml` added in #68 (ruff, typos, actionlint, uv-lock) only runs locally. PRs can pass CI with linting violations. Add a `lint` job using `pre-commit/action` so CI enforces the same checks. Co-Authored-By: Claude Opus 4.6 <[email protected]>
This was referenced Mar 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
.pre-commit-config.yamlat the repo root — the only new root file. Python hooks (ruff,uv-lock) are scoped togenerator/via--directoryandfiles:patterns.Hooks: trailing-whitespace, end-of-file-fixer, check-yaml, ruff-check, ruff-format, uv-lock, typos, actionlint.
The
uv-lockhook catches the stale lock file issue (pyproject.toml version bumps without re-locking).uv lock --checkdoesn't catch this because it only validates dependency resolution, not project version metadata.Also fixes: unused variable in a test, ruff formatting across all Python files, stale uv.lock.