# Sizing and handing over

The last two steps on a ticket: size it in points and value, then hand it over for review.

## Value, estimate and release

Flags of `ticket new|update`: `--value 1|2|3|5|8` (what it is worth; `--priority` is when) with `--value-rationale "<one line>"`, `--estimate N` (story points, `>= 0`), `--release <version>` (the release it shipped in; by hand only to backfill shipped work, a planned delivery is a [release](/en/docs/guides/plan/releases.md#plan-release-planning)): `tkt ticket update PAY-145 --status done --release 0.2.7`. A child without a value inherits its epic's (`ticket.effectiveValue`); value 5 or more without acceptance criteria, an estimate or a repo anchor: `HIGH_VALUE_INCOMPLETE`.

### Details

- The long rationale goes under `## Value`; `valueSection` carries it, and the epic's becomes a pointer under a tight budget, never dropped. Clear with `--clear-value`, `--clear-estimate`, `--clear-release`. A bad value: `ERR_SCHEMA_INVALID_ENUM`; a negative estimate: `ERR_SCHEMA_INVALID_VALUE`. `tkt report context` counts valued tickets and their delivered rationale; `tkt tree` and `tkt graph` show value and points; list: `tkt ticket list --min-value 5 --sort -value`.

- Release: frontmatter `release`, `[v]MAJOR(.MINOR(.PATCH…))` plus a pre-release (`1.2.3-rc.1`, `1.2.3rc1`, `1.2.3a1`, `1.2.3b2`, `1.2.3.dev3`), stored without `v`; else `ERR_SCHEMA_INVALID_VALUE`. Compared as versions (`0.1.9 < 0.1.10`, `1.0rc1 < 1.0`, `1.0 = 1.0.0`). Shown by `tkt ticket get`, `--brief`, `tkt tree`, `tkt board`; `tkt ticket list --release 0.2.7` (repeatable), `--release-since 0.2.5` (by version, `--sort -release`). REST: `release` on `POST /v1/tickets` / `PATCH /v1/tickets/{ticket_id}` (`null` clears), `GET /v1/tickets?release=…&release_since=…`. Use it, not labels; changelog: [Value and release reports](/en/docs/guides/plan/reports.md#plan-reports).

## Lint and hand over

`tkt ticket lint PAY-001` (alias `tkt lint`) runs the context guard before you hand over; then the verification result goes into a note (`tkt ticket note`), then `--status in_review`, then `done`. Exit by the worst hint: 0 none, 1 `info`, 2 `warning`, 3 `block` or an integrity hint, 4 could not run (unknown ticket, unreadable file, no store; stdout empty even with `--json`); a usage error is 2 too ([Exit codes](/en/docs/agents/output.md#ref-exit-codes)). Routine hints are shown and counted only with `--all`.

### Details

`--budget` sets the bundle budget ([The bundle budget](/en/docs/concepts/budget.md#context-budget)); `tkt lint milestone://golive` lints a milestone, `tkt lint decision://D263` a decision ([Milestones](/en/docs/guides/plan/milestones.md#plan-milestones), [Hints and lint](/en/docs/concepts/guard.md#context-guard)). Hints come from the `get` phase (fill-in warnings are `info`); over REST: the bundle's hints.

## Commands on this page

- [`tkt ticket lint`](/en/docs/reference/commands/ticket.md#tkt-ticket-lint): Run the context guard; exit code = max hint severity (0=ok, 1=info, 2=warn, 3=block), 4 = could not run (unknown ticket, unparseable file, no workspace)
- [`tkt lint`](/en/docs/reference/commands/workflow.md#tkt-lint): Run context guard checks on a ticket (or milestone://, release://, decision://\<id\>); exit code = max hint severity (0/1/2/3), 4 = could not run

## Related

- Guide: [Releases](/en/docs/guides/plan/releases.md): A release is a planned delivery: milestones, epics and tickets with a version and a date; shipping writes the version onto every finished ticket.
- Guide: [Reports](/en/docs/guides/plan/reports.md): The three tkt report commands on one page: value, release and context.
- Guide: [Output, --json and exit codes](/en/docs/agents/output.md): The output contract: human text, --json, the status line and the exit codes.
- Concept: [The bundle budget](/en/docs/concepts/budget.md): How much a bundle carries, the context guard that refuses a write that would cut the ticket's own content, and excluding an inherited ref.
- Guide: [Milestones and capacity](/en/docs/guides/plan/milestones.md): A milestone is a package to ship: its members, its exit criteria, its capacity and its scope; a release ships several together.
- Concept: [Hints, lint and suggestions](/en/docs/concepts/guard.md): The context guard hints say what a ticket is missing; the suggestions fill in the missing refs.
- Hint · warning: [`HIGH_VALUE_INCOMPLETE`](/en/docs/reference/hints.md#HIGH_VALUE_INCOMPLETE): Value 5 or more, but the ticket lacks acceptance criteria, an estimate or a repo anchor
