import { describe, it, expect } from 'vitest'; import { PERSONAS, personaFor } from '../../lib/ai/personas/index.js'; describe('personas', () => { it('has companion (Dross) and yerin personas keyed by agent slug', () => { expect(PERSONAS.companion).toMatch(/Dross/); expect(PERSONAS.yerin).toMatch(/Yerin/); }); it('personaFor falls back to companion for unknown slugs', () => { expect(personaFor('yerin')).toBe(PERSONAS.yerin); expect(personaFor('nope')).toBe(PERSONAS.companion); }); });