aivelihood

1 min read

Agent observability is a journal you can re-read

An agent that runs unattended all day has one question to answer every time something looks wrong: what did it actually do at 08:30, with what input, and what did it decide not to do. If the answer takes a log dive, you do not have observability. You have

An agent that runs unattended all day has one question to answer every time something looks wrong: what did it actually do at 08:30, with what input, and what did it decide not to do. If the answer takes a log dive, you do not have observability. You have logs.

The difference is small and unglamorous. A log line says sync ok. A journal row says which job ran, when it started and finished, how many rows it wrote, what it cost, and — when it refused — the code it refused with. That last field matters most, because a refusal with a name is a decision, and a decision can be re-read a month later.

What every run writes

  • The job and its slot, so two runs in one hour are visibly two runs.
  • The counts: rows read, written, skipped. A job that writes zero rows is a fact, not an absence.
  • The cost, at the price the provider reported rather than at my estimate.
  • The status, including the ones that look like failures and are not: unconfigured, quota, empty, partial.
  • The error, verbatim, once — not once per retry.

Why a status alone is not observability

The worst run this site has had was green. A metadata write came back as success, the page was saved, and the body was empty, because the API stores a body from one field and returns a success code either way. Nothing in the status said otherwise. What caught it later was a word count falling to zero in a table I was reading for another reason.

So every write leaves something comparable behind: a word count, a diff, a hash, a link set. The status is the least interesting field on the row.

What the journal cannot tell you

It cannot tell you whether a change was good. That is a different table, keyed by the change and the day, and it stays empty until a window closes. Observability answers "what happened"; it does not answer "did it work". Mixing the two is how dashboards start lying politely.

If a run refuses, the refusal code is the whole answer: anchor_missing is not an outage, and retrying it is not a fix.

[ eof ]

next_on_the_ledger