✓ Human-authored analysis; AI used for formatting and proofreading.
For a long stretch our security tool did too much. It collected snapshots, pruned and archived old ones. It watched a directory and re-evaluated on change. It ranked findings, simulated remediations, planned per-team work, tracked SLA burn-rate, reconstructed incident timelines, enriched findings with CVE data, consolidated multiple accounts. Every one of those was a real command someone could run.
The easy story is "scope creep, lack of discipline." That story is wrong. The accretion was rational and understanding why is the key to knowing when, finally, to cut.
Feature hoarding is a symptom of an unnamed category
A scope boundary is a classifier: for any proposed feature, it answers in or out? But a classifier needs a definition to classify against. And in the early life of a new tool, you don't have the definition. Because you haven't named the category.
We tried the available names. Scanner? No. Scanners hit live APIs and we evaluate static snapshots. CSPM? No. That's a platform, with collection and dashboards and ticketing. Policy engine? Closer, but policy engines are libraries, and we had a verdict and an opinion. None of the off-the-shelf categories fit, so none of them could tell us whether "watch a directory" or "rank findings" belonged.
Each accreted command was a bet on a different possible identity. collect was a bet that we were a collection platform. monitor and watch bet we were a monitoring system. plan, rank, simulate, deadline bet we were a remediation workflow. forensics bet we were an IR tool. consolidate bet we were a fleet orchestrator. You keep all the bets on the table because you can't yet prove which one you are.
You cannot delete a feature when you don't know the function that can be described in a few sentences. Deleting forensics is only correct if you know you are not a forensics tool and that requires a name.
The name is the decision procedure
The clarity came from a phrase that finally survived contact with every question we threw at it:
risk reasoning engine.
An engine that reasons about risk from a snapshot of state. Three words, but each one is foundational, and together they form a decision procedure you can run on any feature:
- Snapshot in → findings out. Does this feature take infrastructure state and reason about it? Or does it produce the state, store it, schedule the reasoning, or act on the output?
- Reasoning, not doing. Does it derive a verdict (including a mathematical proof of reachability)? Or does it execute a remediation, route an alert, manage a file's lifecycle?
- Engine, not platform. Is it a deterministic transformation other tools compose? Or is it trying to be the orchestrator, the scheduler, the UI?
Run that procedure and the confusion clears:
| Command | Run the procedure | Verdict |
|---|---|---|
apply, diagnose, bisect, export-sir
|
reasons about risk from a snapshot | core |
collect |
produces the snapshot | out — upstream's job |
prune / retention tiers |
manages snapshot lifecycle | out — upstream's job |
monitor / watch
|
schedules the reasoning | out — orchestration |
plan / rank / simulate / deadline
|
plans the response | out — remediation planning |
forensics |
reconstructs a timeline | out — incident response |
enrich / inventory
|
pulls in external data | out — enrichment |
consolidate |
orchestrates many accounts | out — orchestration |
The name described the tool and made every prior bet resolvable. The features we'd implemented without a filtering mechanism were bets on identities that was not clear.
Naming locates the core of the hexagon
If you build with ports and adapters, the name fixes the domain core. Everything else resolves into one of two non-core piles, and the distinction matters:
- Adapters — replaceable I/O around the core. Reading Steampipe contracts, emitting SARIF/JSON, exporting SMT-LIB for a solver. These stay; they're how the engine talks to the world.
- Out of scope — not core, not an adapter, but a different system that happens to be adjacent. Collection, scheduling, remediation execution, alerting. These go.
Before the name, you can't tell an adapter from an out-of-scope feature, because both sit at the edge. "Watch a directory" feels like an adapter (it's I/O-ish). The name reveals it's a scheduler which is a different system, so it's out. The ambiguity lives at the hexagon's edge, and the name resolves it.
Then you delete ruthlessly
Once the name makes a feature provably out of scope, the correct action is deletion.
A feature that is definitionally not part of what you are is not a feature between versions; it's a category error you're correcting. Half-deleting it (a dead command, a vestigial config knob, a stale doc) leaves the boundary blurry again, which defeats the point of having named the category.
So we cut hard: the commands, their app logic, the orphaned packages they dragged along, the config that only fed them, the git-provenance metadata that was decorative, the docs that described them. More than a dozen commands, gone in one disciplined pass. Because by then "is this in scope?" had a yes/no answer for every one.
A boundary you don't enforce is a boundary that blurs back
Naming the category is necessary but not sufficient. Categories drift. The next PR re-adds collect because "we already have the snapshots, why not." So we made the boundary executable:
- A versioned manifest declares what's deliberately out of scope, with the reasons.
- A lint walks the live command tree and fails the build if a forbidden command name reappears.
- A docs check fails if the prose starts describing a removed command again.
The name lives in the engineer's head; the manifest and the lint make the machine remember it. That's the difference between a one-time cleanup and a discipline.
The payoff compounds
A core defined by a sharp name gets better the smaller it gets. Ours is now deterministic (same snapshot, same verdict, byte for byte), composable through plain code execution (agents and CI pipelines call commands and pass files with no shared state, no framework to adopt), and small enough to reason about whole. None of that was reachable while we were still hedging across five possible identities.
Scope discipline is taught backwards: "say no to features." But you cannot credibly say no until you can name the category, and early on you can't because there are too many unknowns and you are experimenting to answer unknowns. The sequence is:
- You hoard, rationally, because an unnamed category has no classifier.
- You struggle to name it — and the struggle is the work; the accreted features are your hypotheses.
- A name lands that survives every question, and it doubles as a decision procedure.
- The hexagon's core becomes legible — and adapters separate from out-of-scope.
- You delete ruthlessly, because now every cut is provably correct.
- You make the boundary executable, so the category can't quietly blur back.
We found a name, and the discipline became obvious. Risk reasoning engine wasn't a tagline. It was the function that told us what to delete. Retain the function that provides the most business value and differentiates itself from existing tools.
Top comments (0)