Repository navigation
Conversation
- LICENSE: MIT text for the license README and pyproject.toml already declare; setuptools now ships it in the wheel and the sdist - .github/CODEOWNERS: the data-practice team owns the whole repository - SECURITY.md: how to report a vulnerability (as an issue, without exploit details or secrets) - CONTRIBUTE.md -> CONTRIBUTING.md, so GitHub links it; README updated - README: the CI badge pointed at another repository - .github/dependabot.yml: weekly updates for pip and GitHub Actions - Security workflow: bandit (pre-commit settings) and pip-audit on every push and pull request, plus a weekly run on the default branch - Publish workflow: CycloneDX SBOM of each release, attached to the GitHub release (kept out of dist/, which goes to PyPI) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The README is also the package description on PyPI, where relative links break. Same form as the badge links in #96, so the two PRs merge cleanly there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Please bump the version in Generated by Claude Code |
The only conflict was the contributing link in README.md: develop still named CONTRIBUTE.md, this branch renames it to CONTRIBUTING.md. Kept CONTRIBUTING.md. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
LICENSE alone leaves the published package without a licence: the metadata needs license = "MIT" (PEP 639 expression) and license-files. With them the wheel carries License-Expression: MIT and dist-info/licenses/LICENSE, and the sdist ships LICENSE. Both were removed from the feature branch while the licence was undecided; this PR is that decision. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The Security Scan job of this PR fails once develop is merged in: bandit reports five Low findings in code that came with #96. - B105 (hardcoded password) x4: both NATS wildcard matchers, subject_is_covered_by() and NATSClient._subject_matches(), named their loop variable `token`, and bandit reads any comparison of a `token` with a string literal ('>', '*') as a password. Renamed to `segment`; no behaviour change. - B101 (assert) x1: Config.resolved_settings() checked a view's loader with an assert, which `python -O` strips, leaving an AttributeError later. It now raises RuntimeError, covered by a new unit test. No nosec comments and no skipped tests: bandit runs clean with the workflow's own settings. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Astrasu
left a comment
There was a problem hiding this comment.
Review prepared with Claude Code. This is a comment, not an approval; a human reviewer decides.
Reviewed at e8b0bc0 against develop. No blocking issues in the files. The publish workflow is consistent: steps.release.outputs.version exists, the SBOM goes only to the GitHub release, and dist/ still goes to PyPI unchanged. The three commits from the update after #96 (merge, licence metadata, bandit fixes) are not reviewed here, since they were written in the same session as this review; their evidence is in the description.
Should change before merge
- Dependabot would raise every lower bound in
pyproject.tomlweekly..github/dependabot.ymlsets noversioning-strategyfor pip. Community reports say the default (auto) raises each>=floor to the latest release for pip. For a library that forces every consumer onto the newest versions, although the old ones still work. The usual fix isversioning-strategy: increase-if-necessary, which only touches a range when a new release falls outside it (widenis rejected for pip). This rests on community reports, not on GitHub's docs, and was not tested here. SECURITY.mdsends vulnerability reports to public issues. The guidance limits what goes in, but the repository is public: a report still discloses that a vulnerability exists, where, in which version and with what impact, before a fix is out. Suggest enabling Private vulnerability reporting in the repository settings (admin) and pointingSECURITY.mdto Security -> Report a vulnerability.
Decisions for the owners
- Copyright holder.
LICENSEnames "Blueprint Team", which is not a legal person. An earlier draft on the #96 branch named the company. The MIT decision does not settle this line by itself; someone responsible should confirm who the holder is. - Team name in
CODEOWNERS.CODEOWNERSnames the teambechtleav360/data-practice.CLAUDE.mdasks for explicit approval before team names go into this public repository. The file cannot work without a real name, so this is a yes/no, not a request for a generic substitute.
Nits
security.ymlhas nopermissions:block, so the job runs with the token's default permissions.permissions: contents: readis all it needs (ci.ymlhas the same gap).- The SBOM is generated from a venv that contains its own
pip, sopipappears as a component although it is not a dependency of the package.python -m venv --without-pippluspip --python "$RUNNER_TEMP/sbom-env/bin/python" install dist/*.whlwould leave it out. - Security Scan and CI run twice for every push to a PR branch (
pushandpull_requeston all branches). Limitingpushtodevelop/mainwould halve the runs. Better as a separate change covering both workflows.
Points 1, 5 and 6 can be fixed on this branch if the author agrees.
Why
The review of #108 listed the repository hygiene gaps of this public repository (section G of the review report). This PR closes the ones that can be fixed in files; the rest are repository settings (below).
What
LICENSE: the MIT text for the license the README declares (copyright holder: Blueprint Team, as inpyproject.toml). Before, the README's license link led nowhere.pyproject.toml:license = "MIT"andlicense-files = ["LICENSE"]. feat: multi-agent grouping (0.9.0) #96 had removed the MIT classifier and these fields while the licence was undecided; this PR is that decision. The wheel now carriesLicense-Expression: MITanddist-info/licenses/LICENSE, and the sdist shipsLICENSE..github/CODEOWNERS:@bechtleav360/data-practiceowns the whole repository. The team has write access, so the file is valid. Its review becomes mandatory only once a ruleset requires code-owner review.SECURITY.md: report vulnerabilities as an issue (title starts withSecurity:), without exploit details, secrets or data from your own systems. Fixes are released as new versions; no backports.CONTRIBUTE.md→CONTRIBUTING.md: the standard name, so GitHub links it from the issue and PR forms. Content unchanged.README.md: the CI badge pointed at another repository. The links to LICENSE, CONTRIBUTING.md and SECURITY.md are now absolute because the README is also the PyPI description. The badge lines are identical to those in feat: multi-agent grouping (0.9.0) #96..github/dependabot.yml: weekly update PRs for pip (pyproject.toml) and GitHub Actions (workflows and the composite action). Minor and patch updates are grouped; commit prefixes follow the conventional-commit style..github/workflows/security.yml(new job "Security Scan"):It runs on every push and pull request, and weekly on the default branch, because new advisories appear without code changes. Both tools are pinned and run through
uvx, sopyproject.tomland the venv cache are unchanged. This is a separate file to avoid conflicts with chore(claude): review every AI commit for project names #108, which also extendsci.yml..github/workflows/publish.yml: a CycloneDX SBOM per release. The SBOM is generated from the wheel installed into a clean venv, which gives the dependency versions it resolves to at release time. It is uploaded as an artifact and attached to the GitHub release. It stays out ofdist/, which goes to PyPI unchanged.Update after #96 was merged
Merging
developinto this branch brought in #96, and with it three changes on this branch:ea22361: the merge. The only conflict was the contributing link inREADME.md, resolved toCONTRIBUTING.md; nothing else in the tree still namesCONTRIBUTE.md.893d762(build:): the licence metadata inpyproject.tomlabove, with aCHANGELOG.mdentry under[Unreleased]-> Added.e8b0bc0(fix:): the Security Scan of this PR failed on the merged tree, because bandit found five Low issues in code that came with feat: multi-agent grouping (0.9.0) #96. Fixed in the code, withoutnoseccomments or new skips:subject_is_covered_by()inclients/io/io_client_base.py,NATSClient._subject_matches()) named their loop variabletoken, which bandit reads as a password whenever it is compared with'>'or'*'. Renamed tosegment; no behaviour change.Config.resolved_settings()checked a view's loader with anassert, whichpython -Ostrips. It now raisesRuntimeError, covered by a new unit test intests/unit/agents/config/test_namespace_views.py.These fixes are the only package code changes in this PR. There is no version bump; the version comes from the release tag.
Verified locally
src/with the workflow's settings, on the merged tree in apython:3.13-slimcontainer: 5 Low beforee8b0bc0, none after (exit 0)..[ci](150 packages, resolved fresh in the same container): no known vulnerabilities.License-Expression: MITandLicense-File: LICENSEin the wheel metadata,LICENSEin the wheel and the sdist.ruff check,ruff format --checkandmypy src/clean.publish.ymlare older shellcheck notes on existing steps.In CI on
e8b0bc0all checks are green. One unit test failed once in the push run and passed on re-run and in the pull_request run: a timing-dependent test from #96, unrelated to this PR, tracked in #114.Not verified: the publish workflow end to end, which only runs on a release tag. The first release after this merge will show whether the SBOM is attached.
Repository settings
mainanddevelop. They are currently not enforced, so no review and no check is required to merge.Review notes
Blueprint Team) still needs confirming.🤖 Generated with Claude Code