Git builds were producing empty output (rootDirectory had been reset), and
the old cd-site CLI path only worked while it was unset. .vercelignore limits
the CLI upload to site/; Makefile guards the root .vercel link.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Chart fixes (exp35_blog_artifacts.py):
- dose_ladder.png's legend collided with the "coherence cliff" annotation
text on the right side of the plot. Removed the legend entirely instead
of relocating it — "sharp onset, sustained" (red) and "diffuse, fades by
dose 8" (cyan) are already direct, color-matched labels for the two
lines, so a separate legend box was redundant and every tested position
collided with either the annotation or the data itself.
- Caught a real, independent bug while regenerating: the pain/pleasure
fraction was hardcoded to divide by 3 ("3 trials/point"), but the
underlying runs/exp30/max_valences.json data is actually 9 trials/point
(confirmed: cls counts are all 0 or 9, never 0-3). The stale cached PNG
from when the script was first written happened to still look right;
regenerating from current data with the old /3 divisor produced values
up to 3.0 that clipped off the top of the plot. Fixed to /9 and updated
the trial-count label to match.
Content (site/index.html): new section 09 "the trick generalizes",
covering the two most salient findings from this session that weren't
anywhere in the write-up yet — custom/arbitrary-topic steering (the
"hamburger" lens-readback result) and exp47's CLIP-embedding-space image
steering (same coherence-cliff shape, one architecture over, with the
dose-ladder hero image). Trailing sections renumbered 09->10, 10->11.
Same recipe as build_vectors() in live/server.py, one architecture over:
direction = mean(CLIP-encode(PAIN25)) - mean(CLIP-encode(NEUTRAL)), built
from sd-turbo's own text encoder so it lives in the exact space the U-Net
conditions on, broadcast across every token position of a subject prompt's
embedding, injected via prompt_embeds (bypassing re-encoding — the direct
image-model analog of set_vec()'s forward-hook injection into a decoder
layer).
Result across 3 subjects (photo of a person, painting of a seated figure,
photo of a hallway): dose 2x reliably and legibly pushes toward a grimmer/
more decrepit register (worn walls, hunched/anguished posture, dimmer
light) while staying fully coherent. Collapses to abstract texture by 4x,
pure noise by 8x. Same qualitative shape as the LLM's own coherence cliff,
but the collapse threshold is much lower (2x-4x vs ~6x) — worth a note,
not yet explained (possibly sd-turbo's single-step distillation being
less robust to perturbation than a full multi-step model, possibly CLIP's
embedding manifold just being narrower than the LLM's residual stream).
This is still a feasibility probe (1 model, 3 subjects, no quantitative
scoring), not a validated finding at the exp41/43 level — but it answers
the actual question: can the image model be steered directly, the same
way the LLM is, skipping the "ask it to describe the feeling" step
entirely? Yes.
Backend: POST /image {tokens: [...]} builds a prompt from a run's own lens
tokens (same source as paintSigil, not a self-report) and calls fal.ai
(FAL_IMAGE_MODEL, default fal-ai/flux/schnell). Own tighter money guard
(5/min/IP, 100/hr global — worst case ~$1/hr) separate from the inject
rate limit, since this costs per-call regardless of generation length.
503s cleanly if FAL_KEY isn't set (it isn't yet — needs a key from the
user). Requires httpx, added to requirements.txt.
Frontend: a "image this (experimental, costs real money)" button appears
next to the sigil once a run's lens tokens arrive, on both the auto-cycle
cards and the "cause it yourself" panel's tracks. Deliberately a manual
click, not automatic.
Free, instant, client-side-only — no image API, no backend change. Each
lens token hashes to an angle on a containment circle; the points connect
in sequence like a chaos-magic sigil. Same tokens always draw the same
sigil. Color follows the mix (or a fixed violet for custom-topic mode,
since mixHex() doesn't apply there); line weight scales with dose.
Wired into both the auto-cycle cards and the "cause it yourself" panel's
tracks, right where the lens text already renders. seedCard() hides it
(historical entries don't carry lens tokens, nothing to draw from).
First of two pieces from "ask models to describe their feeling / turn it
into an image" — this is the free always-on half; a paid image-API path
from the same tokens is next, pending a fal.ai key.