The doctrine
What we believe
16 beliefs. Each one is a line of the specification or the repository restated as doctrine, with the reason it holds and the place it was read from. Nothing here was written for a website first.
Structure and values are separate: a Model is pure structure, a Scenario supplies values.
The same model answers under every scenario, and a scenario can be swapped without touching a formula. Nothing about a product’s shape is hidden in its numbers.
SPEC §1.1
Time is first-class; every computed thing is a series.
A figure without a date is not a figure. Every quantity carries its schedule, so “as of” is a parameter, never an afterthought.
SPEC §1.2
One computation primitive; there is no other place where formulas live.
If every quantity is a reduce over a schedule, every quantity can be traced, explained and tested the same way. A second place for arithmetic is a place to hide it.
SPEC §1.3
Few primitives, many derivations; anything composable is a desugaring, never a new core concept.
A small core stays correct. Convenience is written on top of it and lowered back down, so what runs is always the small thing.
SPEC §1.4
Everything is data: (hash(model), hash(scenario), at) is a reproducibility record.
A result that names what produced it can be produced again. The triple is what a release freezes and what a report cites.
SPEC §1.5
Fail loudly: nothing silently becomes 0 or NaN; unknown is unresolved, broken is error.
A zero that stands in for a missing value is a lie the next reader will build on. The four resolution states say exactly how much is known.
SPEC §1.6
Written in sentences, and nothing is hidden in the prose.
The sentences are a surface over a JSON AST. A reader of the document sees everything the engine sees, and a term is one sentence, not a cell in a hidden sheet.
README.md
Never invent a quantity, a rule or a number; where the model is silent, say that it is silent.
The memo is written for a reader who cannot check it against the model. Its authority comes from saying no more than the model does.
packages/prose/src/document.ts
If a behaviour is not in the spec, it is not a feature.
The specification is normative; code implements it and tests check it. A behaviour nobody wrote down is a behaviour nobody agreed to.
.cursor/rules/spec-first.mdc
The record is append-only; approval is a separate act and the log is never overwritten.
A decision ledger stays a byte prefix of itself. An edit is translated into sentences to append, and nothing is written until the card is approved.
SPEC §20.8, .cursor/rules/studio.mdc
Verification is separate from assertion: the verifier reads the source’s pulls and posts feeds, never computed readings.
The party that computes a figure does not also vouch for its inputs. The verifier stages what the source sent and posts what the charter names, one pull at a time.
AGENTS.md (verifier), packages/operations charter
A reader-safe record is built by inclusion, field by field, never by filtering a wider reply.
A filter forgets a field the day someone adds one. A record built by naming what goes in cannot leak what was never named.
.cursor/rules/profiles.mdc
Written for the reader who will never open the model.
The memo, the product record and the report exist for someone who will not read a formula. They must stand alone, and they must not say what the model does not.
packages/prose/src/document.ts, apps/server /v1/document
Colour is a slot, never a hex, so a page made by someone with no eye for it still looks like the others.
A report names heading, band, total, accent; the theme paints them, on screen and in the workbook. Switching theme restyles everything at once, and nobody chooses a colour per report.
packages/studio/src/report-theme.ts
Whether up is good is the model’s business, not the palette’s.
A cost that rose and a margin that rose are the same colour. The two deltas differ in weight, not hue, so the eye finds what moved without being told how to feel.
packages/studio_ui/lib/theme/tokens.dart (deltaUp, deltaDown)
One signal colour, spent on meaning, never on decoration.
The accent marks an error, live data, the selected tab and the one primary button. Spent anywhere else it stops meaning anything.
packages/studio_ui/lib/theme/tokens.dart (accent)
The boundary
What Aqueduct is not
Stated so the positioning cannot drift into it.
Not a SaaS platform.
The products on the machinery are ours. There is no tenant to onboard and no seat to sell; the one organisation is the default.
AGENTS.md (products, profiles and grants)
Not a marketplace.
Nothing is listed for others to trade. A product has one author, one operator and one verifier, and they are the same house.
SPEC §15.5, packages/operations
Not a chain.
The record is reproducible because it is hashed and append-only, not because it is distributed. A SQLite file and a bucket are enough to make a figure checkable.
SPEC §1.5, §20.8
Not a consultancy.
We do not model other people’s books. The written model is the product’s own, and the memo is written by the machinery, not by an engagement.
packages/prose/src/document.ts