Skip to content

fix(packaging): update stale kusari-oss references to darnitdevorg (fixes #583) - #795

Open
Amankumar-10012004 wants to merge 1 commit into
darnitdevorg:mainfrom
Amankumar-10012004:fix/stale-kusari-oss-references-583
Open

Amankumar-10012004 wants to merge 1 commit into
darnitdevorg:mainfrom
Amankumar-10012004:fix/stale-kusari-oss-references-583

Conversation

@Amankumar-10012004

Copy link
Copy Markdown
Contributor

Summary

Updates stale kusari-oss/darnit references across docs and packaging manifests after the org move to darnitdevorg/darnit (fixes #583):

  • Signing identities: Updated cosign/sigstore regex to match (darnitdevorg|kusari-oss) so both v0.1.x and v0.2.0+ artifacts verify.
  • Container images: Pointed docs, recovery guides and Dockerfile OCI labels to ghcr.io/darnitdevorg/darnit.
  • Package metadata: Updated URLs in all pyproject.toml manifests, Claude plugin template and Homebrew template.
  • Docs & links: Updated upstream clone URLs, issues and discussions across guides and READMEs.
  • Deliberate exclusions: Kept kusari-oss/homebrew-tap and brew tap kusari-oss/tap intact.

Type of Change

  • Bug fix (non-breaking change fixing an issue)
  • Documentation update

Framework Changes Checklist

  • Ran uv run python scripts/validate_sync.py --verbose and it passes

Control/TOML Changes Checklist

  • Ran validation to confirm TOML schema compliance

Testing

  • Tests pass locally (uv run pytest tests/ -v)
  • Linting passes (uv run ruff check .)

Verification runs:

  • python scripts/validate_sync.py --verbose -> Passed
  • pytest tests/darnit/parity/tier1/test_no_product_changes.py -> Passed
  • pytest tests/test_lint.py -> Passed
  • pytest tests/darnit_baseline/threat_model/ -k Sarif -> Passed

AI assistance

No AI assistance is used.

Additional Notes

Closes #583. Fully backward-compatible for v0.1.x while setting canonical identities for v0.2.0.

@mlieberman85 mlieberman85 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Amankumar-10012004. The links, package metadata, Dockerfile labels and image names are right. One thing needs to change before I approve: the note that releases up to v0.1.1 were signed under kusari-oss/darnit, and the (darnitdevorg|kusari-oss) alternation in every verification command.

Nothing has ever been signed as kusari-oss/darnit. I checked what was actually published for both releases:

  • Container images. Both were built, pushed and signed by release.yml runs in darnitdevorg/darnit: v0.1.0 by run 30650769783 (a workflow_dispatch from main on 2026-07-31; the tag runs on 2026-07-29 failed before the image step) and v0.1.1 by run 37168780367. The certificates in their Rekor entries (log indexes 2304644972 and 3076150870) have the identities https://github.com/darnitdevorg/darnit/.github/workflows/release.yml@refs/heads/main and ...@refs/tags/v0.1.1.
  • PyPI. None of the 20 files of the five packages (0.1.0 and 0.1.1, wheel and sdist) has a provenance attestation, according to PyPI's simple index. They were uploaded with a token, not Trusted Publishing (#674 changes that).
  • Binaries. Neither release has binary assets. v0.1.0 has two SBOM files, v0.1.1 none.
  • release.yml has 8 runs in total, and publish.yml has never run.

So please verify against darnitdevorg/darnit only and drop the version note. Accepting kusari-oss would make any signature from a release.yml in a repository named kusari-oss/darnit verify, which is an identity that has never signed a darnit release.

Your note follows packaging/README.md:7, which says artifacts published before the move "remain signed under kusari-oss/darnit". That sentence is wrong for the same reason; please correct it in this PR too.

Smaller:

  • packaging/homebrew/tap-workflows/bump-formula.yml:7 still says the dispatch comes from kusari-oss/darnit's release.yml. It now comes from darnitdevorg/darnit. (kusari-oss/homebrew-tap stays, as you have it.)
  • Please add a CHANGELOG.md line. The new Homepage/Repository/Issues URLs are what PyPI will show for the next release.

Full suite at 4721df0 merged into current main (03f81fb): 6237 passed, 11 skipped. ruff, the mypy gate, validate_sync.py and comply replay (default and on a case-sensitive volume) all pass.


Drafted with AI assistance (Claude), reviewed and filed by me. Measurements quoted were executed and verified.

@Amankumar-10012004

Copy link
Copy Markdown
Contributor Author

Hi @mlieberman85,

Thanks for the detailed review, I have updated the PR to address all your points:

  1. Rebased on main: Resolved the merge conflicts from Publish Python packages with PyPI Trusted Publishing #674 cleanly.
  2. Verify against darnitdevorg/darnit only: Removed kusari-oss from all verification commands and dropped the version notes.
  3. Docs & Workflows: Corrected packaging/README.md (line 7) and updated the dispatch comment in bump-formula.yml.
  4. Changelog: Added an entry in CHANGELOG.md for the updated package URLs.

All tests, lint checks, and sync validations pass cleanly.

mlieberman85
mlieberman85 previously approved these changes Dec 3, 2026

@mlieberman85 mlieberman85 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Amankumar-10012004, approving at fa46d00. Every verification command now names darnitdevorg/darnit only, the version note is gone, packaging/README.md and the bump-formula.yml comment are fixed, and the Homebrew tap stays kusari-oss/homebrew-tap, which is where it still lives.

On fa46d00 merged into main at 778878b: full suite 6217 passed, 11 skipped. ruff, the mypy gate, validate_sync.py and the comply replay (default volume and a case-sensitive one) pass. CI is green.


Drafted with AI assistance (Claude), reviewed and filed by me. Measurements quoted were executed and verified.

…ixes darnitdevorg#583)

Updates stale references following the repository migration from kusari-oss/darnit to darnitdevorg/darnit:

- Signing Identities: Updated verification commands across install docs and recovery guide to verify against darnitdevorg/darnit exclusively. Removed historical notes claiming v0.1.x artifacts were signed under kusari-oss/darnit since Rekor logs confirm all releases were signed under darnitdevorg/darnit.
- Package Metadata & Docs: Updated package manifests (pyproject.toml), Claude plugin template, Homebrew template, and documentation links across guides, README, SUPPORT, and GOVERNANCE.
- Runbooks & Workflows: Corrected signing claims in packaging/README.md and updated dispatch comment in packaging/homebrew/tap-workflows/bump-formula.yml.
- Code References: Updated SARIF informationUri and doc scanner link filtering.
- Changelog: Added entry under ## [Unreleased] for package metadata URLs.
- Preserved Deliberate Exclusions: Kept kusari-oss/homebrew-tap and brew tap kusari-oss/tap intact as the tap repository remains under kusari-oss.

Signed-off-by: Amankumar-10012004 <devirinki402@gmail.com>
@Amankumar-10012004

Copy link
Copy Markdown
Contributor Author

Thanks @mlieberman85 for approving it but it has conflict which needs to be fixed before it gets merge, Rebased onto latest main (5893c67) to resolve the CHANGELOG.md conflict (#800/#797). All other 25 files remain identical to approved commit fa46d00. Ready for merge once checks finish (and quick re-approval if stale reviews were dismissed).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stale kusari-oss references: signing identities, container image name, package metadata

2 participants