Feedback Loop
Feedback Loop protocol schemas
Source: packages/spec/src/ai/feedback-loop.zod.ts
TypeScript Usage
import { Issue } from '@objectstack/spec/ai';
import type { Issue } from '@objectstack/spec/ai';
// Validate data
const result = Issue.parse(data);Issue
Properties
| Property | Type | Required | Description |
|---|---|---|---|
| id | string | ✅ | |
| severity | Enum<'critical' | 'error' | 'warning' | 'info'> | ✅ | |
| message | string | ✅ | |
| stackTrace | string | optional | |
| timestamp | string | ✅ | |
| userId | string | optional | |
| context | Record<string, any> | optional | |
| source | Object | optional |