What prompts your concern? I don't think Debian sets a hard stack limit. Unlimited stack tends to trigger less-tested ASLR code paths and breaks things.
More testing is possibly a good reason to have unlimited as default but I actually thought root was required to raise it. It seems not so sorry for the noise. Perhaps it should be higher by default but the likelihood of recursive hitting any limit is valid. However perhaps as low as 8 meg is more likely to prevent the job completing than protect the system in 2025 even on rpi though the application should be able to raise it easily enough. -- Regards, Kc