check: block reads the value of a sensitive input (@ui(sensitive=True) or @ui(widget="password")). An install host keeps a sensitive value out of the render and passes a placeholder instead, so a check on the value tests the placeholder: a length check passes by chance and a pattern check always fails. akua pkg check reports it, akua pkg publish refuses it.
How to fix it
Test a sensitive input only for presence and validate its value in the application:x == "", x != "", x != None, x is not None, not x, x as a condition, and all v in [x, y] { v != "" } (or any).
Shape
Related topics
Error codes
What each structured error means and how to resolve it.
akua pkg commands
Every command, the universal flags and the exit codes.