ad6de29115
The previous attempt put 'middlewareClientMaxBodySize' at the top level of NextConfig — Next 16.1 rejected it as an unrecognised key. Inspecting the shipped config schema (node_modules/next/dist/server/config-schema.js) revealed the option lives under experimental and was renamed to 'proxyClientMaxBodySize' when middleware.ts → proxy.ts; the old name is still accepted but deprecated. Switched to the new name and confirmed Next now lists it in the Experiments banner at boot. While we were at it the cap was bumped to 500MB (was 100MB) so batch uploads have headroom over the 30MB-per-file bucket limit. Added a client-side pre-flight in JobFilesPanel: rejects individual files >30MB and total batches >400MB *before* hitting the server, with inline error messaging instead of a cryptic 'Unexpected end of form' bounce. Also raised serverActions.bodySizeLimit to 500mb to match.