Title: Mark `name` and `rule_config` as `@final` in `ToolSpec` by Copilot · Pull Request #1886 · usethis-python/usethis-python · GitHub
Open Graph Title: Mark `name` and `rule_config` as `@final` in `ToolSpec` by Copilot · Pull Request #1886 · usethis-python/usethis-python
X Title: Mark `name` and `rule_config` as `@final` in `ToolSpec` by Copilot · Pull Request #1886 · usethis-python/usethis-python
Description: Follow-up from the managed_files fix: name and rule_config in ToolSpec also derive entirely from self.meta but were not marked @final, leaving them open to the same fragmentation pattern. Changes src/usethis/_tool/spec.py — name and rule_config marked @final; dynamic needs must go through meta, not property overrides CONTRIBUTING.md — guide updated: "implement meta" instead of "implement name", since name is now non-overridable .agents/skills/usethis-python-code/SKILL.md (v1.10) — new section "Marking derived properties @final" captures the general principle for future reference
Open Graph Description: Follow-up from the managed_files fix: name and rule_config in ToolSpec also derive entirely from self.meta but were not marked @final, leaving them open to the same fragmentation pattern. Changes ...
X Description: Follow-up from the managed_files fix: name and rule_config in ToolSpec also derive entirely from self.meta but were not marked @final, leaving them open to the same fragmentation pattern. Changes ...
Opengraph URL: https://github.com/usethis-python/usethis-python/pull/1886
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:a38b5f14-49b7-25f4-2185-b1c023afbdf3 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E884:1AEC97:2580BD:31D13D:6A4D8A0F |
| html-safe-nonce | 945201ab93173d0ed8d5fc890cd0e2828c9b01f88035fb10c55a9feaa00db94d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODg0OjFBRUM5NzoyNTgwQkQ6MzFEMTNEOjZBNEQ4QTBGIiwidmlzaXRvcl9pZCI6IjUwNzQwOTY2Mzg5NzgyNjM1NjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | cc9e77cb63afbf6d1ef1de0813ea77a9d2689711f141a8c14a40466d262630bb |
| hovercard-subject-tag | pull_request:3500658682 |
| 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/1886/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 | Follow-up from the managed_files fix: name and rule_config in ToolSpec also derive entirely from self.meta but were not marked @final, leaving them open to the same fragmentation pattern. Changes ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9f8758a3953dfe943439713a6fa4f90d542a3431f10e861ca03dd7f39009f320 |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | bffd5484f01713a661b03469b77678f72b6574ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width