2e6e56711f
- Validated every stage of a pipeline against `simple_command_is_safe` instead of only the first stage to prevent improper segmentation of compound shell constructs. - Guarded segment re-execution by verifying that each `Display`-reconstructed command parses back to the expected pipeline shape. - Configured segmented-chain execution to fall back to an unsegmented, whole-command path whenever a reconstructed segment diverges from the original AST. - Resolved a syntax error during command execution by preventing `Display` from stripping terminators from compound commands like `while` and `for` loops.