API Reference
Grade
Defined in: goal/goal.types.ts:42
A grader's verdict on one round.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
done | boolean | true when the goal is satisfied — the loop stops with success. | goal/goal.types.ts:44 |
feedback? | string | When not done, the prompt for the next round (the redirect that tells the agent what to fix). Omitted → the next round re-prompts with the goal restated. | goal/goal.types.ts:50 |
score? | number | Optional numeric score, surfaced for observability; never gates the loop. | goal/goal.types.ts:52 |