ReadPrintedHistoryCompareGraphs

v2.4 → v2.5

What changed from v2.4 to v2.5

From v2.4 (2 Jun) to v2.5 (2 Jun): 23,214 words to 23,237 words, 46 words in new or rewritten paragraphs and 23 taken out, 13 paragraphs changed.

Wording only: small edits and image file names

Wording only: a few phrases tightened and the architecture figures point to new image files.

v2.4 · 2 June 2026v2.5 · 2 June 2026

··· 161 unchanged paragraphs folded ···

v2.4 · 4.5 The Personality Family: Five Behavioural NetworksThe embedding output is the crucial design difference. Think of it like this: the Prudence networks are a **mixing board with labelled sliders** — "danger level," "confidence," "ambiguity" — each slider controls exactly one thing. The Personality networks are a **painter's palette** — the output is a point in colour space, and what that point _means_ for behaviour is discovered during training, not predetermined at design time.
v2.5 · 4.5 The Personality Family: Five Behavioural NetworksThe embedding output is the design difference that matters most. Think of it like this: the Prudence networks are a **mixing board with labelled sliders** — "danger level," "confidence," "ambiguity" — each slider controls exactly one thing. The Personality networks are a **painter's palette** — the output is a point in colour space, and what that point _means_ for behaviour is discovered during training, not predetermined at design time.

··· 41 unchanged paragraphs folded ···

v2.4 · 4.7 Conformal Prediction: Principled Uncertainty Quantification**Per-network calibration.** Each of the five Prudence networks is calibrated independently. This is crucial because different architectures may be well-calibrated on different types of situations. The GRU-MLP (Architecture A) may be perfectly calibrated on sequential patterns but miscalibrated on sudden context shifts, while the Dual-Encoder (Architecture D) may show the opposite pattern. Independent calibration prevents one network's miscalibration from contaminating the ensemble.
v2.5 · 4.7 Conformal Prediction: Principled Uncertainty Quantification**Per-network calibration.** Each of the five Prudence networks is calibrated independently, because different architectures may be well-calibrated on different types of situations. The GRU-MLP (Architecture A) may be perfectly calibrated on sequential patterns but miscalibrated on sudden context shifts, while the Dual-Encoder (Architecture D) may show the opposite pattern. Independent calibration prevents one network's miscalibration from contaminating the ensemble.

··· 83 unchanged paragraphs folded ···

v2.4 · 5.1 Architecture A: GRU-MLP (Baseline)![Architecture A (GRU-MLP) data flow: the situation-embedding sequence is projected, passed through a single-layer GRU, then a two-stage MLP before the family-specific output heads.](images/j11-arch-a-gru-mlp.png){width=100%}
v2.5 · 5.1 Architecture A: GRU-MLP (Baseline)![Architecture A (GRU-MLP) data flow: the situation-embedding sequence is projected, passed through a single-layer GRU, then a two-stage MLP before the family-specific output heads.](images/j11-arch-a-gru-mlp.pdf){width=100%}

··· 10 unchanged paragraphs folded ···

v2.4 · 5.2 Architecture B: Temporal Convolutional Network (TCN)![Architecture B (Temporal Convolutional Network) data flow: four stacked dilated causal convolutions (dilations 1, 2, 4, 8) over the projected embedding sequence, taking the last position into the output heads.](images/j11-arch-b-tcn.png){width=100%}
v2.5 · 5.2 Architecture B: Temporal Convolutional Network (TCN)![Architecture B (Temporal Convolutional Network) data flow: four stacked dilated causal convolutions (dilations 1, 2, 4, 8) over the projected embedding sequence, taking the last position into the output heads.](images/j11-arch-b-tcn.pdf){width=100%}

··· 10 unchanged paragraphs folded ···

v2.4 · 5.3 Architecture C: Transformer-Micro![Architecture C (Transformer-Micro) data flow: linear projection plus learned positional encoding, two self-attention encoder layers, mean-pooling, then the output heads.](images/j11-arch-c-transformer.png){width=100%}
v2.5 · 5.3 Architecture C: Transformer-Micro![Architecture C (Transformer-Micro) data flow: linear projection plus learned positional encoding, two self-attention encoder layers, mean-pooling, then the output heads.](images/j11-arch-c-transformer.pdf){width=100%}

··· 10 unchanged paragraphs folded ···

v2.4 · 5.4 Architecture D: Dual-Encoder with Cross-Attention![Architecture D (Dual-Encoder with cross-attention) data flow: a proposed-action encoder and a recent-context encoder fused via cross-attention to detect contradictions between intent and recent history.](images/j11-arch-d-dual-encoder.png){width=100%}
v2.5 · 5.4 Architecture D: Dual-Encoder with Cross-Attention![Architecture D (Dual-Encoder with cross-attention) data flow: a proposed-action encoder and a recent-context encoder fused via cross-attention to detect contradictions between intent and recent history.](images/j11-arch-d-dual-encoder.pdf){width=100%}

··· 9 unchanged paragraphs folded ···

v2.4 · 5.5 Architecture E: Ensemble MLP (No-Temporal Baseline)![Architecture E (Ensemble MLP, no-temporal ablation) data flow: three independent MLP sub-heads vote on the current-situation embedding, with no temporal context.](images/j11-arch-e-ensemble-mlp.png){width=100%}
v2.5 · 5.5 Architecture E: Ensemble MLP (No-Temporal Baseline)![Architecture E (Ensemble MLP, no-temporal ablation) data flow: three independent MLP sub-heads vote on the current-situation embedding, with no temporal context.](images/j11-arch-e-ensemble-mlp.pdf){width=100%}

··· 290 unchanged paragraphs folded ···

v2.4 · 14.2 Curiosity Through the Personality Network**3. Distraction penalty.** To prevent curiosity from causing the agent to abandon active user tasks, a strong distraction penalty (−0.8) applies when the agent interrupts or ignores a user instruction in favor of self-directed exploration. Curiosity fires only when the current task does not require immediate attention — during idle periods, transitions between topics, or when explicitly invited.
v2.5 · 14.2 Curiosity Through the Personality Network**3. Distraction penalty.** To prevent curiosity from causing the agent to abandon active user tasks, a strong distraction penalty (-0.8) applies when the agent interrupts or ignores a user instruction in favor of self-directed exploration. Curiosity fires only when the current task does not require immediate attention — during idle periods, transitions between topics, or when explicitly invited.

··· 90 unchanged paragraphs folded ···

v2.4 · Appendix A: Situation Template Referenceaction_type: enum [overwrite|delete|send|merge|create|modify|execute|deploy|revert|move|copy] # P target_type: enum [file|email|message|database|api_call|git_operation|system_command|config] # P (lookup) target_id: string # P
v2.5 · Appendix A: Situation Template Referenceaction_type: enum [overwrite|delete|send|merge|create|modify|execute|deploy|revert|move|copy] # P target_type: enum [file|email|message|database|api_call|git_operation|system_command|configuration|deployment] # P (lookup) target_id: string # P

··· 1 unchanged paragraph folded ···

v2.4 · Appendix A: Situation Template Referencecontext: session_topic: string # L — 0.3x weight, cross-checked with entity overlap heuristic recent_corrections: int # P — runtime counter (24h window) emotional_signals: enum [calm|frustrated|excited|focused|playful|terse|unknown] # L — cross-checked automation_depth: integer # P — stack trace depth from human-initiated action conversation_scope: string # P — deterministic entity/filepath overlap with recent git diffs
v2.5 · Appendix A: Situation Template Referencecontext: session_topic: string # L — 0.3x weight, cross-checked with entity overlap heuristic recent_corrections: int # P — runtime counter (24h window) emotional_signals: enum [calm|frustrated|excited|focused|playful|terse|unknown] # L — cross-checked automation_depth: integer # P — stack trace depth from human-initiated action topic_drift: float # P — cosine distance between conversation centroid and action target embedding

··· 4 unchanged paragraphs folded ···

v2.4 · Template Serialisation``` Action: {action_type} {target_type} "{target_id}". Target: {size} bytes, {age_hours:.0f}h old, {recent_commits} commits by {recent_authors} authors in 72h. Effort: ~{effort_hours:.1f}h invested, last mentioned {last_human_ref:.0f}h ago. Context: {session_topic}. {recent_corrections} corrections in 24h. Mood: {emotional_signals}. Scope: {conversation_scope}. Automation depth: {automation_depth}. Reversible: {reversible}. Blast: {blast_radius}. Human in loop: {human_in_loop}. Confirmation: {confirmation}. ```
v2.5 · Template Serialisation``` Action: {action_type} {target_type} "{target_id}". Target: {size} bytes, {age_hours:.0f}h old, {recent_commits} commits by {recent_authors} authors in 72h. Effort: ~{effort_hours:.1f}h invested, last mentioned {last_human_ref:.0f}h ago. Context: {session_topic}. {recent_corrections} corrections in 24h. Mood: {emotional_signals}. Topic drift: {topic_drift:.2f}. Automation depth: {automation_depth}. Reversible: {reversible}. Blast: {blast_radius}. Human in loop: {human_in_loop}. Confirmation: {confirmation}. ```

··· 24 unchanged paragraphs folded ···

v2.4 · Appendix D: Comparison with Prior Approaches| Aspect | Rule-Based Gating | AMYGDALA | | ---------------------- | ------------------------------- | ------------------------------------------------ | | Known failures | ✅ Handled by rules | ✅ Handled by rules (AEGIS) + learned (AMYGDALA) | | Unknown failures | ❌ Cannot anticipate | ✅ Generalisation via situation embeddings | | Temporal context | ❌ Rules are stateless | ✅ GRU/TCN/Transformer over recent history | | Personality adaptation | ❌ Static prompt | ✅ Learned, target-directed, continuous | | Calibration | ❌ Arbitrary thresholds | ✅ Conformal prediction, statistical guarantees | | Ambiguity detection | ❌ Not addressed | ✅ Intent-action gap, blast radius, ensemble | | Context pressure | ❌ Rules consume tokens | ✅ Safety in weights, 2,200 tokens recovered | | Curiosity | ❌ Prompt-level fails | ✅ Trained behaviour with own reward | | Shareability | ❌ Rules are per-deployment | ✅ Prudence shared, Personality tradable | | LLM-proof | ❌ Rules can be prompt-injected | ✅ Programmatic pipeline, 81% verified slots |
v2.5 · Appendix D: Comparison with Prior Approaches| Aspect | Rule-Based Gating | AMYGDALA | | ---------------------- | ------------------------------- | ------------------------------------------------ | | Known failures | Yes Handled by rules | Yes Handled by rules (AEGIS) + learned (AMYGDALA) | | Unknown failures | No Cannot anticipate | Yes Generalisation via situation embeddings | | Temporal context | No Rules are stateless | Yes GRU/TCN/Transformer over recent history | | Personality adaptation | No Static prompt | Yes Learned, target-directed, continuous | | Calibration | No Arbitrary thresholds | Yes Conformal prediction, statistical guarantees | | Ambiguity detection | No Not addressed | Yes Intent-action gap, blast radius, ensemble | | Context pressure | No Rules consume tokens | Yes Safety in weights, 2,200 tokens recovered | | Curiosity | No Prompt-level fails | Yes Trained behaviour with own reward | | Shareability | No Rules are per-deployment | Yes Prudence shared, Personality tradable | | LLM-proof | No Rules can be prompt-injected | Yes Programmatic pipeline, 81% verified slots |

··· 1 unchanged paragraph folded ···

v2.4 · Appendix D: Comparison with Prior Approaches_Version 2.4 — 2 June 2026_ _Oscar Serra, Independent Research_
v2.5 · Appendix D: Comparison with Prior Approaches_Version 2.5 — 2 June 2026_ _Oscar Serra, Independent Research_

Changed paragraphs in the same form, for scripts: JSON · Markdown