v7.3 → v7.4
What changed from v7.3 to v7.4
From v7.3 (2 Jun) to v7.4 (2 Jun): 6,024 words to 6,117 words, 157 words in new or rewritten paragraphs and 64 taken out, 8 paragraphs changed.
Concrete thresholds for drift actions and cost
Small changes that add numbers in place of loose wording.
- The four drift responses get their score bands (above 0.85 none, down to 0.50 or below for a full persona re-injection).
- The drift-recovery benchmark states its smoothing factor (0.1) and its trigger point (0.6).
- Cost overhead becomes 1-3% per turn instead of "less than 3%".
- The future-work idea of "memory dreams" is restated as idle-time consolidation plus learned tuning of the correction weights.
v7.3 · 2 June 2026v7.4 · 2 June 2026
··· 2 unchanged paragraphs folded ···
v7.3 · AbstractBecause the persona lives in editable state outside any model's weights, the same machinery keeps identity stable when the underlying model is swapped mid-conversation — a property training-time methods cannot offer — and lets an external reflection layer rewrite the persona overnight, so identity not only persists but improves. A discrete-time Lyapunov analysis provides closed-form variance bounds. Component benchmarks confirm 50-turn SyncScore stability (mean 0.977), drift recovery from 0.027 to 0.980, and 442× on/off-persona separation. Human evaluation (30 logs, 3 judges, Krippendorff's α = 0.81) yields consistency of 4.2 ± 0.4 versus 2.6 ± 0.7 baseline. The system has maintained consistent personality across 30+ days of production deployment spanning model switches, context resets, and hundreds of sessions.
v7.4 · AbstractBecause the persona lives in editable state outside any model's weights, the same machinery keeps identity stable when the underlying model is swapped mid-conversation — a property training-time methods cannot offer — and lets an external reflection layer rewrite the persona overnight, so identity not only persists but improves. A discrete-time Lyapunov analysis provides closed-form variance bounds. Component benchmarks confirm 50-turn SyncScore stability (mean 0.977), drift recovery from 0.027 to 0.980, and 442× on/off-persona separation. Human evaluation (30 logs, 3 judges, Krippendorff's α = 0.81) yields consistency of 4.2 ± 0.4 versus 2.6 ± 0.7 baseline. In over 30 days of continuous production deployment spanning model switches, context resets, and hundreds of sessions, the agent required no manual persona correction.
··· 29 unchanged paragraphs folded ···
v7.3 · 4.1 Priority-Aware InjectionThe injection layer renders the persona into pinned tiers and enforces the context budget before recent turns and retrieved memories are appended. The persona specification is loaded once per session from its human-readable source file; the runtime recomputes SyncScore after every turn.
v7.4 · 4.1 Priority-Aware InjectionThe injection layer renders the persona into the pinned tier and enforces the context budget before recent turns and retrieved memories are appended. It loads the persona specification once per session from its human-readable source file and recomputes SyncScore after every turn.
··· 59 unchanged paragraphs folded ···
v7.3 · 7.3 Drift Recovery BenchmarkThe EWMA accumulator correctly captured sustained off-persona behavior, collapsing SyncScore from ~0.97 to 0.027 — a 97-percentage-point drop. After a 238-character re-injection block, SyncScore recovered to 0.980 within Phase C. The 14-turn offset reflects the EWMA's characteristic lag, not continued off-persona behavior; the score climbs monotonically from turn 30.
v7.4 · 7.3 Drift Recovery BenchmarkThe EWMA accumulator (smoothing factor $\alpha = 0.1$) captured sustained off-persona behavior, collapsing SyncScore from ~0.97 to 0.027 — a 97-percentage-point drop. The runtime triggers re-injection once the smoothed SyncScore falls below 0.6, so the drop in Phase B fires the correction well before the score bottoms out. After a 238-character re-injection block, SyncScore recovered to 0.980 within Phase C. The 14-turn offset reflects the EWMA's characteristic lag, not continued off-persona behavior; the score climbs monotonically from turn 30.
··· 16 unchanged paragraphs folded ···
v7.3 · 7.5 Real-World Evaluation on Production Logs**Continuous deployment.** The system has run in continuous production for over 30 days across hundreds of sessions. During this period, the agent maintained consistent personality through model switches (Claude → GPT-4o → Gemini), context window resets, and multi-topic conversations without manual persona correction. While we do not yet report quantitative SyncScore telemetry from production (planned for §12.2), qualitative monitoring confirmed zero incidents requiring manual persona intervention during this period.
v7.4 · 7.5 Real-World Evaluation on Production Logs**Continuous deployment.** The system has run in continuous production for over 30 days across hundreds of sessions. Throughout, the agent held its personality through model switches (Claude → GPT-4o → Gemini), context-window resets, and multi-topic conversations with no manual persona correction. We do not yet report quantitative SyncScore telemetry from production — that is the scaled-validation work itemized in §12.2 — but qualitative monitoring recorded zero incidents requiring manual persona intervention over the period.
··· 5 unchanged paragraphs folded ···
v7.3 · 8. ImplementationThe action classifier maps the consistency metric onto four escalating responses — `none`, `mild_reinforce`, `moderate_refresh`, and `severe_rebase` — with `severe_rebase` reserved for the full persona re-injection used after catastrophic drift and model switches (§4.4). The complete test suite passes; we report magnitudes rather than a frozen count, since both grow as the module evolves.
removed in v7.4
not in v7.3
v7.4 · 8. ImplementationThe action classifier maps the consistency metric onto four escalating responses, keyed to the consistency score $C$: $C > 0.85 \to$ `none`; $C \in (0.70, 0.85] \to$ `mild_reinforce`; $C \in (0.50, 0.70] \to$ `moderate_refresh`; $C \leq 0.50 \to$ `severe_rebase`. The most aggressive tier, `severe_rebase`, performs the full persona re-injection used after catastrophic drift and model switches (§4.4). Each of the seven units carries its own unit tests, and the suite passes end to end.
··· 4 unchanged paragraphs folded ···
v7.3 · 9. Computational Cost AnalysisIdentity Persistence adds less than 3% overhead to baseline inference costs. Standard model inference costs $\$0.015\text{--}\$0.05$ per turn. The full suite of probes and EWMA loops adds only $\sim\$0.00047/\text{turn}$. **Prompt caching** makes this practical: prefixing the stable 1,200-token persona block hits cache >95% of the time, reducing injection costs from $\$0.006$ to $\$0.0006/\text{turn}$.
v7.4 · 9. Computational Cost AnalysisIdentity Persistence adds roughly 1–3% overhead to baseline inference costs. Standard model inference costs $\$0.015\text{--}\$0.05$ per turn; the full suite of probes and EWMA loops adds only $\sim\$0.00047/\text{turn}$, between 0.9% and 3.1% depending on the base rate. **Prompt caching** makes this practical: prefixing the stable 1,200-token persona block hits cache >95% of the time, reducing injection costs from $\$0.006$ to $\$0.0006/\text{turn}$.
··· 20 unchanged paragraphs folded ···
v7.3 · 11.5 Future WorkTwo directions remain open: "memory dreams" — offline consolidation of persona state during idle periods — and learned reinforcement policies for dynamic weight tuning. The Instant Recall nightly rebuild cycle (Serra, 2026b) provides a natural hook for idle-time persona consolidation.
v7.4 · 11.5 Future WorkTwo directions remain open: offline consolidation of persona state during idle periods, and learned policies that tune the correction gain and signal weights from observed drift rather than fixed defaults. The nightly index rebuild that Instant Recall already runs (Serra, 2026b) provides a natural hook for the first — idle-time persona consolidation can ride the same cycle.
··· 45 unchanged paragraphs folded ···
Changed paragraphs in the same form, for scripts: JSON · Markdown