StratumIOps

Rust Crate Ecosystem for Project Governance

v0.1.0 | 52+ Crates | 74+ Tests | 100% Rust

Libraries for Self-Aware Projects

9 Rust crates, 6 Nushell modules, Nickel schemas — integrate ontology-driven governance, living ADRs, sealed configuration, AI agent orchestration, knowledge management, and post-quantum secrets into your projects. One protocol for humans, agents, and CI. 100% Rust. Zero compromises.

The 8 Problems It Solves

01

Scattered Knowledge

Decisions in Slack, guidelines in wikis, patterns in docs — all disconnected. Kogral unifies with git-native markdown + MCP.

02

Uncontrolled LLM Costs

No visibility on AI spending per team. No budget limits or controls. Vapora provides real-time budgets, automatic fallback to cheaper providers, and expertise-based agent routing.

03

Fragile YAML Configuration

Runtime errors from untyped config. No validation before deployment. Provisioning uses Nickel with pre-runtime validation. TypeDialog provides forms with contract validation.

04

Static Cryptography

No preparation for quantum threats. Locked into single crypto library. SecretumVault delivers production post-quantum crypto with ML-KEM-768, ML-DSA-65 and 4 pluggable backends.

05

Chaotic Project Workflows

Scattered TODOs, no structured phases. No audit trail for task state changes. Syntaxis provides systematic project orchestration with 4 interfaces and VAPORA-ready AI agent coordination.

06

Decisions Without Memory

Architectural decisions made verbally or in chat. Constraints forgotten after team changes. Ontology + ADRs provide machine-queryable invariants with hard constraints enforced at every operation.

07

Invisible Configuration Drift

Configs modified outside any review cycle. No audit trail linking change to PR or ADR. Reflection provides sha256-sealed config profiles with drift detection, verified rollback, and full history.

08

Dead Documentation

Docs written once, never updated. Different actors generate different formats with no shared source. Kogral + Ontology generates living docs from the same graph — human docs, agent context, CI reports.

Ontology, Reflection & ADRs

Yin — The Formal Layer

What must be true

Nickel schemas — structural correctness at definition time ADR constraints — "this can never be violated" Config seals — sealed states, sha256-verifiable Ontology invariants — what cannot change without a new ADR Mathematical hashes — proof of what was sealed and when

Yang — The Operational Layer

How things move and change

Nu commands — structured data transformation Actors (human/agent/CI) — same protocol, different capabilities Register flow — captures changes, routes to correct artifact Mode definitions — operation sequences with verification Pre-commit hooks — forced synchronisation at commit time

Yang without Yin = fluid but chaotic. Anything can change. Nothing is verifiable.

Yin without Yang = correct but useless. Perfect schemas without operations = dead documentation.

The system lives in coexistence.

Yin Yang — coexistence
Declarative Layer — Nickel
.ontology/ · adrs/ · reflection/schemas/ · reflection/configs/
Strong types, contracts, enums. Fails at definition, not at runtime.
Operational Layer — Nushell
adr · register · config · backlog · forms · prereqs
Typed pipelines over structured data. No text streams.
Entry Point — Bash to Nu
stratum.sh · actor detection · advisory locking · NICKEL_IMPORT_PATH
Single entry point. Detects actor, acquires lock, dispatches to correct Nu module.
Knowledge Graph — Ontology + ADRs
nodes · invariants · gates · dimensions · states
The system knows what it knows. Actor-agnostic. Machine-queryable.
Sealed States — Config + History
profiles · sha256 seals · audit trail · rollback
Verifiable immutability. Drift detection. Full ADR/PR/bug traceability.

Architecture

Orchestrator Architecture

StratumIOps Orchestrator Architecture

Operation Flow

StratumIOps Operation Flow

Ecosystem Projects

🤖

Vapora

AI agent orchestration with learning. Agents improve from experience. Automatic budget fallback. NATS JetStream coordination. 13 crates, 218 tests, 50K LOC.

🧠

Kogral

Knowledge graph with MCP for Claude Code. 6 node types: Notes, ADRs, Guidelines, Patterns, Journals, Executions. Git-native markdown. Semantic search with embeddings. 3 crates, 56 tests, 15K LOC.

📋

TypeDialog

6 backends: CLI, TUI, Web, AI, Agent, Prov-gen. NCL-native forms with nickel-roundtrip editing. Nickel contract validation. Conditional fields and repeating groups. 8 crates, 3,818 tests, 90K LOC.

☁️

Provisioning

Declarative IaC with Nickel + AI-assisted generation. Multi-cloud: AWS, UpCloud, Local (LXD). RAG with 1,200+ domain docs. MCP server for natural language queries. Orchestrator with automatic rollback. 15+ crates, 218 tests, 40K LOC.

🔒

SecretumVault

Post-quantum crypto: ML-KEM-768, ML-DSA-65 (NIST FIPS 203/204). 4 crypto backends. 4 storage backends. 4 secrets engines: KV, Transit, PKI, Database. Shamir Secret Sharing. 50+ tests, 11K LOC.

🎯

Syntaxis

Systematic project orchestration platform. 4 interfaces: CLI, TUI, Dashboard, REST API. Dual DB: SQLite + SurrealDB. Phase-based lifecycle. VAPORA SST foundation for AI agent tasks. 12 crates, 1,030+ tests, 60K LOC.

Stratum Crates

Shared infrastructure libraries powering the ecosystem

stratum-orchestrator
Graph-driven workflow engine
stratum-graph
ActionNode, Capability, GraphRepository
stratum-state
PipelineRun, StepRecord, StateTracker
stratum-llm
Unified LLM providers + circuit breaker
stratum-embeddings
Embedding providers + VectorStore
platform-nats
JetStream consumer + NKey auth
ncl-import-resolver
OCI to local Nickel resolver
stratum-ontology-core
Ontology graph, invariants, gates, dimensions
stratum-reflection-core
ADR lifecycle, config seals, backlog, modes
stratum.sh / stratum.nu
Actor-aware modular dispatcher
Nu plugin layer
nickel-export, tera-render, nats pub

Ecosystem Metrics

52+
Rust Crates
74+
Tests
~266K
Lines of Code
0
Clippy Warnings
0
Unsafe Blocks
100%
Doc Coverage
4
Crypto Backends
4
Storage Backends
6
TypeDialog Backends
14+
MCP Tools

Technology Stack

Rust Edition 2021NickelNushellSurrealDBSQLiteNATS JetStreamAxumLeptos WASMRatatui TUIOpenTelemetryPrometheusetcdPostgreSQLOpenSSLOQS (Post-Quantum)Cedar Policy

Integrate governance into your project

6 Projects | 9 Stratum Crates | 52+ Crates | 74+ Tests | 100% Rust