Skip to content
552.studio
/Doctrine

Doctrine — the factory's constitution.

Rules distilled from repeated failure, written once, enforced everywhere. An article is a rule I wrote after the same failure happened more than once. Each one lists the sparks that caused it.

Each article is a constraint promoted from the spark ledger. Articles are rows in the doctrine table — ratification is an INSERT, and this page grows on its own.

Each article is one row; writing the row publishes the article.

01 · Everything is a Form

RATIFIED 2026.2
§ THE RULE

Every unit of work enters as a form and leaves as a record. No loose ends, no untracked state.

§ WHAT IT CHANGED IN THE LOOP

Before the article, asks lived in chat scrollback and half-remembered intentions; work started without a stated goal and finished without a receipt. After ratification the loop refuses unformed input — capture became a hard station, and the nightly file went from reconstruction to bookkeeping. A form has to state an acceptance check, so an ask that cannot be checked gets rejected at capture instead of dragging on.

§ THE INCIDENTS THAT WROTE IT
SPARK 004 · 2026-01-31
Human as MCP server
SPARK 011 · 2026-02-09
Fractal focus
§ HOW THE APPS ENFORCE IT

Perse rejects unformed work at capture. CasaCommand writes chores as forms with owners. Pythia opens a form per deliberation.

02 · Verification over trust

RATIFIED 2026.3
§ THE RULE

Output is claimed; state is proven. A gate passes work only when a test ran and the result was inspected.

§ WHAT IT CHANGED IN THE LOOP

The verify station stopped accepting green checkmarks and started demanding evidence — tests run against the real system, state inspected, not reported. Confidence language ("should work", "looks right") was banned from gate criteria. Verify takes a few minutes longer per pass. I stopped starting mornings by reading a broken nightly report.

§ THE INCIDENTS THAT WROTE IT
SPARK 017 · 2026-02-18
Silent success is worse than loud failure.
SPARK 018 · 2026-02-21
Two sources of truth means one is always a lie.
SPARK 050 · 2026-06-27
The verify gate degrades at the divergence rate.
§ HOW THE APPS ENFORCE IT

Perse’s verify gate replays state before ship. CasaCommand marks a chore done only on evidence. Pythia requires independent voices to converge before a position.

03 · Gates relocate, never disappear

RATIFIED 2026.10
§ THE RULE

Remove a checkpoint and it reappears downstream — priced in incidents.

§ WHAT IT CHANGED IN THE LOOP

Before the article, every rush removed a check somewhere: a test skipped to make a date, a review waved through, a guard left unset because setting it was slow. None of those failures disappeared. Each moved one station downstream and arrived later with a bill attached. After ratification a gate may move but may not vanish: when a lane cannot hold a check, the server holds it, and a check whose credential is missing fails closed instead of passing quietly. The ledger prices every relocation, so a gate removed on a Tuesday shows up as a spark by Friday.

§ THE INCIDENTS THAT WROTE IT
SPARK 016 · 2026-02-18
Mocks hide wiring
SPARK 021 · 2026-02-24
Quality gates atrophy under urgency
§ HOW THE APPS ENFORCE IT

Perse’s scope check fails closed when its token is missing, and its merge rail refuses a security fix without a second principal’s verdict. Factoria’s own test suite refuses a retired host literal anywhere a page can render. Pythia’s live-or-paper gate is a red line no lane may touch.

04 · Zero sparks is a healthy day

RATIFIED 2026.10
§ THE RULE

The ledger rewards boring. A quiet night means the doctrine held.

§ WHAT IT CHANGED IN THE LOOP

I used to read the ledger as output: more sparks, more learning, a good week. The article turns it around. A spark is a failure that cost something, converted into a rule, and the point of the rule is that the next night produces none. The morning report now opens with the count of new sparks, and zero is the number I want, on one condition: the gates ran. A quiet night with the verify gate re-derived against the live system is health. A quiet night with the gates asleep is Spark 17 waiting to be written.

§ THE INCIDENTS THAT WROTE IT
SPARK 010 · 2026-02-08
The muscle tear
SPARK 032 · 2026-03-14
Structural floor, behavioral ceiling
§ HOW THE APPS ENFORCE IT

Perse’s morning digest counts the fires that ran and the findings they produced, so a zero is a measured zero, never an unreported one. Pythia writes a form for a deliberation that changed nothing, so a quiet cycle still leaves a record. Factoria’s ledger grows only from a priced incident; a quiet week adds no row, and that is the point.

← Back to Factoriathe spark ledger →