Repository navigation
docs: embedded shell spike (Phase 5 of #267) - #280
Merged
Merged
Conversation
Candidates (brush, uutils, alternatives), Windows reality, what the risk classifier gains from a real AST, sandbox interaction, decision table and a phased recommendation: document the Git for Windows requirement now, then an embedded shell behind a Windows-only feature, re-executed as a child so bwrap, timeouts and job control stay as they are. Co-Authored-By: Claude Fable 5.1 <[email protected]>
This was referenced Oct 16, 2026
Merged
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.
Phase 5 of #267 is a spike, not code.
docs/proposals/embedded-shell-spike.md(Status: Design) covers the candidate crates (shell parser/engine and coreutils libraries: license, maintenance, Windows support, API shape, size), what Windows really does today, what the risk classifier would gain from a parsed AST, how an embedded shell interacts with the sandbox, a decision table (keep external / embed as Windows fallback / embed everywhere) with effort and risk, and a phased recommendation with the first three concrete tasks.Two findings worth acting on regardless of the decision:
cmd.exeis a degraded mode.command-riskdrops the body of a command substitution:echo $(rm -rf ~)is classifiedSafe. An AST front-end (or, short of that, assessing substitution bodies) makes itCatastrophic. Follow-up PR.Docs only;
docs/README.mdgains aproposals/row.🤖 Generated with Claude Code