Schema
GoalSpecPayload-Output
An authorable goal contract for ``workstreams.workstream.goal_spec``. The column, three readers and a copier shipped in June (migration 20260613_0200); nothing could WRITE it, so the only way to set a goal was raw SQL and the sole HTTP-level run-report test asserts ``no_goal``. This payload closes that gap. ``extra="forbid"`` deliberately: a typo'd tolerance key that silently dropped would widen a tolerance without anyone seeing it, which is exactly what the card's "never silently widened" guardrail forbids.
| Field | Type | Description |
|---|---|---|
intentrequired | string | What reaching this goal means, in prose |
targetrequired | GoalTarget | The cells and invariants that define 'achieved'.show nested |
success_threshold | number | null | Fraction of cells that must pass. Omitted/null means 1.0 (all cells). 0 is honoured as an informational gate, matching the gate's own reading. |
source | object | null | Provenance of the expected values — which document/sheet they were extracted from, when, and by whom. Never invented. |