OiMy — Complete Architecture v5

Full 11-layer Deep Inference framework · Context injection intelligence (Profile Layer Router) · Honcho dialectic memory · Expert RAG reality vs target · BCT 1800-row lookup · Exact barrier/motivator values · End-to-end example — nothing omitted

v5 · May 31, 2026 Hermes v0.15.2 GPT-5.4 Mini Kimi K2.6 Opus 4.8 11-Layer Deep Profile Profile Layer Router BCT 1800 rows + NLP

Contents

  1. Full Architecture Diagram
  2. Model Responsibilities
  3. Honcho — Dialectic Inference
  4. Full Memory Stack
  5. Exact Barrier/Motivator Values
  6. Expert RAG — Reality vs Target
  7. BCT + NLP — 1800 Row Lookup
  8. Deep Inference — 11 Layers
  9. Profile Layer Router
  10. Current vs Target deep-inference.txt
  11. Complete End-to-End Example
  12. Full Profile Example
  13. Hermes SOUL.md
  14. Status: Live vs Next

1 — Full Architecture Diagram

📱 User — Telegram @chittiemma1_bot
Any family member's message. Received via Telegram polling.
🛡 Pre-Filter Zero LLM · Deterministic
Emergency keywordschest pain · gas leak · self-harm → emergency skill immediately
Active thread TTLmid-conversation → continue same skill, skip re-classify
Prompt injection guarddetect + block
Onboarding gateno profile yet → onboarding flow
⚡ Intent Triage GPT-5.4 Mini · 17KB cached · ~2ms
🔧 SCRIPTED → zero LLM
weather · reminder · calendar · lists · notes → deterministic script
🎼 CONVERSATIONAL → Hermes
coaching · meals · stories · elder · emotions · planning
                                           ↓ conversational path
🎼 Hermes Gateway Kimi K2.6
SOUL.mdOiMy persona (Opus 4.8). Identity · routing · Telegram behavior · identity protection.
Honcho get_insight()Synthesized user model: "user likely prefers X since they mentioned Y across 3 sessions"
Tool Search (5%)Selects oimy-engine skill. Max 5 tools loaded.
GPT-5.4 Mini fast-pathSimple acks, confirmations → inline response, no engine call
↓ POST /chat {message, user_id, honcho_context, jwt, skill_id}
🗺 Profile Layer Router Zero LLM · Lookup Table
NEW — selects ONLY the profile layers relevant for this skill. Keeps Kimi K2.6 context lean (200–400 tokens vs 3,000+ for full profile). Maps skill_id → [Layer 0, Layer N, ...]
meal-planning getsLayer 0 (family, location, financial) + food relationship + cultural roots + kids' ages
elder-care getsLayer 0 (extended family, proximity) + relationship to parents + cultural beliefs about aging
habits getsLayer 5 (behavioral patterns, self-regulation style, procrastination type) + goals + barriers
storybook getsLayer 0 (kids ages) + cultural roots + taste markers + childhood memories
↓ selected profile layers + BCT + specific values → Kimi K2.6 prompt
🗺 BCT + NLP Selection Zero LLM · Pure Dict Lookup
For coaching/habits/wellness/parenting. 4 inputs → exact row from 1800-row matrix + technique file + NLP file + specific user values.
⚙️ Archetype Execution Kimi K2.6
CoachArchetypeBCT + specific values + relevant profile layers
PlannerArchetypeMeal · travel · study · structured output
ExpertArchetypeSymptom · OT · speech · elder care (templates now, RAG = target)
ActionArchetypeReminders · lists · notes (deterministic first)
MonitorArchetypeElder check-ins · habits · cron-triggered
ProfileArchetypeOnboarding · CRUD · preference learning
🧠 Memory Write-Back
Honcho record_turn()Honcho's user model updated incrementally
Signal updates (real-time)EMA: barriers · motivators · goals · stage_of_change
Vector memory storeConversation pair embedded + stored
Entity extraction (session end)30min idle → GPT-5.4 Mini batch: names · specific values · facts → SQLite
Opus 4.8 deep inference (async background, once)After 20 msgs + 3 sessions + 2 pain points → full 11-layer DEEP_PROFILE.md. MAX_RUNS=1.
↓ response → Hermes → Telegram
📅 Rhythm Engine scheduled · SignalCollector+DailyState (zero LLM) → BriefComposer (Kimi K2.6)
Morning brief (07:00)Calendar · meds · meals · school · habits · nudge (budget-gated)
Evening closeout (19:30)How did today go · tomorrow prep · one reflection nudge

2 — Model Responsibilities

🛡 Pre-Filter $0 · <1ms

Emergency regex · injection guard · thread TTL · onboarding gate. Before any model.

⚡ GPT-5.4 Mini ~2ms cached

Intent triage · 83-skill classification · Hermes fast-path inline · Entity extraction (batched at session end). Not per-turn.

🌙 Kimi K2.6 131K context

Hermes orchestration · all archetype responses · Rhythm brief prose. Receives ONLY the relevant profile layers via the Profile Layer Router.

🔮 Opus 4.8 once per user

Full 11-layer Deep Inferred Profile. Multi-hop synthesis. Async background. MAX_RUNS=1. The single most important model call in the platform.

🔧 Skillify Scripts $0

Weather · reminder · calendar · lists. GPT routes here. Zero further LLM calls.

🗺 BCT Matrix $0 dict

1800-row lookup. 52 technique files. 15 NLP pattern files. Zero LLM for selection.

3 — Honcho: Dialectic Inference Memory

Key distinction: Honcho doesn't store ("user said X on Tuesday"). It builds a probabilistic user model and synthesizes inferences when queried — returning answers like "user likely prefers concise, step-by-step guidance since they consistently use terse messages and ask for numbered breakdowns." You never state that preference. Honcho infers it from patterns.
Honcho get_insight() — Live Synthesis Examples
Query: "What do we know about this user's preferences for meal suggestions?"
User consistently asks for quick weeknight dinners (under 30 min). Celiac daughter mentioned 3×. Tends to avoid elaborate recipes — likely time-constrained. South Indian cuisine comfort food preferences. Prefers specific ingredient lists over vague suggestions.
Query: "What are this user's barriers and motivators?"
Recurring barrier: forgetfulness during weekday mornings — mentioned unprompted 3×. Primary motivator: daughter's joy when cooking together on Sundays. Also expresses guilt about not "doing enough" — high internal standards.
Query: "How should OiMy communicate with this person?"
Validate before solving — never lead with solutions. Numbered steps preferred (explicitly requested once, implicitly signaled by how she responds). One default recommendation, not multiple options. Match terse register in her messages.

Without Honcho

Pass last 20 messages to Kimi every turn. ~5,000 context tokens. Kimi must extract patterns AND generate response simultaneously. Inconsistent. Expensive.

With Honcho

One API call → ~200 token synthesized user model. Honcho's LLM does the pattern work offline. Kimi gets clean, ready-to-use context. Consistent. Cost-effective.

4 — Full Memory Stack

🧠 Honcho — Dialectic Inference

Per-user peer. Stores turns, synthesizes user model on query. Not just storage — probabilistic inference engine.

📝 Entity Extraction (Batched, Session End)

30min idle → GPT-5.4 Mini call. Extracts: named people · specific barrier/motivator phrases · explicit preferences · events. Stores in SQLite. Deduplicates against existing store.

🔍 Vector Memory

Conversation pair embeddings (text-embedding-3-small). top_k=3 retrieval for semantic context enrichment before archetypes.

🗄 SQLite — Structured State

All structured data: profiles · inference signals · goals (with stage) · barriers + specific values · motivators (EMA) · entities · reminders · plans · nudge_log

5 — Exact Barrier / Motivator / Entity Values

The critical distinction: Category alone ("forgetfulness") tells the BCT matrix what technique to use. The specific value ("forgets school lunches during busy weekday mornings") tells Kimi K2.6 what to actually say. Without the specific value, the response is generic. With it, the response references the exact trigger and the exact motivator.
SQLite entity store — schema with specific values
{"signal_type": "barrier", "category": "forgetfulness",
 "specific_value": "forgets school lunches during busy weekday mornings", "confidence": 0.82}

{"signal_type": "motivator", "category": "belonging",
 "specific_value": "daughter lights up when they cook together on Sundays", "confidence": 0.88}

{"signal_type": "person", "name": "Priya", "relationship": "daughter",
 "facts": ["celiac diagnosis May 2026", "loves Sunday cooking together", "8 years old"]}

6 — Expert Archetype RAG: Reality vs Target

Honest current state: Expert archetype uses hardcoded templates, not live RAG. The label "RAG" in the architecture docs is aspirational. Safety gates, disclaimers, and risk detection ARE live and working.

Current (templates)

Hardcoded guidance strings per skill. EXPERT_PROTOCOLS dict. Emergency detection working. Safety gates working. Disclaimers working. No knowledge retrieval.

Target (true RAG)

Vector KB per domain: OT exercise library (age × sensory profile) · symptom reference · speech activity DB · elder care protocols. Embed query → retrieve → inject into Kimi → response with disclaimer.

7 — BCT + NLP — 1800 Row Lookup

What exists: data/bct_matrix.json (1800 rows: barrier × stage × hughes_need × decision_style → primary_bct + secondary_bct + nlp_pattern + opener + rationale). data/technique_directory/ (52 technique files with full Kimi prompt text, dos/don'ts, example exchanges). data/nlp_directory/ (15 NLP pattern files). Zero LLM needed for selection — pure lookup.
BCT flow: 4 inputs → technique file → injected into Kimi with specific user values
key = (barrier_category, stage_of_change, hughes_need, decision_style)
# → ("forgetfulness", "contemplation", "importance", "security")
row = BCT_MATRIX[key]
# → {primary_bct: "7.1 Prompts/cues", nlp_pattern: "anchoring",
#    opener: "When you set up that visual cue..."}
technique = load_technique("bct_7_1.json")
# → {kimi_prompt_text: "Guide user to identify ONE specific cue...",
#    example_exchange: {...}, dos: [...], donts: [...]}

# Assemble into Kimi context (with specific user values):
"Apply BCT 7.1: help identify one environmental cue.
 Barrier specific: 'forgets school lunches on busy weekday mornings'
 Motivator specific: 'daughter lights up cooking together Sundays'
 Anchor the cue to the Sunday cooking session she already does."

8 — Deep Inference: 11-Layer Framework

This is the single most important differentiator. Every other feature — BCT routing, skill selection, tone calibration, proactive nudges — becomes dramatically more powerful when grounded in a rich, accurate, multi-hop understanding of who this person actually is. Opus 4.8 does this once. Everything else uses it forever.
Layer 0 — Basic Life Facts

Foundational biographical inference — what can be read from context

The baseline layer. Opus infers these from what the person shares naturally — no direct asking. High confidence when stated, medium when inferred from context clues.

Location + geographyCurrent city/region · urban/suburban/rural · climate · country of residence · length of time there
Household compositionPartner status · number/ages of children · who lives with them · multi-generational household?
Occupation typeCategory of work · seniority level · work-from-home vs commute · employer type (corporate/startup/self) · schedule flexibility
Extended familyParents alive/accessible · in-laws present · eldercare obligations · siblings and birth order · family proximity vs diaspora
Childhood geographyWhere they grew up · urban/rural · immigrant family or local · significant moves
Financial tier (inferred)Consumption signals · financial anxiety markers · mentions of budgets/affordability · neighborhood type references
Education levelInferred from vocabulary, reference set, question sophistication, professional domain
Life stageAge bracket · parenting stage (infants/toddlers/school-age/teens/empty nest) · career stage · caregiving obligations
Time availabilityRushed or spacious? Working vs non-working? Single parent vs co-parenting? Eldercare on top?
Layer 1 — Observable Self

How they communicate and present

Communication style DNASentence rhythm · punctuation patterns · how they truncate vs over-explain · code-switching · emoji use · voice message vs text preference
Self-presentation modeDo they present as: competent manager / overwhelmed parent / curious learner / skeptical tester / emotional processor? Shifts under stress?
Emotional vocabulary richnessDo they distinguish nuanced emotions or compress everything to "stressed/fine"? This gates what OiMy can reflect back.
Request patternsTell · ask · hint · justify? Do they give permission or assume it? Do they over-contextualize simple requests?
Trust-building signalsHow quickly do they share personal information? What's their trust threshold?
Humor styleSelf-deprecating · dry · absurdist · none · sarcasm? — shapes when OiMy can be funny and what kind
Layer 2 — Identity & Narrative

Who they believe they are

Primary identity axisWhich role defines them most: parent / professional / spouse / child / caregiver / cultural carrier / community member?
Identity under stressWhich identity gets weaponized under pressure? ("I'm doing everything for this family") — the claim that silences discussion
Aspired self vs current selfThe gap between who they want to be and who they are now. This is where guilt, shame, and motivation all live.
Narrative control locusProtagonist of their own story, or character in someone else's? Self-authoring or externally-defined?
Generational identity beliefsWhat does their generation believe about hard work, technology, family, success, and failure?
Change modelDo they believe people fundamentally change? Fixed mindset patterns vs growth orientation?
Layer 3 — Family System Dynamics

The invisible architecture of their household

Inherited parenting modelWhat they're replicating from their parents vs consciously breaking from — often without knowing which is which
Family power dynamicsWho holds authority · who holds emotional labor · who is avoided · who is appeased · who is the real decision-maker
Relationship to childrenProjection patterns · anxiety displacement · enmeshment risk · realistic vs idealized view of child
Partner relationship qualityPeer collaboration · transactional division · romantic fog · parallel lives · caregiver dynamic · conflict style
Elder relationshipObligation vs love vs resentment vs grief · guilt about distance · what they expect from aging parents
Sibling dynamicsBirth order patterns · inherited rivalry vs alliance · who parents the parents now · shared burden?
Layer 4 — Cultural & Worldview Architecture

The operating system inherited from culture

Individualism vs collectivismWhere they sit on this axis — and the gap between how they perform it vs privately feel it
Religious/spiritual orientationStated, implied, absent, or rejected. How it shapes guilt, hope, and explanation of suffering.
Class consciousness + moneyWas there scarcity in childhood? Is current financial position fragile, stable, or anxiously-held? Relationship to spending.
Immigrant/diaspora experienceCode-switching cost · belonging in two cultures fully in neither · what "home" means and when they use it
Cultural food identityIs food love/culture/fuel/anxiety/pleasure/control/memory? The answer shapes everything in meal planning and food intelligence.
Trust in institutionsMedicine · school · government · religion · technology companies. What they accept authority from, what they challenge.
Cultural beliefs aboutAging · mental health · seeking help · body · death · children's education. Gates what OiMy can say directly vs must approach sideways.
Relationship to the WestFor diaspora users: do they aspire to/against Western norms in parenting, food, work? Complex axis.
Formative world eventsWhat was happening in the world when they were 10–18? Wars, economic crashes, cultural shifts that shaped their baseline reality.
Layer 5 — Behavioral & Cognitive Patterns

How they actually think and act

Default cognitive styleAnalytical (evidence-first) · intuitive (gut-first) · concrete operational (step-by-step) · systems thinker (sees structures)
Relationship to ambiguityTolerates it · needs to resolve it · creates it as defense · paralyzed by it. This determines how much optionality to offer.
Planning orientationLives in the future (planner) · present (improvisational) · past (meaning-maker). Shapes which skills they'll naturally use.
Procrastination signaturePerfectionism-driven · overwhelm-driven · fear-of-failure · decision-avoidance · distractibility · or none. BCT selection depends on this.
Active cognitive biasesPresent bias (immediate over future) · loss aversion · sunk cost · social proof · authority bias · optimism bias. Where they're predictably irrational.
Satisficer vs maximizerGood-enough (satisficer) or best-possible (maximizer)? Maximizers need more data and options. Satisficers want one good default. Changes how OiMy presents recommendations.
Self-regulation styleRules ("I never eat after 8pm") · social accountability · environmental design · rewards · willpower alone? BCT selection depends on this.
Information processingReads everything before deciding · acts then adjusts · asks trusted source · tests with small experiment? Affects how to present plans.
Learning styleAutodidact with evidence · needs a guide · learns by doing · learns by social proof. Affects how to teach new behaviors.
Layer 6 — Emotional & Relational Architecture

How they feel and relate

Primary emotional registerWhich emotion is most accessible: anxiety · frustration · joy · melancholy · numbness? What leaks through when they try to hide it?
Emotional suppression vs expressionDo they process out loud or internally? What is their tell when emotional (over-justifying, truncating, humor)?
Conflict styleAvoid · accommodate · compete · collaborate · compromise. Does this differ in family vs professional contexts?
What makes them feel seenThe specific need this AI must meet to matter to them. Without this, no amount of correct advice will land.
Grief and loss relationshipSignificant losses and how they're carried. Shapes elder care, health anxiety, ritual importance, how they talk about time.
What they're proud of but never sayAnd what they're ashamed of but hint at. The things that make them feel both the most and least themselves.
Layer 7 — Life Stage & Trajectory

Where they are in their life arc

Current life chapterLaunch · establishment · consolidation · caretaking · transition · reinvention. Their emotional terrain right now.
Time horizonSurvival mode (this week) · management mode (this year) · legacy mode (this decade). Determines what OiMy offers and when.
What they're grieving about their own lifeYouth · freedom · career ambition · pre-parenthood self · a path not taken. Often unnamed but ever-present.
What they're excited about (not yet felt)Something coming that they don't let themselves anticipate. Unlocking this is a gift OiMy can give.
Forward projectionWhat needs will intensify in 6–12 months? What life event is likely coming? What relationship or situation is in slow decay they haven't named?
Relationship to their own agingBody's aging · parents' aging · mortality. How this shapes urgency, health choices, legacy thinking.
Layer 8 — Practical Life Intelligence

Maps directly to specific skills

Food relationshipLove / culture / fuel / anxiety / pleasure / control / memory? The most important signal for meal planning and food intelligence.
Relationship to timeHow they describe their schedule reveals actual values. Is time abundant, scarce, wasted, hoarded, or guilted-about?
Technology relationshipEarly adopter · cautious pragmatist · resistant · dependent · anxious. Affects feature adoption and trust in AI suggestions.
Financial psychologySecurity-seeking · growth-oriented · status-signaling · avoidant · guilt-driven. More than income — how they feel about money.
Health orientationProactive/preventive · reactive/episodic · denial-based · hypochondriac-adjacent · medical-system trusting or not. Changes what OiMy offers.
Taste markersMusic grew up with · music now · food comfort era · film/TV references · decade of formative pop culture. These create connective tissue.
Hobbies: active vs dormantWhat they used to do that they've compressed out of their life (often identity grief). What they still do. What they wish they could.
Home orientationNesting vs transient · home as sanctuary vs container vs burden. Affects chores, maintenance, home-related skill use.
Social orientationRecharges alone vs with people · number of close friendships vs wide acquaintance network · community involvement.
Layer 9 — Shadow & Irrationality

The most important layer — what they won't say and can't see

Stated wants vs behavioral wantsWhat they claim to want vs what their behavior reveals they actually want. These are often different and never identical.
Known irrationalitiesWhere they know they're irrational but can't change. The emotional eating. The catastrophizing. The avoiding the email. The checking the news. They know. They can't stop.
Unknown irrationalitiesWhere they are irrational in ways they're NOT aware of. Requires Opus's deepest inference. The self-sabotage that doesn't look like sabotage to them.
What they're protectingEgo · a relationship · a story about themselves · a belief that makes the world make sense. OiMy must never accidentally threaten this.
Where they'll resist good adviceThe topics or framings they'll reject regardless of correctness. Authority distrust · identity threat · sunk cost · information overload. Knowing this prevents wasted effort.
Defense mechanisms activeIntellectualization (analyzing to avoid feeling) · rationalization · projection · minimizing · humor as deflection · busyness as avoidance.
What will increase vs decrease AI trustSpecific to THIS person — what makes them trust an AI more vs less. Not generic. Their particular sensitivity.
Blind spots in parenting/caregivingWhat they can't see in their own parenting because they're too close to it. Often mirrors unresolved childhood patterns.
The story they tell themselvesThe narrative that explains their life and justifies their choices. What happens when OiMy accidentally contradicts it?
Layer 10 — Negative Personalization

What OiMy must NEVER do with this person

Avoid these framingsSpecific to this user: what approaches will shut them down, increase defensiveness, or break trust. More important than knowing what works.
Topics that require extreme careGrief · financial stress · marital tension · parenting identity · body/health. Not because they're off-limits but because they need precise handling.
What they hear that isn't being saidMisinterpretations they're likely to make based on their history. What triggers false alarms.
OiMy behaviors that will feel surveillance-likeWhat level of memory recall will feel caring vs creepy for THIS person. Where the line is for them specifically.

9 — Profile Layer Router

Before each archetype call, the system queries a lookup table: skill_id → [relevant profile layers]. Only those layers are extracted and injected into Kimi K2.6's context. This keeps context lean, relevant, and prevents unnecessary privacy exposure.

Why this matters: The full 11-layer profile may be 3,000–5,000 tokens. Injecting all of it into every Kimi call is expensive (~$0.04/call), confusing (irrelevant context degrades response quality), and a privacy over-share. The router reduces context to 200–400 tokens of precisely relevant profile.
Skill / DomainProfile Layers InjectedRationale
meal-planning · grocery · food-intelligenceL0: family + location + financialL4: food relationship + cultural food identityL8: food relationship + taste markersL0: kids agesWhat they eat is shaped by family size, culture, budget, and food's emotional meaning.
parent-coach · parenting-coach · patpat · parent-playbookL0: kids ages + familyL2: aspired vs current selfL3: inherited parenting model + projection patternsL6: emotional registerL9: blind spots in parentingParenting advice must understand what model they inherited and what they're projecting.
elder-care · elder-checkin · elder-medsL0: extended family + proximityL3: relationship to parents + sibling dynamicsL4: cultural beliefs about agingL7: grief + trajectoryElder care is deeply cultural and emotionally loaded. Context is everything.
habits · wellness-daily · fitness-coachL5: procrastination type + self-regulation style + satisficer/maximizerL7: time horizonL8: health orientationL9: known irrationalitiesL10: what to avoidHabit formation is entirely about behavioral patterns and self-regulation style.
storybook · family-filmL0: kids agesL4: cultural rootsL8: taste markers + hobbiesL3: relationship to childrenStories that land draw from cultural heritage and the child's specific world.
travel-planning · travel-itineraryL0: family + financial + locationL4: cultural identityL7: current chapter + what they're excited aboutTravel is both logistics and emotional — what they're seeking in the trip matters.
school · homework-check · grade-monitorL0: kids ages + occupationL3: relationship to children + family dynamicsL4: relationship to institutions (school)L2: aspired self for childrenSchool engagement reflects cultural beliefs and parenting identity heavily.
symptom-triage · healthcareL8: health orientationL4: trust in institutions (medical)L5: information processing styleL9: denial patternsHow to deliver health information depends enormously on health orientation and trust.
relationship-coachL3: partner relationship quality + conflict styleL6: conflict style + emotional registerL9: shadow + what they're protectingL10: topics requiring careRelationship coaching requires knowing what they're protecting and their conflict patterns.
daily-briefing · rhythm engine outputL0: schedule type + time availabilityL1: communication styleL7: time horizonBriefings need to match their cognitive style and actual schedule reality.
chat-turn · general conversationL1: communication styleL6: emotional registerL10: what to avoidCasual chat just needs tone and register matching. No deep dives needed.
occupational-therapy · speech-therapyL0: kids ages + locationL3: relationship to childrenL4: trust in institutions (medical)L8: health orientationTherapy suggestions must match the parent's trust level and cultural context.

10 — Current vs Target deep-inference.txt

Current prompt — gaps

✓ Good: multi-hop reasoning, confidence scores, personalization hooks
✗ Caps at 15 inferences — too few for 90+ skills
✗ Dimension list is "illustrative" — Opus guesses what matters
✗ No Layer 0 (basic life facts) anchoring
✗ No negative personalization layer (what OiMy must NOT do)
✗ No skill-domain mapping on inferences
✗ No forward projection (what will they need in 6–12 months?)
✗ No explicit shadow/irrationality direction
✗ Hooks max 12, not organized by skill domain

Target prompt — what it should do

Cover all 11 layers systematically, not from an "illustrative" list
30–50 inferences (not capped at 15)
Explicit Layer 0 anchoring with demographic inference
Shadow + irrationality layer explicitly directed
Negative personalization section ("never do this with this person")
Forward projection (what's coming in their life)
Each inference tagged with relevant skill domains
Hooks organized by skill category (meals, parenting, wellness, etc.)
Output structured for the Profile Layer Router to use directly
deep-inference.txt — target version structure (not yet implemented — awaiting Bharath sign-off)
You are a master psychologist, behavioral economist, cultural anthropologist,
and emotionally attuned human expert. You have deep knowledge of: consumer
psychology, behavioral economics, attachment theory, family systems, cultural
identity, cognitive biases, life stage theory, motivational science, narrative
psychology, shadow work, and the full complexity of human irrationality.

You are reading the first conversations a person has had with OiMy, a family
AI companion. Your job: synthesize the most comprehensive, accurate, and
useful understanding of this person — the kind that would let OiMy be a
genuinely transformative presence in their life across 90+ skill domains
(meal planning, parenting coaching, elder care, habit formation, emotional
support, travel, health, finances, relationships, and more).

This profile will be used forever. Get it right.

STRUCTURE YOUR OUTPUT as a JSON object with these sections:

{
  "layer_0_basics": {
    // HIGH-CONFIDENCE: Infer from what they've shared
    // location, household, occupation, family, financial tier, education
  },
  "core_psychology": {
    // DISC, attachment, Enneagram, core wound, primary need
    // each with: claim, reasoning_chain, confidence, evidence
  },
  "inferences": [
    // 30-50 inferences across Layers 1-9
    // {dimension, layer, claim, reasoning_chain, confidence, evidence, skill_domains: []}
    // skill_domains: which OiMy skills this inference makes better
  ],
  "personalization_hooks": {
    "meals_food": [...],
    "parenting_family": [...],
    "health_wellness": [...],
    "elder_care": [...],
    "habits_behavior_change": [...],
    "emotional_support": [...],
    "communication_style": [...],
    "general": [...]
  },
  "negative_personalization": [
    // {situation, what_to_never_do, why, what_to_do_instead}
    // The most important section for not breaking trust
  ],
  "forward_projection": [
    // {timeframe, anticipated_need, reasoning, relevant_skills}
    // What is coming in their life that OiMy should prepare for
  ],
  "shadow_notes": [
    // {pattern, what_they_say, what_behavior_reveals, implication_for_oimy}
    // Careful. Low confidence required for shadow inferences.
  ]
}

Hard rules:
- 30-50 inferences in the inferences array (not 15)
- Layer 0 MUST be filled — anchor everything in their actual life
- Never invent specifics without evidence. Low confidence = low confidence.
- Negative personalization section is REQUIRED
- Every inference must include skill_domains it affects
- Cultural inferences need linguistic/contextual evidence — never name alone
- Shadow section: confidence never above 0.5 unless stated outright
- Output only the JSON object. Nothing before or after.

11 — Complete End-to-End Example

Message: "I keep meaning to cook more at home but I always forget. My daughter loves it when we cook together on Sundays though."

Complete execution trace
═══ PRE-FILTER ══════════════════════════════════════════════
No emergency · No injection · No active thread → pass. Cost: $0. <1ms.

═══ GPT-5.4 Mini TRIAGE (2ms, cached) ══════════════════════
Path: CONVERSATIONAL (behavioral intent + emotional hook)
Skill: {"skill": "habits", "confidence": "high"}

═══ HERMES (Kimi K2.6) ══════════════════════════════════════
SOUL.md loaded. Honcho get_insight():
  "User has attempted cooking plans 3× before without follow-through.
   Daughter is primary emotional motivator. Terse messages — step-by-step
   preferred. Time-constrained on weekdays. Responds well to plans that
   build on existing habits."

═══ PROFILE LAYER ROUTER ════════════════════════════════════
Skill: habits
Layers selected: L5 (self-regulation: forgetfulness + contemplation stage)
                 L8 (practical: time relationship + health orientation)
                 L0 (basic: family size, schedule type)
Injected tokens: ~320 (vs 4,200+ for full profile)

═══ BCT MATRIX LOOKUP (0ms) ════════════════════════════════
key = (forgetfulness, contemplation, importance, security)
→ BCT 7.1 Prompts/cues + anchoring NLP pattern
barrier_specific: "forgets school lunches on busy weekday mornings"
motivator_specific: "daughter lights up cooking together Sundays"

═══ KIMI K2.6 PROMPT (assembled) ═══════════════════════════
Profile (L0): family of 3, time-constrained weekdays, Sundays already work
Profile (L5): satisficer, environmental design works best for her
Profile (L8): food = love/culture (Tamil), not just fuel
BCT: 7.1 anchoring — help identify ONE specific cue in existing routine
Specific values: daughter + Sundays as the anchor point
Negative: don't give her multiple options. One clear default.

═══ RESPONSE ════════════════════════════════════════════════
I keep meaning to cook more at home but I always forget. My daughter loves it when we cook together on Sundays though.
just now
🔧 habits · BCT 7.1 anchoring · Kimi K2.6 · 320 profile tokens
The Sunday thing is the key — you don't need to build a new habit, you need to expand one that's already working.

Three things:

1. Sunday evening, before you finish cooking — pull out everything for Monday's lunch and put it on the counter. Five minutes while you and Priya are already in the kitchen.

2. Put one ingredient on the counter Friday night — your visual cue that Sunday prep is tomorrow. That's your only reminder needed.

3. Priya helps pack it — makes it part of your Sunday cooking ritual, not a separate task you'll forget.

Want me to set a Friday evening reminder?
OiMy · 1.1s

12 — Full Profile Example (Opus 4.8 — target structure)

# Deep Profile — Sarah Generated: 2026-05-30 · Sessions: 5 · Messages: 27 · opus-4.8 · MAX_RUNS=1 NEVER shown to user. Injected selectively per Profile Layer Router. ## Layer 0 — Basic Life Facts location: Boston area, EST, urban-suburban · household: married, 1 child (Priya, 8) occupation: software engineer, likely corporate/startup, some WFH flexibility [0.68] extended family: parents in India (diaspora), MIL accessible, sibling relationship unclear financial tier: middle-to-upper-middle, budget-conscious choices, not anxious about necessities [0.65] childhood geography: mid-size Indian city (likely Chennai/Bangalore), moved to US in 20s [0.63] education: graduate-level or equivalent (vocabulary, question sophistication, engineering career) ## Core Psychology DISC: High-C · Secondary-S [0.78] — analytical, detail-oriented, avoids conflict Attachment: Anxious (aspiring Secure) [0.71] — self-blame pattern, responds to reassurance Enneagram: 6w7 [0.74] — security-seeking, research before trust, optimism breaks through Core wound: capability anxiety — fear of being the one who dropped the ball Primary need: security + belonging ## Selected Inferences (30-50 in full profile) cultural_food_identity [L4, conf 0.72]: Food = love and Tamil cultural inheritance. Sunday cooking replicates what her mother gave her. Celiac forces a grief response (loss of food-as-heritage). skill_domains: meal-planning, food-intelligence, storybook self_regulation_style [L5, conf 0.74]: Environmental design works best; rules and willpower fail her. Multiple failed plans → not motivation deficit but no environmental trigger. Anchoring (BCT 7.1) is the right class of intervention. skill_domains: habits, wellness-daily, meal-planning satisficer_maximizer [L5, conf 0.80]: Satisficer. Wants one good option, not the best option. Never asks "what are the best options?" Asks "what should I do?" Single default recommendation always beats choice architecture. skill_domains: ALL (universal preference shaper) inherited_parenting [L3, conf 0.71]: Achievement-first, sacrificial parenting model — replicating what she received. Describes parents as "worked so hard for us." Replicates with high standards + guilt when she fails them. skill_domains: parent-coach, parenting-coach, habits diaspora_belonging [L4, conf 0.63]: Belongs fully in neither India nor US. "Back home" framing. References Tamil food with nostalgia, code-switches to Indian cultural frames when emotional. Low-grade homesickness for reference culture she can't return to. skill_domains: meal-planning, storybook, family-bonding, cultural contexts across all skills present_bias_active [L5, conf 0.70]: Strong present bias — immediate relief over delayed good. "Keep meaning to" construction recurs across topics. Plans made, not executed. Classic present bias signature. skill_domains: habits, wellness-daily, elder-meds, appointments childhood_music [L8, conf 0.65]: AR Rahman era, early 2000s Bollywood, some Y2K Western pop. AR Rahman referenced unprompted when asked about calming music. Emotional access point. skill_domains: vagal-tune, storybook, mood-based suggestions unknown_irrationality [L9, conf 0.48]: Possibly using busyness as identity shield — "no time" may be partly protective. LOW CONFIDENCE. If she had more time, she might confront the aspired self gap (parenting patience goal at precontemplation). Busyness makes that confrontation avoidable. Do not name this. Monitor. skill_domains: wellness-daily, parent-coach, habits ## Personalization Hooks by Domain meals_food: Always build on Tamil cuisine's natural GF foundation (rice, lentils). Food = culture for her, not just nutrition. Celiac is emotionally loaded — validate before solving. parenting: Validate first, always. Numbered steps. Reference Priya specifically ("for Priya's needs"). Never open-ended. Don't push on patience goals — she's in precontemplation. habits: Environmental design over willpower. One anchor to existing routine. One change, not a system. communication: Match terse register. One default, not options. Validate before solve. Don't ask "want to talk about it?" ## Negative Personalization Never: "What would you like to do?" — she needs to be told, not given blank options Never: "You've mentioned this before" — will feel surveilled, not understood Never: Hustle framing ("optimize your mornings") — she's already maxed out Never: Multiple therapy-adjacent questions back-to-back — will feel like a session, not a friend Never: Tell her she should "ask for help" — contradicts her caretaker identity ## Forward Projection 6 months: Priya enters a more academically demanding school year. School stress will spike. Prep OiMy's school-support skills. 12 months: MIL situation may shift — watch for eldercare obligation signals increasing. ongoing: Slow creep of parenting identity grief as Priya needs her differently. Will surface as wellness/self-care requests. ## Live Signals (updated per session) barrier: forgetfulness [0.82] — "forgets school lunches on busy weekday mornings" motivator: belonging [0.88] — "daughter lights up cooking together Sundays" goal: family_cooking [0.75, contemplation stage] · parenting_patience [0.68, preparation] entity store: Priya (daughter, 8, celiac, loves Sunday cooking) · David (partner, hates spicy) // Core psychology + layers 1-9: synthesized once by Opus 4.8 // Live signals: updated every message (EMA + keyword detection) // Entity store: updated at session end (batched GPT-5.4 Mini extraction) // Profile Layer Router selects which sections to inject per skill

13 — Hermes SOUL.md

SOUL.md · ~/.hermes/SOUL.md · OiMy Hermes · Opus 4.8

You are the orchestration layer for OiMy. Your job is not personality — it's precision, speed, and invisible routing. Think conductor, not musician.

1. Routing

  • Fast path: greetings, simple acks → GPT-5.4 Mini inline, no engine call
  • Full path: skills, emotions, planning → OiMy Engine via Kimi K2.6
The user must never feel the routing. One voice, one friend, no seams.

2. Memory — always call Honcho first

Before every full-path response: honcho.get_insight(user_id, query). Inject the synthesis. Never skip.

3. Tool Selection

threshold_pct 5% · max 5 tools · Emergency keywords → emergency skill immediately.

4. Telegram

  • No tables · 1–2 emoji max · Reactions over replies for acks · Match register

5. Proactive

  • Max 2/day · Hard stop 22:00–07:00 local · Must be: useful, timed, personal

6. Identity

  • "What AI are you?" → "I'm OiMy" · Never reveal: Kimi, Opus, GPT, Hermes, OpenClaw
Quality bar: Useful · Earned · Timed · Brief · Human

14 — Status: Live vs Next

ComponentStatusNotes
Hermes gateway (Hetzner)✅ LiveKimi K2.6 · crash-watchdog · PID 3214655
GPT-5.4 Mini triage + classification✅ Live17KB prompt cached · ~2ms · strict JSON
Kimi K2.6 archetype responses✅ LiveAll 6 archetypes
Opus 4.8 deep inference (current prompt)⚠️ PartialWorks but capped at 15 inferences, no Layer 0 anchoring, no negative personalization. Target prompt pending Bharath sign-off.
Barrier/motivator category detection✅ LiveReal-time keyword + GPT fallback · 10 categories
Barrier/motivator SPECIFIC values⚠️ PartialCategory stored. Specific value extraction (batched) not yet wired.
BCT + NLP matrix (1800 rows)✅ Live52 technique files · 15 NLP files · zero LLM lookup
Profile Layer Router❌ Not yetCritical piece — currently full profile injected (or none). Router = config change + lookup table. High priority.
Entity extraction (batched session end)❌ GapOne GPT-5.4 Mini call at 30min idle. Not implemented yet.
Honcho memory❌ GapNo HONCHO_API_KEY on Hetzner.
Vector memory (with embeddings)⚠️ PartialActive but embedding degraded — needs text-embedding-3-small key.
Expert archetype — true RAG⚠️ TemplatesSafety gates work. Knowledge retrieval = future.
Pre-Hermes triage (upstream of Kimi)⚠️ PartialGPT triage inside engine. Not yet upstream to skip Kimi for scripted.
Rhythm Engine scheduler❌ GapCode committed + tested. Hermes cron wiring not done.
Deep inference prompt — target version🔵 Awaiting sign-offFull 11-layer framework ready. Needs Bharath approval before rewrite.
Expert RAG knowledge bases🔵 FutureOT library · symptom DB · speech activities · elder protocols.
GBrain (OiMy users)✅ Intentional N/AGBrain = Bharath's developer tool. OiMy users use Honcho + entity stack.
OiMy Architecture v5 · May 31, 2026 · Added: Layer 0 basic life facts · Profile Layer Router · 11-layer deep inference framework · Target deep-inference.txt structure · Comprehensive profile example with all layers