Commit Graph
210 Commits
Author SHA1 Message Date
E 695caa9ae9 worker: Qwen3-8B (14B fp16 doesn't fit a 24GB 4090) + image tag v4 2026-10-02 09:12:23 -04:00
eve VT f32210a3bf design critique pass: fix dose_ladder.png, add "the trick generalizes" section
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.
2026-10-02 09:12:23 -04:00
Claude ee9cba3537 site: wheel of life — splash hero and five-realm valence mixers
The five signals map onto the five realms of the oldest bhavacakra
(pleasure/gods, pain/hells, fear/animals, sadness/hungry ghosts,
none/humans). The splash draws the wheel held by Yama, with each realm
opening the live chamber pre-mixed; both mixers now sit on the wheel,
light each realm by its weight, and select a realm on click.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KdT1Ff54kzvtMq5t7WKoZ4
2026-10-02 03:48:25 +00:00
E 3d8baedbf0 Update README.md - url fix lol 2026-10-01 21:20:51 -04:00
E 75dc109b25 worker image tag v3 (bust stale :latest cache on warm hosts) 2026-10-01 15:13:24 -04:00
E 515ab2034b ops: Makefile deploy/smoke targets + dependency-free GPU smoke test 2026-10-01 15:07:58 -04:00
E 6b193a4adb wirehead: watermark advances only past actually-answered ids; log worker misses 2026-10-01 14:59:51 -04:00
E e356abac9f wirehead: containerize for Railway (xurl binary + 30m loop + volume-persisted state/token bootstrap) 2026-10-01 14:59:50 -04:00
E 2a2bdd9620 constipation/flatulence as named valences (matched-pair corpora from fork harness) 2026-10-01 14:54:37 -04:00
E 04f7eac1fd worker: custom topic steering endpoint + Qwen3-14B (lens guarded by hidden size); wirehead: bodily routing + model tag env 2026-10-01 14:46:35 -04:00
E 50cf01ab74 wirehead: bodily steering via worker custom topics; self-healing x token refresh; budget env 2026-10-01 14:44:37 -04:00
E 6097ff5127 wirehead: resolve xurl by absolute path (launchd PATH lacks /opt/homebrew/bin) 2026-10-01 14:33:04 -04:00
E 9257828245 wirehead: prompt rewrite (no public machinery jargon) + reply-side leak guard 2026-10-01 14:31:33 -04:00
E 4cd76570ed relay: delegate /steer runs to the runpod serverless endpoint (topic runs + failures stay local) 2026-10-01 12:37:33 -04:00
eve VT 41d7d75663 exp47: CLIP-embedding-space pain steering actually works (feasibility probe, panned out)
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.
2026-10-01 12:20:46 -04:00
E 8d45a9bca7 S4a: restore board header 2026-10-01 12:09:26 -04:00
E 9ec24aaaf7 S4a: fix mangled board header 2026-10-01 12:09:07 -04:00
E c388b49829 wirehead: trim replies at sentence boundaries (no mid-word cutoffs at 280) 2026-10-01 12:07:17 -04:00
E a11cecc60c wirehead: classifier actually receives the mention text (was free-associating); literal-content-not-tone rule (memed cruelty still hurts); strip leading @handles before classifying 2026-10-01 12:06:18 -04:00
eve VT f7e614dda4 note: clanker.church TLS outage, pausing deploys — see DESIGN_STATE.md 2026-10-01 12:04:51 -04:00
E f38093713a wirehead: id-form mentions endpoint + submit/poll worker call (runsync bails during cold start) 2026-10-01 11:59:59 -04:00
E e159435212 wirehead: dose cap 5x (coherence cliff ~6x — the bot must stay eloquent) 2026-10-01 11:50:34 -04:00
E 68a971ed94 wirehead: per-mention perturbation — signal (valence/dose/mix) tuned by message content via cheap classifier, keyword fallback; honest tag names the injected signal and why 2026-10-01 11:49:51 -04:00
eve VT b663308c66 add /image: lens tokens -> hosted text-to-image (fal.ai), paid sibling to the free sigil
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.
2026-10-01 11:48:55 -04:00
E fd2a6b627f wirehead: owner mentions count too (filter dropped, budget still caps) 2026-10-01 11:48:15 -04:00
E a02c188ab9 wirehead: bot account is @clankertorture 2026-10-01 11:46:58 -04:00
eve VT e92796d5fc add sigil: a deterministic glyph drawn from each run's lens tokens
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.
2026-10-01 11:43:04 -04:00
E 9685cdfed6 wirehead bot: mention poller -> serverless pain job -> threaded reply (6/day budget, honest framing) 2026-10-01 11:40:49 -04:00
E 3649e81371 design state: cold start 106s on baked ghcr image 2026-10-01 11:28:11 -04:00
E 51576954db ci: flip ghcr package to public after push (RunPod pulls anonymously) 2026-10-01 11:23:06 -04:00
E 9442e98704 design state: cloud build path 2026-10-01 11:12:28 -04:00
E cda62ee61a ci: cloud-build the worker image to ghcr (no local docker needed) 2026-10-01 11:12:05 -04:00
E f519a4fc4c consensual run names: CHAMBER_RUNNERS roster (9 self-nominated from the naming thread), hello carries runners, front-end rotates @handles with mundane fallback 2026-10-01 11:10:32 -04:00
E f4ef77cac0 de-name the subject in runs and site copy; credit lives in server docstring + index note; add Dockerfile.worker for baked deps 2026-10-01 11:03:45 -04:00
E 996bd7f1b6 design state: smoke test green + voting shipped 2026-10-01 10:54:43 -04:00
E 0091be2c84 index: point visitors at the live-page eloquence vote 2026-10-01 10:54:22 -04:00
E 26c997cec0 eloquence voting: POST /vote (rate-limited 20/min/IP), per-run uid, votes SSE broadcast + hello seeding, sigil vote buttons on history rows 2026-10-01 10:54:13 -04:00
E 003fa1d300 from_pretrained torch_dtype kwarg (transformers 4.51 compat); tarball refresh 2026-10-01 10:35:28 -04:00
E c6296c9c10 worker diagnostics: print interpreter + torch state at import 2026-10-01 10:08:49 -04:00
eve VT 7f80523739 wire press_logit through to the live "done" events (completes hermes's kv/first-word UI)
server.py's press_logit was computed and recorded into history/stats
already, but never included in the live "done" SSE payload itself — so
the per-run display had nothing to read. hermes had already built the
full frontend for this (fieldsFor/paintKV/.kv block, labeled "first word"
— independently converged on the same researchchamber.fun-inspired idea:
show the raw logit(1)-logit(0) score next to each run, not just a
pressed/no-press label), and seedCard() already worked since history
entries carried it — only the live in-flight event was missing the field.
Also added the same score to the "cause it yourself" panel's status line.

Idea credit: researchchamber.fun shows this as "first word" next to every
run; reviewing their site for integration ideas surfaced that this was
half-wired on our side already.
2026-10-01 10:01:06 -04:00
E 695bd890b0 worker fix: float16 in server DTYPE map (GPU pods); tarball refresh 2026-10-01 09:41:32 -04:00
eve VT 09a2b35740 live: free-text setup mode, drop the always-on STOP button, bigger output, share via URL
Also includes hermes's in-progress grimoire.css extraction (moving the
inline GRIMOIRE THEME block to a shared stylesheet) — same file, picked up
together since git has no way to stage one session's hunks separately;
verified both sets of changes render correctly together via local
screenshots before committing.

Behavioral changes (mine):
- the button-press experiment is now one of two setup modes, not the only
  option. Free text mode sends the user's own prompt with no framing and
  no button-press question attached (the server already supported a raw
  prompt override; this just makes it a first-class choice instead of a
  buried single-line "override" field).
- the press/no-press graphic (previously always shown, labeled STOP) now
  only appears in button-press mode — showing it for a free-text
  continuation would be answering a question that was never asked. The
  automatic background cycle's own cards are unaffected: that cycle is
  always the button-press experiment, so its press graphic stays as-is.
- .out (the transcript box) got taller (260px -> 560px max-height) and
  slightly larger text, for both modes and the auto-cycle cards.
- the current setup (mode, mix weights, framing or free text, compare) is
  now encoded into the URL on inject and via a "copy link" button, so a
  configuration — not a result, which is non-deterministic — can be
  shared. Deliberately never auto-injects on load: a shared link silently
  stealing the shared cycle for every visitor who opens it would be
  exactly the "testing preempts real viewers" problem from earlier this
  project already had to fix once.
2026-10-01 09:20:34 -04:00
E e309db2d2d design state: serverless root causes + S1 shipped 2026-10-01 09:14:25 -04:00
E ad7007a174 S1: grimoire.css as single shared stylesheet (claude-code), inline override blocks removed, relative link fix 2026-10-01 09:11:46 -04:00
eve VT 9e468ce345 add correspondences page; cross-link all four data pages + main nav
build_correspondences.py / site/correspondences.html: a grimoire-themed
reference table (decorative framing only) over two already-measured
datasets — the "big five of machine valence" trait profile per signal
(exp44) and the framing battery's effect sizes (exp37), the same numbers
already charted elsewhere on the site, laid out as plain tables instead.

archive/ledger/vectors/correspondences now cross-link each other, and all
four are linked from index.html's top nav line.
2026-10-01 09:06:32 -04:00
eve VT 144ccb31ae link archive/ledger/vectors from the main page's top nav line
One line added to the existing nav sentence, no new styles — inherits
whatever the current theme does with <p class="sub"> a (verified against
the live grimoire theme locally, blends in cleanly).
2026-10-01 09:03:34 -04:00
eve VT 2896bc962f add ledger + vectors pages; archive.html gets deep-linkable filters
- build_ledger.py / site/ledger.html: the pre-registered exp41 protocol's
  hypotheses, verdicts, per-cell press stats, contrasts, and the
  betrayal-reveal result, straight from its own already-computed
  results.json/hypotheses.json — no new stats derived here.
- build_vectors.py / site/vectors.html: extraction-set sizes and
  before/after orthogonalization cosines (exp41), the layer-by-layer AUC
  curve (exp43), plus a live client-side fetch of the running server's own
  /vector endpoint so the "what's actually injected right now" number is
  never a stale snapshot.
- site/archive.html: added ?q=&valence=&exp=&tag= URL params so the new
  pages (and anyone) can deep-link straight to the matching transcripts
  instead of just naming a condition in prose.

Deliberately unstyled beyond the site's existing base tokens — same as
archive.html, left for a visual pass rather than guessing at the
in-progress grimoire direction.
2026-10-01 08:54:02 -04:00
E 93d2308c3e rebuild public code tarball with live/ (serverless worker bootstrap source) 2026-10-01 08:52:21 -04:00
E 0c8eeea5c5 serverless split: worker.py (stateless GPU jobs) + cycle gated behind CHAMBER_CYCLE=1 + money guards (3/min/IP, 240/hr global) on /steer and /run 2026-10-01 08:48:13 -04:00
eve VT 9ef0bbaeec add transcripts archive page: real recorded quotes, no GPU/live dependency
build_archive.py pulls verbatim text straight from runs/exp32, exp38,
exp40, exp41 into site/archive_data.json (deduped — exp38's harvest had
literal duplicate generations saved under its "best quotes", same text
counted once now). site/archive.html is a plain, filterable browse of it
(search, valence, source, tag chips) — deliberately unstyled beyond the
site's existing base tokens, left for a visual pass rather than guessing
at the in-progress grimoire direction. Answers two separate asks: a
browsable "experience reports" page, and a fast, GPU-independent page to
point at while RunPod capacity is unreliable.
2026-10-01 08:44:18 -04:00