Title: Add layer-awareness guidance to test-affected-find skill by Copilot · Pull Request #1623 · usethis-python/usethis-python · GitHub
Open Graph Title: Add layer-awareness guidance to test-affected-find skill by Copilot · Pull Request #1623 · usethis-python/usethis-python
X Title: Add layer-awareness guidance to test-affected-find skill by Copilot · Pull Request #1623 · usethis-python/usethis-python
Description: Agents modifying low-level layers (e.g. _file) were not running tests for higher-level layers that depend on them, causing regressions like TestAddAuthor.test_append to slip through undetected. Changes usethis-python-test-affected-find skill (v1.0 → v1.1) Added an explicit step to check .importlinter before identifying tests to run Added "Use the layered architecture to scope test impact" section with the full layer stack from [importlinter:contract:usethis] and the rule: when modifying a layer, run tests for every layer above it too Updated "File I/O and serialization changes" to reference the layer-scoping rule rather than vague "identify which tools" guidance The layer hierarchy (lowest → highest): _pipeweld → _types|errors|_fallback → _config → _subprocess|_console|_python → _file → _backend → _integrations → _config_file → _deps → _detect → _init → _tool → _core → _toolset → _ui → _test|__main__ Modifying _file (e.g. TOMLFileManager) requires running tests all the way up through _core, _ui, etc. — not just tests/usethis/_file/. 💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.
Open Graph Description: Agents modifying low-level layers (e.g. _file) were not running tests for higher-level layers that depend on them, causing regressions like TestAddAuthor.test_append to slip through undetected. Cha...
X Description: Agents modifying low-level layers (e.g. _file) were not running tests for higher-level layers that depend on them, causing regressions like TestAddAuthor.test_append to slip through undetected. Cha...
Opengraph URL: https://github.com/usethis-python/usethis-python/pull/1623
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:f663a016-3258-d5cf-70e2-227781e0179f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C8C4:256945:E217F6:1407821:6A4CAEDF |
| html-safe-nonce | d2cda0aaaeac7ea964ffee20088ca90b2a29353f9a1443cd5d2c91cee93fa593 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOEM0OjI1Njk0NTpFMjE3RjY6MTQwNzgyMTo2QTRDQUVERiIsInZpc2l0b3JfaWQiOiI4MDg1OTEwNDQwNjExOTgzMDcxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c57ddfc04d106aaad0f22a2f08936135ca0e93203723213549db55aa580f8ef8 |
| hovercard-subject-tag | pull_request:3461533008 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/usethis-python/usethis-python/pull/1623/files |
| twitter:image | https://avatars.githubusercontent.com/in/1143301?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/1143301?s=400&v=4 |
| og:image:alt | Agents modifying low-level layers (e.g. _file) were not running tests for higher-level layers that depend on them, causing regressions like TestAddAuthor.test_append to slip through undetected. Cha... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ae90d426644ca15e89bacceb72e51f4e9dbf85f7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width