### Summary
New Identity page with RPG-style character builder UI. Critical Knowledge RLS fix. Complete Payloads backend infrastructure for I/O observability.
---
### Identity Page (`/identity`)
RPG-style character builder inspired by Mass Effect, Disco Elysium, and D&D character sheets.
**Interactive Components**:
- `PersonalityGrid` - 4x4 MBTI selector with hover tooltips
- `PrinciplesPanel` - RPG trait cards (Truth, Agency, Craft, Speed, Kindness...), reorderable, star for non-negotiables
- `BeingPanel` - Essence + Nature text inputs
- `PurposePanel` - Primary objective + secondary list
- `PhilosophyPanel` - 2D epistemology compass + Ethics radios + Aesthetics chips
- `ArcPanel` - Horizontal timeline with editable phase nodes
- `RelationalPanel` - Owner/Creator + custom relationships
**Template Picker**: Coding Assistant preset or Blank Canvas
---
### Knowledge Routes RLS Fix (Critical)
Knowledge API routes were using `get_db` instead of `get_db_with_rls`, causing RLS policies to filter all rows and return empty results.
**Impact**: Knowledge now displays correctly in `/knowledge` page and Sandbox FlowchartBox.
---
### Payloads Backend Infrastructure
**IOConfig Table**:
- Per-anima I/O configuration with JSONB columns
- `read_settings`: Event capture config (types, timeouts, importance rules)
- `write_settings`: Pack compilation config (presets, weights, limits)
- 5 API endpoints for CRUD + reset
**Memory Pack Persistence**:
- Persisted packs for observability and provenance
- Denormalized layer counts and token usage
- Retention enforcement (default 100 packs)
- 5 API endpoints for list, latest, stats, get, delete
---
### Sandbox Enhancements
- FlowchartBox 4-tab system (Events, Storage, Packs, Flow)
- Responsive event grid with `+X more` overflow indicator
- Session/All view mode toggle
- Provider selector as dropdown (GPT, Claude, Gemini Soon, Grok Soon)