Skip to content

audit(713): third nested-context pass — 56 probes, #934 faces pinned, $0-spelling normalized - #941

Merged
caomengxuan666 merged 1 commit into
masterfrom
fix/713
Oct 20, 2026
Merged

caomengxuan666 merged 1 commit into
masterfrom
fix/713

Conversation

@caomengxuan666

Copy link
Copy Markdown
Member

Summary

Third pass of the #713 nested-context inheritance audit on master d4fc195c.

Measurement

cases=56 divergences=9 — all nine are the #934 faces; zero regressions on the #720/#825/#826 cells.

Oracle caveat: this run's GNU leg used native MSYS2 GNU bash 5.2.37(1) (GNU_CMD="D:/Git/bin/bash.exe") because WSL was unavailable to the runner. All measured cells are fork-emulation semantics MSYS2 implements faithfully, and every probe is a file-form script comparison per the harness rules — but the canonical WSL GNU bash 5.3.0 leg should be re-confirmed at merge time.

Test plan

Refs #713, refs #934

… $0-spelling normalized (#713)

Third pass of the nested-context inheritance audit on master d4fc195.

- Harness 45 -> 56 cases: real probes for the doc-cited function fd-table
  and diagnostic cells (fd3-into-function, func-stderr-route — both G),
  plus nine probes pinning the new defect.
- New defect filed as #934: the #826 contract (parse-order apply +
  redirection_error through the fd-2 binding in force, vendored
  redir.c:767-955 / redir.c:135) only landed on the { } wrapper path.
  Every other apply path reports a redirect OPEN failure through the
  real stderr — simple, function, ( ), if/while/for/case/until,
  pipeline stage, comsub, even persistent exec 2>file — and on the
  ( )/compound paths the earlier 2> open's side effects never happen
  (stale cap file survives; GNU truncates). Status and single emission
  are correct everywhere; dup-failure diagnostics already route right.
- Harness now normalizes the $0 case-path spelling (D:\..., /d/...,
  /mnt/d/... -> <CASE>) on both streams so D1 brand noise no longer
  mimics or masks divergences; routing/line/message/status stay
  byte-compared. divergences=N is a clean signal again.
- Doc: diagnostic-ownership and dup-ordering rows re-marked BUG #934;
  3.1/3.2 marked FIXED; 3.3 tickets recorded closed; 3.4 added with
  the two faces; 6 records the run (MSYS2 GNU 5.2.37 leg — WSL
  unavailable to this runner; canonical WSL 5.3.0 leg to re-confirm).

Run: cases=56 divergences=9, all nine #934 faces, zero regressions on
the #720/#825/#826 cells.

Refs #713, refs #934
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