gunk-dev/the-valley
the-valley:bd-030dddabugopen

A full policy read spends most of its time probing whether each requirement is mandatory

State
free to start
Created
2026-11-06 by contributor

Body

composed.Read asks cue whether each requirement is mandatory with one `cue vet` per requirement. On the-valley's own policy that is about 230 runs of roughly 55 ms each, about 1.65 s of the 1.9 s a full policy read takes. Every full read pays it: `valley checks`, approve's derivation, and the worker's scan of each project with a ready change.

The bit is display-only; it never changes which checks are required. Options: ask cue for every pin in one evaluation, or compute pins only for the callers that show them.

Measured while building the follows worker (change orlx), whose main walk and pending line skip the probes.

Comments

No comments.