--- name: feedback-no-nohup-with-pueue description: "Don't wrap pueue follow/wait in `nohup ... &`; run the client directly as the background task." metadata: node_type: memory type: feedback originSessionId: c06c2b0e-44ee-45a1-b213-4f77c006109c --- When monitoring pueue jobs from a `run_in_background` bash task, run the client directly: `pueue follow | tail -N` (or `pueue wait ; pueue log `). Do NOT wrap it in `nohup bash -c '... &'`. **Why:** pueue's daemon already owns the job; `follow`/`wait` are just clients streaming the daemon's log, so nohup buys nothing. Inside `run_in_background` (itself already a harness-tracked process), an extra `nohup ... &` spawns a child and the outer shell exits in ~0s, so the harness notifies on the wrapper exit while the real follow runs orphaned. Symptom: "completion notifications fire early / abort my sleeps." **How to apply:** background command = the bare pueue client, no nohup, no `&`. The harness then tracks the client itself and wakes me on real finish/fail. Related: [[feedback-afk-autonomy]].