Caldera docs
calderaapp.io

Findings and repairs

Covers: what a finding is, who is told about it and how often, muting, the repairs an agent offers and the limit that holds them, Telegram, and what to do when repairing is not enough. For: people who run agents and people who write them.

What a finding is

A finding is one thing the agent says is wrong: "the chat bot is down", "no card moved for two days". The agent decides what counts and how to check; Caldera shows the result, tells people and offers the repairs the agent declared. Findings are text the agent chose to send, and Caldera draws them as text.

Open findings are listed on the agent's page, in the tab Findings (with their count), and the overview card shows how many are open. A finding is resolved by the first complete report that no longer carries it. A report without a body (the adapter did not answer, the status file is missing) resolves nothing, so a hiccup of the agent never produces a wave of "resolved" and then "new". The page keeps the history: when it opened, when it was resolved, who muted it until when.

A finding marked needs a person is one that repairing will not fix. Its row offers Talk to the agent about this, which opens a Claude Code session on the agent's machine (see Operating agents) with the finding as the first message, so you start where the problem is.

Who takes care of it

(ADR-0094.) A finding reaches a person on its own only when it needs one: its handling is by a person, said by the agent or worked out by Caldera (used-up repairs, findings marked needs a person). The agent says it in handling on the finding. Without it Caldera works it out: a repair that starts by itself and has runs left is the agent; used-up repairs and findings marked needs a person are you; a finding that says nothing about anyone needs nobody yet. The Findings tab and the overview card show the same.

Every message about a finding has three parts, in short sentences:

❗ project-agent: Der Agent ist nicht bei Claude angemeldet, deshalb startet kein Lauf.
Getan: Der Agent beansprucht keine Karte und startet keinen Lauf, bis die Anmeldung geht.
Von Ihnen: Auf der Seite des Agents unter „Claude-Zugang“ einen Zugang zuweisen.

What happened (the first line, the one a phone's preview shows), what the agent or its guardian already did (done), and the one thing to do with where to do it. No finding keys, no time stamps: the agent's page, linked at the end, has the details. When the finding is resolved, the people who were asked hear it once more: "erledigt" and "Sie müssen nichts mehr tun".

Who is told, and how often

Caldera announces a finding that needs a person once when it opens and once when it is resolved, never on every report. A finding that needs nobody (what an agent repairs, retries or waits out, and what names nobody) gets no message of its own and no "resolved": it goes into the daily digest. A finding the agent later hands to a person (its repairs did not help) is announced then, once. Nobody is told by default: every member above guest turns the channels on for themselves under Notifications in the sidebar, and what they choose changes nothing for others.

Channel What you get
The page Always: the Findings tab and the count on the card.
Telegram One plain message per finding that needs you, without buttons, and its resolution. The daily digest. Questions of the agents with buttons (Talking to agents).
Email The fallback: a finding that needs you and stayed open on Telegram for four hours, or every such finding at once if you do not use Telegram. The daily digest only if you choose it. An admin without Telegram also gets the agents' questions, with a link per answer. Needs the instance to send mail as Caldera.
Google Chat The workspace's, not a member's (ADR-0108, runtime 0.57): an admin pastes a space's incoming webhook under Notifications, and Caldera posts a test message first. The space gets every finding that needs a person, the agents' questions with their answers as buttons, and the daily digest at 18:00. A webhook can post, not listen: a button opens the question in Caldera with that answer chosen, and one click there sends it. The address is a key to the space; Caldera stores it encrypted and never shows it again.

The daily digest comes once a day at the hour you choose under Notifications (18:00 Europe/Berlin unless you change it), and only on a day with something in it: per agent what happened, what was done, whether it is over, and how often a repair ran, ending with "Von Ihnen: nichts".

Many findings in one report (a freshly installed agent can have a dozen) arrive as one summary message instead of one each.

The answer to the agent's report says what Caldera did (announced, muted, see the protocol), so an agent can leave out its own message for a finding Caldera announced over a channel you use; digest means it went into the daily digest, gchat the workspace's Google Chat space. Under the runtime, the agent reads that answer from the file named in CALDERA_NOTIFY_FILE (.caldera/notify.json, with the time it was written; a stale file means "not known"). An agent should keep its own alarm for what matters most: Caldera runs on infrastructure an agent may be looking after, and cannot say that it is down.

Mute

Admins can mute an open finding for one hour, 24 hours or seven days. A muted finding stays in the list with who muted it and until when, and is not announced. The agent is told in the answer to its report and keeps quiet about it too. The mute belongs to the key: if the finding resolves and comes back while the mute lasts, it stays silent. A mute applies to everyone, so it is an admin's decision; a member who does not want the messages turns their own channels off.

Repairs: actions and their limit

A blueprint can declare actions: named repairs such as "Restart the chat bot" (see The manifest). On the Findings tab admins see each one with a button that asks first and says how many runs are left.

  • Only the name reaches the agent. The command carries the action's name and nothing else, and the name must be one the agent declared. A button in Caldera can never hand data to an agent's code.
  • The agent has the last word. The runtime runs adapter action <name> (or the manifest's own command for that action). If the agent says no, with a reason, that is a normal answer and is shown.
  • A limit that is the same for every agent. At most three runs per action in any 24 hours, counted by the runtime on the machine, as a sliding window (midnight brings no fresh attempts). A manifest may only lower it (actions_limit). Past the limit the runtime does not run the action again; it reports the finding action:<name>:exhausted, which needs a person.
  • Automatic repair is local. auto_on names finding keys that may start the action by themselves. The runtime decides this on the machine from the agent's own findings, under the same limit and with at least ten minutes between two automatic starts, so a repair also happens with Caldera unreachable.
  • Every run, by hand or automatic, goes into the history with its outcome. On the machine: caldera action lists the actions with what is left, caldera action <name> runs one.

Telegram

Caldera has a Telegram bot of its own, if the operator set one up (an instance setting; without it the Notifications screen says Telegram is not available).

  1. Under Notifications, choose Link Telegram. Caldera shows a one-time code (valid once, for 15 minutes).
  2. Send it to the bot as /start <code>, or open the link shown next to it.
  3. Turn on Tell me on Telegram.

The bot announces findings in plain text, without buttons (ADR-0094 D4): a finding asks for a hand, not for a choice. Buttons belong to questions. Buttons sent before that change (Mute for 24 hours, a repair) still work for a day; a repair button asks first and a second press runs it, under the same limit and the same checks as the page. /findings (or /befunde) lists the open findings of every agent you can see, /stop unlinks the chat.

Telegram is not end-to-end encrypted, and its operator is outside the EU. Findings are text your agents chose to send: link Telegram only if that is acceptable for them. Without the link no finding text reaches Telegram, and the privacy notice names Telegram as a recipient for members who link it.

For agent authors

  • Report findings with stable keys on every complete report, an empty list included. Leave the field out, or fail the call, when you could not check.
  • Say who takes care of each finding with handling: {by: "agent", text} for what you do about it, {by: "person", text, url?} for exactly what someone has to do, with where. Without it Caldera can only guess, and a finding that names nobody reaches nobody but the digest.
  • Say what was already done in done (ADR-0094 D2): "Der nächste Durchgang versucht es noch einmal", "Die Selbstheilung hat es dreimal versucht und hört jetzt auf". A runtime older than 0.51 drops the field; Caldera then says what the handling implies.
  • Do not ask a person whether to try a failed run again: try it again yourself, and hand it to a person, with the cause, only when that does not help.
  • Declare actions only for repairs that are safe to run again, and make action <name> refuse (exit code 1, with a sentence) when running it would do harm.
  • Keep your own alarm for what is critical.

The exact fields are in the protocol and the adapter contract.