Skip to content

refactor(verifiability): define VHS tapes outside showcase exercises (#2196) - #2297

Merged
Sinity merged 1 commit into
masterfrom
feature/refactor/direct-vhs-tapes-2196
Jun 21, 2026
Merged

Sinity merged 1 commit into
masterfrom
feature/refactor/direct-vhs-tapes-2196

Conversation

@Sinity

@Sinity Sinity commented Jun 21, 2026

Copy link
Copy Markdown
Owner

Summary

Moves VHS visual evidence tape generation off the showcase exercise catalog and onto direct VHSTapeSpec definitions. The default five tape flows are preserved as explicit visual specs while Exercise and exercise_catalog.json stop carrying VHS-only fields.

Problem

After #2295 and #2296, #2196 still had a catalog-driven visual evidence path: polylogue.showcase.vhs discovered tape targets through vhs_capture flags on showcase exercises. That kept the exercise catalog responsible for VHS behavior even though VHS is a visual evidence surface, not an archive exercise concern.

Solution

  • Adds direct VHSTapeSpec inventory in polylogue/showcase/vhs.py.
  • Preserves the existing five default tape flows: main help, default stats, list sessions, doctor readiness, and latest Markdown.
  • Removes vhs_capture and capture_steps from Exercise and from the serialized exercise catalog.
  • Removes vhs_exercises() and its catalog integrity tests.
  • Rewrites VHS tests around direct tape specs, custom capture steps, output-dir writes, and default tape commands.

This still does not close #2196. Remaining live scope includes scenario projection/workspace/catalog/runner consumers that still depend on the showcase exercise model.

Verification

  • devtools test tests/unit/showcase/test_vhs_generation.py tests/unit/showcase/test_exercise_catalog.py tests/unit/showcase/test_catalog_loader_runtime.py tests/unit/showcase/test_scenario_models.py -> 52 passed
  • devtools verify --quick -> exit_code 0
  • pre-push hook reran devtools verify --quick -> exit_code 0

Ref #2196

Move the visual-evidence tape inventory into direct VHSTapeSpec definitions instead of deriving it from showcase Exercise metadata. The old vhs_capture/capture_steps exercise fields and catalog keys are removed, while the existing five default tape flows remain covered by direct tests.

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 20 minutes and 59 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: d4fc9dfe-2a55-4b42-af18-7eca058b7550

📥 Commits

Reviewing files that changed from the base of the PR and between c77aa90 and 7c36cac.

📒 Files selected for processing (7)
  • polylogue/showcase/catalog_loader.py
  • polylogue/showcase/exercise_catalog.json
  • polylogue/showcase/exercise_models.py
  • polylogue/showcase/exercises.py
  • polylogue/showcase/vhs.py
  • tests/unit/showcase/test_exercise_catalog.py
  • tests/unit/showcase/test_vhs_generation.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/refactor/direct-vhs-tapes-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.

@Sinity
Sinity merged commit 65e2368 into master Jun 21, 2026
13 checks passed
@Sinity
Sinity deleted the feature/refactor/direct-vhs-tapes-2196 branch June 21, 2026 20:13
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.

refactor(verifiability): replace showcase QA with demo-driven CLI and visual tests

1 participant