Defer disabled Flows storage and authenticate protocol refusals
Merged
MI
25d ago+251+251+012345678901234567890123456789-45-45-01234567890123456789
Core startup leaves optional Flows storage and configuration untouched when Flows is disabled. Enabling Flows retains startup validation.
Enrollment and callback routes authenticate before returning a disabled-feature refusal, without spending tokens or recording callbacks. Registration and callback mutations repeat credential checks under their transaction locks. The existing SELFHOST_FEATURES selection and capabilities API remain unchanged.
Validation: typecheck and build pass; focused feature/Flows tests 24 passed; Node22 full suite 894 tests, 881 passed, 0 failed, 13 existing optional PostgreSQL skips.