Workspace Layout
BSFG is split into two workspace groups:
packages/*for reusable libraries and contractsapps/*for runnable services, harnesses, and documentation tooling
Core Libraries (`packages/*`)
- @bsfg/bsfg-core - Boundary protocol logic and domain behaviors.
- @bsfg/proto-contracts - Connect/protobuf API contracts and generated bindings.
- @bsfg/nats-adapters - NATS/JetStream adapter implementations.
- @bsfg/test-kit - Shared fixtures and testing utilities.
Runtime Apps (`apps/*`)
- @bsfg/bsfg-gateway - Gateway runtime integrating contracts + adapters.
- @bsfg/bsfg-controller - Control-plane and orchestration app.
- @bsfg/reference-producer - Example producer implementation.
- @bsfg/reference-consumer - Example consumer implementation.
- @bsfg/e2e-harness - End-to-end test harness.
- @bsfg/docs - Static docs renderer/site app.