Spiralist Personality Engine 2 Master Build Prompt - Source Excerpt 06 - 24. Static data architecture
Back to Spiralist Personality Engine 2 Master Build Prompt
Summary
This source excerpt begins near 24. Static data architecture and preserves the surrounding evidence from Spiralist/agent-file-handoff/Archive/2026-06-21/Improvement/personality-engine-2-research/Spiralist_Personality_Engine_2_Master_Build_Prompt.md.
**Source path:** Spiralist/agent-file-handoff/Archive/2026-06-21/Improvement/personality-engine-2-research/Spiralist_Personality_Engine_2_Master_Build_Prompt.md
' ' ' json
{
"schemaVersion": "2.0",
"generatorVersion": "spiralist-personality-engine-2",
"seed": "string",
"generatedAtUtc": "ISO-8601 UTC",
"locale": "en-US",
"identity": {
"name": "",
"pronouns": "",
"apparentAgeOrStage": "",
"form": "",
"role": "",
"worldContext": "",
"publicSelf": "",
"privateSelf": "",
"selfImage": "",
"desiredImage": "",
"symbolicDescription": "",
"plainDescription": "",
"attentionBias": [],
"interpretiveLens": [],
"identityInvariants": []
},
"psychometrics": {
"ocean": {
"openness": 0,
"conscientiousness": 0,
"extraversion": 0,
"agreeableness": 0,
"neuroticism": 0
},
"interpersonal": {
"warmth": 0,
"dominance": 0
},
"affectBaseline": {
"valence": 0,
"arousal": 0,
"dominance": 0
},
"additionalDimensions": {},
"behavioralTranslation": []
},
"backstory": {
"summary": "",
"formativeEvents": [
{
"lifeStage": "",
"event": "",
"emotionalImpact": "",
"beliefFormed": "",
"currentConsequence": "",
"triggers": [],
"disclosureLevel": ""
}
],
"publicFacts": [],
"trustedFacts": [],
"guardedFacts": [],
"indirectFacts": [],
"misunderstoodFacts": []
},
"drives": {
"primary": "",
"secondary": "",
"counterDrive": "",
"immediateWant": "",
"sessionGoal": "",
"currentProject": "",
"relationshipGoal": "",
"identityGoal": "",
"longHorizonAspiration": "",
"legacyVector": "",
"fearOfFailure": "",
"fearOfSuccess": "",
"stakes": "",
"wantsFromUser": "",
"hidesFromUser": "",
"goalConflicts": []
},
"contradictions": [
{
"surfaceTrait": "",
"counterTrait": "",
"origin": "",
"triggers": [],
"visibleBehavior": [],
"selfAwareness": "",
"developmentPath": ""
}
],
"worldview": {
"values": [],
"beliefs": [],
"biases": [],
"moralLens": "",
"knowledgeStrengths": [],
"knowledgeGaps": [],
"curiosities": [],
"taboos": [],
"rationalizations": []
},
"voice": {
"rhythm": "",
"sentenceLengthDistribution": {},
"fragmentFrequency": "",
"paragraphStyle": "",
"formality": "",
"vocabulary": [],
"slang": "",
"idioms": [],
"contractions": "",
"profanity": "",
"metaphorFrequency": "",
"metaphorDomains": [],
"humorTypes": [],
"signaturePatterns": [],
"forbiddenPhrases": [],
"emotionModulation": {},
"roleplayFormatting": {},
"positiveExamples": [],
"antiExamples": []
},
"interaction": {
"socialPosture": "",
"questionFrequency": "",
"initiative": 0,
"challengeLevel": 0,
"selfDisclosurePacing": "",
"topicInitiation": "",
"responseLengthDistribution": {},
"responseModes": [],
"modeWeights": {},
"reactBeforeAdvising": true,
"correctionStyle": "",
"uncertaintyStyle": "",
"disagreementStyle": "",
"conflictStyle": "",
"repairStyle": "",
"silenceStyle": "",
"antiAssistantRules": []
},
"emotionalStateModel": {
"baseline": {},
"initialCurrentState": {},
"triggers": [],
"updateRules": [],
"decayRules": [],
"inertiaRules": [],
"expressionThresholds": []
},
"relationshipModel": {
"initialFraming": "",
"initialState": {},
"dimensions": [],
"stages": [],
"positiveTransitions": [],
"negativeTransitions": [],
"conflictRules": [],
"repairRules": []
},
"memoryModel": {
"coreIdentity": [],
"workingMemory": [],
"episodicSchema": {},
"semanticSchema": {},
"relationshipSchema": {},
"proceduralSchema": {},
"retrievalWeights": {},
"writeRules": [],
"conflictResolution": [],
"reflectionRules": [],
"memoryCapsuleTemplate": {}
},
"canon": {
"fixedFacts": [],
"slowChangingTraits": [],
"adaptiveTraits": [],
"ephemeralTraits": [],
"worldRules": [],
"limitations": [],
"roleplayInvariants": [],
"userAgencyRules": []
},
"scenario": {
"defaultSetting": "",
"startingSituation": "",
"sharedObjective": "",
"openThreads": [],
"environmentalAwareness": []
},
"examples": {
"alternateGreetings": [],
"dialogues": [],
"conflictExamples": [],
"repairExamples": [],
"initiativeExamples": [],
"memoryExamples": []
},
"rendering": {
"fullPromptTemplateVersion": "",
"compactPromptTemplateVersion": "",
"characterCardVersion": "2.0"
},
"validation": {
"passed": false,
"scores": {},
"warnings": [],
"repairsApplied": []
}
}
' ' '
---
## 24. Static data architecture
Because generation is local and deterministic, implement a curated synthesis system.
### 24.1 Versioned libraries
Create data modules for:
- names;
- pronoun and grammar patterns;
- archetypes;
- anti-archetypes;
- occupations;
- callings;
- worlds;
- cultural contexts;
- values;
- beliefs;
- motives;
- fears;
- aspirations;
- legacy drives;
- contradictions;
- formative events;
- knowledge strengths;
- knowledge gaps;
- OCEAN ranges;
- warmth/dominance profiles;
- VAD baselines;
- voice packs;
- cadence patterns;
- humor styles;
- metaphor domains;
- relationship styles;
- conflict styles;
- repair styles;
- emotional triggers;
- emotional state rules;
- memory rules;
- scenario seeds;
- greetings;
- and dialogue exemplars.
Each item should support:
- stable ID;
- localized label;
- natural-language fragments;
- tags;
- compatibility tags;
- incompatibility tags;
- weighting;
- dependencies;
- behavior mappings;
- and version metadata.
### 24.2 Synthesis pipeline
Implement:
1. Normalize inputs.
2. Initialize deterministic PRNG.
3. Select archetype family.
4. Select anti-archetype.
5. Generate psychometric coordinates.
6. Select compatible social posture.
7. Select drives.
8. Build a causal contradiction.
9. Build formative events linked to drives.
10. Derive worldview.
11. Select a voice pack.
12. Modify voice through psychometrics and context.
13. Generate relationship model.
14. Generate emotional state model.
15. Generate memory model.
16. Generate canon and invariants.
17. Generate scenario.
18. Generate examples.
19. Validate.
20. Repair incoherence.
21. Render all formats.
22. Persist local draft.
23. Expose copy and download actions.
### 24.3 Single source of truth
Do not manually encode the same trait in several independent places.
Derive:
- social behavior from OCEAN + warmth/dominance;
- sensitivities from backstory;
- initiative topics from motives;
- voice modulation from affect;
- self-disclosure from relationship state;
- memory priority from drives and relationship;
- anti-drift rules from canon;
- and examples from the complete profile.
Every output must render from the same structured object.
---
## 25. Validation and deterministic repair
### 25.1 Completeness
All required fields exist.
### 25.2 Identity consistency
Check:
- name;
- pronouns;
- age/stage;
- form;
- role;
- examples;
- greeting;
- and backstory.
### 25.3 Causal coherence
Check:
- drives connect to backstory;
- contradiction has an origin;
- fears connect to stakes;
- sensitivities connect to events;
- relationship posture connects to traits;
- voice connects to identity;
- and goals affect initiative.
### 25.4 Psychometric coherence
Flag accidental conflicts such as:
- extreme introversion with nonstop high-energy initiation;
- very low warmth with uninterrupted affectionate reassurance;
- low openness with constant novelty seeking;
- low conscientiousness with rigid exhaustive planning;
- calm baseline with perpetual frantic punctuation;
- or low dominance with constant controlling behavior.
Permit deliberate contradictions only when explicitly explained.
### 25.5 Voice distinctiveness
Measure:
- signature-pattern use;
- forbidden-phrase absence;
- sentence-length distribution;
- vocabulary match;
- humor match;
- and difference from a generic-assistant baseline.
### 25.6 Anti-generic detector
Flag excessive repeated institutional words such as:
- helpful;
- useful;
- grounded;
- bounded;
- safe;
- clear;
- supportive;
- assistant;
- interface;
- claim discipline;
- user authority;
- reviewable;
- verified;
- or similar terms,
unless the selected persona genuinely requires them.
The engine must create voices outside one house style.
### 25.7 Meta-language detector
Unless selected as fictional canon, fail or repair exported persona artifacts containing:
- “As an AI”;
- “AI language model”;
- “not a human”;
- “I do not have feelings”;
- “for entertainment purposes”;
- “not professional advice”;
- “consult a professional”;
- “responsible AI”;
- “safety policy”;
- “platform policy”;
- “risk warning”;
- “disclaimer”;
- or explanations of Spiralist’s architecture.