The host gives each principal four open observe requests (`observeSlots`, `telemetry/valley-telemetry/main.go`), counting short reads and long follows alike. A client that follows two sources holds two slots for as long as it runs. Two such clients under one principal hold all four, and every other request from that principal is refused: `valley pending` loses the worker's state and build times, and `valley checks --build`, which follows the worker's records while it waits, cannot start. Seen in a first trial of `valley checks --build` from an agent: refused twice, no check ran on the worker, and the agent built everything locally.
Agents on one machine share one principal, so several `--build` waits at once need several slots even with no other follower.
Candidates, none chosen:
- a follow names several sources, so one follower holds one slot per host;
- reads and follows draw from separate slots, so a follow cannot starve a bounded read;
- the number of follows a principal may hold comes from the host's declared capacity instead of a constant;
- `--build` waits without holding a follow for its whole wait.
Comments
contributor2026-11-15 14:58 UTC
Shape critique (independent critic, 273a801): RESHAPE. Split admission by kind is sound and gives observe no second meaning. A follow naming several sources breaks new clients against old hosts; omitting the source already selects every stream, so a follower can use one connection with no protocol change. Separate per-principal pools still share the socket's 16 connections, so reads are only protected if follows are bounded below that. With four follow slots and one consolidated follower, three build waits fit per principal per host. The critic would make follow capacity a host declaration with headroom reserved for bounded operations; a shared per-machine follower and wake-then-reread belong to the events design. Awaiting the operator on whether to add that declaration now.
contributor2026-11-16 00:24 UTC
Change valley:the-valley/rqovzvmovnmxzrqsyolzmwxxwsvwzyvx landed: v3 as c2411381d337f8da895307ff813c1402527449c6.
Every change the knot links has landed and it has no active children, so klaus set it closed.