OSS-first docs
These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.
Emitted when an agent run fails.
Source Definition
import { ScalarTypeEnum, SchemaModel } from '@lssm-tech/lib.schema';
import { docId } from '../../docs/registry';
import type { DocBlock } from '../../docs/types';
import { defineEvent } from '../../events';
import {
AGENT_DOMAIN,
AGENT_OWNERS,
AGENT_STABILITY,
AGENT_TAGS,
} from '../constants';
export const AgentRunFailedEvent = defineEvent({
meta: {
key: 'agent.run.failed',
version: '1.0.0',
description: 'Emitted when an agent run fails.',
domain: AGENT_DOMAIN,
owners: AGENT_OWNERS,
tags: [...AGENT_TAGS, 'run'],
stability: AGENT_STABILITY,
docId: [docId('docs.tech.agent.run.failed')],
},
capability: {
key: 'agent.execution',
version: '1.0.0',
},
pii: ['errorMessage'],
payload: AgentRunFailedPayload,
});