Bascule shell runtime workspace — governed shell access layer for Substrate/Guildhouse FFC deployments. Crates: - bascule-agent: node agent with SSH server + command filtering - bascule-core: audit, grant engine, ceremony types, session - bascule-filter-core: log line filtering (stdio protocol) - bascule-gateway: OIDC auth, session management, SAT validation - bascule-node-agent: k8s DaemonSet agent (pod watcher, BPF manager) - bascule-proto: protobuf definitions - bascule-shell: governed SSH shell (commands, elevation, REPL) - bascule-tail: chronicle log tail + fanout - ceremony-engine: ceremony lifecycle (6 types + request/resolution) 172 tests passing. Implements SBS-SPEC-0001 shell model. Reference impl for SPEC-SHELLOPS-0001 Layer 1 (root shell).
21 lines
680 B
Rust
21 lines
680 B
Rust
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|
// Proto files live at workspace root: ../proto/
|
|
let proto_root = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR"))
|
|
.parent()
|
|
.unwrap()
|
|
.join("proto");
|
|
|
|
tonic_build::configure()
|
|
.build_server(true)
|
|
.build_client(true)
|
|
.compile_protos(
|
|
&[
|
|
proto_root.join("bascule/v1/gateway.proto"),
|
|
proto_root.join("bascule/v1/session.proto"),
|
|
proto_root.join("bascule/v1/command.proto"),
|
|
proto_root.join("bascule/v1/ceremony.proto"),
|
|
],
|
|
&[&proto_root],
|
|
)?;
|
|
Ok(())
|
|
}
|