Skip to content

Words for four audit events: an approval waiting or not carried out, a question answered or put down - #2850

Closed
davidmckayv wants to merge 2 commits into
mainfrom
david/approval-trace-words
Closed

davidmckayv wants to merge 2 commits into
mainfrom
david/approval-trace-words

Conversation

@davidmckayv

@davidmckayv davidmckayv commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

The server records four more outcomes on the audit trail:

  • approval.requested: a request opened and waiting on the person.
  • approval.not_carried_out: an action the person allowed that was then not carried out (refused when it came to run, refused on its re-check, outcome unknown after a restart, tries run out, or its conversation left).
  • agent.question_answered and agent.question_dismissed: what came of a question a Bot put to its person.

Activity names each in words, labels its outcome (Waiting for a person, Not done, Answered, Put down without an answer), and counts approval.not_carried_out under "Did not happen".

Checked in a real browser. app/tests/audit-approval-trace-layout.test.tsx draws Activity with the four rows beside existing ones (a decision, a withdrawal, a question put, an app call blocked), in light and dark, at 1440 and 390 pixels. It found that the waiting row and the Not done row gave no reason where a withdrawn request says why. Both now show the reason in a person's words. No event type is shown raw, Not done never reads Allowed, and nothing scrolls sideways. Added to the browser job.

…ried out, a question answered or put down

The server records four more outcomes on the audit trail:

- approval.requested: a request opened and waiting on the person.
- approval.not_carried_out: an action the person allowed that was then
  not carried out (refused when it came to run, refused on its re-check,
  outcome unknown after a restart, tries run out, or its conversation
  left).
- agent.question_answered and agent.question_dismissed: what came of a
  question a Bot put to its person.

Activity names each in words, labels its outcome, and counts
approval.not_carried_out under "Did not happen".
… check the four rows in a browser

Seen in a real browser: the waiting row and the Not done row gave no reason, where a withdrawn request says why. Both now show the reason in a person's words, as a withdrawal does (Not done reads "It started, but OpenBot can't tell whether it finished.").

audit-approval-trace-layout.test.tsx draws Activity with the four new rows beside existing ones, in light and dark, at 1440 and 390 pixels: no event type shown raw, Not done never reads Allowed, and nothing scrolls sideways. Added to the browser job.
@davidmckayv

Copy link
Copy Markdown
Contributor Author

Landed in #2869, which fused every G1 slice.

@davidmckayv davidmckayv closed this Dec 3, 2026
@davidmckayv
davidmckayv deleted the david/approval-trace-words branch December 3, 2026 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant