Governed shell binary — human + machine modes (Rust)
Find a file
Tyler J King a97e9569d6 feat(gsh): ShellTier T0-T6 + LMDB session enrichment + GSH_SHELL_TIER
ShellTier enum (T0-T6) with tree hierarchy, satisfies(), from_shell_class()
backward compat mapping. Exported as GSH_SHELL_TIER alongside GSH_SHELL_CLASS.

SessionState carries shell_tier derived from AC shell_tier field, GSH_SHELL_TIER
env, or shell_class mapping. Prompt shows tier: [governed] T2:tking@gsh.

Optional LMDB enrichment (behind `lmdb` feature flag): reads earned credentials
and identity class from substrate-identity-store, displays in banner.

16 shell_tier tests, 3 LMDB enrichment tests, 3 governance_env tests.
66 tests without lmdb, 69 with --features lmdb.

Signed-off-by: Tyler J King <tking@guildhouse.dev>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Tyler J King <tking@guildhouse.dev>
2026-05-30 11:46:41 -04:00
config feat: configurable corpus base dir + Bascule dev config 2026-04-02 18:46:27 -04:00
dist feat: Substrate WSL2 distro builder (Fedora 41) 2026-04-04 13:59:03 -04:00
gsh feat(gsh): ShellTier T0-T6 + LMDB session enrichment + GSH_SHELL_TIER 2026-05-30 11:46:41 -04:00
libgsh feat(gsh): ShellTier T0-T6 + LMDB session enrichment + GSH_SHELL_TIER 2026-05-30 11:46:41 -04:00
scripts feat: detect Windows Entra/local principal in WSL2 2026-04-04 14:15:05 -04:00
.gitignore feat: gsh machine mode — first governed shell execution 2026-04-01 19:01:22 -04:00
Cargo.lock feat(gsh): ShellTier T0-T6 + LMDB session enrichment + GSH_SHELL_TIER 2026-05-30 11:46:41 -04:00
Cargo.toml feat(gsh): ShellTier T0-T6 + LMDB session enrichment + GSH_SHELL_TIER 2026-05-30 11:46:41 -04:00
CLAUDE.md docs: add CLAUDE.md 2026-05-04 11:41:30 -04:00
DESIGN.md feat: add T0-T6 shell tier context and governance layer mapping 2026-05-28 09:31:47 -04:00
README.md feat(libgsh): Phase 0 — typed Did on AcPrincipal 2026-05-01 06:28:19 -04:00

gsh

gsh — the GCAP governed shell. Human and machine modes. Chronicle-attributed execution.

Status (2026-04-28): Active development. Design is mature (DESIGN.md). The architectural anchor is the shell type system (per DESIGN-SHELL-ARCHITECTURE-2026-04-28.md); gsh is the canonical consumer of the type system, built on libgsh.