# J18 — STRIATUM: Learned Personality Modulation from Feedback (sketch v0.1, 2026-06-10)

> **Status: SKETCH / outline.** Spun out of J11 AMYGDALA, which becomes Prudence-only.
> Codename **STRIATUM** is proposed and verified free in the J-series registry (J17=BROCA is the
> highest used); **pending the author's sign-off before registering J18** per the registry rule.

## Thesis (one line)
An agent's *personality* should be **learned from feedback and shaped toward a configured target**, not hand-written in static prompt text — and it is a fundamentally different problem from safety, so it gets its own system and paper.

## 1. Why this is not part of the amygdala (J11)
J11's own two-family argument is the justification for **two papers**:
- **Safety (Prudence / amygdala, J11):** universal ground truth, binary-ish, shareable. "Should this action be stopped?"
- **Personality (STRIATUM, J18):** *no* universal ground truth — subjective, per-user, private, continuous. "How should this agent behave *for this person*?"

The brain analogy follows: the amygdala flags danger; the **striatum** (dopaminergic reward, action-selection, habit formation) is where **behaviour is shaped by feedback**. That is a far better fit for personality than the amygdala ever was. STRIATUM is a **reader** of CORTEX's identity (J4 owns `SOUL.md` + the target personality vector); STRIATUM *generates* the modulation CORTEX *protects*, and never writes identity.

## 2. What's broken in the current personality (verified, must not be carried over)
- **The nudge has injected ZERO bytes since it shipped.** Writer emits `{adjustments: [...]}` (`learned-intuition/index.ts`); reader reads `raw.nudge` as a *string* (`identity-persistence/index.ts`) — a field never written. So the "personality nudge" was never actually tested; the "it doesn't work" history is really "it was never wired."
- **Wrong input.** The net's input is the *situation* (what's happening), not **Jarvis's own response** — so it literally cannot measure whether Jarvis was warm/curious/terse *this turn*. It is blind to the very thing it's supposed to modulate.
- **Opaque output.** A 64-d behaviour embedding decoded against a hash-seeded codebook — no human-meaningful axes, hard to inspect or steer.
- **A dimension bug** (96-d in `reflect_and_curate.py` + a test vs 64-d everywhere live) — curation-code bug, to fix during extraction.

## 3. The rewrite (core contribution)
1. **Require Jarvis's own recent output as a second input.** Embed (situation, **Jarvis-output**) so the model can learn the mapping from *what was said* to *how it landed*. This single change is the most important.
2. **Named, human-meaningful axes.** Output a small fixed vector of labelled dimensions — humour, warmth, directness, curiosity, formality, proactivity, … — no hash-to-64 indirection. Inspectable and steerable.
3. **One small regressor, NOT an ensemble-of-5.** The ensemble's only payoff is disagreement-as-uncertainty, which self-distillation on the same input cannot produce; five clones recreate the J11 "C/E mush." (The ensemble-of-5 mandate is for the Prudence *danger* gate, where asymmetric loss + real labels give genuine signal.)
4. **Thermostat, not thermometer.** Push behaviour *toward* a configured target personality vector (owned by CORTEX/`SOUL.md`), don't mirror the user's current mood. Maintains traits against contextual pull (curiosity doesn't vanish during a crisis).
5. **Real injection channel (not the dead nudge):** a **next-turn pre-fill** (accept the one-turn lag), **one axis at a time**, **α-gated**, and **attributable in the UI** (so a behaviour change is visible and reversible). Retire the old nudge at both ends; keep the persona re-injection that *does* work (identity-persistence).

## 4. The reward signal (engagement, implicit + noisy)
Conversation continuation (kept talking → probably good), explicit feedback ("that's funny" / "too much"), response latency, and **redirect = distraction penalty** ("let's get back to the point"). These are weak and noisy — which is exactly why personality must NOT share a training loop with the clean safety signal.

## 5. Honest scope for the FIRST paper
There is **no behaviour corpus today** and **no evidence a nudge ever changed an output** (it injected 0 bytes). So J18 v1 must **not** claim trained personality weights or behaviour-change results. The **primary contribution is the logging schema + protocol**:
- Log `(situation_embedding, jarvis_output_embedding, engagement_signal, target_vector, turn_id)` per turn.
- Define the target-N (how much data before training is meaningful).
- Ship in **observe-only shadow**; measure first, train later.
- Future eval (once data exists): base Opus / +prompt-persona / +STRIATUM, same task suite.

## 6. Code extraction plan (independent of the J11 NN work)
- Factor the frozen MiniLM encoder + 384→512 projection + K=32 sequence builder into a **shared module** owned by the always-on Prudence gate; STRIATUM **receives** the already-computed 512-d embedding (MiniLM runs once per situation).
- Move `personality-decoder.ts` + `personality-seed.ts` into a new optional extension **`tinkerclaw-personality`** so Prudence and Personality deploy independently.
- Delete personality from `gate.ts` (Steps 8–9: `personalitySessions`, `runPersonality`, `combinePersonality`, `NEUTRAL_PERSONALITY`), from `AmygdalaEvaluation`/types, and the `AmygdalaConfig.personality` block; remove the decode in `runtime-hook.ts`.
- **Before deleting `AmygdalaEvaluation.personality`,** grep tinker-ui + control-panel for `combined_embedding`/`behaviour_embedding` consumers (the live panel could break).
- Retire the inert nudge writer + reader; fix the 96→64 curation-code mismatch.

## 7. Proposed section outline
1. Introduction — personality is learned, not written; why it's not safety.
2. Background — persona-conditioning, RLHF, affective computing, the striatum analogy (reward/habit/action-selection).
3. The adaptation gap for *behaviour* (the author's agent vs an agent run for another user as the motivating natural experiment — moved here from J11).
4. Architecture — (situation, Jarvis-output) → named-axis regressor; thermostat-toward-target; the injection channel.
5. The feedback signal — engagement metrics, noise, the distraction penalty.
6. Logging schema + protocol (the v1 contribution).
7. Relationship to CORTEX (J4) — who owns identity vs who modulates.
8. Honest limitations — no behaviour corpus yet; shadow-only; one-turn lag.
9. Future evaluation plan.

## 8. Open items
- **Codename sign-off:** confirm **J18 STRIATUM** with the author before writing it into any registry/paper.
- **Where it lives vs J4 CORTEX:** keep separate (CORTEX *guards* the persona; STRIATUM *generates* modulation) — do NOT fold into J4.
- The full J11 → Prudence-only paper edit (see the J11 working notes, §6) removes the personality sections that seed this paper.

*Source: an internal research workflow (personality-split grounding + synthesis) + direct verification, 2026-06-10.*
