babylon.engine.systems.contradiction_field
ContradictionFieldSystem — System #19 in materialist causality order.
Dialectical Field Topology (Feature 002): Computes named contradiction
fields at every social-class node per tick. When a field_registry is
wired (tests), fields come from its registered calculators; in production —
where no registry is wired (the §5.3 dormant plumbing) — the fields are
sourced from the Lawverian opposition layer instead (E0 repoint): the
"exploitation" field is the mean fresh edge tension written by
ContradictionSystem @18, and "atomization" is the global atomization
opposition gap.
Reference: FR-001 (extensible field computation) Reference: FR-002 (tick-keyed history persistence) Reference: FR-011 (reads from economic outputs, no duplication) Reference: R-003 (storage architecture) Reference: R-006 (system ordering — position 19)
Classes
Compute contradiction fields for all social-class nodes. |
- class babylon.engine.systems.contradiction_field.ContradictionFieldSystem[source]
Bases:
SystemBaseCompute contradiction fields for all social-class nodes.
Execution Order: 19 (after the material-base and action systems)
For each social-class node, computes normalized contradiction field values — from the
field_registrycalculators when one is wired, else from the opposition layer (E0). Stores field values on nodes and maintains a rolling history window in persistent_data for temporal derivative computation by System #20.- step(graph, services, context)[source]
Compute contradiction fields for all social-class nodes.
- Parameters:
graph (GraphProtocol) – Mutable graph (NetworkX or GraphProtocol).
services (ServicesProtocol) – ServicesProtocol with field_registry.
context (ContextType) – TickContext or dict with tick and persistent_data.
- Return type:
None