Title: Agent config to discourage truncated prek outputs · Issue #1717 · usethis-python/usethis-python · GitHub
Open Graph Title: Agent config to discourage truncated prek outputs · Issue #1717 · usethis-python/usethis-python
X Title: Agent config to discourage truncated prek outputs · Issue #1717 · usethis-python/usethis-python
Description: In #1595, the agent ran this: uv run --frozen prek -a 2>&1 | tail -30 In fact, tail -30 is not enough lines - this repo has a lot of hooks at this truncated output made the agent conclude things were passing, when in fact there were hidd...
Open Graph Description: In #1595, the agent ran this: uv run --frozen prek -a 2>&1 | tail -30 In fact, tail -30 is not enough lines - this repo has a lot of hooks at this truncated output made the agent conclude things we...
X Description: In #1595, the agent ran this: uv run --frozen prek -a 2>&1 | tail -30 In fact, tail -30 is not enough lines - this repo has a lot of hooks at this truncated output made the agent conclude th...
Opengraph URL: https://github.com/usethis-python/usethis-python/issues/1717
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Agent config to discourage truncated prek outputs","articleBody":"In #1595, the agent ran this:\n\n```\nuv run --frozen prek -a 2\u003e\u00261 | tail -30\n```\n\nIn fact, `tail -30` is not enough lines - this repo has a lot of hooks at this truncated output made the agent conclude things were passing, when in fact there were hidden lines which showed the hook was failing.\n\nWe should update the agent config to:\n\n- explain that the exit code should be the source of truth for whether the prek hooks are passing or failing, not the output\n- that the output should never be truncated, e.g. never use `tail -30` for running prek.","author":{"url":"https://github.com/nathanjmcdougall","@type":"Person","name":"nathanjmcdougall"},"datePublished":"2026-04-01T11:11:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1717/usethis-python/issues/1717"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3959c469-fe47-d69b-2c18-51514e900bfd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B690:3415D:9AC9A0:D12F21:6A4D4E11 |
| html-safe-nonce | c1c7cc2bd00970f8beb20833bd6d0048d6c54804e4979d8a0f8230dd96258ab5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjkwOjM0MTVEOjlBQzlBMDpEMTJGMjE6NkE0RDRFMTEiLCJ2aXNpdG9yX2lkIjoiODY2MzgyNTQ4MTcyNjc3NDgwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 30cc9506af3ea01926e1b4b70f68659d8f53b591d7681d0ddd37034508d04cfa |
| hovercard-subject-tag | issue:4186082497 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/usethis-python/usethis-python/1717/issue_layout |
| twitter:image | https://opengraph.githubassets.com/428758bf570b200fa6e353f3cd6896109cc986fb4d43da4ac33e565f505c4bde/usethis-python/usethis-python/issues/1717 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/428758bf570b200fa6e353f3cd6896109cc986fb4d43da4ac33e565f505c4bde/usethis-python/usethis-python/issues/1717 |
| og:image:alt | In #1595, the agent ran this: uv run --frozen prek -a 2>&1 | tail -30 In fact, tail -30 is not enough lines - this repo has a lot of hooks at this truncated output made the agent conclude things we... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nathanjmcdougall |
| hostname | github.com |
| expected-hostname | github.com |
| None | 92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6 |
| turbo-cache-control | no-preview |
| go-import | github.com/usethis-python/usethis-python git https://github.com/usethis-python/usethis-python.git |
| octolytics-dimension-user_id | 216362695 |
| octolytics-dimension-user_login | usethis-python |
| octolytics-dimension-repository_id | 842189705 |
| octolytics-dimension-repository_nwo | usethis-python/usethis-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 842189705 |
| octolytics-dimension-repository_network_root_nwo | usethis-python/usethis-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 56fc8347865a14e2ec811533d68f929cf4e0ec19 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width