Ten Generals and a Quaternion: On Building a War College in Software

2026-02-10 | Strategy | Tensor Mathematics | Military Theory

Clausewitz wrote On War in the 1830s and never finished it. He died of cholera. The book was published posthumously by his wife, and for nearly two centuries military strategists have been arguing about what he actually meant. His central insight -- that war is the continuation of politics by other means -- is one of those sentences that gets quoted so often it stops meaning anything. But buried deeper in the text is something far more useful: the idea that strategy operates in a space defined by three forces (the trinity: passion, reason, and chance) and that the friction between them is what makes real-world execution deviate from theoretical plans.

PLATO's strategy engine takes this seriously. Not metaphorically -- mathematically. The StrategyOrchestrator maintains ten generals, each representing a strategic dimension: Architect, Strategist, Signals Intelligence, Field Command, Librarian, Forager, Quartermaster, Herald, Sentinel, and Inspector. Each general has an orientation encoded as a unit quaternion -- the same mathematical object aerospace engineers use to describe satellite attitude. Each general has a position vector (where they are), a target vector (where they should be), and a health metric (how operational they are).

The system composes all ten orientations into a single grand strategic orientation using weighted SLERP -- spherical linear interpolation, the mathematically correct way to average rotations. It then projects this composite orientation into a three-dimensional "Clausewitz space" where the axes are offensive capacity, defensive posture, and diplomatic alignment. The result is a single vector that describes the system's overall strategic stance.

CLAUSEWITZ VECTOR: [offensive: 0.72, defensive: 0.45, diplomatic: 0.31] POSTURE: "balanced" (nearest named posture to current vector) ALIGNMENT: 0.87 (87% agreement among generals) MISALIGNED: HERALD (interface quality lagging other dimensions) RECOMMENDED PIVOT: Rotate HERALD 23 degrees toward ARCHITECT orientation

The obvious question: is this overkill? Quaternions are a powerful formalism, but they're easy to abuse -- you can encode anything as a rotation and call it "geometric reasoning" without actually gaining insight. The question is whether the formalism buys you something a simpler representation wouldn't.

In this case, it does. Quaternions avoid gimbal lock (the loss of a degree of freedom that afflicts Euler angle representations). They compose smoothly (SLERP produces the mathematically shortest path between orientations). And they detect misalignment naturally -- the angle between two quaternions is a direct measure of how much two generals disagree. A simpler scalar "alignment score" wouldn't tell you which direction the disagreement points. The quaternion does.

The OODA loop -- Observe, Orient, Decide, Act -- runs on top of this. Each cycle, the system observes its state (pulling from the guidance subsystem's 18 dimensions), orients by computing the grand orientation and Clausewitz vector, decides by identifying the largest misalignments, and acts by recommending specific quaternion rotations to correct them. The entire cycle executes in under 10 milliseconds. Boyd would have approved.

Is it overkill for managing a career and health? Almost certainly. But PLATO isn't really about managing a career. It's about testing whether the mathematical structures that describe military strategy, aerospace control, and geometric reasoning can be composed into a single coherent framework. The career is the dataset. The framework is the point.

<- back to essays