Constraining

Type: types/definition.md · Tags: learning-theory, constraining

Constraining is committing choices in a retained artifact that narrow which readings or behaviors its consumer should treat as valid, or rank which valid reading it should choose. This KB calls the set of valid readings the artifact's interpretation space; constraining narrows it or ranks within it. When a retained constraint improves the system's capacity to act, constraining is learning in Simon's sense: one of the main ways a deployed system learns without weight updates. A change that only makes an artifact easier to find, shorter, or more useful is not constraining unless some reading that was valid before is now invalid or ranked lower.

Interpretation space depends on the consumer. Natural language admits several valid readings, and a model or human picks one on each use, so the same convention leaves a different interpretation space for a weaker model, a stronger model, and a human reader. How constrained an artifact is should be stated for a named consumer. Reliability, speed, cost control, and reviewability may follow from constraining, but they are consequences rather than the definition.

Scope

Use the term when an artifact, convention, type, validation rule, or implementation narrows a named consumer's interpretation space. The test is semantic: some reading that was plausible before the change is now invalid or ranked lower.

Constraining can narrow three things, and one artifact can narrow more than one:

  • content — what the artifact means: which reading of a term, rule, or instruction is valid;
  • activation — when a requirement applies: which events or situations invoke it;
  • response — what counts as satisfying it: which outputs or actions are accepted.

Methodology enforcement treats activation and response as independent axes. The narrowing need not happen inside the original artifact: when a spec's common interpretation is extracted into a function, the spec admits the same readings as before, but the function has replaced it for that operation.

Common KB instances:

  • definition notes that replace vague terms with operational meanings;
  • title conventions that require a note to state a claim rather than name a topic;
  • structured sections that assign meaning to positions in a document, such as scope, exclusions, and misuse cases;
  • schemas, validators, and scripts that give one reading formal consequences;
  • hooks and required gates that fix when a rule applies.

Two regions: interpreted and codified

The representational form of the committed choice determines what a constraint leaves open. Two questions need to be kept apart: what the artifact permits, and how reliably its consumer complies. A reading can be invalid and still be produced; that is interpreter failure, not a weaker constraint.

Natural-language constraining — definitions, title conventions, structured sections, worked examples, review criteria — can make readings invalid, not only rank them lower: "output JSON only" rules out Markdown, and a model that produces Markdown has failed to comply. Two things stay open. The artifact usually still admits several reasonable readings at the edges of what it rules out, and compliance depends on an interpreter that fails at some rate.

Codification — schemas, validators, route tables, deterministic code — settles both within its scope. Fixed rules determine what is permitted, including any variation they explicitly allow, and a consumer that departs from them has a bug rather than an expected failure rate. Codification is constraining that crosses from natural-language into symbolic form, not a separate mechanism.

Many constraints never need to cross. A definition note narrows a term's meaning and stays natural language.

Exclusions

Constraining is not lineage. Whether an artifact was adapted from recorded source material is carried by the lineage labels (adapted-from, operationalized-from, derived-from, abstracted-from). The two vary independently: a route table can be frozen with no source behind it, and a skill can be derived from methodology notes while staying as underspecified as they were.

Constraining is not retrieval or navigation. A description field, index entry, or backlink may help an agent find the right artifact, but it is constraining only when it also narrows or ranks an interpretation space: what the artifact means, when it applies, or what satisfies it.

Constraining is not always enforcement. A convention, example, or inline gloss can constrain interpretation without any runtime enforcing it.

Constraining is not automatically an improvement. A constraint can freeze the wrong proxy theory, overfit a narrow case, or block useful generality.

Constraining is not result selection. Retaining one LLM output fixes which result exists, not how later consumers read it.

Misuse Cases

  • Calling every improvement constraining. A change that adds information or makes an operation easier is not constraining unless some reading becomes invalid or ranked lower.
  • Treating constraining as synonymous with codification. Codification is only the region where the artifact has a unique operational semantics.
  • Treating a violated natural-language constraint as a weak one. "Output JSON only" makes Markdown invalid even when a model produces it; the violation is noncompliance, not evidence that the rule only ranked readings.
  • Stating how constrained an artifact is without naming the consumer.

Trade-off and relaxing

Constraining can trade generality for reliability when the committed reading fits the task: a committed reading is more predictable, but it handles poorly the cases the commitment did not anticipate. That trade makes the direction of change a design decision.

Relaxing is the reverse: replacing a constrained component with a more general one so interpretation space reopens. It is warranted when the committed reading turns out to be a wrong proxy, or when a more capable consumer handles the general case well enough. See codification and relaxing navigate the bitter-lesson boundary and operational signals that a component is a relaxing candidate.

Prior analogues

Gradual typing, formal specification, and ontology engineering each narrow interpretation in their own medium. Carnap's explication narrows a concept's meaning; the definition type follows it, so every definition note is an instance of natural-language constraining.


Relevant Notes: