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

# Superseded laps

> Which void laps a later lap replaced, in an evidence bundle.

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

hex65.superseded/v1: `superseded.json` of an evidence bundle (plan section 5.9.1). A lap that ended void may be retried; each attempt a later attempt of the same lap index superseded is evidence of the run, but no lap of its result. It is listed here, never in the statistics' lap table, and its trajectory is not a leaf of the manifest's `laps_root`. A bundle may leave out a superseded attempt's files: the re-scorer then reports the attempt skipped, taken as stated. When the bundle holds an attempt's files (`laps/<lap>/...`), it holds no file of that directory this file does not list, the manifest lists them as it lists every file, and each must have the hash and size given here; when it holds an attempt's closed trajectory and its grades.json, the re-scorer recomputes its verdict, which must be void; an attempt whose closed trajectory has no grades (a lap the runner voided without grading it, such as a twin miss) is taken as stated, and named so. No lap of the result records its lap index or attempt, so that an attempt was earlier than the lap that superseded it is taken as stated; within this file, each pair of `index` and `attempt` is listed once. A bundle with no superseded attempt has no `superseded.json`.

## Fields

| Field | Type | Required | Meaning |
| - | - | - | - |
| `format` | `"hex65.superseded/v1"` | yes | |
| `attempts` | list of see SupersededAttempt | yes | |

## VoidReason

Why a lap was void: the reasons of the data model's laps table (plan section 5.2, `laps.void_reason`), with the simulated user's two (WP-135). One definition: the re-scorer reads the statistics' lap table's `void_reason` against the same list (`VOID_REASONS` of @hex65/evidence, generated from this definition).

A value of type one of `"crash_before_first_action"`, `"startup_timeout"`, `"twin_miss"`, `"twin_unavailable"`, `"grader_error"`, `"grader_unavailable"`, `"check_error"`, `"no_required_checks"`, `"containment_failure"`, `"canceled"`, `"infra_error"`, `"user_unavailable"`, `"user_refused"`.

## SupersededAttempt

| Field | Type | Required | Meaning |
| - | - | - | - |
| `lap` | string | yes | The attempt's lap id: a lap id of its own, never one of the result's laps. |
| `index` | integer | yes | The lap index (its place in the run's plan) the attempt was for; the attempt that superseded it has the same index. |
| `attempt` | integer | yes | Which attempt of that lap index it was, from 0. |
| `state` | one of `"void"` | yes | The attempt's last state as the runner recorded it: only a void lap is retried. |
| `void_reason` | see VoidReason | yes | Why the attempt was void, as the runner recorded it. |
| `trajectory_hash` | string or null | yes | The hash of the attempt's `lap.end` event when its trajectory closed; null when it never closed. A trajectory that never closed has no grades. |
| `files` | list of object | yes | The attempt's files (`laps/<lap>/...`), by hash and size, as the manifest's `files` entries are written. Each path is listed once (checked by the readers, not by this schema: `uniqueItems` would compare whole entries, and the generated validators carry no runtime helper to do it). The bundle may hold all, some or none of them; it holds no other file of the attempt's directory. |
| `files[].path` | string | yes | |
| `files[].sha256` | string | yes | |
| `files[].bytes` | integer | yes | |


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