Repository navigation
chore: update code-shape-kit to v0.2.2 - #25
Merged
Merged
Conversation
…t one The MCP server decorators no longer need ignore[untyped-decorator], and get_embeddings collects its vectors by index so it returns list[np.ndarray] without ignore[return-value].
_match_type(in_vector=, in_keyword=) and _print_intro(reconfigure=) say at the call what the flag means.
extract_urls only skips the URLs urlparse rejects (ValueError) instead of every exception, and the reminder loop drops a try/except that only re-raised CancelledError around its sleep.
From code-shape-kit's CODEOWNERS template: pyproject.toml, the baseline, the commit hooks and the CI workflow need the maintainer's approval once branch protection requires code-owner review.
The catch-all handlers that log and carry on now log with logger.exception, so the traceback is kept. Same messages, same control flow. The tool executor and the link summarizer, which returned the error without logging it, now log it too.
- Pin the shape group to v0.2.2; it needs Python 3.11.4+, so the marker is python_full_version >= '3.11.4'. Only the kit's lines move in uv.lock. - output_modules: the entry points plus the Cursor hook script, which answers Cursor by printing JSON. - error_boundaries: the 13 functions that deliberately catch every error without a traceback, each with its reason. - CONTRIBUTING: the new gates, suppression comments, printing, error boundaries and CODEOWNERS.
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.
Summary
Upgrades code-shape-kit v0.1.3 → v0.2.2 and fixes what its new gates find, keeping the baseline empty.
New findings and how they were handled:
Evidence
code-shape check→ 47 new findings.After (v0.2.2):
code-shape check passed: 0 new, 0 worse; baseline"entries": {}; "Accepted error boundaries" lists 13 functions / 14 catches.uv.lockchanges only the kit lines.pytest: 620 passed, 20 skipped.ruffclean. Every commit went through the pre-commit hook.Merge Danger
Door: two-way
Blast Radius: logs + contributors
print()outsideoutput_modules. Changes to the rule files need code-owner review.🤖 Generated with Claude Code