Four gates, fixed order, halt at the first failure. The engine never self-confirms.
Architectural note. This is not AI. The engine is a body of small distributed organs — gates, verifiers, witnesses, audit — following local rules anchored to an external reference. The sophistication lives in the pattern rules, not in any one model. The LLM, when it appears, is one organ; not the engine. See Organic Design for the full architecture.
Every packet passes through four gates in this exact order. The engine halts at the first gate that fails. There is no looping back, no consensus override, no second chance from a louder participant.
Hard gates produce REJECT. Soft gates produce QUARANTINE — the packet isn't bad, it's not yet ready. Soft gates exist because some failures should pause, not refuse.
This is the keystone. Most consensus systems trust the author when they say their constraints are met. RED separates two concerns:
The packet author affirms the load-bearing constraints. Did they say it? A dictionary of declarations, structurally checked against the domain's rule set.
The engine computes against external standards. Is it actually true? Sympy for math. Scipy for statistics. Atom/charge balance for chemistry. SI unit reduction for physics.
The verifier can REJECT despite a passing attestation. The author may have honestly believed their math was right. The math is wrong regardless of what the author claimed. RED catches both — bad-faith claims (attestation fails) and good-faith errors (verification fails).
A minimal decision packet looks like this:
{
"domain": "chemistry",
"scope": "adapter",
"created_epoch": 1735000000,
"CHEM_RED": {
"mass_conserved": true,
"charge_balanced": true,
"elements_consistent": true,
"phases_specified": true
},
"CHEM_VERIFY": {
"equation": "C3H8 + 5 O2 -> 3 CO2 + 4 H2O",
"temperature_K": 298.15
}
}
Run through the engine:
$ concordance validate examples/sample_packet_chemistry_verify.json --now-epoch 9999999999
✓ PASS (sample_packet_chemistry_verify.json)
✓ RED PASS
✓ chemistry.equation: balanced (atoms + charge)
✓ chemistry.temperature: 298.15 K positive
✓ FLOOR PASS
✓ BROTHERS PASS
✓ GOD PASS
Change the equation to H2 + O2 -> H2O and RED rejects with the smallest balancing coefficients.
Honest scoping matters more than feature lists.
__import__, open, eval, exec. Suitable for code you control. Not suitable for arbitrary internet code.