How it works

The model points. Code measures.

A model that is asked to read a dial often misplaces the needle. So Sightglass asks it for four positions only, and the Lens computes the value from them with the scale a person wrote on the round card.

The path of one reading

The path of one readingLook, capture with the overlay hidden, point with Gemini, measure with code, decide by the engineer, sign, countersign.LOOKCAPTUREPOINTMEASUREDECIDESIGNCOUNTERSIGNLENS: CAMERA, CROP, GEOMETRY, GATE, SENDING | MODEL: POINTS ONLY | PERSON: DECIDES
  1. The Lens projects the dial rim to screen space and crops the composite frame to it, with 15 percent around.
  2. For that one frame the overlay (tags, arcs, round card, chevron) is switched off, so the model sees the dial and not the Lens's own drawing. It comes back on straight after.
  3. Gemini 2.5 Flash returns JSON against a fixed schema at temperature 0: pivot, needle tip, lowest mark, highest mark, whether the dial is legible, and its own guess of the value.
  4. Code checks the points lie in the crop, computes the needle angle against the scale from the round card, and refuses if the geometry is not sound.
  5. The value gets a verdict from the round card limits. A person accepts, corrects or reads by eye. Only then does an entry exist.

Where the intelligence is, and is not

PartWho decidesFile
Where the needle and the scale ends areThe model (Gemini 2.5 Flash through Snap's Remote Service Gateway)GaugeReader.ts
Whether the dial is legibleThe model says so. A person can still read by eye.ReaderContract.ts
The scale of the gaugeA person, on the round card. Never the model.RoundPlan.ts
The numberCode, from four points and the scaleDialGeometry.ts
Normal, watch or alarmCode, from the round card limitsVerdict.ts
Whether a value enters the roundA person accepts, corrects or reads by eyeEvidenceGate.ts
READY or HOLDA person. Code refuses READY over an alarm.EvidenceGate.ts
Whether the sheet was changed after signingA digest, checked again by the door with the same codeRoundSheet.ts

What it will not do

  • Put a value in the round that nobody looked at.
  • Sign READY with a reading in alarm.
  • Take the scale from the model.
  • Say a sheet was sent before the door answered 200 or 201.

See how each of these was tested