You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Follow-up from the ecosweep4-B triage (wt23/bats364, 2026-10-01; table: docs/ecosweep4-B-reds-triage-2026-10-01.md). executor_tests is the single biggest bucket (171 at the ecosweep4 zero point a522eb3; 172 on 2e6b0e9 — same set, extraction-granularity difference; NOT affected by the #364 fix). Spread over ~80 part files; lane sampled five families, full classification needs its own pass.
Sampled evidence
part_008 test_bash_version_and_versinfo_are_initialized pins 5.2.37; the binary reports 5.2.21(1)-release. Compat target is GNU 5.3.0 → the reported version string is a POLICY question for the captain (which string should rubash/niu report?), then update the pin.
part_013 test_bash_aliases_reflects_alias_table expects key order bar,foo; WSL GNU 5.3.0 prints foo,bar for the same script — rubash matches GNU. Flip the assertion (GNU assoc order is unstable — prefer sorting in the test).
part_059 test_bashopts_assignment_reports_readonly (and part_042 compgen statuses): rc divergences that did NOT reproduce in direct probes (BASHOPTS=abc true; echo $? → GNU and rubash both print the readonly error then 0; compgen filtered/no-match statuses match GNU). The test bodies use contexts that differ from the probes — read each test's exact script before touching engine code.
Suggested approach
Group the 172 by root-cause family (version strings / ordering / diagnostic wording / fd+stream plumbing (cross-ref #370) / genuinely semantic), classify against WSL GNU 5.3.0 script-file probes, then land engine fixes (with GNU citations) and test updates in separate commits.
harness posture: 34 in-process tokenize()+execute_ast() tests converted to the real CLI (run_cli_script) — those constructs need the parse-execute cadence; 26 inputs additionally normalized to the GNU-valid multiline form (GNU rejects the one-line shopt -s ...; alias ...; usage form — probes H16/H17/H18); false; ; echo now asserts the GNU-identical syntax error.
Remaining 119 classified by K-series probes (84 exact scripts probed, 51 byte-identical at the CLI = same posture class needing per-test conversion; 33 DIFF = real gaps): follow-ups filed as #394 (combined >(cmd > file) redirect on compound commands), #395 (break/continue 0), #396 (consolidated residue: time-in-pipeline, source-procsub, compgen readonly, read -u fd, indirect case-mod, invalid-octal wording, touch glob filename, ! pid), plus #392/#393 from the mechanical pass.
Probe artifacts: target/issue-suites/results/wt33-373/run/ (A-H, K series; .gnu/.rub pairs; runner run_cases.sh). Caveat: K001/K005-family extracts with embedded \n escapes were mechanically produced and two were corrupted — re-verify a probe before relying on its IDENT verdict.
First pass landed (eb5d3dbe on master): 174 -> ~119-121 reds. 12 expectation flips (5.2.37->5.3.x version patterns, readonly mid-list abort, assoc key-order-insensitive asserts, path domains, let **= rejection, declare -ai, ${|} REPLY isolation, fg wording); 34 posture conversions to run_cli_script (real CLI child, byte-identical to GNU — the in-process tokenize+execute model cannot express alias-introduced keywords / inline shopt parse rhythm); genuine gaps filed: #392-#396. The remaining ~119: the lane's K-probe says 51 are the same CLI-posture class (convert mechanically) and 33 are real family gaps (already filed or to be batched); two K probes had corrupted script text (K001/K005) — re-verify before relying on their IDENT verdicts. Keeping OPEN for the second pass.
wt37/exec2 second pass (commits cfee1bed + aa818a1b on wt37/exec2): executor_tests 121 -> 0 red (1524 passed / 63 ignored / 0 failed; cargo test --lib 560 green; cargo fmt clean; zero product changes).
Method: all 121 reds mechanically re-extracted (Rust-literal-aware extractor with a dual-decoder fidelity check — the K001/K005 corruption class from round 1 is now structurally guarded) and probed as script files through WSL GNU 5.3.0 and the rubash CLI with byte-compared stdout/stderr/rc/output-files. Two probe-harness defects found and fixed en route: the GNU side initially ran /d/-path scripts (17 cases re-baselined, 6 false DIFFs → IDENT), and sandbox file-watching missed the per-case dir for @@root@@ tests (5 more false IDENTs corrected, incl. the round-1-converted part_005 case-command test whose IDENT verdict was wrong — now rubash#405).
Second pass landed (6b9e629 + 871a9bc): executor_tests 121 reds -> 0 (1524 passed / 63 ignored, every ignore attributed to a ticket or documented env cause). 60 posture/stale-expectation conversions (run_cli_script with GNU 5.3.0 evidence, dynamic path expectations); 60 true gaps — 30 already ticketed, 30 newly filed as #397-#412 (each with minimal reproducer + GNU contrast; #399 is the notable carrier-domain one: dynamic-fd here-string reads leaking 0x1D control bytes); 1 env-noise ignore (mktemp absent in the WSL mirror). The lane also re-audited round 1's K probes: found and fixed two more probe artifacts (17 GNU-side re-runs, 6 false-DIFFs flipped; sandbox watcher missed case dirs, 5 false-IDENTs flipped to real gaps) and falsified one round-1 'byte-identical' conversion (now #405) — the probe infrastructure now has a dual-decoder consistency check against the K001/K005 corruption class. Product code: zero changes. Closing; the 60 gap tickets are the live backlog.
Activity
fix(#364): assignment RHS never re-executes procsub text from expansi…
caomengxuan666 commentedon Oct 2, 2026
wt33/testmaint first pass (commit eb5d3dbe): executor_tests 174 -> 119 reds.
Resolved 55:
shopt -s ...; alias ...; usageform — probes H16/H17/H18);false; ; echonow asserts the GNU-identical syntax error.Remaining 119 classified by K-series probes (84 exact scripts probed, 51 byte-identical at the CLI = same posture class needing per-test conversion; 33 DIFF = real gaps): follow-ups filed as #394 (combined >(cmd > file) redirect on compound commands), #395 (break/continue 0), #396 (consolidated residue: time-in-pipeline, source-procsub, compgen readonly, read -u fd, indirect case-mod, invalid-octal wording, touch glob filename, ! pid), plus #392/#393 from the mechanical pass.
Probe artifacts: target/issue-suites/results/wt33-373/run/ (A-H, K series; .gnu/.rub pairs; runner run_cases.sh). Caveat: K001/K005-family extracts with embedded \n escapes were mechanically produced and two were corrupted — re-verify a probe before relying on its IDENT verdict.
tests(#374): executor_tests mechanical flips + alias/extglob posture …
caomengxuan666 commentedon Oct 2, 2026
First pass landed (eb5d3dbe on master): 174 -> ~119-121 reds. 12 expectation flips (5.2.37->5.3.x version patterns, readonly mid-list abort, assoc key-order-insensitive asserts, path domains, let **= rejection, declare -ai, ${|} REPLY isolation, fg wording); 34 posture conversions to run_cli_script (real CLI child, byte-identical to GNU — the in-process tokenize+execute model cannot express alias-introduced keywords / inline shopt parse rhythm); genuine gaps filed: #392-#396. The remaining ~119: the lane's K-probe says 51 are the same CLI-posture class (convert mechanically) and 33 are real family gaps (already filed or to be batched); two K probes had corrupted script text (K001/K005) — re-verify before relying on their IDENT verdicts. Keeping OPEN for the second pass.
caomengxuan666 commentedon Oct 2, 2026
wt37/exec2 second pass (commits cfee1bed + aa818a1b on wt37/exec2): executor_tests 121 -> 0 red (1524 passed / 63 ignored / 0 failed; cargo test --lib 560 green; cargo fmt clean; zero product changes).
Method: all 121 reds mechanically re-extracted (Rust-literal-aware extractor with a dual-decoder fidelity check — the K001/K005 corruption class from round 1 is now structurally guarded) and probed as script files through WSL GNU 5.3.0 and the rubash CLI with byte-compared stdout/stderr/rc/output-files. Two probe-harness defects found and fixed en route: the GNU side initially ran /d/-path scripts (17 cases re-baselined, 6 false DIFFs → IDENT), and sandbox file-watching missed the per-case dir for @@root@@ tests (5 more false IDENTs corrected, incl. the round-1-converted part_005 case-command test whose IDENT verdict was wrong — now rubash#405).
Three-way split of the 121:
case ... esac | cmd— case command as a pipeline stage is rejected (GNU accepts) #385/coproc: body stdout leaks one blank line to the real stdout (GNU discards it) #387/combined>(cmd > file)redirect on compound commands fails with Invalid argument (brace/case/for/if/select/subshell/while/time bodies, 12 tests) #394/break 0/continue 0succeed instead of erroring (GNU: rc 1 + usage diagnostic) #395/wt33 #374 residue: time-in-pipeline stages + assorted probe-verified divergences (source-procsub, compgen readonly, read -u fd, indirect case-mod, invalid-octal wording) #396 (existing) plus 16 new probe-evidenced issues read -a: backslash-escaped delimiters are kept literal in array elements (GNU strips the escape and joins) #397-function as pipeline stage with stdout redirect loses the stage output #412 (read -a escapes, read -t 0, 0x1D carrier leak on dynamic-fd here-strings, jobs finished-state wording, declare conversion rc, ${var:=} readonly rc, BASH_SUBSHELL depth, arith recursion side-effects, comsub reserved-word case patterns, bare declare quoting, select stdin redirect, nameref cycle warning count, declare -rx no-value, posix typeset +x, diagnostic line numbering, function pipeline-stage redirect).Probe artifacts: target/issue-suites/results/wt37-374/run/ (K001-K121 .gnu/.rub pairs + classified.json); extractor/runner under target/wt37/scripts/. Not pushed; awaiting captain review.
tests(#374): wt37 round-2 CLI-posture conversions with GNU 5.3.0 evid…
tests(#374): wt37 round-2 gap families ignored with tickets + residua…
caomengxuan666 commentedon Oct 2, 2026
Second pass landed (6b9e629 + 871a9bc): executor_tests 121 reds -> 0 (1524 passed / 63 ignored, every ignore attributed to a ticket or documented env cause). 60 posture/stale-expectation conversions (run_cli_script with GNU 5.3.0 evidence, dynamic path expectations); 60 true gaps — 30 already ticketed, 30 newly filed as #397-#412 (each with minimal reproducer + GNU contrast; #399 is the notable carrier-domain one: dynamic-fd here-string reads leaking 0x1D control bytes); 1 env-noise ignore (mktemp absent in the WSL mirror). The lane also re-audited round 1's K probes: found and fixed two more probe artifacts (17 GNU-side re-runs, 6 false-DIFFs flipped; sandbox watcher missed case dirs, 5 false-IDENTs flipped to real gaps) and falsified one round-1 'byte-identical' conversion (now #405) — the probe infrastructure now has a dual-decoder consistency check against the K001/K005 corruption class. Product code: zero changes. Closing; the 60 gap tickets are the live backlog.
loopctl(#395): break/continue 0 out-of-range arms breaking with status 1
tests(wt42): align 10 stale expectations with GNU 5.3.0 after 815802e