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

# Seal manifest

> The manifest an expert seals to make an exam version.

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

hex65.seal/v1 (plan 5.9.5, amended by WP-141): the manifest an expert seals. `seal_hash = sha256(JCS(manifest))`. `task_ref` is the task's blinded reference, `HMAC-SHA256(k_blind, "hex65.task/v1" \|\| 0x00 \|\| agent \|\| 0x00 \|\| task)` in hex. `cases_root` is the RFC 6962 root over the leaves in leaf-index order, each leaf `sha256(JCS({format: "hex65.exam-leaf/v1", case_hash, salt}))` with a 32-byte random salt per case (hex). `n_leaves` (5 to 2,000) is the tree's size: inclusion proofs take it from here. `criteria_hash` is `sha256(JCS({format: "hex65.exam-criteria/v1", error_kinds: [{id, severity, cost, ceiling}] sorted by id, params}))` (absent cost or ceiling is null). `checks_hash` binds the checks the laps are graded with (`definitions.checks_hash` of the trajectory format). Fresh mode draws floor(n / budget) cases (at least 5), feedback full once spent; reuse mode only when that is under 5, feedback three outcomes until retirement. The client's device key signs `JCS(manifest)` with payload type application/vnd.hex65.seal+json.

## Fields

| Field | Type | Required | Meaning |
| - | - | - | - |
| `format` | `"hex65.seal/v1"` | yes | |
| `task_ref` | string | yes | |
| `exam_version` | integer | yes | |
| `cases_root` | string | yes | |
| `n_leaves` | integer | yes | |
| `criteria_hash` | string | yes | |
| `checks_hash` | string | yes | |
| `params` | object | yes | |
| `params.alpha` | number | yes | |
| `params.laps_per_case` | integer | yes | |
| `params.budget` | integer | yes | |
| `params.draw_size` | integer | yes | |
| `params.mode` | one of `"fresh"`, `"reuse"` | yes | |
| `params.feedback` | one of `"full_after_spent"`, `"three_outcomes"` | yes | |
| `created_at` | string | yes | |


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