Orca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.
TypeScript adeagent-ideai-agentsautomationbotclaude-codecodexghosttygrok-bothermes-agentmobile-appmuseopenclawopencodeorchestrationpiruntimeterminalworktreesyc-backed
import { describe, expect, it } from 'vitest'
import { eventSchemas } from './telemetry-events'
describe('profile state authority telemetry', () => {
it('accepts the bounded startup selection payload', () => {
expect(
eventSchemas.profile_state_authority_selected.safeParse({
backend: 'sqlite',
classification: 'json-only',
authority_mode: 'sqlite-candidate',
runtime: 'desktop',
migrated: true
}).success
).toBe(true)
})
it('rejects paths or other unbounded diagnostic fields', () => {
expect(
eventSchemas.profile_state_authority_selected.safeParse({
backend: 'sqlite',
classification: 'sqlite-only',
authority_mode: 'sqlite-established',
runtime: 'desktop',
migrated: false,
database_path: '/private/profile.sqlite'
}).success
).toBe(false)
})
})