> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hex65.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Task specification

> The description of a task, in the project directory's tasks folder.

Schema: `urn:hex65:schema:spec:v1`. Every field below comes from the schema; the schema decides.

hex65.spec/v1 (plan section 5.6.1). Rules the schema cannot state (unique ids, every `checks` entry exists, weights sum to 1 within 1e-6 and include `other`, `costs` complete and every error kind's `cost` set for publishing) are checked by the loader (WP-131). A draft may leave an error kind's `cost` out; publishing refuses it.

## Fields

| Field | Type | Required | Meaning |
| - | - | - | - |
| `format` | `"hex65.spec/v1"` | yes | |
| `task` | string | yes | |
| `name` | string | yes | |
| `family` | string | no | |
| `description` | string | yes | |
| `stations` | list of object | yes | |
| `stations[].id` | string | yes | |
| `stations[].name` | string | yes | |
| `stations[].criteria` | list of object | yes | |
| `stations[].criteria[].id` | string | yes | |
| `stations[].criteria[].text` | string | yes | |
| `stations[].criteria[].said_by` | string | yes | |
| `stations[].criteria[].recorded_on` | string | yes | |
| `stations[].criteria[].checks` | list of string | yes | |
| `error_kinds` | list of object | yes | |
| `error_kinds[].id` | string, any | yes | Not a reserved kind: unclassified, or a system failure kind of 5.3.6. |
| `error_kinds[].name` | string | yes | |
| `error_kinds[].severity` | one of `"minor"`, `"major"`, `"critical"` | yes | |
| `error_kinds[].cost` | number | no | What one failure of this kind costs. Optional in a draft: a kind whose cost is not yet known has no `cost` (never 0 as a stand-in, which would publish as free). Required to publish: a specification is published only when every error kind has a cost (`errorKindsWithoutCost` in @hex65/checks lists those that do not). |
| `error_kinds[].ceiling` | number | no | |
| `costs` | object | no | |
| `costs.do` | number | no | |
| `costs.review` | number | no | |
| `costs.takeover` | number | no | |
| `costs.oncall` | number | no | |
| `human_baseline` | object | no | |
| `strata` | list of object | yes | |
| `strata[].id` | string | yes | |
| `strata[].name` | string | yes | |
| `strata[].weight` | number | yes | |
| `strata[].weight_source` | one of `"estimated_by_expert"`, `"measured_from_recordings"`, `"measured_in_production"` | yes | |
| `strata[].dangerous` | boolean | yes | |
| `strata[].match` | see Selector | no | |
| `domain_limits` | object | no | |
| `not_measured` | list of object | no | |
| `not_measured[].text` | string | yes | |
| `not_measured[].tags` | list of string | no | |

## Selector

A JMESPath expression over the lap document (section 5.6.4).

A value of type string.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.