Repository navigation
Conversation
Signed-off-by: taljeon <[email protected]>
📊 Automated PR Analysis
SummaryExtends the rewrite prefix regex to preserve repeated Review Checklist
Linked issues: #4099 Analyzed automatically by wshm · This is an automated analysis, not a human review. |
Signed-off-by: taljeon <[email protected]>
|
Resolved the new develop conflict in existing branch head The shared prefix helper keeps unset-option parsing for classification/rewrite separate from the permission gate's existing own-option boundary. Two new regressions detect an incorrect shared grammar; exclusions, Fresh root-package validation: fmt/clippy passed; 4,287 unit checks passed with 8 existing ignored, plus 327 integration checks on macOS arm64. The body documents the identical base/candidate sandbox TCP failure and the clean candidate-only final build. Earlier shared-target output is not used as candidate proof. Draft status is unchanged. New-head CI and maintainer review remain separate; no workflow approval/rerun, reviewer request or upstream merge. This continues the existing env-only scope, not the separate sudo feature. |
Summary
env -u NAMEand GNUenv --unset[=]NAMEoptions while preserving the wrapper text, exclusions,RTK_DISABLED, and intentionalsudopassthrough.developwithout changing its permission rules. Classification/rewrite consume unset options; permission readings retain upstream's boundary atenv's own options.This is the
env -uportion of #4099, not a closing fix for the separate sudo design in #146/#2810. The shared assignment grammar remains in one helper, with two new regressions pinning the rewrite/permission split and deny/ask/allow verdicts.Current head:
c282557443cd94e883fa68cf442b0eb2a36af0ae, merged withdevelop@263cb43598d7dcbdaf94aa2383e543e5cbae91c3. The PR diff against develop remains one registry file; upstream changes are not claimed as new implementation here.Test plan
Fresh on this merged source, Rust 1.98.0 / macOS arm64:
cargo +1.98.0 fmt --all --checkcargo +1.98.0 clippy --offline --locked --all-targetscargo +1.98.0 test --offline --locked --all-targetsfor the root package: 4,287 unit checks passed / 8 existing ignored, plus 327 integration checks across 36 targets. The Windows-only target runs zero cases on macOS.The synthetic localhost-listener test initially failed under sandbox restrictions on both candidate and pristine develop, with the same source blob. The final all-targets run used the normal approved host execution path, no warning suppression, removed tests or weakened guards. A shared-target run was discarded after its test inventory showed base artifacts; the reported run uses a fresh candidate-only target directory.
This is not Linux/Windows, proxy-package or whole-workspace testing, a new token-savings benchmark, or upstream CI success. The PR remains draft awaiting maintainer review/new-head checks; no Ready transition, workflow approval/rerun, reviewer request or upstream merge was performed.
AI assistance: OpenAI Codex reconciled and verified the bounded change; no Qwen generation or new external AI provider connection. The new merge commit uses the GitHub noreply identity and DCO sign-off.