Skip to content

refactor(devtools): streamline lab readiness commands (#2177) - #2290

Merged
Sinity merged 1 commit into
masterfrom
feature/refactor/devtools-surface-2177
Jun 21, 2026
Merged

Sinity merged 1 commit into
masterfrom
feature/refactor/devtools-surface-2177

Conversation

@Sinity

@Sinity Sinity commented Jun 21, 2026

Copy link
Copy Markdown
Owner

Summary

Tightens the remaining devtools command-surface cleanup under #2177. The provider/importer completeness report now lives under the verification-lab surface as devtools lab provider completeness, and the stale README media generator plus unreferenced committed diagrams are removed.

Problem

The live devtools tree is much cleaner than the old flat command zoo, but two pieces still violated the command-ownership policy:

  • devtools provider completeness was a singleton top-level root for readiness evidence, while related evidence/probe/schema commands already live under devtools lab.
  • devtools render readme-media and docs/media/ preserved Mermaid architecture diagrams that are no longer referenced by the README or docs. The manifest still claimed a committed docs-media surface existed, creating tracker noise rather than useful verification.

Solution

  • Move the provider completeness command to devtools lab provider completeness without changing the underlying readiness report implementation.
  • Remove the now-empty provider command root and its Click help text.
  • Delete devtools/generate_readme_media.py and the unreferenced docs/media/ diagram sources/SVG outputs.
  • Update docs/provider-completeness.md, docs/plans/docs-media-coverage.yaml, and docs/plans/scenario-coverage.yaml so they describe the current docs surface rather than preserving a stale media gap.
  • Regenerate docs/devtools.md and AGENTS.md from the command catalog.

This does not add absence tests. The behavior check is that the readiness report executes through the new owner path and the generated command inventory exposes the new command surface.

Verification

  • devtools test tests/unit/devtools/test_devtools_main.py tests/unit/devtools/test_render_devtools_reference.py tests/unit/devtools/test_provider_completeness.py tests/unit/devtools/test_verify_manifests.py → 37 passed
  • devtools render all --check → all generated surfaces sync OK
  • devtools lab provider completeness --origin codex-session --json → emitted provider completeness payload with rows and totals
  • devtools --list-commands --json check → lab provider completeness present, provider completeness absent, no maintenance category
  • devtools verify --quick → exit_code 0
  • pre-push devtools verify --quick → exit_code 0

Closes #2177

@coderabbitai

coderabbitai Bot commented Jun 21, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

@Sinity, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 49 minutes and 11 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits.

🚦 How do rate limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: b1c7bcc1-5d42-45ec-afb0-21b5830f48a2

📥 Commits

Reviewing files that changed from the base of the PR and between 825e57c and 6f95bc0.

⛔ Files ignored due to path filters (4)
  • docs/media/architecture-overview.svg is excluded by !**/*.svg
  • docs/media/data-flow.svg is excluded by !**/*.svg
  • docs/media/provider-detection.svg is excluded by !**/*.svg
  • docs/media/repo-structure.svg is excluded by !**/*.svg
📒 Files selected for processing (13)
  • AGENTS.md
  • devtools/click_dispatch.py
  • devtools/command_catalog.py
  • devtools/generate_readme_media.py
  • docs/devtools.md
  • docs/media/README.md
  • docs/media/architecture-overview.mmd
  • docs/media/data-flow.mmd
  • docs/media/provider-detection.mmd
  • docs/media/repo-structure.mmd
  • docs/plans/docs-media-coverage.yaml
  • docs/plans/scenario-coverage.yaml
  • docs/provider-completeness.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/refactor/devtools-surface-2177

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.

github-actions Bot pushed a commit that referenced this pull request Jun 21, 2026
@Sinity
Sinity force-pushed the feature/refactor/devtools-surface-2177 branch from d10c61c to 6f95bc0 Compare June 21, 2026 18:34
@Sinity
Sinity merged commit 0c12216 into master Jun 21, 2026
12 checks passed
@Sinity
Sinity deleted the feature/refactor/devtools-surface-2177 branch June 21, 2026 18:36
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.

refactor: make Polylogue contracts own surfaces and delete parallel dispatch

1 participant