Skip to content

feat(cli): add bundle product receipts#836

Merged
EffortlessSteven merged 2 commits into
mainfrom
feat/bundle-manifest-receipts
May 19, 2026
Merged

feat(cli): add bundle product receipts#836
EffortlessSteven merged 2 commits into
mainfrom
feat/bundle-manifest-receipts

Conversation

@EffortlessSteven

Copy link
Copy Markdown
Member

Summary

  • emits required metadata-only bundle product receipts: bundle-verification, scanner-safety, and negative-coverage
  • requires those receipts in verify-bundle, audit-bundle, external-adoption smoke, and scanner-safe reference checks
  • updates scanner-safe reference metadata, golden audit snapshots, current how-tos, SPEC-0011/0015/0017, and the active real-workflow goal

User path

A downstream user who generates a scanner-safe, TLS, OIDC, or webhook bundle now gets receipts that explain local verification, scanner-safety classification, and negative fixture coverage without copying generated payloads.

Boundary

This proves local bundle consistency and metadata classification only. It does not prove repo public claims, release readiness, provider compatibility, production security, scanner evasion, or downstream verifier correctness. It does not add profiles, contract packs, badges, release prep, tags, or publishing.

Proof

  • cargo +nightly fmt --all -- --check
  • cargo +nightly test -p uselesskey-cli --all-features bundle
  • cargo +nightly test -p uselesskey-cli --all-features verify_bundle
  • cargo +nightly test -p uselesskey-cli --all-features audit_bundle
  • cargo +nightly test -p xtask external_adoption_smoke
  • cargo +nightly clippy -p uselesskey-cli --all-targets --all-features -- -D warnings
  • cargo +nightly xtask spec-check --strict
  • cargo +nightly xtask docs-sync --check
  • cargo +nightly xtask typos
  • cargo +nightly xtask external-adoption-smoke --path .
  • cargo +nightly xtask scanner-safe-reference --check
  • cargo +nightly xtask no-blob
  • cargo +nightly xtask adoption-regression --external
  • cargo +nightly xtask pr-lite
  • cargo +nightly xtask pr
  • git diff --check

Risk / rollback

The diff changes generated bundle metadata and committed reference receipts, not fixture payload identity. It should be revertable as one bundle-receipt slice before later task-first docs or public-surface work depends on the new receipt contract.

@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@coderabbitai

coderabbitai Bot commented May 18, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@EffortlessSteven has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 55 minutes and 43 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: c358fe04-5df4-40a6-9308-f5f0b03df47c

📥 Commits

Reviewing files that changed from the base of the PR and between 063a1bd and 83a70d7.

⛔ Files ignored due to path filters (2)
  • crates/uselesskey-cli/tests/snapshots/cli__audit_bundle_webhook_json_golden.snap is excluded by !**/*.snap
  • crates/uselesskey-cli/tests/snapshots/cli__audit_bundle_webhook_markdown_golden.snap is excluded by !**/*.snap
📒 Files selected for processing (19)
  • .uselesskey/goals/active.toml
  • crates/uselesskey-cli/src/main.rs
  • crates/uselesskey-cli/tests/cli.rs
  • crates/uselesskey-cli/tests/tls_profile.rs
  • crates/uselesskey-cli/tests/webhook_profile.rs
  • docs/how-to/export-vault-kv-fixtures.md
  • docs/how-to/generate-scanner-safe-k8s-secret.md
  • docs/how-to/test-oidc-jwks-validation.md
  • docs/how-to/test-tls-chain-validation.md
  • docs/how-to/test-webhook-signature-validation.md
  • docs/specs/USELESSKEY-SPEC-0011-webhook-contract-pack.md
  • docs/specs/USELESSKEY-SPEC-0015-real-user-workflows.md
  • docs/specs/USELESSKEY-SPEC-0017-bundle-product-surface.md
  • examples/scanner-safe-bundle/expected/manifest.json
  • examples/scanner-safe-bundle/expected/receipts/bundle-verification.json
  • examples/scanner-safe-bundle/expected/receipts/negative-coverage.json
  • examples/scanner-safe-bundle/expected/receipts/scanner-safety.json
  • xtask/src/external_adoption_smoke.rs
  • xtask/src/main.rs
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/bundle-manifest-receipts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@EffortlessSteven

Copy link
Copy Markdown
Member Author

Follow-up pushed after hosted targeted mutation found missed mutants in the new negative-coverage mapping. Added focused unit tests for the scanner-safe token guard and TLS taxonomy classes. Local proof now includes: cargo +nightly xtask mutants-pr --changed (27 mutants: 24 caught, 3 unviable).

@EffortlessSteven EffortlessSteven merged commit b9360c1 into main May 19, 2026
6 checks passed
@EffortlessSteven EffortlessSteven deleted the feat/bundle-manifest-receipts branch May 19, 2026 00:08
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.

1 participant