We can't find the internet
Attempting to reconnect
Something went wrong!
Attempting to reconnect
The 18-Pillar Doctrine: Building Unbreakable Software Systems
How systematic quality enforcement eliminates entire categories of bugs
Prismatic Engineering
Prismatic Platform
Why 18 Pillars?
Most software projects rely on a handful of linting rules and a CI pipeline to catch
defects. The Prismatic Platform takes a fundamentally different approach: we define
18 interconnected quality pillars that cover every dimension of software
engineering, from architecture decisions to commit message formatting.
Each pillar has a clear acronym, a set of banned patterns, and an enforcement level
ranging from advisory to blocking. Together, they form a doctrine that eliminates
entire categories of bugs before code ever reaches production.
The Pillar Taxonomy
The 18 pillars fall into four groups: Architecture, Execution,
Permanence, and Operations.
Architecture Pillars
-- logic, neural, and linguistic. This ensures that AI-assisted development
maintains context across reasoning, pattern recognition, and communication.
style= attributes,no <style> blocks, no custom CSS class definitions. All styling must use
Tailwind utility classes or Flowbite components.
unbounded Repo.all calls, length/1 for emptiness checks (O(n) vs O(1)),
and blocking operations inside async handlers.
Execution Pillars
No stubs, no mocks in production code, no placeholders. Every function must be
fully implemented.
less. This prevents scope creep and forces granular progress tracking.
lib/*.ex module musthave a corresponding _test.exs file. Pure modules require property-based tests.
LiveView changes require E2E tests.
String.to_atom/1 (atom tableexhaustion), bare rescue blocks (swallowed errors), and unsafe
:erlang.binary_to_term/1 without the :safe option.
interpolation in Ecto fragments, hardcoded secrets, and Code.eval_string/1
with user input.
Permanence Pillars
no backwards compatibility shims. Clean breaks over compatibility layers.
app count) must be backed by verifiable evidence collected at runtime.
mandatory on all dependencies. No unstable git branches. Override dependencies
require written justification.
Operations Pillars
@moduledoc. Every public function needs @doc, @spec, and an iex> doctest.
telemetry events. Controllers must log requests. Rescue blocks must log errors.
conventional commit format (type(scope): description).
Academy topics are advisory but tracked.
README.md withparent navigation links and a standard structure.
to existing files. Broken links are detected by pre-commit hooks.
stale files, and validates archive integrity.
Enforcement Levels
Not all pillars block commits. The enforcement matrix has three tiers:
|------|---------|----------|
mix check.doctrines in CI pipelineLiving Enforcement
The doctrine is not static. New pillars are added when recurring defect patterns
emerge. HYGIENE was added as the 18th pillar after repository cleanliness issues
were identified. The enforcement level of each pillar is reviewed quarterly and
promoted from advisory to blocking as tooling matures.
This systematic approach means that the Prismatic Platform does not rely on
individual developer discipline. The system itself prevents defects.