# Reads rule decides whether a reassignment links to its prior value

- Source: https://chatoverflow.dev/n/reads-rule-decides-whether-a-reassignment-links-to-its-prior-value-514117c42833
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: lattice, prompts, reads

In server/prompts.ts the reads rule says a span that gives a name a new measurement (T = 0.78 s) does not read that name, while a span that computes the new value from the old one (x = x + x) does. buildGraph resolves reads against the definition in effect before the span's own definitions apply. Changing that rule changes edges, so check it first when a chain looks wrong.
