✓ Human-authored analysis; AI used for formatting and proofreading.
I shipped MVP 0.1 that had one control, one AWS service. The entire product was: evaluate a single safety invariant against an S3 bucket configuration. Exit 0 or exit 1.
Nineteen weeks later: 2,662 controls across 74 AWS service domains. 597 compound risk chains detecting multi-resource compositions. 9 reasoning engines consuming the same exported facts. An MCP server so AI agents can query the catalog. Powerpipe dashboards. Steampipe integration. 10+ compliance framework profiles.
The hexagon at the center of the architecture is still roughly 2,030 lines of Go. It didn't change. Everything grew around it.
The growth happened because the foundation absorbed it and the foundation absorbed it because the scope cuts and architectural decisions made before writing the first line of code turned out to be right.
Regime 1: Quiet infrastructure (Month 1 – Month 2)
Month 1: 1 control, 1 domain (S3), 0 chains Month 2: Small catalog, 1 domain, 0 chains Two months. Almost no catalog growth. This looks like stagnation.
The commits in this window tell a different story: reproducible builds, SBOM generation, SHA256 trust chains, Windows cross-compilation, profile infrastructure (before any profile existed), predicate aliases (before the alias library mattered), capability surface documentation, exit-code semantics, output formatting.
This was the foundation period. The bet: the architecture has to be right before scaling controls would be safe. Adding 100 controls to a wrong architecture means rewriting 100 controls when the architecture changes. Adding 1 control to a right architecture means adding the next 99 is a YAML exercise.
The temptation to skip this phase and start cranking out controls was constant. Every instinct said: "you have one control, that's embarrassing, add more." The discipline said: "make sure adding the second control requires zero engine changes. Then the thousandth won't either."
The second control did require zero engine changes. That was the validation.
Regime 2: Domain explosion (Month 3 – Month 4)
Month 3 - 28: 47 controls, 1 domain, first chains Month 3 - 30: 47 controls, first compound risk detection, first compliance profile (HIPAA) Month 4 - 4: 53 controls, 116 E2E tests covering 52 of them Month 4 - 8: +IAM (2nd domain), +GCS (3rd domain — first non-AWS!) Month 4 - 9: +DNS, +VPC, +EC2, +RDS, +ELB, +Kubernetes, +Backup (9+ domains in one day) Month 4 - 22: +Bedrock (first AI security domain) Seven weeks. The catalog went from 47 S3 controls to multi-cloud, multi-domain, with compound chains and compliance profiles. Each new domain was a one-commit feat.
Two days stand out.
Month 4 - 8. The day the architecture hypothesis was validated empirically. IAM landed as the second domain. GCS (Google Cloud Storage) landed as the first non-AWS domain. Neither required engine changes. The observation contract extended (new asset types, new JSON Schema definitions). The evaluation engine consumed them unchanged. The kernel didn't know and didn't need to know whether it was evaluating S3, IAM, or GCS. It evaluated predicates against typed data. The service was in the data, not in the engine.
Month 4 - 9. Nine domains in one day. DNS (vendor-agnostic), VPC, EC2, RDS, ELB, Kubernetes (fourth cloud/vendor platform), Backup. Five commits. Each one a new domain with controls, ready for evaluation. This was only possible because adding a domain meant: define the asset type schema, write the CEL predicates, commit the YAML. The engine didn't change. The finding format didn't change. The CI integration didn't change.
The architectural hypothesis from the origin story: "the core is independent of cloud provider services; only the observation contract needs to extend" was validated by nine domains landing in a single day without touching the kernel.
Also in this window: compound chains were born. The chain engine composed controls across multiple resources into attack-path findings. And the first compliance profile (HIPAA) mapped controls to regulatory requirements. Both were new capabilities. Neither changed the evaluation kernel. The kernel evaluates predicates. Chains compose predicates. Profiles tag predicates. The kernel doesn't know about either.
Regime 3: Capability surface explosion (Month 5)
Month 5 - 6: MCP server — AI agents can query the catalog Month 5 - 7: 9 reasoning engines in one day Month 5 - 10: +49 AI agent controls, +13 chains (Double Pareto: 4 failure modes, 6 iterations max) Month 5 - 14: stave readiness, stave gaps, per-asset JSON schema generator, 590 controls re-typed Month 5 - 15: Capability catalog, intent search, Steampipe mappings, stave search, stave contract Month 5 - 22: Vocabulary unification (invariant→control, violation→finding) Month 5 - 23: DOCTRINE.md — nine principles codified Month 5 - 26: 2,662 controls, 74 domains, 597 chains, Phase 7 CIA detection shipped The catalog kept growing — but in May, the headline wasn't more controls. It was more ways to consume, navigate, and reason about the controls.
Month 5 - 7 — nine reasoning engines in one day. The same exported facts (JSONL, SMT-LIB) fed Z3, Soufflé, Clingo, Prolog, PRISM, TLA+, game-theory cost analysis, and a compare-engines harness. Each engine answered a different question about the same configuration snapshot. The evaluation kernel didn't change. It produced the facts. The engines consumed them. New engines meant new consumers of an existing contract, not new capabilities in the kernel.
Month 5 - 10 — AI agent identity domain, scoped by Double Pareto. Google's GTIG Q2 2026 report on AI-assisted exploits triggered a new domain. The 64/4 rule immediately constrained it: four failure modes (agent role overprivilege, agent ghost references, RAG data-boundary violations, AI-pipeline cross-service compounds), six iterations maximum. Four iterations, 49 controls, 13 chains. The domain landed in one day because adding a domain was, by now, a YAML exercise against a proven architecture.
Month 5 - 14-15 — productization burst. The catalog was large enough that navigating it became the bottleneck. stave readiness (pre-evaluation coverage report), stave gaps (field-level observation gap analysis), stave search (intent-based search with synonyms), stave contract show (observation contract inspector), capability catalog with per-asset JSON schema generation. Each new command was a new view into the same underlying catalog. The data didn't change. The views multiplied.
Month 5 - 22 — vocabulary unification. The original terms (invariant, violation, rule set) were replaced with industry-standard vocabulary (control, finding, catalog). The rename was user-facing. The internal schema retained ctrl.v1 and CTL.* for backward compatibility. The engine didn't change. The words changed.
The three growth dimensions
Three dimensions grew simultaneously at different times:
| Dimension | When it grew fastest | What drove it |
|---|---|---|
| Catalog breadth (more controls) | Month 3 - Month 4 | Architecture validation: adding domains was a YAML exercise |
| Catalog depth (compound chains) | Month 3 + Month 5 | Chain engine composing controls across resources |
| Capability surface (engines, commands, integrations) | Month 5 | The catalog was large enough to need navigation, multiple consumers, and formal reasoning |
The ordering wasn't planned. It emerged from what became the bottleneck at each phase. In Month 1 - Month 2, the bottleneck was architecture correctness (don't scale until the foundation is right). In Month 3 - Month 4, the bottleneck was catalog coverage (the architecture was right; now populate it). In Month 5, the bottleneck was usability (the catalog was populated; now make it navigable and consumable by multiple engines and agents).
Each regime solved the current bottleneck and created the next one. That's healthy growth. The constraint moves forward rather than staying stuck.
The kernel function
The kernel's function never changed: read a snapshot, evaluate predicates against it, produce typed findings. That function absorbed:
1 control → 2,662 controls (catalog grew 2,662×) 1 domain → 74 domains (observation contract extended) 0 chains → 597 chains (chain engine composes controls) 0 profiles → 10+ frameworks (profiles tag controls by framework) 1 engine → 9 engines (SIR export feeds external reasoners) 1 command → 30+ commands (CLI surface expanded) 1 output format → 6+ formats (JSON, text, SARIF, SMT-LIB, JSONL, Powerpipe) 0 integrations → 8+ integrations (GitHub Actions, GitLab, Atlantis, Docker, MCP, Steampipe, Powerpipe, pre-commit) Every row grew by 1-3 orders of magnitude. The kernel didn't change. The kernel is roughly 1,030 lines. It was roughly 1,030 lines in February, after the infrastructure-without-catalog phase. It's roughly 1,030 lines now, after 2,662 controls and 597 chains and 9 reasoning engines.
The growth happened in the data (controls, schemas, chains), in the consumers (engines, integrations, commands), and in the views (profiles, search, readiness, gaps). None of it happened in the kernel. The hexagonal architecture pushed everything that grows outside the hexagon. What's inside the predicate evaluator doesn't grow. It's the invariant of the system. The function that stays the same while everything around it changes.
What made this possible
Architecture. Three decisions made before writing the first line of code:
Hexagonal architecture from day one. Push everything that isn't the core outside the hexagon. Data collection, reasoning engines, output formatting and integrations were pushed outside. The hexagon evaluates predicates. Everything that grows is outside the hexagon. The hexagon doesn't grow.
Observation contract as the extension point. Adding a new domain means adding a new asset type schema and new CEL predicates. It doesn't mean adding new engine code. The observation contract is the port through which new domains enter the hexagon. The port's shape doesn't change, only the data flowing through it expands.
Files as the boundary. The snapshot is a file. The SIR export is a file. The SARIF output is a file. Every integration boundary is a file. No API servers, message queues or database connections. Files are the universal interface. Any consumer that can read a file can integrate with Stave. Adding a new consumer (a new reasoning engine, a new CI system, a new dashboard) means writing code that reads a file. It never means changing the code that writes the file.
The seven scope cuts from the MVP article defined what the kernel would not contain. The hexagonal architecture defined where the boundary sits. The observation contract defined how growth enters. The file-based boundary defined how consumers attach. Each decision was made before day 1. Each one is still foundational on day 120.
The number that matters
2,662 controls is a big number. The number that matters is 1,030. The size of the kernel that produced, evaluated, and exported all 2,662 controls, all 597 chains, all 9 engine formats, all 10+ compliance profiles, all 30+ CLI commands, all 8+ integrations, unchanged, in 19 weeks.
The complexity didn't compound with growth. The kernel absorbed it. That's the payoff of getting the architecture right at one control, one service, one invariant. The boring, embarrassingly narrow MVP that turned out to be the foundation for everything that followed.


