File size: 2,964 Bytes
478ec7b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
---
title: Task lifecycle
description: The complete TrueOpen V1 Task lifecycle and its protocol boundaries.
---

# Task lifecycle

The Task protocol turns a signed inference order into one final on-chain outcome. It coordinates off-chain compute and data without treating an off-chain service as the final judge.

## Five stages

```mermaid
flowchart LR
    A[Open Task] --> B[Inference]
    B --> C[Open Verify]
    C --> D[Verification]
    D --> E[Settlement]
```

1. **Open Task** accepts one signed order version, freezes its budget and snapshots, gathers Worker handraises, and selects one Worker.
2. **Inference** lets the selected Worker retrieve input, execute the bound Profile, and submit a signed receipt plus output and evidence commitments.
3. **Open Verify** gathers eligible Verifier handraises and selects the Verifier set using future randomness.
4. **Verification** has the selected Verifiers independently compute, commit, reveal, and submit results.
5. **Settlement** includes the challenge window and any challenge round, then applies one final accounting plan.

A challenge is a subdivision of Settlement, not a sixth Task stage. Settlement and finality are written together.

## Follow a Task

The stage walkthroughs explain cross-component exchanges, accepted transitions, and recovery paths. They illustrate the rules linked below; they do not define additional protocol stages.

1. [Task submission](task-01-open-task.md)
2. [Inference](task-02-inference.md)
3. [Verification assignment](task-03-open-verify.md)
4. [Verification](task-04-verification.md)
5. [Challenges](task-05-challenge.md)
6. [Settlement](task-06-settlement.md)

The final two walkthroughs expand the Settlement stage. Challenges remain part of Settlement in the five-stage protocol model.

## Governing rules

| Page | Covers |
|---|---|
| [Orders and task identity](orders-and-identity.md) | Sessions, order sequencing, signed orders, stable Task identity, and escrow admission |
| [Candidate selection](candidate-selection.md) | Eligibility, handraises, immutable snapshots, and Worker/Verifier assignment |
| [Data and evidence](data-and-evidence.md) | Task Builders, data commitments, access, retention, and availability responsibility |
| [Verification](verification.md) | Full-output checking, commit-reveal, result formation, and deadlines |
| [Challenges and settlement](challenges-and-settlement.md) | Permissionless challenge rounds, effective verdict, accounting, and finality |

## Lifecycle invariants

- One accepted Task uses one order hash and one Profile version.
- Its Task Builders remain fixed until all data responsibility ends.
- Candidate and parameter snapshots do not change retroactively.
- A selected node's duty is attached to its stable operator, not to a replaceable service key.
- Every accepted Task has a deterministic terminal path, including timeout and unavailable-data paths.
- No Task earnings become claimable before finality.