File size: 1,853 Bytes
58e7053
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
---
license: apache-2.0
tags:
  - deckergui
  - persona
  - alignment
  - trait-scoring
  - governance
  - en
  - license:apache-2.0
library_name: deckergui
pipeline_tag: text-generation
---

## DGUI Persona

**Persona Trait Library & Alignment Scoring** for DeckerGUI.

### Overview
The Persona module provides persona trait libraries and alignment scoring. Every action must align with a persona at a threshold of >= 0.85 before execution is permitted.

### Components (13 total)
1. **CalibrationLoop** β€” Iterative persona calibration
2. **ConsentManager** β€” User consent tracking
3. **DriftDetector** β€” Detects persona drift over time
4. **GuildSelector** β€” Routes to appropriate persona guild
5. **InterviewCapture** β€” Captures persona interview data
6. **PersistenceBridge** β€” Persona state persistence
7. **ScenarioPicker** β€” Selects relevant test scenarios
8. **SwarmScaling** β€” Multi-persona coordination
9. **UnlockGate** β€” Feature unlock based on persona score
10. **ValidationSidebar** β€” Real-time alignment display
11. **WireframeView** β€” Visual persona representation

### 7 Persona Guilds
| Guild | Role | Core Trait |
|-------|------|------------|
| CFO | Financial Planning | Budget Optimization |
| DevOps | Infrastructure | Reliability |
| Researcher | Analysis | Accuracy |
| Security | Protection | Threat Prevention |
| Educator | Teaching | Knowledge Transfer |
| Operator | Execution | Efficiency |
| AgriTech | Agriculture | Yield Optimization |

### Alignment Scoring
```
persona_score = dot(action_embedding, persona_trait_vector)
if persona_score >= 0.85: allow
else: reject with explanation
```

### Citation
```bibtex
@software{deckergui-persona,
  title={DGUI Persona},
  author={wan mohd azizi},
  year={2025},
  publisher={Hugging Face},
  url={https://huggingface.co/ctaxnagomi/DGUI-Persona}
}
```