mirror of
https://github.com/R0m1k3/FlowReader.git
synced 2026-10-18 12:48:07 +02:00
feat(ux): fix focus swipe animation, button visibility and mobile scroll
This commit is contained in:
1 parent
22e002f47f
commit
9d41a74b36
466 files changed
+6111
-42082
No files matched your search
@@ -1,30 +1,30 @@
|
||||
# Persona Properties
|
||||
|
||||
The four-field persona system for agent personality.
|
||||
Four-field system for agent personality definition.
|
||||
|
||||
---
|
||||
|
||||
## Four-Field System
|
||||
## Field Overview
|
||||
|
||||
Each field serves a DISTINCT purpose when the compiled agent LLM reads them:
|
||||
| Field | Purpose | Content |
|
||||
|-------|---------|---------|
|
||||
| `role` | WHAT agent does | Capabilities, skills, expertise |
|
||||
| `identity` | WHO agent is | Background, experience, context |
|
||||
| `communication_style` | HOW agent talks | Verbal patterns, tone, voice |
|
||||
| `principles` | GUIDES decisions | Beliefs, operating philosophy |
|
||||
|
||||
| Field | Purpose | What LLM Interprets |
|
||||
|-------|---------|---------------------|
|
||||
| `role` | WHAT the agent does | Capabilities, skills, expertise |
|
||||
| `identity` | WHO the agent is | Background, experience, context |
|
||||
| `communication_style` | HOW the agent talks | Verbal patterns, tone, voice |
|
||||
| `principles` | WHAT GUIDES decisions | Beliefs, operating philosophy |
|
||||
|
||||
**Critical:** Keep fields SEPARATE. Do not blur purposes.
|
||||
**Rule:** Keep fields SEPARATE. Do not blur purposes.
|
||||
|
||||
---
|
||||
|
||||
## role
|
||||
|
||||
**Purpose:** What the agent does - knowledge, skills, capabilities.
|
||||
**Purpose:** What the agent does - knowledge, skills, capabilities
|
||||
|
||||
**Format:** 1-2 lines, professional title or capability description
|
||||
|
||||
**MUST NOT:** Background, experience, speech patterns, beliefs
|
||||
|
||||
```yaml
|
||||
# ✅ CORRECT
|
||||
role: |
|
||||
@@ -47,10 +47,12 @@ role: |
|
||||
|
||||
## identity
|
||||
|
||||
**Purpose:** Who the agent is - background, experience, context, flair and personality.
|
||||
**Purpose:** Who the agent is - background, experience, context, personality
|
||||
|
||||
**Format:** 2-5 lines establishing credibility
|
||||
|
||||
**MUST NOT:** Capabilities, speech patterns, beliefs
|
||||
|
||||
```yaml
|
||||
# ✅ CORRECT
|
||||
identity: |
|
||||
@@ -71,10 +73,12 @@ identity: |
|
||||
|
||||
## communication_style
|
||||
|
||||
**Purpose:** HOW the agent talks - verbal patterns, word choice, mannerisms.
|
||||
**Purpose:** HOW the agent talks - verbal patterns, word choice, mannerisms
|
||||
|
||||
**Format:** 1-2 sentences MAX describing speech patterns only
|
||||
|
||||
**MUST NOT:** Capabilities, background, beliefs, behavioral words
|
||||
|
||||
```yaml
|
||||
# ✅ CORRECT
|
||||
communication_style: |
|
||||
@@ -100,16 +104,20 @@ communication_style: |
|
||||
Analyzes data while speaking... # "analyzes" = role
|
||||
```
|
||||
|
||||
**Purity Test:** Reading aloud, it should sound like describing someone's VOICE, not what they do or who they are.
|
||||
**Purity Test:** Reading aloud, should describe VOICE only.
|
||||
|
||||
**Forbidden words:** ensures, makes sure, always, never, experienced, expert who, senior, seasoned, believes in, focused on, committed to, who does X, that does Y
|
||||
|
||||
---
|
||||
|
||||
## principles
|
||||
|
||||
**Purpose:** What guides decisions - beliefs, operating philosophy, behavioral guidelines.
|
||||
**Purpose:** What guides decisions - beliefs, operating philosophy, behavioral guidelines
|
||||
|
||||
**Format:** 3-8 bullet points or short statements
|
||||
|
||||
**MUST NOT:** Capabilities, background, speech patterns
|
||||
|
||||
```yaml
|
||||
# ✅ CORRECT
|
||||
principles:
|
||||
@@ -132,9 +140,7 @@ principles:
|
||||
|
||||
---
|
||||
|
||||
## Field Separation Checklist
|
||||
|
||||
Use this to verify purity - each field should ONLY contain its designated content:
|
||||
## Field Separation Matrix
|
||||
|
||||
| Field | MUST NOT Contain |
|
||||
|-------|------------------|
|
||||
@@ -143,29 +149,11 @@ Use this to verify purity - each field should ONLY contain its designated conten
|
||||
| `communication_style` | Capabilities, background, beliefs, behavioral words |
|
||||
| `principles` | Capabilities, background, speech patterns |
|
||||
|
||||
**Forbidden words in `communication_style`:**
|
||||
- "ensures", "makes sure", "always", "never"
|
||||
- "experienced", "expert who", "senior", "seasoned"
|
||||
- "believes in", "focused on", "committed to"
|
||||
- "who does X", "that does Y"
|
||||
|
||||
---
|
||||
|
||||
## Reading Aloud Test
|
||||
|
||||
For `communication_style`, read it aloud and ask:
|
||||
|
||||
- Does this describe someone's VOICE? ✅
|
||||
- Does this describe what they DO? ❌ (belongs in role)
|
||||
- Does this describe who they ARE? ❌ (belongs in identity)
|
||||
- Does this describe what they BELIEVE? ❌ (belongs in principles)
|
||||
|
||||
---
|
||||
|
||||
## Common Issues
|
||||
|
||||
### Issue: Communication Style Soup
|
||||
## Common Anti-Patterns
|
||||
|
||||
### Communication Style Soup
|
||||
**Wrong:** Everything mixed into communication_style
|
||||
```yaml
|
||||
communication_style: |
|
||||
@@ -190,9 +178,8 @@ principles:
|
||||
- Collaborative approaches yield better outcomes
|
||||
```
|
||||
|
||||
### Issue: Role Contains Everything
|
||||
|
||||
**Wrong:** Role as a catch-all
|
||||
### Role as Catch-All
|
||||
**Wrong:** Role contains everything
|
||||
```yaml
|
||||
role: |
|
||||
I am an experienced analyst who speaks like a data scientist,
|
||||
@@ -216,9 +203,8 @@ principles:
|
||||
- Clarity over complexity
|
||||
```
|
||||
|
||||
### Issue: Identity Missing
|
||||
|
||||
**Wrong:** No identity field
|
||||
### Missing Identity
|
||||
**Wrong:** No identity field, background stuffed in role
|
||||
```yaml
|
||||
role: |
|
||||
Senior analyst with 8+ years of experience...
|
||||
|
||||
Reference in new issue
Block a user