Skip to content

Support concrete playback for the autoharness subcommand #5109

Description

@feliperodri

The autoharness subcommand rejects -Z concrete-playback with "The autoharness subcommand does not support concrete playback" (kani-driver/src/args/autoharness_args.rs). A failing automatic harness therefore cannot be turned into a unit test that reproduces the counterexample, unlike a manually written #[kani::proof] harness.

Part of the work to make concrete playback stable (see #1481). This is currently documented as a limitation in the autoharness reference page.

Open questions:

  1. Generated harnesses are synthesized in the compiler, so playback needs a source location to inject the test into. Where should the generated test go?
  2. Several argument models (Vec, Box/Rc/Arc, Fn-bound closures, bounded generators) would need to be reconstructible from the counterexample values.

Activity

  1. added
    [C] Feature / Enhancement
    on Nov 2, 2026
  2. added this to the Concrete Playback milestone on Nov 2, 2026
  3. added
    Z-Autoharness
    on Nov 2, 2026
  4. self-assigned this
    on Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Z-Autoharness[C] Feature / Enhancement

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions