Repository navigation
refactor(verifiability): rename scenario contract surfaces - #2301
Conversation
Problem: #2196 removed the showcase exercise catalog, but the remaining scenario projection vocabulary still exposed an exercise source kind, exercise-named CLI surface variants, and a live-exercises lane. That left a dead abstraction in the verification surface after its implementation was deleted. What changed: remove the exercise projection source kind, rename seeded CLI surface variants to contract variants, rename the live archive-smoke lane, update devtools examples, and keep the projection tests focused on retained validation-lane behavior rather than deleted exercise terminology. 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; devtools verify --quick.
|
Warning Review limit reached
More reviews will be available in 31 minutes and 58 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 (15)
✨ 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
exerciseprojection 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
exercisesource kind,exercise=CLI surface variants, and alive-exerciseslane. That kept dead vocabulary in devtools and tests after the implementation had been removed.Solution
ScenarioProjectionSourceKind.EXERCISE.exercisevariants tocontract_variantandbuild_cli_surface_contracts.live-exercisestolive-archive-smokewhile keeping the same archive-smoke command behavior.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.devtools verify --quick-> exit_code 0, 13 steps ok.