Repository navigation
refactor(verifiability): run archive smoke as direct CLI checks (#2196) - #2296
Conversation
Replace archive-smoke's remaining ShowcaseRunner/catalog dependency with a small direct CLI smoke set over the real polylogue entrypoint. The JSON mode now keeps stdout machine-readable while progress goes to stderr, and report-dir output writes a compact archive-smoke.json artifact instead of a showcase report wrapper. Ref #2196
|
Warning Review limit reached
More reviews will be available in 27 minutes and 35 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 (2)
✨ 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 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6d53401b48
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…2196) (#2297) ## 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
|
Historical Codex triage: evidence checked at 5ebcfe5. This records that source revision; it does not claim a fresh review of current master.
Only the rows listed above are dispositioned. Held findings remain open. |
Summary
Replaces the
archive-smokelab scenario's remainingShowcaseRunner/exercise-catalog execution path with a small direct CLI smoke set over the realpolylogueentrypoint. The scenario still emits a compact machine payload and can write a directarchive-smoke.jsonreport artifact, but it no longer depends on the showcase runner just to exercise tier-0 command behavior.Problem
#2196 is about removing showcase QA bureaucracy after ordinary demo, CLI, and visual checks exist. #2295 removed the QA report/session layers, but
devtools lab scenario run archive-smoke --tier 0still routed through the broader showcase exercise catalog and runner. That kept the old scaffold in the default verification lane even for three simple no-data CLI checks.Solution
ArchiveSmokeCheck/ArchiveSmokeCheckResultmodels insidedevtools/lab_scenario.py.--jsonstdout machine-readable by sending progress to stderr.archive-smoke.jsonreport when--report-diris provided.This does not close #2196. The remaining showcase catalog/runner files still exist for scenario projection, VHS, workspace, and broader catalog tests. They should be removed only after those consumers have direct replacement coverage.
Verification
devtools test tests/unit/showcase/test_verification_lane.py-> 8 passeddevtools lab scenario run archive-smoke --tier 0 --json >/tmp/polylogue-archive-smoke.json && jq -e '.ok == true and .stages.cli == \"ok\"' /tmp/polylogue-archive-smoke.json->truedevtools verify --quick-> exit_code 0devtools verify --quick-> exit_code 0Ref #2196