"""KG Conditioning Probe - a tiny ComfyUI node for the layer-derivation harness. Captures the conditioning tensor flowing through it and saves a compact per-tap signature to disk, so the layer-selectivity analysis (Stage 1 of the methodology) can measure what each of Krea 2's 12 text-layer taps encodes - WITHOUT running diffusion (no sampler, no VAE, no image generated). It saves the sequence-mean of the conditioning, reshaped to (12, tap_dim): one mean vector per tap. That is enough to compute, offline, how each tap's contribution varies across a controlled set of reference images. Install: copy this folder into ComfyUI/custom_nodes/ on the render box and restart. Output goes under the dedicated Claude folder (output/claude-generations/kg-selectivity-probe/