Skip to content

feat(a1): replay preserve-root closure + chmod/chgrp/chown tr! on main - #1731

Merged
caomengxuan666 merged 3 commits into
mainfrom
rust2/a1-wire-devin
Nov 14, 2026
Merged

caomengxuan666 merged 3 commits into
mainfrom
rust2/a1-wire-devin

Conversation

@caomengxuan666

Copy link
Copy Markdown
Member

Rebuilds the #1698 content on current main: preserve-root closure (chmod/chgrp/chown/fsutil, 5 files), 34 tr! keys with GNU inner wording, permission gate rows (chmod 60 / chgrp 29 / chown 47), A1 wiring plan refresh. cargo test -p winux-cmds --lib 889/0. Split artifacts kept for review. Refs #1488

caomengxuan666 and others added 3 commits November 14, 2026 20:05
…batch-2

Re-applies the accepted preserve-root closure hunks from a58b901's
unwind (PR #1698 split) onto current main, merged through batch-2's
i18n surface (#1683):

- argopt: flag_last; "--=v" reports ambiguous over the full table via
  ambiguous_option(); unrecognized long names keep the inline =value
  token via unrecognized_option()
- chmod/chgrp/chown: dash-mode grammar, DerefMachine, dot-spec,
  preserve-root refusal, EOPNOTSUPP silent mapping, -v link skip
- fsutil: shared lexical root recognition, native-root floor, display
  rules; orthogonal to main's literal_operand_path (#1283/#1332/#1333)
- permission-family messages migrate to 34 stable tr! keys
  (command.{chmod,chgrp,chown}.error.*) with named placeholders;
  usage_error(ctx, io, prog, msg) signature throughout

cargo test -p winux-cmds --lib: 889 passed / 0 failed.
Targeted suites: preserve 12/12, floor 2/2, dash 14/14, dot 3/3,
display 2/2, preserve_root 6/6; read-only sentinel assertions intact
(refused passes leave attributes/mtime/size untouched).

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
gen-cases.py +57 lines across chmod_rows/chown_rows/chgrp_rows
(WSL-probed values, unchanged from the #1698 review); regenerated
TSVs: chmod 45->60, chgrp 24->29, chown 37->47. All other 85 tables
re-emit byte-identical to main.

Corpus is now 88 tables / 3635 rows on this base (main added
cp/sed/find/xargs/grep/egrep/fgrep since the 82/2679 audit).

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
- DOCS/2.0-a1-wiring-plan.md re-based to 38b3751: 88 tables/3635 rows,
  registry 88 / wired 53 / rust-ready 35 (egrep+fgrep ride grep's wire),
  CMake double-set() residue flagged for the next wire to collapse,
  batch-2 merge notes, W5->W1->W2->W4->W3 order preserved
- catalog/0001-zh-CN-chmod-chgrp-chown-tr.patch: 34 zh-CN keys +
  VERSION 0.6.35->0.6.36 against winuxcmd-i18n@cd9980d; targeted
  validate of the 34 en/zh pairs: valid. Not applied to the shared
  i18n checkout from this lane
- rust2/split/: preserve-root-closure.patch regenerated as the
  replayed 5-file increment on 38b3751 (closure + tr!, shared hunks);
  a1-wiring-residual.patch kept verbatim (base 68d2917) as the record
  of what was stripped

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@caomengxuan666
caomengxuan666 marked this pull request as ready for review November 14, 2026 12:18
@caomengxuan666
caomengxuan666 merged commit c4b4ef4 into main Nov 14, 2026
8 of 10 checks passed
caomengxuan666 added a commit that referenced this pull request Nov 14, 2026
- companion to WinuxCmd #1731 #1739 #1741 #1742 #1743 and winuxcmd-i18n 0.6.43
- 234 recorded items (216 staged catalog keys + 18 source keys awaiting translation)
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