Operating system set to macOS
Documentation jurisdiction set to United States
Sign inConnect Claude
API/schemas
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.

FieldTypeDescription
intentrequiredstringWhat reaching this goal means, in prose
targetrequiredGoalTargetThe cells and invariants that define 'achieved'.
show nested
success_thresholdnumber | nullFraction 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.
sourceobject | nullProvenance of the expected values — which document/sheet they were extracted from, when, and by whom. Never invented.