Skip to content

Preflight original class retention before experiment modes - #583

Open
CaelmBleidd wants to merge 1 commit into
caelmbleidd/pbt-public-experimentfrom
caelmbleidd/pbt-experiment-preflight
Open

CaelmBleidd wants to merge 1 commit into
caelmbleidd/pbt-public-experimentfrom
caelmbleidd/pbt-experiment-preflight

Conversation

@CaelmBleidd

@CaelmBleidd CaelmBleidd commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

An experiment class can disappear from frontend output while its wrapper still maps successfully. Add a source-preserving campaign-preflight command that independently checks the original class declaration and executable IR bodies, the original predicate/precondition mappings, and the declared symbolic projection capability before any comparison mode runs. Failure remains explicit and does not rewrite the source to make it pass.

This is stacked on #581 at 028d5b0c116502525cdb2329f24bde665807922f; own diff is 3 files, +173/-4. It adds no new execution loop or path selector. Only the own commit should move to main after the public campaign dependencies are merged.

Validation: a real frontend regression distinguishes the retained class from a missing class and checks that original source bytes remain unchanged. Both JSON campaign regressions also passed; main/test Detekt reports zero findings. The installed distribution passed a four-mode functional pilot with a retained original class. This is frontend/capability preflight, not proof that every runtime feature or path is supported.

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