babylon.engine.dialectics.consciousness

Class Consciousness Dialectics (Lukacs, MIM(P)).

This module contains the ClassConsciousnessDialectic, linking the spontaneous, reified material conditions (Pole A) to the imputed, revolutionary consciousness (Pole B) orchestrated by a vanguard.

Weight semantics:
-1.0 <= weight < 0: Reified/Trade-Union consciousness dominates. The population

is anchored to its immediate material conditions (capitalist hegemony). For the labor aristocracy, this represents the bribed consciousness.

weight > 0: Imputed/Revolutionary consciousness dominates. The population

has achieved the subject-object of history status.

See also

babylon.engine.dialectics.base.Dialectic: Generic base class.

Classes

ClassConsciousnessDialectic(**data)

The reified/spontaneous ↔ imputed/revolutionary contradiction.

class babylon.engine.dialectics.consciousness.ClassConsciousnessDialectic(**data)[source]

Bases: Dialectic[MaterialConditionsBuffer, TernaryConsciousness]

The reified/spontaneous ↔ imputed/revolutionary contradiction.

Weight reflects whether consciousness is dominated by immediate, reified material conditions (wage struggles, imperial bribery) (weight < 0, A dominant) or by imputed, revolutionary consciousness organized by a vanguard (weight > 0, B dominant).

Motion law:
  • Crises/Cracks in Hegemony: Inputs from economic dialectics generate agitation, which acts to push consciousness out of equilibrium.

  • Vanguard Intervention: Education and solidarity route raw agitation into (Δr, Δl, Δf) TernaryConsciousness shifts.

  • Weight tracks the relative dominance of the ternary simplex over the base reification buffer.

Invariants:
  • r + l + f ≈ 1.0 (simplex constraint)

Parameters:
type_tag: str
step(inputs, world)[source]

Motion law T for class consciousness.

Calculates inputs from upstream economic crises, routes agitation into the ternary simplex, and evaluates the new weight of the dialectic.

Parameters:
  • inputs (TickInputs) – Upstream outputs. Looks for own id’s entry with added_agitation, solidarity, education_pressure.

  • world (WorldView) – Read-only world context.

Return type:

ClassConsciousnessDialectic

Returns:

New ClassConsciousnessDialectic with updated weight, poles, and tick.

observe()[source]

Project class consciousness state for frontend rendering.

Return type:

dict[str, Any]

Returns:

Observation dict with consciousness metrics.

invariants()[source]

Consciousness-specific invariants.

Checks:
  • r + l + f ≈ 1.0

Return type:

list[str]

Returns:

List of violation descriptions.

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