Skip to content

refactor(verifiability): remove showcase QA report bureaucracy (#2196) - #2293

Merged
Sinity merged 1 commit into
masterfrom
feature/refactor/demo-verifiability-2196
Jun 21, 2026
Merged

Sinity merged 1 commit into
masterfrom
feature/refactor/demo-verifiability-2196

Conversation

@Sinity

@Sinity Sinity commented Jun 21, 2026 •

Copy link
Copy Markdown
Owner

Summary

Removes the old showcase QA report/baseline layer and keeps the live verification paths: direct scenario execution, reader visual smoke, and the existing machine-readable scenario JSON payload.

Problem

#2196 called out the showcase QA layer as a second verification vocabulary: Markdown summaries, report persistence, cookbook/text artifacts, and committed help snapshots were proving report scaffolding and fossilized help text rather than product behavior. Those files also kept stale command-surface drift around after the demo/CLI/visual paths became the real useful checks.

Solution

Deleted the QA summary/Markdown/report persistence modules, showcase text/cookbook report helpers, committed showcase help baselines, and tests that only validated those artifacts. devtools lab scenario now lists/runs live scenario lanes and prints direct stage statuses for human output while preserving --json for machine consumers. Tests now cover the direct scenario interface, QA workflow state, and JSON envelope behavior.

This does not delete the demo fixture path, synthetic scenarios, CLI subprocess exercises, or visual tests.

Verification

  • devtools test tests/unit/showcase/test_qa_workflow_runtime.py tests/unit/showcase/test_report.py tests/unit/showcase/test_qa_runner_models.py tests/unit/showcase/test_qa_runner_request.py tests/unit/showcase/test_verification_lane.py tests/unit/cli/test_qa.py -> 36 passed
  • devtools render all --check -> sync OK after regenerating topology/docs/agents
  • devtools verify --quick -> exit_code 0
  • pre-push hook reran devtools verify --quick on fd29abd08 -> exit_code 0

Ref #2196

Problem
The #2196 cleanup scope called out the showcase QA reporting layer and committed help baselines as a second verification vocabulary. Those files validated generated report artifacts and stale help snapshots instead of the live demo, CLI, and visual behaviors that now carry the useful checks.

What changed
Removed the QA summary/Markdown/report persistence modules, the text/cookbook showcase report helpers, and the committed showcase help baselines. The verification-lab scenario runner now reports direct stage statuses for human output and keeps the existing JSON payload path for machine consumers. Tests now cover the live scenario list, direct stage summary, QA workflow state, and JSON envelope behavior without asserting removed names stay absent.

Verification
- devtools test tests/unit/showcase/test_qa_workflow_runtime.py tests/unit/showcase/test_report.py tests/unit/showcase/test_qa_runner_models.py tests/unit/showcase/test_qa_runner_request.py tests/unit/showcase/test_verification_lane.py tests/unit/cli/test_qa.py -> 36 passed
- devtools render all --check -> sync OK after regenerated topology/docs/agents
- devtools verify --quick -> exit_code 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 9 minutes and 43 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: 33d4fd02-9b59-4b39-9b18-05adb418a07f

📥 Commits

Reviewing files that changed from the base of the PR and between 7ab6dbe and fd29abd.

📒 Files selected for processing (79)
  • AGENTS.md
  • README.md
  • devtools/command_catalog.py
  • devtools/lab_scenario.py
  • docs/devtools.md
  • docs/plans/topology-target.yaml
  • docs/topology-status.md
  • polylogue/showcase/qa_markdown.py
  • polylogue/showcase/qa_runner.py
  • polylogue/showcase/qa_runner_reporting.py
  • polylogue/showcase/qa_runner_workflow.py
  • polylogue/showcase/qa_summary.py
  • polylogue/showcase/report_files.py
  • polylogue/showcase/showcase_report_text.py
  • tests/baselines/showcase/help-analyze.txt
  • tests/baselines/showcase/help-config.txt
  • tests/baselines/showcase/help-continue.txt
  • tests/baselines/showcase/help-delete.txt
  • tests/baselines/showcase/help-demo-script.txt
  • tests/baselines/showcase/help-demo-seed.txt
  • tests/baselines/showcase/help-demo-verify.txt
  • tests/baselines/showcase/help-demo.txt
  • tests/baselines/showcase/help-import.txt
  • tests/baselines/showcase/help-init.txt
  • tests/baselines/showcase/help-main.txt
  • tests/baselines/showcase/help-mark.txt
  • tests/baselines/showcase/help-ops-auth.txt
  • tests/baselines/showcase/help-ops-backup.txt
  • tests/baselines/showcase/help-ops-debt-list.txt
  • tests/baselines/showcase/help-ops-debt.txt
  • tests/baselines/showcase/help-ops-diagnostics-space.txt
  • tests/baselines/showcase/help-ops-diagnostics-workload.txt
  • tests/baselines/showcase/help-ops-diagnostics.txt
  • tests/baselines/showcase/help-ops-doctor.txt
  • tests/baselines/showcase/help-ops-embed-backfill.txt
  • tests/baselines/showcase/help-ops-embed-disable.txt
  • tests/baselines/showcase/help-ops-embed-enable.txt
  • tests/baselines/showcase/help-ops-embed-preflight.txt
  • tests/baselines/showcase/help-ops-embed-status.txt
  • tests/baselines/showcase/help-ops-embed.txt
  • tests/baselines/showcase/help-ops-insights-audit.txt
  • tests/baselines/showcase/help-ops-insights-cost-rollups.txt
  • tests/baselines/showcase/help-ops-insights-costs.txt
  • tests/baselines/showcase/help-ops-insights-coverage.txt
  • tests/baselines/showcase/help-ops-insights-debt.txt
  • tests/baselines/showcase/help-ops-insights-export.txt
  • tests/baselines/showcase/help-ops-insights-phases.txt
  • tests/baselines/showcase/help-ops-insights-profiles.txt
  • tests/baselines/showcase/help-ops-insights-status.txt
  • tests/baselines/showcase/help-ops-insights-tags.txt
  • tests/baselines/showcase/help-ops-insights-threads.txt
  • tests/baselines/showcase/help-ops-insights-timeline.txt
  • tests/baselines/showcase/help-ops-insights-tool-usage.txt
  • tests/baselines/showcase/help-ops-insights-work-events.txt
  • tests/baselines/showcase/help-ops-insights.txt
  • tests/baselines/showcase/help-ops-maintenance-archive-init.txt
  • tests/baselines/showcase/help-ops-maintenance-archive-plan.txt
  • tests/baselines/showcase/help-ops-maintenance-archive-read.txt
  • tests/baselines/showcase/help-ops-maintenance-assertion-export.txt
  • tests/baselines/showcase/help-ops-maintenance-backup-plan.txt
  • tests/baselines/showcase/help-ops-maintenance-blob-gc.txt
  • tests/baselines/showcase/help-ops-maintenance-gc-history.txt
  • tests/baselines/showcase/help-ops-maintenance-plan.txt
  • tests/baselines/showcase/help-ops-maintenance-preview.txt
  • tests/baselines/showcase/help-ops-maintenance-run.txt
  • tests/baselines/showcase/help-ops-maintenance-status.txt
  • tests/baselines/showcase/help-ops-maintenance.txt
  • tests/baselines/showcase/help-ops-reset.txt
  • tests/baselines/showcase/help-ops-status.txt
  • tests/baselines/showcase/help-ops.txt
  • tests/baselines/showcase/help-read.txt
  • tests/baselines/showcase/help-select.txt
  • tests/unit/cli/test_qa.py
  • tests/unit/showcase/test_operator_reporting_runtime.py
  • tests/unit/showcase/test_qa_markdown.py
  • tests/unit/showcase/test_qa_runner.py
  • tests/unit/showcase/test_qa_workflow_runtime.py
  • tests/unit/showcase/test_report.py
  • tests/unit/showcase/test_verification_lane.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/refactor/demo-verifiability-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

@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: fd29abd08f

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

Comment thread tests/unit/showcase/test_qa_runner.py Resolved
@Sinity
Sinity merged commit 6702b11 into master Jun 21, 2026
14 checks passed
@Sinity
Sinity deleted the feature/refactor/demo-verifiability-2196 branch June 21, 2026 19:18
Sinity added a commit that referenced this pull request Jun 21, 2026
…2295)

## Summary

Deletes the remaining QA-session/report wrapper around showcase
verification while keeping the real archive-smoke, demo, and visual
behaviors. `devtools lab scenario run archive-smoke` now runs
`ShowcaseRunner` directly, checks invariants directly, and returns a
compact scenario status payload for `--json`.

## Problem

#2196 is not just about having demo commands; it is about removing the
extra QA/showcase bureaucracy once direct demo, CLI, and visual checks
exist. After #2293, several report payload modules, orphaned CLI QA
helpers, and the QA session workflow still kept an
audit/coverage/session-report vocabulary alive even though no public CLI
command used it.

## Solution

- Removed `qa_session_payload`, `report_models`, `report_common`, and
`showcase_report_payloads`.
- Removed orphaned `polylogue/cli/shared/qa_*` snapshot/capture helpers
and their tests.
- Changed `devtools lab scenario --json` to emit `{scenario, stages,
failed_stages, ok, report_dir}` directly.
- Rewired `devtools lab scenario run archive-smoke` to call
`ShowcaseRunner` and `check_invariants` directly.
- Removed the now test-only `qa_runner*` request/workflow/model/stage
modules and their direct tests.
- Removed deleted showcase QA tests from the semantic validation lane.
- Regenerated topology projection/status after deleting the Python
modules.

This deliberately does not close #2196. The remaining live scope is the
broader showcase exercise catalog/runner stack (`exercise_catalog.json`,
`ShowcaseRunner`, and many `tests/unit/showcase/*` tests). Those still
power `archive-smoke`; they need a separate replacement/deletion pass
once ordinary demo/CLI/visual tests cover the same behavior directly.

## Verification

- `devtools test tests/unit/showcase/test_verification_lane.py
tests/unit/showcase/test_qa_workflow_runtime.py
tests/unit/showcase/test_qa_runner_request.py
tests/unit/cli/test_deterministic_output.py
tests/unit/devtools/test_render_quality_reference.py` -> 111 passed in
26.24s
- `devtools test tests/unit/showcase/test_verification_lane.py
tests/unit/showcase/test_runner.py
tests/unit/showcase/test_showcase_runner_support_runtime.py
tests/unit/showcase/test_invariants_runtime.py` -> 28 passed in 2.20s
- `devtools lab scenario list --json && devtools lab scenario run
archive-smoke --tier 0 --json` -> `ok: true`
- `devtools verify --quick` -> exit_code 0
- pre-push hook reran `devtools verify --quick` after both commits ->
exit_code 0

Ref #2196
@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