Skip to content

Lab: describe_program lists the program's prechecks (Slice 4) - #511

Merged
dayfine merged 1 commit into
lab/toolingfrom
lab/slice-4
Nov 15, 2026
Merged

dayfine merged 1 commit into
lab/toolingfrom
lab/slice-4

Conversation

@dayfine

@dayfine dayfine commented Nov 15, 2026

Copy link
Copy Markdown
Owner

Base: lab/tooling; the diff shows only this change. Part of #131 Slice 4 (follows #504).

describe_program always printed "prechecks":"unsupported", because a program had no way to say which checks it runs. ProgramInstance now has precheck_summaries(): the program's prechecks in run order, each a name, a one-line "needs" and whether the user can turn it off, or nothing when it declares no list. describe_program prints the list as [{"name","needs","skippable"}] (an empty list means the program needs nothing); without a list it still prints unsupported. No program overrides it on this branch: the Precheck list and FRLG RNG's checks (#485) live on upstream/frlg-free-party-slots, which lab/tooling does not contain yet. Tested with new cases in the CommonFramework::LabProgramContract unit tests and a syntax-only compile of the touched files; no console run.

Code health: 1 advisory failure, ProgramSession goes from 26 to 27 public methods (the accessor that reads the instance's list).

ProgramInstance gains precheck_summaries(): the program's prechecks in the
order it runs them (name, needs, skippable), or nothing when it declares no
list. describe_program prints them under "prechecks", or "unsupported" as
before. No program declares a list on this branch yet; FRLG RNG's list
(fork #485) overrides it once that reaches lab/tooling.
@dayfine
dayfine marked this pull request as ready for review November 15, 2026 05:31
@dayfine
dayfine merged commit a5f921c into lab/tooling Nov 15, 2026
8 of 9 checks passed
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