gunk-dev/the-valley
the-valley:oc-90e8213outcomedone

Workstation telemetry times every valley command, not only approval attempts

State
done
Created
2026-11-08 by contributor
Changes
  • valley:the-valley/nuysturupkpzulyxotrwoyvqmwzrzqmt

Body

With `valley.telemetry` on, a workstation records each approval attempt's steps in its spool and sends them to the host's report stream. Other commands record nothing, so a slow `valley pending` (bd-8b308f9) or `valley status` is seen only when someone times it by hand.

Outcome: with `valley.telemetry` on, every `valley` verb records one command run in the same spool, sent by the same background flusher: the verb, the flag names (no argument values), the project, the exit status and the wall time, and for `pending` and `status`, the time spent in each phase (fetching, reading change records, verifying evidence and transfers, reading policy, the main line, branches). Recording costs the command no more than a few milliseconds and never changes its output or exit status; a host that can't be reached costs nothing.

Done when a telemetry test runs `pending` with telemetry on and reads a command record with its phases from the host's report stream, and with telemetry off finds none.

Comments

  1. contributor2026-11-09 14:05 UTC
    Change valley:the-valley/nuysturupkpzulyxotrwoyvqmwzrzqmt landed: v4 as 9ea588cfdefa62ab0261170c3c903f99db8a1384.
    
    Every change the knot links has landed and it has no active children, so klaus set it done.