bascule-workspace/bascule-proto/build.rs
Tyler King b1865a0627 initial: bascule v0.1.0
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).
2026-03-18 16:40:48 -04:00

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(())
}