Skip to content

feat(mv): rust2 mv reland — 9 GNU 9.4 gaps implemented, exchange re-pinned, 158-row gate (#1488) - #1773

Merged
caomengxuan666 merged 1 commit into
mainfrom
rust2/mv-complete
Nov 15, 2026
Merged

caomengxuan666 merged 1 commit into
mainfrom
rust2/mv-complete

Conversation

@caomengxuan666

Copy link
Copy Markdown
Member

Reland of the mv wire with the completion work (G4 report: devin-out-G4.md). The #1764 wire was reverted in #1772 because 12 C++ mv tests failed; every one is now adjudicated by a WSL GNU 9.4 oracle probe first.

Implemented (GNU-native gaps in the port): directory-into-itself detection + GNU error; trailing-slash destination error; invalid --interactive mode error; #1283 drive-colon carrier fold; #374 control-byte escapes in diagnostics (x3); #1726 empty-destination failure.

Re-pinned (9.5 DIFFERS on the 9.4 oracle, probe-attested): the --exchange family x3 — GNU 9.4 rejects --exchange (rc 1, unrecognized option); the tests now pin that contract per the mv lane's [DIFFERS] note.

Gate: mv.tsv 146 -> 158 rows, 158/158 green; mv.* gtest 47/47; cp gate 105/105; cargo mv::tests 29/29; WSL byte-parity 12/12; full gtest 4021/4037 (16 pre-existing env items).

i18n: zero new user-visible messages — the 52 tr! keys map to the restored catalog patch (companion for unixwin/winuxcmd-i18n lands at merge time, captain-sequenced).

Sequencing note: merge together with the i18n companion push so drift stays symmetric (the #1764 lesson: source and catalog land as one unit).

…ly re-pinned, 158-row gate (#1488)

Reland of the mv wire (#1764, reverted in #1772) with the completion
work G4 (devin-out-G4.md) — every one of the 12 previously-failing
tests adjudicated by WSL GNU 9.4 oracle probe first:

IMPLEMENTED (GNU-native semantics the port lacked):
- directory-into-itself subdirectory detection + GNU error
- trailing-slash destination-not-directory error
- invalid --interactive mode error
- 1283 drive-colon carrier fold in mv's operand boundary
- #374 control-byte escapes in cannot-stat/same-file diagnostics (x3)
- #1726 empty-destination failure

RE-PINNED (9.5 DIFFERS extension on the 9.4 oracle, probe-attested):
- --exchange family x3: GNU 9.4 rejects --exchange (unrecognized
  option rc 1); the tests now pin that contract, matching the mv
  lane's [DIFFERS] note in the shim.

Gate: mv.tsv 146 -> 158 rows (new rows cover each implemented
semantics), 158/158 green. mv.* gtest 47/47 (the 12 targets all
pass). cp gate 105/105; cargo mv::tests 29/29. WSL byte-parity
12/12. Full gtest 4021/4037 (16 pre-existing env items). i18n: zero
new messages — the 52 tr! keys hit the restored catalog patch
(companion lands with this PR in unixwin/winuxcmd-i18n).
@caomengxuan666
caomengxuan666 merged commit a0cfcd7 into main Nov 15, 2026
8 of 10 checks passed
aphrody-dev pushed a commit to aphrody-labs/WinuxCmd that referenced this pull request Nov 20, 2026
The inventory still called six commands c++-only after their rust2
library/wire landed. Rows now say state=wired, status=rust2-wired,
engine=rust2, with commit evidence in the anchor:

- ls:   unixwin#1762 library 3025942; f87be22 wire (this branch)
- rm:   unixwin#1751 library 38e6835; f14bc60 wire (this branch)
- find: unixwin#1634 library; 792c31f (unixwin#1696 wire); unixwin#1633/unixwin#1658 help/version
- grep: unixwin#1660 library; 0eb0d28 (unixwin#1660 wire); -P face stayed on the C++
        PCRE2 path per DOCS/2.0-regex-engine-decision.md
- mv:   unixwin#1649; a0cfcd7 (unixwin#1773 reland that wired the 1.x retirement)
- sed:  unixwin#1635 library; f36f306 (unixwin#1690 wire)

No code changes; loc/oracle/test columns are historical measurements and
stay as recorded.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant