Repository navigation
refactor(verifiability): remove exercise projection catalog - #2300
Conversation
|
Warning Review limit reached
More reviews will be available in 47 minutes and 57 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 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 configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (31)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
## Summary Removes the last `exercise` projection vocabulary left after the showcase exercise catalog was deleted. Seeded CLI verification variants are now described as contract surfaces, and the live archive smoke lane is named for the behavior it runs. ## Problem #2196 has been removing the showcase QA/exercise stack in favor of ordinary demo, CLI, and visual behavior checks. After #2300 removed the exercise catalog itself, the remaining projection layer still exposed an `exercise` source kind, `exercise=` CLI surface variants, and a `live-exercises` lane. That kept dead vocabulary in devtools and tests after the implementation had been removed. ## Solution - Removed `ScenarioProjectionSourceKind.EXERCISE`. - Renamed CLI surface `exercise` variants to `contract_variant` and `build_cli_surface_contracts`. - Renamed `live-exercises` to `live-archive-smoke` while keeping the same archive-smoke command behavior. - Updated devtools examples, generated quality docs, and tests to assert retained validation-lane/contract behavior instead of fake exercise projections. This intentionally does not add absence-only tests. The replacement coverage is the existing projection/render/lane tests over real validation-lane entries and the archive-smoke lane command shape. Ref #2196 ## Verification - `devtools test tests/unit/scenarios/test_sources.py tests/unit/scenarios/test_scenario_specs.py tests/unit/devtools/test_scenario_projections.py tests/unit/devtools/test_render_quality_reference.py tests/unit/devtools/test_quality_registry.py tests/unit/devtools/test_validation_lanes.py tests/unit/devtools/test_render_devtools_reference.py tests/unit/devtools/test_devtools_main.py tests/unit/devtools/test_generated_surfaces.py` -> 170 passed. - `devtools render devtools-reference --check && devtools render quality-reference --check && devtools render topology-status --check` -> sync OK for devtools reference and quality reference; topology status exited 0. - `devtools verify --quick` -> exit_code 0, 13 steps ok. - pre-push hook reran `devtools verify --quick` -> exit_code 0, 13 steps ok.
Summary
Remove the remaining exercise catalog/projection layer from the verification-lab path. Validation lanes, mutation campaigns, benchmark campaigns, inferred corpus scenarios, VHS tape specs, workspace helpers, and direct smoke scenario tests remain; the deleted pieces were catalog/projection scaffolding that no longer executed product behavior.
Problem
#2196 calls out the showcase exercise catalog as verification bureaucracy once direct demo/CLI/visual tests own the behavior. After #2299 removed the runner, the
Exercisemodel, JSON catalog, catalog loader, generated exercise scenarios, and their tests only fed quality/projection paperwork. Keeping them made the runtime coverage map look more complete than the actual tests warranted.Solution
polylogue/showcase/{catalog_loader,dimensions,exercise_models,exercises,generators}.pyandexercise_catalog.json.ExerciseIOModeenum and the unused exercise-awareseed_workspace_with(...)bridge.AuthoredScenarioCatalog/QualityRegistryto lanes and campaigns, leaving real scenario/campaign projection sources intact.thread-query-loopandtool-usage-query-loopnow show as uncovered instead of being paper-covered by exercise projections.Verification
devtools test tests/unit/showcase/test_cli_boundary.py tests/unit/showcase/test_verification_lane.py tests/unit/showcase/test_vhs_generation.py tests/unit/showcase/test_workspace.py tests/unit/devtools/test_quality_registry.py tests/unit/devtools/test_render_quality_reference.py tests/unit/devtools/test_authored_scenario_catalog.py tests/unit/devtools/test_scenario_projections.py tests/unit/devtools/test_scenario_coverage.py tests/unit/devtools/test_artifact_graph.py tests/unit/devtools/test_generated_surfaces.py→ 56 passeddevtools verify --quick→ exit 0Ref #2196