Skip to content

refactor(verifiability): gate demo evidence with pytest (#2196) - #2211

Merged
Sinity merged 2 commits into
masterfrom
feature/refactor/demo-showcase-cleanup-2196
Jun 20, 2026
Merged

Sinity merged 2 commits into
masterfrom
feature/refactor/demo-showcase-cleanup-2196

Conversation

@Sinity

@Sinity Sinity commented Jun 20, 2026

Copy link
Copy Markdown
Owner

Summary

Replaces the CI/release-readiness reliance on the legacy showcase-baseline verifier for the demo/readers surface with ordinary pytest evidence over the deterministic demo commands and visual reader smoke tests. The legacy devtools lab scenario verify-baselines command remains available as a manual lab command, but it is no longer the CI/release gate for this surface.

Problem

#2196 made polylogue demo seed and polylogue demo verify the concrete demo readiness path. Keeping showcase-baselines as the named CI and release-readiness gate left the project using a broad generated-baseline harness where behavior-focused pytest evidence is now clearer, faster to interpret, and better instrumented by the managed pytest supervisor.

Solution

  • Rename the CI job from showcase-verify to demo-visual-verify and run the demo command tests plus tests/visual directly.
  • Replace the showcase-baselines validation lane with demo-visual, covering polylogue demo seed, polylogue demo verify, CLI help, and reader visual DOM evidence.
  • Declare seed-demo-archive, verify-demo-archive, and reader-visual-dom in the shared operation catalog so scenario projection coverage remains grounded.
  • Update release-readiness guidance, quality-reference rendering, and docs that previously told agents to use the showcase-baseline verifier for this surface.

This does not add absence tests for old commands and does not delete the legacy lab scenario command; it removes that command from the authoritative demo/visual gate.

Verification

  • nix develop --command devtools test tests/unit/devtools/test_scenario_projections.py::test_all_projection_operation_targets_are_declared -q -> 1 passed
  • nix develop --command devtools test tests/unit/devtools/test_validation_lanes.py tests/unit/devtools/test_release_readiness.py tests/unit/devtools/test_scenario_projections.py tests/unit/cli/test_demo_command.py tests/unit/demo/test_demo_seed_verify.py tests/visual -q -> 183 passed
  • nix develop --command devtools render all --check -> all generated surfaces sync OK
  • nix develop --command devtools verify --quick -> exit code 0
  • nix develop --command devtools verify --seed-testmon --skip-slow -> 11633 passed, diagnosis pytest_passed, peak pytest tree RSS 3506.2 MiB
  • push hook reran devtools verify --quick at aacd4bc -> exit code 0

Ref #2196

Sinity added 2 commits June 20, 2026 08:08
Problem: the demo/visual validation lane now points at real pytest evidence, but its operation targets were not declared in the shared operation catalog, so projection coverage correctly rejected the lane metadata.

What changed: add seed-demo-archive, verify-demo-archive, and reader-visual-dom to the declared control-plane operation specs, with code references to the demo commands and visual smoke tests. Regenerate the quality reference so the declared-operation count matches the catalog.

Verification: devtools test tests/unit/devtools/test_scenario_projections.py::test_all_projection_operation_targets_are_declared -q; devtools test tests/unit/devtools/test_validation_lanes.py tests/unit/devtools/test_release_readiness.py tests/unit/devtools/test_scenario_projections.py tests/unit/cli/test_demo_command.py tests/unit/demo/test_demo_seed_verify.py tests/visual -q; devtools render all --check; devtools verify --quick; devtools verify --seed-testmon --skip-slow.
@coderabbitai

coderabbitai Bot commented Jun 20, 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 30 minutes and 38 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: 70667815-414c-4ebd-91cd-eb5da7552371

📥 Commits

Reviewing files that changed from the base of the PR and between 3b99bbd and aacd4bc.

📒 Files selected for processing (11)
  • .github/workflows/ci.yml
  • AGENTS.md
  • devtools/release_readiness.py
  • devtools/render_quality_reference.py
  • devtools/validation_lane_catalog_contracts.py
  • docs/generate.md
  • docs/internals.md
  • docs/plans/release-readiness-gate.md
  • docs/test-quality-workflows.md
  • polylogue/operations/specs.py
  • tests/unit/devtools/test_validation_lanes.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/refactor/demo-showcase-cleanup-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 20, 2026
@Sinity
Sinity merged commit 5d516a8 into master Jun 20, 2026
15 checks passed
@Sinity
Sinity deleted the feature/refactor/demo-showcase-cleanup-2196 branch June 20, 2026 06:28

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: aacd4bc601

ℹ️ 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".

@Sinity

Sinity commented Oct 1, 2026

Copy link
Copy Markdown
Owner Author

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.

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