feat(FN-3118): document avatar storage in agents and architecture

Added avatar storage and field documentation to the agents guide, with a minor reference added to the architecture docs.

Fusion-Task-Id: FN-3118
This commit is contained in:
Fusion
2026-05-05 15:55:43 -07:00
committed by gsxdsm
parent e018db640e
commit 964e111f8b
19 changed files with 621 additions and 19 deletions

View File

@@ -17,6 +17,7 @@ Every first-class editable agent field has a defined create/edit/import/template
| `metadata` | ✓ | ✓ | ✓ | Arbitrary key-value data |
| `title` | ✓ | ✓ | ✓ (from manifest) | Job title/description |
| `icon` | ✓ | ✓ | ✓ (from manifest) | Emoji or icon identifier |
| `imageUrl` | ✗ (set by avatar upload endpoint) | ✓ | ✗ | Uploaded avatar image URL (`/api/agents/:id/avatar`) |
| `reportsTo` | ✓ | ✓ | ✓ (from manifest) | Parent agent ID |
| `runtimeConfig` | ✓ | ✓ | ✗ | Heartbeat/budget config |
| `permissions` | ✓ | ✓ | ✗ | Capability flags |
@@ -371,7 +372,7 @@ When `experimentalFeatures.agentOnboarding` is disabled, the original `NewAgentD
The dashboard provides quick-start presets for common agent roles. Each preset includes:
- **Name and icon** - Display identification
- **Name, icon, and avatar** - Display identification (`imageUrl` takes priority over `icon` in UI rendering)
- **Professional title** - Descriptive role title
- **Soul** - Personality and operating principles defining how the agent thinks and communicates
- **Instructions** - Actionable behavioral guidelines

View File

@@ -791,6 +791,7 @@ Fusion has two complementary agent models:
- `.fusion/agents/{id}-heartbeats.jsonl`
- `.fusion/agents/{id}-keys.jsonl`
- `.fusion/agents/{id}-revisions.jsonl`
- `.fusion/agents/{id}/avatar.{ext}` (uploaded avatar image file, served via `/api/agents/:id/avatar`)
### Agent spawning from executor
`TaskExecutor` supports hierarchical child agents via: