Skip to content

feat(cli): add installed bundle audit#791

Merged
EffortlessSteven merged 2 commits into
mainfrom
feature/installed-bundle-audit
May 18, 2026
Merged

feat(cli): add installed bundle audit#791
EffortlessSteven merged 2 commits into
mainfrom
feature/installed-bundle-audit

Conversation

@EffortlessSteven

Copy link
Copy Markdown
Member

Summary

  • Add installed CLI bundle auditing with metadata-only JSON/Markdown receipts via uselesskey audit-bundle.
  • Validate manifest, artifact, receipt, path containment, scanner-safe, runtime-material, and profile consistency without copying raw payloads.
  • Wire audit into external-adoption-smoke so clean-project installed-style paths run bundle, verify, audit, and inspect.
  • Add SPEC-0014, reviewer handoff docs, downstream CI docs, lane closeout, and learning record.

Files added/changed

  • CLI audit command and tests: crates/uselesskey-cli/src/main.rs, crates/uselesskey-cli/tests/cli.rs
  • External/adoption proof wiring: xtask/src/external_adoption_smoke.rs, xtask/src/adoption_regression.rs, xtask/src/main.rs
  • Control-plane/spec/docs: .uselesskey/goals/, docs/specs/USELESSKEY-SPEC-0014-installed-bundle-audit.md, plans/installed-bundle-audit/
  • Reviewer and CI docs: docs/how-to/share-installed-bundle-audit.md, docs/how-to/use-uselesskey-in-downstream-ci.md, docs/VERIFICATION.md, docs/contract-packs/README.md, examples/external/*/README.md
  • No-panic cleanup in touched tests: crates/uselesskey-core/src/srp/seed.rs, crates/uselesskey-webhook/src/lib.rs, xtask/src/main.rs, xtask/src/adoption_regression.rs

Validation

  • cargo test -p uselesskey-cli --all-features audit_bundle
  • cargo test -p xtask external_adoption_smoke
  • cargo xtask external-adoption-smoke --path . --format json
  • cargo xtask adoption-regression --external
  • cargo xtask spec-check --strict
  • cargo xtask docs-sync --check
  • cargo xtask typos
  • cargo xtask no-blob
  • cargo xtask claim-report --check-public-claims
  • cargo xtask contract-packs --check
  • cargo xtask check-no-panic-family
  • cargo +nightly xtask pr-lite
  • cargo xtask pr
  • cargo fmt --check
  • git diff --check

Non-goals

  • No v0.10.0 release prep, version bump, tag, or publish.
  • No new badges or contract packs.
  • No provider compatibility, production security, scanner-evasion, or release-readiness claim.
  • No claim-ledger command execution from the installed CLI.
  • No raw fixture payload copying into audit receipts.

What this enables next

  • Installed users can generate, verify, audit, inspect, and attach metadata-only reviewer packets without cloning the repo.
  • Downstream CI can consume stable audit failure classes for bundle consistency and sensitivity-label drift.

@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!

@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 7 minutes and 1 second 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: ab74c865-a23b-406c-90bb-8b8194d728e4

📥 Commits

Reviewing files that changed from the base of the PR and between 5186314 and 1d1a773.

📒 Files selected for processing (28)
  • .uselesskey/goals/active.toml
  • .uselesskey/goals/archive/2026-05-installed-bundle-audit.toml
  • crates/uselesskey-cli/src/main.rs
  • crates/uselesskey-cli/tests/cli.rs
  • crates/uselesskey-core/src/srp/seed.rs
  • crates/uselesskey-webhook/src/lib.rs
  • crates/uselesskey/tests/facade_negative.rs
  • docs/VERIFICATION.md
  • docs/contract-packs/README.md
  • docs/how-to/share-installed-bundle-audit.md
  • docs/how-to/share-uselesskey-verification-pack.md
  • docs/how-to/start-here.md
  • docs/how-to/use-uselesskey-in-downstream-ci.md
  • docs/learnings/2026-05-installed-bundle-audit.md
  • docs/learnings/README.md
  • docs/specs/README.md
  • docs/specs/USELESSKEY-SPEC-0014-installed-bundle-audit.md
  • examples/external/oidc-jwks-validation/README.md
  • examples/external/rust-test-fixtures/README.md
  • examples/external/tls-chain-validation/README.md
  • examples/external/webhook-verifier/README.md
  • plans/README.md
  • plans/installed-bundle-audit/README.md
  • plans/installed-bundle-audit/closeout.md
  • plans/installed-bundle-audit/implementation-plan.md
  • xtask/src/adoption_regression.rs
  • 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 feature/installed-bundle-audit

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.

@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.

@EffortlessSteven EffortlessSteven merged commit e93762a into main May 18, 2026
6 checks passed
@EffortlessSteven EffortlessSteven deleted the feature/installed-bundle-audit branch May 18, 2026 05:53
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