From 5842b093cc502b46076423e4f8efdbbc568f86aa Mon Sep 17 00:00:00 2001 From: Igor Soarez Date: Thu, 5 Nov 2026 19:21:43 +0200 Subject: pi: a failed run says so: a 'failed' alert with the error, and the error in red until seen --- README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index e383d8f..cfce910 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,12 @@ than a poll is still a completion. the clock. Clicking it jumps to the top waiting agent (the menu's top row), skipping the window you already look at. - **Notifications**: "needs attention" (blocked) and "finished" (done), with - herdr's sounds; silent for completions you are already watching. + herdr's sounds; silent for completions you are already watching. A pi + run that ends in an error (after pi's own retries) is still done, but + says so: "failed" with the error as one readable line (`401: invalid + x-api-key`), with the "needs attention" sound, and `failed 3m ยท ` + in red where the wait shows (plain text in the menu; `dingger status` + too), until you have seen it or it runs again. - **Importance**: mark an agent high, normal (the default), or low. Within a status, more important agents are listed first, so a jump goes to them first; status still comes first (a blocked low agent before a done high @@ -179,7 +184,8 @@ than a poll is still a completion. All per-pane state lives in tmux pane options (`@agent_state`, `@dingger_since`, `@dingger_hook`, `@dingger_importance`, `@dingger_extension`, `@dingger_control`, `@dingger_draft`, -`@dingger_cost`, `@dingger_context`), so restarting dingger loses nothing. +`@dingger_cost`, `@dingger_context`, `@dingger_error`), so restarting +dingger loses nothing. ### Keeping pi agents on the current extension @@ -285,7 +291,8 @@ daemon of its own, with a fake local model (`tests/fake-model.py`) and its own pi agent directory: no network, no credentials, your pi untouched. It covers identification, the extension's state and session reports, a turn, `/reload`, an extension's blocked event, dialogs (blocked during a run, -nothing while idle), a cancelled run (idle, not done), screen detection +nothing while idle), a cancelled run (idle, not done), a failed run (done, +with why; cleared when seen or run again), screen detection without the extension, restore, reloading an agent on an old extension (and refusing while busy or with a draft), drafts (reported, cleared, kept across a -- cgit v1.2.3