babylon.engine.dialectics.party
PartyDialectic — Vanguard ↔ Mass Line (MLM theory).
The party is the organizational form produced by sublation of the ClassDialectic. It holds the class that generated it (via parent_id) and governs that class’s subsequent motion through directives.
The Vanguard pole represents organizational discipline, cadre quality, and theoretical clarity. The Mass Line pole represents the party’s connection to and support from the masses.
When the vanguard loses contact with the masses (weight → -1), the party degenerates into bureaucracy. When the mass line dominates (weight → +1), the party dissolves into spontaneism.
See also
babylon.engine.dialectics.class_struggle.ClassDialectic
babylon.engine.dialectics.base.Dialectic: Generic base class.
Classes
|
Mass Line pole: connection to and support from the masses. |
|
Vanguard ↔ Mass Line party contradiction. |
|
Vanguard pole: organizational discipline and theoretical clarity. |
- class babylon.engine.dialectics.party.MassLine(**data)[source]
Bases:
BaseModelMass Line pole: connection to and support from the masses.
- support
Popular support level ∈ [0, 1].
- model_config: ClassVar[ConfigDict] = {'frozen': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- support: float
- class babylon.engine.dialectics.party.PartyDialectic(**data)[source]
Bases:
Dialectic[Vanguard, MassLine]Vanguard ↔ Mass Line party contradiction.
- Weight semantics:
weight < 0 → vanguard dominant (risk of bureaucratic degeneration). weight > 0 → mass line dominant (risk of spontaneism). weight ≈ 0 → healthy dialectical balance.
- Motion law:
Reads the sublated class’s state to calibrate the directive. Discipline decays without class struggle input; mass support grows with material grievance.
- observe() emits:
current_directive: float ∈ [-1, 1], a governance signal that the sublated ClassDialectic reads via find_successor().discipline: vanguard discipline level.mass_support: mass line support level.
- Parameters:
- type_tag: str
- step(inputs, world)[source]
Motion law T for the party dialectic.
- Parameters:
inputs (
TickInputs) – Upstream outputs.world (
WorldView) – Read-only world context.
- Return type:
- Returns:
New PartyDialectic with updated weight and tick.
- observe()[source]
Project party state for downstream governance.
Emits
current_directive— the governance signal that the sublated ClassDialectic reads in its step().
- model_config: ClassVar[ConfigDict] = {'frozen': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- id: UUID
- pole_a: A
- pole_b: B
- weight: float
- parent_id: UUID | None
- tick_created: int
- tick_updated: int
- class babylon.engine.dialectics.party.Vanguard(**data)[source]
Bases:
BaseModelVanguard pole: organizational discipline and theoretical clarity.
- discipline
Party discipline level ∈ [0, 1].
- model_config: ClassVar[ConfigDict] = {'frozen': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- discipline: float