Repository navigation
feat(a1): replay preserve-root closure + chmod/chgrp/chown tr! on main - #1731
Merged
Merged
Conversation
…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
marked this pull request as ready for review
November 14, 2026 12:18
caomengxuan666
added a commit
that referenced
this pull request
Nov 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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