DashboardcraftEnforce explicit edge-case invariants

Enforce explicit edge-case invariants

Category: preference
Confidence: 0.80
ID: 01a03ab8-9185-7df6-9e12-dac601c2d03e
Project ID: e16af391-c497-4837-b681-c849a5514499
Cross-project: No
Recalled in other projects: 0
Source session: 0oRfvuTfUX4YBbPyZ
Created: 2026-08-24 16:58:00
Updated: 2026-08-25 20:59:29

Content

Enforce narrow configuration and CLI invariants with targeted tests. Prerelease compatibility relaxation applies only to the running/current Craft version: current X.Y.Z-dev.0 may satisfy minVersion through X.Y.Z, but never normalize or weaken the configured minimum. CLI parsing must never consume a following flag as an option value. Treat bare, empty, flag-followed, or otherwise invalid workspace options as invalid and preserve environment fallback where applicable; distinguish valid inline values. Test malformed and repeated options, -- terminators, fallback behavior, and valid/invalid configuration paths.

Move to: