[scope:core] ANDON terminal tool bug: `UnboundLocalError: cannot access local...¶
[scope:core] ANDON terminal tool bug: UnboundLocalError: cannot access local variable 'andon_warning' β happens intermittently when running Python scripts via terminal that touch bio-bridge DB. The andon guard tries to reference andon_warning in its result dict but the variable is never assigned on clean runs. Workaround: use execute_code to write a temp Python script file, then run it via terminal. This sidesteps the andon guard's variable scoping issue.