HRW-sharded virtual monorepo (FUSE & headless NutsDB overlay), Pebble metastore, Zoekt search, OCI v2 registry, Bazel AC/CAS, CI pipeline workers, and Parquet+Bluge telemetry logengine.
13 public engineering repositories + hub
Every repo, engine,
and byte layout.
Strata spans 13 public Apache-2.0 repositories written in Go, TypeScript, Python, Protobuf, and C across 5 connected planes and 734 test suites.
Codebase inventory
13 Public Repositories.
Filter by layer.
Filter by plane or storage/federation role across all 13 public repositories.
Language Distribution
Go 84.6% · TS 10.4% · Python 4.1% · Proto/C 0.9%Zero-DB declarative control plane compiling partition/intent/asset DAGs into CAS queues, reconciled by pull-based GCP (OpenTofu), AWS (CDK), K8s, Docker, and local pushers.
Pre-WAL privacy OTLP backend, PromQL/LogQL/TraceQL/SQL query surface, Sentinel alert engine, leader-leased recording rules, and 50k-pusher / 150k-target federation controller.
FastAPI + React platform assistant with Otto (SRE diagnostics + confirm=true mutations), Steve (MonoFS overlay diffs), 50+ tools, and Nightwatch shadow-mode SQLite ledger.
Stateless L4 registry (:15051), TCP proxy (2s snapshot sync, passive 3-dial breaker, zero-conn drain), Kubernetes Endpoints agent with multi-port matching, and PROXY protocol v1.
Raft-replicated versioned KV store with optimistic concurrency, batch revisions, prefix-indexed ListDir, watch streams, hot/archive offload, and fail-closed audit logging.
WORM Indexed-Tail archives (zstd + per-file nonce ChaCha20-Poly1305) with O(1) 2-request S3/GCS random access, PathIndex prefix dedup (5× RAM savings), and PKGRv2 envelopes.
Two-tier versioned config store keeping the newest 5 SHAs in Raft KVS and compacting cold revisions into encrypted packager archives while retaining lightweight manifests.
Two-phase federated SQL planner, endpoint selector with coverage-gap validation, pure-Go hash merge, and native drivers for DuckDB, ClickHouse, BigQuery, Omni, and Logs Insights.
TypeScript CDK project deploying MonoFS (Router, Server, Fetcher), Guardian, ALB/NLB networking, Cognito SSO, and ECS Fargate observed pushers cleanly to AWS.
Zero-persistence cluster-wide Kubernetes metrics.k8s.io poller exporting OTLP pod/container CPU and memory gauges tagged with Guardian partition, intent, and asset labels.
Hot-reloading TLS/mTLS toolkit shared by MonoFS, Guardian, Doctor, LB-Edge, and KVS: mtime leaf rotation without restarts, VerifyPeerSPIFFE URI SAN checks, and tlsx CLI.
Umbrella repository, single-command kind + Authentik SSO bootstrap (./scripts/bootstrap.sh up), production hardening guide, architecture docs, and example onboarding apps.
01 · MonoFS (247 test suites)
Virtual monorepo &
storage fabric.
Separates metadata (monofs-server Pebble DB), content (monofs-fetcher + Packager S3/GCS), and coordination (monofs-router) while embedding KVS, Zoekt, OCI v2, Bazel cache, and Doctor's logengine.
Direct HRW reads & NutsDB overlays
monofs-client builds a local Rendezvous ring from router topology and routes Lookup, ReadDir, and Read directly to storage nodes without hitting the router.
- Local edits stay isolated in NutsDB;
--headlessserves the identical overlay oversession.sockwith no/dev/fuseorSYS_ADMIN. monofs-session pushgroups commits per repo and opens PRs/MRs; partial multi-repo failures cleanly revert commits rather than force-pushing.
Reserved namespaces & logengine
Three reserved namespaces — guardian/, guardian-system/, and doctor/ — run versioned CAS storage, Parquet+Bluge telemetry chunks, and SQL federation inside the same cluster.
- OCI v2 registry (
:5000) and Bazel AC/CAS (:9092) reuse MonoFS replication and cluster tokens. monofs-pipeline-workerexecutes affected DAG builds filtered through a strict safe env allowlist.
02 · Guardian (223 test suites)
Zero-DB intent
control plane.
Compiles YAML Partition and Intent manifests into dependency DAGs, detects drift, and dispatches tasks through CAS lease files with no inbound worker sockets.
Compile → Check → Diff → Apply → Archive
Every mutation carries a MutationContext (PrincipalID, Reason, CorrelationID) and writes immutable manifests/logs under /.archive/<partition>/<intent>/.
- 5 Native Pushers: GCP (OpenTofu + Cloud Asset Inventory), AWS (TypeScript CDK + CloudFormation), Kubernetes, Docker, and Local server.
- Virtual Sets & Sticky Exclusions:
guardianctl sets unassignwrites sticky exclusions so manifest reconciles never silently re-attach removed partitions.
03 · Doctor (192 test suites)
Privacy funnel &
unified query API.
Ingests OTLP traces, logs, and metrics through a pre-WAL sanitization funnel into MonoFS logengine, paired with Sentinel alerting and 150k-target multi-cloud federation.
43.8k rec/s OTLP & Sentinel rules
doctor-ingest scrubs keys and HMAC-tokenizes PII/PCI before writing to per-signal fsync WAL buffers. doctor-rules elects a leader via 30s MonoFS CAS lease, while Sentinel fingerprints PromQL/Guardian/AWS alerts for Nightwatch.
Grafana native + DuckDB SQL
Exposes Prometheus, Loki, Tempo, and POST /v1/sql/query with oauthPassThru ACL checks. Singleflight deduplication serves 1,005 ops/s at p95 22 ms (1,888 ops/s at 2,000 offered RPS).
Dual-persona tool loop & shadow triage
Routes turns between Otto (50+ live tools across Guardian/Doctor/MonoFS/LB-Edge behind confirm=true) and Steve (workspace-only diffs in MonoFS overlay, blocked from mutating infrastructure). Nightwatch runs read-only on :8091, polling Sentinel every 30s into an append-only hash-chained SQLite ledger.
Zero-DB L4 TCP routing & passive breakers
Watches Kubernetes Endpoints annotations (guardian.intent/expose, external-port) via k8s-agent, selecting matching Service ports on multi-port Pods. The TCP proxy syncs :18081/services every 2s, trips a passive breaker after 3 dial failures, and drains removed backends cleanly to zero connections.
06 · sqlagregator (14 test suites)
Two-phase
federated SQL.
A zero-driver core library (pulling only yaml.v3) with separate Go modules for each cloud dialect and pure-Go hash aggregation in the coordinator.
AST → Two-Phase Planner → Dialect Pushdown → Pure-Go Merge
- Driver nuances handled cleanly: CloudWatch Omni retries session-name collisions with a process-unique suffix; Logs Insights emits
FROM_UNIXTIME(...)windows because@timestampis a string; ClickHouse bindsattributes['guardian.partition']. - Fail-closed governance: MonoFS router enforces
--sql-require-policy(default true) and fails withcoverage_gapif a healthy shard is excluded without-allow-partial.
07 · Reusable Go storage crates
KVS, Packager & cfg.
Raft versioned KV
Optimistic CAS, batch revisions, prefix-indexed ListDir (p95 0.27–0.72 ms), watches, hot/archive retention, and JSONL audit trails.
Indexed-Tail O(1) archives
Retrieves any file from S3/GCS in 2–3 byte-range calls without scanning; PathIndex shrinks 100K file indexes from ~6.2 MB to ~1.2 MB; auto-skips zstd on 20+ pre-compressed formats.
Two-tier versioned config
Keeps newest 5 revisions hot in Raft KVS (/cfg/<app>/current) and compacts excess versions into encrypted packager cold archives while keeping directory manifests online.
08 · PKI, RBAC & Cloud Tooling
tlsx, k8s-top, aws & bootstrap.
Zero-restart SPIFFE mTLS & compiled ACLs
tlsx reads STRATA_TLS_* across Go gRPC servers and Agent's Python backend, re-reading leaf certs on mtime changes and verifying SPIFFE URI SAN allowlists. Guardian compiles RBAC partition/log/trace/SQL/MonoFS grants from base.yaml into one runtime bundle.
Multi-cloud deployment & bootstrap
k8s-top exports Guardian-tagged pod/container OTLP metrics; aws deploys MonoFS + Guardian onto ECS Fargate via TypeScript CDK; strata provides single-command kind bootstrap and application onboarding workflows.