stdin key comes from fw_spec, not prev_output