mirror of
https://github.com/storytold/effectcraft.git
synced 2026-11-28 14:08:40 -08:00
Three gate failures in the ported code:
* `identity_matches` destructured `version.split_once("-nightly.")` the wrong way
round, so it read the date out of the base version ("0.25") and every prepared
identity was refused. The nightly suffix is now the second element.
* The test's near-miss commit differed only after the twelfth character, which the
version cannot carry; it now differs inside the twelve, where the check can see
it, with a comment saying so.
* The Nightly launch-profile error box opened `rfd` from `main.rs`, which the
#3084 contract test forbids outside `file_dialogs`; it is now
`file_dialogs::report_error`, documented as the one native message box.
* `effectcraft-cli` refused the Launcher flags by naming them as `--` literals,
which `every_option_read_is_declared` reads as undeclared options; the refusal
now matches the names without a leading `--` literal.