Skip to main content

Module phase

Module phase 

Source
Expand description

Read-only max/phaseShift protocol surface.

Water expands roughly 1,700x when it crosses the boiling point into steam. This surface projects that picture onto the law-state runtime: the boiling point is the admission threshold and the 1,700x expansion is the autonomic-mesh fan-out an admitted observation receives. max/phaseShift resolves a hypothetical world-state into a bounded conformance phase and the mesh amplification that phase carries.

This surface is read-only. It reports a phase and an expansion factor; it mutates nothing and propagates nothing on its own. The expansion factor is the intended mesh fan-out for an admitted observation, not an executed action — any actual propagation routes through the mesh’s own hook/action chain, never through this observation surface.

All status fields carry bounded statuses only (ADMITTED, PARTIAL, UNKNOWN, REFUSED, BLOCKED). The three-state law holds: the UNKNOWN phase (Unsettled) is never coerced into PARTIAL (Liquid) or ADMITTED (Vapor). The precedence mirrors crate::repair::simulate_admission: BLOCKED > REFUSED > UNKNOWN > the boiling-point comparison.

Structs§

PhaseShiftParams
Parameters for max/phaseShift: a hypothetical world-state to resolve.
PhaseShiftResultMsg
Result of max/phaseShift.

Constants§

METHOD_PHASE_SHIFT
max/phaseShift — Resolve a world-state into a bounded conformance phase and its autonomic-mesh expansion factor. Read-only: returns a PhaseShiftResultMsg; it neither writes state nor performs the fan-out.
PHASE_DECOMPOSED
Emitted for the Decomposed phase (status REFUSED): an explicit refusal; nothing propagates.
PHASE_FROZEN
Emitted for the Frozen phase (status BLOCKED): an ANDON signal is active and no observation propagates until it clears.
PHASE_UNSETTLED
Emitted for the Unsettled phase (status UNKNOWN): the measurement is undetermined. Information severity — UNKNOWN is never raised to the refused/blocked (Error) polarity.
STATUS_ADMITTED
Bounded status for the Vapor phase: crossed the boiling point.
STATUS_BLOCKED
Bounded status for the Frozen phase: an ANDON signal is active.
STATUS_PARTIAL
Bounded status for the Liquid phase: flowing below the boiling point.
STATUS_REFUSED
Bounded status for the Decomposed phase: explicit refusal.
STATUS_UNKNOWN
Bounded status for the Unsettled phase: measurement undetermined.
STEAM_EXPANSION_FACTOR
Volumetric expansion of water into steam at standard pressure (~1,700x); the autonomic-mesh amplification factor for an admitted (Vapor) observation.

Functions§

diagnostics_for_phase
Map a resolved phase status to zero or more PHASE-* diagnostics, three-state law preserved.
phase_shift
Resolve a world-state into its bounded phase and mesh expansion factor.