Skip to main content

Idiomark V2 Strategy: Meta-Style Parallel Development

Philosophy​

Instead of "breaking changes" or major version churn, we're taking a Meta/Facebook-style approach:

  • V1 Core (Stable) - Battle-tested, backward compatible, boring but reliable
  • V2 Beta (Experimental) - Research-backed dimensions running in parallel
  • Data-Driven Graduation - Usage/feedback determines what moves from V2 → V1

This is how you ship: stable product + beta experiments simultaneously.


Architecture​

Idiomark File Structure​

interface IdiomarkFile {
idiomark: string // "1.0.0" or "2.0.0-beta"
personality: Personality // V1 core (always present)
personality_v2?: PersonalityV2 // V2 experimental (optional)
}

Personality Versions​

VersionStatusFieldsWhen to Use
V1Stablevoice, patterns, domains, values, knowledgeProduction, guaranteed compatibility
V2Betabig_five, linguistic_markers, communication_style, cognitive_patterns, emotional_patterns, social_dynamicsExperiments, research validation

Fallback Behavior​

// Readers/generators automatically use V2 if available, fall back to V1
export function buildResponsePromptFromIdiomarkFile(idiomarkFile, message, options) {
const personality = idiomarkFile.personality_v2 || idiomarkFile.personality
return idiomarkFile.personality_v2
? buildResponsePromptV2(idiomarkFile.personality_v2, message, options)
: buildResponsePrompt(idiomarkFile.personality, message, options)
}

V2 Experimental Dimensions​

1. Big Five (OCEAN) Model​

Research-backed personality psychology standard:

big_five: {
openness: number // curiosity, creativity, adventure
conscientiousness: number // discipline, organization
extraversion: number // social energy
agreeableness: number // empathy, cooperation
neuroticism: number // emotional stability (low = stable)
}

Why: Most studied personality model in psychology. Better than custom tone attributes.

Success metric: LLM outputs that feel more "coherent" in personality


2. Linguistic Markers​

Subtle language patterns from psycholinguistics research:

linguistic_markers: {
pronouns: {
first_person_singular: number // "I" = self-focus
first_person_plural: number // "we" = group identity
},
hedging: {
frequency: 'low' | 'medium' | 'high'
common_hedges: ["maybe", "perhaps", "might be"]
},
absolutist_language: {
frequency: number
common_absolutes: ["always", "never", "every"]
}
}

Why: Research shows pronoun/hedging patterns strongly predict personality.

Success metric: Generated responses match hedging/absolutist patterns


3. Communication Style​

communication_style: {
question_frequency: number
self_disclosure: number
task_vs_social: number // -1 (task) to 1 (social)
conflict_approach: 'direct' | 'diplomatic' | 'avoidant'
}

Why: Captures interaction style that simple "tone" misses.

Success metric: Chat feels more natural/consistent


4. Cognitive Patterns​

cognitive_patterns: {
thinking_style: 'analytical' | 'intuitive' | 'creative'
decision_making: 'quick' | 'deliberate' | 'data_driven'
information_processing: 'detailed' | 'big_picture'
}

Why: HOW someone thinks matters as much as WHAT they think.

Success metric: Responses show consistent reasoning patterns


5. Emotional Patterns​

emotional_patterns: {
baseline_tone: 'optimistic' | 'neutral' | 'realistic'
expressiveness: number
emotional_contagion: number // picks up others' emotions
}

Why: "Enthusiasm" alone is too crude.

Success metric: Emotional range feels more human


6. Social Dynamics​

social_dynamics: {
leadership_style: 'directive' | 'collaborative' | 'supportive'
status_orientation: number
humor_targets: {
self_deprecating: boolean
targets_others: boolean
}
}

Why: How people navigate hierarchy/groups.

Success metric: Social interactions feel authentic


Graduation Criteria​

Each V2 dimension has clear success metrics. When data shows:

Metric ThresholdAction
>80% positive feedbackConsider graduating to V1 core
>10k usage with <10% fallbackMake standard in V1
Clear correlation with user satisfactionBake into next minor version

This is how you iterate without breaking.


Usage​

For Users​

import { IdiomarkReader, loadReader } from '@idiomark/core'

// Load a Idiomark file - automatically uses V2 if available
const reader = await loadReader('./my-personality.idiomark.json')

// Check if V2 data is present
const summary = reader.getPersonalitySummary()
// summary will include V2 fields if personality_v2 exists

// Generate response - automatically uses best available personality data
const response = await reader.respond("What's your opinion?")

For Developers​

import { buildResponsePromptFromIdiomarkFile } from '@idiomark/core'

// Automatically uses V2 or falls back to V1
const prompt = buildResponsePromptFromIdiomarkFile(idiomarkFile, userMessage, {
userName: 'User',
task: 'Answer the question'
})

// Send to LLM...

Versioning Strategy​

Idiomark Version Strings​

  • 1.0.0 - V1 core only (stable)
  • 1.1.0 - V1 core + some V2 features graduated
  • 2.0.0-beta - V2 experimental active
  • 2.0.0 - V2 becomes stable (future)

Migration Path​

  1. Phase 1 (Now): V2 data optional, parallel extraction
  2. Phase 2: Track metrics on V2 dimensions
  3. Phase 3: Graduate successful V2 features to V1
  4. Phase 4: V1.1.0 with proven V2 features as core

Research Sources​


Summary​

  • ✅ V1 stays stable, never breaks
  • ✅ V2 experiments run in parallel
  • ✅ Backward compatible - old files still work
  • ✅ Forward compatible - new code detects and uses V2
  • ✅ Data-driven - metrics guide what graduates
  • ✅ Research-backed - dimensions from actual psycholinguistics

This is how you ship personality.