---
title: "Rule 13.3: Change control, a TypeShade design rule"
description: "Rule 13.3 of the TypeShade language design, in Change control. A design that a target might refuse must be measured on Tint, on a WebGL2 driver…"
url: https://typeshade.dev/reference/rules/13-3/
language: en
---

# Rule 13.3

Chapter 13, Change control Test

A design that a target might refuse must be measured on Tint, on a WebGL2 driver, or on a device before it is kept, and the measured text must be recorded in the plan and in the code comment.

The rule text and the parts under it are the compiler's own English, as the design document writes them.

## Rationale

see [Rule 11.2](https://typeshade.dev/reference/rules/11-2/).

## Derives from

[#162](https://github.com/typeshade/typeshade/issues/162) (“measure before you keep a design”).

## How it is verified

Checked by a test. A test, a gate script or a CI workflow names this rule, and the traceability check fails when a file listed below stops naming it.

Where the rule says the compiler enforces it:

the compile gate; review of the recorded text.

The files that verify it at commit af54ddad5, each at the first line that names the rule:

- [`scripts/compile-gate.ts:85`](https://github.com/typeshade/typeshade/blob/af54ddad5/scripts/compile-gate.ts#L85)
- [`scripts/kernel-length-cases.ts:2`](https://github.com/typeshade/typeshade/blob/af54ddad5/scripts/kernel-length-cases.ts#L2)
- [`scripts/sampler-pair-cases.ts:3`](https://github.com/typeshade/typeshade/blob/af54ddad5/scripts/sampler-pair-cases.ts#L3)
- [`src/compiler/ts/host-kernel-gl-length.test.ts:1`](https://github.com/typeshade/typeshade/blob/af54ddad5/src/compiler/ts/host-kernel-gl-length.test.ts#L1)

## Explained in

The sections of the surface document that explain this rule, at commit af54ddad5:

- [§77 The subgroup built-in functions: `subgroupAdd` and the twenty beside it](https://github.com/typeshade/typeshade/blob/af54ddad5/docs/use-typeshade-surface.md#77-the-subgroup-built-in-functions-subgroupadd-and-the-twenty-beside-it)

## See also

- [Rule 13.2](https://typeshade.dev/reference/rules/13-2/) Review
- [Rule 13.4](https://typeshade.dev/reference/rules/13-4/) Test
- [Rule 11.2](https://typeshade.dev/reference/rules/11-2/)
- [Design rules](https://typeshade.dev/reference/rules/)
- [Error codes](https://typeshade.dev/reference/errors/)

## Source

The rule at commit af54ddad5:

- [`docs/language-design.md:1811`](https://github.com/typeshade/typeshade/blob/af54ddad5/docs/language-design.md#L1811) (the design document)
- [`reqs/rules/RULE-1303.md`](https://github.com/typeshade/typeshade/blob/af54ddad5/reqs/rules/RULE-1303.md) (its traceability item)
