Calling an AI workflow “liquid” or “annealed” is empty metaphor unless it produces falsifiable diagnostics. In zozo123/ariflow-swfactory (22f0109 and edb1fa0), review convergence and swarm search posture emit dimensionless order parameters mirrored across Python (swfactory.phase_control) and Rust (swf_domain::phase_control).

Every phase assessment emits {"authority": "search-only"}. Crystal means “verify exact bytes now” — never permission to skip a human gate or self-merge.

Interactive Liquid Annealing & Phase Simulator

Adjust blockers, major defects, diff breadth, risky files, lane completion, and test status below. This runs the exact formulas implemented in src/swfactory/liquid_annealing.py:

1. The dimensionless annealing equations

defect_energy    = 8*blockers + 3*majors + 0.75*minors + 0.10*nits + (8 if !tests_green)
surface_penalty  = min(1, 0.65 * min(changed_files/20, 1) + 0.35 * min(risky_files/6, 1))
temperature T    = min(1, defect_energy / (defect_energy + 5) + 0.25 * surface_penalty)
beta             = min(20, 1 / max(T, 0.05))
order_parameter  = max(0, 1 - T)
driving_force    = max(0.05, min(1, (tests_green + lane_coverage + 1/(1 + defect_energy)) / 3))
barrier          = (surface_penalty + 0.05)^3 / driving_force^2
crossing_prob    = exp(-barrier / max(T, 0.05))

2. Six phases & hysteresis

PhaseObservable meaningControl ModeFailure if misread
gasHigh candidate dispersion or incomplete specialist lanesdiverge / measureConverging too early and losing independent hypotheses
liquidMobile exploration with useful specialist structureannealOver-constraining search before structure settles
criticalBlockers, red tests, high disagreement or supercritical branching (R >= 1)measureSpawning unmeasured workers instead of auditing verifiers
glassSame material-defect signature repeats; stalled mobilityperturbMistaking stasis for finished stability
jammedBudget/cleanup/queue debt dominates progressdrainPushing more work onto a saturated factory
crystalTests green, all specialist lanes complete, zero blockers/majorsverifyConfusing clean heuristics with formal proof or merge permission

To stop noisy snapshots from oscillating across transitions, phase_control.py encodes asymmetric hysteresis bands: transitions directly into crystal or jammed happen without artificial delay, while leaving glass, jammed, or crystal requires stronger order/debt reversal.