Governed shell binary — human + machine modes (Rust)
scripts/build-substrate-wsl2.sh — builds a custom Fedora WSL2 distro with gsh as the default governed shell for the operator user. Image contents (337MB): Fedora 41 + systemd gsh as login shell (/usr/local/bin/gsh) bascule-proxy for governed cluster connections kubectl + helm with corpus symlinks SSH aliases: dev.gsh, stg.gsh WSL2 config: systemd=true, default user=operator Build: docker builds Fedora rootfs, exports as tar Import: wsl --import substrate-gsh C:\WSL\substrate-gsh substrate-gsh.tar Boot: wsl -d substrate-gsh → governed shell prompt Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| config | ||
| dist | ||
| gsh | ||
| libgsh | ||
| scripts | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| DESIGN.md | ||
| README.md | ||
gsh
gsh — the GCAP governed shell. Human and machine modes. Chronicle-attributed execution.