babylon.engine.phase
Phase-typed state for engine tick ordering (Spec 040 Discipline 4).
The Phase enum enforces system ordering at the type level. Each system declares which Phase it operates in, and the engine validates that systems only run during their declared phase.
The four phases correspond to the Marxian circuit of capital:
PRODUCTION: Value creation (labor × nature)
DISTRIBUTION: Value extraction and transfer (imperial rent)
CONSCIOUSNESS: Ideological drift and solidarity
STRUGGLE: Agency, contradiction, and rupture
Functions
|
Advance to the next phase, wrapping from STRUGGLE to PRODUCTION. |
Classes
|
Tick phase for system ordering. |
|
Record of a phase advancement. |
- class babylon.engine.phase.Phase(*values)[source]
Bases:
IntEnumTick phase for system ordering.
Systems declare their phase. The engine runs systems in phase order. IntEnum enables natural ordering comparisons.
- Values:
PRODUCTION: Value creation from labor applied to nature (0) DISTRIBUTION: Value extraction, wages, imperial rent (1) CONSCIOUSNESS: Ideology drift, solidarity transmission (2) STRUGGLE: Agency, contradiction resolution, rupture (3)
- PRODUCTION = 0
- DISTRIBUTION = 1
- CONSCIOUSNESS = 2
- STRUGGLE = 3