Part of GOAL.md workstream B.
aps watch runs forever today; agents need bounded execution. Add --count N (stop after N emitted values) and --timeout SECONDS (stop after wall-clock budget). Both optional, composable, and orthogonal to the existing shouldContinue seam in StateStore.watchBlocking.
Acceptance criteria
Part of GOAL.md workstream B.
aps watchruns forever today; agents need bounded execution. Add--count N(stop after N emitted values) and--timeout SECONDS(stop after wall-clock budget). Both optional, composable, and orthogonal to the existingshouldContinueseam inStateStore.watchBlocking.Acceptance criteria
--count 1prints the current value once and exits 0 (useful as a JSONL-friendly get)--timeoutexpires cleanly with exit 0 and no partial line