Repository navigation
release: v0.5.0 - #11
Conversation
CASE-Drakon
left a comment
There was a problem hiding this comment.
LOOP-REVIEW: APPROVE @a02ea63151b3c319bb4bfac2e0d7965a5339c758
Blocking findings: none. Reviewed the full three-file release diff against main at 069d2d3. Both version manifests, the built wheel's metadata and packaged _version.py, and the sdist agree on 0.5.0. PyPI currently lists 0.3.0 as latest and no 0.4.0; remote tags have no v0.4.0. The changelog correctly nests the new options and fixes under 0.5.0, retains the historical untagged 0.4.0 section, and the publish workflow is tag-triggered.
Evidence on exact head: pytest tests/ -q → 291 passed; ruff check src/ → all checks passed; mypy src/shieldcortex/ --ignore-missing-imports → no issues in 12 files; python -m build → wheel and sdist built with 0.5.0. All five Python CI checks are SUCCESS on this head. The newly merged #10 adds a documented LLM-cache limitation and six regression cases to main; merge-tree shows it integrates without conflict under the 0.5.0 Known limitation heading. Recheck CI on the exact head immediately before merging, as usual.
Non-blocking: PR description still calls #10 open/docs-only; it has merged, and its tests and module docstring changed too. This does not affect the release artifact or changelog accuracy after merge.
|
Independent release review (OpenAI-family lane, read-only) at head Scope reviewed: the full
Non-blocking nit (docs follow-up): README.md line 137 (merged tree), the introductory LangChain example reads Next: merge, tag |
…n example (#13) 0.5.0 widened ContentBlockedError.result to ScanResult | None (None only with fail_closed=True). The introductory example read error.result.firewall directly, which fails mypy with union-attr. Narrow it the same way the later README example does. Found by independent release review of #11 (nit N1).
Release v0.5.0 (minor). Supersedes the untagged 0.4.0: PR #6 merged the 0.4.0 version bump, but the tag was held for the post-merge review, which led to #7 (TARS) and #4 (Jarvis). Both fixes have since merged, so 0.4.0 is never tagged or published, and this release ships everything after 0.3.0.
Why minor
[Unreleased]adds public options (fail_closed,block_on_quarantineon the LangChain handlers) and widensContentBlockedError.resulttoScanResult | None. Defaults are unchanged at runtime; no major/breaking change.Included since 0.4.0 bump (29ac52e)
Changes in this PR
pyproject.tomlandsrc/shieldcortex/_version.py: 0.4.0 -> 0.5.0[Unreleased]content cut as0.5.0 — 2026-10-17, with an intro noting 0.4.0 was not published. README has no version references.Test plan
v0.5.0on the merge commit (publish.yml is tag-triggered), watch the run, confirm 0.5.0 on PyPI.Open docs PR #10 (LLM cache limitation) is docs-only and does not block this release.