peal.preflight.check_script_executables

peal.preflight.check_script_executables(path, require_tracked=False)[source]

Check the files a script runs, not the configs it passes.

A config-only check cannot see this class of breakage. Three files the reproduction scripts invoke had never been committed, so the scripts ran here and would have died on a fresh clone, at a line reached only after days of training. require_tracked asks the stricter question, would this survive a clone, and is what a release check wants; the default asks only whether it can run on this machine.

Parameters:
  • path (str)

  • require_tracked (bool)