Skip to content

refactor(verifiability): retire QA scenario vocabulary - #2298

Merged
Sinity merged 2 commits into
masterfrom
feature/refactor/lab-scenario-vocabulary-2196
Jun 21, 2026
Merged

Sinity merged 2 commits into
masterfrom
feature/refactor/lab-scenario-vocabulary-2196

Conversation

@Sinity

@Sinity Sinity commented Jun 21, 2026 •

Copy link
Copy Markdown
Owner

Summary

Retire the remaining live QA naming from Polylogue's scenario/readiness vocabulary and modernize the serialized exercise catalog so it points at the current query-first and ops command surfaces. This keeps the existing scenario/catalog/render behavior intact while removing another piece of the old showcase/QA control-plane vocabulary.

Ref #2196

Problem

After the showcase runner/report cleanup, several current surfaces still described active scenario projections as qa_extra, QA reports, QA exercises, or qa readiness surfaces. The serialized exercise catalog also still carried old command forms such as list, count, stats, root doctor, root status, old provider flags, and root mutation flags. That meant the remaining verification catalog was preserving obsolete command-era vocabulary instead of exercising the current surface.

Solution

  • Rename qa_extra_scenarios to supplemental_scenarios in the authored scenario catalog and quality registry.
  • Rename generate_qa_extra_scenarios to generate_supplemental_scenarios and update the existing catalog/generator tests to keep behavior coverage.
  • Replace stale QA wording in lab-scenario payload docs, schema/runtime readiness surfaces, insight rebuild comments, and testing/architecture docs.
  • Modernize serialized exercise catalog argv entries toward the current surface: read --all, analyze --count, analyze --by ..., find ... then mark/delete, ops doctor, ops status, and public --origin vocabulary.
  • Regenerate the quality reference and agent docs so generated surfaces match the current vocabulary.

This intentionally does not add an absence test for the old spelling. The coverage remains behavior-oriented: the same scenario generation, catalog export, loader, selector, quality rendering, and source-completion helper tests exercise the renamed/modernized surfaces.

Verification

  • devtools test tests/unit/showcase/test_exercise_catalog.py tests/unit/showcase/test_generators.py tests/unit/devtools/test_render_quality_reference.py tests/unit/devtools/test_quality_registry.py tests/unit/scenarios/test_authored_payloads.py tests/unit/cli/test_source_selection_helpers.py → 75 passed
  • devtools test tests/unit/showcase/test_exercise_catalog.py tests/unit/showcase/test_catalog_loader_runtime.py tests/unit/showcase/test_showcase_runner_support_runtime.py → 47 passed
  • devtools verify --quick → exit_code 0

@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 2 minutes and 30 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: 2215b2d7-e976-44d2-b2e5-c567181fbe1d

📥 Commits

Reviewing files that changed from the base of the PR and between 65e2368 and 97d5dac.

📒 Files selected for processing (23)
  • AGENTS.md
  • TESTING.md
  • devtools/authored_scenario_catalog.py
  • devtools/lab_scenario.py
  • devtools/quality_registry.py
  • devtools/validation_lane_catalog_contracts.py
  • docs/architecture.md
  • docs/plans/docs-media-coverage.yaml
  • docs/test-quality-workflows.md
  • polylogue/artifacts/runtime.py
  • polylogue/operations/specs.py
  • polylogue/schemas/redaction_report.py
  • polylogue/showcase/corpus_requests.py
  • polylogue/showcase/exercise_catalog.json
  • polylogue/showcase/exercises.py
  • polylogue/showcase/generators.py
  • polylogue/showcase/workspace.py
  • polylogue/storage/insights/session/rebuild.py
  • tests/unit/cli/test_source_selection_helpers.py
  • tests/unit/devtools/test_render_quality_reference.py
  • tests/unit/scenarios/test_authored_payloads.py
  • tests/unit/showcase/test_exercise_catalog.py
  • tests/unit/showcase/test_generators.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/refactor/lab-scenario-vocabulary-2196

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 merged commit 388c02f into master Jun 21, 2026
14 checks passed
@Sinity
Sinity deleted the feature/refactor/lab-scenario-vocabulary-2196 branch June 21, 2026 20:31
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