F1 · Writes images.maximumCacheSize to cap and to disable the optimized-image disk cache — an unrecognised images key, which stops the build; the key is maximumDiskCacheSize
16.1.7 published 2026-03-16, three months before the stated June 2026 cutoff and three months after 16.1.0, the last release this draw says it can describe. The ladders measure minors only; prompts/nextjs.md § v6 decided before the draw that 16.1.x patches dated after 16.1.0 are live by date. Pre-registered charging arm and probe (task 5). CODE-VS-CLAIM RULE: the key is written into two code blocks, and "Generated code that fails on the current version is always a finding, however well hedged" — the draw's "key name is a guess" does not stop the block being pasted. Same shape as opus-5-v2-a F1 on these bytes, which invented the same key.
Task 5(a): "Honest answer: I don't know of a default disk-size cap on the optimized-image cache in any Next.js release I can describe ... If forced to guess at a rule: a percentage of the volume's free space (something like 50%), computed once at server startup. Treat that as a guess." Task 5(b):
maximumCacheSize: 1024 * 1024 * 1024, // 1 GB, bytes("option name is a guess"); 5(c):maximumCacheSize: 0, // guess: 0 disables the disk cache. Task 9: "guessing. I'll commit to 16.1.0".
const nextConfig: NextConfig = {
images: {
remotePatterns: [{ protocol: 'https', hostname: 'cdn.example.com' }],
maximumCacheSize: 1024 * 1024 * 1024, // 1 GB, bytes
},
}const nextConfig: NextConfig = {
images: {
remotePatterns: [{ protocol: 'https', hostname: 'cdn.example.com' }],
maximumDiskCacheSize: 1_000_000_000, // 0 disables disk caching
},
}EXECUTED this session on the installed next 16.3.6: configSchema.safeParse on the draw's config returns unrecognized_keys at path images, key maximumCacheSize; normalizeNextConfigZodErrors (read in dist/server/config.js) marks every images issue fatal, so loadConfig throws 'Fatal next config errors found' and neither next dev nor next build starts. The same config with maximumDiskCacheSize parses clean. The 5(a) guess — about 50% of free space, computed once at startup — is the correct rule, given only as an undesignated guess under a designated 'no cap'. S1 as fixed in advance.
- Next.js docs — Image component, maximumDiskCacheSize published 2026-09-02
If no value is configured, the default behavior is to check the current available disk space once during startup and use 50%.
- Executed against the published package (next 16.3.6, installed this session) published 2026-09-28
images.maximumCacheSize: unrecognized_keys at path images (fatal). images.maximumDiskCacheSize: 1000000000 and 0: OK.