Skip to content

refactor(verifiability): remove exercise projection catalog - #2300

Merged
Sinity merged 1 commit into
masterfrom
feature/refactor/quality-registry-drain-2196
Jun 21, 2026
Merged

Sinity merged 1 commit into
masterfrom
feature/refactor/quality-registry-drain-2196

Conversation

@Sinity

@Sinity Sinity commented Jun 21, 2026

Copy link
Copy Markdown
Owner

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

@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 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 @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: 40e856aa-3ab1-48a8-9885-cfabbf64ad40

📥 Commits

Reviewing files that changed from the base of the PR and between a4a1d2c and 1668205.

📒 Files selected for processing (31)
  • AGENTS.md
  • devtools/authored_scenario_catalog.py
  • devtools/command_catalog.py
  • devtools/lab_scenario.py
  • devtools/quality_registry.py
  • docs/devtools.md
  • docs/plans/scenario-coverage.yaml
  • docs/plans/test-closure-matrix.yaml
  • docs/plans/test-coverage-domains.yaml
  • docs/plans/topology-target.yaml
  • docs/test-quality-workflows.md
  • docs/topology-status.md
  • polylogue/core/enums.py
  • polylogue/showcase/catalog_loader.py
  • polylogue/showcase/cli_boundary.py
  • polylogue/showcase/dimensions.py
  • polylogue/showcase/exercise_catalog.json
  • polylogue/showcase/exercise_models.py
  • polylogue/showcase/exercises.py
  • polylogue/showcase/generators.py
  • polylogue/showcase/workspace.py
  • tests/unit/devtools/test_artifact_graph.py
  • tests/unit/devtools/test_quality_registry.py
  • tests/unit/devtools/test_render_quality_reference.py
  • tests/unit/devtools/test_scenario_coverage.py
  • tests/unit/devtools/test_scenario_projections.py
  • tests/unit/showcase/test_catalog_loader_runtime.py
  • tests/unit/showcase/test_exercise_catalog.py
  • tests/unit/showcase/test_generators.py
  • tests/unit/showcase/test_scenario_models.py
  • tests/unit/showcase/test_workspace.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/refactor/quality-registry-drain-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 57804b3 into master Jun 21, 2026
14 checks passed
@Sinity
Sinity deleted the feature/refactor/quality-registry-drain-2196 branch June 21, 2026 20:55
Sinity added a commit that referenced this pull request Jun 21, 2026
## 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.
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