Repository navigation
refactor(verifiability): delete dead showcase runner layer - #2299
Conversation
📝 WalkthroughWalkthroughFour showcase modules ( ChangesShowcase runner consolidation
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related issues
Possibly related PRs
Suggested labels
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 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 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 `Exercise` model, 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 - Deleted `polylogue/showcase/{catalog_loader,dimensions,exercise_models,exercises,generators}.py` and `exercise_catalog.json`. - Removed the unused `ExerciseIOMode` enum and the unused exercise-aware `seed_workspace_with(...)` bridge. - Simplified `AuthoredScenarioCatalog`/`QualityRegistry` to lanes and campaigns, leaving real scenario/campaign projection sources intact. - Updated artifact/coverage/projection tests so `thread-query-loop` and `tool-usage-query-loop` now show as uncovered instead of being paper-covered by exercise projections. - Refreshed generated quality/devtools/topology docs and coverage manifests. ## 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 passed - `devtools verify --quick` → exit 0 Ref #2196
Summary
Remove the obsolete ShowcaseRunner layer from the verification-lab showcase code. The retained workspace seeding behavior now lives directly in
polylogue.showcase.workspace, where the scenario lane already gets its isolated workspace and synthetic-corpus helpers.Problem
#2196 is about removing parallel verifiability abstractions that no longer own behavior. After the recent cleanup PRs, the runner/result/invariant modules were a dead middle layer:
devtools lab scenarioalready drives direct scenario execution, while the runner types only preserved an old showcase-shaped execution model.Solution
polylogue.showcase.runner,showcase_runner_models,showcase_runner_support, and the old invariant helper module.seed_workspace_with(...)helper intopolylogue.showcase.workspace, preserving the existingshowcase_corpus_request()defaults and compiled exercise corpus-spec behavior.Verification
devtools test tests/unit/showcase/test_workspace.py tests/unit/showcase/test_verification_lane.py→ 20 passeddevtools verify --quick→ exit 0devtools verify --quick→ exit 0Summary by CodeRabbit
Release Notes
Removals
Refactoring
Tests
Documentation
Ref #2196