Add completion notifications and a background-job dashboard
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 22/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- rust
- Ambito
- cli, developer-experience
Direzione di ricerca
The payload names no files. Start by finding the existing bg job registry and the turn-state events (turn_done, blocked, error, bg_exit) in the Rust source. The work spans notification channels, a bg list/log/kill dashboard, and a webhook payload, so split it before coding. Done means every acceptance checkbox in the issue passes, including the process-group kill and the rule that a failing channel never fails the turn.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
A local turn can run for minutes. The user switches away and has no signal when it finishes, blocks, or fails. bg starts long-running processes but there is no list, log view, or notification when one exits.
Claude Code hooks and Codex notifications cover this in cloud-oriented tools; a local agent should do it without a phone-home service.
Inspiration
- Claude Code notification hooks.
- Codex CLI completion notifications.
notify-sendon Linux and terminal OSC 9/777 sequences.- The existing
bgregistry.
Proposal
Add notifications on turn_done, blocked, error and bg_exit:
- Channels: terminal bell/OSC, desktop
notify-send(if available), a user-configured webhook, and Telegram (opt-in, token from env, never stored in config). - Only notify when the turn took longer than a threshold (default 30 s) or ended in a non-
Donestate. bgdashboard: list jobs with command, pid, start time, exit status and last lines; actions to view log, kill, or copy the command.- Rate-limit and dedupe notifications; never include prompt text or file contents by default.
- All channels off by default except the terminal bell; no network unless the user configures a webhook.
Acceptance criteria
- A turn over the threshold sends one notification per configured channel.
- A blocked or failed turn notifies even when short.
-
bglist shows running and exited jobs with last lines. - Kill terminates the process group.
- The webhook payload contains session id, status and duration, not prompts.
- A failing notification channel never fails the turn.
- Lingua principale
- Rust
- Stelle
- 0
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di GotinhaAzul/LocalHarness
-
area: ux bug priority: P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
GotinhaAzul/LocalHarness#198 ·
-
area: tools area: ux enhancement priority: P2
Difficoltà 4/5 3-5 giorni Idoneità per principianti 56/100
GotinhaAzul/LocalHarness#201 ·
-
area: ux bug priority: P2
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
GotinhaAzul/LocalHarness#200 ·
-
area: ux bug priority: P2
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
GotinhaAzul/LocalHarness#199 ·
-
area: ux enhancement priority: P2
Difficoltà 5/5 Più di una settimana Idoneità per principianti 38/100
GotinhaAzul/LocalHarness#197 ·
Tutte le issue di GotinhaAzul/LocalHarness
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
state:needs triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
zed-industries/zed#67561 ·
I maintainer di solito rispondono entro 1 giorno
-
bug has: workaround PR welcome! T: CI/CD
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
chore priority:low ready
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
jdrouet/catapulte#882 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100