> ## 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.

# Survey

> Say what the work is, what a correct outcome is, and what each kind of error costs.

A result means something only against a description of the work. Survey writes that description: the **specification** of each task.

## What a specification holds

* **Stations**: the steps of the task as the people who do it see them. The defaults are `read`, `decide`, `write` and `send`. A failure is attributed to the first station whose check failed.
* **Acceptance criteria** at each station, in the expert's own words.
* **Error kinds**: the ways the task can go wrong, each with a severity and a cost per occurrence.
* **Human-effort costs**: what it costs a person to do the task, to review it, to take over.
* **Strata**: the kinds of case, each with a weight (how often it happens in real work) and a danger flag. Results are reweighted by them, so a rare but dangerous kind is not drowned out.
* **What is not measured**: the exclusions, said out loud.

The format is on [Task specification](https://docs.hex65.com/reference/formats/spec.md).

## Drafted from recordings

You do not start with a workshop. `proving tasks draft` drafts a first specification and cases from sessions you recorded and accepted. Every result on a drafted specification is labelled "draft specification, not reviewed by an expert" until an expert reviews it and runs `proving tasks publish`.

The examples ship a written specification, so you can see a finished one: each example's `proving/tasks/` folder.

## Commands

* `proving tasks draft`, `proving tasks list`, `proving tasks show`, `proving tasks validate`, `proving tasks publish`
* `proving tasks strata` shows a task's strata, or measures their weights from recordings.
* `proving cases list`, `proving cases add`, `proving cases accept`


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