Skip to content

refactor: migrate audit generate and showcase exercises to lab surface #337

Closed

Description

@Sinity

Parent

Part of #331. Depends on the lab-surface decision in #336.

Context

polylogue audit generate and showcase exercises are the clearest examples of verification-lab functionality living under the product CLI. They generate synthetic worlds and run proof/demo exercises rather than operating a user's archive.

Current examples:

polylogue audit generate --seed --env-only
polylogue audit --only exercises --tier 0

Candidate target examples:

polylogue-lab corpus seed --name demo --env
polylogue-lab scenario run archive-smoke --tier 0

Scope

  • Move synthetic corpus/demo generation to the lab surface.
  • Move showcase exercise execution to the lab surface.
  • Update generated CLI references and docs.
  • Keep product polylogue help product-shaped.
  • Avoid indefinite alias/deprecation debt.

Acceptance criteria

  • Synthetic generation is reachable from the lab surface.
  • Showcase/exercise smoke flow is reachable from the lab surface.
  • Product CLI docs no longer present lab-only commands as normal archive operations.
  • Tests cover help output and at least one execution path.
  • Migration notes state whether old commands are removed immediately or retained only for one explicit transition window.

Activity

  1. added
    type:refactor
    theme:command-surface
    phase:migration
    on Apr 21, 2026
  2. Sinity commented on Apr 22, 2026

    @Sinity
    OwnerAuthor

    Tactic for #337:

    • Target the feat: decide verification lab command surface after proof kernel #336 accepted devtools verification-lab surface, not a new polylogue-lab executable.
    • Add explicit lab commands for corpus/demo seeding and showcase exercise smoke runs.
    • Move corpus generation implementation behind reusable showcase helpers so the new devtools command is not a product CLI alias.
    • Remove polylogue audit generate immediately rather than carrying an indefinite compatibility alias.
    • Keep polylogue audit product-shaped by removing the exercise-only command path from product help/validation and documenting the migration.
    • Regenerate CLI/devtools/quality/proof docs and cover help plus one execution path locally.
  3. Sinity commented on Apr 22, 2026

    @Sinity
    OwnerAuthor

    Checkpoint for #337 lab-surface migration:

    • Added devtools lab-corpus generate and devtools lab-corpus seed for verification-lab corpus/demo workspaces.
    • Added devtools lab-scenario run archive-smoke, including --live so the existing live exercise lane stays archive-backed.
    • Removed polylogue audit generate and narrowed polylogue audit to product/archive QA: schema audit plus artifact proof.
    • Regenerated CLI/devtools/quality/verification docs and showcase help baselines.

    Verification so far:

    • focused pytest command: 317 passed
    • devtools render-all --check: OK
    • devtools verify-showcase: OK
    • devtools verify: all checks passed

    Next: commit, push, and open the PR.

  4. added 15 commits that reference this issue on Apr 22, 2026
    854b392
    9d1400c
    b5955e5
    32fa13e
    ea948a0
    3282a77
    5c5ae56
    458c212
    8e2b879
    13280e6
    59e7c65
    bbcad2e
    fbc1c7b
    faac018
    bf42b66
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:cliarea:qaphase:migrationtheme:command-surfacetype:refactor

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions