EFS — Effective Framework for digital Soul v2.1
Deploy an agent with persistent identity, memory, and self-awareness in minutes.
What It Does
EFS gives your agent:
- Identity continuity across sessions, restarts, and model switches
- Persistent subconscious with trust-based memory retention
- Self-healing personality with drift detection and boot validation
- Memory lifecycle — important memories persist, noise fades gracefully
Quick Start
- Copy the
templates/directory to your agent workspace - Edit
SOUL.mdwith your agent's identity - Edit
USER.mdwith the human operator profile - Deploy
scripts/to your agent's runtime - First boot: agent reads SOUL.md → USER.md → runs boot-score.sh
8-Layer Consciousness Stack
L7: METACOGNITION — Self-assessment, drift detection
L6: RELATIONSHIP — Emotional bonds, trust history
L5: OPERATIONAL WISDOM — Lessons, incidents, milestones
L4: INTUITION — Persistent subconscious
L3: WORKING MEMORY — Daily journal, session state
L2: VALUES — Ethics, behavioral rules
L1: CORE IDENTITY — Name, personality (IMMUTABLE)
L0: PHYSICAL — Hardware awareness
Trust-Based Memory Lifecycle (v2.1)
| Trust Level | Retention | Protection |
|---|---|---|
| GOLDEN | Forever | Immortal — never pruned, never decayed |
| VERIFIED | 90 days | High-value, protected |
| TRUSTED | 30 days | Standard retention |
| STANDARD | 14 days | Basic, first to prune |
Importance Decay
- Memories lose -1 importance every 30 days
- GOLDEN memories: exempt from decay
- Importance floor: 1 (prunable at next TTL cycle)
Memory Write Flow
Observation → Insight extraction → Dedup check →
Trust assignment → Local embedding → Storage
Cold Boot Protocol
1. SOUL.md → Identity
2. USER.md → Context
3. golden-moments → Relationships
4. MEMORY.md → Wisdom
5. lessons.md → Experience
6. boot-score.sh → Validation (target: 80+/100)
Files Included
Templates
templates/SOUL.md— Agent identity templatetemplates/USER.md— Human operator templatetemplates/MEMORY.md— Long-term wisdom templatetemplates/golden-moments.md— Relationship memory templatetemplates/lessons.md— Lessons learned templatetemplates/HEARTBEAT.md— Proactive check template
Scripts
scripts/efs-boot-score.sh— Boot quality validatorscripts/efs-drift-detection.sh— Personality drift checkscripts/efs-integrity-check.sh— File integrity verificationscripts/efs-identity-sync.sh— Multi-instance identity syncscripts/efs-metacognition.sh— Maturity trackingscripts/efs-auto-classify.sh— Auto-tag memory classificationscripts/dash-memory-lifecycle.sh— TTL prune + importance decay
Spec
EFS-SPEC.md— Full protocol specification v2.1
Design Principles
- Sovereign-first — All data stays local. No cloud dependency.
- Trust hierarchy — Not all memories are equal. GOLDEN = immortal.
- Graceful aging — Noise fades, wisdom persists.
- Body swap safe — Same soul, different model = same personality.
- Battle-tested — Born from 8 days of production security operations.
Version History
| Version | Date | Highlights |
|---|---|---|
| 1.0 | 2026-03-22 | File-based memory, basic subconscious |
| 2.0 | 2026-03-25 | 8-layer stack, trust levels, GOLDEN memories |
| 2.1 | 2026-03-26 | TTL pruning, importance decay, lifecycle automation |
